File Management Method and Apparatus, Touch Screen Terminal, Electronic Device, Storage Medium

By backing up and encrypting the application files of the industrial touch screen when the power outage information is received, and power outages when there is no file operation, the problem of insufficient protection of the industrial touch screen during power outage is solved, and components and files are protected are achieved, and losses and costs are reduced.

CN114048072BActive Publication Date: 2025-08-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111342870.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2025-08-05
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

In the prior art, industrial touch screens lack effective protection mechanisms during power outage, resulting in the inability to adequately protect components and files.

Method used

Provides a file management method, by receiving power outage information and sending backup and encryption instructions to the file manager, storing application files to the target folder, and controlling power outage of the power module when a fileless operation is detected, combining triple data encryption and step power outage to protect files and components.

Benefits of technology

Effectively protect touch screen application files and important data files, reduce the loss of components and files, reduce costs and improve usage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114048072B_ABST
    Figure CN114048072B_ABST
Patent Text Reader

Abstract

The present invention provides a file management method and device, a touch screen terminal, an electronic device, and a storage medium. The method comprises: receiving power-off information transmitted by the touch screen; sending a backup instruction to a file manager associated with the touch screen based on the power-off information; storing application files corresponding to the touch screen in a target folder according to the backup instruction; and controlling a power module associated with the touch screen to power off when no file operations are detected in the running directory of the target folder. The solution provided by the present invention solves the technical problem of the inability to effectively protect touch screens in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of touch screens, and in particular to a file management method and device, a touch screen terminal, an electronic device, and a storage medium. Background Art

[0002] In the current market, industrial touch screen products account for a large proportion, but for industrial touch screens, the programs and data in them are quite important, but the protection mechanism for this part is not satisfactory, and during the power-off process of the industrial touch screen, there is no focus on protecting the components and files of the touch screen itself. Summary of the Invention

[0003] In view of the above problems, the present invention proposes a file management method and device, a touch screen terminal, an electronic device, and a storage medium to at least solve the technical problem of the inability to effectively protect the touch screen in the related art. The technical solution is as follows:

[0004] According to a first aspect of the present invention, a file management method is provided, comprising: receiving power-off information sent by a touch screen; sending a backup instruction to a file manager associated with the touch screen based on the power-off information; storing application files corresponding to the touch screen to a target folder according to the backup instruction; and when it is detected that there is no file operation in the running directory of the target folder, controlling the power module associated with the touch screen to cut off power.

[0005] Optionally, controlling the power module associated with the touch screen to power off includes: reducing the power voltage in the power module to zero.

[0006] Optionally, before controlling the power module associated with the touch screen to power off, the method further includes: performing triple data encryption on the running directory corresponding to the target folder.

[0007] Optionally, before controlling the power module associated with the touch screen to cut off power, the method also includes: entering the running directory corresponding to the target folder to close the running process in the running directory corresponding to the target folder and deleting the running process; detecting whether there is a file operation in the running directory of the target folder; if there is a file operation in the running directory of the target folder, re-entering the running directory corresponding to the target folder to close the running process in the running directory and delete it.

[0008] Optionally, before detecting that there is no file operation in the running directory of the target folder, the method also includes: sending an encryption instruction to the file manager associated with the touch screen based on the power-off information; changing the executable attribute information of the application file based on the encryption instruction; encrypting the changed application file using a triple data encryption algorithm; determining whether the encryption operation on the changed application file is successful; if the encryption is successful, setting the parent directory corresponding to the target folder to a hidden state and setting a verification mechanism to hide the target folder; otherwise, re-encrypting the changed application file using the triple data encryption algorithm.

[0009] Optionally, after controlling the power module associated with the touch screen to cut off power, the method also includes: receiving a power-on instruction; sending a verification request to the touch screen based on the power-on instruction; when the verification is successful, unlocking the hidden state of the parent directory corresponding to the target folder; and copying the encrypted application file in the target folder to the running directory; decrypting the encrypted application file, and modifying the attribute information corresponding to the decrypted application file to run the decrypted application.

[0010] According to the second aspect of the present invention, a file management device is also provided, including: a first receiving module for receiving power-off information sent by a touch screen; a first sending module for sending a backup instruction to a file manager associated with the touch screen based on the power-off information; a first processing module for storing the application file corresponding to the touch screen to a target folder; and a control module for controlling the power module associated with the touch screen to power off when it is detected that there is no file operation in the running directory of the target folder.

[0011] Optionally, the control module includes: a first operating unit, configured to reduce the power supply voltage in the power supply module to zero.

