Comment reply method and apparatus, electronic device, storage medium, and program product

The method and apparatus generate assisted reply content based on reference content to improve the efficiency of replying to comments in online documents, addressing the low efficiency issue in existing technologies.

US20260377637A1Pending Publication Date: 2026-11-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/660882
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-04-28
Filing Date
2026-04-28
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

The efficiency of replying to comments in an online document is relatively low in existing technologies.

Method used

A method and apparatus that generate first reply content based on reference content to assist users in replying to comments, with the option to edit and send second reply content, improving the efficiency and reducing the time required for replying.

Benefits of technology

Reduces the difficulty and time needed to reply to comments by providing assisted reply content, enhancing the overall efficiency of the comment replying process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377637A1-D00000_ABST
    Figure US20260377637A1-D00000_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a comment reply method and apparatus, an electronic device, a storage medium, and a program product. The method includes: displaying a comment on an online document on a document display page; displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and displaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present disclosure claims the priority from the CN patent application No. 202510551576.5 entitled “Comment reply method and apparatus, electronic device, storage medium, and program product” filed with the China National Intellectual Property Administration (CNIPA) on Apr. 28, 2025, the contents of which are hereby incorporated by reference in their entirety.FIELD

[0002] Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a comment reply method and apparatus, an electronic device, a storage medium, and a program product.BACKGROUND

[0003] Comments are an important way of interaction in an online document interaction scenario. For example, a user viewing an online document may send comments and / or reply to comments in the online document for at least part of document content of the online document.SUMMARY

[0004] Embodiments of the present disclosure provide a comment reply method and apparatus, an electronic device, a storage medium, and a program product.

[0005] According to a first aspect, an embodiment of the present disclosure provides a comment reply method, including:

[0006] displaying a comment on an online document on a document display page;

[0007] displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and

[0008] displaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0009] According to a second aspect, an embodiment of the present disclosure further provides a comment reply apparatus, including:

[0010] a comment display module, configured to display a comment on an online document on a document display page;

[0011] a first reply content display module, configured to display first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and

[0012] a second reply content display module, configured to: display, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0013] According to a third aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0014] one or more processors; and

[0015] a memory, configured to store one or more programs,

[0016] where when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the comment reply method according to the embodiments of the present disclosure.

[0017] According to a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, having a computer program stored thereon, wherein when the computer program is executed by a processor, the comment reply method according to the embodiments of the present disclosure is implemented.

[0018] According to a fifth aspect, an embodiment of the present disclosure further provides a computer program product, wherein when the computer program product is executed by a computer, the computer is enabled to implement the comment reply method according to the embodiments of the present disclosure.BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The foregoing and other features, advantages, and aspects of the embodiments of the present disclosure become more apparent with reference to the following specific implementations and in conjunction with the drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that parts and elements are not necessarily drawn to scale.

[0020] FIG. 1 is a schematic flowchart of a comment reply method according to an embodiment of the present disclosure;

[0021] FIG. 2 is a schematic diagram showing the display of a comment according to an embodiment of the present disclosure;

[0022] FIG. 3 is a schematic diagram showing the display of first reply content according to an embodiment of the present disclosure;

[0023] FIG. 4 is a schematic diagram showing the display of second reply content according to an embodiment of the present disclosure;

[0024] FIG. 5 is a schematic flowchart of another comment reply method according to an embodiment of the present disclosure;

[0025] FIG. 6 is a schematic diagram of a display process of first reply content according to an embodiment of the present disclosure;

[0026] FIG. 7 is a schematic diagram of another display process of first reply content according to an embodiment of the present disclosure;

[0027] FIG. 8 is a block diagram of a comment reply apparatus according to an embodiment of the present disclosure; and

[0028] FIG. 9 is a schematic diagram of a structure of an electronic device according to an embodiment of the present disclosure.DETAILED DESCRIPTION OF EMBODIMENTS

[0029] The embodiments of the present disclosure are described in more detail below with reference to the drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. Instead, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the protection scope of the present disclosure.

[0030] It should be understood that the various steps described in the method implementations of the present disclosure may be performed in different orders and / or in parallel. In addition, the method implementations may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0031] The term "include / comprise" and the variations thereof used herein are open-ended inclusions, that is, "include / comprise but not limited to". The term "based on" means "at least partially based on". The term "an embodiment" means "at least one embodiment". The term "another embodiment" means "at least one another embodiment". The term "some embodiments" means "at least some embodiments". Related definitions of other terms are given in the description below.

[0032] It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used for distinguishing between different apparatuses, modules, or units, and are not used for limiting the sequence or interdependence of the functions performed by these apparatuses, modules, or units.

[0033] It should be noted that the modifiers "a" and "a plurality of" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise explicitly specified in the context, they should be understood as "one or more".

[0034] The names of messages or information exchanged between a plurality of apparatuses in the implementations of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.

[0035] It may be understood that the data involved in the technical solution (including but not limited to the data itself, acquisition or use of the data) should comply with requirements of corresponding laws, regulations, and related provisions.

[0036] Comments are an important way of interaction in an online document interaction scenario. For example, a user viewing an online document may send comments and / or reply to comments in the online document for at least part of document content of the online document. However, in the related art, the efficiency of replying to comments in an online document is relatively low.

[0037] Embodiments of the present disclosure provide a comment reply method and apparatus, an electronic device, a storage medium, and a program product, to improve the efficiency of replying to comments in an online document.

[0038] According to the comment reply method and apparatus, the electronic device, the storage medium, and the program product provided in the embodiments of the present disclosure, the first reply content to the comment is generated based on at least one reference content, and the user is assisted by the first reply content to reply to the comment. This may reduce the difficulty of replying to the comment in the online document, reduce the time required for replying to the comment in the online document, and improve the efficiency of replying to the comment in the online document.

[0039] FIG. 1 is a schematic flowchart of a comment reply method according to an embodiment of the present disclosure. The method may be performed by a comment reply apparatus. The apparatus may be implemented in software and / or hardware, may be configured in an electronic device, and typically may be configured in a computer, a mobile phone, or a tablet computer. The comment reply method provided in this embodiment of the present disclosure is applicable to a scenario in which a reply to a comment in an online document is assisted by reply content generated based on at least one reference content. As shown in FIG. 1, the comment reply method provided in this embodiment may include the following steps.

