IP Library Granted Patent US 12,493,736
Granted Patent B2
US 12,493,736 · App. 17/798,043 · Granted Dec 9, 2025

Method and device for processing document and method and device for processing page

Inventors: Yiyu Hu (Zhejiang, CN); Renquan Wang (Zhejiang, CN)
Assignee: Dingtalk Holding (Cayman) Limited
G06F40/169G06F3/0483G06F3/04883G06T11/203G06T11/60H04L51/046H04L51/18
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 12,493,736
App. No.
17/798,043
Granted
Dec 9, 2025
Kind
B2
Abstract

Method and device for processing document and method and device for processing page. The method may comprise: displaying a target document on a display interface ( 101 ); detecting an operation, which is executed by a user on the display interface, for drawing a specific shape, and obtaining a target area corresponding to the specific shape ( 102 ); obtaining an annotation content entered by the user for target content corresponding to the target area ( 103 ); and updating and displaying the target document based on an association relationship between the target content and the annotation content, so that the target document displayed on the display interface includes the annotation content associated with the target content ( 104 ). Therefore, the document annotation efficiency is improved.

Claims (73)

1 . A method for processing document, comprising:

displaying a target document on a display interface;

detecting a drawing operation of a specific shape performed by a user on the display interface, to obtain a target area corresponding to the specific shape;

obtaining an annotation content input by the user for a target content corresponding to the target area; and

updating and displaying the target document based on an association relationship between the target content and the annotation content, so that the target document displayed on the display interface includes the annotation content associated with the target content;

wherein before obtaining the annotation content input by the user for the target content corresponding to the target area, the method further comprises:

determining the target content corresponding to the target area according to at least one word enclosed by the target area;

wherein the determining the target content corresponding to the target area according to the at least one word enclosed by the target area, comprises:

determining whether the at least one word enclosed by the target area satisfies a sentence composition condition;

if the sentence composition condition is satisfied, determining that a complete sentence, in which the at least one word is located, is the target content; and

if the sentence composition condition is not satisfied, determining that the at least one word is the target content.

2 . The method of claim 1 , wherein the detecting the drawing operation of the specific shape performed by the user on the display interface, to obtain the target area corresponding to the specific shape, comprises:

detecting a drawing operation of a closed curve performed by the user on the display interface to obtain a target area corresponding to the closed curve.

3 . The method of claim 1 , wherein the detecting the drawing operation of the specific shape performed by the user on the display interface, to obtain the target area corresponding to the specific shape, comprises:

detecting a drawing operation of a non-closed curve performed by the user on the display interface to, obtain a target area corresponding to the non-closed curve.

4 . The method of claim 3 , wherein the obtaining the target area corresponding to the non-closed curve if the curve is the non-closed curve, comprises:

determining a text height of the target document displayed on the display interface if the curve is the non-closed curve; and

determining the target area according to an area formed by the text height and a straight-line distance of the non-closed curve.

5 . The method of claim 1 , further comprising:

sharing, in response to a sharing request of the user, a page link corresponding to the updated target document to a user to be receiving a sharing.

6 . The method of claim 5 , further comprising:

obtaining a document viewing request triggered, for the page link, by the user to be receiving the sharing, and outputting, for the user to be receiving the sharing, the corresponding target document including the target content and the annotation content associated with the target content.

7 . The method of claim 6 , further comprising:

sending, to a server, the target document, which has been stored, including the target content and the annotation content associated with the target content, so as to enable the server to output, for the user to be receiving the sharing, the corresponding target document including the target content and the annotation content associated with the target content in a case where a document viewing request triggered by the user to be receiving the sharing is detected by the server.

8 . The method of claim 1 , wherein the obtaining the annotation content input by the user for the target content corresponding to the target area, comprises:

displaying, on the display interface, an annotation input sub-page for the target content corresponding to the target area; and

obtaining the annotation content input by the user on the annotation input sub-page.

