CN112232040A - Online document editing method and device - Google Patents
Online document editing method and device Download PDFInfo
- Publication number
- CN112232040A CN112232040A CN202011494441.3A CN202011494441A CN112232040A CN 112232040 A CN112232040 A CN 112232040A CN 202011494441 A CN202011494441 A CN 202011494441A CN 112232040 A CN112232040 A CN 112232040A
- Authority
- CN
- China
- Prior art keywords
- user
- content
- editing
- record
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/101—Collaborative creation, e.g. joint development of products or services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An editing method and device for an online document are disclosed. The method comprises the following steps: receiving a first instruction input by the first user to view a list of changes in the private view; presenting the list of alterations in the private view in accordance with the first instruction; receiving a second instruction input by the first user, wherein the second instruction is used for instructing the first user to select at least one target record from the change list and submitting the at least one target record to a server; judging whether the position included by each target record is marked by a conflict mark or not according to the second instruction; if the target record is not marked with the conflict mark, submitting the editing content included in the target record to the server; if the conflict mark is marked, displaying conflict comparison contents and outputting a plurality of operation options; receiving an operation instruction input by the first user; and operating the document in the private view according to the operation instruction.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for editing an online document.
Background
With the increasing use of the internet, the editing of documents is also gradually being turned off-line to on-line. Online editing of online documents is also increasingly accepted by various industry users. In addition to being able to edit a document online by a single person, the simultaneous collaborative editing of the same document by multiple persons has become an important function of online document editing.
Currently, online document editing generally uses a real-time editing mode, that is, for the same online document, each editing action of an editor is synchronized to a main version of a server and synchronized to versions of other common editors through the server. Once both editors have edited the same location of content, the changes that occurred first are overwritten by changes that occurred later.
The disadvantage of the real-time mode is that the editing actions are independent and time-sequential. When an editor edits content having a correlation through a series of editing actions, the previously edited content may be overwritten by other editors, resulting in the destruction of the content correlation. The existing solution is to lock the edited content, and other people are limited by the permission and cannot cover the edited content, but the existing solution has the disadvantages of complicated operation, locking and unlocking processes, and troublesome locking when the edited content is too much or the position span is large. Another solution is offline editing, which completely eliminates the impact of other editors, but also loses the collaboration of the multi-person online document.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and an apparatus for editing an online document, which can avoid content correlation from being damaged and ensure the collaboration of online editing of a plurality of people in a scenario where content is continuously edited in a multi-person collaboration, thereby improving user experience.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides an online document editing method, which is applied to a first device used by a first user to open a private view corresponding to a document, and includes:
receiving a first instruction input by the first user to view a change list in the private view, the change list being used to maintain a record of the first user editing the document in the private view, the record comprising: location and editing content;
presenting the list of alterations in the private view in accordance with the first instruction;
receiving a second instruction input by the first user, wherein the second instruction is used for instructing the first user to select at least one target record from the change list and submitting the at least one target record to a server;
judging whether the position included in each target record is marked with a conflict mark or not according to the second instruction, wherein the conflict mark is used for indicating other users to edit at the same position;
if the target record is not marked with the conflict mark, submitting the editing content included in the target record to the server;
if the conflict mark is marked, displaying conflict comparison contents, and outputting a plurality of operation options so that the first user inputs an operation instruction according to the operation options;
receiving an operation instruction input by the first user;
and operating the document in the private view according to the operation instruction.
Preferably, the method further comprises: receiving first content edited by a second user on the document by using a second device; determining a corresponding target location of the first content in the private view; judging whether a record comprising the target position exists in the change list or not; if not, replacing the content of the target position with the first content; and if so, marking the target position in a collision way.
Preferably, after the replacing the content of the target location with the first content, the method further comprises: and if the first user edits at the target position, performing conflict marking on the target position.
Preferably, the method further comprises: and if the first user edits the first position in the private view for multiple times, the change list comprises the edited content stored in the record of the first position as the latest edited content.
Preferably, the operation instruction includes: discard, replace, or manually merge.
In a second aspect, an embodiment of the present invention provides an apparatus for editing an online document, where the apparatus is applied to a first device used by a first user to open a private view corresponding to the document, and the apparatus includes:
a receiving unit, configured to receive a first instruction, input by the first user, to view a change list in the private view, where the change list is used to store a record of editing the document in the private view by the first user, and the record includes: location and editing content;
a presentation unit configured to present the alteration list in the private view according to the first instruction;
the receiving unit is further configured to receive a second instruction input by the first user, where the second instruction is used to instruct the first user to select at least one target record from the change list and submit the at least one target record to a server;
the judging unit is used for judging whether the position included in each target record is marked with a conflict mark according to the second instruction, wherein the conflict mark is used for indicating other users to edit at the same position;
an operation unit, configured to submit the editing content included in the target record to the server if the conflict mark is not marked;
the display unit is further configured to display conflict comparison content and output a plurality of operation options if the conflict mark is marked, so that the first user inputs an operation instruction according to the operation options;
the receiving unit is further used for receiving an operation instruction input by the first user;
the operation unit is further used for operating the document in the private view according to the operation instruction.
Preferably, the receiving unit is further configured to receive first content edited by a second user on the document using a second device; the judging unit is further configured to determine a corresponding target location of the first content in the private view; judging whether a record comprising the target position exists in the change list or not; the operation unit is further used for replacing the content of the target position with the first content if the first content does not exist; and if so, marking the target position in a collision way.
Preferably, the operation unit is further configured to, after the replacing of the content of the target location with the first content, perform conflict marking on the target location if the first user edits at the target location.
Preferably, the apparatus further comprises: and the recording unit is used for editing the first position in the private view for multiple times by the first user, and the editing content stored in the record of the first position in the change list is the latest editing content.
Preferably, the operation instruction includes: discard, replace, or manually merge.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores a computer program for executing the method for editing an online document according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instruction from the memory, and execute the instruction to implement the method for editing an online document according to the first aspect.
By using the online document editing method and device provided by the invention, the private view corresponding to the document is created locally by the user, the user edits the document in the private view, and the edited content is only recorded locally and cannot be directly submitted to a server and synchronized with other users through the server. And the method can not directly show the edited contents of other users in the private view, but firstly judges whether the user is edited at the same position, if the user is also edited at the same position, the edited contents of other users are not directly shown in the private view, but the user subsequently and automatically selects whether to accept the edited contents of other users. Based on the method, under the scene of continuously editing the content in the multi-person cooperation, not only can the content relevance be prevented from being damaged, but also the cooperation of online document editing by multiple persons can be ensured, and therefore the user experience is improved.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
FIG. 1 is a flowchart illustrating a method for editing an online document according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating an online document conflict mark-up method according to an exemplary embodiment of the present application;
FIG. 3 is a block diagram of an apparatus for editing an online document according to an exemplary embodiment of the present application;
FIG. 4 is a block diagram of another online document editing apparatus according to an exemplary embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
Fig. 1 is a flowchart illustrating an editing method for an online document according to an embodiment of the present application. The method is applicable to a first device used by a first user to open a private view corresponding to a document. The method for editing the online document provided by the embodiment of the application can comprise the following steps:
Wherein the change list is used to store a record of the first user editing the document in the private view, and the record may include: location and editing content.
Specifically, the first user may create a private view corresponding to the document locally, and multiple private views may be created simultaneously. The first user edits the document in the private view, and the edited content is only recorded locally and cannot be directly submitted to the server and synchronized with other users through the server. In this embodiment, the editing performed on the document by the first user may be recorded in a form of a change list.
In one example, the method further comprises:
and if the first user edits the first position in the private view for multiple times, the edited content stored in the record of the first position in the change list is the content edited last time.
It is understood that the first user may edit the same location multiple times, and only the last edited content is recorded in the change list to reduce the occupied storage space.
In particular, the change list may be presented in the form of a drop down menu in the private view. For example, the content displayed in the pull-down menu may include: and selecting a frame, wherein each record comprises a position and an editing content. The first user may select the modified content that is pre-submitted to the server by checking the checkbox.
And 103, receiving a second instruction input by the first user, wherein the second instruction is used for instructing the first user to select at least one target record from the change list and submitting the at least one target record to the server.
In particular, the first user may select one or more target records from the change records.
And 104, judging whether the position included by each target record is marked with a conflict mark or not according to the second instruction.
Wherein, the conflict mark is used for indicating that other users edit at the same position.
In one example, as shown in fig. 2, the method may further include:
if not, executing step 204, and if so, executing step 205;
Specifically, after receiving first content edited by a second user using a second device, the first content is not directly displayed in the private view, but it is determined whether the first user has also edited in the same position of the private view, and the determination may be made by changing a record in the list. If the change list has a record including the target position, it indicates that the first user also edited at the same position in the private view, a conflict occurs, in order to avoid that the content correlation is destroyed, the first content is not directly shown in the private view, but the conflict mark is performed at the target position, so that when the first user pre-submits the edited content of the first user, the first user is prompted, and the first user selects whether to accept the first content. If the record including the target position does not exist in the change list, the first user is not edited at the same position in the private view, and no conflict occurs, the first content can be directly shown in the private view.
It is understood that after replacing the content at the target position with the first content, the first user may still edit the content at the target position again, and therefore, after replacing the content at the target position with the first content, the method further comprises: and if the first user edits at the target position, marking the target position with conflict.
And step 105, if the conflict mark is not marked, submitting the edited content included by the target record to a server.
Specifically, if the target record is not marked with a conflict mark, it indicates that other users have not edited at the position included in the target record, and no conflict occurs, the edited content included in the target record may be submitted to the server. The server updates the corresponding master version of the document and can send the edited content included in the target record to other users.
And 106, if the conflict mark is marked, displaying conflict comparison contents and outputting a plurality of operation options.
Specifically, if the target record is marked with a conflict mark, it indicates that another user has edited the location included in the target record and a conflict occurs, a conflict comparison may be presented in the private view, and the conflict comparison may specifically include: the first user's edited content at the location and the other user's user content at the location. Meanwhile, a number of operational options may be displayed in the private view, including but not limited to: discard, replace, or manually merge. In this way, the first user can finally determine whether to submit the edited content of the first user at the position to the server or accept the edited content of other users at the position by reading the conflict comparison content, and then input an operation instruction by selecting an operation option.
Wherein, the operation instruction may include: discard, replace, or manually merge.
And step 108, operating the document in the private view according to the operation instruction.
In one example, if the operation instruction input by the first user is discarding, the edited content included in the target record is submitted to the server. And if the operation instruction input by the first user is replacement, replacing the content of the position included in the target record in the private view with the edited content of other users, and submitting the replaced edited content to the server. And if the operation instruction input by the first user is manual merging, submitting the edited content to the server after the first user edits the position included in the target record in the private view. After receiving the editing content sent by the first device, the server updates the main version corresponding to the document and can send the editing content to other users.
By using the online document editing method provided by the embodiment of the invention, the user locally creates the private view corresponding to the document, and edits the document in the private view, so that the edited content is only recorded locally, and cannot be directly submitted to a server and synchronized with other users through the server. And the method can not directly show the edited contents of other users in the private view, but firstly judges whether the user is edited at the same position, if the user is also edited at the same position, the edited contents of other users are not directly shown in the private view, but the user subsequently and automatically selects whether to accept the edited contents of other users. Based on the method, under the scene of continuously editing the content in the multi-person cooperation, not only can the content relevance be prevented from being damaged, but also the cooperation of online document editing by multiple persons can be ensured, and therefore the user experience is improved.
An embodiment of the present invention provides an editing apparatus for an online document, and fig. 3 is a structural diagram of the editing apparatus for an online document. The device is applied to a first device used by a first user to open a private view corresponding to a document, and as shown in fig. 3, the online document editing device comprises:
a receiving unit 301, configured to receive a first instruction, input by the first user, to view a change list in the private view, where the change list is used to store a record of editing the document in the private view by the first user, and the record includes: location and editing content;
a presentation unit 302 configured to present the change list in the private view according to the first instruction;
the receiving unit 301 is further configured to receive a second instruction input by the first user, where the second instruction is used to instruct the first user to select at least one target record from the change list and submit the at least one target record to a server;
a determining unit 303, configured to determine, according to the second instruction, whether a position included in each target record is marked with a conflict mark, where the conflict mark is used to indicate that other users have edited at the same position;
an operation unit 304, configured to submit the editing content included in the target record to the server if the conflict mark is not marked;
the display unit 302 is further configured to display conflict comparison content and output a plurality of operation options if the conflict mark is marked, so that the first user inputs an operation instruction according to the operation options;
the receiving unit 301 is further configured to receive an operation instruction input by the first user;
the operation unit 304 is further configured to operate on the document in the private view according to the operation instruction.
Preferably, the receiving unit 301 is further configured to receive first content edited by a second user on the document using a second device; the judging unit 303 is further configured to determine a corresponding target location of the first content in the private view; judging whether a record comprising the target position exists in the change list or not; the operation unit 304 is further configured to replace the content of the target location with the first content if the content does not exist; and if so, marking the target position in a collision way.
Preferably, the operation unit 304 is further configured to mark a conflict for the target location if the first user edits at the target location after the replacing of the content of the target location with the first content.
Preferably, as shown in fig. 4, the apparatus further includes: a recording unit 305, configured to, if the first user edits the first location in the private view multiple times, determine that the edited content stored in the record in the first location in the change list is the most recently edited content.
By using the online document editing device provided by the invention, the user locally creates the private view corresponding to the document, and edits the document in the private view, so that the edited content is only recorded locally and cannot be directly submitted to a server and synchronized with other users through the server. And the method can not directly show the edited contents of other users in the private view, but firstly judges whether the user is edited at the same position, if the user is also edited at the same position, the edited contents of other users are not directly shown in the private view, but the user subsequently and automatically selects whether to accept the edited contents of other users. Based on the method, under the scene of continuously editing the content in the multi-person cooperation, not only can the content relevance be prevented from being damaged, but also the cooperation of online document editing by multiple persons can be ensured, and therefore the user experience is improved.
Next, an electronic apparatus 11 according to an embodiment of the present application is described with reference to fig. 5.
As shown in fig. 5, the electronic device 11 includes one or more processors 111 and memory 112.
The processor 111 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
Memory 112 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 111 to implement the methods of editing online documents of the various embodiments of the present application described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 11 may further include: an input device 113 and an output device 114, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 113 may include, for example, a keyboard, a mouse, and the like.
The output device 114 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 114 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for the sake of simplicity, only some of the components of the electronic device 11 relevant to the present application are shown in fig. 5, and components such as buses, input/output interfaces, and the like are omitted. In addition, the electronic device 11 may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of editing an online document according to various embodiments of the present application described in the "exemplary methods" section of this specification above.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method of editing an online document according to various embodiments of the present application described in the "exemplary methods" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.
Claims (12)
1. A method for editing an online document, the method being applied to a first device used by a first user to open a private view corresponding to the document, the method comprising:
receiving a first instruction input by the first user to view a change list in the private view, the change list being used to maintain a record of the first user editing the document in the private view, the record comprising: location and editing content;
presenting the list of alterations in the private view in accordance with the first instruction;
receiving a second instruction input by the first user, wherein the second instruction is used for instructing the first user to select at least one target record from the change list and submitting the at least one target record to a server;
judging whether the position included in each target record is marked with a conflict mark or not according to the second instruction, wherein the conflict mark is used for indicating other users to edit at the same position;
if the target record is not marked with the conflict mark, submitting the editing content included in the target record to the server;
if the conflict mark is marked, displaying conflict comparison contents, and outputting a plurality of operation options so that the first user inputs an operation instruction according to the operation options;
receiving an operation instruction input by the first user;
and operating the document in the private view according to the operation instruction.
2. The method of claim 1, further comprising:
receiving first content edited by a second user on the document by using a second device;
determining a corresponding target location of the first content in the private view;
judging whether a record comprising the target position exists in the change list or not;
if not, replacing the content of the target position with the first content;
and if so, marking the target position in a collision way.
3. The method of claim 2, wherein after the replacing the content of the target location with the first content, the method further comprises:
and if the first user edits at the target position, performing conflict marking on the target position.
4. The method of claim 1, further comprising:
and if the first user edits the first position in the private view for multiple times, the change list comprises the edited content stored in the record of the first position as the latest edited content.
5. The method of claim 1, wherein the operation instruction comprises: discard, replace, or manually merge.
6. An apparatus for editing an online document, the apparatus being applied to a first device used by a first user to open a private view corresponding to the document, the apparatus comprising:
a receiving unit, configured to receive a first instruction, input by the first user, to view a change list in the private view, where the change list is used to store a record of editing the document in the private view by the first user, and the record includes: location and editing content;
a presentation unit configured to present the alteration list in the private view according to the first instruction;
the receiving unit is further configured to receive a second instruction input by the first user, where the second instruction is used to instruct the first user to select at least one target record from the change list and submit the at least one target record to a server;
the judging unit is used for judging whether the position included in each target record is marked with a conflict mark according to the second instruction, wherein the conflict mark is used for indicating other users to edit at the same position;
an operation unit, configured to submit the editing content included in the target record to the server if the conflict mark is not marked;
the display unit is further configured to display conflict comparison content and output a plurality of operation options if the conflict mark is marked, so that the first user inputs an operation instruction according to the operation options;
the receiving unit is further used for receiving an operation instruction input by the first user;
the operation unit is further used for operating the document in the private view according to the operation instruction.
7. The apparatus of claim 6,
the receiving unit is further configured to receive first content edited by a second user on the document using a second device;
the judging unit is further configured to determine a corresponding target location of the first content in the private view; judging whether a record comprising the target position exists in the change list or not;
the operation unit is further used for replacing the content of the target position with the first content if the first content does not exist; and if so, marking the target position in a collision way.
8. The apparatus according to claim 7, wherein the operating unit is further configured to mark a conflict for the target location if the first user edits at the target location after the replacing of the content of the target location with the first content.
9. The apparatus of claim 6, further comprising:
and the recording unit is used for editing the first position in the private view for multiple times by the first user, and the editing content stored in the record of the first position in the change list is the latest editing content.
10. The apparatus of claim 6, wherein the operation instructions comprise: discard, replace, or manually merge.
11. A computer-readable storage medium storing a computer program for executing the method for editing an online document according to any one of claims 1 to 5.
12. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the online document editing method of any one of the claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011494441.3A CN112232040B (en) | 2020-12-17 | 2020-12-17 | Online document editing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011494441.3A CN112232040B (en) | 2020-12-17 | 2020-12-17 | Online document editing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112232040A true CN112232040A (en) | 2021-01-15 |
CN112232040B CN112232040B (en) | 2021-04-16 |
Family
ID=74124138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011494441.3A Active CN112232040B (en) | 2020-12-17 | 2020-12-17 | Online document editing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112232040B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115829189A (en) * | 2023-02-08 | 2023-03-21 | 安徽深迪科技有限公司 | Visual scheduling method and device for intelligent factory big data |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8196029B1 (en) * | 2000-06-21 | 2012-06-05 | Microsoft Corporation | System and method for enabling simultaneous multi-user electronic document editing |
CN103914439A (en) * | 2013-01-04 | 2014-07-09 | ***通信集团公司 | Method, device and system for online document edition |
CN104717242A (en) * | 2013-12-12 | 2015-06-17 | 鸿合科技有限公司 | Method of editing shared file by multiple users, server and user side |
US20160072922A1 (en) * | 2014-09-09 | 2016-03-10 | Dropbox, Inc. | Managing edits of content items |
CN106663089A (en) * | 2014-06-30 | 2017-05-10 | 微软技术许可有限责任公司 | Intelligent conflict detection and semantic expression of document edits |
CN109918601A (en) * | 2019-02-03 | 2019-06-21 | 广州视源电子科技股份有限公司 | Method and device for editing online document, computer equipment and storage medium |
CN111914520A (en) * | 2019-05-09 | 2020-11-10 | 富泰华工业(深圳)有限公司 | Document collaborative editing method and device, computer device and storage medium |
-
2020
- 2020-12-17 CN CN202011494441.3A patent/CN112232040B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8196029B1 (en) * | 2000-06-21 | 2012-06-05 | Microsoft Corporation | System and method for enabling simultaneous multi-user electronic document editing |
CN103914439A (en) * | 2013-01-04 | 2014-07-09 | ***通信集团公司 | Method, device and system for online document edition |
CN104717242A (en) * | 2013-12-12 | 2015-06-17 | 鸿合科技有限公司 | Method of editing shared file by multiple users, server and user side |
CN106663089A (en) * | 2014-06-30 | 2017-05-10 | 微软技术许可有限责任公司 | Intelligent conflict detection and semantic expression of document edits |
US20160072922A1 (en) * | 2014-09-09 | 2016-03-10 | Dropbox, Inc. | Managing edits of content items |
CN109918601A (en) * | 2019-02-03 | 2019-06-21 | 广州视源电子科技股份有限公司 | Method and device for editing online document, computer equipment and storage medium |
CN111914520A (en) * | 2019-05-09 | 2020-11-10 | 富泰华工业(深圳)有限公司 | Document collaborative editing method and device, computer device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115829189A (en) * | 2023-02-08 | 2023-03-21 | 安徽深迪科技有限公司 | Visual scheduling method and device for intelligent factory big data |
CN115829189B (en) * | 2023-02-08 | 2023-05-05 | 安徽深迪科技有限公司 | Visual scheduling method and device for big data of intelligent factory |
Also Published As
Publication number | Publication date |
---|---|
CN112232040B (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101608099B1 (en) | Simultaneous collaborative review of a document | |
CN102016834B (en) | Conflict resolution | |
CN111625161B (en) | Label processing method and device and electronic equipment | |
CN110023927B (en) | System and method for applying layout to document | |
US20060015807A1 (en) | Automatically generated compatibility reports | |
JP2010092501A (en) | Error notification method and error notification device | |
KR20140048154A (en) | Automatic task extraction and calendar entry | |
US20140019854A1 (en) | Reviewer feedback for document development | |
EP1744254A1 (en) | Information management device | |
CN109213945A (en) | The License Management of document based on cloud | |
CN112232040B (en) | Online document editing method and device | |
US20170115856A1 (en) | Intelligent embedded experience gadget selection | |
JP2010191519A (en) | Document management device, method, and program | |
CN104346035A (en) | Indicating automatically corrected words | |
US11243934B1 (en) | Systems and methods for copying and pasting suggestion metadata | |
JP5141460B2 (en) | Control program, information processing system, and information processing method | |
US20080052290A1 (en) | Session File Modification With Locking of One or More of Session File Components | |
CN114546205A (en) | Method and device for editing display information | |
WO2023237024A1 (en) | Document collaboration method and device and storage medium | |
US8234563B1 (en) | Editing of customised documents | |
US8051431B2 (en) | Apparatus and method for input management | |
JP2023058592A (en) | Information processing system, control method thereof, and program | |
CN116360763A (en) | Method and device for rapidly generating RPA application | |
CN112241503A (en) | Comment display method and device for online document | |
EP3425510B1 (en) | Automated testing method for application program user interface, electronic device, system, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |