US 12,493,585 B2
Page content connection method, apparatus and device, document synchronization method, apparatus and device, and document processing method, apparatus and device
Weipeng He, Beijing (CN); Hengyu Zhang, Beijing (CN); Zongyan Wei, Beijing (CN); Guangping Xie, Beijing (CN); Xuejia Chen, Beijing (CN); and Wei Chen, Beijing (CN)
Assigned to BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 18/548,654
Filed by BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Feb. 28, 2022, PCT No. PCT/CN2022/078214
§ 371(c)(1), (2) Date Sep. 1, 2023,
PCT Pub. No. WO2022/184007, PCT Pub. Date Sep. 9, 2022.
Claims priority of application No. 202110226979.4 (CN), filed on Mar. 1, 2021; application No. 202110226980.7 (CN), filed on Mar. 1, 2021; and application No. 202110227813.4 (CN), filed on Mar. 1, 2021.
Prior Publication US 2024/0143555 A1, May 2, 2024
Int. Cl. G06F 16/178 (2019.01)
CPC G06F 16/178 (2019.01) 33 Claims
OG exemplary drawing
 
1. A page content processing method, comprising:
determining, in response to a connection operation for a target content block in a current page, a connection content block of the target content block;
displaying, at an associated position of one of the target content block and the connection content block, a connection identifier of an other of the target content block and the connection content block, to view the other content block by using the connection identifier;
performing a document operation event according to a correspondence between a document version identifier of a document node and a content block version identifier of a content block node in a tree structure of a document, wherein the current page comprises the document,
wherein the document comprises at least one content block, the tree structure comprises the document node and the content block node;
wherein the method comprises at least one of:
in response to the document operation event being a version change event, determining, according to the document operation event, the document node in the tree structure of the current document comprising: according to the version change event, determining a document node in the tree structure of the current document and a document version identifier to which the version change event points; wherein the performing the document operation event according to the correspondence between the document version identifier of the document node and the content block version identifier of the content block node comprises searching, according to the document version identifier, for a content block version identifier of each corresponding content block node, based on a version identifier snapshot of the tree structure, determining to-be-changed content of each content block node according to the content block version identifier of each content block node, and performing the document change event according to the to-be-changed content of each content block node; or,
in response to the document operation event being a content block update content pushing event, determining the content block node in the tree structure of the current document according to the document operation event comprising: according to the content block update content pushing event, determining a content block node in the tree structure, and determining a newest document version identifier of a document node to which the content block node belongs; wherein the performing the document operation event according to the correspondence between the document version identifier of the document node and the content block version identifier of the content block node comprises: determining an updated content block version identifier corresponding to the newest document version identifier based on a version identifier snapshot of the tree structure, and performing the content block update content pushing event according to the updated content block version identifier; or,
in response to the document operation event being a document reading event, determining the content block node in the tree structure of the current document according the document operation event comprising: according to the document reading event, determining a document node and a content block node in the tree structure and determining to-be-pushed version identifiers of the document node and the content block node; wherein the performing the document operation event according to the correspondence between the document version identifier of the document node and the content block version identifier of the content block node comprises: pulling a newest content block version identifier and practical content corresponding to the content block node according to the determined content block node, determining consistency between the pulled newest content block version identifier of the content block node and the to-be-pushed version identifier based on a version identifier snapshot of the tree structure, and providing the pulled practical content of the content block node to a first client device if the consistency is satisfied.