A multi-level online rich text editing method
Through the multi-level online rich text editing method, the document hierarchy and editable area are defined, and only users with permissions are allowed to edit. Combined with information summary and encryption mechanism, the legality problem caused by the arbitrary editing rights in existing online document editing is solved. It realizes the legality and reliability of documents, supports multimedia editing, adapts to management permissions, and realizes the real implementation of paperless office.
Patent Information
- Application Number
- CN202110079020.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-21
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-01-21
AI Technical Summary
When the existing online document editing method is collaboratively edited by multiple people, the editor can modify the document content at will, which makes it difficult to guarantee the document format and legality, especially in scenarios such as official document circulation and contract signing, which hinders the reliability of paperless office.
Using a multi-level online rich text editing method, by defining document hierarchy and editable areas, only allow co-writers to edit within their permissions, support multimedia forms, and prevent tampering through information digest and encryption mechanisms, ensuring that only users with permissions are allowed Specific content can be edited and read.
It effectively avoids editing conflicts, ensures the legality and reliability of documents, supports multimedia editing, adapts to management permissions, and realizes the real implementation of paperless office.
Smart Images

Figure CN112580311B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a multi-level online rich text editing method. Background Art
[0002] Document editing is an important field of computer development. There are many existing document editing technologies, among which the most famous ones are Microsoft's WORD editor, Adobe's Acrobat editor, etc. With the continuous development of network technology, online document editors have gradually become popular. Common multi-person collaborative editing methods include editing methods based on collaborative document operating systems such as GoogleDocs and Graphite, multi-person collaborative document editing operation methods, and the establishment of compound documents. Compared with traditional offline editors, online editing allows multiple people to collaborate on editing the same document, which brings great convenience to people's work. However, among the various existing online editing methods, in the scenario of multi-person online editing, each editor has full editing rights when editing and can modify the original content of the document at will, which will destroy the format and content of the original document. Especially in application scenarios such as official document circulation, contract signing, form filling, and examinations, allowing all editors to edit at will will not guarantee the legitimacy and reliability of electronic documents, and therefore seriously hinders paperless office in the corresponding scenarios. Summary of the invention
[0003] In order to overcome the above-mentioned defects of the prior art, the present invention provides a multi-level online rich text editing method, so that when multiple people collaborate to edit a document, the co-authors can only edit the content they have the right to edit and cannot change other contents of the document.
[0004] The technical solution of the present invention is: a multi-level online rich text editing method, comprising the following steps:
[0005] 1) Document definition: includes the following steps (or sub-steps):
[0006] a) Document loading: The document creator loads the edited basic document or the saved MLED (multi-level editable document) file;
[0007] b) Definition: The document creator defines the hierarchy on the existing content of the loaded document, and defines the co-authors and editable areas for each newly defined hierarchy. The definition of the base file is the original definition, and the definition of the existing MLED file is a redefinition based on the existing definition;
[0008] c) Document saving: The document creator saves the defined document as an MLED file.
[0009] Saving the originally defined base document as an MLED file creates a new MLED file.
[0010] Each MLED file has only one document creator.
[0011] The number of co-writers defined at each level should generally be one to avoid confusion.
[0012] The same user is usually defined as a co-author at only one level. However, the same user can be defined as a co-author at multiple levels according to actual management needs.
[0013] There are one or more editable areas defined at each level.
[0014] 2) Collaborative writing: includes the following steps (or sub-steps):
[0015] a) Document loading: The co-author loads the saved MLED file.
[0016] b) Writing: The co-writer writes and / or re-writes the editable area of the corresponding level (i.e., the level where the user is defined as a co-writer);
[0017] c) Document saving: The co-author saves the completed document (including re-writing) as an MLED file.
[0018] The system can maintain the records of all modifications, loading and saving of the same MLED file.
[0019] The method may further comprise the steps of:
[0020] 3) Shared reading, including the following steps (or sub-steps):
[0021] a) Document loading: The shared reader loads the saved MLED file;
[0022] b) Reading: The shared reader reads the loaded document content.
[0023] Exit after reading without modifying the MLED file or saving the MLED file anew.
[0024] The basic document may be an ordinary document, the content of which is composed of any one or more forms of text, images and graphics, and may also contain other content or be in other document forms.
[0025] The content edited in the editable area constitutes the content of the corresponding level. The level (edit or content of the editable area) supports multimedia forms such as text, images, graphics, audio and video, and also supports setting hyperlinks.
[0026] According to actual management requirements, the document creator can be assumed to have no writing permission at any level or to have writing permission at all levels. When the document creator is assumed to have no writing permission at any level, the document creator can be defined as a co-author at a certain level to obtain the writing permission at that level.
[0027] The system identifies the user's identity and permissions, including or excluding hierarchical reading permissions. Usually, reading permissions can be set in layers or not. Users without reading permissions cannot read (load) the file. When reading permissions are set in layers, users who do not have reading permissions for the corresponding level cannot read that level.
[0028] Usually, a co-author has the read permission for the entire file, which can be obtained by the system default when defining the co-author. A co-author can also have the read permission of its corresponding level by default but not the read permission of other levels unless the read permission of that level is obtained.
[0029] Normally, users granted read access at any level also gain read access to the contents of the underlying file.
[0030] The setting of reading permissions can be based on actual management requirements.
[0031] When the document creator or co-author edits online, the system provides a service that is responsible for encryption and decryption.
[0032] The keys at each level are independent of each other.
[0033] The preferred key has a time limit. After the specified time limit has expired, the system will replace the key for the corresponding level of content and re-encrypt it.
[0034] The preferred hierarchy is sequential, and if the content in the lower hierarchy is not edited, the corresponding content in the upper hierarchy cannot be edited.
[0035] The setting of levels and their order should be adapted to actual management requirements.
[0036] During the document definition and collaborative writing process (steps), the system extracts the corresponding document information summary for the loaded basic document or edited level. When any user requests to load a saved MLED file, the system extracts the corresponding document information summary for the MLED file to be loaded in the same way, and performs anti-tampering verification based on the information summary. If the anti-tampering verification fails, the system issues a warning and refuses to load.
[0037] The existence of tampering can be determined by comparing the original document information summary with the currently extracted corresponding document information summary.
[0038] The beneficial effects of the present invention are as follows: since multiple levels are set and corresponding co-authors are defined for each level, only co-authors with corresponding permissions can edit the editable areas of the corresponding levels, thereby preventing people who do not have corresponding editing permissions from editing the relevant content of the document, ensuring that all content is edited by authorized persons during the collaborative editing process, and being able to effectively implement parallel editing and avoid conflicts; since the editable areas are defined, the legality of the editing is further guaranteed; since each level will cover the relevant content of the next level, it is adapted to the existing management methods and can conveniently implement management permissions in reality; since the information summary of the document is extracted and tamper-proof verification is performed, the document can be effectively prevented from being tampered with; since the editable area supports multimedia editing, it can better meet user needs and is conducive to realizing a truly paperless office. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the MLED document structure of the present invention;
[0040] Figure 2 It is a schematic diagram of the MLED document definition process of the present invention;
[0041] Figure 3 It is a schematic diagram of the MLED document writing process of the present invention;
[0042] Figure 4 It is a schematic diagram of the MLED document reading process of the present invention. DETAILED DESCRIPTION
[0043] See also Figure 1-4 In view of the actual needs, the present invention proposes a new document type - multi-level editable document (MLED for short).
[0044] MLED files have the following characteristics:
[0045] 1) MLED is a rich text document that supports any media format and has transparent encryption function. The document is readable and editable online, but not readable offline;
[0046] 2) MLED allows multiple people to share and collaborate on documents online;
[0047] 3) Each MLED document has one and only one document creator;
[0048] 4) Each MLED document can have multiple co-authors;
[0049] 5) Each MLED document consists of a base document and multiple levels, each level can define multiple editable areas (see Figure 1). The basic document is a common document (text, image and graphic) type, and other advanced levels can support multiple media forms such as text, images, graphics, audio, video, etc. It can also be a hyperlink;
[0050] 6) The content of each level can come from different servers on the network;
[0051] 7) Since it is an online editing, the system will provide a service responsible for encryption and decryption. The keys of each level are independent of each other and have a certain time limit. Once the specified time limit is exceeded, the system will replace the key for the content of that level and re-encrypt it;
[0052] 8) Each user can be granted reading and editing permissions at each level of the document. If a user does not have reading or editing permissions at a certain level, then the user cannot read or edit that level. The system will identify the identity and permissions of the user of the document, implement security management of keys, and implement the binding of keys, identities, permissions, content, and workflows, but the design method of this system is not within the scope of this invention.
[0053] The multi-level online document editing method of the present invention mainly includes three stages: definition (document definition), filling (cooperative writing) and reading (shared reading).
[0054] Only the document creator can define the document. Co-editors can participate in the editing phase. Both the document creator and co-editors can read the document. Other users can also be defined to have reading permissions as shared readers.
[0055] The three-stage workflow is described below.
[0056] 1. Definition phase (see Figure 2 ):
[0057] 1) The document creator loads the edited basic document, such as PDF, WORD, WPS, CAJ files, etc.;
[0058] 2) Losslessly compress and encrypt the document;
[0059] 3) Extract the information digest of the document (no less than SHA256 and SM3) to prevent the document from being modified;
[0060] 4) Define multiple levels on the existing content of the document. Each level can define multiple editable areas (referred to as editing areas) and a co-author (see Figure 1 ), each area can support editing of multiple media formats.
[0061] Each layer will cover the content of the next layer.
[0062] The settings of levels and editable areas also include the following aspects:
[0063] i) The layers should be sequential: if the lower layer area is not edited, the upper layer cannot be edited.
[0064] ii) The editing area can be flexible: if the editing area is insufficient, it can be expanded automatically.
[0065] iii) The editing area has time validity: the readable period and editable period of the editing area can be set.
[0066] After the definition is completed, a new document format will be formed, which is set to "MLED";
[0067] 5) The system will call the encryption service to encrypt the file and save it as an "MLED" file.
[0068] 2. Filling stage (see Figure 3 ):
[0069] 1) The co-author loads the MLED document;
[0070] 2) The system calls the decryption service to decrypt it and performs anti-tampering verification on the information digest (consistent with the method of extracting the document information digest in the first stage). If the document is tampered with, the system will issue a corresponding warning and exit;
[0071] 3) Co-authors can see the contents of the entire document, but can only edit the corresponding level of content. The contents of other levels are visible but cannot be edited or modified;
[0072] 4) The author writes the document content;
[0073] 5) After the content is written, the system will call the encryption service to independently encrypt the level and generate the corresponding information summary;
[0074] 6) Save the document to an appropriate place, such as a corresponding database on the Internet or a local computer.
[0075] 3. Reading stage (see Figure 4 ):
[0076] 1) The reader loads the MLED document;
[0077] 2) The system calls the decryption service to decrypt it and performs anti-tampering verification on the information digest (consistent with the method of extracting document information digest in the first and second stages). If the document is tampered with, the system will issue a corresponding warning and exit;
[0078] 3) Readers can see the content of the document.
[0079] After filling in the MLED document, the document creator can define new levels and the co-editor can perform new editing work.
[0080] A software system (referred to as system) for implementing the method may be set up to implement the method, and registration, confirmation / authorization, login and logout of the system may be implemented according to the prior art.
[0081] The present invention has the following characteristics:
[0082] 1) Document creators can define high-level editable areas based on various types of base files;
[0083] 2) Document readers who do not obtain reading authorization at a certain level will not be able to see the content at that level;
[0084] 3) Co-editors can edit the same rich text document online, and each editor can only edit the editable area corresponding to his or her own level.
[0085] Unless otherwise specified or one preferred or optional technical means is a further limitation of another technical means, all preferred and optional technical means disclosed in the present invention can be arbitrarily combined to form several different technical solutions.
Claims
1. A multi-level online rich text editing method, characterized in that It includes three stages: definition, filling and reading. The workflow of the three stages is as follows: 1) Definition phase: 1) The document creator loads the edited basic document; 2) Losslessly compress and encrypt the document; 3) Extract the information summary of the document to prevent the document from being modified; 4) Define multiple levels based on the existing content of the document. Each level allows the definition of multiple editable areas and a co-author. Each area can support editing in multiple media formats. Each layer will cover the content of the next layer. The settings of levels and editable areas also include the following aspects: i) The layers are sequential: if the lower layer area is not edited, the upper layer cannot be edited; ii) The editing area is flexible: if the editing area is insufficient, it can be expanded automatically; iii) The editing area has timeliness: the readable period and editable period of the editing area can be set. 5) After the definition is completed, a new document format will be formed and set to "MLED"; 6) The system will call the encryption service to encrypt the document and save it as an "MLED" file; II) Filling stage: 1) The co-author loads the MLED document; 2) The system calls the decryption service to decrypt it, and uses the same method as the first stage to extract the document information summary to verify the anti-tampering of the information summary. If the document is tampered with, the system will issue a corresponding warning and exit; 3) Co-authors can see the contents of the entire document, but can only edit the corresponding level of content. The contents of other levels are visible but cannot be edited or modified; 4) The author writes the document content; 5) After the content is written, the system will call the encryption service to independently encrypt the level and generate the corresponding information summary; 6) Save the document to an appropriate place; III) Reading stage: 1) The reader loads the MLED document; 2) The system calls the decryption service to decrypt it, and uses the same method as the first and second stages to extract the document information digest to verify the tamper-proof of the information digest. If the document is tampered with, the system will issue a corresponding warning and exit; 3) The reader can see the content of the document, If a document reader does not obtain reading authorization at a certain level, he or she will not be able to see the content at that level; Allow document creators to define new levels after the MLED document is filled out, and co-editors can perform new editing work; Allows document creators to define high-level editable regions based on various types of base files; Allow co-editors to edit the same rich text document online. Each editor can only edit the editable area corresponding to his or her own level. Allow multiple people to share collaboratively written documents online; Each MLED document has one and only one document creator; Allow multiple co-authors for each MLED document; Each MLED document consists of a base document and multiple levels, each level can define multiple editable areas; Allows each level of content to come from different servers on the network.
Citation Information
Patent Citations
Cooperative document processing method
CN106649235A
Word document online collaborative editing method and system
CN108269063A
Online document reading system based on OpenOffice
CN108536661A
A collaborative editing system authority management method based on a quantum key distribution (QKD) network
CN109714155A
System and method for collaboratively editing a composite document
US20120185759A1
