Collaborative editing, cooperative processing method, apparatus and device, and storage medium

A collaborative editing and editing technology, applied in data processing applications, electronic digital data processing, natural language data processing, etc., can solve problems such as high algorithm complexity, inability to ensure that the algorithm is equally effective, and inability to collaboratively revoke table-type documents, etc., to achieve Reduce the complexity of the algorithm, improve the performance of the algorithm, and support the effect of collaborative consistency

Active Publication Date: 2018-04-20
北京久蓉科技有限公司
View PDF6 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the GOTO algorithm cannot maintain the correctness of the user's intentions during concurrent operations under certain conditions (undo operations are a special case of ordinary operations, and there will be all possible errors in ordinary operations), and the complexity of the algorithm when there are undo operations The degree is O(N^2)
The COT (Context, context) algorithm uses a context-based control algorithm, and the algorithm complexity is very high. In the case of undo operations, or in the case of multi-terminal joint editing, the conversion algorithm complexity is O(M^N ) (M and N are the number of concurrent operations of different terminals), its exponential complexity performance cost is too high, and the COT algorithm cannot solve some conversion operations that destroy user intentions
In addition, the above-mentioned undo algorithms in the collaborative editing algorithm only involve the conversion algorithm and argumentation of plain text documents, and are not guaranteed to be applicable to other types of documents
There are also some collaborative editing algorithms designed for specific document types, and there is no guarantee that the algorithm will be equally effective when extended to other types of documents
For table-type documents, there is currently no collaborative editing algorithm that can perform complex operations such as inserting merged cells, inserting rows and columns, and inserting formulas concurrently, and the current collaborative editing algorithm cannot implement collaborative undo for table-type documents.

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 editing, cooperative processing method, apparatus and device, and storage medium
  • Collaborative editing, cooperative processing method, apparatus and device, and storage medium
  • Collaborative editing, cooperative processing method, apparatus and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Figure 1a It is a flowchart of a collaborative editing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of collaborative editing of documents. The method can be executed by a collaborative editing device, which can be implemented by software and / or hardware It can be implemented in a manner, and can generally be integrated in a collaborative editing device. The method includes the following operations:

[0056] S110. The server receives the first editing operation sent by the first client for the copy of the target editing content, where the editing operation includes: editing type, editing content, editing content location information, and editing content address information.

[0057] Among them, the target editing content can be various types of documents, such as plain text documents, table documents, etc., and the content of the document and the set of all operations performed can be defined as the document state. ...

Embodiment 2

[0077] figure 2 It is a flowchart of a collaborative editing method provided by Embodiment 2 of the present invention. This embodiment is applicable to the case of collaborative editing of plain text documents. The method includes the following operations:

[0078] S210. The server receives a first editing operation sent by the first client for the copy of the plain text document, where the editing operation includes: editing type, editing content, editing content location information, and editing content address information. The server determines that the first editing operation and at least one received target editing operation constitute concurrent operations.

[0079] In an optional embodiment of the present invention, the edit type specifically includes: an insert operation, a delete operation, and a null operation.

[0080] In the embodiment of the present invention, the plain text document records two sets of content, one set of content is the entire text of the docum...

Embodiment 3

[0121] Figure 3a It is a flowchart of a collaborative editing method provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of collaborative editing of form documents. The method includes the following operations:

[0122] S310. The server receives a first editing operation sent by the first client for the form document copy, where the editing operation includes: editing type, editing content, editing content location information, and editing content address information. The server determines that the first editing operation and at least one received target editing operation constitute concurrent operations.

[0123] In an optional embodiment of the present invention, the editing type specifically includes: insert row, insert column, delete row, delete column, move row, move column, modify cell content, insert merged cell, delete merged cell, Insert table, delete table.

[0124] It should be noted that, in addition to the 11 editing typ...

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 embodiments of the invention disclose a collaborative editing, cooperative processing method, apparatus and device, and a storage medium. The collaborative editing method includes the steps that aserver receives a first editing operation for a copy of a target editing content sent by a first client, if the server determines that the first editing operation and received at least one target editing operation form a concurrent operation, converting first editing operation according to editing attribute information of each editing operation in an editing operation sequence matched with the target editing operation and the first editing operation, to obtain a first conversion editing operation; after the server uses the first conversion editing operation to edit the locally stored copy ofthe target editing content, the server adds the first conversion editing operation to the tail of the editing operation sequence and sends the first conversion editing operation to each collaborativeclient, so as to achieve complete support for collaborative document coherence, user intent retention, and collaborative undo functionality, and to reduce algorithmic complexity and improve algorithmperformance.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computer application software, and in particular to a collaborative editing and collaborative processing method, device, device, and storage medium. Background technique [0002] Collaborative editing software allows multiple users to jointly review and edit the same document through a computer network, which can effectively improve user productivity. Collaborative editing software needs to respond as quickly as stand-alone software, and will not block each other when multiple users edit together. Among them, the OT (Operational Transformation) algorithm provides a solid foundation for the concurrent control function of collaborative editing software. The collaborative editing algorithm can be abstracted into two parts, namely OT control algorithm and OT transformation algorithm. The OT control algorithm is a reusable algorithm. Different control algorithms define the constraints th...

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/24G06F17/30G06Q10/10
CPCG06Q10/101G06F16/178G06F40/166
Inventor 易天明
Owner 北京久蓉科技有限公司
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