CN114048072A - File management method and device, touch screen terminal, electronic device and storage medium - Google Patents

File management method and device, touch screen terminal, electronic device and storage medium Download PDF

Info

Publication number
CN114048072A
CN114048072A CN202111342870.3A CN202111342870A CN114048072A CN 114048072 A CN114048072 A CN 114048072A CN 202111342870 A CN202111342870 A CN 202111342870A CN 114048072 A CN114048072 A CN 114048072A
Authority
CN
China
Prior art keywords
touch screen
file
target folder
power
directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111342870.3A
Other languages
Chinese (zh)
Inventor
李恒
李伟进
曾安
陈金奇
林运楷
梁勇帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111342870.3A priority Critical patent/CN114048072A/en
Publication of CN114048072A publication Critical patent/CN114048072A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a file management method and device, a touch screen terminal, electronic equipment and a storage medium, wherein the method comprises the following steps: 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 failure information; storing the application program file corresponding to the touch screen into a target folder according to the backup instruction; and when no file operation is detected in the running directory of the target folder, controlling a power module associated with the touch screen to be powered off. The scheme provided by the invention solves the technical problem that the touch screen cannot be effectively protected in the related technology.

Description

File management method and device, touch screen terminal, electronic device and storage medium
Technical Field
The invention relates to the field of touch screens, in particular to a file management method and device, a touch screen terminal, electronic equipment and a storage medium.
Background
In the current market, industrial touch screen products are in a large proportion, but programs and data in the industrial touch screen are quite important, the protection mechanism of the industrial touch screen is not satisfactory, and the protection of elements and files of the touch screen is not important during the power-off process of the industrial touch screen.
Disclosure of Invention
In view of the above problems, the present invention provides a file management method and apparatus, a touch screen terminal, an electronic device, and a storage medium, so as to at least solve the technical problem that a touch screen cannot be effectively protected in the related art. The technical scheme is as follows:
according to a first aspect of the present invention, there is provided a file management method 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 the application program file corresponding to the touch screen into a target folder according to the backup instruction; and when no file operation is detected in the running directory of the target folder, controlling a power module associated with the touch screen to be powered off.
Optionally, the controlling the power module associated with the touch screen to power off includes: reducing a supply voltage in the power supply module to zero.
Optionally, before controlling the power module associated with the touch screen to power off, the method further includes: and carrying out triple data encryption on the operation directory corresponding to the target folder.
Optionally, 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; detecting whether a file operation exists in the running directory of the target folder; and if the operating directory of the target folder has file operation, re-entering the operating directory corresponding to the target folder to close the operating process in the operating directory and delete the operating process.
Optionally, 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; changing attribute information executable by the application program file based on the encryption instruction; encrypting the changed application program file by utilizing a triple data encryption algorithm; judging whether the encryption operation on the changed application program file is successful or not; if the encryption is successful, setting the superior directory corresponding to the target folder to be in a hidden state and setting a verification mechanism so as to hide the target folder; otherwise, the triple data encryption algorithm is reused to encrypt the modified application program file.
Optionally, after controlling the power module associated with the touch screen to power off, the method further 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 superior directory corresponding to the target folder; copying the encrypted application program file in the target folder to the running directory; and decrypting the encrypted application program file, and modifying attribute information corresponding to the decrypted application program file to run the decrypted application program.
According to a second aspect of the present invention, there is also provided a file management apparatus comprising: the first receiving module is used for receiving power-off information sent by the touch screen; the first sending module is used for sending a backup instruction to a file manager associated with the touch screen based on the power failure information; the first processing module is used for storing the application program file corresponding to the touch screen into a target folder; and the control module is used for controlling the power supply module associated with the touch screen to be powered off when no file operation is detected in the running directory of the target folder.
Optionally, the control module includes: a first operation unit for reducing a power supply voltage in the power supply module to zero.
Optionally, the apparatus further comprises: and the first encryption module is used for carrying out triple data encryption on the operation directory corresponding to the target folder before the control module controls the power supply module associated with the touch screen to be powered off.
Optionally, the apparatus further comprises: the second processing module is used for 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 before the control module controls the power supply module associated with the touch screen to power off; the detection module is used for detecting whether the file operation exists in the operation directory of the target folder; and the third processing module is used for re-entering the running directory corresponding to the target folder when the running directory of the target folder has file operation so as to close the running process in the running directory and delete the running process.
Optionally, before the control module detects that there is no file operation in the running directory of the target folder, the apparatus further includes: the second sending module is used for sending an encryption instruction to a file manager associated with the touch screen based on the power-off information; the changing module is used for changing the attribute information executable by the application program file based on the encryption instruction; the second encryption module is used for encrypting the changed application program file by utilizing a triple data encryption algorithm; the judgment module is used for judging whether the encryption operation on the changed application program file is successful or not; the fourth processing module is used for setting the superior directory corresponding to the target folder to be in a hidden state and setting a verification mechanism to hide the target folder when encryption is successful; otherwise, the triple data encryption algorithm is reused to encrypt the modified application program file.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a power-on instruction after the control module controls the power module associated with the touch screen to power off; a third sending module, configured to send a verification request to the touch screen based on the power-on instruction; the fifth processing module is used for unlocking the hidden state of the superior directory corresponding to the target folder after the verification is identified to be successful; copying the encrypted application program file in the target folder to the running directory; and the operation module is used for decrypting the encrypted application program file and modifying the attribute information corresponding to the decrypted application program file so as to operate the decrypted application program.
According to a third aspect of the present invention, there is also provided a touch screen terminal comprising the apparatus of any one of the above.
According to a fourth aspect of the present invention, there is also provided an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
According to a fifth aspect of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps in any of the apparatus embodiments described above when executed.
According to the file management method provided by the embodiment of the invention, after the power-off information of the touch screen is obtained, the backup instruction and the encryption instruction are sent to the file manager associated with the touch screen, so that the application program file corresponding to the touch screen is stored in the specified target folder and encrypted, and when no file operation is detected in the operating directory of the target folder, the power module associated with the touch screen is controlled to be powered off, so that the application program file and the important data file of the touch screen are protected, the element loss and the file loss of the touch screen are reduced, the technical problem that the touch screen cannot be effectively protected in the related technology is solved, the cost of the touch screen is reduced, and the use efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below.
FIG. 1 is a block diagram of a hardware structure of a computer terminal to which a file management method according to an embodiment of the present invention is applied;
FIG. 2 is a flow chart of a file management method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a file management method applied to a touch screen according to an embodiment of the present invention;
FIG. 4 is a flowchart of a power-up procedure for a touch screen according to an embodiment of the present invention;
FIG. 5 is a block diagram showing the construction of a file management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that such uses are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to".
In order to solve the technical problems in the related art, the present embodiment provides a file management method. The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
The method provided by the embodiment of the invention can be executed in a mobile terminal, a server, a computer terminal or a similar operation device. Taking the example of running on a computer terminal, fig. 1 is a block diagram of a hardware structure of a file management method applied to a computer terminal according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the file management method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory, and may also include volatile memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Fig. 2 is a flowchart of a file management method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving power-off information sent by a touch screen;
in an application scenario of the scheme, the file-based management method is applied to a mobile terminal with a touch screen, a server, a computer terminal or a similar operation device and the like; taking a mobile terminal as an example, the execution main body of the scheme can be an MCU (micro controller Unit) of the mobile terminal, and when the industrial touch screen is ready to power off, the touch screen sends power off information to the MCU, so that the micro controller Unit executes the file management method of the scheme as the execution main body.
Step S204, sending a backup instruction to a file manager associated with the touch screen based on the power failure information;
according to the application scene example, after receiving the power-off information, the MCU sends a backup instruction to a file management system of the touch screen; optionally, the method further comprises sending an encryption instruction to the sending file management system.
Step S206, storing the application program file corresponding to the touch screen into a target folder according to the backup instruction;
preferably, the method further comprises the following steps: sending an encryption instruction to a file manager associated with the touch screen based on the power failure information; changing attribute information executable by the application program file based on the encryption instruction; encrypting the changed application program file by utilizing a triple data encryption algorithm; judging whether the encryption operation on the changed application program file is successful or not; if the encryption is successful, setting the superior directory corresponding to the target folder to be in a hidden state and setting a verification mechanism so as to hide the target folder; otherwise, the triple data encryption algorithm is reused to encrypt the changed application program file.
Further, after the encryption operation on the changed application program file is successful, entering an operation directory corresponding to the target folder to close an operation process in the operation directory corresponding to the target folder, and deleting the operation process; detecting whether a file operation exists in an operation directory of a target folder; and if the operating directory of the target folder has file operation, re-entering the operating directory corresponding to the target folder to close the operating process in the operating directory and delete the operating process. In this embodiment, an existing program is subjected to pkill operation, that is, an existing running process is subjected to pkill operation, so that the program operation is closed, and then the running process is deleted.
Preferably, the existing program termination and run directory environment (i.e., program run directory) can be interpreted by crawling messages.
Preferably, in an example of this embodiment, the control objects are a touch screen program and a backup folder, and the folder in which the touch screen program is located and the specified directory can be displayed by connecting the touch screen.
In an optional example, after receiving the power-off information, the MCU issues a backup instruction and an instruction for encrypting the touch screen program to the touch screen file system (i.e., the file manager); further, under a specific folder directory (namely the target folder), the executable program under the operating directory is copied to the folder directory, the line attribute of the application program file is changed, the executable attribute of the application program file is mainly changed, the changed application program is subjected to triple DES encryption, and then the upper directory of the application program file is set to be in a hidden state and a verification mechanism is set to increase the security.
And step S208, when no file operation is detected in the running directory of the target folder, controlling a power module associated with the touch screen to be powered off.
Further, before the power module associated with the touch screen is controlled to be powered off, triple data encryption is performed on the operation directory corresponding to the target folder.
Preferably, the step S208 specifically includes: the supply voltage in the power supply module is reduced to zero. In the embodiment, the power module is informed to power off according to steps, so that damage to files and elements in the power off process is avoided.
Preferably, the act of stepping down the power can be identified.
In another optional embodiment of the present disclosure, the method further 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 superior directory corresponding to the target folder; copying the encrypted application program file in the target folder to an operating directory; and decrypting the encrypted application program file, and modifying attribute information corresponding to the decrypted application program file to run the decrypted application program.
In this embodiment, when the power is turned on, verification is performed first, and the encrypted folder is decrypted after the verification is passed; wherein the act of verifying is identifiable.
According to the file management method provided by the embodiment of the invention, after the power-off information of the touch screen is obtained, the backup instruction and the encryption instruction are sent to the file manager associated with the touch screen, so that the application program file corresponding to the touch screen is stored in the specified target folder and encrypted, and when no file operation is detected in the operating directory of the target folder, the power module associated with the touch screen is informed to power off, so that the application program file and the important data file of the touch screen are protected, the element loss and the file loss of the touch screen are reduced, the technical problem that the touch screen cannot be effectively protected in the related technology is solved, the cost of the touch screen is reduced, and the use efficiency is improved.
The invention is further described below with reference to a work flow diagram of a specific embodiment:
fig. 3 is a flowchart of a file management method applied to a touch screen according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step S301, the MCU recognizes that power is ready to be cut off;
step S302, the MCU issues a backup and encryption instruction to the file system; entering a specific folder (namely the target folder) after entering a file system;
step S303, copying the program to a specific folder based on the backup instruction;
step S304, changing the executable attribute information of the program;
step S305, triple DES encryption is carried out on the program file with the changed attribute;
step S306, judging whether the encryption is successful; if the encryption fails, returning to step S305;
step S307, if the encryption is successful, hiding the target folder;
step S308, entering an operation directory of the target folder;
step S309, deleting the PKILL program;
step S310, judging whether a file operation exists; if yes, go back to step S308; if not, executing step S311;
step S311, carrying out triple DES encryption operation catalogue;
in step S312, the voltage is slowly decreased until the power is turned off.
Further, after the power is cut off, as shown in fig. 4, fig. 4 is a flowchart of a power-on process of a touch screen applied to the touch screen, which is provided in an embodiment of the present invention, and specifically includes:
step S401, receiving a power-on instruction;
step S402, sending a verification instruction;
step S403, judging whether the verification is successful; if not, returning to the step S402, and resending the verification instruction; otherwise, executing step S404;
step S404, unlocking the hidden directory;
step S405, unlocking the operation directory;
step S406, copying the program to an operation directory;
step S407, modifying the authority attribute;
and step S408, operating and normally starting the touch screen.
Through the embodiment, the program and the important files of the touch screen are protected, the element loss and the file loss are reduced, the cost is further reduced, and the operation efficiency is improved.
Based on the file management method provided in the foregoing embodiments, and based on the same inventive concept, the present embodiment further provides a file management apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and which has already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram showing the configuration of a file management apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus including: the first receiving module 50 is used for receiving the power-off information sent by the touch screen; a first sending module 52, connected to the first receiving module 50, for sending a backup instruction to a file manager associated with the touch screen based on the power-off information; a first processing module 54, connected to the first sending module 52, for storing the application program file corresponding to the touch screen into the target folder according to the backup instruction; and the control module 56 is connected to the first processing module 54, and is configured to control the power module associated with the touch screen to power off when detecting that no file operation exists in the running directory of the target folder.
Optionally, the control module 56 includes: the first operation unit is used for reducing the power supply voltage in the power supply module to zero.
Optionally, the apparatus further comprises: and the first encryption module is used for carrying out triple data encryption on the operation directory corresponding to the target folder before the control module controls the power supply module associated with the touch screen to be powered off.
Optionally, the apparatus further comprises: the second processing module is used for entering the running directory corresponding to the target folder before the control module controls the power supply module associated with the touch screen to power off so as to close the running process in the running directory corresponding to the target folder and delete the running process; the detection module is used for detecting whether the file operation exists in the running directory of the target folder; and the third processing module is used for re-entering the running directory corresponding to the target folder when the running directory of the target folder has the file operation so as to close the running process in the running directory and delete the running process.
Optionally, before the control module 56 detects that there is no file operation in the running directory of the target folder, the apparatus further includes: the second sending module is used for sending an encryption instruction to a file manager associated with the touch screen based on the power failure information; the modification module is used for modifying the attribute information executable by the application program file based on the encryption instruction; the second encryption module is used for encrypting the changed application program file by utilizing a triple data encryption algorithm; the judgment module is used for judging whether the encryption operation on the changed application program file is successful; the fourth processing module is used for setting the superior directory corresponding to the target folder to be in a hidden state and setting a verification mechanism to hide the target folder when the encryption is successful; otherwise, the triple data encryption algorithm is reused to encrypt the changed application program file.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a power-on instruction after the control module controls the power module associated with the touch screen to be powered off; the third sending module is used for sending a verification request to the touch screen based on the power-on instruction; the fifth processing module is used for unlocking the hidden state of the superior directory corresponding to the target folder after the verification is identified to be successful; copying the encrypted application program file in the target folder to an operating directory; and the operation module is used for decrypting the encrypted application program file and modifying the attribute information corresponding to the decrypted application program file so as to operate the decrypted application program.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Based on the file management method provided by each embodiment, based on the same inventive concept, the embodiment also provides a touch screen terminal, which comprises any one of the file management devices.
In this embodiment, the touch screen terminal is used to implement the above embodiments and preferred embodiments, and the description already made is omitted.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving power-off information sent by the touch screen;
s2, sending a backup instruction to a file manager associated with the touch screen based on the power-off information;
s3, storing the application program files corresponding to the touch screen into a target folder according to the backup instruction;
and S4, when no file operation is detected in the running directory of the target folder, controlling the power module associated with the touch screen to be powered off.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Based on the above-mentioned embodiments of the method shown in fig. 2 and the apparatus shown in fig. 5, in order to achieve the above-mentioned object, an embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a memory 62 and a processor 61, where the memory 62 and the processor 61 are both arranged on a bus 63, and the memory 62 stores a computer program, and the processor 61 implements the file management method shown in fig. 2 when executing the computer program.
Based on such 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, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present invention.
Optionally, the device may also be connected to a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be understood by those skilled in the art that the structure of an electronic device provided in the present embodiment does not constitute a limitation of the physical device, and may include more or less components, or some components in combination, or a different arrangement of components.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A file management method, 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 the application program file corresponding to the touch screen into a target folder according to the backup instruction;
and when no file operation is detected in the running directory of the target folder, controlling a power module associated with the touch screen to be powered off.
2. The method of claim 1, wherein the controlling the power module associated with the touch screen to power down comprises:
reducing a supply voltage in the power supply module to zero.
3. The method of claim 1, wherein prior to controlling the power module associated with the touch screen to power down, the method further comprises:
and carrying out triple data encryption on the operation directory corresponding to the target folder.
4. The method of claim 1, wherein prior to controlling the power module associated with the touch screen to power down, the method further comprises:
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 a file operation exists in the running directory of the target folder;
and if the operating directory of the target folder has file operation, re-entering the operating directory corresponding to the target folder to close the operating process in the operating directory and delete the operating process.
5. The method of claim 1, wherein prior to detecting that there are no file operations in the running directory of the target folder, the method further comprises:
sending an encryption instruction to a file manager associated with the touch screen based on the power-off information;
changing attribute information executable by the application program file based on the encryption instruction;
encrypting the changed application program file by utilizing a triple data encryption algorithm;
judging whether the encryption operation on the changed application program file is successful or not;
if the encryption is successful, setting the superior directory corresponding to the target folder to be in a hidden state and setting a verification mechanism so as to hide the target folder; otherwise, the triple data encryption algorithm is reused to encrypt the modified application program file.
6. The method of claim 5, wherein after controlling the power module associated with the touch screen to power down, the method further comprises:
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 superior directory corresponding to the target folder; copying the encrypted application program file in the target folder to the running directory;
and decrypting the encrypted application program file, and modifying attribute information corresponding to the decrypted application program file to run the decrypted application program.
7. A file management apparatus, characterized by comprising:
the first receiving module is used for receiving power-off information sent by the touch screen;
the first sending module is used for sending a backup instruction to a file manager associated with the touch screen based on the power failure information;
the first processing module is used for storing the application program file corresponding to the touch screen into a target folder according to the backup instruction;
and the control module is used for controlling the power supply module associated with the touch screen to be powered off when no file operation is detected in the running directory of the target folder.
8. A touch screen terminal characterized by comprising the apparatus of claim 7.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method according to any one of claims 1 to 6.
CN202111342870.3A 2021-11-12 2021-11-12 File management method and device, touch screen terminal, electronic device and storage medium Pending CN114048072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111342870.3A CN114048072A (en) 2021-11-12 2021-11-12 File management method and device, touch screen terminal, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111342870.3A CN114048072A (en) 2021-11-12 2021-11-12 File management method and device, touch screen terminal, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114048072A true CN114048072A (en) 2022-02-15

