Electronic document encryption method for domestic operating systems
By using hook technology and graphical interface development technology on domestic operating systems to monitor document window operations and encrypt it when closed, the problem of insufficient encryption protection of electronic documents under domestic operating systems is solved, automated encryption is realized, and information security and office are improved. efficiency.
Patent Information
- Application Number
- CN202011460739.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-11
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-12-11
AI Technical Summary
The lack of automated electronic document encryption protection methods under existing domestic operating systems has led to operational errors and more and more leaks.
The hook technology is used to inject text editing software, combined with X11 graphical interface development technology, gtk graphical interface development technology and JNI technology, to monitor document window operations and force encryption when the document is closed.
It realizes automatic forced encryption of electronic documents on domestic operating systems, avoids operational errors, improves office efficiency and information system security, and enhances the competitiveness and social benefits of enterprises.
Smart Images

Figure CN112507361B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an electronic document encryption method for a domestic operating system. Background Art
[0002] As the number of domestic operating systems used in confidential industries increases year by year, the demand for document office work under domestic operating systems is increasing dramatically. Correspondingly, the number of document office work under domestic operating systems is gradually increasing, and there is no effective forced encryption protection method. Due to improper protection and operational errors, more and more information leaks have occurred.
[0003] At present, there are no effective mandatory encryption protection measures for office document files in domestic systems in confidential industries, such as Zhongbiao Kylin, Galaxy Kylin, Zhongke Fangde, and Deepin System. The protection of documents is ensured by manually and actively encrypting them through various software systems. It cannot automatically and actively encrypt documents after office operations are performed, and cannot guarantee that every file operated by the operator is automatically encrypted and protected.
[0004] Therefore, there is an urgent need for a mandatory encryption method for electronic documents for domestic operating systems. Summary of the invention
[0005] The present invention provides an electronic document encryption method for a domestic operating system, which is used to solve the defect in the prior art that each electronic document cannot be automatically encrypted, and realizes automatic and mandatory encryption of electronic documents.
[0006] The present invention provides an electronic document encryption method for a domestic operating system, comprising:
[0007] For different types of text editing software under domestic operating systems, the hook technology is used to inject the text editing software;
[0008] According to the type of the text editing software, in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, the operation of all document corresponding windows in the text editing software is monitored;
[0009] The target document of the closed window is obtained, and the target document is forcibly encrypted.
[0010] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein, according to the type of the text editing software, one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology is combined to monitor the operation of all document corresponding windows in the text editing software, including:
[0011] If the text editing software is Kingsoft WPS software, use X11 technology to obtain the X11 properties of all document corresponding windows;
[0012] The X11 properties of the window are monitored through hook technology, thereby monitoring the operations of all windows corresponding to the documents in the text editing software.
[0013] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein the step of obtaining a target document of a closed window comprises:
[0014] The target document is obtained according to the X11 attribute of the closed window.
[0015] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein the method combines one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology according to the type of the text editing software to monitor the operation of all document corresponding windows in the text editing software, including:
[0016] If the text editing software is Yongzhong Office software, use the corresponding plug-in to monitor the windows of all documents;
[0017] When the document is closed, the JNI technology is used to return to the hook technology, so that all documents can be monitored using the hook technology.
[0018] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein the method combines one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology according to the type of the text editing software to monitor the operation of all document corresponding windows in the text editing software, including:
[0019] If the word editing software is a text editor software, the X11 properties of all document corresponding windows obtained by using X11 technology are used to monitor the operations of all document corresponding windows in the word editing software.
[0020] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein the step of obtaining a target document of a closed window comprises:
[0021] The target document is determined from all documents by emitting a gtk signal and destroying a gtk container.
[0022] According to the present invention, an electronic document encryption method for a domestic operating system is provided, wherein the text editor software is pluma or gedit.
[0023] The present invention also provides an electronic document encryption system for a domestic operating system, comprising:
[0024] An injection module is used to inject different types of text editing software under domestic operating systems into the text editing software using hook technology;
[0025] A monitoring module, for monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology according to the type of the text editing software;
[0026] The encryption module is used to obtain the target document of the closed window and forcibly encrypt the target document.
[0027] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-described electronic document encryption methods for a domestic operating system are implemented.
[0028] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the electronic document encryption method for a domestic operating system as described in any one of the above are implemented.
[0029] The electronic document encryption method for domestic operating systems provided by the present invention can forcibly encrypt documents generated by office software on domestic operating systems without the need for operators to perform additional manual operations, thus avoiding operational errors and improving office efficiency; it plays a driving role in improving the risk resistance of enterprise infrastructure and information systems; it ensures the security of key information infrastructure and important information systems, and brings about comprehensive improvements in the security of business systems of various enterprises and institutions; it further strengthens the security assurance capabilities of key infrastructure and important information systems; it will have a good demonstration effect within the enterprise, thereby improving the competitiveness of the enterprise; the demonstration effect will be expanded to the entire IT industry, generating huge social benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 One of the flow charts of an electronic document encryption method for a domestic operating system provided by the present invention;
[0032] Figure 2The second flowchart of the electronic document encryption method for the domestic operating system provided by the present invention;
[0033] Figure 3 A schematic diagram of the structure of an electronic document encryption system for a domestic operating system provided by the present invention;
[0034] Figure 4 A schematic diagram of the physical structure of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] For information security, to prevent information leakage at each process node during document use, and to comply with the trend of localization of confidential users, the design is based on electronic document protection technology to ensure automatic forced encryption at the end of the document during the entire document operation cycle.
[0037] In order to support automatic mandatory encryption of editable electronic documents under domestic operating systems, the following problems need to be solved:
[0038] Solve the problem of how to automatically force encryption. Under the premise that the existing document office software of Kingsoft WPS software, Yongzhong Office software, and text editor software are not modified, after the user uses the above office software to operate document office work, when the user closes the document operation window, it can accurately identify the user's operation of closing the document operation window of Kingsoft WPS software, Yongzhong Office software and text editor (pluma software under Zhongbiao Kylin system and Galaxy Kylin system, and gedit software under Zhongke Fangde system) and force the document to be encrypted autonomously and actively.
[0039] The problem lies in how to adapt and support different office software in domestic operating systems. The implementation of each software is quite different. For example, Kingsoft WPS software is developed and implemented with Qt, Yongzhong Office software is implemented with java, and pluma editor and gedit editor are developed with gtk. The recognition of window closing and open documents of each software is the root of the problem.
[0040] The embodiment of the present invention provides an electronic document encryption method for a domestic operating system, such as Figure 1 As shown, the method includes:
[0041] 110, for different types of text editing software under the domestic operating system, the hook technology is used to inject the text editing software;
[0042] Among the existing domestic operating systems, the domestic operating systems include Zhongbiao Kylin, Galaxy Kylin and Zhongke Fangde. The office software used includes Kingsoft WPS software, Yongzhong Office software and txt text editors. The txt text editors of different domestic operating systems are different. Zhongbiao Kylin and Galaxy Kylin use pluma software, and Zhongke Fangde uses gedit software.
[0043] By injecting the hook technology into the text editing software, the hook technology will be bound to the text editing software, that is, the hook technology is bound to the operation of the document opened in the text editing software.
[0044] For Windows system, hook technology is based on event-driven mechanism, which means the whole system is implemented through message passing. Hook is a special message processing mechanism, which can monitor various event messages in the system or process, intercept messages sent to the target window and process them. Therefore, you can customize hooks in the system to monitor the occurrence of specific events in the system and complete specific functions, such as screen word capture, log monitoring, keyboard and mouse input interception, etc.
[0045] There are many types of hooks, each of which can intercept corresponding messages, such as keyboard hooks can intercept keyboard messages, shell hooks can intercept messages for starting and closing applications, etc. Hooks can be divided into thread hooks and system hooks. Thread hooks can monitor event messages of specified threads, and system hooks monitor event messages of all threads in the system. Because system hooks affect all applications in the system, hook functions must be placed in independent dynamic link libraries (DLLs).
[0046] So, hook is a Windows message interception mechanism, which can intercept messages of a single process (thread hook), or intercept messages of all processes (system hook), and can also perform custom processing on intercepted messages. Windows messages carry some useful information for programs, such as Mouse class information, which carries information such as the window handle where the mouse is located and the mouse position. By intercepting these messages, you can make screen word-capturing functions such as Kingsoft PowerWord.
[0047] 120, monitoring operations of all windows corresponding to documents in the text editing software in combination with one of X11 graphical interface development technology, gtk graphical interface development technology and JNI technology according to the type of the text editing software;
[0048] Different types of text editing software use different development programs. Some are developed using C++, and some are developed using Java. Different development software has different underlying programs. Therefore, one of the X11 graphical interface development technology, gtk graphical interface development technology, and JNI technology is selected to monitor the operation of the document window.
[0049] The drawing of these software windows is based on the existing X11 graphical interface protocol and gtk graphics library of domestic operating systems.
[0050] 130, obtaining the target document of the closed window, and forcibly encrypting the target document.
[0051] The forced encryption method is based on the domestic operating system, using hook technology, combined with X11 graphical interface development technology, gtk graphical interface development technology, JNI technology, etc. Then, targeted processing is performed for different office software and their complex situations to achieve correct forced encryption.
[0052] At the same time, a common method is used to control the document operations of the above office software from the most basic level. Document office is accompanied by the opening, closing, reading and writing of documents. Hook technology is used to hook the opening and closing of documents, so that without modifying the office software, hook technology can monitor the entire life cycle of office software operation documents.
[0053] The hook technology can monitor the opening, closing, reading, and writing of documents, and combined with the X11 graphical interface development technology, it can hook the X11 event function and monitor the opening and closing of software interface windows.
[0054] The electronic document encryption method for domestic operating systems provided by the present invention can forcibly encrypt documents generated by office software on domestic operating systems without the need for operators to perform additional manual operations, thus avoiding operational errors and improving office efficiency; it plays a driving role in improving the risk resistance of enterprise infrastructure and information systems; it ensures the security of key information infrastructure and important information systems, and brings about comprehensive improvements in the security of business systems of various enterprises and institutions; it further strengthens the security assurance capabilities of key infrastructure and important information systems; it will have a good demonstration effect within the enterprise, thereby improving the competitiveness of the enterprise; the demonstration effect will be expanded to the entire IT industry, generating huge social benefits.
[0055] Based on the above embodiment, preferably, the method of monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of X11 graphical interface development technology, gtk graphical interface development technology and JNI technology according to the type of the text editing software includes:
[0056] If the text editing software is Kingsoft WPS software, use X11 technology to obtain the X11 properties of all windows corresponding to the documents;
[0057] The X11 properties of the window are monitored through hook technology, thereby monitoring the operations of all windows corresponding to the documents in the text editing software.
[0058] Based on the above embodiment, preferably, the target document is obtained according to the X11 attribute of the closed window.
[0059] For Kingsoft WPS software, when the program is running, it is injected into the operation of Kingsoft WPS software through hook technology. The user uses Kingsoft WPS software to open the document, and the hook program monitors the opening of the document and records the information of the opened document. The X11 technology is used to obtain the X11 properties of each window. The X11 properties correspond to the window one by one.
[0060] The Kingsoft WPS program will open many documents. When a document is closed, the hook technology can know which window is closed through the x11 attributes. The document corresponding to the closed window is the target document. When the user completes the operation and chooses to close the document, the hook monitoring software interface window recognizes the window closing and identifies the document and forces encryption in the background.
[0061] Based on the above embodiment, preferably, the method of monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of X11 graphical interface development technology, gtk graphical interface development technology and JNI technology according to the type of the text editing software includes:
[0062] If the text editing software is Yongzhong Office software, use the corresponding plug-in to monitor the windows of all documents;
[0063] When the document is closed, the JNI technology is used to return to the hook technology, so that all documents can be monitored using the hook technology.
[0064] Based on the above embodiment, preferably, the method of monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of X11 graphical interface development technology, gtk graphical interface development technology and JNI technology according to the type of the text editing software includes:
[0065] If the word editing software is a text editor software, the X11 properties of all document corresponding windows obtained by using X11 technology are used to monitor the operations of all document corresponding windows in the word editing software.
[0066] For Yongzhong Office software, Yongzhong Office software is developed by Java. When the software is running, it is also injected into the software through hook technology. The hook technology is developed by C++. Therefore, Yongzhong Office software and hook technology cannot be directly connected.
[0067] However, due to the convenience of Yongzhong Office software plug-in, it adopts plug-in and JNI technology. Yongzhong Office is developed in Java, and hook technology is developed in C++. JNI can be regarded as an interactive bridge between Java and C++.
[0068] The plug-in recognizes the operation and closing of the document, and returns it to the hook program through JNI technology when closing, and performs forced encryption in the background.
[0069] Based on the above embodiment, preferably, the method of monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of X11 graphical interface development technology, gtk graphical interface development technology and JNI technology according to the type of the text editing software includes:
[0070] If the word editing software is a text editor software, the X11 properties of all document corresponding windows obtained by using X11 technology are used to monitor the operations of all document corresponding windows in the word editing software.
[0071] Based on the above embodiment, preferably, obtaining the target document of the closed window includes:
[0072] The target document is determined from all documents by emitting a gtk signal and destroying a gtk container.
[0073] For text editor software, when the user runs the software, the hook technology is injected into the software operation. The user opens the document, the hook program monitors the opening of the document, records the document information and performs specific binding with the X11 properties of the window obtained using the X11 technology.
[0074] Due to the differences in the implementation of the two text editors, pluma and gedit, combined with the gtk graphical interface development technology, special processing is performed on the gtk signal emission and the destruction of the gtk container, monitoring the closing of text documents and implementing forced encryption when closing in the background.
[0075] A preferred embodiment of the present invention provides an electronic document encryption method for a domestic operating system, such as Figure 2 As shown, the method includes:
[0076] (1) Start node: the user opens the office software to operate the document.
[0077] (2) Hook injection scheme into office software programs and load third-party plug-ins into Yongzhong Office.
[0078] (3) Determine the type of office software.
[0079] (4) Kingsoft WPS software and text editors both save and bind the information of the open document and the X11 properties of the current window.
[0080] (5) The hook injection part monitors the X11 window events of Kingsoft WPS software and the gtk events of the text editor. The plug-in developed by Yongzhong Office software monitors the user's closing of the office document window.
[0081] (6) Yongzhong Office software uses JNI technology to call back to the injection part and return the information of the document operated by the user.
[0082] (7) Read the file header of the office document currently closed by the user to determine whether the file is an encrypted file. If it is an encrypted document, directly go to the office program to close it; if it is not an encrypted document, call the encryption part and encrypt it directly, thereby achieving forced encryption of the plaintext file.
[0083] The embodiment of the present invention provides an electronic document encryption system for domestic operating systems, such as Figure 3 As shown, the system includes an injection module 310, a monitoring module 320 and an encryption module 330, wherein:
[0084] The injection module 310 is used to inject different types of text editing software under the domestic operating system into the text editing software using the hook technology;
[0085] The monitoring module 320 is used to monitor the operation of all document corresponding windows in the text editing software in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology according to the type of the text editing software;
[0086] The encryption module 330 is used to obtain the target document of the closed window and forcibly encrypt the target document.
[0087] This embodiment is a system embodiment corresponding to the above method embodiment. For details, please refer to the above method embodiment. This system embodiment will not be described in detail here.
[0088] An embodiment of the present invention provides an electronic device, such as Figure 4As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communications interface 420 and the memory 430 communicate with each other via the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute an electronic document encryption method for a domestic operating system, the method comprising:
[0089] For different types of text editing software under domestic operating systems, the hook technology is used to inject the text editing software;
[0090] According to the type of the text editing software, in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, the operation of all document corresponding windows in the text editing software is monitored;
[0091] The target document of the closed window is obtained, and the target document is forcibly encrypted.
[0092] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0093] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute an electronic document encryption method for a domestic operating system provided by the above methods, the method comprising:
[0094] For different types of text editing software under domestic operating systems, the hook technology is used to inject the text editing software;
[0095] According to the type of the text editing software, in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, the operation of all document corresponding windows in the text editing software is monitored;
[0096] The target document of the closed window is obtained, and the target document is forcibly encrypted.
[0097] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for encrypting an electronic document for a domestic operating system provided above is implemented, and the method comprises:
[0098] For different types of text editing software under domestic operating systems, the hook technology is used to inject the text editing software;
[0099] According to the type of the text editing software, in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, the operation of all document corresponding windows in the text editing software is monitored;
[0100] The target document of the closed window is obtained, and the target document is forcibly encrypted.
[0101] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0102] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electronic document encryption method for a domestic operating system, characterized in that: include: For different types of text editing software under domestic operating systems, the hook technology is injected into the text editing software, and the hook technology is bound to all documents opened by the text editing software, and the development programs used by the different types of text editing software are different; According to the type of the text editing software, in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, the operation of all document corresponding windows in the text editing software is monitored; Acquire the target document of the closed window, and forcibly encrypt the target document; According to the type of the text editing software, combining one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology, monitoring the operation of all document corresponding windows in the text editing software includes: If the text editing software is Kingsoft WPS software, use X11 technology to obtain the X11 properties of all windows corresponding to the documents; Monitor the X11 properties of the window through hook technology, thereby monitoring the operations of all windows corresponding to the documents in the text editing software; If the text editing software is Yongzhong Office software, use the corresponding plug-in to monitor the windows of all documents; When the document is closed, the JNI technology is used to return to the hook technology, so that all documents can be monitored by the hook technology. If the text editing software is a TXT text editor software, the X11 properties of all document corresponding windows are obtained using X11 technology, thereby monitoring the operations of all document corresponding windows in the text editing software.
2. The electronic document encryption method for a domestic operating system according to claim 1 is characterized in that: The step of obtaining the target document of the closed window includes: The target document is obtained according to the X11 attribute of the closed window.
3. The electronic document encryption method for a domestic operating system according to claim 1 is characterized in that: The step of obtaining the target document of the closed window includes: The target document is determined from all documents by emitting a gtk signal and destroying a gtk container.
4. The electronic document encryption method for a domestic operating system according to claim 1, characterized in that: The text editor software is pluma or gedit.
5. An electronic document encryption system for domestic operating systems, characterized in that: include: The injection module is used to inject the text editing software of different types under the domestic operating system into the text editing software by using the hook technology, and bind the hook technology to all documents opened by the text editing software, wherein the development programs used by the different types of text editing software are different; A monitoring module, for monitoring the operation of all windows corresponding to documents in the text editing software in combination with one of the X11 graphical interface development technology, the gtk graphical interface development technology and the JNI technology according to the type of the text editing software; An encryption module, used for acquiring a target document of a closed window and forcibly encrypting the target document; The monitoring module is further used to obtain the X11 properties of all windows corresponding to the documents by using X11 technology if the text editing software is Kingsoft WPS software; monitor the X11 properties of the windows by using hook technology, thereby monitoring the operations of all windows corresponding to the documents in the text editing software; if the text editing software is Yongzhong office software, monitor the windows of all documents by using corresponding plug-ins; When the document is closed, the JNI technology is used to return to the hook technology, so that all documents are monitored by the hook technology; if the text editing software is a TXT text editor software, the X11 technology is used to obtain the X11 properties of all document corresponding windows, so as to monitor the operations of all document corresponding windows in the text editing software.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the electronic document encryption method for a domestic operating system as described in any one of claims 1 to 4 are implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the electronic document encryption method for a domestic operating system as described in any one of claims 1 to 4 are implemented.