9 . The method of claim 8 , wherein the obtaining the annotation content input by the user on the annotation input sub-page, comprises:

detecting a target text input by the user in a text input control of the annotation input sub-page; and

determining that the target text is the annotation content,

wherein the obtaining the annotation content input by the user on the annotation input sub-page, comprises:

detecting a triggering operation of the user for a voice input control on the annotation input sub-page, and switching to a voice collection state to collect a voice signal sent by the user; and

determining the annotation content according to the voice signal.

10 . The method of claim 1 , wherein the displaying the target document on the display interface, comprises:

obtaining a historical target content of the target document and an annotation content associated with the historical target content;

generating a display page of the target document including the annotation content associated with the historical target content according to a display parameter of the display interface and a typesetting rule of the target document; and

displaying the display page of the target document on the display interface.

11 . The method of claim 10 , wherein after updating the target document based on the association relationship between the target content and the annotation content so that the target document includes the annotation content associated with the target content, the method further comprises:

updating the display page of the target document including the annotation content corresponding to the target content according to the display parameter of the display interface and the typesetting rule of the target document.

12 . The method of claim 1 , wherein after detecting the drawing operation of the specific shape performed by the user on the display interface to obtain the target area corresponding to the specific shape, the method further comprises:

sending the target area to a server terminal, so as to enable the server terminal to determine the target area and the target content corresponding to the target area on the display interface; and

after obtaining the annotation content input by the user for the target content corresponding to the target area, the method further comprises:

sending the annotation content of the target content to the server terminal, so as to enable the server terminal to establish the association relationship between the target content and the annotation content and to update and store the target document based on the association relationship between the target content and the annotation content so that the target document includes the annotation content associated with the target content.

13 . The method of claim 1 , wherein the updating and displaying the target document based on the association relationship between the target content and the annotation content, so that the target document of the display interface includes the annotation content associated with the target content, comprises:

establishing a connection line for the target area and the annotation content associated with the target content; and

displaying, on the display interface, based on the association relationship between the target content and the annotation content, the target document corresponding to the target area and the annotation content associated with the target content which are connected using the connection line.

14 . A method for processing page, comprising:

displaying an instant messaging page on a display interface, wherein the instant messaging page includes at least one communication message;

detecting a drawing operation of a specific shape performed by a user on the display interface, to obtain a target area corresponding to the specific shape;

obtaining a message processing operation performed by the user for a target communication message corresponding to the target area; and

performing the message processing operation on the target communication message based on an association relationship between the target communication message and the message processing operation;

wherein before obtaining the message processing operation performed by the user for the target communication message corresponding to the target area, the method further comprises:

determining the target communication message corresponding to the target area according to at least one word enclosed by the target area;

wherein the determining the target communication message corresponding to the target area according to the at least one word enclosed by the target area, comprises:

determining whether the at least one word enclosed by the target area satisfies a sentence composition condition;

if the sentence composition condition is satisfied, determining that a complete sentence, in which the at least one word is located, is the target communication message; and

if the sentence composition condition is not satisfied, determining that the at least one word is the target communication message.

15 . The method of claim 14 , wherein the obtaining the message processing operation performed by the user for the target communication message corresponding to the target area, comprises:

obtaining an annotation content input by the user for the target communication message corresponding to the target area; and

the performing the message processing operation on the target communication message based on the association relationship between the target communication message and the message processing operation, comprises:

updating and displaying the instant messaging page based on an association relationship between the target communication message and the annotation content, so as to display, on the display interface, the annotation content corresponding to the target communication message displayed.

16 . A device for processing page, comprising: a storage component and a processing component, wherein the storage component is configured to store one or more computer instructions used to be called by the processing component; and

the processing component is configured to:

display an instant messaging page on a display interface, wherein the instant messaging page includes at least one communication message; detect a drawing operation of a specific shape performed by a user on the display interface to obtain a target area corresponding to the specific shape; obtain a message processing operation performed by the user for a target communication message corresponding to the target area; and performing the message processing operation on the target communication message based on an association relationship between the target communication message and the message processing operation;

