Document encryption method and device, document encryption equipment
By generating encryption identifiers and encrypting the encrypted content, the problem of inefficient encryption of local document body when multiple people collaborate on editing online documents is solved, real-time, efficient and secure encryption of document content is achieved.
Patent Information
- Application Number
- CN202111470611.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2041-12-03
AI Technical Summary
When existing online documents are edited by multiple people in collaboratively, the encryption method of local document body is inefficient, resulting in the loss of meaning of document collaboration.
By determining the content to be encrypted in the document, receiving the substitute content when displaying the content to be encrypted, and generating an encryption identifier based on the substitute content, encrypting the content to be encrypted, forming an encryption model.
Real-time, efficient and secure encryption of document content, facilitate the encryption and sharing of local texts of the document, and maintain the efficiency of document collaboration.
Smart Images

Figure CN114239057B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of document encryption, and in particular to a document encryption method and device, and a document encryption device. Background Art
[0002] In the related art, online documents often face the scenario of collaborative editing or reading by multiple people. For a shared online document, if you hope that part of the document text will not be disseminated or edited, you will generally copy the document, delete the content that cannot be disseminated in the copy file, and then share it with others. If you modify the document later, you need to copy and paste the modified content to the copy file in real time. For documents that do not want collaborators to edit a certain part of the text, the author needs to set the current document to be uneditable and undeletable by collaborators, and cannot grant them the authority to directly delete the online document. This actually loses the meaning of document collaboration.
[0003] The above-described method of encrypting the local document body of an online document is very inefficient. Summary of the invention
[0004] The present disclosure provides a document encryption method and apparatus, a document encryption device and a computer-readable storage medium, so as to at least solve the problem that the partial document body encryption method of online documents in the related art is very inefficient. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a document encryption method is provided, comprising: determining content to be encrypted in a document; receiving alternative content when displaying the content to be encrypted, wherein the alternative content is input by a first user account through an encryption control; generating an encryption identifier of the content to be encrypted based on the alternative content; and encrypting the content to be encrypted based on the encryption identifier.
[0006] Optionally, the encryption identifier includes at least: the type of content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
[0007] Optionally, encrypting the content to be encrypted based on the encryption identifier includes: locating the content to be encrypted from the document based on the starting character and the ending character of the content to be encrypted; encrypting the content to be encrypted based on a preset algorithm to generate an encryption model, wherein the encryption model includes the encryption identifier and the target character content; and storing the encryption model.
[0008] Optionally, after encrypting the content to be encrypted according to the encryption identifier, the above method also includes: synchronizing the encryption model to the documents of the first user account and the second user account, and using the encryption model to update the corresponding content to be encrypted in the documents of the first user account and the second user account, wherein the first user account is the author of the document, the second user account includes other users except the first user account, and the first user account and the second user account can collaborate to edit the document.
[0009] Optionally, the encryption model is used to update the corresponding content to be encrypted in the documents of the first user account and the second user account, including: replacing the corresponding content to be encrypted in the documents of the first user account and the second user account with target character content and alternative content, wherein the alternative content is displayed when the second user account views the content to be encrypted.
[0010] Optionally, after using the encryption model to update the corresponding content to be encrypted in the documents of the first user account and the second user account, the above method also includes: using the decoding information corresponding to the encryption model to decode the encryption model in the document of the first user account to obtain the content to be encrypted before encryption.
[0011] Optionally, after encrypting the content to be encrypted according to the encryption identifier, the above method also includes: determining the identity information of the target user account accessing the document; determining the display method when displaying the content to be encrypted in the document to the target user account based on the identity information; and displaying the content to be encrypted to the target user account according to the display method.
[0012] Optionally, the display method of the content to be encrypted in the document to the target user account is determined based on the identity information, including: when the identity information indicates that the target user is a first user account, decoding the encryption model using decoding information corresponding to the encryption model, and displaying the decoded content to be encrypted to the target user account; when the identity information indicates that the target user is a second user account, displaying alternative content to the second user account.
[0013] According to a second aspect of an embodiment of the present disclosure, a document encryption device is provided, comprising: a first determination module, configured to execute determination of content to be encrypted in a document; a receiving module, configured to execute reception of alternative content when displaying the content to be encrypted, wherein the alternative content is input by a first user account through an encryption control; a generation module, configured to execute generation of an encryption identifier of the content to be encrypted based on the alternative content; and an encryption module, configured to encrypt the content to be encrypted based on the encryption identifier.
[0014] Optionally, the encryption identifier includes at least: the type of content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
[0015] Optionally, the encryption module includes: a positioning unit, configured to locate the content to be encrypted from the document based on the starting character and the ending character of the content to be encrypted; an encryption unit, configured to encrypt the content to be encrypted based on a preset algorithm and generate an encryption model, wherein the encryption model includes an encryption identifier and a target character content obtained after encrypting the content to be encrypted; and a storage unit, configured to store the encryption model.
[0016] Optionally, the above-mentioned device method also includes: a synchronization module, configured to execute synchronization of the encryption model to the documents of the first user account and the second user account; an update module, configured to execute the update of the corresponding to-be-encrypted content in the documents of the first user account and the second user account using the encryption model, wherein the first user account is the author of the document, the second user account includes other user accounts except the first user account, and the first user account and the second user account can collaborate to edit the document.
[0017] Optionally, the update module is further configured to replace the corresponding content to be encrypted in the documents of the first user account and the second user account with the target character content and the substitute content, wherein the substitute content is displayed when the second user account views the content to be encrypted.
[0018] Optionally, the above-mentioned device also includes: a decoding module, configured to decode the encryption model in the document of the first user account using decoding information corresponding to the encryption model to obtain the content to be encrypted before encryption.
[0019] Optionally, the above-mentioned device also includes: a second determination module, configured to execute determination of identity information of a target user account for accessing a document; a third determination module, configured to execute determination of a display method for displaying the content to be encrypted in the document to the target user account based on the identity information; and a display module, configured to execute display of the content to be encrypted to the target user account according to the display method.
[0020] Optionally, the third determination module also includes: a first processing unit, configured to execute, when the identity information indicates that the target user account is the first user account, decoding the encryption model using decoding information corresponding to the encryption model, and displaying the decoded content to be encrypted to the target user account; and a second processing unit, configured to execute, when the identity information indicates that the target user account is the second user account, displaying alternative content to the second user account.
[0021] According to a third aspect of an embodiment of the present disclosure, there is provided a document encryption device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the above instructions to implement the above document encryption method.
[0022] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a document encryption device, the document encryption device is enabled to execute the above document encryption method.
[0023] According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product, comprising a computer program / instruction, wherein the computer program / instruction implements the above document encryption method when executed by a processor.
[0024] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: encrypting the partial text of a document to form an encryption model of the document text data, making it convenient for users to encrypt the partial text of a document, thereby sharing the document, and achieving real-time, high efficiency and security of document content encryption.
[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0027] Figure 1 is a flow chart of a document encryption method according to an exemplary embodiment;
[0028] Figure 2a is a schematic diagram showing a content to be encrypted in a selected document according to an exemplary embodiment;
[0029] Figure 2b is a schematic diagram showing a method of setting an encrypted document according to an exemplary embodiment;
[0030] Figure 2c is a schematic diagram showing a case where an encrypted document is shared with other collaborators according to an exemplary embodiment;
[0031] Figure 3a is a schematic diagram showing a method of generating an encryption model according to an exemplary embodiment;
[0032] Figure 3b is a schematic diagram showing a document author accessing an encrypted document according to an exemplary embodiment;
[0033] Figure 3c is a schematic diagram showing another document collaborator accessing an encrypted document according to an exemplary embodiment;
[0034] Figure 4 is a block diagram of a document encryption device according to an exemplary embodiment;
[0035] Figure 5 The invention is a block diagram of a document encryption device for implementing a document encryption method according to an exemplary embodiment. DETAILED DESCRIPTION
[0036] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0038] Figure 1 is a flowchart of a document encryption method according to an exemplary embodiment. Figure 1 As shown, the following steps are included.
[0039] In step S11, the content to be encrypted in the document is determined;
[0040] It should be noted that the above content to be encrypted is local content in the document, and the content type is not limited to plain text, and can be any content that can be carried by a document, such as pictures and tables.
[0041] Figure 2a is a schematic diagram showing a selected content to be encrypted in a document according to an exemplary embodiment. Figure 2a As shown, before an online document is shared with collaborators, the document author edits the online document, and the author can select partial text content (ie, content to be encrypted) in the document.
[0042] In step S12, receiving alternative content when displaying the content to be encrypted, wherein the alternative content is input by the first user account through the encryption control;
[0043] It should be noted that the first user account is the account of the author of the document.
[0044] It should be noted that the above encryption control is generated after the first user selects the area where the content to be encrypted is located.
[0045] Figure 2b is a schematic diagram showing a method of setting an encrypted document according to an exemplary embodiment. Figure 2b As shown, after the author of the document selects the content to be encrypted, he can use the right-click menu or shortcut keys to pop up the encryption setting modal box (i.e. the encryption control mentioned above). In the encryption modal box, you can enter the alternative text of the encrypted content. The default text is "This partial text is only visible to the author himself", and it can also be set to other texts.
[0046] Figure 2c is a schematic diagram showing a method of sharing an encrypted document with other collaborators according to an exemplary embodiment. Figure 2c As shown, after sharing an online document with other collaborators, other collaborators see the partial text set by the author without permission prompt or encrypted content.
[0047] In step S13, an encryption identifier of the content to be encrypted is generated based on the alternative content;
[0048] In step S14, the content to be encrypted is encrypted according to the encryption identifier.
[0049] Through the above steps, users can encrypt part of the document so as to share the document, thus achieving the real-time, efficient and secure encryption of document content.
[0050] According to an optional embodiment of the present application, the encryption identifier in step S13 includes at least: the type of content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
[0051] After setting up partial text encryption of a document, an encryption tag will be generated, which records the type of document content here, the encrypted alternative text, the index of the starting character and the ending character, etc.
[0052] According to another optional embodiment of the present application, step S14 is executed to encrypt the content to be encrypted according to the encryption identifier, which is achieved by the following method: locating the content to be encrypted from the document according to the starting character and the ending character of the content to be encrypted; encrypting the content to be encrypted based on a preset algorithm and generating an encryption model, wherein the encryption model includes the encryption identifier and the target character content; and storing the encryption model.
[0053] Figure 3a is a schematic diagram showing a method of generating an encryption model according to an exemplary embodiment. Figure 3aAs shown, the corresponding content to be encrypted is found from the document through the encryption identifier, and an encryption model is generated based on an asymmetric algorithm such as MD5 for the found content to be encrypted. The encryption model stores the character content that is incomprehensible after encryption (i.e., the target character content in the above text) and the encryption identifier, and the encryption model is saved to the server after encryption.
[0054] It should be noted that, in the above steps, other encryption algorithms may also be used to encrypt the content to be encrypted.
[0055] In some optional embodiments of the present application, after executing step S14 to encrypt the content to be encrypted according to the encryption identifier, the encryption model is synchronized to the documents of the first user account and the second user account, and the encryption model is used to update the corresponding content to be encrypted in the documents of the first user account and the second user account, wherein the first user account is the author of the document, the second user includes other users except the first user, and the first user account and the second user account can collaborate to edit the document.
[0056] Optionally, the encryption model is used to update the corresponding content to be encrypted in the documents of the first user account and the second user account, including: replacing the corresponding content to be encrypted in the documents of the first user account and the second user account with target character content and alternative content, wherein the alternative content is displayed when the second user account views the content to be encrypted.
[0057] In this step, the encrypted incomprehensible character content and the substitute content input by the user through the encryption control are used to replace the content to be encrypted in the document. When the second user account views the content to be encrypted, the substitute content is displayed.
[0058] In this step, the generated encryption model is synchronized in real time to the document author and other online document collaborators for updating, thus achieving the technical effect of real-time encryption of document content.
[0059] In some optional embodiments of the present application, after using the encryption model to update the corresponding content to be encrypted in the documents of the first user account and the second user account, it is also necessary to use the decoding information corresponding to the encryption model to decode the encryption model in the document of the first user account to obtain the content to be encrypted before encryption.
[0060] When the document author operates the document, he uses the decoding information corresponding to the encryption model to decode the encryption model and obtain the content before encryption.
[0061] In an optional embodiment of the present application, after executing step S14 to encrypt the content to be encrypted according to the encryption identifier, the identity information of the target user account accessing the document is determined; the display method when displaying the content to be encrypted in the document to the target user account is determined based on the identity information; and the content to be encrypted is displayed to the target user account according to the display method.
[0062] According to an optional embodiment of the present application, a display method for displaying the content to be encrypted in a document to a target user account is determined based on the identity information, including: when the identity information indicates that the target user account is a first user account, decoding the encryption model using decoding information corresponding to the encryption model, and displaying the decoded content to be encrypted to the target user account; when the identity information indicates that the target user account is a second user account, displaying alternative content to the second user account.
[0063] Figure 3b FIG. 1 is a schematic diagram showing a method for a document author to access an encrypted document according to an exemplary embodiment. Figure 3b As shown, when the document author accesses the document, the server decodes the document according to the user identity, and can also send the decoding information to the front end for decoding. The specific decoding process is: match the corresponding document data through the encryption identifier in the decoding information, then use the decoding information to decode the encrypted data, and render the decoded document data to the view layer, so that the web page displays the content before encryption.
[0064] Figure 3c is a schematic diagram showing another document collaborator accessing an encrypted document according to an exemplary embodiment. Figure 3c As shown in the figure, the server recognizes that the user accessing the document is not the author of the document. When rendering the encrypted model to the view layer, the encrypted alternative text is replaced with the corresponding partial text according to the parsed encryption identifier, thereby changing the web page effect of the document collaborator. Figure 2c , the content to be encrypted seen by other document collaborators is the alternative content in the encryption tag.
[0065] The above method provided in the embodiment of the present application can encrypt the partial body of a document to form an encryption model of the document body data. Through the encryption model shared in a multi-person collaboration scenario, the real-time, high-efficiency and security of document content encryption are achieved.
[0066] Figure 4 is a block diagram of a document encryption device according to an exemplary embodiment. Figure 4 The device comprises: a first determining module 41, a receiving module 42, a generating module 43 and an encrypting module 44, wherein:
[0067] The first determination module 41 is configured to determine the content to be encrypted in the document;
[0068] The receiving module 42 is configured to receive and display alternative content when the content to be encrypted is displayed, wherein the alternative content is input by the first user account through the encryption control;
[0069] The generating module 43 is configured to generate an encryption identifier of the content to be encrypted according to the substitute content;
[0070] The encryption module 44 is configured to encrypt the content to be encrypted according to the encryption identifier.
[0071] According to an optional embodiment of the present application, the encryption identifier includes at least: the type of content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
[0072] According to another optional embodiment of the present application, the encryption module 44 includes: a positioning unit, configured to locate the content to be encrypted from the document based on the starting character and the ending character of the content to be encrypted; an encryption unit, configured to encrypt the content to be encrypted based on a preset algorithm and generate an encryption model, wherein the encryption model includes an encryption identifier and a target character content obtained after encrypting the content to be encrypted; and a storage unit, configured to store the encryption model.
[0073] In an optional embodiment, the above-mentioned device method also includes: a synchronization module, configured to execute synchronization of the encryption model to the documents of the first user account and the second user account; an update module, configured to execute the update of the corresponding to-be-encrypted content in the documents of the first user account and the second user account using the encryption model, wherein the first user account is the author of the document, the second user account includes other user accounts except the first user account, and the first user account and the second user account can collaborate to edit the document.
[0074] In some optional embodiments of the present application, the update module is further configured to replace the corresponding content to be encrypted in the documents of the first user account and the second user account with the target character content and the alternative content, wherein the alternative content is displayed when the second user account views the content to be encrypted.
[0075] In some other optional embodiments of the present application, the above-mentioned device also includes: a decoding module, which is configured to decode the encryption model in the document of the first user account using the decoding information corresponding to the encryption model to obtain the content to be encrypted before encryption.
[0076] According to an optional embodiment of the present application, the above-mentioned device also includes: a second determination module, configured to execute determination of identity information of a target user account for accessing a document; a third determination module, configured to execute determination of a display method for displaying the content to be encrypted in the document to the target user account based on the identity information; and a display module, configured to execute display of the content to be encrypted to the target user account according to the display method.
[0077] According to another optional embodiment of the present application, the third determination module also includes: a first processing unit, configured to execute, when the identity information indicates that the target user account is the first user account, decoding the encryption model using decoding information corresponding to the encryption model, and displaying the decoded content to be encrypted to the target user account; and a second processing unit, configured to execute, when the identity information indicates that the target user account is the second user account, displaying alternative content to the second user account.
[0078] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0079] Figure 5 is a block diagram of a document encryption device for implementing a document encryption method according to an exemplary embodiment. Figure 5 As shown, the encryption device includes: a processor 51; a memory 52 for storing instructions executable by the processor 51; wherein the processor 51 is configured to execute the above instructions to implement the above document encryption method.
[0080] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 52 including instructions, which can be executed by a processor 51 of the document encryption device to complete the above method. Alternatively, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0081] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, wherein the computer program / instruction implements the above document encryption method when executed by a processor.
[0082] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0083] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A document encryption method, characterized in that: include: Determine the content to be encrypted in the document; receiving alternative content when displaying the content to be encrypted, wherein the alternative content is input by the first user account through the encryption control; generating an encryption identifier of the content to be encrypted according to the alternative content; Encrypting the content to be encrypted according to the encryption identifier; After encrypting the content to be encrypted according to the encryption identifier, the method further includes: determining identity information of a target user account accessing the document; determining a display method for displaying the content to be encrypted in the document to the target user account according to the identity information; and displaying the content to be encrypted to the target user account according to the display method; wherein, determining a display method for displaying the content to be encrypted in the document to the target user account according to the identity information includes: when the identity information indicates that the target user account is a first user account, decoding the encryption model using decoding information corresponding to the encryption model, and displaying the decoded content to be encrypted to the target user account, wherein the first user account is the author of the document; and when the identity information indicates that the target user is a second user account, displaying the alternative content to the second user account, wherein the second user account includes other user accounts except the first user account.
2. The encryption method according to claim 1, characterized in that: The encryption identifier includes at least: the type of the content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
3. The encryption method according to claim 2, characterized in that: Encrypting the content to be encrypted according to the encryption identifier includes: Locating the content to be encrypted from the document according to the starting character and the ending character of the content to be encrypted; Encrypting the content to be encrypted based on a preset algorithm to generate an encryption model, wherein the encryption model includes the encryption identifier and target character content, and the target character content is obtained after encrypting the content to be encrypted; The encrypted model is stored.
4. The encryption method according to claim 3, characterized in that: After encrypting the content to be encrypted according to the encryption identifier, the method further includes: Synchronizing the encrypted model to the documents of the first user account and the second user account; The encryption model is used to update the corresponding content to be encrypted in the documents of the first user account and the second user account, wherein the first user account and the second user account can collaboratively edit the document.
5. The encryption method according to claim 4, characterized in that: Updating the to-be-encrypted content corresponding to the documents of the first user account and the second user account by using the encryption model includes: Replacing the corresponding content to be encrypted in the documents of the first user account and the second user account with the target character content and the substitute content, includes: replacing the corresponding content to be encrypted in the document of the first user account with the target character content and the substitute content, and simultaneously replacing the corresponding content to be encrypted in the document of the second user account with the target character content and the substitute content, wherein the substitute content is displayed when the second user account views the content to be encrypted.
6. The encryption method according to claim 4, characterized in that: After updating the content to be encrypted corresponding to the documents of the first user account and the second user account by using the encryption model, the method further includes: The encryption model in the document of the first user account is decoded using the decoding information corresponding to the encryption model to obtain the content to be encrypted before encryption.
7. A document encryption device, characterized in that: include: A first determination module is configured to determine the content to be encrypted in the document; a receiving module configured to receive and display alternative content when the content to be encrypted is displayed, wherein the alternative content is input by the first user account through the encryption control; A generating module, configured to generate an encryption identifier of the content to be encrypted according to the substitute content; An encryption module, configured to encrypt the content to be encrypted according to the encryption identifier; The device also includes: a second determination module, configured to determine the identity information of a target user account accessing the document; a third determination module, configured to determine the display method when displaying the content to be encrypted in the document to the target user account based on the identity information; a display module, configured to display the content to be encrypted to the target user account according to the display method; wherein the third determination module also includes: a first processing unit, configured to decode the encryption model using decoding information corresponding to the encryption model when the identity information indicates that the target user account is a first user account, and display the decoded content to be encrypted to the target user account, the first user account being the author of the document; and a second processing unit, configured to display the alternative content to the second user account when the identity information indicates that the target user account is a second user account, wherein the second user account includes other user accounts except the first user account.
8. The encryption device according to claim 7, characterized in that: The encryption identifier includes at least: the type of the content to be encrypted, the starting character and the ending character of the content to be encrypted, and the replacement content.
9. The encryption device according to claim 8, characterized in that: The encryption module comprises: a positioning unit, configured to locate the content to be encrypted from the document according to the starting character and the ending character of the content to be encrypted; an encryption unit, configured to encrypt the content to be encrypted based on a preset algorithm and generate an encryption model, wherein the encryption model includes the encryption identifier and target character content obtained after encrypting the content to be encrypted, and the target character content is obtained after encrypting the content to be encrypted; The storage unit is configured to execute and store the encryption model.
10. The encryption device according to claim 9, characterized in that: The device also includes: a synchronization module, configured to execute synchronization of the encryption model to documents of the first user account and the second user account; An update module is configured to execute the update of the to-be-encrypted content corresponding to the documents of the first user account and the second user account using the encryption model, wherein the first user account is the author of the document, the second user account includes other user accounts except the first user account, and the first user account and the second user account can collaborate to edit the document.
11. The encryption device according to claim 10, characterized in that: The update module is also configured to execute the replacement of the corresponding content to be encrypted in the documents of the first user account and the second user account using the target character content and the alternative content, including: replacing the corresponding content to be encrypted in the document of the first user account using the target character content and the alternative content, and replacing the corresponding content to be encrypted in the document of the second user account using the target character content and the alternative content, wherein the alternative content is displayed when the second user account views the content to be encrypted.
12. The encryption device according to claim 10, characterized in that: The device also includes: The decoding module is configured to decode the encryption model in the document of the first user account using the decoding information corresponding to the encryption model to obtain the content to be encrypted before encryption.
13. A document encryption device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the document encryption method according to any one of claims 1 to 6.
14. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of a document encryption device, the document encryption device is enabled to execute the document encryption method according to any one of claims 1 to 6.
15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the document encryption method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Alternative method and device
CN109062879A
Secure online collaboration
CN113260998A