[0040] S101: Display a comment on an online document on a document display page.

[0041] The document display page may be understood as a display page of the online document, for example, a page that displays document content of the online document. The online document may be understood as a document stored through a server, and may be accessed and edited based on a network. The online document may support one or more users to access and / or edit, which may be specifically set by an owner of the online document (for example, a user who creates the online document) or a collaborator of the online document as needed. The comment on the online document may be a comment added for at least part of the document content in the online document, for example, a comment added by a user in the online document, a question raised by a user in the online document, and / or feedback provided by a user in the online document.

[0042] Specifically, as shown in FIG. 2, the comment 20 of the online document may be displayed on the document display page of the online document. For example, when a current user views a specific online document, at least part of the document content of the online document may be displayed on the document display page, and one or more comments 20 that have been added in the online document may be further displayed; or when the comment operation of the current user for at least part of the document content in the online document currently viewed by the current user is received, a comment 20 corresponding to the comment operation may be added in the online document in response to the comment operation.

[0043] S102: Display first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment.

[0044] The first reply content to the comment may be understood as reply content to the comment that is generated based on at least one reference content. The first reply content may be used for assisting in replying to the comment. For example, a user viewing the document may reply to the comment with reference to the first reply content, and send second reply content for the comment. The first reply content may be generated based on at least one reference content. The reference content may be understood as content on which the first reply content is based during generation, for example, a reference during generation of the first reply content. The reference content may be content associated with the foregoing comment, for example, content associated with comment content of the foregoing comment and / or the document content for which the foregoing comment is made. A type of the reference content is not limited. For example, the reference content may include but is not limited to document content, chat content, and / or meeting content.

[0045] Specifically, after the comment 20 added in the online document is displayed, the first reply content 30 of the comment 20 may be further obtained, and after obtaining the first reply content 30 of the comment 20, the obtained first reply content 30 is displayed, as shown in FIG. 3, to assist a user viewing the comment in replying by using the first reply content 30, for example, to assist the user in replying to the comment 20.

[0046] In this embodiment, the first reply content may be generated based on at least one reference content. For example, at least one reference content that is associated with the comment and / or the document content for which the comment is made and that is accessible to the current user may be obtained, and optional reply content that may be used for replying to the comment may be automatically generated based on the at least one reference content, and used as the first reply content to the comment.

[0047] After the optional reply content for replying to the comment is generated based on at least one reference content, content quality (such as confidence) of the optional reply content may be not considered, and the optional reply content may be directly used as the first reply content to the comment; or the content quality of the optional reply content may be considered, and the optional reply content is used as the first reply content to the comment only when the optional reply content is high-quality content (for example, a high-quality answer to the comment), for example, when the confidence of the optional reply content is greater than or equal to a preset confidence threshold. When the optional reply content is not high-quality content, the optional reply content is not used as the first reply content to the comment. For example, it is determined that the comment does not have the first reply content.

[0048] In this embodiment, a manner of generating the first reply content to the comment based on at least one reference content is not limited. In some optional examples, the first reply content to the comment may be generated by a reply model obtained through pre-training. For example, the online document, the comment, and / or the document content corresponding to the comment in the online document are input into the reply model obtained through pre-training, the reference content associated with the comment is obtained by the reply model, and the first reply content to the comment is generated based on the obtained reference content.

[0049] A generation timing of the first reply content is not limited. For example, the first reply content to the comment may be automatically generated after the comment is sent, or the first reply content to the comment may be generated when an instruction to generate the first reply content to the comment is received, for example, when a corresponding trigger operation used for indicating generation of the first reply content to the comment is received.

[0050] It should be noted that the first reply content may be generated for all comments, or the first reply content may be generated only for comments that meet a first reply content generation condition. The first reply content generation condition may be, for example, that the comment is a comment of an information acquisition type. The comment of the information acquisition type may be understood as a comment used for requesting to obtain certain information, and may include but is not limited to a comment whose content includes a question or a sentence used for obtaining information.

[0051] S103: In response to obtaining second reply content to the comment, display the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0052] The second reply content to the comment may be content that is sent by a user accessing the online document and used for replying to the comment. The second reply content may be generated based on the first reply content. For example, the second reply content may be edited by a user who sends the second reply content with reference to the first reply content to the comment or based on the first reply content to the comment. In addition, the second reply content may also be supported to be edited by the user accessing the online document. The user who sends the second reply content may be understood as a user who triggers to send the second reply content, and may be the same user or a different user as the current user. This is not limited in this embodiment.

[0053] Specifically, as shown in FIG. 4, after the second reply content 40 generated based on the first reply content to the comment is obtained, the second reply content 40 may be displayed on the document display page. For example, after the sending operation of the current user for the second reply content 40 is received, the second reply content 40 may be additionally displayed on the document display page; or after the second reply content 40 sent by a user other than the current user for the comment 20 is received, the second reply content 40 may be displayed on the document display page for the current user to view.

[0054] In this embodiment, a display form of the second reply content is not limited. Exemplarily, the second reply content to the comment may be presented as a sub-comment of the comment, a comment that quotes at least part of comment content of the comment, or a comment at the same level as the comment. After the second reply content to the comment is obtained, for example, after the second reply content to the comment is displayed, the first reply content to the comment may remain displayed, or the display of the first reply content to the comment may be disabled. This may be specifically set as needed.

[0055] According to the comment reply method provided in this embodiment, the comment on the online document is displayed on the document display page; the first reply content to the comment is displayed, wherein the first reply content is generated based on at least one reference content, and the first reply content is used as a reference to reply to the comment; and in response to obtaining the second reply content to the comment, the second reply content is displayed on the document display page, wherein the second reply content is generated based on the first reply content. According to the technical solution described above, in this embodiment, the first reply content to the comment is generated based on at least one reference content, and the user is assisted by the first reply content to reply to the comment. This may reduce the difficulty of replying to the comment in the online document, reduce the time required for replying to the comment in the online document, and improve the efficiency of replying to the comment in the online document.

