Online collaborative document editing method, system, equipment and medium

By creating the main document on the server and generating a sharing link, multiple users are allowed to edit in the copy document and synchronize in real time, solving the problem of poor coordination efficiency and adaptability of the existing technology of the technologies. Essence

CN119383148APending Publication Date: 2025-01-28湖南芒果融创科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411396091.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The existing online collaborative document editing method has problems of poor coordination efficiency and adaptability when multiple users edit the same file in the same location and save it separately, resulting in inconsistent versions and increased management difficulty.

Method used

By creating the main document on the server, including unchanged and variable content areas, the sharing link is generated. After the target user opens the link, edit in the copy document, edit the information in real time to the first user, and save it to the server after completion.

Benefits of technology

The editing and collaboration of multiple users based on the same document, reducing the tedious process of editing and collecting documents, improving the efficiency and adaptability of document editing, and ensuring the consistency of the version.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383148A_ABST
    Figure CN119383148A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an online collaborative document editing method, system and device and a medium, and belongs to the technical field of data processing, and the method specifically comprises the steps that 1, a first user creates a main document, and the main document is stored on a server; 2, the first user generates a sharing link and sends the sharing link to a target user to be subjected to collaborative operation; 3, the target user opens the link, after user information and authority are verified, the server generates a copy document which is the same as the main document according to the shared link and the user information and synchronizes editing information of the target user in a variable content area of the copy document to the first user; step 4, synchronizing the modification of the edited information by the first user to the corresponding target user; and step 5, after the target users finish editing, storing all contents in the copy document of each target user to the server. According to the scheme, the document editing efficiency and adaptability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of data processing technology, and in particular to an online collaborative document editing method, system, device and medium. Background Art

[0002] At present, online collaborative document editing is a common form of web front-end document editing. Through online collaboration, multiple users can edit the same document. However, most online collaborative documents currently provide methods for multiple users to edit the same document, and different users can edit and view each other's content. It does not support the function of multiple users editing the same file in the same location and saving it separately. In order to collect documents from multiple users, in most cases, users send the same template file to individual users through other third-party communication software, and the users edit the documents locally and then submit them to the same user for aggregation. Users need to frequently exchange files in different communication software, which increases communication costs and time consumption. At the same time, the versions edited by each user may be inconsistent, resulting in difficulties in integration when the final aggregation is completed. In addition, the lack of real-time collaboration function makes it impossible to see other people's modifications in real time, which reduces the efficiency and flexibility of teamwork. Finally, the workload of managing and integrating multiple versions will also increase significantly.

[0003] It can be seen that there is an urgent need for an online collaborative document editing method with high collaborative efficiency and adaptability. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide an online collaborative document editing method, system, device and medium, which at least partially solve the problems of poor collaborative efficiency and adaptability in the prior art.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for editing an online collaborative document, comprising:

[0006] Step 1: A first user creates a master document and saves the master document on a server, wherein the master document includes a constant content area and a variable content area;

[0007] Step 2: The first user generates a sharing link and sends the sharing link to the target user to be operated collaboratively;

[0008] Step 3: The target user opens the link and verifies the user information and permissions. The server generates a copy document that is identical to the main document based on the shared link and user information and synchronizes the edited information of the target user in the variable content area of ​​the copy document to the first user.

[0009] Step 4, synchronizing the first user's modification of the edited information to the corresponding target user;

[0010] Step 5: When the target user completes editing, all contents in the copy document of each target user are saved to the server.

[0011] According to a specific implementation of the embodiment of the present disclosure, step 2 specifically includes:

[0012] The first user generates a sharing link, which contains a unique document identifier, a unique user identifier, and a timestamp of the sharing time point. The sharing link is then sent to the target user to be collaborated with and a temporary signature is generated and saved on the server through a preset combination and encryption algorithm during sharing.

[0013] According to a specific implementation of the embodiment of the present disclosure, step 3 specifically includes:

[0014] Step 3.1, when the target user clicks the sharing link, determine whether the target user has logged in or registered, if so, execute step 3.3, if not, execute step 3.2;

