Collaborative document restoration method and device, storage medium and electronic equipment

A document and reverse operation technology, applied in the field of document editing, can solve the problems of large storage space and high cost, and achieve the effect of saving storage space

Pending Publication Date: 2019-03-19
TIANJIN BYTEDANCE TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current general method of restoring online collaborative documents to any version is to save a snapshot of the content corresponding to each version of the document, that is, as many snapshots as there are changes to the document, which requires a lot of storage space , cost too much

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Collaborative document restoration method and device, storage medium and electronic equipment
  • Collaborative document restoration method and device, storage medium and electronic equipment
  • Collaborative document restoration method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to have a clearer understanding of the technical features, purposes and effects of the present disclosure, specific implementations of the present disclosure will now be described in detail with reference to the accompanying drawings.

[0045] Such as figure 1 As shown, in an embodiment of the collaborative document restoration method of the present disclosure, the following steps are included: S1. Receive a restoration request from a client, and obtain the corresponding historical version according to the restoration request; specifically, during the editing process of the collaborative document, the service When the document on the client side receives the revision operation from the client, it will modify the server-side document according to the revision operation, and store the revision operation record, and at the same time upgrade the server-side document to form a corresponding relationship between the revision operation record and the server-side docume...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a collaborative document restoration method and device, a storage medium and electronic equipment, and the method comprises the steps: receiving a restoration request of a client, and obtaining a corresponding historical version according to the restoration request; obtaining a current version corresponding to the current document, calculating an intermediate version between the current version and the historical version, and obtaining a revision operation corresponding to the intermediate version; obtaining an inverse operation corresponding to the revision operationaccording to the revision operation; and revising the current document according to the inverse operation, so that the current document is updated into the target historical document. By implementingthe method and the device, the current document can be restored to the specified historical document under the condition that the storage space is saved, and editing operations of other users are notinterrupted.

Description

technical field [0001] The present disclosure relates to the technical field of document editing, and more specifically, relates to a collaborative document restoration method, device, storage medium and electronic equipment. Background technique [0002] Collaborative editing of online documents allows multiple people to edit at the same time, and the content edited by each user will not conflict. Users do not need to actively save the content of the document, the content edited by the user will be automatically synchronized to the background, and the editing conflicts between users can be well resolved. For documents with collaborative editing functions, history records are one of the important information generated during the document collaborative process. A document may be edited by multiple people, or edited at the same time. It becomes very important to restore the existing unreasonable editing behavior to a reasonable state. How to provide an elegant restore functi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/22G06F17/24
CPCG06F40/197G06F40/166
Inventor 陈康
Owner TIANJIN BYTEDANCE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products