Method, device, equipment and storage medium for feedback based on online document comments
The method and device for real-time feedback in online documents address the challenge of selecting high-quality comments by providing a system to receive and display comment push information, enhancing user efficiency and communication feedback.
Patent Information
- Application Number
- JP2022529402
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-11-20
- Filing Date
- 2020-11-11
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2040-11-11
AI Technical Summary
Users struggle to quickly determine which comment information is useful and which is wasteful in online documents, making it difficult to accurately and efficiently select high-quality comment content from a large amount of feedback.
A method and device for providing real-time feedback in online documents by receiving comment push information from a server, confirming the target document and comment, and displaying feedback matching the comment type within a designated area, enhancing user selection of valuable comments.
This solution enables users to efficiently select high-quality comments by sending real-time feedback content to open online document pages, improving communication feedback and reducing the burden of sorting through excessive comment information.
Smart Images

Figure 0007674351000001 
Figure 0007674351000002 
Figure 0007674351000003
Abstract
Description
[Technical field]
[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application bearing application number 201911140444.4, filed with the State Intellectual Property Office of the People's Republic of China on November 20, 2019, the entire contents of which are incorporated herein by reference.
[0002] [Technical field] The present disclosure relates to the technical field of Internet communications, for example, to a method, an apparatus, a device and a storage medium for providing feedback based on comments in an online document. [Background technology]
[0003] 2. Description of the Related Art With the development of Internet technology, the frequency of use of online documents increases day by day, and more and more users start to use online documents to record work or edit documents.
[0004] A user can use online documents to record work or create documents, and then share the documents for others to view, and others can comment on the contents of the online documents, for example, by raising questions about the contents of a document or giving a positive rating to the contents of a document.
[0005] In the above-mentioned method of commenting on the contents of online documents, users are unable to quickly determine which comment information is useful and which comment information is useless, and are forced to make a judgment only after reading the comment information in earnest, making it difficult for users to accurately and quickly select high-quality comment content from a large amount of comment information. Summary of the Invention [Problem to be solved by the invention]
[0006] The present disclosure provides a method, device, apparatus, and storage medium for feedback based on comments in online documents, which realizes feedback of comments in online documents, transmits feedback content in real time to each open page of the online document, enhances communication feedback between users, and contributes to effective selection of comments by users. [Means for solving the problem]
[0007] receiving from the server comment push information generated by the server in response to a comment feedback addition request sent from one terminal, the comment push information including a document ID, a comment ID, and a comment feedback type; determining a first target document matching the document ID and searching the first target document for a first comment matching the comment ID; obtaining comment feedback that matches the type of comment feedback and adding the comment feedback within a comment feedback display area that matches the first comment; Providing a feedback mechanism based on online documentation comments.
[0008] obtaining from the terminal a request to add comment feedback, the request being generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal; When it is determined that the comment feedback addition request passes the verification, generating comment push information corresponding to the comment feedback addition request, the comment push information including a document ID, a comment ID, and a type of comment feedback; sending comment push information to at least one terminal on which a target document matching the document ID is open; It further provides a feedback method based on online documentation comments.
[0009] A push information receiving module configured to receive, from the server, comment push information generated by the server in response to a comment feedback addition request sent from one terminal, the comment push information including a document ID, a comment ID, and a comment feedback type; a comment retrieval module configured to determine a first target document that matches the document ID and to search the first target document for a first comment that matches the comment ID; a feedback display module configured to obtain comment feedback matching a type of the comment feedback and add the comment feedback within a comment feedback display area matching the first comment; A feedback mechanism based on online document comments is further provided.
[0010] an add request obtaining module configured to obtain from the terminal a comment feedback add request, the request being generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal; a push information generating module configured to generate comment push information corresponding to the comment feedback adding request when it is determined that the comment feedback adding request passes the verification, the comment push information including a document ID, a comment ID, and a type of comment feedback; and a push information sending module configured to send comment push information to at least one terminal on which a target document matching the document ID is opened. A feedback mechanism based on online document comments is further provided.
[0011] one or more processors; and a memory configured to store one or more programs. the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the online document comment based feedback method; An electronic device is also provided.
[0012] A computer-readable storage medium having a computer program stored thereon, When the program is executed by a processor, the program realizes the feedback method based on the online document comments. A computer readable storage medium is also provided. [Brief description of the drawings]
[0013] [Figure 1] 1 is a flowchart of a feedback method based on comments in an online document according to a first embodiment of the present disclosure; [Diagram 2] 11 is a flowchart of another feedback method based on comments on an online document according to the second embodiment of the present disclosure; [Figure 3a] 13 is a flowchart illustrating an application scene according to a third embodiment of the present disclosure. [Figure 3b] FIG. 11 is a schematic diagram of a functional structure of a server according to a third embodiment of the present disclosure. [Figure 3c] FIG. 13 is a schematic diagram of a display result of comment feedback according to the third embodiment of the present disclosure. [Figure 4] FIG. 11 is a structural schematic diagram of a feedback device based on online document comments according to the fourth embodiment of the present disclosure; [Diagram 5] FIG. 11 is a structural schematic diagram of a feedback device based on online document comments according to a fifth embodiment of the present disclosure; [Figure 6] FIG. 13 is a structural schematic diagram of an electronic device according to a sixth embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] The present disclosure will now be described with reference to the drawings and examples. EXAMPLES
[0015] Fig. 1 is a flowchart of a feedback method based on comments of an online document according to a first embodiment of the present disclosure, the embodiment of the present disclosure is applicable to the case of feeding back a designated comment of a target document and displaying the feedback content, the method can be executed by a feedback device based on comments of an online document, the device can be realized in the manner of software and / or hardware, and the device can be configured in an electronic device such as a terminal device, etc. As shown in Fig. 1, the method includes the following steps:
[0016] In step 110, comment push information sent from the server is received.
[0017] In an embodiment of the present disclosure, the comment push information is information generated by the server in response to a request for adding comment feedback sent from any terminal, and can instruct the terminal device to display the feedback content for a comment on the page of a corresponding online document, and the comment push information may include a document ID, a comment ID, and a type of comment feedback.
[0018] The document ID is used to distinguish different documents, and each document corresponds to a unique document ID. The comment ID is used to distinguish multiple comments in the same document or multiple comments in different documents. There may be multiple types of comment feedback, each corresponding to multiple predefined facial expressions and pictures, such as a "Like" facial expression type corresponding to a "Like" facial expression and a "Clap" picture type corresponding to a "Clap" picture.
[0019] In an embodiment of the present disclosure, the comment push information received by a terminal may be generated in response to a comment feedback addition request sent by the terminal itself, i.e., the comment push information may reflect the feedback content of the user of the own device for the target comment, or may be generated in response to a comment feedback addition request sent by another terminal device, i.e., the comment push information may reflect the feedback content of the user of the other terminal for the target comment, that is, the feedback of the target comment of the target document on multiple terminals can be updated simultaneously.
[0020] In an embodiment of the present disclosure, the method may further include: in response to a comment image feedback request for a third comment in the second target document, generating and sending to the server a comment feedback add request corresponding to a predetermined comment feedback; or in response to a comment image feedback request for a third comment in the second target document, displaying at least two candidate comment image options, and in response to a selection for a target comment image option, generating and sending to the server a comment feedback add request matching the target comment image option, wherein the server is configured to generate comment push information in response to the comment feedback add request and send it to at least one terminal on which the second target document is opened.
[0021] The second target document to which comment feedback is to be added and the document corresponding to the received comment push information may be the same document or different documents, and the comment image feedback request for the third comment is generated by the self-device user commenting and feeding back the third comment in the second target document, and other terminal users can also comment and feed back the third comment in the second target document.
[0022] For example, in the case where the third comment in the second target document W is "The physical meaning of formula A is not clearly explained, and it actually represents the slope of the tangent to the curve C", when the user wants to feedback the third comment in the document W open on the terminal, the user clicks on the feedback button corresponding to the third comment to generate a comment feedback addition request corresponding to a certain comment feedback, for example, a comment feedback addition request corresponding to a "Like" facial expression is generated and sent to the server, and when the user wants to select another comment feedback, the user moves the mouse to the feedback button and stays there for a certain period of time, for example, 2 seconds, to generate a comment image for the third comment. A feedback request is generated, and the terminal responds to the comment image feedback request by displaying at least two pre-defined candidate comment image options to the user, such as a "like" facial expression, an "applause" facial expression, a "disagree" picture, and a "good words" text graphic, and the like. When the user clicks on a corresponding candidate comment image option, for example, the "applause" facial expression, a comment feedback addition request matching the "applause" facial expression is generated and sent to the server, whereby the server verifies the corresponding feedback authority for the comment feedback addition request, and further generates corresponding comment push information after the verification is passed, and sends it to all terminals which currently have the document W open.
[0023] By using facial expressions, pictures, etc., comments can be fed back, allowing users to express their attitude toward the comment content, and other comment feedback with different opinions or substantial feedback comments will not be buried in feedback without substantial content, which means that communication between users can be increased and users can quickly obtain valuable comment feedback content.
[0024] Preferably, before displaying at least two candidate comment image options in response to a comment image feedback request for a third comment in the second target document, the method further includes opening the second target document in response to an open request for the second target document, and sending a communication establishment request to the server carrying the second target document ID to establish a target communication link with the server and receive a target communication link ID corresponding to the second target document ID returned from the server.
[0025] In the embodiment of the present disclosure, when a user performs an open operation such as a double-click operation on the second target document, an open request for the second target document is generated, and the terminal opens the second target document according to the request and displays the content of the second target document. Then, the terminal obtains the document ID of the second target document, generates and sends a communication establishment request carrying the second target document ID to the server, so as to establish a target communication link with the server and receive a target communication link ID corresponding to the second target document ID returned by the server, and then facilitates realizing information interaction between the terminal and the server using the target communication link ID.
[0026] Preferably, generating and sending to the server a request to add comment feedback that matches the target comment image option may include sending the request to add comment feedback to the server via a communication link that corresponds to the target communication link ID.
[0027] In an embodiment of the present disclosure, a target communication link capable of performing information interaction between the terminal and the server is established, so that after a user performs a feedback operation on a target comment in a target document opened on the terminal and generates a comment feedback addition request that matches the target comment image option, the comment feedback addition request can be sent to the server via the communication link corresponding to the target communication link ID.
[0028] In step 120, a first target document that matches the document ID is determined, and a first comment that matches the comment ID is searched for in the first target document.
[0029] In an embodiment of the present disclosure, one or more documents may be open on a terminal, and after receiving comment push information sent from a server, first extract a document ID and a comment ID from the comment push information, and then match the document ID with the document ID of at least one currently open document. If a first target document matching the document ID in the comment push information is found, continue to obtain comment IDs of multiple comments from the first target document, and search for a first comment in the first target document that matches the comment ID in the comment push information by matching the comment ID in the comment push information with the multiple comment IDs in the first target document.
[0030] In step 130, comment feedback that matches the comment feedback type is obtained, and the comment feedback is added in the comment feedback display area that matches the first comment.
[0031] In an embodiment of the present disclosure, the type of comment feedback matches the type of candidate comment image option; illustratively, for a candidate comment image option with a “Like” expression, its corresponding comment feedback type is a “Like” expression, that is, the corresponding comment feedback content can be obviously found from a given candidate comment image option based on the type of comment feedback.
[0032] Preferably, the comment feedback display area is located at a predetermined location within the first comment area of the first comment or at a predetermined location outside the first comment area.
[0033] In an embodiment of the present disclosure, there is a corresponding comment area for each comment, and the comment feedback display area may be a rectangular area located in a specified orientation within the first comment area, or a square area located in a specified orientation outside the first comment area, and the specified orientation may include the left side, lower side, upper left side, etc., and the shape of the comment feedback display area is not limited to a rectangle or a square, but may be a parallelogram, etc., and the embodiment of the present disclosure does not limit the shape of the comment feedback display area and its positional relationship with the first comment area.
[0034] Preferably, after adding the comment feedback in the comment feedback display area matching the first comment, the method may further include generating a second comment in response to the user's comment request, wherein the second comment corresponds to the same comment content as the first comment, and the second comment area in which the second comment is located is located in an area different from the comment feedback display area.
[0035] In the embodiment of the present disclosure, the second comment may be a text comment or an expression comment corresponding to the same comment content as the first comment. By allocating different display areas to the second comment area and the comment feedback display area corresponding to the first comment, the comment feedback for each user's first comment can be clearly distinguished from other comments, and it is easy to quickly find the comment feedback corresponding to a specified comment in the document.
[0036] Preferably, the second comment area in which the second comment is located being located in an area different from the comment feedback display area may include the comment feedback display area being located between the first comment area and the second comment area, or the second comment area being closely adjacent to one side of the first comment area and the comment feedback display area being closely adjacent to the other side of the first comment area.
[0037] In an embodiment of the present disclosure, when there are multiple comments for the same comment content, the multiple comments may be arranged horizontally or vertically in order of earliest comment time, and for a first comment and a second comment that have adjacent comment times, the comment feedback display area for the first comment may be provided between the first comment area and the second comment area, or the second comment area may be closely adjacent to one side of the first comment area, for example, the lower or upper side of the first comment area, and the comment feedback display area may be closely adjacent to the left or right side of the first comment area.
[0038] Preferably, adding comment feedback within the comment feedback display area matching the first comment may include obtaining a type of comment feedback and determining whether comment feedback of the same type exists within the comment feedback display area, updating a number of comment feedbacks within the comment feedback display area if comment feedback of the same type exists within the comment feedback display area, and adding comment feedback within the comment feedback display area if comment feedback of the same type does not exist within the comment feedback display area.
[0039] For example, if the comment type of the comment feedback is an "applause" facial expression, first, it is determined whether or not the "applause" facial expression is present in the comment feedback display area, and if the "applause" facial expression is present, 1 is added to the facial expression number corresponding to the facial expression, and if the "applause" facial expression is not present in the comment feedback display area, the "applause" facial expression is displayed in the comment feedback display area. The advantage of such an arrangement is that it is possible to avoid listing multiple identical comment feedbacks and occupying a large display page, and it is possible to intuitively display multiple comment feedbacks for one comment and to avoid truly meaningful comment feedback being buried in a large amount of similar or identical comment feedback.
[0040] Preferably, the comment feedback is a sticker and / or a sticker and the commenter's name.
[0041] In an embodiment of the present disclosure, the display method of the comment feedback may be to display only the sticker selected by the user, for example, the "received" facial expression, or to simultaneously display the sticker and the name of the user who provided the sticker as feedback, for example, to display AA|the "received" facial expression, and of course, the embodiment of the present disclosure is not limited in the display format of the comment feedback.
[0042] In an embodiment of the present disclosure, comment push information sent from a server is received, a first target document and a first comment that match the comment push information are determined, and comment feedback that matches the type of comment feedback in the comment push information is added to the comment feedback display area that matches the first comment, thereby realizing effective feedback in the form of facial expressions, pictures, etc. for comments in online documents, avoiding displaying a lot of repeated or similar comment feedback in the same document, making it easier for users to obtain high-quality comment feedback with substantial content, rather than being buried in low-quality comment feedback, that is, reducing the display proportion of repeated low-quality comment feedback in online documents, helping users select high-quality comments, and enhancing communication between users. EXAMPLES
[0043] 2 is a flowchart of another online document comment-based feedback method according to embodiment 2 of the present disclosure, the embodiment of the present disclosure is applied to a case where the target comment feedback of the target document sent from a terminal is verified, and the feedback content that passes verification is pushed to all terminals where the target document is open, the method can be performed by an online document comment-based feedback device, the device can be realized in the manner of software and / or hardware, and the device can be configured in an electronic device such as a server, etc. As shown in FIG. 2, the method includes the following steps:
[0044] In step 210, a comment feedback addition request sent from the terminal is obtained.
[0045] In an embodiment of the present disclosure, the comment feedback addition request is a request generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal.
[0046] Preferably, before obtaining a comment feedback addition request sent from the terminal, the method may further include receiving a communication establishment request carrying a document ID sent from the terminal, establishing a target communication link with the terminal based on the communication establishment request, and sending a target communication link ID corresponding to the target communication link to the terminal.
[0047] In an embodiment of the present disclosure, a communication establishment request carrying a document ID sent from a terminal is generated after the terminal opens a target document and obtains the document ID of the target document, and after the server establishes a target communication link with the terminal, the server sends a target communication link ID corresponding to the target communication link to the terminal, thereby facilitating subsequent information interaction with the terminal via the target communication link.
[0048] Preferably, obtaining a request to add comment feedback transmitted from the terminal may include obtaining a request to add comment feedback transmitted from the terminal via a target communication link.
[0049] In an embodiment of the present disclosure, after sending the target communication link ID to the terminal, the terminal can generate a comment feedback adding request that matches the target comment image option, and then send the comment feedback adding request to the server via the communication link corresponding to the target communication link ID.
[0050] In step 220, if it is determined that the comment feedback addition request passes the verification, comment push information is generated that matches the comment feedback addition request.
[0051] In the embodiment of the present disclosure, the comment push information may include a document ID, a comment ID, and a type of comment feedback. The comment feedback add request may include a target document ID, a target comment ID, a target user ID, and a type of target comment feedback. Here, the target user means a user who wants to publish a comment feedback for a target comment in a target document, that is, the author of the feedback content, and the target user ID is used to distinguish the user from other users. Since each user has different feedback authority for the target comment in the target document, it is necessary to provide one user ID for each user to confirm the feedback authority for each comment in each document of the user.
[0052] Preferably, determining that the comment feedback addition request passes verification may further include comparing a target user ID in the comment feedback addition request with a valid user ID list, and if the target user ID is included in the valid user ID list, the verification passes, and if the target user ID is not included in the valid user ID list, the verification fails.
[0053] In the embodiment of the present disclosure, in order to control that only authorized users can feedback the target comment, a valid user ID list is set for each document or each comment in each document, which is used to restrict which users can feedback the comment. When the server performs authority verification for the comment feedback addition request, it first obtains the valid user ID list corresponding to the target comment ID in the comment feedback addition request, and then compares the target user ID in the comment feedback addition request with the valid user ID list. If the valid user ID list contains the target user ID, it is deemed that the verification is passed, and the comment feedback corresponding to the comment feedback addition request can be pushed to each terminal; if the valid user ID list does not contain the target user ID, it is deemed that the verification is unsuccessful, that is, the comment feedback corresponding to the comment feedback addition request cannot be displayed on the terminal.
[0054] In step 230, the comment push information is sent to at least one terminal on which the target document is opened.
[0055] Preferably, sending the comment push information to at least one terminal on which the target document is opened may include: determining at least one terminal on which the target document is currently opened, obtaining at least one communication link ID respectively corresponding to the at least one terminal, and sending the comment push information to each corresponding terminal via a communication link corresponding to the at least one communication link ID.
[0056] In an embodiment of the present disclosure, after determining that the server's comment feedback adding request has passed verification and generating comment push information corresponding to the comment feedback adding request, all terminals on which the target document is open can update the feedback of the target comment in the target document and allow users to view the comment feedback simultaneously, first, determine at least one terminal on which the target document is currently open based on the target document ID, and send the comment push information to each corresponding terminal via a communication link respectively corresponding to the at least one terminal, so that the terminal can display the comment feedback corresponding to the comment push information on the page of the target document.
[0057] Preferably, the method may include storing the comment push information in a database after sending the comment push information to at least one terminal on which the target document is opened, and may include, after storing the comment push information in the database, establishing a target communication link with the new terminal in response to a communication establishment request carrying the target document ID sent from the new terminal, obtaining comment push information matching the target document ID from the database, and sending the comment push information to the new terminal via the target communication link.
[0058] In an embodiment of the present disclosure, after the comment push information is sent to a terminal in which a target document is currently open, the comment push information can be stored in a database so that when the other terminal subsequently opens the target document, the comment push information can be sent to the other terminal.
[0059] Preferably, when the server receives a communication establishment request carrying a target document ID sent from a new terminal, it first establishes a target communication link with the new terminal to transmit data between the new terminal and the target document ID, and then obtains comment push information matching the target document ID from the database and transmits it to the new terminal via the target communication link, thereby causing the new terminal to update the comment feedback of the target document of the new terminal, and allowing the user to obtain the latest comment feedback content.
[0060] In an embodiment of the present disclosure, a comment feedback addition request sent from a terminal is obtained, the comment feedback addition request is a request generated based on the selection of a target comment image option from at least two candidate comment image options displayed on the terminal, and if it is determined that the comment feedback addition request passes verification, comment push information corresponding to the comment feedback addition request is generated, and the comment push information is sent to at least one terminal on which the target document is opened, so as to cause the terminal to display the comment feedback on the page of the target document, thereby realizing feedback on the comments in the online document, thereby solving the problem that a user cannot quickly determine which comment information is useful or which comment information is useless, and cannot accurately and quickly select high-quality comment content from a large amount of comment information, and the comment feedback content is sent to the page of each open online document in real time, thereby enhancing communication feedback between users and contributing to users' quick and effective selection of comments. EXAMPLES
[0061] 3a is a flowchart of the implementation of an application scenario according to the third embodiment of the present disclosure, which can be combined with the preferred embodiments of the above embodiments. Referring to FIG. 3a, the method may include the following steps:
[0062] First, in response to an open request for the target document, the terminal opens the target document and sends a communication establishment request carrying the target document ID to the server.
[0063] Preferably, when a user double-clicks a target document to open the document, the terminal generates an open request for the target document, opens the target document according to the request, and displays the contents of the document. After opening the document, the terminal sends a communication establishment request carrying the target document ID to the server, and establishes a communication link with the server, so as to subsequently perform information interaction with the server.
[0064] Preferably, after opening the target document, the terminal obtains the content of the target comment input by the user in response to the user's request to add a comment to the target document, and then generates a record request corresponding to the target comment and sends it to the server, so that the server storage record request enables information including the target document ID, the user ID, the target comment ID, and the content of the target comment, etc. to be recorded.
[0065] Then, the server establishes a target communication link with the terminal, and sends a target communication link ID corresponding to the target communication link to the terminal.
[0066] In the embodiment of the present disclosure, each communication link ID uniquely identifies one communication link, and the target communication link ID allows the server to push specified information to a specified terminal.
[0067] Preferably, after the server establishes a target communication link with the terminal, it obtains comment push information matching the target document ID from the database and sends it to the terminal via the target communication link, so that the terminal can update the feedback of each comment in the target document and the user can obtain the latest comment feedback content.
[0068] Subsequently, in response to the selection for the target comment image option, the terminal generates and transmits to the server a request for adding comment feedback that matches the target comment image option.
[0069] In an embodiment of the present disclosure, when a user clicks a feedback button corresponding to a target comment in a target document, the terminal displays at least two pre-defined candidate comment image options to the user, such as a "Like" facial expression, a "clap" facial expression, a "disagree" picture, and a "good words" character, etc., and when the user clicks a corresponding candidate comment image option, the terminal generates a comment feedback addition request that matches the comment image option and sends it to the server, so that the server verifies the corresponding feedback authority for the comment feedback addition request, where the comment feedback addition request includes a target document ID, a target comment ID, a target user ID, and a type of target comment feedback.
[0070] Then, the server performs authority verification on the comment feedback adding request, and if the verification is passed, generates comment push information that matches the comment feedback adding request and sends it to the terminal in which the target document is currently opened.
[0071] Preferably, the server first obtains a valid user ID list corresponding to the target comment ID in the comment feedback addition request, then compares the target user ID in the comment feedback addition request with the valid user ID list, and if the target user ID is included in the valid user ID list, it considers the verification to be successful, and if the target user ID is not included in the valid user ID list, it considers the verification to be unsuccessful.
[0072] If the verification is passed, the server generates comment push information corresponding to the comment feedback adding request, determines at least one terminal on which the target document is currently open based on the target document ID, and then sends the comment push information to each corresponding terminal via a communication link corresponding to the at least one terminal, so that the terminal can display comment feedback corresponding to the comment push information on the page of the target document.
[0073] In the embodiment of the present disclosure, as shown in FIG. 3b, the server can be divided into a verification module, a broadcasting module, and a communication module according to functions. The verification module can be configured to receive a comment feedback adding request, verify whether the target user has comment feedback authority, generate comment push information that matches the comment feedback adding request and store it in a database if the verification is passed, and send the comment push information to the broadcasting module, and return the verification result to the terminal that sent the comment feedback adding request if the verification is failed. The broadcasting module can be configured to push the received comment push information to the communication module. The communication module can be configured to obtain all terminals that have the target document open according to the target document ID in the comment push information, and then push the comment push information to the corresponding terminals.
[0074] Then, the terminal obtains a document that matches the target document ID in at least one currently open document, and searches for a comment that matches the target comment ID in the obtained document.
[0075] In an embodiment of the present disclosure, after receiving comment push information, the terminal determines whether there is a document that matches the target document ID in the comment push information in at least one currently open document, and if there is not, it directly replies; if there is, it continues to search for comments that match the target comment ID in the matching document.
[0076] Finally, the terminal adds the comment feedback into the comment feedback display area that matches the searched comment.
[0077] In an embodiment of the present disclosure, if the terminal finds that there is no comment matching the target comment ID on its own device, it does not perform the following process; if the terminal finds that there is a comment matching the target comment ID on its own device, it obtains a comment image option corresponding to the type of target comment feedback and adds it into the comment feedback display area matching the searched comment, as shown in FIG. 3c. EXAMPLES
[0078] 4 is a structural schematic diagram of a feedback device based on comments of an online document according to a fourth embodiment of the present disclosure, the embodiment of the present disclosure can be applied to the case of feeding back target comments of a target document and displaying feedback content, the device can be realized in the manner of software and / or hardware, and the device can be configured in an electronic device such as a terminal device, etc. As shown in FIG. 4, the device may include a push information receiving module 410, a comment searching module 420, and a feedback display module 430.
[0079] The push information receiving module 410 is configured to receive comment push information from the server, the comment push information including a document ID, a comment ID and a type of comment feedback, the comment push information being generated by the server in response to a comment feedback addition request sent from any terminal; the comment search module 420 is configured to determine a first document matching the document ID and search for a first comment matching the comment ID in the acquired first target document; and the feedback display module 430 is configured to obtain comment feedback matching the type of comment feedback and add the comment feedback into a comment feedback display area matching the first comment.
[0080] In an embodiment of the present disclosure, comment push information sent from a server is received, a first target document and a first comment that match the comment push information are determined, and comment feedback that matches the type of comment feedback in the comment push information is added to the comment feedback display area that matches the first comment, thereby realizing feedback of comments in online documents, solving the problem that users cannot accurately and quickly select the comment content that they really want to read from a large amount of comment information, and the comment feedback content is sent to the pages of each open online document in real time, thereby enhancing communication feedback between users and contributing to users' quick and effective selection of comments.
[0081] The comment feedback display area is located at a predetermined location within the first comment area of the first comment or at a predetermined location outside the first comment area.
[0082] The apparatus further includes a comment generation module configured to generate a second comment in response to a user's comment request after adding the comment feedback within the comment feedback display area matching the first comment, where the second comment corresponds to the same comment content as the first comment, and the second comment area in which the second comment is located is located in an area different from the comment feedback display area.
[0083] The second comment area in which the second comment is located being located in an area different from the comment feedback display area includes the comment feedback display area being located between the first comment area and the second comment area, or the second comment area being closely adjacent to one side of the first comment area and the comment feedback display area being closely adjacent to the other side of the first comment area.
[0084] The apparatus further comprises a feedback addition request module configured to generate and send to the server a comment feedback addition request corresponding to a predetermined comment feedback in response to a comment image feedback request for a third comment in the second target document, or to display at least two candidate comment image options in response to a comment image feedback request for a third comment in the second target document, and to generate and send to the server a comment feedback addition request matching the target comment image option in response to a selection for the target comment image option, wherein the server is configured to generate comment push information in response to the comment feedback addition request and send it to at least one terminal on which the second target document is opened.
[0085] The feedback addition request module further comprises a communication establishment unit configured to, before displaying at least two candidate comment image options in response to a comment image feedback request for a third comment in the second target document, send a communication establishment request carrying the second target document ID to the server in response to an open request for the second target document, to open the second target document, establish a target communication link with the server, and receive a target communication link ID corresponding to the second target document ID returned from the server.
[0086] The feedback addition request module is configured to send a comment feedback addition request to the server via the communication link corresponding to the target communication link ID.
[0087] The type of comment feedback matches the type of the candidate comment image option.
[0088] The feedback display module 430 is configured to obtain a type of comment feedback, determine whether comment feedback of the same type exists in the comment feedback display area, update the number of comment feedbacks in the comment feedback display area if comment feedback of the same type exists in the comment feedback display area, and add comment feedback in the comment feedback display area if comment feedback of the same type does not exist in the comment feedback display area.
[0089] The comment feedback is a sticker and / or a sticker and the commenter's name.
[0090] The online document comment-based feedback device of the embodiment of the present disclosure belongs to the same disclosure idea as the online document comment-based feedback method of the embodiment of the present disclosure, and for technical details not described in detail in the embodiment of the present disclosure, reference may be made to the above embodiment, and the online document comment-based feedback device of the embodiment of the present disclosure has the same effect as the online document comment-based feedback method of the above embodiment. EXAMPLES
[0091] 5 is a structural schematic diagram of an online document comment-based feedback device according to the fifth embodiment of the present disclosure, the embodiment of the present disclosure can be applied to verify the target comment feedback of the target document sent from a terminal, and push the verified feedback content to all terminals where the target document is open, the device can be realized in the manner of software and / or hardware, and the device can be configured in an electronic device such as a server, etc. As shown in FIG. 5, the device may include an additional request obtaining module 510, a push information generating module 520, and a push information sending module 530.
[0092] The add request obtaining module 510 is configured to obtain from the terminal a comment feedback add request, which is a request generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal; the push information generating module 520 is configured to generate comment push information matching the comment feedback add request, the comment push information including a document ID, a comment ID and a type of comment feedback, if it is determined that the comment feedback add request passes verification; and the push information sending module 530 is configured to send the comment push information to at least one terminal on which the target document is opened.
[0093] In an embodiment of the present disclosure, a comment feedback addition request, which is a request generated based on the selection of a target comment image option from at least two candidate comment image options displayed on the terminal, is obtained from the terminal; if it is determined that the comment feedback addition request passes verification, comment push information corresponding to the comment feedback addition request is generated, and the comment push information is sent to at least one terminal on which the target document is opened, so that the terminal displays the comment feedback on the page of the target document, thereby realizing feedback of comments in the online document, thereby solving the problem that users cannot accurately and quickly select the comment content they really want to read from a large amount of comment information, and the comment feedback content is sent to the pages of multiple open online documents in real time, thereby enhancing communication feedback between users and contributing to users' quick and effective selection of comments.
[0094] The addition request acquisition module 510 further includes a communication unit configured to receive a communication establishment request carrying a document ID sent from the terminal before acquiring a comment feedback addition request sent from the terminal, and establish a target communication link with the terminal based on the communication establishment request, and send a target communication link ID corresponding to the target communication link to the terminal.
[0095] The addition request obtaining module 510 is configured to obtain a comment feedback addition request sent from the terminal via the target communication link.
[0096] The push information generation module 520 is configured to compare the target user ID in the comment feedback addition request with the valid user ID list, and if the target user ID is included in the valid user ID list, the verification is passed, and if the target user ID is not included in the valid user ID list, the verification is failed.
[0097] The push information sending module 530 is configured to determine at least one terminal on which the target document is currently open, obtain at least one communication link ID respectively corresponding to the at least one terminal, and send the comment push information to each corresponding terminal via a communication link corresponding to the at least one communication link ID.
[0098] The online document comment-based feedback apparatus further comprises a storage module configured to store the comment push information in a database after sending the comment push information to at least one terminal where the target document is opened.
[0099] After storing the comment push information in the database, the push information sending module 530 is configured to, in response to a communication establishment request carrying a target document ID sent from the new terminal, establish a target communication link with the new terminal, obtain comment push information matching the target document ID from the database, and send the comment push information to the new terminal via the target communication link.
[0100] The online document comment-based feedback device of the embodiment of the present disclosure belongs to the same disclosure idea as the online document comment-based feedback method of the embodiment of the present disclosure, and for technical details not described in detail in the embodiment of the present disclosure, reference may be made to the above embodiment, and the online document comment-based feedback device of the embodiment of the present disclosure has the same effect as the online document comment-based feedback method of the above embodiment. EXAMPLES
[0101] An embodiment of the present disclosure provides an electronic device, and hereinafter, referring to FIG. 6, a structural schematic diagram of a device (e.g., a terminal device or a server) 600 suitable for implementing the embodiment of the present disclosure is shown. The device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (Portable Android Devices, PAD), portable multimedia players (Portable Media Players, PMP), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital televisions (TV), desktop computers, and the like. The electronic device shown in FIG. 6 is merely an example, and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.
[0102] As shown in Fig. 6, the electronic device 600 may include a processing unit (e.g., a central processor, a graphic processor, etc.) 601, which can execute various appropriate operations and processes based on programs stored in a read-only memory (ROM) 602 or loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 further stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0103] Typically, input devices 606 including, for example, a touch panel, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 607 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 608 including, for example, a magnetic tape, hard disk, etc., and communication devices 609 can be connected to the I / O interface 605. The communication devices 609 enable the electronic device 600 to communicate wirelessly or wired with other devices to exchange data. Although FIG. 6 illustrates the electronic device 600 with various devices, it should be understood that it is not necessary to implement or include all the illustrated devices. Instead, more or fewer devices may be implemented or included.
[0104] According to an embodiment of the present disclosure, the process described with reference to the flowchart above may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network by the communication device 609, or may be installed from the storage device 608, or may be installed from the ROM 602. When the computer program is executed by the processing device 601, it performs the above-mentioned functions defined in the method of the embodiment of the present disclosure. EXAMPLES
[0105] An embodiment of the present disclosure further provides a computer readable storage medium, which may be a computer readable signal medium, a computer readable storage medium, or any combination of the above. The computer readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Examples of computer readable storage media may include, but are not limited to, an electrical connection having one or more leads, a portable computer disk, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM or Flash memory), an optical fiber, a portable Compact Disc-ROM (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0106] In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used in or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program that can be used in or in conjunction with an instruction execution system, apparatus, or device. The program code included in the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, an electric wire, an optical cable, a radio frequency (Radio Frequency, RF), or the like, or any suitable combination of the above.
[0107] The computer readable medium may be included in the device or may exist separately and not attached to the device.
[0108] When one or more programs are carried on the computer-readable medium and the one or more programs are executed by the device, the device receives comment push information from the server, the comment push information being generated by the server based on a comment feedback addition request sent from any terminal, the comment push information including a document ID, a comment ID and a type of comment feedback, determines a first target document matching the document ID, searches for a first comment matching the comment ID in the first target document, obtains comment feedback matching the type of comment feedback, and adds the comment feedback into a comment feedback display area matching the first comment.
[0109] Alternatively, when the one or more programs are executed by the electronic device, the electronic device obtains from the terminal a comment feedback addition request, which is a request generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal, and if it determines that the comment feedback addition request passes verification, generates comment push information that matches the comment feedback addition request, the comment push information including a document ID, a comment ID and a type of comment feedback, and sends the comment push information to at least one terminal on which the target document is opened.
[0110] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and even conventional procedural programming languages such as "C" or similar. The program code may be executed entirely on the user's computer, partially on the user's computer, as a single independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or business server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).
[0111] The flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program, or part of code, which includes one or more executable instructions for implementing a certain logical function. In some alternative implementations, the functions described in the blocks may occur in a different order from the order described in the drawings. For example, two blocks shown as connected may actually be executed substantially in parallel or in reverse order depending on the related functions. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be implemented in a system based on dedicated hardware that executes a certain function or operation, or may be implemented in a combination of dedicated hardware and computer instructions. The modules or units according to the embodiments of the present disclosure may be implemented in the form of software or hardware.
[0112] The modules or units according to the embodiments of the present disclosure may be implemented in a software manner or a hardware manner, where the name of the module or unit does not limit the module or unit itself, for example, the comment search module may be described as "a module for determining a first target document that matches a document ID, and searching for a first comment that matches a comment ID in the obtained first target document."
[0113] Also, although operations have been described in a particular order, it should not be understood that these operations must be performed in the particular order shown, or in a forward order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although the above discussion includes a number of specific implementation details, these should not be understood as limiting the scope of the disclosure. Some features described in the description of a single embodiment may be implemented in combination in a single embodiment. Conversely, various features described in the description of a single embodiment may be implemented in multiple embodiments alone or in any suitable subcombination.
[0114] Although the present subject matter has been described using language specific to structural features and / or methodological operations, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.
Claims
1. A method for feedback based on comments on an online document applied to a terminal, comprising: receiving from the server comment push information generated by the server in response to a comment feedback addition request sent from one terminal, the comment push information including a document ID, a comment ID, and a comment feedback type; determining a first target document that matches the document ID, and determining a first comment in the first target document that matches the comment ID; obtaining comment feedback that matches the type of the comment feedback, and adding the comment feedback for the first comment in a comment feedback display area that matches the first comment; the comment feedback display area is located at a predetermined location within the first comment area of the first comment, and the comment feedback is a sticker or a sticker and the name of the commenter; Adding the comment feedback for the first comment into a comment feedback display area matching the first comment includes: Obtaining a type of the comment feedback and determining whether or not a comment feedback of the same type as the type of the comment feedback exists in the comment feedback display area; in response to the presence of comment feedback of the same type as the comment feedback type in the comment feedback display area, updating a number of comment feedback of the same type as the comment feedback type in the comment feedback display area; in response to no comment feedback of a type that is the same as the type of the comment feedback in the comment feedback display area, adding comment feedback for the first comment in the comment feedback display area; The method for providing feedback based on comments on an online document includes: generating and sending to the server a comment feedback add request corresponding to the given comment feedback in response to a comment image feedback request for a third comment in the second target document; or displaying at least two candidate comment image options in response to a comment image feedback request for a third comment in the second target document; generating and transmitting to the server a comment feedback addition request that matches the target comment image option in response to a selection of the at least two candidate comment image options for the target comment image option; Further comprising: The server is configured to generate comment push information in response to the request to add comment feedback, and send the comment push information to at least one terminal on which the second target document is opened. Feedback method based on comments in online documentation.
2. prior to displaying at least two candidate comment image options in response to a comment image feedback request for a third comment in the second target document; opening the second target document in response to an open request for the second target document; and sending a communication establishment request to the server, the communication establishment request carrying the second target document ID, to establish a target communication link with the server and receive a target communication link ID corresponding to the second target document ID returned from the server; generating and transmitting to the server a request to add comment feedback that matches the target comment image option; sending the request to add comment feedback to the server via a communication link corresponding to the target communication link ID; The method of claim 1.
3. the type of comment feedback matches the type of the candidate comment image option; The method of claim 1.
4. 1. A method for online document comment-based feedback applied to a server, comprising: obtaining from the terminal a request to add comment feedback, the request being generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal; When it is determined that the comment feedback addition request passes verification, generating comment push information that matches the comment feedback addition request, the comment push information including a document ID, a comment ID, and a type of comment feedback; sending the comment push information to at least one terminal on which the target document corresponding to the document ID is opened, so that the at least one terminal adds comment feedback for the first comment in a comment feedback display area corresponding to the first comment in the target document, the comment push information being sent to the at least one terminal on which the target document corresponding to the document ID is opened; the comment feedback display area is located at a predetermined location within the first comment area of the first comment, and the comment feedback is a sticker or a sticker and the name of the commenter; Adding a comment feedback for a first comment in a comment feedback display area corresponding to the comment ID in the target document by the at least one terminal includes: Obtaining a type of the comment feedback and determining whether or not a comment feedback of the same type as the type of the comment feedback exists in the comment feedback display area; in response to the presence of comment feedback of the same type as the comment feedback type in the comment feedback display area, updating a number of comment feedback of the same type as the comment feedback type in the comment feedback display area; and in response to no comment feedback of a type that is the same as the type of the comment feedback being present in the comment feedback display area, adding comment feedback for the first comment in the comment feedback display area. Feedback method based on comments in online documentation.
5. Before obtaining a request for adding comment feedback sent from the terminal, receiving a communication establishment request carrying the document ID transmitted from the terminal; Establishing a target communication link with the terminal based on the communication establishment request; and transmitting a target communication link ID corresponding to the target communication link to the terminal; Obtaining a comment feedback addition request sent from the terminal includes: obtaining the comment feedback addition request transmitted from the terminal via a communication link corresponding to the target communication link ID; The method according to claim 4.
6. Determining that the comment feedback addition request passes verification: comparing the target user ID in the comment feedback addition request with a list of valid user IDs; If the target user ID is included in the valid user ID list, the verification is passed, and if the target user ID is not included in the valid user ID list, the verification is failed. The method according to claim 4.
7. Sending the comment push information to at least one terminal on which a target document that matches the document ID is opened includes: determining at least one terminal on which the target document is open and obtaining at least one communication link ID corresponding to each of the at least one terminal; and transmitting the comment push information to each terminal of the at least one terminal via at least one communication link corresponding to the at least one communication link ID. The method according to claim 5.
8. After sending the comment push information to at least one terminal where a target document that matches the document ID is opened, storing the comment push information in a database; establishing a target communication link with the new terminal in response to a communication establishment request carrying the document ID sent from the new terminal; Obtaining the comment push information that matches the document ID from the database; and transmitting the comment push information to the new terminal via the target communication link. The method according to claim 5.
9. A feedback device based on comments of an online document applied to a terminal, comprising: A push information receiving module configured to receive, from the server, comment push information generated by the server in response to a comment feedback addition request sent from a terminal, the comment push information including a document ID, a comment ID, and a comment feedback type; a comment determination module configured to determine a first target document that matches the document ID and to determine a first comment in the first target document that matches the comment ID; a feedback display module configured to obtain comment feedback that matches the comment feedback type and add the comment feedback for the first comment in a comment feedback display area that matches the first comment; the comment feedback display area is located at a predetermined location within the first comment area of the first comment, and the comment feedback is a sticker or a sticker and the name of the commenter; The feedback display module includes: The method is configured to obtain a type of the comment feedback, and determine whether or not a comment feedback of the same type as the type of the comment feedback exists in the comment feedback display area; configured to update a number of comment feedback of the same type as the comment feedback type in the comment feedback display area in response to the presence of comment feedback of the same type as the comment feedback type in the comment feedback display area; configured to add comment feedback for the first comment in the comment feedback display area in response to the absence of comment feedback of a type that is the same as the type of the comment feedback in the comment feedback display area. A feedback device based on online documentation comments.
10. A comment-based feedback device for online documents applied to a server, comprising: an add request obtaining module configured to obtain from the terminal a comment feedback add request, the request being generated based on a selection of a target comment image option from at least two candidate comment image options displayed on the terminal; a push information generating module configured to generate comment push information that matches the comment feedback adding request when it is determined that the comment feedback adding request passes verification, the comment push information including a document ID, a comment ID, and a comment feedback type; a push information sending module configured to send the comment push information to at least one terminal on which the target document corresponding to the document ID is opened, so that at least one terminal adds comment feedback for the first comment in a comment feedback display area corresponding to the first comment in the target document, the comment push information being sent to the at least one terminal on which the target document corresponding to the document ID is opened; the comment feedback display area is located at a predetermined location within the first comment area of the first comment, and the comment feedback is a sticker or a sticker and the name of the commenter; The at least one terminal The method is configured to obtain a type of the comment feedback, and determine whether or not a comment feedback of the same type as the type of the comment feedback exists in the comment feedback display area; configured to update a number of comment feedback of the same type as the comment feedback type in the comment feedback display area in response to the presence of comment feedback of the same type as the comment feedback type in the comment feedback display area; configured to add comment feedback for the first comment in the comment feedback display area in response to the absence of comment feedback of a type that is the same as the type of the comment feedback in the comment feedback display area. A feedback device based on online documentation comments.
11. At least one processor; and a memory configured to store at least one program. When the at least one program is executed by the at least one processor, the at least one processor realizes the method for feedback based on comments in an online document according to any one of claims 1 to 3 or the method for feedback based on comments in an online document according to any one of claims 4 to 8. electronic equipment.
12. A computer-readable storage medium having a computer program stored thereon, When the computer program is executed by a processor, the computer program realizes the method for feedback based on comments in an online document according to any one of claims 1 to 3 or the method for feedback based on comments in an online document according to any one of claims 4 to 8. A computer-readable storage medium.
Citation Information
Patent Citations
Chat system and bulletin board system
JP2002163220A
Educational guidance support system, educational guidance support method, and educational guidance support program
JP2007025393A
Content management device, content management system, content management method, and program
JP2014241113A
Image annotations in collaborative content items
WO2018122642A1