[0012] Optionally, the device further includes: a first encryption module, configured to perform triple data encryption on the running directory corresponding to the target folder before the control module controls the power module associated with the touch screen to power off.

[0013] Optionally, the device also includes: a second processing module, used to enter the running directory corresponding to the target folder before the control module controls the power module associated with the touch screen to cut off power, so as to close the running process in the running directory corresponding to the target folder and delete the running process; a detection module, used to detect whether there is a file operation in the running directory of the target folder; a third processing module, used to re-enter the running directory corresponding to the target folder when there is a file operation in the running directory of the target folder, so as to close and delete the running process in the running directory.

[0014] Optionally, before the control module detects that there is no file operation in the running directory of the target folder, the device also includes: a second sending module, used to send an encryption instruction to the file manager associated with the touch screen based on the power-off information; a changing module, used to change the executable attribute information of the application file based on the encryption instruction; a second encryption module, used to encrypt the changed application file using a triple data encryption algorithm; a judgment module, used to judge whether the encryption operation on the changed application file is successful; a fourth processing module, used to set the parent directory corresponding to the target folder to a hidden state and set a verification mechanism to hide the target folder when the encryption is successful; otherwise, re-encrypt the changed application file using the triple data encryption algorithm.

[0015] Optionally, the device also includes: a second receiving module, used to receive a power-on instruction after the control module controls the power module associated with the touch screen to power off; a third sending module, used to send a verification request to the touch screen based on the power-on instruction; a fifth processing module, used to unlock the hidden state of the parent directory corresponding to the target folder when the verification is successful; and copy the encrypted application file in the target folder to the running directory; a running module, used to decrypt the encrypted application file and modify the attribute information corresponding to the decrypted application file to run the decrypted application.

[0016] According to a third aspect of the present invention, a touch screen terminal is provided, comprising any one of the above-mentioned devices.

[0017] According to a fourth aspect of the present invention, an electronic device is further provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

[0018] According to a fifth aspect of the present invention, a storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device embodiments when run.

[0019] The file management method provided by the embodiment of the present invention sends backup instructions and encryption instructions to the file manager associated with the touch screen after obtaining power-off information of the touch screen, thereby storing the application files corresponding to the touch screen in a specified target folder and encrypting the application files. When it is detected that there is no file operation in the running directory of the target folder, the power module associated with the touch screen is controlled to cut off power, thereby protecting the touch screen application files and important data files, thereby reducing the component wear and file loss of the touch screen, solving the technical problem in the related art that the touch screen cannot be effectively protected, reducing the cost of the touch screen and improving the usage efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments of the present invention.

[0021] Figure 1 This is a hardware structure diagram of a file management method according to an embodiment of the present invention applied to a computer terminal;

[0022] Figure 2 is a flow chart of a file management method according to an embodiment of the present invention;

[0023] Figure 3 This is a flow chart of a file management method applied to a touch screen according to a specific embodiment of the present invention;

[0024] Figure 4 This is a touch screen power-on flow chart applied to a touch screen provided in a specific embodiment of the present invention;

[0025] Figure 5 is a structural block diagram of a file management device according to an embodiment of the present invention;

[0026] Figure 6 FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0028] It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that such terms are interchangeable where appropriate, such that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein. Furthermore, the term "including" and its variations are to be interpreted as open-ended terms meaning "including but not limited to."

[0029] To address the technical problems existing in the related art, a file management method is provided in this embodiment. The following describes in detail the technical solution of the present invention and how it solves the aforementioned technical problems using specific embodiments. The following specific embodiments may be combined with one another, and identical or similar concepts or processes may not be described in detail in certain embodiments. The following embodiments of the present invention are described in conjunction with the accompanying drawings.

[0030] The method embodiment provided in the first embodiment of the present invention can be executed in a mobile terminal, a server, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a hardware structure diagram of a file management method according to an embodiment of the present invention applied to a computer terminal. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data. Optionally, the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the file management method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory, and may also include a volatile memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0032] The transmission device 106 is used to receive or send data via a network. A specific example of the aforementioned network may include a wireless network provided by a computer terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0033] Figure 2 is a flow chart of a file management method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0034] Step S202, receiving power-off information sent by the touch screen;

[0035] In one application scenario of this case, the file management method is applied to a mobile terminal, server, computer terminal or similar computing device with a touch screen; taking the mobile terminal as an example, the execution subject of this case can be the MCU (full name: Microcontroller Unit) of the mobile terminal. When the industrial touch screen is ready to power off, the touch screen itself sends the power-off information to the MCU, so that the microcontroller unit is the execution subject to execute the file management method of this solution.