wherein the processing component is further configured to: before obtain the message processing operation performed by the user for the target communication message corresponding to the target area, determine the target communication message corresponding to the target area according to at least one word enclosed by the target area;

wherein the processing component is further configured to:

determine whether the at least one word enclosed by the target area satisfies a sentence composition condition;

if the sentence composition condition is satisfied, determining that a complete sentence, in which the at least one word is located, is the target communication message; and

if the sentence composition condition is not satisfied, determining that the at least one word is the target communication message.

17 . The method of claim 6 , wherein the detecting the drawing operation of the specific shape performed by the user on the display interface, to obtain the target area corresponding to the specific shape, comprises:

detecting a drawing operation of a closed curve performed by the user on the display interface to obtain a target area corresponding to the closed curve.

18 . The method of claim 6 , wherein the detecting the drawing operation of the specific shape performed by the user on the display interface, to obtain the target area corresponding to the specific shape, comprises:

detecting a drawing operation of a non-closed curve performed by the user on the display interface to, obtain a target area corresponding to the non-closed curve.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2022
From: HU, YIYU; WANG, RENQUAN
To: DINGTALK HOLDING (CAYMAN) LIMITED
Reel/Frame 060740/0236 →
Priority Claims (1)
CN 202010085538.2 · Feb 8, 2020 · national
Continuity (1)
Related Publication 20230115459A1 · Apr 13, 2023
References Cited (33)
US 6289140B1 · Oliver · 2001 [cited by examiner]
US 9256588B1 · Moscovich · 2016 [cited by examiner]
US 9684645B2 · Beavers · 2017 [cited by examiner]
US 9899038B2 · Khaleghi · 2018 [cited by examiner]
US 9927963B2 · Wilson · 2018 [cited by examiner]
US 10235998B1 · Khaleghi · 2019 [cited by examiner]
US 10296170B2 · Kurita · 2019 [cited by examiner]
US 10684772B2 · Murakawa · 2020 [cited by examiner]
US 11115695B2 · Lewis · 2021 [cited by examiner]
US 11455460B2 · Tao · 2022 [cited by examiner]
US 11893048B1 · Penfield · 2024 [cited by examiner]
US 12314655B2 · Zhang · 2025 [cited by examiner]
US 20020078088A1 · Kuruoglu et al. · 2002 [cited by applicant]
US 20020111966A1 · Fukuda et al. · 2002 [cited by applicant]
US 20110175855A1 · Youn · 2011 [cited by examiner]
US 20140006921A1 · Gopinath · 2014 [cited by examiner]
US 20140237540A1 · King · 2014 [cited by examiner]
US 20180204065A1 · Pavetic · 2018 [cited by examiner]
US 20180247156A1 · Holtham · 2018 [cited by examiner]
US 20190026258A1 · Sood · 2019 [cited by examiner]
US 20190392363A1 · Kohli · 2019 [cited by examiner]
US 20210073324A1 · Gupta · 2021 [cited by examiner]
US 20230115459A1 · Hu · 2023 [cited by examiner]
US 20240111396A1 · Vandivere · 2024 [cited by examiner]
US 20250103874A1 · Kurdelski · 2025 [cited by examiner]
CN 1658137A · 2005 [cited by applicant]
CN 101206640A · 2008 [cited by applicant]
CN 104462039A · 2015 [cited by applicant]
CN 105379238A · 2016 [cited by applicant]
CN 10563608A · 2016 [cited by applicant]
CN 105630952A · 2016 [cited by applicant]
EP 1101168A1 · 2001 [cited by applicant]
English translation of the International Search Report and Written Opinion by the International Searching Authority for PCT Application No. PCT/CN2021/075228, Apr. 23, 2021, 7 pages. [cited by applicant]