Document processing method and device, electronic equipment and storage medium
By determining and setting document confidentiality information, the security problem between encrypted documents and password-free documents during document copying is solved, the content is safely added and consistent, and the security and user experience of document processing are improved.
Patent Information
- Application Number
- CN202310603527.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-25
- Publication Date
- 2024-11-26
AI Technical Summary
During the document copying process, the encrypted content of the source document may be leaked due to the low-security level of the target document, and the prior art is difficult to effectively solve the content security problem between the encrypted document and the crypto-free document.
By determining the confidential information of the first document and setting the confidential information of the target content to the second document based on the information, ensuring content security, avoiding directly rejecting the content addition of the encrypted document, and optimizing data consistency and security by embedding or citation methods sex.
It improves the security of document content, reduces the risk of leaks, improves the security and user experience of document processing, and ensures appropriate protection of encrypted content.
Smart Images

Figure CN119026146A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a document processing method, device, electronic device and storage medium. Background Art
[0002] A document contains content that can be fully editable by the user or that can be derived from other documents.
[0003] When a document copies content from a source document, it may involve security issues of the document content. For example, when the source document is an encrypted document and the current document is a non-encrypted document, the encrypted document may be leaked due to the way it is obtained by other documents. Summary of the invention
[0004] The present invention provides a document processing method, device, equipment and storage medium.
[0005] A first aspect of an embodiment of the present disclosure provides a document processing method, including:
[0006] Determining first confidentiality information of a first document; wherein target content of the first document is to be added to a second document;
[0007] In response to the second document having a lower confidentiality level than the first document, second confidentiality level information of the second document is set according to the first confidentiality level information.
[0008] A second aspect of an embodiment of the present disclosure provides a document processing device, including:
[0009] A determination module is configured to determine first confidentiality information of a first document; wherein the target content of the first document is to be added to a second document;
[0010] The setting module is configured to set second confidentiality level information of the second document according to the first confidentiality level information in response to the confidentiality level of the second document being lower than the confidentiality level of the first document.
[0011] A third aspect of the present disclosure provides an electronic device, including:
[0012] processor;
[0013] a memory for storing processor-executable instructions;
[0014] Wherein, the processor is configured to: implement the document processing method provided by any one of the technical solutions of the first aspect when running the executable instructions.
[0015] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, wherein the readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the document processing method provided by any one of the solutions of the first aspect is implemented.
[0016] The technical solution provided by the embodiment of the present disclosure is that if the first document needs to add target content, the second confidentiality level information of the second document is automatically set according to the first confidentiality level information of the first document, rather than directly refusing to add the target content of the encrypted or highly confidential first document to the second document because the second document is a non-confidential document or the confidentiality level is lower than that of the first document. Instead, the target content is allowed to be added to the second document, and the second confidentiality level information of the second document is set according to the first confidentiality level information to improve the security of the target content and reduce the leakage of the target content.
[0017] 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
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0019] Figure 1 The figure is a flowchart of a document processing method according to an exemplary embodiment.
[0020] Figure 2 The figure is a flowchart of a document processing method according to an exemplary embodiment.
[0021] Figure 3 The figure is a schematic diagram showing a display effect of a first prompt information according to an exemplary embodiment.
[0022] Figure 4 The figure is a flowchart of a document processing method according to an exemplary embodiment.
[0023] Figure 5 The figure is a schematic diagram showing a display effect of second prompt information according to an exemplary embodiment.
[0024] Figure 6 The figure is a flowchart of a document processing method according to an exemplary embodiment.
[0025] Figure 7 It is a schematic diagram of a background management interface according to an exemplary embodiment.
[0026] Figure 8 It is a schematic diagram of a background management interface according to an exemplary embodiment.
[0027] Fig. 9 It is a schematic diagram of a background management interface according to an exemplary embodiment.
[0028] Fig.10 is a schematic structural diagram of a document processing device according to an exemplary embodiment;
[0029] Fig.11 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as detailed in the appended claims.
[0031] 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.
[0032] like Figure 1 As shown, the present disclosure provides a document processing method, including:
[0033] S1110: Determine first confidentiality information of a first document; wherein target content of the first document is to be added to a second document;
[0034] S1120: Setting second confidentiality level information of the second document according to the first confidentiality level information.
[0035] The document processing method provided by the embodiment of the present disclosure may include a server or a terminal device. The server may be used to perform the above operations during the editing process of the cloud document. The terminal device may be various types of editing terminals. The editing terminal may include but is not limited to: a laptop, a notebook and a tablet two-in-one device, a tablet computer, a desktop computer or a mobile phone and other devices with editing functions.
[0036] In the embodiment of the present disclosure, the first document may be a source document of the target content, and may also be referred to as a source document. The second document may be a document currently being processed, and may also be referred to as a current document and / or a target document.
[0037] During the processing of the second document, the first confidentiality level information of the source document of the target content source is determined. The first confidentiality level information can be used to determine whether the first document is an encrypted document, the confidentiality level of the first document and / or the decryption time information of the first document.
[0038] Exemplarily, there are various ways to add the target content to the second document, which may specifically include but are not limited to at least one of the following:
[0039] Introducing mode, in this case, when the adding mode is the introducing mode, the target content can be directly or indirectly obtained according to the address or link information corresponding to the target content in the second document; in this mode, the second document can be set to display the target content or the abbreviated information of the target content, and the abbreviated information can be the title of the target content, link information, etc.;
[0040] Embedded mode: When the adding mode is embedded mode, the document data corresponding to the target content is directly written into the document data of the second document. When the second document is displayed, the target content is displayed in the second document.
[0041] Exemplarily, the embedding method is to use the target content as the content of the second document, and when displaying the target content in the second document, directly read the target content from the second document and display the target content.
[0042] Exemplarily, the reference method is to use the address of the target content as the content of the second document. When displaying the target content in the second document, the address corresponding to the target content is read from the second document, the target content is obtained from the address, and the target content is displayed.
[0043] The embedding method can quickly obtain the target content, but it cannot guarantee the consistency between the target content in the first document and the target content embedded in the second document. Exemplarily, the target content is obtained from the first document according to a preset period to update the target content embedded in the second document to ensure data consistency. Another exemplary method is to obtain the target content from the first document to update the target content embedded in the second document when it is determined that the version of the target content embedded in the second document lags behind the version of the target content in the first document.
[0044] The reference method can ensure that the target content obtained is the target content in the first document, but each time the target content of the second document is loaded, the target content needs to be re-acquired from the first document. In cases where the target content data volume is large or the network is poor, the smoothness of the display process of the second document is affected. Exemplarily, during the loading process of the second document, the target content of the first document is cached. When the second document records the target content, it is determined whether the cache includes the target content and whether the version of the target content is expired. When it is determined that the cache includes the target content and the version of the target content is the latest, the target content is read from the cache and displayed.
[0045] Furthermore, in the case of the reference mode, changes to the target content of the second document can be synchronized to the target content of the first document, thereby ensuring the consistency between the target content of the first document and the target content of the second document.
[0046] In one embodiment, a switching operation acting on the target content is received, and a first adding mode of the target content is switched to a second adding mode, wherein the first adding mode is one of an embedding mode and a reference mode, and the second adding mode is one of an embedding mode and a reference mode.
[0047] There are various specific operations for adding the target content to the second document in a reference manner or an embedded manner.
[0048] These specific operations may include but are not limited to a copy operation and a paste operation, or a copy operation and an insert operation, or a screenshot operation and an insert operation, etc.
[0049] In this embodiment, there is no limitation on how to trigger the adding operation of adding the target content of the first document to the second document.
[0050] Taking the copy operation and the paste operation as an example, in one implementation example, when a copy operation is detected for at least part of the content of the first document, in response to the copy operation, at least part of the content of the first document affected by the copy operation is used as the target content; the target content is written to a preset data area; when a paste operation is detected in the second document, in response to the paste operation, it is determined that an add operation for the target content is received; in response to the add operation, the target content is added to the second document. The preset data area may be a data storage area such as a clipboard and a data buffer area.
[0051] For copy and paste operations, the target content written to the preset data area includes at least the address or link information of the target content in the first document; in a specific embodiment, when the target content is added by reference, the target content pasted into the second document is the address or link information of the second document; during the display of the second document, the address or link information of the target content is read from the second document; based on the address or link information, the document data of the target content is read; and based on the document data of the target content, the target content is displayed in the second document.
[0052] For the copy operation and the paste operation, the target content written into the preset data area at least includes the document data corresponding to the target content. In another specific embodiment, when the target content is added in an embedded manner, the target content pasted into the second document is the document data corresponding to the target content; during the display of the second document, the document data of the target content is read from the second document; and the target content is displayed in the second document according to the document data of the target content.
[0053] The preset data area may include but is not limited to a clipboard.
[0054] Taking the selection operation and the insertion operation as an example, in another embodiment, when a selection operation is received for at least a portion of the content of a first document, in response to the selection operation, at least a portion of the content of the first document on which the selection operation is applied is used as the target content; when an insert operation is received for the target content, in response to the insert operation, it is determined that an add operation for the target content is received; and in response to the add operation, the target content is added to a second document.
[0055] With respect to selection operations and insertion operations, in a specific embodiment, when the target content is added by reference, the target content inserted into the second document is the address or link information of the second document; during the display of the second document, the address or link information of the target content is read from the second document; based on the address or link information, the document data of the target content is read; and based on the document data of the target content, the target content is displayed in the second document.
[0056] Regarding the selection operation and the insertion operation, in another specific embodiment, when the target content is added in an embedded manner, the target content inserted into the second document is the document data corresponding to the target content; during the display of the second document, the document data of the target content is read from the second document; and based on the document data of the target content, the target content is displayed in the second document.
[0057] In an embodiment, when the target content is added in an embedded manner, the document data corresponding to the target content can be written into the document data of the target document, or the rendering data corresponding to the target content can be written into the document data of the target document. Exemplarily, the rendering data corresponding to the target content can be image data converted from the target content, such as a screenshot of the target content.
[0058] Exemplarily, the operation of adding the target content to the second document may include but is not limited to one of the following:
[0059] The target content is added to the second document by copying and pasting and / or taking a screenshot, etc.; the copy and paste method can be an implementation method of the embedding method. In some embodiments, the copy and paste method in the embedding method can be the highest priority adding method; of course, direct insertion operation is also an implementation method of the embedding method; of course, the copy and paste method as the highest priority adding method here is just an example, and the specific implementation can also be the screenshot method as the highest priority method. The specific highest priority adding method can be set or not; when it needs to be set, one of the methods can be selected as the highest priority method according to the current document editing requirements.
[0060] In one embodiment, when a copy operation is performed on the target content, the link information of the target content and / or the document data corresponding to the target content can be written into a preset data area; when a paste operation is performed on the target content, the link information of the target content can be read from the preset data area and added to the document data of the second document according to the adding method being an introduction method; or the document data corresponding to the target content can be read from the preset data area and added to the document data of the second document according to the adding method being an embedding method.
[0061] Furthermore, the document data corresponding to the target content written into the preset data area may be original document data of the target content, or may be rendering data converted from the original document data of the target content.
[0062] In some other embodiments, the embedding method may also include: a save-as method of directly saving the first document as the second document, which is equivalent to embedding the entire content of the first document into the second document.
[0063] The target content is added to the second document in a reference manner; the reference manner may at least include a hyperlink or an update domain manner.
[0064] The target content is inserted into the second document in an introduction manner. The second document contains a hyperlink. After the hyperlink is clicked, the target content can be inserted at the hyperlink of the second document, or the third document corresponding to the hyperlink displays the target content. The third document is different from the first document and the second document.
[0065] The target content is embedded in the second document, and the target content can be viewed in the second document.
[0066] For example, the target content is added to the second document in an embedded manner such as copying and pasting or in a screenshot manner, so that the target content will not be updated as the original text portion corresponding to the target content in the first document is updated.
[0067] For another example, by adding a reference such as a hyperlink to the target of the second document, the target content can be set to be updated as the original text portion corresponding to the target content in the first document is updated.
[0068] In short, the target content may be content determined according to a user operation such as a copy operation, a selection operation or an insert operation acting on the first document. The target content may be part or all of the content of the first document.
[0069] In the disclosed embodiment, if the first document needs to add target content, the second confidentiality level information of the second document is automatically set according to the first confidentiality level information of the first document, rather than directly refusing to add the encrypted or highly confidential target content of the first document to the second document.
[0070] In some embodiments, S1110 may include:
[0071] In response to detecting an operation instruction to add target content to the second document, first confidentiality level information is determined.
[0072] The operation instruction may include but is not limited to at least one of the following:
[0073] A determination operation of determining target content to be added to the second document;
[0074] A copy operation that copies the target content;
[0075] An insert operation that inserts the target content into a second document.
[0076] The target content may be text content in the first document and / or image content in the target content.
[0077] Exemplarily, the electronic device obtains the first confidentiality level information in the background, and when the second document is a non-confidential document and it is determined that the second document is an encrypted document according to the first confidentiality level information, the second confidentiality level information of the second document is automatically updated in the background of the electronic device.
[0078] In another exemplary embodiment, the electronic device obtains the first confidentiality level information in the background. When the second document is a confidentiality-free document and it is determined based on the first confidentiality level information that the confidentiality level of the second document is not lower than the confidentiality level of the first document, the electronic device background sets the second confidentiality level information of the second document based on the document content of the second document.
[0079] Exemplarily, the electronic device obtains the first confidentiality level information in the background. When the second document is an encrypted document and it is determined based on the first confidentiality level information that the confidentiality level of the second document is lower than that of the first document, the electronic device automatically updates the second confidentiality level information of the second document in the background.
[0080] In another exemplary embodiment, the electronic device obtains the first confidentiality level information in the background, and when the second document is an encrypted document and it is determined based on the first confidentiality level information that the confidentiality level of the second document is not lower than the confidentiality level of the first document, the electronic device maintains the third confidentiality level information of the second document in the background.
[0081] In one example, the background operation of the electronic device is transparent to the user, that is, invisible, which can reduce the setting and / or updating operations of the second confidentiality level information, reduce the user's interference in the second document processing, and improve the user experience.
[0082] Exemplarily, setting the second confidentiality level information of the second document according to the first confidentiality level information includes at least one of the following:
[0083] In response to the second document being a non-confidential document, setting the first confidentiality level information as the second confidentiality level information of the second document;
[0084] In response to the second document being an encrypted document with a current classification level lower than that of the first document, the current third classification level information of the second document is updated according to the first classification level information to obtain the updated second classification level information of the second document. That is, the third classification level information is the classification level information of the second document before the classification level is updated according to the first classification level information of the first document.
[0085] That is, even if the first document is an encrypted document and the second document is an unclassified document, or the confidentiality level of the second document is lower than that of the first document, the target content will not be directly rejected from being added to the second document. Instead, the target content will be allowed to be added to the second document, and the second confidentiality level information of the second document will be set according to the first confidentiality level information to enhance the security of the target content and reduce the leakage of the target content.
[0086] In some embodiments, setting the second confidentiality level information of the second document according to the first confidentiality level information further includes:
[0087] The second confidentiality level information of the second document is set according to the first confidentiality level information and whether the target content is the core content of the first document. At this time, the second confidentiality level corresponding to the second confidentiality level information may be higher than the confidentiality level corresponding to the third confidentiality level information, and lower than or equal to the first confidentiality level indicated by the first confidentiality level information.
[0088] For example, when the target content is the core content of the first document, the first classification level is set to the second classification level of the second document according to the first classification level information. For another example, when the target content is the peripheral content of the first document, the second classification level of the second document is set to be lower than the first classification level and higher than the classification level corresponding to the third classification level information according to the first classification level information.
[0089] Exemplarily, the importance of the peripheral content is lower than that of the core content, and / or the amount of information in the peripheral content is less than that of the core content.
[0090] In some embodiments, the first confidentiality level information includes at least one of the following: a first confidentiality level, first encryption time information, first authority information, and first knowledge scope information.
[0091] and / or,
[0092] The second confidentiality level information includes at least one of the following: second confidentiality level, second encryption time information, second authority information, and second knowledge scope information.
[0093] In some embodiments, the first confidentiality level and the second confidentiality level can be collectively referred to as confidentiality levels. Taking trade secrets as an example, confidentiality levels can be divided into:
[0094] Core business secrets;
[0095] Ordinary commercial secrets;
[0096] Working secrets.
[0097] Taking non-commercial secrets as an example, depending on the level of confidentiality, the confidentiality level may include at least one of the following:
[0098] Normal confidentiality level;
[0099] The level of non-confidentiality, for example, a document of the non-confidentiality level is a non-confidential document. The non-confidential document may be a plain text document stored in plain text.
[0100] In other embodiments, the first confidentiality level and the second confidentiality level may be collectively referred to as confidentiality levels.
[0101] Depending on the scope of the encrypted document, the level of confidentiality may include at least one of the following:
[0102] Company-level confidentiality level;
[0103] Department confidentiality level;
[0104] Group confidentiality level.
[0105] Exemplarily, the first encryption time information and the second encryption time information may be collectively referred to as encryption information. The encryption information may be used to determine the encryption time period and / or decryption time of the corresponding document.
[0106] Exemplarily, the encryption time information may include at least one of the following:
[0107] Encryption deadline information;
[0108] Remaining encryption period information;
[0109] Decrypt time information;
[0110] Conditional information of decryption time in advance;
[0111] Information on conditions for extending the encryption time;
[0112] Information about conditions for shortening encryption time.
[0113] The first permission information and the second permission information may be collectively referred to as permission information. The permission information may limit the scope of the document's permission. For example, the first permission information may be used to indicate the processing permission of the first document.
[0114] The processing rights here may include but are not limited to at least one of the following:
[0115] View permissions;
[0116] Editing authority; the editing authority may include: re-editing authority of the created account, and / or collaborative editing authority of non-created accounts, and / or security protection operations that need to be performed when exercising the editing authority; the security protection operations may include: requiring consent from the created account, or requiring consent from a predetermined proportion of accounts among multiple specific accounts, etc.;
[0117] Download permissions;
[0118] Printing permissions;
[0119] Forwarding permissions;
[0120] Screen capture permissions, etc.
[0121] In some embodiments, determining the second confidentiality level information based on the first confidentiality level information further includes at least one of the following:
[0122] Determine a second encryption period according to the first encryption period; wherein the end time of the second encryption period is equal to or later than the end time of the first encryption period;
[0123] Determining a second encryption period according to the remaining encryption period, wherein the second encryption period is equal to or longer than the remaining encryption period;
[0124] Determining second authority information according to the first authority information;
[0125] A second knowledge range is determined according to the first knowledge range, wherein the second knowledge range is smaller than or equal to the first knowledge range.
[0126] Exemplarily, the second level of security is determined based on the first level of security, wherein the second level of security is higher than or equal to the first level of security.
[0127] In some embodiments, the decryption time indicated by the second encryption time information is equal to or later than the decryption time indicated by the first encryption information.
[0128] The authorization scope indicated by the second authorization information may be equal to or smaller than the authorization scope indicated by the first authorization information.
[0129] For example, the first authorization information of the first document indicates that the document can be viewed by the authorized account but cannot be downloaded and / or printed. If the second authorization information refers to the first authorization information, the second document can also be viewed only by the authorized account but cannot be downloaded and / or printed.
[0130] In some embodiments, the awareness range indicated by the second awareness range information is smaller than or equal to the awareness range indicated by the first awareness range information.
[0131] The first knowledge range information and the second knowledge range information may be collectively referred to as knowledge range information. The knowledge range information indicates the knowledge range.
[0132] The scope of knowledge may include at least one of the following:
[0133] Know the scope of authorized accounts where the corresponding documents exist;
[0134] The scope of authorized accounts that can view the document.
[0135] For example, if the first document is authorized to be viewed by user A, user B, and user C, the scope of knowledge of the first document may be user A, user B, and user C.
[0136] In some embodiments, setting second confidentiality level information of the second document according to the first confidentiality level information includes:
[0137] The second confidentiality level information is determined based on the first confidentiality level information and in combination with at least one of the scope of the target content in the first document and the current confidentiality level information of the first document (eg, the third confidentiality level information).
[0138] Exemplarily, if the target content is the core content of the first document, then when setting the second confidentiality level information, the second confidentiality level is equal to the first confidentiality level; if the target content is the peripheral content of the first document, then when setting the second confidentiality level information, the second confidentiality level may be less than or equal to the first confidentiality level. Exemplarily, the second confidentiality level may be set to a confidentiality-free level.
[0139] For example, if the first document is a meeting record involving a business plan, the core content may be the detailed business plan and / or business strategy of the operator's future operations, while the meeting time, location and / or participants can be considered as peripheral content of the first document.
[0140] As another example, the peripheral content may be the content corresponding to the non-key points in the first document, and the core content may be the content corresponding to the key points in the first document.
[0141] Exemplarily, if the target content is the core content of the first document, when setting the second encryption time information, the decryption time indicated by the second encryption time information may be equal to the decryption time indicated by the first encryption time information. If the target content is the peripheral content of the first document, when setting the second encryption information, the decryption time indicated by the second encryption time information may be determined based on the non-target content of the second document. In this case, the decryption time indicated by the second encryption information may be earlier than the decryption time indicated by the first encryption time information.
[0142] Also exemplarily, if the target content is the core content of the first document, the first permission information may be configured as the second permission information when setting the second permission information. If the target content is peripheral content, the second permission information may be set based on non-target content in the second document.
[0143] As another example, if the target content is the core content of the first document, then when setting the second knowledge range information, the second knowledge range indicated by the second knowledge range information may be equal to the first knowledge range indicated by the first knowledge range information. If the target content is the peripheral content of the first document, then when setting the second knowledge range information, the second knowledge range information of the second document may be determined based on the non-target content of the second document, or the second knowledge range of the second document may be determined based on the first knowledge range and / or the non-target content of the second document. The second knowledge range indicated by the second knowledge range information may be different from the first knowledge range. In this case, the first knowledge range may be a subrange of the second knowledge range. Alternatively, the first knowledge range and the second knowledge range have a partial intersection range.
[0144] In some embodiments, if the first confidentiality level information also includes conditional information of early decryption and / or delayed decryption, the corresponding second confidentiality level information may also include the corresponding set conditional information of early decryption and / or delayed decryption.
[0145] In some embodiments, depending on whether the target content is core content, the restriction conditions of the conditional information for early decryption and / or delayed decryption contained in the second confidentiality level information are determined based on the conditional information for early decryption and / or delayed decryption contained in the first confidentiality level information.
[0146] like Figure 2 As shown, the present disclosure provides a document processing method, including:
[0147] S1210: Determine first confidentiality information of a first document; wherein target content of the first document is to be added to a second document;
[0148] S1220: In response to the second document having a lower confidentiality level than the first document, displaying a first prompt message;
[0149] S1230: In response to detecting a confirmation operation on the first prompt information, determining to add target content of the first document to the second document.
[0150] In the embodiment of the present disclosure, if the second document is a non-confidential document and the current confidentiality level of the second document is lower than the first confidentiality level of the first document, the first prompt information is displayed. The first prompt information can be prompt information in various forms.
[0151] Exemplarily, the first prompt information can be a prompt information that pops up in the form of a dialog box. In other embodiments, the first prompt information can also be a prompt information that is displayed around the document in the form of an annotation.
[0152] like Figure 3 The figure shows a type of first prompt information of an embodiment of the present disclosure. The first prompt information is a document classification reminder of the source document. If an operation acting on the "Continue Paste" control is detected, it is considered that a confirmation operation is detected, and it is determined to add the target content of the first document to the second document, and the second classification information of the second document is set according to the first classification information of the first document. Figure 3 The document mentioned in is the second document.
[0153] Exemplarily, the information content of the first prompt information may be various information, for example, including but not limited to at least one of the following:
[0154] Prompt that the first document is an encrypted document;
[0155] Prompt one or more of the first encrypted information of the first document;
[0156] Prompt whether to confirm adding the encrypted first document to the second document;
[0157] Prompt whether to increase the confidentiality level of the second document;
[0158] Prompt whether to update the second confidentiality level information of the second document.
[0159] If a confirmation operation for the first prompt information is detected, the confidentiality information of the second document is updated according to the first confidentiality information, that is, the second confidentiality information of the second document is set.
[0160] If a denial operation is detected for the first prompt information, the target content is refused to be added to the second document, and the current confidentiality level information setting of the second document is maintained.
[0161] like Figure 4 As shown, the present disclosure provides a document processing method, including:
[0162] S1310: Determine first confidentiality information of a first document; wherein target content of the first document is to be added to a second document;
[0163] S1320: Determine whether the target content is a dense point content;
[0164] S1330: In response to the second document having a lower confidentiality level than the first document and the target content being confidential content, displaying second prompt information;
[0165] S1340: In response to detecting a confirmation operation for the second prompt information, determine to convert the secret point content into plain text content and add it to the second document.
[0166] If the second document has a lower confidentiality level than the first document, the second document may be a confidentiality-free document or a low-confidentiality encrypted document, and the target content is a confidential content, then a second prompt message is displayed. The second prompt message is the same as or different from the first prompt message.
[0167] The secret dot content can be the content of the encrypted content replaced by the encrypted symbol.
[0168] If certain content is in a secret dot state, it means that the user can only see the secret dot symbol but not the content itself. This kind of content is secret dot content.
[0169] like Figure 5 The figure shows a schematic diagram of a second prompt message. Similarly, the second prompt message can be a reminder of the confidentiality level of the document. In the dialog box, it is prompted that the copied content is in a confidential state, and you can apply to convert it into a decrypted state such as text. If it is detected that the content is in a confidential state, Figure 5 If the "OK" control shown is operated, it is considered that a confirmation operation is detected.
[0170] For example, the second prompt information may include but is not limited to at least one of the following:
[0171] Application prompt for converting secret point content into plain text content;
[0172] Setting the confidentiality level information of the first document as the application prompt for the confidentiality level information of the second document;
[0173] Prompt whether to increase the confidentiality level of the second document;
[0174] Prompt whether to update the second confidentiality level information of the second document, etc.
[0175] If a confirmation operation is detected for the second prompt information, the secret point content is converted into plain text content and added to the second document. It is worth noting that: at the same time, the second secret level information is set according to the first secret level information.
[0176] If a confirmation operation of the second prompt information is detected, the target content set as the secret point will be converted into plain text during the viewing operation of the second document, and after the target content is converted into plain text, it will be directly included in the second document in the form of plain text.
[0177] In some embodiments, the method further comprises:
[0178] In response to detecting a denial operation for the second prompt information, it is determined to add the secret point content to the second document, or it is rejected to add the secret point content to the second document.
[0179] If a denial operation of the second prompt information is detected, the adding of the secret point content to the second document is rejected, and the operation of setting the second secret level information according to the first secret level information will also be skipped.
[0180] If the secret point content is added to the second document, the second secret level information is set according to the first secret level information after the secret point content is added to the second document.
[0181] In some embodiments, the method further comprises:
[0182] In response to the secret point content being added to the second document and detecting a viewing operation of the second document, displaying third prompt information;
[0183] A confirmation operation for the third prompt information is detected, and the secret point content in the second document is converted into plain text content and displayed.
[0184] If the secret point content is directly added to the second document, when the user subsequently views the second document containing the secret point content, the electronic device will automatically pop up the third prompt information.
[0185] Exemplarily, the third prompt information may be secret point decryption prompt information.
[0186] When a confirmation operation is detected for the third prompt information, a log will be generated while the secret point content is converted to plain text content for display. The log information will record information related to secret point decryption. For example, the log information may indicate the account that applied for the secret point content confidentiality, the application time, and / or the number of times the first document was viewed.
[0187] In some embodiments, the method further comprises:
[0188] In response to detecting a denial operation for the third prompt information, maintaining the dense point state of the dense point content in the second document in response to the viewing operation.
[0189] If a denial operation of the third prompt information is detected, the secret point state of the secret point content in the second document is maintained, that is, the user cannot see the text and / or image of the secret point content, thereby ensuring the continued confidentiality of the secret point content.
[0190] In some embodiments, the method further comprises:
[0191] In response to the target content to be added to the second document being plain text content, the plain text content is added to the second document.
[0192] In some embodiments, the method further comprises:
[0193] According to the document type of the first document, a method for adding the target content to the second document is determined.
[0194] The document type of the first document may include but is not limited to at least one of the following:
[0195] According to whether the first document is editable or not, the first document can be divided into an editable document and a non-editable document;
[0196] The first document can be divided into a copyable document and an uncopyable document according to whether it can be copied.
[0197] Typical editable documents may include, but are not limited to: TXT documents, EXCEL documents, PPT documents, VISIO documents or WPS documents.
[0198] Typical non-editable documents may include, but are not limited to: PDF documents in a non-editable state, etc.
[0199] In some cases, if the PDF document is in an editable state, the PDF document is the aforementioned editable document.
[0200] Some documents are configured as read-only through the configuration of document properties, and such documents are non-copyable documents.
[0201] For example, some web documents cannot be edited but can be copied.
[0202] In the disclosed embodiment, the electronic device background automatically determines a method for adding the target document to the second document based on the document type of the first document, thereby reducing the phenomenon of adding failure caused by the adding method selected by the user being unsuitable for the type of the first document, and improving the response success rate and operational convenience of the editing operation of the second document.
[0203] Exemplarily, if it is detected that the user performs a copy-paste operation, but the first document is a non-copyable or non-editable document type, the electronic device background can automatically convert to adding the target content to the second document using a screenshot insertion or reference method, or can automatically convert to adding the target content to the second document using a screenshot insertion embedding method. Alternatively, if it is detected that the user performs a copy-paste operation, but the first document is a non-copyable or non-editable document type, a fourth prompt message is output. When a confirmation operation for the fourth prompt message is detected, the target content is added to the second document using a reference method, or the target content is automatically added to the second document using a screenshot insertion embedding method.
[0204] The fourth prompt information may be any prompt indicating that the current adding method cannot be executed, and / or whether to convert to other prompt information that can add the target content to the second document.
[0205] If a denial operation for the fourth prompt information is detected, the adding operation of adding the target content to the second document is skipped, and the processing interface of the second document is returned.
[0206] In some embodiments, determining, according to the document type of the first document, a method for adding the target content to the second document includes at least one of the following:
[0207] In response to the first document being a replicable document, determining to add the target content to the second document by reference;
[0208] In response to the first document being an editable document, determining to add the target content to the second document in an embedded manner;
[0209] In response to the first document being a non-editable document and the first document being a non-copyable document, after determining to convert the first document into an editable document, add the target content in the editable document to the second document in an embedded manner;
[0210] In response to the first document being a non-editable document and the first document being a non-copyable document, determining to add the target content to the second document in a screenshot manner;
[0211] In response to the first document being a non-editable document and the first document being a non-copyable document, it is determined that the target document is to be added to the second document by reference.
[0212] The first document is a copyable document. Directly adding the target content to the second document by copying and pasting will improve the integrity of the second document.
[0213] If the first document is an editable document and the first document may be edited later, the target content added to the second document may also change, and the target content may be added to the second document by reference. Exemplarily, if the first document is an editable document and the first document is a draft document rather than a final document, the target content added to the second document may also change, and the target content may be added to the second document by reference.
[0214] In some embodiments, the first document is a non-editable and non-copyable document, and the target content in the first document can be directly added to the second document by screenshot or reference. Exemplarily, the target content portion of the first document is displayed, a screenshot of the display effect is taken, and the screenshot is inserted into the second document.
[0215] In other embodiments, the first document is a non-editable and non-copyable document, a copy of the first document is first converted into a copyable document, and the target content is copied from the copyable document and added to the first document in an embedded manner.
[0216] In some embodiments, if the second document adds the target content by reference, in order to reduce the leakage of non-target content in the first document, the target content is copied to the fifth document, and the target content contained in the second document directly references the fifth document instead of the first document. The first document and the second document are associated at the same time; in this way, when the first document updates the part corresponding to the target content in the fifth document, the fifth document will be updated synchronously.
[0217] In some embodiments, the method further comprises:
[0218] In response to the target content being successfully added to the second document, record information is generated; wherein the record information is used to be displayed in the first mode and hidden in the second mode.
[0219] In some embodiments, in response to the target content being successfully added to the second document, generating record information includes:
[0220] In response to the target content being successfully added to the second document, generating record information and adding the record information to the second document;
[0221] or,
[0222] In response to the target content being successfully added to the second document, record information is generated and recorded in a fourth document. The fourth document is different from any one of the first document, the second document and the third document.
[0223] Add record information at the end of the second document or at the location where the target content is added.
[0224] The record information may include at least one of the following:
[0225] Information about the first document;
[0226] Information about the target content;
[0227] Add method information.
[0228] Exemplarily, the information of the first document includes at least one of the following:
[0229] identification information of the first document;
[0230] A Uniform Resource Locator (URL) of the first document;
[0231] Document properties of the first document.
[0232] The identification information of the first document may include: a GUID (Globally Unique Identifier).
[0233] The document property of the first document may indicate at least one of the following:
[0234] a document type of the first document;
[0235] The data volume of the first document;
[0236] Setting the read-write attribute of the first document;
[0237] Information about the author who created the first document;
[0238] The co-editor information of the first document.
[0239] Exemplarily, the target content information may include one of the following:
[0240] The target content of the first document itself;
[0241] The data volume of the target content;
[0242] The location of the target content in the second document;
[0243] The location of the target content in the first document;
[0244] A summary of the target content;
[0245] The original classification level of the target content;
[0246] The operational attributes of the target content, for example, read-only, read-write, and / or convertible to a secret state;
[0247] A summary of the target content.
[0248] In some embodiments, the information of the adding operation is any content related to the adding operation of the target content, and may specifically include but is not limited to at least one of the following:
[0249] Add time;
[0250] Added user account.
[0251] Of course, the above is only a specific example of recording information, and the specific implementation is not limited to this example.
[0252] The first mode and the second mode may be different viewing modes of the second document.
[0253] Exemplarily, the first mode may be a developer mode, and the developer mode may be a viewing mode of a developer account of an application of the second document.
[0254] If the second document is opened in the first mode, the record information can be viewed in the second document.
[0255] The first mode may be a user mode, which may be a mode in which a general user views the second document.
[0256] If the second document is opened in the second mode, the record information will be hidden, and the user will see the document content of the second document.
[0257] Displaying record information in developer mode makes it easier to resolve document-related conflicts based on the record information.
[0258] In some embodiments, the method further comprises:
[0259] After the target content is deleted from the second document, deleting the record information;
[0260] or,
[0261] When the target content is deleted from the second document, the record information is updated based on the deletion operation of updating the target content.
[0262] Furthermore, the updated record information according to the deletion operation of the update target content may include but is not limited to at least one of the following:
[0263] Deletion time information, indicating the deletion time;
[0264] Delete account information, indicating the account that deleted the target content;
[0265] Delete device information, indicating the terminal device that deleted the content.
[0266] In some embodiments, the recorded information can be divided into:
[0267] Import record information based on the import method;
[0268] and / or,
[0269] Embedded record information based on an embedded method. For example, screenshot record information based on a screenshot method may be a type of embedded record information.
[0270] In some embodiments, the method further includes: generating a log based on the document operation of the second document.
[0271] Exemplarily, generating a log according to the document operation of the second document may include:
[0272] A document log and / or a device log is generated according to the document operation of the second document.
[0273] Document logs are logs for documents. Different documents will have different document logs.
[0274] The document log may include log information. Exemplarily, a document operation of the second document may generate a piece of log information.
[0275] In some embodiments, the log may be a device log. The log generated based on the device may include, in addition to document log information, log information related to other operations based on the device.
[0276] In some embodiments, generating a log according to the document operation of the second document may include:
[0277] After the editing of the second document is completed, a log is generated according to the document information and / or status information of the second document;
[0278] After collaborative editing of the second document is finished, a log is generated according to document information and / or status information of the second document;
[0279] When a closing operation of the second document is detected, a log is generated according to the document information and / or status information of the second document.
[0280] like Figure 6 As shown, the present disclosure provides a document processing method, including:
[0281] S1410: Determine first confidentiality information of a first document; wherein target content of the first document is to be added to a second document;
[0282] S1420: Setting second confidentiality level information of the second document according to the first confidentiality level information.
[0283] S1430: In response to the update of the first confidentiality level information, update the second confidentiality level information.
[0284] If the second document adds the target content of the first document to the second document, as time passes or a specific event occurs, the confidentiality level of the first document may be increased or decreased, and the confidentiality period of the first document may be extended, which will cause the first confidentiality level information of the first document to change. In the embodiment of the present disclosure, if the first confidentiality level information of the first document is updated, and the second document still exists and still contains the content of the first document, the second confidentiality level information will be updated synchronously to reduce the leakage of the content of the first document through the second document. And when the first document is decrypted, the second confidentiality level information of the second document is also adjusted in time to facilitate the decryption and / or downgrading of the second document, and to facilitate the dissemination of the second document. The embodiment of the present disclosure also provides a document processing method, and the target document content can be derived from the security control of one or more other documents.
[0285] The source document is a normal document: the document content is copied to the target document normally.
[0286] The source document is classified:
[0287] The target document is a common document, and the source document is a classified document.
[0288] If the content of the source document generates a secret point by replacing the encryption symbol, there may be at least two situations:
[0289] The secret point content can be seen:
[0290] When a classified document is opened in a single-process window or a multi-process single window and the source document content is copied to the target document, the content is transferred to the system clipboard in encrypted form and the corresponding classification level of the document is recorded.
[0291] When the document content is pasted from the system clipboard to the target document opened by WPS, it will check whether the target document is an encrypted document and compare the confidentiality levels of the two documents.
[0292] When it is found that the target document is a common, unencrypted, free-of-confidential document, a prompt message is displayed.
[0293] If a confirmation operation is detected on the prompt information, the document will be automatically marked with the same confidentiality level as the source document after pasting. At the same time, the copied content and the corresponding document unique identification number will be recorded in the second half of the target document. This content can only be accessed through the developer mode. Normal documents will not display this content.
[0294] For invisible secret content,
[0295] Since content parsing cannot be performed due to lack of secret content permissions, a prompt box will pop up when the copy function is used in the source document.
[0296] The prompt box may prompt that an application is required to change the invisible state of the secret point to a visible state before it can be copied into the target document. At the same time, the copied content of the document and the corresponding document unique identification number are recorded in the second half of the document.
[0297] This content can only be viewed in developer mode, and is not displayed in normal documents.
[0298] The target document is classified, and the source document is also classified:
[0299] The target document has a lower confidentiality level than the source document: When you copy the source document content to the target document, the target document will prompt you. After you continue pasting, the document will automatically be marked with the same confidentiality level as the source document. At the same time, the copied content and the corresponding document unique identification number will be recorded in the second half of the document.
[0300] The target document classification is greater than or equal to the source document classification: the document content is copied to the target document normally, and the copied content and the corresponding document unique identification number are recorded in the second half of the document.
[0301] Different types of documents use different operation methods.
[0302] The operation mode may at least include: a reference mode and / or an embedding mode.
[0303] When the source document is a draft and can be modified, the source document content can be introduced into the target document through hyperlinks or other means.
[0304] When the source document is an editable Word, EXCEL, or PPT document, set the reference type, select the part to be referenced, and then use the reference method to add the content to the target document.
[0305] When the referenced document is in a non-editable PDF format, first export it to a Word, EXCEL, or PPT document, then set the reference type, select the part to be referenced, and then add the reference.
[0306] If the source document is an encrypted document and you do not have copy permission, that is, you cannot copy the content of the source document, you need to apply for copy permission before you can reference it.
[0307] When the source document is modified to the referenced content, the target document will automatically synchronize and update the modified content by updating the domain.
[0308] When the classification level of a source document changes (including upgrade, downgrade, and declassification operations), a message will be triggered to remind the classification review account.
[0309] The confidentiality review account can receive information about which documents the document has been cited in. The confidentiality review account can use this information as a basis to determine whether the confidentiality level can be downgraded, whether it can be declassified or the confidentiality period can be extended.
[0310] After a document is referenced, a reference mark will be automatically added to the back of the document. The back half of the document is not visible in the document. You need to use the developer mode to see the document information. Each time a document is referenced, a mark is made. If multiple documents are referenced in multiple places, there will be multiple marks. The reference mark can be one of the aforementioned record information.
[0311] When the source document is a non-editable document or will not be edited, the document content cannot be changed. The source document content is embedded into the target document.
[0312] When the source document is an editable Word, EXCEL, or PPT document, you can select the content you want to embed and embed it into the target document. When the embedded document is a non-editable PDF document, first export it to a Word, EXCEL, or PPT document, and then select the content you want to embed and embed it into the target document.
[0313] If the source document is encrypted and you do not have copy permission, you cannot copy the content of the source document. You need to apply for copy permission before you can embed it.
[0314] The target document uses the source document content in an embedded manner. When the target document modifies the referenced content, the content of the source document will not be changed.
[0315] When the classification level of the source document changes (it needs to be declassified when the confidentiality period expires), the target document will not be affected.
[0316] After the document is referenced, an embed mark will be automatically added to the second half of the document. The second half of the document is not visible in the document, and the document information can only be viewed in developer mode. Each time a document is embedded, a mark is added. If multiple documents are embedded in multiple places, multiple marks will exist. The embed mark is a type of the aforementioned record information.
[0317] The client log is reported to the server. For example, when the target document ends collaborative editing and is in a closed state, the scanning function is automatically triggered to scan the content stored in the second half of the document containing the unique identification number of the source document and the copy.
[0318] The log may be a document log.
[0319] If the document contains content added by reference (referred content), the reference content will be scanned after the document is closed. If the content exists and is consistent, it is considered a successful reference and needs to be reported to the management backend. Each report will record one piece of information.
[0320] If the document contains content added by embedding (referred to as embedded content), after the document is closed, the embedded content has changed, but the embedding mark still exists (there is still some embedded content, not all deleted), it is considered to be embedded successfully, and the log needs to be reported to the management background, with one piece of information recorded each time it is reported.
[0321] In the management background, you can query which source documents were referenced by the target document, the specific content of the referenced source documents, where they are stored, the drafting account of the source document, the account that is aware of the source document, and other information.
[0322] like Figure 7 As shown, the newly created document with document number 123000 can obtain content from document numbers 111111 and 12345611 in an embedded manner, and introduce content from document number 123456 in a reference manner. The document with document number 123456 will reference content from the document with document number 123098. In this way, the background can form an association relationship diagram or association relationship table with content associations between each other. The document number here can be one of the aforementioned unique identification numbers.
[0323] Figure 8 It can be a details page of the mutual reference relationship table between documents. This page can display information such as the reference content, reference source, document text, and document creator.
[0324] Of course, for the embedding method, there can also be a forward page of the embedding relationship table. This page can display the embedded content, embedding source, source document and the account that created this document.
[0325] The background can query the document name and unique identification number obtained through associated query in the "Secure Documents" list, and the security management account can manage and reclaim the permissions of these documents.
[0326] Fig. 9 Shown is an interface based on a security management account, in which users of the security management account can perform unified security management of files.
[0327] When the source document is subject to a change process, the background associated information can be sent to the confidentiality account to provide a basis for the confidentiality account to make judgments on the change of the confidentiality level of the source document or the declassification of the document.
[0328] In the process of citing documents, the document classification can be automatically assigned according to the citation content, and the source of the cited document can be traced and the dissemination of the cited document can be controlled.
[0329] like Fig.10 As shown, the embodiment of the present disclosure provides a document processing device, including:
[0330] The determination module 110 is configured to determine first confidentiality information of a first document, wherein target content of the first document is to be added to a second document;
[0331] The setting module 120 is configured to set second confidentiality level information of the second document according to the first confidentiality level information in response to the confidentiality level of the second document being lower than the confidentiality level of the first document.
[0332] It is understood that the device includes:
[0333] A display module, configured to display a first prompt message in response to the second document being a non-confidential document or the current confidentiality level of the second document being lower than the first confidentiality level;
[0334] The determination module 110 is further configured to determine, in response to detecting a confirmation operation on the first prompt information, to add the target content of the first document to the second document.
[0335] It is understood that the device also includes:
[0336] The rejection module is used to reject adding the to-be-added content to the second document in response to detecting a denial operation on the first prompt information.
[0337] In some embodiments, an apparatus comprises:
[0338] A secret point module, used to determine whether the target content is secret point content;
[0339] The display module is further configured to display second prompt information in response to the second document being a non-confidential document or the current confidentiality level of the second document being lower than the first confidentiality level, and the target content being confidential content;
[0340] The determination module 110 is further configured to, in response to detecting a confirmation operation for the second prompt information, determine to convert the secret point content into plain text content and add the plain text content to the second document.
[0341] In some embodiments, the apparatus further comprises:
[0342] The processing module is used for determining to add the secret point content to the second document in response to detecting a denial operation for the second prompt information, or refusing to add the secret point content to the second document.
[0343] In some embodiments, the display module is further configured to display third prompt information in response to the secret point content being added to the second document and a viewing operation of the second document being detected;
[0344] The conversion module is used to detect a confirmation operation for the third prompt information, convert the encrypted content in the second document into plain text content and display it.
[0345] In some embodiments, the apparatus further comprises:
[0346] The maintaining module is used for maintaining the dense point state of the dense point content in the second document in response to the viewing operation in response to detecting a denial operation for the third prompt information.
[0347] In some embodiments, the apparatus further comprises:
[0348] The adding module is configured to add the plain text content to the second document in response to the target content to be added to the second document being plain text content.
[0349] In some embodiments, the apparatus further comprises:
[0350] The operation mode module is used to determine the adding mode of adding the target content to the second document according to the document type of the first document.
[0351] In some embodiments, the operation mode module is further configured to perform at least one of the following:
[0352] In response to the first document being a replicable document, determining to add the target content to the second document by reference;
[0353] In response to the first document being an editable document, determining to add the target content to the second document in an embedded manner;
[0354] In response to the first document being a non-editable document and the first document being a non-copyable document, after determining to convert the first document into an editable document, add the target content in the editable document to the second document in an embedded manner;
[0355] In response to the first document being a non-editable document and the first document being a non-copyable document, it is determined to add the target content to the second document in a screenshot manner.
[0356] In some embodiments, the apparatus further comprises:
[0357] A generating module, configured to generate record information in response to the target content being successfully added to the second document;
[0358] The recorded information is displayed in the first mode and hidden in the second mode.
[0359] In some embodiments, the recorded information includes at least one of the following:
[0360] identification information of the first document;
[0361] The uniform resource address of the first document;
[0362] The target content of the first document;
[0363] Document properties of the first document.
[0364] An embodiment of the present disclosure further provides an electronic device, including:
[0365] processor;
[0366] a memory for storing processor-executable instructions;
[0367] The processor is configured to implement the document processing method of any embodiment of the present disclosure when running the executable instructions.
[0368] The electronic device may at least be the aforementioned server, the first terminal and / or the second terminal.
[0369] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to remember information stored thereon after the communication device loses power.
[0370] The processor can be connected to the memory through a bus or the like to read the executable program stored in the memory, for example, to implement the following Figure 1 , Figure 2 , Figure 4 and / or Figure 6 The document processing method shown.
[0371] The embodiments of the present disclosure further provide a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the document processing method of any embodiment of the present disclosure is implemented. Figures 1 to 7 The document processing method shown.
[0372] 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.
[0373] The present disclosure provides an electronic device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: when running the executable instructions, implement the document processing method provided by any of the above technical solutions, for example, Figure 1 , Figure 2 , Figure 4 and / or Figure 6 The document processing method shown.
[0374] like Fig.11 As shown, an embodiment of the present disclosure shows a structure of an electronic device. For example, the electronic device 900 can be provided as a network side device. Fig.11 The electronic device 900 includes a processing component 922, which further includes one or more processors, and a memory resource represented by a memory 932 for storing instructions executable by the processing component 922, such as an application. The application stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 922 is configured as an executable program to perform any of the aforementioned methods for applying to the access device, such as Figure 1 , Figure 2 , Figure 4 and / or Figure 6 The document processing method shown.
[0375] The electronic device 900 may also include a power supply component 926 configured to perform power management of the electronic device 900, a wired or wireless network interface 950 configured to connect the electronic device 900 to a network, and an input / output (I / O) interface 958. The electronic device 900 may operate based on an operating system stored in the memory 932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0376] In an exemplary embodiment, an embodiment of the present disclosure provides a computer-readable storage medium, which stores an executable program, wherein the executable program, when executed by a processor, implements the document processing method provided by any of the aforementioned technical solutions.
[0377] The computer-readable storage medium may specifically be: a non-temporary computer-readable storage medium.
[0378] Exemplarily, for example, the memory 932 includes an executable program, and the above instructions can be executed by the processing component 922 of the electronic device 900 to complete the above method.
[0379] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0380] Those skilled in the art will readily appreciate other implementations of the disclosed embodiments after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosed embodiments, which follow the general principles of the disclosed embodiments and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the disclosed embodiments are indicated by the following claims.
[0381] It should be understood that the embodiments of the present disclosure are not limited to the precise structures described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present disclosure is limited only by the appended claims.
Claims
1. A document processing method, characterized in that: include: Determining first confidentiality information of a first document; wherein target content of the first document is to be added to a second document; In response to the second document having a lower confidentiality level than the first document, second confidentiality level information of the second document is set according to the first confidentiality level information.
2. The method according to claim 1, characterized in that The step of setting the second confidentiality level information of the second document according to the first confidentiality level information includes at least one of the following: Determining a second confidentiality level of the second document according to the first confidentiality level of the first document, wherein the second confidentiality level is equal to or higher than the first confidentiality level; Determining second encryption time information of the second document according to first encryption time information of the first document; Determining second permission information of the second document according to the first permission information of the first document; According to the first knowledge scope information of the first document, second knowledge scope information of the second document is determined.
3. The method according to claim 1 or 2, characterized in that: The method comprises: In response to the second document having a lower confidentiality level than the first document, displaying a first prompt message; In response to detecting a confirmation operation on the first prompt information, it is determined to add the target content of the first document to the second document.
4. The method according to claim 3, characterized in that The method further comprises: In response to detecting a denial operation on the first prompt information, refusing to add the to-be-added content to the second document.
5. The method according to any one of claims 1 to 4, characterized in that: The method comprises: Determining whether the target content is secret point content; In response to the second document having a lower confidentiality level than the first document and the target content being confidential content, displaying second prompt information; In response to detecting a confirmation operation for the second prompt information, it is determined to convert the secret point content into plain text content and add the plain text content to the second document.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to detecting a denial operation for the second prompt information, determining to add the secret point content to the second document, or refusing to add the secret point content to the second document.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: In response to the secret point content being added to the second document and detecting a viewing operation of the second document, displaying third prompt information; A confirmation operation for the third prompt information is detected, and the secret point content in the second document is converted into plain text content and displayed.
8. The method according to claim 7, characterized in that The method further comprises: In response to detecting a denial operation for the third prompt information, maintaining the dense point state of the dense point content in the second document when responding to the viewing operation.
9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: In response to the target content being successfully added to the second document, generating record information; The recorded information is displayed in the first mode and hidden in the second mode.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: In response to the first confidentiality level information being updated, the second confidentiality level information is updated.
11. A document processing device, characterized in that: include: A determination module is configured to determine first confidentiality information of a first document; wherein the target content of the first document is to be added to a second document; The setting module is configured to set second confidentiality level information of the second document according to the first confidentiality level information in response to the confidentiality level of the second document being lower than the confidentiality level of the first document.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the document processing method according to any one of claims 1 to 10 when running the executable instructions.
13. A computer-readable storage medium, characterized in that: The readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the document processing method according to any one of claims 1 to 10.
