Document modification difference display method and device

By generating the process to instantiate the document and identify the document's different content, the problem of difficulty in intuitively displaying and modifying the difference in online document collaborative editing is solved, and the accuracy and efficiency of editing is improved.

CN112784530BActive Publication Date: 2024-12-20INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110180755.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-08
Publication Date
2024-12-20
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

The existing online document collaborative editing technology of multiple people is difficult to intuitively display the differences in document modification, which leads to users who need to check historical data for comparison, which is time-consuming and labor-intensive.

Method used

By generating process instantiated documents, identifying document differential content data, setting process node status for different display, using Web data monitoring module, document tree structure storage module, data synchronization difference comparison module and difference display module to achieve efficient document modification differences exhibit.

Benefits of technology

Improve the accuracy and efficiency of multi-person shared editing, and users can quickly identify document modification records, saving time and effort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112784530B_ABST
    Figure CN112784530B_ABST
Patent Text Reader

Abstract

The present invention discloses a document modification difference display method and device, which can be used in the financial field or other technical fields. The method comprises: obtaining modified document data obtained by modifying original document data; generating a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node; setting the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and setting the current state of each process node in the process instantiation document corresponding to the modified document data to initiated; determining the document difference content data between the modified document data and the original document data; and identifying the document difference content data in the process instantiation document corresponding to the modified document data. The present invention is helpful to improve the accuracy of multi-person shared editing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-person collaborative editing of documents, and in particular to a method and device for displaying document modification differences. Background Art

[0002] With the development of modern computer technology, project development has gradually shifted to an agile model, and multi-person and multi-team collaborative work has become more and more common, such as multi-person collaborative editing of online documents. Currently, it is difficult for users of online multi-person collaborative editing to intuitively see the content of the last edit of a document. Usually, they need to check historical data and compare to verify the content of the last edit of the document, which is time-consuming and laborious. The existing technology lacks a method that can efficiently display document modification differences. Summary of the invention

[0003] In order to solve the technical problems in the above-mentioned background technology, the present invention proposes a document modification difference display method and device.

[0004] In order to achieve the above object, according to one aspect of the present invention, a method for displaying document modification differences is provided, the method comprising:

[0005] Obtaining modified document data obtained by modifying the original document data;

[0006] By taking each document part in the modified document data as a process node, generating a process instantiation document corresponding to the modified document data;

[0007] Setting the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and setting the current state of each process node in the process instantiation document corresponding to the modified document data to initiated;

[0008] Determining document difference content data between the modified document data and the original document data;

[0009] The document difference content data is identified in the process instantiation document corresponding to the modified document data.

[0010] Optionally, the generating a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node specifically includes:

[0011] Obtaining each document part in the modified document data;

[0012] Taking each of the document parts as a process node, generating a workflow corresponding to the modified document data, wherein the process node stores the data content of the corresponding document part;

[0013] The workflow is instantiated into a document to obtain a process instantiation document corresponding to the modified document data.

[0014] Optionally, the process instantiation document corresponding to the original document data is obtained by taking each document part in the original document data as a process node to generate a workflow corresponding to the original document data, and then instantiating the workflow corresponding to the original document data into a document.

[0015] Optionally, the document part is a chapter, and the document difference content data includes: difference chapters and difference content corresponding to the difference chapters.

[0016] Optionally, the document modifies the difference display method and also includes:

[0017] Obtaining the document modification time and the document modification user corresponding to the modified document data;

[0018] The document modification time and the document modification user are identified in the process instantiation document corresponding to the modified document data.

[0019] Optionally, the original document data and the modified document data both contain multiple document parts; the original document data and the modified document data are both stored in the data form of each document part.

[0020] Optionally, the document part is one of: a chapter, a page and a paragraph.

[0021] In order to achieve the above object, according to another aspect of the present invention, a document modification difference display device is provided, the device comprising:

[0022] A Web data monitoring module is used to obtain modified document data obtained by modifying the original document data;

[0023] A document tree structure storage module, used to generate a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node; and used to set the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and set the current state of each process node in the process instantiation document corresponding to the modified document data to initiated;

[0024] A data synchronization difference comparison module, used to determine document difference content data between the modified document data and the original document data;

