Feedback method and apparatus based on online document comment, and non-transitory computer-readable storage medium
Abstract
Provided are a feedback method and apparatus based on an online document comment, and a non-transitory computer-readable storage medium. The feedback method based on an online document comment includes receiving comment push information sent by a server, where the comment push information is generated by the server according to a comment feedback adding request sent by a terminal and the comment push information includes a document identifier and a comment identifier; determining a first target document matching the document identifier and determining a first comment matching the comment identifier in the first target document; and adding the comment feedback corresponding to the comment feedback adding request in a comment feedback display region of the first comment; wherein the comment feedback is an emoji, or the comment feedback is an emoji and a name of a commenter.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A feedback method based on an online document comment, comprising:
receiving comment push information sent by a server, wherein the comment push information is generated by the server according to a comment feedback adding request sent by a terminal, and wherein the comment push information comprises a document identifier and a comment identifier; determining a first target document matching the document identifier and determining a first comment matching the comment identifier in the first target document, wherein the first comment is associated with a second comment, the second comment is a comment adjacent to the first comment; and adding comment feedback corresponding to the comment feedback adding request in a comment feedback display region of the first comment, wherein the comment feedback display region of the first comment is set between a first comment region where the first comment is located and a second comment region where the second comment is located; wherein the comment feedback is an emoji, or the comment feedback is an emoji and a name of a commenter.
2 . The method of claim 1 , wherein the second comment and the first comment correspond to a same commented content; or the second comment is a comment that replies to the first comment.
3 . The method of claim 1 , wherein the second comment region where the second comment is located is located at a lower side of the first comment region where the first comment is located.
4 . The method of claim 1 , further comprising:
in response to a comment impression feedback request for a third comment in a second target document, generating a comment feedback adding request corresponding to a preset comment feedback and sending the comment feedback adding request corresponding to the preset comment feedback to the server; or displaying at least two candidate comment impression options in response to a comment impression feedback request for a third comment in a second target document; and in response to a selection of a target comment impression option in the at least two candidate comment impression options, generating a comment feedback adding request matching the target comment impression option and sending the comment feedback adding request matching the target comment impression option to the server;
wherein the server is configured to generate comment push information according to the comment feedback adding request and send the comment push information to at least one terminal that opens the second target document.
5 . The method of claim 4 , before displaying the at least two candidate comment impression options in response to the comment impression feedback request for the third comment in the second target document, the method further comprising:
opening the second target document in response to an open request for the second target document; and sending a communication establishment request carrying a second target document identifier to the server to establish a target communication link with the server, and receiving a target communication link identifier corresponding to the second target document identifier returned by the server; wherein generating the comment feedback adding request matching the target comment impression option and sending the comment feedback adding request matching the target comment impression option to the server comprises: sending the comment feedback adding request matching the target comment impression option to the server through a communication link corresponding to the target communication link identifier.
6 . The method of claim 4 , wherein adding the comment feedback corresponding to the comment feedback adding request in the comment feedback display region of the first comment comprises:
acquiring a comment feedback type and determining whether comment feedback of a same type as the comment feedback type exists in the comment feedback display region; and in response to the comment feedback of the same type as the comment feedback type existing in the comment feedback display region, updating a number of pieces of the comment feedback in the comment feedback display region; and in response to the comment feedback of the same type as the comment feedback type not existing in the comment feedback display region, adding the comment feedback in the comment feedback display region; wherein the comment feedback type matches a type of one candidate comment impression option of the at least two candidate comment impression options.
7 . A feedback method based on an online document comment, comprising:
acquiring a comment feedback adding request sent by a terminal, wherein the comment feedback adding request is generated according to a selection of a target comment impression option in at least two candidate comment impression options displayed in the terminal; in a case where it is determined that the comment feedback adding request passes verification, generating comment push information matching the comment feedback adding request, wherein the comment push information comprises a document identifier and a comment identifier; and sending the comment push information to at least one terminal that opens a target document matching the document identifier.
8 . The method of claim 7 , before acquiring the comment feedback adding request sent by the terminal, further comprising:
receiving a communication establishment request carrying the document identifier sent by the terminal; establishing a target communication link with the terminal according to the communication establishment request; and sending a target communication link identifier corresponding to the target communication link to the terminal; wherein acquiring the comment feedback adding request sent by the terminal comprises: acquiring the comment feedback adding request sent by the terminal through a communication link corresponding to the target communication link identifier.
9 . The method of claim 7 , wherein it being determined that the comment feedback adding request passes the verification comprises:
comparing a target user identifier in the comment feedback adding request with a valid user identifier list; and in a case where the valid user identifier list comprises the target user identifier, determining that the comment feedback adding request passes the verification, and in a case where the valid user identifier list does not comprise the target user identifier, determining that the verification fails.
10 . The method of claim 8 , wherein sending the comment push information to the at least one terminal that opens the target document matching the document identifier comprises:
determining the at least one terminal that opens the target document, and acquiring at least one communication link identifier that matches the at least one terminal respectively; and sending the comment push information to each of the at least one terminal through a respective one of at least one communication link corresponding to the at least one communication link identifier.
11 . The method of claim 8 , after sending the comment push information to the at least one terminal that opens the target document matching the document identifier, the method further comprising:
storing the comment push information in a database; in response to a communication establishment request carrying the document identifier sent by a new terminal, establishing a target communication link with the new terminal; acquiring the comment push information matching the document identifier from the database; and sending the comment push information to the new terminal through the target communication link.
12 . A feedback apparatus based on an online document comment, comprising: at least one processor; and a memory configured to store at least one program, wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform:
receiving comment push information sent by a server, wherein the comment push information is generated by the server according to a comment feedback adding request sent by a terminal, and wherein the comment push information comprises a document identifier and a comment identifier; determining a first target document matching the document identifier and determining a first comment matching the comment identifier in the first target document, wherein the first comment is associated with a second comment, the second comment is a comment adjacent to the first comment; and adding comment feedback corresponding to the comment feedback adding request in a comment feedback display region of the first comment, wherein the comment feedback display region of the first comment is set between a first comment region where the first comment is located and a second comment region where the second comment is located; wherein the comment feedback is an emoji, or the comment feedback is an emoji and a name of a commenter.
13 . The apparatus of claim 12 , wherein the second comment and the first comment correspond to a same commented content; or the second comment is a comment that replies to the first comment.
14 . The apparatus of claim 12 , wherein the second comment region where the second comment is located is located at a lower side of the first comment region where the first comment is located.
15 . The apparatus of claim 12 , wherein the at least one program, when executed by the at least one processor, causes the at least one processor to further perform:
in response to a comment impression feedback request for a third comment in a second target document, generating a comment feedback adding request corresponding to a preset comment feedback and sending the comment feedback adding request corresponding to the preset comment feedback to the server; or displaying at least two candidate comment impression options in response to a comment impression feedback request for a third comment in a second target document; and in response to a selection of a target comment impression option in the at least two candidate comment impression options, generating a comment feedback adding request matching the target comment impression option and sending the comment feedback adding request matching the target comment impression option to the server; wherein the server is configured to generate comment push information according to the comment feedback adding request and send the comment push information to at least one terminal that opens the second target document.
16 . The apparatus of claim 15 , before displaying the at least two candidate comment impression options in response to the comment impression feedback request for the third comment in the second target document, the at least one program, when executed by the at least one processor, causes the at least one processor to further perform:
opening the second target document in response to an open request for the second target document; and sending a communication establishment request carrying a second target document identifier to the server to establish a target communication link with the server, and receiving a target communication link identifier corresponding to the second target document identifier returned by the server; wherein generating the comment feedback adding request matching the target comment impression option and sending the comment feedback adding request matching the target comment impression option to the server comprises: sending the comment feedback adding request matching the target comment impression option to the server through a communication link corresponding to the target communication link identifier.
17 . The apparatus of claim 15 , wherein the at least one program, when executed by the at least one processor, causes the at least one processor to further perform:
acquiring a comment feedback type and determining whether comment feedback of a same type as the comment feedback type exists in the comment feedback display region; and in response to the comment feedback of the same type as the comment feedback type existing in the comment feedback display region, updating a number of pieces of the comment feedback in the comment feedback display region; and in response to the comment feedback of the same type as the comment feedback type not existing in the comment feedback display region, adding the comment feedback in the comment feedback display region; wherein the comment feedback type matches a type of one candidate comment impression option of the at least two candidate comment impression options.
18 . A feedback apparatus based on an online document comment, comprising: at least one processor; and a memory configured to store at least one program, wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform the feedback method based on an online document comment of claim 7 .
19 . A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the feedback method based on an online document comment of claim 1 .
20 . A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the feedback method based on an online document comment of claim 7 .Join the waitlist — get patent alerts
Track US2023385350A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.