Family

ID=80208921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111342870.3A Pending CN114048072A (en) 2021-11-12 2021-11-12 File management method and device, touch screen terminal, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114048072A (en)

Similar Documents

Publication Publication Date Title
CN104102882B (en) Protection method and device for privacy data of application program
CN101984575B (en) Method and device for protecting mobile terminal software
CN102622311B (en) USB (universal serial bus) mobile memory device access control method, USB mobile memory device access control device and USB mobile memory device access control system
CN105308560A (en) Method and apparatus for setting profile
CN110116408B (en) Robot safety control method, robot and computer readable storage medium
CN101258505A (en) Secure software updates
CN109739690B (en) Backup method and related products
CN103154882B (en) Virtual machine is used to manage shared data
EP2835997B1 (en) Cell phone data encryption method and decryption method
CN104008345A (en) Method and device for protecting user privacy data of application program
JP6923582B2 (en) Information processing equipment, information processing methods, and programs
CN104035891A (en) Android mobile terminal data security protection system
CN103942121A (en) Data recovery system and mobile terminal
CN109063011B (en) Log processing method, electronic device and computer readable storage medium
CN105187410A (en) Application self-upgrading method and system
JP2020024758A (en) Maintenance element capable of being restored to factory state
CN111353150B (en) Trusted boot method, trusted boot device, electronic equipment and readable storage medium
CN107135471B (en) Data transmission method and mobile terminal
KR20120018965A (en) System and method for providing file backup, restore and delete data perfectly service for mobile terminal and portable computing apparatus device
CN111181905B (en) File encryption method and device
CN103678972A (en) System and method for limits of authority
CN114048072A (en) File management method and device, touch screen terminal, electronic device and storage medium
JP6393171B2 (en) Information processing terminal and control program for information processing terminal
CN107992319B (en) Patch data updating method and device
CN106453335B (en) Data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination