IP Library Granted Patent US 12670314
Granted Patent B2
US 12670314 · App. 18/287,135 · Granted Jun 30, 2026

Interaction method and apparatus, and electronic device for displaying a document and comments within another document

Inventors: Wei Chen (Beijing, CN); Baofa Li (Beijing, CN)
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
G06F40/169G06F3/0481G06F40/106
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12670314
App. No.
18/287,135
Granted
Jun 30, 2026
Kind
B2
Abstract

An interaction method, an electronic device, and a computer-readable medium are provided. The method includes: determining a first selected object in response to reception of a first selection operation in a content area of a first document, where the content area is configured to display content of a second document displayed in the first document; and displaying response information in response to a response operation for the first selected object.

Claims (65)

1 . An interaction method, comprising:

displaying a first document, wherein the first document comprises an area containing a of link to a second document;

expanding the area containing the link to the second document into a preview window and displaying content of the second document in the preview window in response to receiving an operation performed on the link to the second document;

receiving a selection of a portion of the content of the second document displayed in the preview window;

receiving at least one comment on the portion of the content of the second document and an identifier of an account via a feedback window displayed in the first document;

switching the preview window back to the area containing the link to the second document in response to receiving user input;

displaying the at least one comment in the first document adjacent to the area containing the of link to the second document; and

sending the second document, the at least one comment, and information indicating a position of the portion of the content in the second document to a device corresponding to the identifier of the account received via the feedback window.

2 . The method according to claim 1 , further comprising:

presenting object prompt information corresponding to the portion of the content in the second document, wherein the object prompt information is used to indicate a selected object presented in the preview window.

3 . The method according to claim 1 , wherein the displaying the at least one comment comprises:

displaying, in response to receiving the at least one comment via the feedback window, the at least one comment in a first response area corresponding to the portion of the content in the second document.

4 . The method according to claim 1 , wherein the displaying the at least one comment comprises:

determining, in response to receiving the at least one comment via the feedback window, a presentation position of the at least one comment according to a presentation area of the second document; and

presenting the at least one comment at the presentation position.

5 . The method according to claim 4 , wherein the determining a presentation position of the at least one comment according to a presentation area of the second document comprises:

in response to detecting that the second document is presented in the preview window, determining to present the at least one comment in a display interface corresponding to the first document; and

in response to detecting that the second document is presented in the display interface, determining to present the at least one comment in the display interface.

6 . The method according to claim 1 , further comprising:

determining the position information of the portion of the content in the second document, wherein

the account comprises at least one of following accounts:

an account that creates the first document and an account that edits the second document.

7 . The method according to claim 6 , wherein the device corresponding to the identifier of the account presents the at least one comment, and presents the portion of the content in the second document according to the received position information.

8 . The method according to claim 1 , further comprising: adjusting a correspondence between the at least one comment and the second document in response to reception of a switching operation for the content area.

9 . The method according to claim 8 , wherein the adjusting a correspondence between the at least one comment and the second document in response to reception of a switching operation for the content area comprises:

adjusting a response object of the at least one comment from the portion of the content in the second document to the second document in response to content displayed in the preview window being switched from first content to second content, wherein the first content comprises text content, and the second content comprises title content.

10 . The method according to claim 8 , wherein the adjusting a correspondence between the at least one comment and the second document in response to reception of a switching operation for the content area comprises:

adjusting a response object of the at least one comment from the second document to the portion of the content in the second document in response to content displayed in the preview window being switched from second content to first content, wherein the first content comprises text content, and the second content comprises title content.

11 . The method according to claim 1 , wherein the method further comprises, in response to existence of a plurality of comments:

adjusting a display area of the plurality of comments in response to reception of a switching operation for the preview window.

12 . The method according to claim 11 , wherein the adjusting a display area of the plurality of comments in response to reception of a switching operation for the preview window comprises:

displaying the plurality of comments in a same display area in response to content displayed in the comments being switched from first content to second content, wherein the first content comprises text content, and the second content comprises title content.

13 . The method according to claim 11 , wherein the adjusting a display area of the plurality of comments in response to reception of a switching operation for the preview window comprises:

displaying the plurality of comments displayed in a same display area in respective display areas in response to content displayed in the preview window being switched from second content to first content, wherein the first content comprises text content, and the second content comprises title content.

14 . The method according to claim 12 , wherein

the displaying the plurality of comments in a same display area comprises:

in response to the plurality of comments corresponding to a same selected object, displaying the selected object and the plurality of comments in the display area, and

in response to the plurality of comments corresponding to different selected objects, for each of the different selected objects, displaying the selected object and a subset of the plurality of comments corresponding to the selected object in the display area.

15 . A device, comprising:

at least one processor; and

at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the device to:

display a first document, wherein the first document comprises an area containing a of link to a second document;

expand the area containing the link to the second document into a preview window and displaying content of the second document in the preview window in response to receiving an operation performed on the link to the second document;

receive a selection of a portion of the content of the second document displayed in the preview window;

receive at least one comment on the portion of the content of the second document and an identifier of an account via a feedback window displayed in the first document;

switch the preview window back to the area containing the link to the second document in response to receiving user input;

display the at least one comment in the first document adjacent to the area containing the of link to the second document; and

send the second document, the at least one comment, and information indicating a position of the portion of the content in the second document to a device corresponding to the identifier of the account received via the feedback window.

16 . The device of claim 15 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

present object prompt information corresponding to the portion of the content in the second document, wherein the object prompt information is used to indicate a selected object presented in the preview window, or

display, in response to receiving the at least one comment via the feedback window, the at least one comment in a first response area corresponding to the portion of the content in the second document.

17 . The device of claim 15 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

determine, in response to receiving the at least one comment via the feedback window, a presentation position of the at least one comment according to a presentation area of the second document; and

present the at least one comment at the presentation position.

18 . The device of claim 17 , the at least one memory further storing instructions that upon execution by the at least one processor cause the device to:

in response to detecting that the second document is presented in the preview window, determining to present the at least one comment in a display interface corresponding to the first document; and

in response to detecting that the second document is presented in the display interface, determining to present the at least one comment in the display interface.

19 . A non-transitory computer-readable medium, bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:

display a first document, wherein the first document comprises an area containing a link to a second document;

expand the area containing the link to the second document into a preview window and displaying content of the second document in the preview window in response to receiving an operation performed on the link to the second document;

receive a selection of a portion of the content of the second document displayed in the preview window;

receive at least one comment on the portion of the content of the second document and an identifier of an account via a feedback window displayed in the first document;

switch the preview window back to the area containing the link to the second document in response to receiving user input;

display the at least one comment in the first document adjacent to the area containing the link to the second document; and

send the second document, the at least one comment, and information indicating a position of the portion of the content in the second document to a device corresponding to the identifier of the account received via the feedback window.