[0015] Step 3.2, jump to the login page to log in, or jump to the registration page to register and log in;

[0016] Step 3.3, when the target user logs in, the document unique identifier, user unique identifier, and timestamp are obtained. A user signature needs to be generated through the same permutation combination and encryption algorithm. When the user signature is equal to the temporary signature, a copy document identical to the main document is generated;

[0017] Step 3.4, generate a user directory for each target user in the server;

[0018] Step 3.5: Synchronize the target user's editing information in the variable content area of ​​the copy document to the first user.

[0019] According to a specific implementation of the embodiment of the present disclosure, step 4 specifically includes:

[0020] When the first user modifies the edit information, the modification of the edit information by the first user is synchronized to the corresponding target user using the operation conversion algorithm.

[0021] According to a specific implementation of the embodiment of the present disclosure, step 4 further includes:

[0022] The modifications made by the first user to the invariable content area and the variable content area are synchronized to all target users.

[0023] According to a specific implementation of the embodiment of the present disclosure, after step 5, the method further includes:

[0024] The corresponding copy document is retrieved from the server according to the query instruction of the first user.

[0025] According to a specific implementation manner of the embodiment of the present disclosure, the query instruction includes a document unique identifier or a user unique identifier.

[0026] In a second aspect, the present disclosure provides an online collaborative document editing system, including:

[0027] A creation module, used for a first user to create a master document and save the master document on a server, wherein the master document includes a constant content area and a variable content area;

[0028] A sharing module, used for a first user to generate a sharing link and send the sharing link to a target user to be operated collaboratively;

[0029] A generation module, which is used for the target user to open the link, and after verifying the user information and permissions, the server generates a copy document identical to the main document based on the sharing link and user information, and synchronizes the editing information of the target user in the variable content area of ​​the copy document to the first user;

[0030] A synchronization module, used to synchronize the modification of the edited information by the first user to the corresponding target user;

[0031] The saving module is used to save all the contents of the copy document of each target user to the server after the target user completes editing.

[0032] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0033] at least one processor; and,

[0034] a memory communicatively connected to the at least one processor; wherein,

[0035] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the online collaborative document editing method in the aforementioned first aspect or any implementation of the first aspect.

[0036] In a fourth aspect, an embodiment of the present disclosure further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the online collaborative document editing method in the aforementioned first aspect or any implementation of the first aspect.

[0037] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the method for editing online collaborative documents in the aforementioned first aspect or any implementation of the first aspect.

[0038] The editing scheme of online collaborative documents in the embodiment of the present disclosure includes: step 1, a first user creates a main document and saves the main document on a server, wherein the main document includes a constant content area and a variable content area; step 2, the first user generates a sharing link and sends the sharing link to a target user to be collaboratively operated; step 3, the target user opens the link, verifies user information and permissions, and the server generates a copy document identical to the main document based on the sharing link and user information and synchronizes the editing information of the target user in the variable content area of ​​the copy document to the first user; step 4, synchronizes the first user's modification of the editing information to the corresponding target user; step 5, when the target user completes editing, all the content in the copy document of each target user is saved to the server.

[0039] The beneficial effects of the embodiments of the present disclosure are as follows: through the scheme of the present disclosure, the online collaborative editing method allows multiple users to generate and edit new documents based on the same document as a template, and can submit different information, thereby reducing the tedious process of editing and collecting documents, and improving document editing efficiency and adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 A flowchart of an online collaborative document editing method provided by an embodiment of the present disclosure;

[0042] Figure 2 A schematic diagram of an editing interaction flow of an online collaborative document editing method provided by an embodiment of the present disclosure;

[0043] Figure 3 A schematic diagram of the structure of an online collaborative document editing system provided by an embodiment of the present disclosure;

[0044] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0045] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0046] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0047] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0048] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The illustrations only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the form, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0049] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0050] The embodiment of the present disclosure provides an online collaborative document editing method, which can be applied to a document editing process in an office scenario.