[0056] In some embodiments, the method further includes, after displaying the first reply content to the comment: inputting, in response to a reply content input operation based on the first reply content, at least part of content of the first reply content into a reply content input area of the comment; and sending, in response to a content sending operation based on the reply content input area, content input in the reply content input area as the second reply content to the comment.

[0057] The reply content input operation based on the first reply content may be a trigger operation used for indicating that at least part of the content of the first reply content is input into the reply content input area of the comment. An execution manner of the reply content input operation is not limited. Exemplarily, the reply content input operation may be an operation of triggering a reply input control corresponding to the first reply content, an operation of dragging at least part of the content of the first reply content into the reply content input area, or an operation of copying at least part of the content of the first reply content and then pasting in the reply content input area. The reply content input area may be understood as an area for inputting the second reply content to the comment, for example, a reply content input box of the comment. The content sending operation may be understood as a trigger operation used for indicating sending of the reply content input in the reply content input area, for example, an operation of triggering a content sending control corresponding to the reply content input area.

[0058] Specifically, with continued reference to FIG. 3, when the reply content input operation based on the first reply content 30 is received, at least part of the content of the first reply content 30 may be input into the reply content input area 21 of the comment 20. For example, when it is detected that the current user triggers the reply input control 31 corresponding to the first reply content 30, all the content of the first reply content 30 or the content of the first reply content 30 in the selected state may be added to the reply content input area 21 of the comment 20; and / or when it is detected that the current user triggers the copy control 32 corresponding to the first reply content 20, all the content of the first reply content 30 or the content of the first reply content 30 in the selected state may be copied, and when the paste operation acted on the reference content input area 21 of the comment 20 is received, the copied content is added to the reference content input area 21 of the comment 20.

[0059] After at least part of the content of the first reply content 30 is input into the reply content input area 21 of the comment 20, the current user may be supported to directly perform the content sending operation, or the user may be supported to edit the content input in the reply content input area 21 and perform the content sending operation after the editing is completed.

[0060] When the content sending operation of the current user based on the reply content input area 21 is received, for example, when it is detected that the current user triggers the content sending control corresponding to the reply content input area 21, the content input in the reply content input area 21 may be obtained as the second reply content 40 to be sent, and the second reply content 40 is sent and displayed on the document display page, as shown in FIG. 4.

[0061] In this embodiment, the user may be supported to edit and send the second reply content to the comment based on the displayed first reply content to the comment, without the need to independently conceive the second reply content and input the second reply content character by character. This may further simplify the operations required for replying to the comment, thereby further improving the efficiency of replying to the comment in the online document.

[0062] In some embodiments, the comment is in an unresolved state, and the comment reply method may further include: disabling, in response to a comment state of the comment switching from the unresolved state to a resolved state, the display of the first reply content to the comment.

[0063] The comment state of the comment may include the resolved state and the unresolved state. When the comment is in the resolved state, it indicates that an event mentioned in the comment has been resolved, and there is no need to reply to the comment subsequently. When the comment is in the unresolved state, it indicates that the event mentioned in the comment has not been resolved. The comment state of the comment may be switched based on a state switching operation. For example, when the state switching operation for the comment in the unresolved state is received, the comment state of the comment may be switched from the unresolved state to the resolved state.

[0064] In this embodiment, the first reply content may be displayed only for the comment in the unresolved state, and for the comment in the resolved state, since the event mentioned in the comment has been resolved, the first reply content may not be displayed for the comment, thereby further enriching the display manner of the first reply content, and improving the practicality of the displayed first reply content.

[0065] Specifically, it may be supported to display the first reply content for the comment in the unresolved state, and when it is detected that the comment state of the comment is switched from the unresolved state to the resolved state, the display of the first reply content to the comment is disabled. For example, if the first reply content to the comment is currently displayed, the display of the first reply content may be disabled; or if the first reply content to the comment is not currently displayed, the first reply content to the comment may remain undisplayed.

[0066] In addition, for the comment in the resolved state, after the display of the first reply content to the comment is disabled, the user may or may not be supported to view the first reply content to the comment by performing a reply content display operation (such as the first reply content display operation). This may be specifically set as needed.

[0067] FIG. 5 is a schematic flowchart of another comment reply method according to an embodiment of the present disclosure. The solution in this embodiment may be combined with one or more optional solutions in the foregoing embodiment. Optionally, the first reply content to the comment is displayed in at least one of the following manners: displaying, in response to the display of the comment, the first reply content to the comment; displaying, in response to a first reply content display operation for the comment, the first reply content to the comment; or displaying, in response to a reply operation for the comment, the first reply content to the comment.

[0068] Correspondingly, as shown in FIG. 5, the comment reply method provided in this embodiment may include the following steps.

[0069] S201: Display a comment on an online document on a document display page, and perform at least one of S202, S203, and S204.

[0070] S202: In response to displaying the comment, display first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment, and then perform S204.

[0071] In this embodiment, after the comment on the online document is displayed, the first reply content to the comment may be automatically obtained and displayed, to simplify the operations that the user needs to perform to view the first reply content to the comment, and improve the display speed of the first reply content.

[0072] Exemplarily, after a specific comment on the online document is displayed, it may be determined whether the comment has the first reply content and whether the current user meets a condition for automatically displaying the first reply content to the comment. For example, it is determined whether the current user is an associated user of the comment. If yes, in response to the display of the comment, the first reply content to the comment may be displayed on the document display page. For example, at least part of the content of the first reply content to the comment is displayed, or content information of the first reply content to the comment is displayed.

[0073] In some implementations, the step in which the first reply content to the comment is displayed in response to the display of the comment includes the following steps: displaying, in response to the display of the comment, content information of the first reply content in an associated area of the comment; and displaying, in response to a second reply content display operation based on the content information, a reply content window, and displaying the first reply content in the reply content window.

[0074] The content information of the first reply content may be understood as information of the first reply content. The content information of the first reply content is not limited. Exemplarily, the content information of the first reply content may include introduction information of the first reply content, summary information of the first reply content, and / or at least part of the content of the first reply content. The second reply content display operation may be a trigger operation used for indicating displaying of the first reply content corresponding to the displayed content information, for example, an operation of triggering the content information or a view control displayed in association with the content information.