[0025] The difference display module is used to identify the document difference content data in the process instantiation document corresponding to the modified document data.

[0026] In order to achieve the above-mentioned purpose, according to another aspect of the present invention, a computer device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned document modification difference display method when executing the computer program.

[0027] In order to achieve the above-mentioned purpose, according to another aspect of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed in a computer processor, the steps in the above-mentioned document modification difference display method are implemented.

[0028] The beneficial effects of the present invention are as follows: after a user modifies a document, the present invention generates a process instantiation document corresponding to the modified document data, and sets each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and sets each process node in the process instantiation document corresponding to the modified document data to initiated, and identifies the document difference content data in the process instantiation document corresponding to the modified document data, thereby solving the technical problem that it is difficult for a user to intuitively see the content of the last edit made to a document, and helping to improve the accuracy and efficiency of shared editing by multiple people. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0030] Figure 1 is a first flow chart of a method for displaying document modification differences according to an embodiment of the present invention;

[0031] Figure 2 is a flow chart of generating a process instantiation document according to an embodiment of the present invention;

[0032] Figure 3 is a second flow chart of the document modification difference display method according to an embodiment of the present invention;

[0033] Figure 4It is a structural block diagram of a document modification difference display device according to an embodiment of the present invention;

[0034] Figure 5 This is a schematic diagram of the operation of the document modification difference display device according to an embodiment of the present invention;

[0035] Figure 6 It is a schematic diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0037] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0038] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.

[0039] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0040] It should be noted that the document modification difference display method and device of the present invention can be used in the financial field, and can also be used in other technical fields.

[0041] Figure 1 is a first flow chart of the document modification difference display method according to an embodiment of the present invention. Figure 1 As shown, the document modification difference display method of this embodiment includes steps S101 to S105.

[0042] Step S101, obtaining modified document data obtained by modifying original document data.

[0043] In one embodiment of the present invention, the original document data and the modified document data both include multiple document parts; the original document data and the modified document data are both stored in the data form of each document part. In one embodiment of the present invention, the document part can be one of: a chapter, a page, and a paragraph. In the following embodiments, the document part is often used as an example of a chapter.

[0044] In one embodiment of the present invention, the original document data and the modified document data are both stored in the database in the form of data of each document part in the html format. Specifically, the document part is a chapter, and the original document data and the modified document data are both stored in the database in the form of data of each chapter.

[0045] In one embodiment of the present invention, the user edits and modifies the original document data on the front end, and the document data modified by the user is stored in a preset database. In one embodiment of the present invention, the present invention sets a Web monitoring module for monitoring the user's front end behavior. If the user only opens the document for viewing and there is no modification and saving trigger, no operation is performed; if the user opens the document and modifies and saves it, the Web monitoring module is triggered to record the document modification time, the document modification user, and the modified document data.

[0046] Step S102: Generate a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node.

[0047] In an embodiment of the present invention, the present invention uses each chapter (each document part) in the modified document data as a process node, each process node stores the data content of the corresponding chapter, and generates a workflow corresponding to the modified document data. In an optional embodiment of the present invention, the present invention can create a workflow based on the Activiti process framework. After the workflow corresponding to the modified document data is generated, the workflow can be instantiated into a document and displayed on the front end. Specifically, the workflow can be instantiated into a tree structure document displayed in the form of html.

[0048] Step S103, setting the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and setting the current state of each process node in the process instantiation document corresponding to the modified document data to initiated.

[0049] In one embodiment of the present invention, the process instantiation document corresponding to the original document data is obtained by taking each document part in the original document data as a process node to generate the workflow corresponding to the original document data, and then instantiating the workflow corresponding to the original document data into a document.

[0050] In the present invention, since the front end always displays the process instantiation document whose process node is initiated, in order to display the latest document (i.e., the modified document) in real time, it is necessary to set each process node in the process instantiation document corresponding to the original document data from initiated to stopped when generating the process instantiation document corresponding to the modified document data, and set each process node in the process instantiation document corresponding to the modified document data to initiated.