[0051] See also Figure 1 , is a flow chart of an online collaborative document editing method provided by an embodiment of the present disclosure. Figure 1 and Figure 2 As shown, the method mainly comprises the following steps:

[0052] Step 1: A first user creates a master document and saves the master document on a server, wherein the master document includes a constant content area and a variable content area;

[0053] For example, the first user can create a project plan document that contains constant content areas (such as project goals, timelines, and team member information) and variable content areas (such as task assignments, progress updates, and notes). For example, the project goal section will always remain the same, while the task assignment section can be edited later, where team members can add their own tasks and progress. This document is saved on the server so that subsequent users can access and edit it.

[0054] Step 2: The first user generates a sharing link and sends the sharing link to the target user to be operated collaboratively;

[0055] Based on the above embodiment, step 2 specifically includes:

[0056] The first user generates a sharing link, which contains a unique document identifier, a unique user identifier, and a timestamp of the sharing time point. The sharing link is then sent to the target user to be collaborated with and a temporary signature is generated and saved on the server through a preset combination and encryption algorithm during sharing.

[0057] In specific implementation, the first user generates a sharing link that contains the document's unique identifier (12345), the user's unique identifier (67890), and the timestamp of sharing. At the same time, the system uses a preset combination of permutations and encryption algorithms to generate a temporary signature, such as abc123signature, and saves it on the server. The first user then sends this link to the target user, such as via email or chat application, to ensure that the target user can access the document securely.

[0058] Step 3: The target user opens the link and verifies the user information and permissions. The server generates a copy document that is identical to the main document based on the shared link and user information and synchronizes the edited information of the target user in the variable content area of ​​the copy document to the first user.

[0059] Based on the above embodiment, step 3 specifically includes:

[0060] Step 3.1, when the target user clicks the sharing link, determine whether the target user has logged in or registered, if so, execute step 3.3, if not, execute step 3.2;

[0061] Step 3.2, jump to the login page to log in, or jump to the registration page to register and log in;

[0062] Step 3.3, when the target user logs in, the document unique identifier, user unique identifier, and timestamp are obtained. A user signature needs to be generated through the same permutation combination and encryption algorithm. When the user signature is equal to the temporary signature, a copy document identical to the main document is generated;

[0063] Step 3.4, generate a user directory for each target user in the server;

[0064] Step 3.5: Synchronize the target user's editing information in the variable content area of ​​the copy document to the first user.

[0065] In specific implementation, if the user is not logged in or registered, the user will be redirected to the login / registration page to log in or register and log in. After logging in, the user opens the shared link and passes the signature to the server while passing his / her user unique identifier and the document unique identifier obtained from the shared link. When other users access this link, they need to obtain the document unique identifier, user unique identifier, and timestamp, and generate a sign through the same arrangement and encryption algorithm. If the sign is equal to the server's sign, the user is allowed to continue accessing. After verifying the signature, the server generates a copy of the document in the user directory based on the document unique identifier and the user unique identifier (if it already exists, it will not be copied). The document opened by the user is a copy document belonging to this user. The copy document contains all the original data of the document shared by the first user, including text content, non-editable areas and other information. The user can perform editing operations on the copy document, and editing this copy document will not affect the content of the main document shared by the first user. Other general users have no authority to view the new copy document, and the first user can view all other users' newly generated documents and document editing operations in real time.

[0066] For example, when the target user clicks on a shared link, the system first checks whether the user is logged in. If the target user is not logged in, the system automatically jumps to the login page. If the user does not have an account, a registration page is provided, and the user returns to the login page after completing the registration. Once the target user successfully logs in, the system extracts the document unique identifier, user unique identifier, and timestamp from the shared link. Next, the user generates a user signature, such as xyz456s i gnature, through the same permutation and encryption algorithm. The system checks whether the user signature is equal to the previously saved temporary signature abc123s i gnature. If they match, the system creates a copy document with the same structure as the main document, but the variable content area is empty or initialized as needed. The target user generates a user directory, such as / user / 67890 / documents, to store their copy documents and other related files. When the target user edits the variable content area of ​​the copy document, the system synchronizes these edits to the first user's view in real time. For example, if the target user adds a new task in the copy, the system will immediately send the task to the first user's interface through the server, ensuring that both users can see each other's changes in real time.