[0075] Exemplarily, in response to the display of the comment 20, the content information 60 of the first reply content 30 of the comment 20 may be displayed, for example, at least part of the content of the first reply content is displayed, as shown in the first diagram in FIG. 6, to prompt the user that the comment 20 has the first reply content 30; and when the second reply content display operation based on the content information 60 is received, for example, when it is detected that the current user triggers the content information 60 or the view control 61 corresponding to the content information 60, the reply content window 33 of the comment 20 is displayed, and the first reply content 30 of the comment 30 is displayed in the reply content window 33, as shown in the second diagram in FIG. 6.

[0076] In this embodiment, in response to the display of the comment information, the first reply content may be displayed to all users accessing the online document. Alternatively, in response to the display of the comment information, the first reply content may be displayed only to some users accessing the online document, for example, the first reply content to the comment is displayed only to the associated user of the comment, to avoid interference with a user who is not associated with the comment. In this case, optionally, the step in which the first reply content to the comment is displayed in response to the display of the comment includes the following step: in a case that the current user is an associated user of the comment, displaying, in response to the display of the comment, the first reply content to the comment. The associated user of the comment may be understood as a user associated with the comment, for example, the owner of the online document, the user who edits the document content for which the comment is made, the user who sends the comment, a historical reply user of the comment, and / or the user mentioned (for example, @) in the comment.

[0077] S203: In response to a first reply content display operation for the comment, display the first reply content to the comment, and then perform S204.

[0078] The first reply content display operation may be understood as a trigger operation used for indicating generation and display of the first reply content to the comment. An execution manner of the first reply content display operation is not limited. Exemplarily, the first reply content display operation may include an operation of triggering a reply content display control corresponding to the comment, or an operation of performing a reply content display gesture corresponding to the comment.

[0079] In this embodiment, after the comment on the online document is displayed, the first reply content to the comment may not be automatically displayed, but the first reply content to the comment may be displayed after receiving the first reply content display operation of the user for the comment, to improve the practicality of the displayed first reply content, and avoid a case where the first reply content to the comment is displayed when it is not necessary.

[0080] Exemplarily, when the first reply content display operation for a specific comment is received, for example, when it is detected that the current user triggers a reference content acquisition control corresponding to the comment, the first reply content to the comment may be displayed.

[0081] In some implementations, in response to the first reply content display operation, reply content acquisition information (such as prompt information prompt) of the comment may be automatically generated, and the first reply content to the comment information is obtained based on the reply content acquisition information, without the need for the user to input or edit the reply content acquisition information or perform another trigger operation, thereby further simplifying the operations required for obtaining the first reply content to the comment. In this case, optionally, the step in which the first reply content to the comment is displayed in response to the first reply content display operation for the comment includes the following steps: displaying, in response to the first reply content display operation for the comment, a reply content window; and generating the first reply content to the comment in the reply content window. For example, when the first reply content display operation for a specific comment is received, the reply content window of the comment may be displayed, and the first reply content to the comment may be generated in the reply content window.

[0082] In some examples, when it is detected that the current user triggers a preset control 22 corresponding to a specific comment 20, or when it is detected that the current user hovers an input indicator (such as a cursor) over a display position of the preset control 22 corresponding to the comment 20, a reply content acquisition control 70 corresponding to the comment 20 may be displayed, for example, a control list 71 of the comment 20 is displayed, and one or more controls including the reply content acquisition control 70 are displayed in the control list 71, as shown in the first diagram in FIG. 7. When it is detected that the current user triggers the reply content acquisition control 70, it may be determined that the first reply content display operation for the comment 20 is received. In response to the first reply content display operation, reply content acquisition information 34 corresponding to the comment 20 is generated based on comment content of the comment 20 and / or the document content for which the comment 20 is made, the reply content window 33 of the comment 20 is displayed, the reply content acquisition information 34 is displayed in the reply content window 33, and the first reply content 30 of the comment 20 is generated in the reply content window 33 based on the reply content acquisition information 34, as shown in the second diagram in FIG. 7.

[0083] In some implementations, after receiving the first reply content display operation, the reply content acquisition information of the comment may not be automatically generated, but the reference content of the comment is obtained based on the reply content acquisition information input and / or edited and confirmed by the user, to further improve the accuracy and practicality of the obtained reference comment.

[0084] Optionally, the step in which the first reply content to the comment is displayed in response to the first reply content display operation for the comment includes the following steps: displaying, in response to the first reply content display operation for the comment, a first reply content acquisition area; displaying first reply content acquisition information in the first reply content acquisition area, wherein the first reply content acquisition information is associated with the comment; and generating, in response to a first reply content acquisition operation based on the first reply content acquisition information, the first reply content corresponding to the first reply content acquisition information in a reply content window.

[0085] The first reply content acquisition area may be understood as a reply content acquisition area displayed in response to the first reply content display operation. The first reply content acquisition area may be an area for acquiring reply content acquisition information of the comment. The first reply content acquisition information may be reply content acquisition information acquired based on the first reply content acquisition area. The first reply content acquisition operation may be a trigger operation used for indicating that the first reply content to the comment is obtained based on the first reply content acquisition information, for example, an operation of triggering a sending control corresponding to the first reply content acquisition information.

[0086] Exemplarily, when the first reply content display operation for the comment is received, the first reply content acquisition area may be displayed in response to the first reply content display operation. For example, the first reply content acquisition area of the comment is displayed within or outside the reply content window of the comment. After the first reply content acquisition area is displayed, the first reply content acquisition information may be displayed in the first reply content acquisition area. In addition, when it is detected that the current user performs the first reply content acquisition operation based on the first reply content acquisition information displayed in the first reply content acquisition area, for example, when it is detected that the current user triggers the sending control corresponding to the first reply content acquisition area, the first reply content acquisition information is displayed in the reply content window of the comment, and reply content for the first reply content acquisition information is generated in the reply content window based on the first reply content acquisition information, and used as the first reply content to the comment.

