# US 12,216,718 B2 · Document processing method and apparatus, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,216,718 B2
- Document ID: US12216718B2
- Status: Granted
- Kind: B2
- Application number: 18/334,093
- Filed: 2023-06-13
- Published: 2023-10-12
- Granted: 2025-02-04
- Earliest claimed: 2020-12-15
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Qing Zeng
- Web page: https://patentgrep.com/patent/US12216718B2

## CPC

- G06F 16/94: {Hypermedia (Hyperlinking G06F40/134)}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/9558: {Details of hyperlinks; Management of linked annotations}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A document processing method and apparatus, and an electronic device are provided. The method comprises: determining a target document; and displaying document information of an associated document on the basis of an association relationship between the target document and the associated document, wherein the document information of the associated document comprises a first document having a first reference relationship with the target document, and/or a second document having a second reference relationship with the target document, the first reference relationship indicates that the associated document refers to the target document, and the second reference relationship indicates that the target document refers to the associated document.

## Claims

### Claim 1

A document processing method, comprising:
determining a target document;
displaying, based on an association between the target document and an associated document, document information of the associated document, wherein the document information of the associated document comprises a first document having a first reference relationship with the target document, and/or a second document having a second reference relationship with the target document; the first reference relationship indicates that the associated document refers to the target document, and the second reference relationship indicates that the target document refers to the associated document;
wherein the document information of the associated document comprises multiple first reference text units;
wherein the displaying, based on an association between the target document and an associated document, document information of the associated document comprises:
displaying the first reference text units, wherein first reference text unit is a text unit in the first document referring to the target document;
wherein the first document refers to the target document for a plurality of times, and the displaying the first reference text units comprises:
determining a display order of the first reference text units in the document information of the associated document, based on an order of the first reference text units in the first document.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
establishing, in response to detecting a document reference operation, a reference relationship between the target document and the associated document; and
adding an associated document indicated by the established reference relationship in the document information of the associated document.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the document reference operation comprises at least one of:
inputting a preset reference symbol and a name of a reference document;
triggering a document insertion control and determining the reference document;
inserting a link of the reference document; and
inserting content of the reference document being referred to.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the document information comprises first sub-information and/or second sub-information, the first sub-information comprises the first document, and the second sub-information comprises the second document;
wherein the displaying, based on an association between the target document and an associated document, document information of the associated document comprises:
displaying a document identifier of the associated document in sub-information corresponding to the associated document, in response to that there is an associated document having a reference relationship with the target document; or
the method further comprising:
displaying, based on an association between the target document and an associated document, reference prompt information in corresponding sub-information, in response to that there is no associated document having a reference relationship with the target document, if a first reference document exists but a second reference document does not exist, displaying the first sub-information including the first document, and displaying reference prompt information in the second sub-information, if the second reference document exists but the first reference document does not exist, displaying the second sub-information including the second document, and displaying reference prompt information in the first sub-information.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
deleting, in response to determining that the association is canceled, a document identifier corresponding to the cancelled association from the document information, or,
setting an access permission of the target document for an access user of the first document, in response to a first permission control operation on the associated document, or,
applying for or setting an access permission of the second document for an access user of the target document, in response to a second permission control operation on the associated document.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
updating the document information in response to a content modification operation on the associated document.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the updating the document information in response to a content modification operation on the associated document comprises:
updating a document identifier of the first document or the second document in the document information in response to a title modification operation on the first document or the second document.

### Claim 8 (depends on 6)

The method according to claim 6, further comprising:
updating, in response to a modification operation on a first reference text unit of the first document, the first reference text unit in the document information, wherein the first reference text unit is a text unit in the first document referring to the target document.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the document information of the associated document comprises at least one first document identifier;
wherein the displaying, based on an association between the target document and an associated document, document information of the associated document comprises:
displaying the at least one first document identifier, wherein the first document is a document referring to the target document.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
displaying the first document in response to detecting a triggering operation on the first document identifier.

### Claim 11 (depends on 9)

The method according to claim 9, further comprising:
determining a display order of multiple first document identifiers in the document information based on reference time.

### Claim 12 (depends on 11)

The method according to claim 11, wherein time when the association with the associated document is established first is used as the reference time, if the association is valid, if there is a reference relationship between documents, the association is valid, if the reference relationship between documents is deleted, the association is invalid.

### Claim 13 (depends on 9)

The method according to claim 9, wherein the displaying a first document identifier comprises:
determining access permission information of a current user, and displaying the first document identifier matching the access permission information to the current user.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the displaying document information of an associated document of the target document comprises:
displaying a second document identifier, wherein the second document is a document referred to by the target document.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
determining a display mode of the second document identifier based on access permission information of a current user for the second associated document, or,
displaying the second document indicated by the triggering operation, in response to that a triggering operation on the second document identifier is detected and it is determined that a login user has an access permission.

### Claim 16 (depends on 1)

The method according to claim 1, further comprising:
displaying a document relationship graph, wherein the document relationship graph indicates a relationship between online documents in a preset document database.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the displaying a document relationship graph comprises:
displaying a first local document relationship graph comprising the target document and the associated document, in response to a triggering operation performed on the target document to display the document relationship graph, wherein the target document is highlighted in the first local document relationship graph,
wherein the method further comprising:
displaying a second local document relationship graph, wherein the second local document relationship graph differs from the first local document relationship graph in a display mode.

### Claim 18 (depends on 16)

The method according to claim 16, further comprising:
indicating a reference relationship between the target document and the associated document by dynamic indication information, wherein the dynamic indication information moves in a specific direction in a connection path between the target document and the associated document, or,
displaying an upstream node and a downstream node of a selected node in a predefined mode, wherein a document indicated by the upstream node and the downstream node has a direct reference relationship and/or an indirect reference relationship with a document indicated by the selected node, or,
searching, in response to detecting a document searching operation, the displayed local document relationship graph for a node indicating a search document indicated by the document searching operation; and displaying a searching node indicating the search document and displaying a reference relationship of the searching node if no node indicating the search document is found.

### Claim 19

An electronic 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:
determine a target document;
display, based on an association between the target document and an associated document, document information of the associated document, wherein the document information of the associated document comprises a first document having a first reference relationship with the target document, and/or a second document having a second reference relationship with the target document; the first reference relationship indicates that the associated document refers to the target document, and the second reference relationship indicates that the target document refers to the associated document;
wherein the document information of the associated document comprises multiple first reference text units;
wherein the display, based on an association between the target document and an associated document, document information of the associated document comprises:
display the first reference text units, wherein first reference text unit is a text unit in the first document referring to the target document;
wherein the first document refers to the target document for a plurality of times, and the display the first reference text units comprises:
determine a display order of the first reference text units in the document information of the associated document, based on an order of the first reference text units in the first document.

### Claim 20

A computer readable non-transitory medium, bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:
determine a target document;
display, based on an association between the target document and an associated document, document information of the associated document, wherein the document information of the associated document comprises a first document having a first reference relationship with the target document, and/or a second document having a second reference relationship with the target document; the first reference relationship indicates that the associated document refers to the target document, and the second reference relationship indicates that the target document refers to the associated document;
wherein the document information of the associated document comprises multiple first reference text units;
wherein the display, based on an association between the target document and an associated document, document information of the associated document comprises:
display the first reference text units, wherein first reference text unit is a text unit in the first document referring to the target document;
wherein the first document refers to the target document for a plurality of times, and the display the first reference text units comprises:
determine a display order of the first reference text units in the document information of the associated document, based on an order of the first reference text units in the first document.