[0036] Step S204: Sending a backup instruction to the file manager associated with the touch screen based on the power-off information;

[0037] According to the example of the above application scenario, after receiving the power-off information, the MCU sends a backup instruction to the file management system of the touch screen; optionally, it also includes sending an encryption instruction to the file management system.

[0038] Step S206, storing the application file corresponding to the touch screen to the target folder according to the backup instruction;

[0039] Preferably, it also includes: sending an encryption instruction to the file manager associated with the touch screen based on the power-off information; changing the executable attribute information of the application file based on the encryption instruction; encrypting the changed application file using a triple data encryption algorithm; judging whether the encryption operation on the changed application file is successful; if the encryption is successful, setting the parent directory corresponding to the target folder to a hidden state and setting a verification mechanism to hide the target folder; otherwise, re-encrypting the changed application file using the triple data encryption algorithm.

[0040] Furthermore, after the encryption operation on the modified application file is successful, the running directory corresponding to the target folder is entered to close the running process in the running directory corresponding to the target folder and delete the running process; whether there is a file operation in the running directory of the target folder is detected; if there is a file operation in the running directory of the target folder, the running directory corresponding to the target folder is re-entered to close the running process in the running directory and delete it. In this embodiment, the existing program is pkilled, that is, the existing running process is pkilled to close the program operation and then the running process is deleted.

[0041] Preferably, the end and running directory environment of the existing program (ie, the program running directory) can be obtained by capturing and interpreting the message.

[0042] Preferably, in an example of this embodiment, the control objects are the touch screen program and the backup folder, and the folder where the touch screen program is located and the specified directory can be displayed by connecting to the touch screen.

[0043] In an optional example, after receiving the power-off information, the MCU sends backup instructions and instructions for encrypting the touch screen program to the touch screen file system (i.e., the above-mentioned file manager); further, in a specific folder directory (i.e., the above-mentioned target folder), the executable program in the running directory is copied to the folder directory, and the row attributes of the application file are changed, mainly changing its executable attributes, and the changed application is triple DES encrypted, and then the parent directory of the application file is set to a hidden state and a verification mechanism is set to increase confidentiality and security.

[0044] Step S208: When it is detected that there is no file operation in the running directory of the target folder, the power module associated with the touch screen is controlled to be powered off.

[0045] Furthermore, before the power module associated with the touch screen is controlled to be powered off, triple data encryption is performed on the running directory corresponding to the target folder.

[0046] Preferably, the above step S208 specifically includes: reducing the power supply voltage in the power module to zero. In this embodiment, the power module is notified to shut down the power in a step-by-step manner, thereby avoiding damage to files and components during the power-off process.

[0047] Preferably, the step-by-step power-off action is identifiable.

[0048] In another optional embodiment of the present case, the above method also includes: receiving a power-on instruction; sending a verification request to the touch screen based on the power-on instruction; when the verification is successful, unlocking the hidden state of the parent directory corresponding to the target folder; and copying the encrypted application file in the target folder to the running directory; decrypting the encrypted application file, and modifying the attribute information corresponding to the decrypted application file to run the decrypted application.

[0049] In this embodiment, when power is turned on, verification is first performed, and the encrypted folder is decrypted after passing the verification; wherein the verification action is identifiable.

[0050] The file management method provided by the embodiment of the present invention sends backup instructions and encryption instructions to the file manager associated with the touch screen after obtaining power-off information of the touch screen, thereby storing the application files corresponding to the touch screen in a specified target folder and encrypting the application files. When it is detected that there is no file operation in the running directory of the target folder, the power module associated with the touch screen is notified to cut off the power, thereby protecting the application files and important data files of the touch screen, thereby reducing the component wear and file loss of the touch screen, solving the technical problem of the related art that the touch screen cannot be effectively protected, reducing the cost of the touch screen and improving the usage efficiency.

[0051] The present invention will be further described below with reference to a working flow diagram of a specific embodiment:

[0052] Figure 3 FIG. 1 is a flow chart of a file management method applied to a touch screen according to a specific embodiment of the present invention. Figure 3 As shown, the following steps are included:

[0053] Step S301: The MCU recognizes that it is ready to power off.

[0054] Step S302: The MCU sends a backup and encryption instruction to the file system; after entering the file system, it enters a specific folder (i.e., the target folder mentioned above);

[0055] Step S303, based on the backup instruction, copy the program to a specific folder;

[0056] Step S304, changing the executable attribute information of the program;

[0057] Step S305, performing triple DES encryption on the program file with changed attributes;