[0087] In the foregoing implementation, the first reply content acquisition information may be automatically generated. For example, after displaying, in response to the first reply content display operation, the first reply content acquisition area, the first reply content acquisition information is automatically generated in the first reply content acquisition area based on comment content of the comment and / or the document content corresponding to the comment, to further simplify the operations that the user needs to perform. In this case, optionally, the step of displaying the first reply content acquisition information in the first reply content acquisition area includes the following step: generating the first reply content acquisition information in the first reply content acquisition area based on the comment and the document content corresponding to the comment. It may be understood that after generating the first reply content acquisition information in the first reply content acquisition area, the user may be supported to continue editing the generated first reply content acquisition information as needed.

[0088] In the foregoing implementation, the first reply content acquisition information may also be input by the user, instead of being automatically generated. For example, after displaying, in response to the first reply content display operation, the first reply content acquisition area, the first reply content acquisition information is not automatically generated in the first reply content acquisition area, but when the first acquisition information input operation is received, for example, when a character input operation for the first reply content acquisition area is received, the first reply content acquisition information is input into the first reply content acquisition area in response to the first acquisition information input operation, to further improve the practicality of the input first reply content acquisition information. In this case, optionally, the step of displaying the first reply content acquisition information in the first reply content acquisition area includes the following step: inputting, in response to a first acquisition information input operation, the first reply content acquisition information into the first reply content acquisition area. The first acquisition information input operation may be an operation of inputting reply content acquisition information into the first reply content acquisition area, for example, a character input operation for the first reply content acquisition area.

[0089] In some implementations, after generating the first reply content to the comment based on the first reply content acquisition information, the user may also be supported to continue to ask questions based on the reply content acquisition window of the comment, and the first reply content to the comment is re-obtained, to further enrich the generation manner of the first reply content.

[0090] Optionally, the comment reply method may further include the following steps: inputting, in response to a second acquisition information input operation, second reply content acquisition information into a second reply content acquisition area of the reply content window; and generating, in response to a second reply content acquisition operation based on the second reply content acquisition information, the first reply content corresponding to the second reply content acquisition information in the reply content window.

[0091] The second reply content acquisition area may be understood as a reply content acquisition area displayed in the reply content acquisition window after displaying the first reply content, and may be used for re-obtaining the first reply content to the comment. The second reply content acquisition information may be reply content acquisition information acquired based on the second reply content acquisition area. The second acquisition information input operation may be an operation of inputting reply content acquisition information into the second reply content acquisition area, for example, a character input operation for the second reply content acquisition area.

[0092] Exemplarily, as shown in FIG. 3, the second reply content acquisition area 35 may be displayed in the reply content window 33. Therefore, when the acquisition information input operation (that is, the second acquisition information input operation) for the second reply content acquisition area 35 is received, the information input by the current user may be displayed in the second reply content acquisition area 35; and when the second reply content acquisition operation is received, for example, when it is detected that the current user triggers the sending control corresponding to the second reply content acquisition area 35, the content input in the second reply content acquisition area 35 may be obtained as the second reply content acquisition information, and reply content corresponding to the second reply content acquisition information is generated in the reply content window 33 and used as the first reply content to the comment 20.

[0093] In addition, with continued reference to FIG. 3, reference content information and / or at least one feedback control of the currently displayed first reply content 30 may also be displayed in the reply content window 33, for example, identification information of the reference content on which the first reply content 30 is based, a first feedback control 36, and a second feedback control 37 are displayed. The first feedback control 36 may be used by the user to provide first feedback for the currently displayed first reply content 30, for example, to feedback that the user is satisfied with the currently displayed first reply content 30. The second feedback control 37 may be used by the user to provide second feedback for the currently displayed first reply content 30, for example, to feedback that the user is not satisfied with the currently displayed first reply content 30.

[0094] S204: Display, in response to a reply operation for the comment, the first reply content to the comment.

[0095] The reply operation for the comment may be a trigger operation used for indicating replying to the comment. An execution manner of the reply operation is not limited. Exemplarily, the reply operation may include a trigger operation acted on a reply control of the comment, an operation of moving an input indicator (such as an input cursor) to a reply content input area of the comment, and / or an operation of focusing on a display area of the comment.

[0096] In this embodiment, when it is detected that the user needs to reply to the comment, the first reply content to the comment may be generated and displayed, to facilitate the user to reply to the comment with reference to the first reply content, thereby reducing the difficulty for the user to reply to the comment.

[0097] Exemplarily, when the reply operation for the comment displayed on the document display page is received, the first reply content to the comment may be displayed in response to the reply operation. For example, when it is detected that the user triggers (for example, clicks) the reply control corresponding to a specific comment on the document display page, when it is detected that the input cursor of the user is moved into the reply content input area (for example, a reply box) of a specific comment, or when it is detected that the user focuses on a specific comment displayed on the document display page, the first reply content to the comment may be displayed, to facilitate the user to reply to the comment with reference to the first reply content.

[0098] S205: In response to obtaining the second reply content to the comment, display the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0099] According to the comment reply method provided in this embodiment, the first reply content to the comment is supported to be displayed automatically or based on the reply content display operation of the user. This may further enrich the display manner of the first reply content to the comment, to satisfy different viewing requirements of the user for the first reply content.

[0100] FIG. 8 is a block diagram of a comment reply apparatus according to an embodiment of the present disclosure. The apparatus may be implemented in software and / or hardware, may be configured in an electronic device, and typically may be configured in a computer, a mobile phone, or a tablet computer. The apparatus may perform the comment reply method to assist in replying to a comment in an online document by reply content generated based on at least one reference content. As shown in FIG. 8, the comment reply apparatus provided in this embodiment may include a comment display module 801, a first reply content display module 802, and a second reply content display module 803.

[0101] The comment display module 801 is configured to display a comment on an online document on a document display page.

[0102] The first reply content display module 802 is configured to display first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment.