[0051] Figure 5 A schematic diagram showing the process instantiation document corresponding to the generated document data is shown. Figure 5 The process instantiation document 2 in the figure is the process instantiation document corresponding to the modified document data, and the process instantiation document 1 is the process instantiation document corresponding to the original document data. After the user modifies the original document data and obtains the modified document data, the process instantiation document 2 is generated, and each process node in the process instantiation document 2 is set to initiated, and each process node in the process instantiation document 1 is set from initiated to stopped.

[0052] Step S104: determining document difference content data between the modified document data and the original document data.

[0053] In one embodiment of the present invention, the original document data and the modified document data are both stored in a database in HTML format and in the form of data for each document part. The present invention can perform data verification on the two HTML format document data to determine the document difference content data, wherein spaces can be ignored during data verification.

[0054] In one embodiment of the present invention, the document part is a chapter, and the document difference content data includes: a difference chapter and difference content corresponding to the difference chapter. In the embodiment of the present invention, there may be multiple difference chapters.

[0055] In an embodiment of the present invention, after determining the document difference content data, this step can pass the document difference content data in json format to a preset difference display module, so that the difference display module displays the document difference content on the front end.

[0056] Step S105 , identifying the document difference content data in the process instantiation document corresponding to the modified document data.

[0057] In the embodiment of the present invention, since the front end always displays the process instantiation document for which the process node has been initiated, after receiving the document difference content data, the difference display module first determines that each process node is an initiated process instantiation document, that is, the process instantiation document corresponding to the modified document data, and then identifies the document difference content data in the process instantiation document corresponding to the modified document data. In an optional embodiment of the present invention, the document difference content data can be identified by adding color or the like, so as to facilitate intuitive identification by the user.

[0058] It can be seen that after the user modifies the document, the present invention generates a process instantiation document corresponding to the modified document data, and sets each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and sets each process node in the process instantiation document corresponding to the modified document data to initiated, and identifies the document difference content data in the process instantiation document corresponding to the modified document data, which solves the technical problem that it is difficult for users to intuitively see the content of the last edit of the document, and helps to improve the accuracy and efficiency of shared editing by multiple people.

[0059] Figure 2 is a flowchart of generating a process instantiation document according to an embodiment of the present invention, such as Figure 2 As shown, the above step S102 of generating a process instantiation document corresponding to the modified document data specifically includes steps S201 to S203.

[0060] Step S201, obtaining each document part in the modified document data.

[0061] Step S202: taking each of the document parts as a process node, generating a workflow corresponding to the modified document data, wherein the process node stores the data content of the corresponding document part.

[0062] In an embodiment of the present invention, the present invention uses each chapter (each document part) in the modified document data as a process node, each process node stores the data content of the corresponding chapter, and generates a workflow corresponding to the modified document data. In an optional embodiment of the present invention, the present invention can create a workflow based on the Activiti process framework.

[0063] Step S203: instantiate the workflow into a document to obtain a process instantiation document corresponding to the modified document data.

[0064] In the embodiment of the present invention, after the workflow corresponding to the modified document data is generated, the workflow can be instantiated into a document and displayed on the front end. Specifically, the workflow can be instantiated into a document with a tree structure displayed in the form of HTML.

[0065] Figure 3 is a second flow chart of the document modification difference display method according to an embodiment of the present invention. Figure 3 As shown, in one embodiment, the document modification difference display method of the embodiment of the present invention also includes step S301 and step S302.

[0066] Step S301, obtaining the document modification time and the document modification user corresponding to the modified document data.

[0067] Step S302: Identify the document modification time and the document modification user in the process instantiation document corresponding to the modified document data.

[0068] In an optional embodiment of the present invention, this step may specifically include the document modification time and the document modification user identifier in the document difference content data.

[0069] It can be seen from the above embodiments that the present invention solves the problem that multiple people cannot view the document modification records in real time when editing a document online, and provides a method for viewing the online document difference records in real time when multiple people assist in online document editing. The specific advantages of the present invention are as follows:

[0070] 1. When multiple people edit a document online, they can accurately locate the last modification information of the online document without querying the historical records;

[0071] 2. While solving the problem of multi-person online collaborative office, accurate difference display improves the integrity and quality of documents, and greatly improves the quality output of documents and saves R&D costs during the R&D process.