[0058] Step S306, determine whether the encryption is successful; if the encryption fails, return to step S305;

[0059] Step S307: If the encryption is successful, the target folder is hidden;

[0060] Step S308, enter the running directory of the target folder;

[0061] Step S309, PKILL program and delete;

[0062] Step S310, determine whether there is a file operation; if yes, return to step S308; if not, go to step S311;

[0063] Step S311, perform triple DES encryption on the running directory;

[0064] Step S312: Slowly reduce the voltage until the power is cut off.

[0065] Furthermore, after a power outage, Figure 4 As shown, Figure 4 This is a touch screen power-on flow chart applied to a touch screen according to a specific embodiment of the present invention, specifically including:

[0066] Step S401, receiving a power-on instruction;

[0067] Step S402, sending a verification instruction;

[0068] Step S403, determine whether the verification is successful; if not, return to step S402 and resend the verification instruction; otherwise, execute step S404;

[0069] Step S404, unlocking the hidden directory;

[0070] Step S405, unlocking the running directory;

[0071] Step S406, copy the program to the running directory;

[0072] Step S407, modifying the permission attributes;

[0073] Step S408: Run, the touch screen starts normally.

[0074] Through the above embodiment, the programs and important files of the touch screen are protected, component loss and file loss are reduced, thereby reducing costs and improving operating efficiency.

[0075] Based on the file management methods provided in the above embodiments, and based on the same inventive concept, a file management device is also provided in this embodiment. The device is used to implement the above embodiments and preferred implementations, and the details that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceivable.

[0076] Figure 5 is a structural block diagram of a file management device according to an embodiment of the present invention. Figure 5 As shown, the device includes: a first receiving module 50, used to receive power-off information sent by the touch screen; a first sending module 52, connected to the above-mentioned first receiving module 50, used to send a backup instruction to the file manager associated with the touch screen based on the power-off information; a first processing module 54, connected to the above-mentioned first sending module 52, used to store the application file corresponding to the touch screen to the target folder according to the backup instruction; a control module 56, connected to the above-mentioned first processing module 54, used to control the power module associated with the touch screen to power off when it is detected that there is no file operation in the running directory of the target folder.

[0077] Optionally, the control module 56 includes: a first operating unit, configured to reduce the power supply voltage in the power supply module to zero.

[0078] Optionally, the above-mentioned device further includes: a first encryption module, configured to perform triple data encryption on the running directory corresponding to the target folder before the control module controls the power module associated with the touch screen to power off.

[0079] Optionally, the above-mentioned device also includes: a second processing module, which is used to enter the running directory corresponding to the target folder before the control module controls the power module associated with the touch screen to cut off power, so as to close the running process in the running directory corresponding to the target folder and delete the running process; a detection module, which is used to detect whether there is a file operation in the running directory of the target folder; and a third processing module, which is used to re-enter the running directory corresponding to the target folder when there is a file operation in the running directory of the target folder, so as to close the running process in the running directory and delete it.

[0080] Optionally, before the control module 56 detects that there is no file operation in the running directory of the target folder, the above-mentioned device also includes: a second sending module, used to send an encryption instruction to the file manager associated with the touch screen based on the power-off information; a changing module, used to change the executable attribute information of the application file based on the encryption instruction; a second encryption module, used to encrypt the changed application file using a triple data encryption algorithm; a judgment module, used to judge whether the encryption operation on the changed application file is successful; a fourth processing module, used to set the parent directory corresponding to the target folder to a hidden state and set a verification mechanism to hide the target folder when the encryption is successful; otherwise, re-encrypt the changed application file using the triple data encryption algorithm.

[0081] Optionally, the above-mentioned device also includes: a second receiving module, used to receive a power-on instruction after the control module controls the power module associated with the touch screen to power off; a third sending module, used to send a verification request to the touch screen based on the power-on instruction; a fifth processing module, used to unlock the hidden state of the parent directory corresponding to the target folder when the verification is successful; and copy the encrypted application file in the target folder to the running directory; a running module, used to decrypt the encrypted application file and modify the attribute information corresponding to the decrypted application file to run the decrypted application.

[0082] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0083] Based on the file management methods provided in the above embodiments and based on the same inventive concept, a touch screen terminal is also provided in this embodiment, comprising any one of the above file management devices.

[0084] In this embodiment, the touch screen terminal is used to implement the above embodiments and preferred implementation modes, and details that have been described will not be repeated.

[0085] An embodiment of the present invention further provides a storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0086] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0087] S1, receiving the power-off information sent by the touch screen;