[0103] The second reply content display module 803 is configured to: display, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0104] According to the comment reply apparatus provided in this embodiment, the comment on the online document is displayed on the document display page by the comment display module; the first reply content to the comment is displayed by the first reply content display module, wherein the first reply content is generated based on at least one reference content, and the first reply content is used as a reference to reply to the comment; and in response to obtaining the second reply content to the comment, the second reply content is displayed on the document display page by the second reply content display module, wherein the second reply content is generated based on the first reply content. According to the technical solution described above, in this embodiment, the first reply content to the comment is generated based on at least one reference content, and the user is assisted by the first reply content to reply to the comment. This may reduce the difficulty of replying to the comment in the online document, reduce the time required for replying to the comment in the online document, and improve the efficiency of replying to the comment in the online document.

[0105] Optionally, the first reply content display module 802 includes at least one of the following units: a first display unit, a second display unit, and a third display unit. The first display unit is configured to display, in response to the display of the comment, the first reply content to the comment. The second display unit is configured to display, in response to a first reply content display operation for the comment, the first reply content to the comment. The third display unit is configured to display, in response to a reply operation for the comment, the first reply content to the comment.

[0106] Optionally, the first display unit may be further configured to: display, in response to the display of the comment, content information of the first reply content in an associated area of the comment; and display, in response to a second reply content display operation based on the content information, a reply content window, and display the first reply content in the reply content window.

[0107] Optionally, the first display unit may be further configured to: in a case that the current user is an associated user of the comment, display, in response to the display of the comment, the first reply content to the comment.

[0108] Optionally, the second display unit may be further configured to: display, in response to the first reply content display operation for the comment, a reply content window; and generate the first reply content to the comment in the reply content window.

[0109] Optionally, the second display unit may be further configured to: display, in response to the first reply content display operation for the comment, a first reply content acquisition area; display first reply content acquisition information in the first reply content acquisition area, wherein the first reply content acquisition information is associated with the comment; and generate, in response to a first reply content acquisition operation based on the first reply content acquisition information, the first reply content corresponding to the first reply content acquisition information in a reply content window.

[0110] Optionally, the second display unit may be further configured to: generate the first reply content acquisition information in the first reply content acquisition area based on the comment and the document content corresponding to the comment; and / or input, in response to a first acquisition information input operation, the first reply content acquisition information into the first reply content acquisition area.

[0111] Further, the comment reply apparatus may further include an information input module and a content generation module. The information input module is configured to: input, in response to a second acquisition information input operation, second reply content acquisition information into a second reply content acquisition area of the reply content window. The content generation module is configured to: generate, in response to a second reply content acquisition operation based on the second reply content acquisition information, the first reply content corresponding to the second reply content acquisition information in the reply content window.

[0112] Further, the comment reply apparatus may further include a content input module and a content sending module. The content input module is configured to: after displaying the first reply content to the comment, input, in response to a reply content input operation based on the first reply content, at least part of content of the first reply content into a reply content input area of the comment. The content sending module is configured to: send, in response to a content sending operation based on the reply content input area, content input in the reply content input area as the second reply content to the comment.

[0113] Optionally, the comment is in an unresolved state, and the comment reply apparatus may further include a disable display module. The disable display module is configured to: disabling, in response to a comment state of the comment switching from the unresolved state to a resolved state, the display of the first reply content to the comment.

[0114] The comment reply apparatus provided in this embodiment of the present disclosure may perform the comment reply method provided in any embodiment of the present disclosure, and has function modules and beneficial effects corresponding to the execution of the comment reply method. For the technical details not described in detail in this embodiment, reference may be made to the comment reply method provided in any embodiment of the present disclosure.

[0115] Reference is made to FIG. 9 below, which illustrates a schematic diagram of a structure of an electronic device (for example, a terminal device) 900 suitable for implementing the embodiments of the present disclosure. The terminal device in this embodiment of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a portable multimedia player (PMP), and a vehicle-mounted terminal (for example, a vehicle navigation terminal), and a fixed terminal such as a digital TV and a desktop computer. The electronic device shown in FIG. 9 is merely an example, and shall not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

[0116] As shown in FIG. 9, the electronic device 900 may include a processing apparatus (for example, a central processing unit, and a graphics processor) 901, which may perform various appropriate actions and processing based on a program stored in a read-only memory (ROM) 902 or a program loaded from a storage apparatus 908 into a random access memory (RAM) 903. The RAM 903 further stores various programs and data required for operations of the electronic device 900. The processing apparatus 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0117] Usually, the following apparatuses may be connected to the I / O interface 905: an input apparatus 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, and a gyroscope; an output apparatus 907 including, for example, a liquid crystal display (LCD), a speaker, and a vibrator; the storage apparatus 908 including, for example, a magnetic tape and a hard disk; and a communication apparatus 909. The communication apparatus 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data. Although FIG. 9 shows the electronic device 900 having various apparatuses, it should be understood that it is not required to implement or have all the apparatuses shown. More or fewer apparatuses may be implemented or provided alternatively.

[0118] In particular, according to the embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, this embodiment of the present disclosure includes a computer program product. The computer program product includes a computer program carried in a non-transitory computer-readable medium. The computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded from a network and installed through the communication apparatus 909, or may be installed from the storage apparatus 908, or may be installed from the ROM 902. When the computer program is executed by the processing apparatus 901, the foregoing functions defined in the method in this embodiment of the present disclosure are performed.

[0119] It should be noted that the foregoing computer-readable medium in the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. The computer-readable storage medium may be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium may be any tangible medium that includes or stores a program, and the program may be used by or used in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium may include a data signal propagated on a baseband or as a part of a carrier, and computer-readable program code is carried in the data signal. The data signal propagated in this manner may be in a plurality of forms, and includes but is not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program used by or in combination with an instruction execution system, apparatus, or device. The program code included in the computer-readable medium may be transmitted in any suitable medium, including but not limited to a wire, an optical cable, a radio frequency (RF), or any suitable combination thereof.

[0120] In some implementations, a client and a server may communicate using any currently known or future developed network protocol, such as the hypertext transfer protocol (HTTP), and may be interconnected with any form or medium of digital data communication (for example, a communication network). Examples of the communication network include a local area network ("LAN"), a wide area network ("WAN"), an internet (for example, the Internet), a peer-to-peer network (for example, an Ad-Hoc network), and any network currently known or to be developed in the future.