[0072] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0073] Based on the same inventive concept, an embodiment of the present invention also provides a document modification difference display device, which can be used to implement the document modification difference display method described in the above embodiment, as described in the following embodiment. Since the principle of solving the problem by the document modification difference display device is similar to that of the document modification difference display method, the embodiment of the document modification difference display device can refer to the embodiment of the document modification difference display method, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0074] Figure 4 is a structural block diagram of a document modification difference display device according to an embodiment of the present invention. Figure 4 As shown, the document modification difference display device of the embodiment of the present invention includes:

[0075] Web data monitoring module 1, used to obtain modified document data obtained by modifying the original document data;

[0076] A document tree structure storage module 2, used to generate a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node; and used to set the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and set the current state of each process node in the process instantiation document corresponding to the modified document data to initiated;

[0077] A data synchronization difference comparison module 3 is used to determine document difference content data between the modified document data and the original document data;

[0078] The difference display module 4 is used to identify the document difference content data in the process instantiation document corresponding to the modified document data.

[0079] In one embodiment of the present invention, the document tree structure storage module 2 specifically includes:

[0080] A document part acquisition unit, used for acquiring each document part in the modified document data;

[0081] A workflow generation unit, configured to use each of the document parts as a process node to generate a workflow corresponding to the modified document data, wherein the process node stores the data content of the corresponding document part;

[0082] The process instantiation document generating unit is used to instantiate the workflow into a document to obtain a process instantiation document corresponding to the modified document data.

[0083] In one embodiment of the present invention, the difference display module 4 is further used to obtain the document modification time and the document modification user corresponding to the modified document data, and identify the document modification time and the document modification user in the process instantiation document corresponding to the modified document data.

[0084] Figure 5 Schematic diagram of the operation of the document modification difference display device according to an embodiment of the present invention. Figure 5 As shown, the operation of the document modification difference display device of the embodiment of the present invention specifically includes the following steps 01 to 08.

[0085] 01. The front end realizes the interaction function between the server and the web front end through the B / S architecture. After the user completes the editing and saves, the document tree structure storage module is triggered to parse the interactive data, convert it into HTML format and store it in the database according to the data form of each chapter.

[0086] 02. After initiating the Activiti process, Activiti stores each chapter in the document tree structure storage module as a separate node, and synchronizes each chapter node of the tree structure to each process node in Activiti. At the same time, each process node is initialized, the corresponding chapter data is stored, and each process node is assigned as initiated. The entire Activiti process instantiates a tree structure document displayed in HTML format named "Process Instantiation Document 1".

[0087] 03. The Web monitoring module monitors the user's front-end behavior. If the user only opens the document (i.e., the original document data, the document data corresponding to the process instantiation document 1) for viewing, and there is no modification or save trigger, 04 and subsequent operations will not be executed; if the user opens the document and modifies and saves it, the Web monitoring module will be triggered, and the Web will record the document modification time, the document modification user, and the modified document data, and execute 04.

[0088] 04. The Web monitoring module notifies the document tree structure storage module to perform data analysis, record the document modification time and document modification user of the "original document data", and store the modified document data separately according to the storage tree structure mode of step 01 and the "original document data".

[0089] 05. After initiating the process again, according to the editing module stored separately in step 04, a new process instance "Process Instantiation Document 2" is generated in accordance with the tree structure document chapter and the Activiti chapter in step 02, and the status of each process node of the process is recorded as initiated, and the status of the process node of "Process Instantiation Document 1" is set to stopped.

[0090] 06. The data synchronization difference comparison module performs chapter data analysis on the tree structure document content stored in step 01 and the tree structure document content stored in step 04 (i.e., the original document data and the modified document data) in the process of "Process Instantiation Document 1" and "Process Instantiation Document 2" after the instance, performs data verification through the converted html data, and ignores spaces. If there is no difference, 07 and subsequent operations are not executed; if there is one or more chapter data differences, and records the document difference content data, the process node status of "Process Instantiation Document 1" and "Process Instantiation Document 2", the process of "Process Instantiation Document 1" is stopped, and the process status of "Process Instantiation Document 2" is initiated; and reads the document modification time, document modification user, and the html content before and after the difference of the difference chapters during the editing process of step 04 and executes 07.

[0091] 07. The data synchronization difference comparison module passes the document difference content data in json format to the difference display module.