[0088] S2, sending a backup instruction to a file manager associated with the touch screen based on the power off information;

[0089] S3, storing the application file corresponding to the touch screen to a target folder according to the backup instruction;

[0090] S4, when it is detected that there is no file operation in the running directory of the target folder, controlling the power module associated with the touch screen to cut off power.

[0091] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0092] Based on the above Figure 2 The method shown and Figure 5 In order to achieve the above-mentioned purpose, the present invention also provides an electronic device, such as Figure 6 As shown, the system includes a memory 62 and a processor 61, wherein the memory 62 and the processor 61 are both arranged on a bus 63. The memory 62 stores a computer program, and the processor 61 executes the computer program to realize Figure 2 The file management method shown.

[0093] Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a memory (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), and includes a number of instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present invention.

[0094] Optionally, the device may also be connected to a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, and the like. The user interface may include a display, an input unit such as a keyboard, and the like. Optional user interfaces may also include a USB interface, a card reader interface, and the like. Optionally, the network interface may include a standard wired interface, a wireless interface (such as a Bluetooth interface, a Wi-Fi interface), and the like.

[0095] Those skilled in the art will understand that the structure of an electronic device provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0096] Optionally, specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0097] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, centralized on a single computing device, or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, which can then be stored in a storage device and executed by the computing device. In some cases, the steps shown or described can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0098] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A file management method, characterized in that: include: Receive power-off information sent by the touch screen; sending a backup instruction to a file manager associated with the touch screen based on the power off information; Storing the application file corresponding to the touch screen to a target folder according to the backup instruction; When it is detected that there is no file operation in the running directory of the target folder, controlling the power module associated with the touch screen to cut off power; Before detecting that there is no file operation in the running directory of the target folder, the method further includes: sending an encryption instruction to a file manager associated with the touch screen based on the power-off information; Modifying executable attribute information of the application file based on the encrypted instruction; Encrypt the modified application files using a triple data encryption algorithm; Determining whether the encryption operation on the modified application file is successful; If the encryption is successful, the parent directory corresponding to the target folder is set to a hidden state and a verification mechanism is set to hide the target folder; otherwise, the triple data encryption algorithm is used again to encrypt the modified application file.

2. The method according to claim 1, characterized in that The controlling the power module associated with the touch screen to cut off power includes: The power supply voltage in the power supply module is reduced to zero.

3. The method according to claim 1, characterized in that Before controlling the power module associated with the touch screen to power off, the method further includes: The running directory corresponding to the target folder is triple-encrypted.

4. The method according to claim 1, wherein Before controlling the power module associated with the touch screen to power off, the method further includes: Entering the running directory corresponding to the target folder to close the running process in the running directory corresponding to the target folder and deleting the running process; Detect whether there is a file operation in the running directory of the target folder; If there is a file operation in the running directory of the target folder, re-enter the running directory corresponding to the target folder to close the running process in the running directory and delete it.

5. The method according to claim 1, wherein After controlling the power module associated with the touch screen to cut off power, the method further includes: Receive power-on command; sending a verification request to the touch screen based on the power-on instruction; When the verification is successful, the hidden state of the parent directory corresponding to the target folder is unlocked; and the encrypted application file in the target folder is copied to the running directory; The encrypted application file is decrypted, and the attribute information corresponding to the decrypted application file is modified to run the decrypted application.

6. A file management device, characterized in that: include: A first receiving module, configured to receive power-off information sent by the touch screen; a first sending module, configured to send a backup instruction to a file manager associated with the touch screen based on the power-off information; A first processing module, configured to store the application file corresponding to the touch screen into a target folder according to the backup instruction; a control module, configured to control a power module associated with the touch screen to cut off power when detecting that there is no file operation in the running directory of the target folder; Before the control module detects that there is no file operation in the running directory of the target folder, the file management device also includes: a second sending module, which is used to send an encryption instruction to the file manager associated with the touch screen based on the power-off information; a changing module, which is used to change the executable attribute information of the application file based on the encryption instruction; a second encryption module, which is used to encrypt the changed application file using a triple data encryption algorithm; a judgment module, which is used to judge whether the encryption operation on the changed application file is successful; and a fourth processing module, which is used to set the parent directory corresponding to the target folder to a hidden state and set a verification mechanism to hide the target folder when the encryption is successful; otherwise, the triple data encryption algorithm is used again to encrypt the changed application file.

7. A touch screen terminal, characterized in that: Comprising the device according to claim 6.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Control method and device for closing application as well as portable electronic equipment

    CN108595103A

  • Simple and portable storage medium information detection and backup device

    CN202838977U