[0121] The computer-readable medium may be included in the electronic device, or may exist alone without being assembled into the electronic device.

[0122] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device displays a comment on an online document on a document display page; displays first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and displays, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0123] Computer program code for performing the operations in the present disclosure may be written in one or more programming languages or a combination thereof, wherein the programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, and C++, and further include conventional procedural programming languages such as C or similar programming languages. The program code may be completely executed on a computer of a user, partially executed on a computer of a user, executed as an independent software package, partially executed on a computer of a user and partially executed on a remote computer, or completely executed on a remote computer or a server. In the case involving the remote computer, the remote computer may be connected to the computer of the user through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, through the Internet with the aid of an Internet service provider).

[0124] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, a program segment, or a portion of code that includes one or more executable instructions for implementing a specified logical function. Furthermore, it should be noted that, in some alternative implementations, functions indicated in the blocks may occur in an order different from that indicated in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in a reverse order, depending upon the functionality involved. It also should be noted that each block of the block diagrams and / or flowcharts, or a combination of blocks in the block diagrams and / or flowcharts may be implemented in a special purpose hardware-based system that perform a specified function or operation, or may be implemented in a combination of special purpose hardware and a computer instruction.

[0125] The involved units described in the embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The name of a module does not constitute a limitation on the module itself under certain circumstances.

[0126] The foregoing functions described herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on chip (SOC), a complex programmable logical device (CPLD), etc.

[0127] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may include or store a program for use by or in combination with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of the machine-readable storage medium may include an electrical connection with one or more wires, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0128] According to one or more embodiments of the present disclosure, Example 1 provides a comment reply method, including:

[0129] displaying a comment on an online document on a document display page;

[0130] displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and

[0131] displaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0132] According to one or more embodiments of the present disclosure, Example 2 is the method according to Example 1, wherein displaying the first reply content to the comment includes at least one of the following operations:

[0133] displaying, in response to the display of the comment, the first reply content to the comment;

[0134] displaying, in response to a first reply content display operation for the comment, the first reply content to the comment; or

[0135] displaying, in response to a reply operation for the comment, the first reply content to the comment.

[0136] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2, wherein displaying, in response to the display of the comment, the first reply content to the comment includes:

[0137] displaying, in response to the display of the comment, content information of the first reply content in an associated area of the comment; and

[0138] displaying, in response to a second reply content display operation based on the content information, a reply content window, and displaying the first reply content in the reply content window.

[0139] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 2, wherein displaying, in response to the display of the comment, the first reply content to the comment includes:

[0140] when a current user is an associated user of the comment, displaying, in response to the display of the comment, the first reply content to the comment.

[0141] According to one or more embodiments of the present disclosure, Example 5 is the method according to Example 2, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment includes:

[0142] displaying, in response to the first reply content display operation for the comment, a reply content window; and

[0143] generating the first reply content to the comment in the reply content window.

[0144] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 2, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment includes:

[0145] displaying, in response to the first reply content display operation for the comment, a first reply content acquisition area;

[0146] displaying first reply content acquisition information in the first reply content acquisition area, wherein the first reply content acquisition information is associated with the comment; and

[0147] generating, in response to a first reply content acquisition operation based on the first reply content acquisition information, the first reply content corresponding to the first reply content acquisition information in a reply content window.

[0148] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, wherein displaying the first reply content acquisition information in the first reply content acquisition area includes:

[0149] generating the first reply content acquisition information in the first reply content acquisition area based on the comment and document content corresponding to the comment; and / or

[0150] inputting, in response to a first acquisition information input operation, the first reply content acquisition information into the first reply content acquisition area.

[0151] According to one or more embodiments of the present disclosure, Example 8 is the method according to any one of Examples 3 to 7, and the method further includes:

[0152] inputting, in response to a second acquisition information input operation, second reply content acquisition information into a second reply content acquisition area of the reply content window; and

[0153] generating, in response to a second reply content acquisition operation based on the second reply content acquisition information, the first reply content corresponding to the second reply content acquisition information in the reply content window.

[0154] According to one or more embodiments of the present disclosure, Example 9 is the method according to any one of Examples 1 to 7, and the method further includes, after displaying the first reply content to the comment:

[0155] inputting, in response to a reply content input operation based on the first reply content, at least part of content of the first reply content into a reply content input area of the comment; and

[0156] sending, in response to a content sending operation based on the reply content input area, content input in the reply content input area as the second reply content to the comment.

[0157] According to one or more embodiments of the present disclosure, Example 10 is the method according to any one of Examples 1 to 7, the comment is in an unresolved state, and the method further includes:

[0158] disabling, in response to a comment state of the comment switching from the unresolved state to a resolved state, the display of the first reply content to the comment.

[0159] According to one or more embodiments of the present disclosure, Example 11 provides a comment reply apparatus, including:

[0160] a comment display module, configured to display a comment on an online document on a document display page;

[0161] a first reply content display module, configured to display first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; and

[0162] a second reply content display module, configured to: display, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

[0163] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, including:

[0164] one or more processors; and

[0165] a memory, configured to store one or more programs,

[0166] where when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the video playing control method according to any one of Examples 1 to 10.

[0167] According to one or more embodiments of the present disclosure, Example 13 provides a computer-readable storage medium, having a computer program stored thereon, wherein when the computer program is executed by a processor, the video playing control method according to any one of Examples 1 to 10 is implemented.

[0168] According to one or more embodiments of the present disclosure, Example 14 provides a computer program product, wherein when the computer program product is executed by a computer, the computer is enabled to implement the dependency determination method according to any one of Examples 1 to 10.

[0169] The foregoing description illustrates merely preferred embodiments of the present disclosure and explanations of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by specific combinations of the above technical features, and shall also cover other technical solutions formed by any combination of the above technical features or equivalent features thereof without departing from the foregoing concept of disclosure. For example, a technical solution formed by a replacement of the above features with technical features with similar functions disclosed in the present disclosure (but not limited thereto) also falls within the scope of the present disclosure.