[0092] 08. The difference display module performs data analysis on the transmitted data, matches the status of the corresponding "Process Instantiation Document 1" and "Process Instantiation Document 2" in the corresponding database, and displays the difference chapters and difference contents compared with "Process Instantiation Document 1" in obvious colors from the front-end "Process Instantiation Document 2".

[0093] In order to achieve the above object, according to another aspect of the present application, a computer device is also provided. Figure 6 As shown, the computer device includes a memory, a processor, a communication interface and a communication bus. A computer program that can be executed on the processor is stored in the memory, and the method of the above embodiment is implemented when the processor executes the computer program.

[0094] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0095] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and units, such as the corresponding program units in the above method embodiments of the present invention. The processor executes various functional applications of the processor and works data processing by running the non-transitory software programs, instructions and modules stored in the memory, that is, implementing the method in the above method embodiments.

[0096] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0097] The one or more units are stored in the memory, and when executed by the processor, the method in the above embodiment is performed.

[0098] The specific details of the above-mentioned computer device can be understood by referring to the corresponding related descriptions and effects in the above-mentioned embodiments, and will not be repeated here.

[0099] In order to achieve the above purpose, according to another aspect of the present application, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores a computer program, and the computer program implements the steps in the above-mentioned document modification difference display method when executed in a computer processor. It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program can include the processes of the embodiments of the above-mentioned methods when executed. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0100] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0101] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for displaying document modification differences, characterized in that: include: Obtaining modified document data obtained by modifying the original document data; By taking each document part in the modified document data as a process node, generating a process instantiation document corresponding to the modified document data; Setting the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and setting the current state of each process node in the process instantiation document corresponding to the modified document data to initiated, wherein the front end always displays the process instantiation document whose process node is initiated; Determining document difference content data between the modified document data and the original document data; Identifying the document difference content data in the process instantiation document corresponding to the modified document data; The generating a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node specifically includes: Obtaining each document part in the modified document data; Taking each of the document parts as a process node, generating a workflow corresponding to the modified document data, wherein the process node stores the data content of the corresponding document part; The workflow is instantiated into a document to obtain a process instantiation document corresponding to the modified document data.

2. The document modification difference display method according to claim 1, characterized in that: The process instantiation document corresponding to the original document data is obtained by taking each document part in the original document data as a process node to generate the workflow corresponding to the original document data, and then instantiating the workflow corresponding to the original document data into a document.

3. The document modification difference display method according to claim 1, characterized in that: The document part is a chapter, and the document difference content data includes: a difference chapter and difference content corresponding to the difference chapter.

4. The document modification difference display method according to claim 1, characterized in that: Also includes: Obtaining the document modification time and the document modification user corresponding to the modified document data; The document modification time and the document modification user are identified in the process instantiation document corresponding to the modified document data.

5. The document modification difference display method according to claim 1, characterized in that: The original document data and the modified document data both contain multiple document parts; the original document data and the modified document data are both stored in the data form of each document part.

6. The document modification difference display method according to claim 1, characterized in that: The document part is one of: a chapter, a page and a paragraph.

7. A document modification difference display device, characterized in that: include: A Web data monitoring module is used to obtain modified document data obtained by modifying the original document data; A document tree structure storage module, used to generate a process instantiation document corresponding to the modified document data by taking each document part in the modified document data as a process node; and used to set the current state of each process node in the process instantiation document corresponding to the original document data from initiated to stopped, and set the current state of each process node in the process instantiation document corresponding to the modified document data to initiated, wherein the front end always displays the process instantiation document whose process node is initiated; A data synchronization difference comparison module, used to determine document difference content data between the modified document data and the original document data; A difference display module, used for identifying the document difference content data in the process instantiation document corresponding to the modified document data; The document tree structure storage module includes: A document part acquisition unit, used for acquiring each document part in the modified document data; A workflow generation unit, configured to use each of the document parts as a process node to generate a workflow corresponding to the modified document data, wherein the process node stores the data content of the corresponding document part; The process instantiation document generating unit is used to instantiate the workflow into a document to obtain a process instantiation document corresponding to the modified document data.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed in a computer processor, the computer program implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Document management method

    CN106202136A

  • Multi-person collaborative online document editing method and device

    CN111985191A