[0067] Step 4, synchronizing the first user's modification of the edited information to the corresponding target user;

[0068] Based on the above embodiment, step 4 specifically includes:

[0069] When the first user modifies the edit information, the modification of the edit information by the first user is synchronized to the corresponding target user using the operation conversion algorithm.

[0070] Furthermore, the step 4 also includes:

[0071] The modifications made by the first user to the invariable content area and the variable content area are synchronized to all target users.

[0072] In specific implementation, when the first user creates a master document, the system automatically marks the content area edited by the first user as an invariant content area. After sharing it with other users, other users cannot edit the invariant content area. When other users edit the variable content area, the updated content is not synchronized to the master document and the copy documents copied by other users. When the first user edits the invariant content area, the system synchronizes the edited content to the invariant area content corresponding to the copy documents of other users through the operational transformation (full name: Operational Transformation, abbreviated as OT) algorithm, so that the content of the master document is synchronized to each copy document in real time, and the invariant content areas of all documents are kept consistent. The first user can edit the copy documents of other users. When the first user and other users edit the copy documents at the same time, the OT collaborative editing algorithm is used to keep the document content consistent. OT is a relatively common online document collaboration algorithm, and there are already many mature solutions, which will not be discussed in detail here.

[0073] Step 5: When the target user completes editing, all contents in the copy document of each target user are saved to the server.

[0074] Based on the above embodiment, after step 5, the method further includes:

[0075] The corresponding copy document is retrieved from the server according to the query instruction of the first user.

[0076] Furthermore, the query instruction includes a document unique identifier or a user unique identifier.

[0077] In specific implementation, when the target user completes editing, all the contents of the copy document of each target user are saved in the user directory corresponding to each target user in the server. When other users open the link, a copy of the main document has been generated using the document unique identifier and the user identifier. The first user can query all generated copy documents uniformly using the main document unique identifier, or the first user can query copy documents corresponding to different target users based on the user unique identifier. In this system, a page is used to display a list of all copy documents. The first user can view the total number of copy documents, add, delete, modify, and check the content of each copy document, and can download all documents to the local computer with one click.

[0078] The online collaborative document editing method provided in this embodiment ensures that each user edits on the same basis by creating a master document and a copy document, thus avoiding version confusion. The online collaborative editing method allows multiple users to generate and edit new documents based on the same document as a template, and can submit different information, reducing the tedious process of editing and collecting documents. The real-time synchronization of editing information allows the first user to understand all modifications in a timely manner, thus promoting effective communication. At the same time, user authority verification enhances the security of the document, ensuring that only authorized users can access and edit the content. In addition, the editing results of all users are saved centrally to facilitate subsequent management and integration, and improve document editing efficiency and adaptability.

[0079] Corresponding to the above method embodiment, see Figure 3 The embodiment of the present disclosure further provides an online collaborative document editing system 30, including:

[0080] A creation module 301 is used for a first user to create a master document and save the master document on a server, wherein the master document includes a constant content area and a variable content area;

[0081] Sharing module 302, used for the first user to generate a sharing link and send the sharing link to a target user to be operated collaboratively;

[0082] Generating module 303, for the target user to open the link, and after verifying the user information and permissions, the server generates a copy document identical to the main document based on the sharing link and user information, and synchronizes the editing information of the target user in the variable content area of ​​the copy document to the first user;

[0083] Synchronization module 304, used to synchronize the modification of the edited information by the first user to the corresponding target user;

[0084] The saving module 305 is used to save all the contents of the copy document of each target user to the server after the target user completes editing.

[0085] Figure 3 The system shown can correspondingly execute the contents of the above method embodiment. For the parts not described in detail in this embodiment, refer to the contents recorded in the above method embodiment and will not be repeated here.