[0170] In addition, although the various operations are depicted in a specific order, it should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under specific circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the foregoing discussions, these details should not be construed as limiting the scope of the present disclosure. Some features described in the context of separate embodiments may alternatively be implemented in a single embodiment in combination. In contrast, various features described in the context of a single embodiment may alternatively be implemented in a plurality of embodiments individually or in any suitable subcombination.

[0171] Although the subject matter has been described in a language specific to structural features and / or logical actions of the method, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. In contrast, the specific features and actions described above are merely exemplary forms for implementing the claims.

Claims

1. A comment reply method, comprising:displaying a comment on an online document on a document display page;displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; anddisplaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

2. The method of claim 1, wherein displaying the first reply content to the comment comprises at least one of:displaying, in response to the display of the comment, the first reply content to the comment;displaying, in response to a first reply content display operation for the comment, the first reply content to the comment; ordisplaying, in response to a reply operation for the comment, the first reply content to the comment.

3. The method of claim 2, wherein displaying, in response to the display of the comment, the first reply content to the comment comprises:displaying, in response to the display of the comment, content information of the first reply content in an associated area of the comment; anddisplaying, in response to a second reply content display operation based on the content information, a reply content window, and displaying the first reply content in the reply content window.

4. The method of claim 2, wherein displaying, in response to the display of the comment, the first reply content to the comment comprises:in a case that a current user is an associated user of the comment, displaying, in response to the display of the comment, the first reply content to the comment.

5. The method of claim 2, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment comprises:displaying, in response to the first reply content display operation for the comment, a reply content window; andgenerating the first reply content to the comment in the reply content window.

6. The method of claim 2, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment comprises:displaying, in response to the first reply content display operation for the comment, a first reply content acquisition area;displaying first reply content acquisition information in the first reply content acquisition area, wherein the first reply content acquisition information is associated with the comment; andgenerating, in response to a first reply content acquisition operation based on the first reply content acquisition information, the first reply content corresponding to the first reply content acquisition information in a reply content window.

7. The method of claim 6, wherein displaying the first reply content acquisition information in the first reply content acquisition area comprises:generating the first reply content acquisition information in the first reply content acquisition area based on the comment and document content corresponding to the comment; and / orinputting, in response to a first acquisition information input operation, the first reply content acquisition information into the first reply content acquisition area.

8. The method of claim 3, further comprising:inputting, in response to a second acquisition information input operation, second reply content acquisition information into a second reply content acquisition area of the reply content window; andgenerating, in response to a second reply content acquisition operation based on the second reply content acquisition information, the first reply content corresponding to the second reply content acquisition information in the reply content window.

9. The method of claim 1, wherein the method further comprises, after displaying the first reply content to the comment:inputting, in response to a reply content input operation based on the first reply content, at least part of content of the first reply content into a reply content input area of the comment; andsending, in response to a content sending operation based on the reply content input area, content input in the reply content input area as the second reply content to the comment.

10. The method of claim 1, wherein the comment is in an unresolved state, and the method further comprises:disabling, in response to a comment state of the comment switching from the unresolved state to a resolved state, the display of the first reply content to the comment.

11. An electronic device, comprising:at least one processor; anda memory communicatively connected with the at least one processor,wherein the memory stores a computer program executable by the at least one processor, and the computer program, when executed by the at least one processor, enables the at least one processor to perform a comment reply method comprising:displaying a comment on an online document on a document display page;displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; anddisplaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.

12. The electronic device of claim 11, wherein displaying the first reply content to the comment comprises at least one of:displaying, in response to the display of the comment, the first reply content to the comment;displaying, in response to a first reply content display operation for the comment, the first reply content to the comment; ordisplaying, in response to a reply operation for the comment, the first reply content to the comment.

13. The electronic device of claim 12, wherein displaying, in response to the display of the comment, the first reply content to the comment comprises:displaying, in response to the display of the comment, content information of the first reply content in an associated area of the comment; anddisplaying, in response to a second reply content display operation based on the content information, a reply content window, and displaying the first reply content in the reply content window.

14. The electronic device of claim 12, wherein displaying, in response to the display of the comment, the first reply content to the comment comprises:in a case that a current user is an associated user of the comment, displaying, in response to the display of the comment, the first reply content to the comment.

15. The electronic device of claim 12, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment comprises:displaying, in response to the first reply content display operation for the comment, a reply content window; andgenerating the first reply content to the comment in the reply content window.

16. The electronic device of claim 12, wherein displaying, in response to the first reply content display operation for the comment, the first reply content to the comment comprises:displaying, in response to the first reply content display operation for the comment, a first reply content acquisition area;displaying first reply content acquisition information in the first reply content acquisition area, wherein the first reply content acquisition information is associated with the comment; andgenerating, in response to a first reply content acquisition operation based on the first reply content acquisition information, the first reply content corresponding to the first reply content acquisition information in a reply content window.

17. The electronic device of claim 16, wherein displaying the first reply content acquisition information in the first reply content acquisition area comprises:generating the first reply content acquisition information in the first reply content acquisition area based on the comment and document content corresponding to the comment; and / orinputting, in response to a first acquisition information input operation, the first reply content acquisition information into the first reply content acquisition area.

18. The electronic device of claim 13, wherein the method further comprises:inputting, in response to a second acquisition information input operation, second reply content acquisition information into a second reply content acquisition area of the reply content window; andgenerating, in response to a second reply content acquisition operation based on the second reply content acquisition information, the first reply content corresponding to the second reply content acquisition information in the reply content window.

19. The electronic device of claim 11, wherein the method further comprises, after displaying the first reply content to the comment:inputting, in response to a reply content input operation based on the first reply content, at least part of content of the first reply content into a reply content input area of the comment; andsending, in response to a content sending operation based on the reply content input area, content input in the reply content input area as the second reply content to the comment.

20. A non-transitory computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions, when executed by a processor, implement a comment reply method comprising:displaying a comment on an online document on a document display page;displaying first reply content to the comment, wherein the first reply content is generated based on at least one reference content, and the first reply content is used for replying to the comment; anddisplaying, in response to obtaining second reply content to the comment, the second reply content on the document display page, wherein the second reply content is generated based on the first reply content.