Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Collaborative editing and collaborative processing method, device, equipment and storage medium

A collaborative editing and editing technology, applied in the field of devices, collaborative processing methods, equipment and storage media, and collaborative editing, can solve problems such as high algorithm complexity, incapable of collaborative undo of table-type documents, and high performance and cost of exponential complexity

Active Publication Date: 2021-07-06
北京久蓉科技有限公司
View PDF6 Cites 1 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 and collaborative processing method, device, equipment and storage medium
  • Collaborative editing and collaborative processing method, device, equipment and storage medium
  • Collaborative editing and collaborative processing method, device, equipment 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 embodiment of the present invention discloses a collaborative editing and collaborative processing method, device, device, and storage medium. The collaborative editing method includes: the server receives the first editing operation for the copy of the target editing content sent by the first client, and if the server determines that the second An editing operation constitutes a concurrent operation with at least one received target editing operation, then according to each editing operation in the editing operation sequence matching the target editing operation and the editing attribute information of the first editing operation, the first editing operation is converted to obtain The first conversion editing operation: After the server uses the first conversion editing operation to edit the copy of the target editing content stored locally, the first conversion editing operation is added to the tail of the editing operation sequence, and the first conversion editing operation is sent to each cooperative client end, in order to realize the collaborative consistency of complete support documents, user intent maintenance and collaborative revocation functions, and reduce algorithm complexity and improve algorithm performance.

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 Patents(China)
IPC IPC(8): G06F40/166G06F16/178G06Q10/10
CPCG06Q10/101G06F16/178G06F40/166
Inventor 易天明
Owner 北京久蓉科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products