[0086] See also Figure 4 The embodiment of the present disclosure further provides an electronic device 40, which includes: at least one processor and a memory connected to the at least one processor. The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the online collaborative document editing method in the aforementioned method embodiment.

[0087] The embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the online collaborative document editing method in the aforementioned method embodiment.

[0088] The embodiments of the present disclosure also provide a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer, enable the computer to execute the online collaborative document editing method in the aforementioned method embodiment.

[0089] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device 40 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0090] like Figure 4 As shown, the electronic device 40 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 40 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0091] Typically, the following devices may be connected to the I / O interface 405: input devices 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication device 409 may allow the electronic device 40 to communicate wirelessly or wired with other devices to exchange data. Although the electronic device 40 with various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.

[0092] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0093] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0094] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0095] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device can execute the relevant steps of the method embodiment.

[0096] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device can perform the relevant steps of the method embodiment.

[0097] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware.

[0100] It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.

[0101] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for editing an online collaborative document, characterized in that: include: Step 1: A first user creates a master document and saves the master document on a server, wherein the master document includes a constant content area and a variable content area; Step 2: The first user generates a sharing link and sends the sharing link to the target user to be operated collaboratively; Step 3: The target user opens the link and verifies the user information and permissions. The server generates a copy document that is identical to the main document based on the shared link and user information and synchronizes the edited information of the target user in the variable content area of ​​the copy document to the first user. Step 4, synchronizing the first user's modification of the edited information to the corresponding target user; Step 5: When the target user completes editing, all contents in the copy document of each target user are saved to the server.

2. The method according to claim 1, characterized in that , the step 2 specifically includes: The first user generates a sharing link, which contains a unique document identifier, a unique user identifier, and a timestamp of the sharing time point. The sharing link is then sent to the target user to be collaborated with and a temporary signature is generated and saved on the server through a preset combination and encryption algorithm during sharing.

3. The method according to claim 2, characterized in that , the step 3 specifically includes: Step 3.1, when the target user clicks the sharing link, determine whether the target user has logged in or registered, if so, execute step 3.3, if not, execute step 3.2; Step 3.2, jump to the login page to log in, or jump to the registration page to register and log in; Step 3.3, when the target user logs in, the document unique identifier, user unique identifier, and timestamp are obtained. A user signature needs to be generated through the same permutation combination and encryption algorithm. When the user signature is equal to the temporary signature, a copy document identical to the main document is generated; Step 3.4, generate a user directory for each target user in the server; Step 3.5: Synchronize the target user's editing information in the variable content area of ​​the copy document to the first user.

4. The method according to claim 3, characterized in that , the step 4 specifically includes: When the first user modifies the edit information, the modification of the edit information by the first user is synchronized to the corresponding target user using the operation conversion algorithm.

5. The method according to claim 5, characterized in that , the step 4 also includes: The modifications made by the first user to the invariable content area and the variable content area are synchronized to all target users.

6. The method according to claim 1, characterized in that After step 5, the method further includes: The corresponding copy document is retrieved from the server according to the query instruction of the first user.

7. The method according to claim 6, characterized in that ,The query instruction includes a document unique identifier or a user unique identifier.

8. An online collaborative document editing system, characterized in that: include: A creation module, used for a first user to create a master document and save the master document on a server, wherein the master document includes a constant content area and a variable content area; A sharing module, used for a first user to generate a sharing link and send the sharing link to a target user to be operated collaboratively; A generation module, which is used for the target user to open the link, and after verifying the user information and permissions, the server generates a copy document identical to the main document based on the sharing link and user information, and synchronizes the editing information of the target user in the variable content area of ​​the copy document to the first user; A synchronization module, used to synchronize the modification of the edited information by the first user to the corresponding target user; The saving module is used to save all the contents of the copy document of each target user to the server after the target user completes editing.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the online collaborative document editing method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the online collaborative document editing method according to any one of claims 1 to 7.