CN107992631B - File management method and terminal - Google Patents

File management method and terminal Download PDF

Info

Publication number
CN107992631B
CN107992631B CN201711438847.8A CN201711438847A CN107992631B CN 107992631 B CN107992631 B CN 107992631B CN 201711438847 A CN201711438847 A CN 201711438847A CN 107992631 B CN107992631 B CN 107992631B
Authority
CN
China
Prior art keywords
file
terminal
attribute
management
searching
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.)
Active
Application number
CN201711438847.8A
Other languages
Chinese (zh)
Other versions
CN107992631A (en
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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Spreadrise Technologies Co Ltd
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 Shanghai Spreadrise Technologies Co Ltd filed Critical Shanghai Spreadrise Technologies Co Ltd
Priority to CN201711438847.8A priority Critical patent/CN107992631B/en
Publication of CN107992631A publication Critical patent/CN107992631A/en
Application granted granted Critical
Publication of CN107992631B publication Critical patent/CN107992631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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/11File system administration, e.g. details of archiving or snapshots

Abstract

The embodiment of the invention discloses a file management method and a terminal, wherein the method comprises the steps that the terminal receives a trigger signal input aiming at a first file, searches a second file with the same attribute as the first file after acquiring the attribute of the first file, changes the state of the second file into a selected state, and manages the second file according to the received management operation when receiving the management operation aiming at the second file in the selected state. By implementing the method, the files with the same attribute can be quickly selected, batch management operation is carried out on the selected files, and the intelligence of the terminal in file management is enhanced.

Description

File management method and terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a file management method and a terminal.
Background
With the popularization of terminals (mobile phones, tablet computers, and the like), terminals have become one of indispensable tools for people, various files such as documents, pictures, audio, video, and the like can be stored in the terminals, and users can select the files and then perform management operations such as copying, deleting, moving, and the like. For example: under a file management interface in a touch screen terminal, a user can press one of the files for a long time, a file selection option is displayed on one side of the file at the moment, and if the user clicks the file selection option, the file can be selected, so that the selected file can be managed; if a user wants to manage more files, the user needs to click a plurality of files in sequence to select options, the operation process is complicated, the user needs to spend a large amount of time for screening, and the efficiency and the intelligence are low.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a file management method and a terminal, which can simplify the file management operation process, improve the file management efficiency, and improve the intelligence of file management.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a file management method, where the method includes:
if a trigger signal input aiming at a first file in a terminal is received, acquiring the attribute of the first file, wherein the first file is any one file stored in the terminal, and the attribute comprises any one or more of a file type, a file suffix name, file creation time, a storage path and a folder to which the file belongs;
searching a second file with the same attribute as the first file in the terminal, and marking the second file as a selected state, wherein the second file is any one or more files stored in the terminal except the first file;
and when receiving a management operation aiming at a second file in a selected state, managing the second file according to the management operation.
A second aspect of an embodiment of the present invention discloses a terminal, including:
the file processing device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring the attribute of a first file if receiving a trigger signal input aiming at the first file in a terminal, the first file is any one file stored in the terminal, and the attribute comprises any one or more of file type, file suffix name, file creation time, storage path and affiliated folder;
the searching unit is used for searching a second file which has the same attribute with the first file in the terminal and marking the second file as a selected state, wherein the second file is any one or more than one file which is stored in the terminal except the first file;
and the management unit is used for managing the second file according to the management operation when the management operation aiming at the second file in the selected state is received.
A third aspect of an embodiment of the present invention discloses a terminal, where the terminal includes a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions and execute the file management method.
A fourth aspect of embodiments of the present invention discloses a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method of file management.
In the embodiment of the invention, the terminal receives a trigger signal input aiming at a first file, searches a second file with the same attribute as the first file after acquiring the attribute of the first file, changes the state of the second file into a selected state, and manages the second file according to the received management operation when receiving the management operation aiming at the second file. By implementing the method, the files with the same attribute can be quickly selected, batch management operation is carried out on the selected files, and the intelligence of the terminal in file management is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a file management method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another file management method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of a file management interface according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of another file management interface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow chart of an image scaling method according to an embodiment of the present invention is shown, where the method includes:
s101, if the terminal receives a trigger signal input aiming at a first file in the terminal, acquiring the attribute of the first file.
The first file is any file stored in the terminal, and the attribute comprises any one or more of a file type, a file suffix name, a file creation time, a storage path and a belonging folder.
Optionally, the trigger signal may be a signal generated by a pressing operation on the first file, and a pressing duration of the pressing operation is greater than a preset duration. Specifically, after receiving a pressing operation input by a user for a first file, the terminal detects the duration of the pressing operation, and if the pressing duration of the pressing operation is greater than a preset duration, the terminal determines that the pressing operation is a trigger signal and acquires the attribute of the first file; if the pressing time length of the pressing operation is less than or equal to the preset time length, optionally, opening the first file, or executing other corresponding operations. It should be noted that the preset time period may be 1 second, 2 seconds, and the like, and the embodiment of the present invention is not limited.
Optionally, the trigger signal is a signal generated by moving the first document to a preset area. It should be noted that the preset region may be any one display region in the terminal, and a specific display position of the preset region in the terminal is set by a developer, or the preset region is a hidden region, and the specific display position is displayed in the terminal only when a special operation of the user is detected, for example, the special operation is a pressing operation in which a pressing pressure value input by the user on the first file is greater than a preset pressure value, and when the user inputs a pressing operation in which the pressing pressure value is greater than the preset pressure value for the first file, the terminal displays the preset region in the display page. When the terminal moves the first file to a preset area according to an instruction sent by a user, a trigger signal is generated, and the attribute of the first file is obtained.
Optionally, the trigger signal is a signal generated when searching for the first file. Specifically, the terminal receives file information input by a user in a preset search bar, finds a corresponding first file according to the file information, and generates a trigger signal to acquire the attribute of the first file. It should be noted that the file information may be a file name, a keyword in the file name, and the like, and the embodiment of the present invention is not limited.
Optionally, the trigger signal is a signal generated by selecting a first file in a file management interface of the terminal. Specifically, under a file management interface where the first file is located, a user inputs a pressing operation for the first file, the terminal displays a file selection option for selecting the file with the same attribute as the first file, and if the user clicks the file selection option, the terminal takes the clicking operation of the user as a trigger signal and acquires the attribute of the first file.
S102, searching a second file with the same attribute as the first file in the terminal, and marking the second file in a selected state.
The second file is any one or more files stored in the terminal except the first file.
In the embodiment of the invention, the terminal receives the trigger signal input aiming at the first file in the terminal, and searches the second file with the same attribute as the first file after acquiring the attribute of the first file.
Optionally, the attribute is a file suffix name, and when the terminal receives a trigger signal input for the first file, the terminal obtains the suffix name of the first file and searches for a second file having the same suffix name as the first file. It should be noted that, if the user is configured to search in the specified folder, the terminal searches for a file with the same suffix name as the first file in the specified folder, where the specified folder may be one folder or multiple folders, and is specifically configured by the user, which is not limited in the embodiment of the present invention. Or, if the user does not set the designated folder, the terminal searches for a second file with the same suffix name as the first file in the storage space in a traversing manner. The suffix name may be mp3, doc, pdf, etc., and embodiments of the present invention are not limited thereto.
It should be further noted that the attribute of the first file may also be a file type, a file creation time, a storage path, a folder to which the first file belongs, and the like, which is specifically set by a user. Optionally, after receiving a trigger signal input for a first file in the terminal, the terminal displays a selectable attribute option in a file management interface where the first folder is located, and receives a result of selecting the attribute by the user and searches for a second file having the same attribute as the first file. The selectable preset attribute is preset by a user, and after the terminal receives a trigger signal input aiming at a first file in the terminal, a second file with the same preset attribute is directly searched.
In the embodiment of the invention, after the terminal finds the second file, the state of the second file can be changed into the selected state, so that the terminal can perform operations such as batch copying, deleting, modifying, moving and the like on the second file.
S103, when the terminal receives the management operation aiming at the second file in the selected state, the terminal manages the second file according to the received management operation.
In the embodiment of the present invention, the management operation for the second file in the selected state may be an operation of changing the state of the second file, where the state of the second file includes a selected state and an unselected state, and a user may perform a batch editing operation on the files in the selected state, where the editing operation includes copying, deleting, modifying, moving, and the like. And after the state of the second file is changed into the selected state, the user detects whether all the files in the selected state are files needing to be edited, and if not, the terminal can change the files in the selected state into unselected states according to a selection signal input by the user.
In the embodiment of the invention, the terminal receives a trigger signal input aiming at a first file in the terminal, searches a second file with the same attribute as the first file in the terminal after acquiring the attribute of the first file, changes the state of the second file into a selected state, and manages the second file according to the received management operation when receiving the management operation aiming at the second file in the selected state. By implementing the method, the files with the same attribute can be quickly selected, batch management operation is carried out on the selected files, and the intelligence of the terminal in file management is enhanced.
Referring to fig. 2, a schematic flow chart of another file management method according to an embodiment of the present invention is shown, where the method includes:
s201, if the terminal receives a trigger signal input aiming at a first file in the terminal, acquiring the attribute of the first file.
The first file is any file stored in the terminal, and the attribute comprises any one or more of a file type, a file suffix name, a file creation time, a storage path and a belonging folder.
The trigger signal can be a signal generated by pressing operation acting on the first file, and the pressing duration of the pressing operation is longer than the preset duration; or, the trigger signal may be a signal generated by moving the first document to a preset area; alternatively, the trigger signal may be a signal generated by searching for the first document; alternatively, the trigger signal may be a signal generated by selecting the first file in a file management interface of the terminal, or the like.
S202, searching a second file with the same attribute as the first file in the terminal, and marking the second file in a selected state.
In the embodiment of the invention, after acquiring the attribute of the first file, the terminal searches for a second file with the same attribute as the first file, wherein the second file is any one or more files stored in the terminal except the first file.
Optionally, a second file having the same attribute as the first file is searched in a storage space of the terminal in a traversing manner. And after the terminal searches the second file in a traversing manner, the state of the searched second file is changed into the selected state.
Optionally, a second file having the same attribute as the first file is searched in a traversal manner in a designated folder in the terminal, where the designated folder is any one or more folders stored in the terminal. Specifically, after receiving a trigger signal input for a first file, the terminal may display a folder selection option, when receiving a click operation of a user for the folder selection option, the terminal displays a folder selection interface, the user may select a folder to be searched in a traversal manner in the folder selection interface, and the terminal receives a selection result of the user and searches for a second file in the folder selected by the user. Optionally, after the terminal finds the second file, the state of the second file is changed to the selected state.
Optionally, the designated folder may be preset as a folder where the first file is located, and after receiving a trigger signal input for the first file, the terminal obtains an attribute of the first file and searches for the second file in the folder where the first file is located. Optionally, after the second file is found, the state of the second file is changed to the selected state. Optionally, when the second file is selected, the state of the first file is also changed to the selected state.
For example, the preset attribute of the first file is a file suffix name, as shown in fig. 3, under the file management interface of the folder where the first file 311 is located, the terminal receives a trigger signal input for the first file 310, detects that the suffix name of the first file 311 is mp3, searches for a second file with the suffix name of mp3 under the folder, and determines that the suffix names of the file 311, the file 312, and the file 313 are mp3 as a result of the search, and are the same as the suffix name of the first file, determines the file 311, the file 312, and the file 313 as the second file, and changes the state of the second file to the selected state, as shown in fig. 3 b.
By implementing the method, the files with the same attribute can be quickly selected, and then the selected files are subjected to batch management operation.
And S203, outputting a file management interface of the terminal by the terminal.
In the embodiment of the invention, after the second file with the same attribute as the first file is searched in the terminal, if the searched second file exists in a plurality of different folders, a user needs to browse the information of the searched second file and edit the second file, and then an option for entering the file management interface of the terminal displayed in the interface can be clicked. After receiving the click operation input by the user aiming at the option, the terminal can display a file management interface of the terminal, wherein the file management interface contains information of all second files, and the terminal can be connected to the interface to correspondingly modify the second files according to the operation input by the user.
S204, the terminal detects the similarity between the second file and the first file.
In the embodiment of the invention, after the terminal enters the file management interface according to the selection of the user, the similarity between the searched second file and the first file is detected.
Optionally, the determination criterion of the similarity is a content similarity degree of the files, and the more the second file and the first file contain the same content, the higher the similarity degree of the second file and the first file is.
Optionally, the similarity determination criterion is the similarity of file names, and if the number of words in the file name of the second file is larger than the number of words in the file name of the first file, the similarity of the second file and the first file is higher.
Optionally, the more the second file has the same attribute as the first file, the higher the similarity between the second file and the first file. For example, the attributes of the first file include a file suffix name and a file creation time. The terminal finds out that the two second files are file 1 and file 2, the suffix name and the creating time of the file 1 are the same as those of the first file, the suffix name of the file 2 is the same as that of the first file, and the creating time of the file 2 is different from that of the first file, so that the similarity between the file 1 and the first file is higher than that between the file 2 and the first file.
S205, the terminal sorts the second files according to the sequence of the similarity from high to low.
In the embodiment of the present invention, after detecting the similarity between the second file and the first file, the terminal sorts the second file according to the sequence of the similarity from high to low, optionally, when the terminal displays the second file, the terminal displays a specific numerical value of the similarity between the second file and the first file, optionally, the determination criterion of the similarity is the content similarity of the files, and the specific numerical value of the similarity may be a percentage, that is, the percentage of the content of the second file, which is the same as that of the first file, in the total content.
Optionally, when the similarity between the second file and the first file is greater than a preset threshold, a prompt message is output in the file management interface. The preset threshold may be ninety percent, ninety-five percent, or the like, and may also be set by the user, for example, the content of the second file is completely similar to the content of the first file by one hundred percent, and if the content of the second file is greater than the preset threshold, the terminal may send a prompt message to prompt that the similarity between the second file and the first file is too high, and the second file may be a duplicate file. By the embodiment of the invention, a user can search other files which are the same as the first file or files with extremely high similarity (such as installation packages of different versions of the same software). The user can detect whether the similar files exist or not through the method and delete the similar files so as to save the memory space of the terminal.
S206, the terminal displays the sorted second file in the file management interface.
In the embodiment of the invention, after the terminal detects the similarity between the second file and the first file, the second file is sorted according to the sequence from high to low in similarity, and the higher the similarity is, the closer the sorting position of the second file is, the sorted result is displayed in the file management interface by the terminal.
And S207, when the terminal receives the management operation aiming at the second file in the selected state, managing the second file according to the received management operation.
In the embodiment of the present invention, the management operation for the second file in the selected state may be an operation of changing the state of the second file, for example, changing the selected state into an unselected state, and the user may perform batch editing operations on the files in the selected state, where the editing operations include copying, deleting, modifying, moving, and the like.
In the embodiment of the invention, after the terminal receives a trigger signal input aiming at a first file in the terminal, acquires the attribute of the first file, searches for a second file with the same attribute as the first file, marks the second file in a selected state, displays a file management interface according to a received instruction, displays the second file in a sequence according to the similarity between the second file and the first file under the file management interface, and manages the second file according to the received management operation. By implementing the method, the files with the same attribute can be quickly selected, and the selected files are managed in batch, so that the intelligence of the terminal in managing the files is enhanced.
A terminal provided by an embodiment of the present invention will be described in detail with reference to fig. 4. It should be noted that the terminal shown in fig. 4 is used for executing the method according to the embodiment of the present invention shown in fig. 1-2, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, and reference is made to the embodiment of the present invention shown in fig. 1-2.
Please refer to fig. 4, which is a schematic structural diagram of a terminal according to the present invention; the terminal 40 may include: an acquisition unit 401, a search unit 402, and a management unit 403.
An obtaining unit 401, configured to obtain an attribute of a first file stored in a terminal if a trigger signal input for the first file in the terminal is received, where the attribute includes any one or more of a file type, a file suffix, a file creation time, a storage path, and a folder to which the file belongs;
the trigger signal comprises a signal generated by pressing operation acting on the first file, and the pressing duration of the pressing operation is longer than a preset duration; or, a signal generated by moving the first file to a preset area; or, searching for a signal generated by the first document; or selecting the signal generated by the first file in a file management interface of the terminal.
A searching unit 402, configured to search, in the terminal, a second file having the same attribute as the first file, and mark the second file as a selected state, where the second file is any one or more files stored in the terminal except the first file;
the management unit 403 is configured to, when receiving a management operation for a second file in a selected state, manage the second file according to the management operation.
Optionally, the management unit 403 is specifically configured to change a state of the second file and/or perform an editing operation on the second file, where the state of the second file includes: the editing operation comprises any one of the following steps: copy, delete, modify, move.
Optionally, the searching unit 402 is specifically configured to search, in a traversal manner in a storage space of the terminal, a second file having the same attribute as the first file.
Optionally, the searching unit 402 is specifically configured to search, in a traversal manner in a specified folder in the terminal, a second file having the same attribute as the first file, where the specified folder is any one or more folders stored in the terminal.
Optionally, the terminal according to the embodiment of the present invention may further include:
an output unit 404, configured to output a file management interface of the terminal;
a display unit 405, configured to display the second file in the file management interface.
Optionally, the terminal according to the embodiment of the present invention may further include:
a detecting unit 406, configured to detect a similarity between the second file and the first file, where the similarity is a similarity of file contents, and the similarity of files containing more identical contents is higher;
a sorting unit 407, configured to sort the second files according to an order from high to low in similarity;
the display unit 405 is further configured to display the sorted second files in the file management interface.
The output unit 404 is further configured to output a prompt message in the file management interface if the similarity between the second file and the first file is greater than a preset threshold.
In the embodiment of the present invention, if a trigger signal input for a first file in a terminal is received, an obtaining unit 401 obtains an attribute of the first file, a searching unit 402 searches for a second file having the same attribute as the first file in the terminal, and marks the second file as a selected state, and when a management operation for the second file in the selected state is received, a management unit 403 manages the second file in the selected state according to the received management operation. By implementing the method, the files with the same attribute can be quickly selected, batch management operation is carried out on the selected files, and the intelligence of the terminal in file management is enhanced.
Referring to fig. 5, a schematic structural diagram of another terminal is provided in the embodiment of the present invention. As shown in fig. 5, the terminal includes: at least one processor 501, an input device 503, an output device 504, a memory 505, at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The input device 503 may be a control panel, a microphone, or the like, and the output device 504 may be a display screen, or the like. The memory 505 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 505 may alternatively be at least one memory device located remotely from the processor 501. Wherein the processor 501 may be combined with the terminal described in fig. 4, the memory 505 stores a set of program codes, and the processor 501, the input device 503, and the output device 504 call the program codes stored in the memory 505 to perform the following operations:
when the input device 503 receives a trigger signal input for a first file in the terminal, the processor 501 acquires an attribute of the first file;
the processor 501 searches for a second file having the same attribute as the first file in the terminal, and marks the second file as a selected state;
when the input device 503 receives a management operation for a second file in the selected state, the processor 501 manages the second file according to the management operation.
The processor 501 searches for a second file having the same attribute as the first file in a storage space of the terminal in a traversing manner;
the processor 501 searches for a second file having the same attribute as the first file in a designated folder in the terminal in a traversing manner, wherein the designated folder is any one or more folders stored in the terminal.
The output device 504 outputs a file management interface of the terminal;
the output device 504 displays the second file within the file management interface.
The processor 501 detects the similarity between the second file and the first file, where the similarity is the similarity of file contents, and the similarity of files containing more identical contents is higher;
the processor 501 sorts the second files according to the sequence of similarity from high to low;
the output device 504 displays the sorted second file in the file management interface.
If the similarity between the second file and the first file is greater than a preset threshold, the output device 504 outputs a prompt message in the file management interface.
In the embodiment of the present invention, when the input device 503 receives a trigger signal input for a first file in the terminal, the processor 501 acquires an attribute of the first file; the processor 501 searches for a second file having the same attribute as the first file in the terminal, and marks the second file as a selected state; when the input device 503 receives a management operation for the second file in the selected state, the processor 501 manages the second file in the selected state according to the received management operation. By implementing the method, the files with the same attribute can be quickly selected, batch management operation is carried out on the selected files, and the intelligence of terminal file management is enhanced.
The module in the embodiment of the present invention may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like, and the bus 504 may be divided into an address bus, a data bus, a control bus, or the like, where fig. 5 is merely a thick line for ease of illustration, but does not indicate only one bus or one type of bus.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer storage medium and may include the processes of the embodiments of the methods described above when executed. The computer storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer storage medium and may include the processes of the embodiments of the methods described above when executed. The computer storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (9)

1. A file management method, comprising:
if a trigger signal input aiming at a first file in a terminal is received, displaying at least one attribute option in a file management interface where the first file is located, and not opening the first file; the trigger signal includes: acting on a signal generated by the pressing operation of the first file, wherein the pressing time length of the pressing operation is longer than the preset time length; or a signal generated by moving the first file to a preset area, wherein the preset area is displayed after a pressing operation that a pressing pressure value for the first file is greater than a preset pressure value is detected; or receiving file information in a preset search bar, and searching a signal generated by the first file according to the file information, wherein the file information comprises a file name or a keyword of the file name;
according to the selection result aiming at the at least one attribute option, acquiring the attribute of the first file, wherein the first file is any one file stored in the terminal, and the attribute comprises any one or more of file type, file suffix name, file creation time, storage path and affiliated folder;
searching a second file with the same attribute as the first file in the terminal, and marking the second file as a selected state, wherein the second file is any one or more files stored in the terminal except the first file;
when receiving a management operation aiming at a second file in a selected state, managing the second file according to the management operation, wherein the management operation comprises the following steps: and carrying out batch editing operation on the second file in the selected state.
2. The method of claim 1, wherein the managing operation for the second file comprises: an operation of changing a state of the second file, and/or an editing operation performed on the second file;
wherein the state of the second file comprises: the editing operation comprises any one of the following steps: copy, delete, modify, move.
3. The method according to claim 1, wherein the searching for the second file having the same attribute as the first file in the terminal comprises:
traversing and searching a second file with the same attribute as the first file in a storage space of the terminal; alternatively, the first and second electrodes may be,
and traversing and searching a second file with the same attribute as the first file in a specified folder in the terminal, wherein the specified folder is any one or more folders stored in the terminal.
4. The method according to claim 1, wherein after searching for a second file having the same attribute as the first file in the terminal, further comprising:
outputting a file management interface of the terminal;
displaying the second file within the file management interface.
5. The method of claim 4, wherein said displaying the second file within the file management interface comprises:
detecting a similarity of the second document to the first document,
sorting the second files according to the sequence of similarity from high to low;
and displaying the sorted second file in the file management interface.
6. The method of claim 5, wherein after detecting the similarity between the second document and the first document, further comprising:
and if the similarity between the second file and the first file is greater than a preset threshold value, outputting prompt information in the file management interface.
7. A terminal, comprising:
the terminal comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for displaying at least one attribute option in a file management interface where a first file is located and not opening the first file if receiving a trigger signal input aiming at the first file in the terminal; the trigger signal includes: acting on a signal generated by the pressing operation of the first file, wherein the pressing time length of the pressing operation is longer than the preset time length; or a signal generated by moving the first file to a preset area, wherein the preset area is displayed after a pressing operation that a pressing pressure value for the first file is greater than a preset pressure value is detected; or receiving file information in a preset search bar, and searching a signal generated by the first file according to the file information, wherein the file information comprises a file name or a keyword of the file name;
the obtaining unit is further configured to obtain an attribute of the first file according to a selection result for the at least one attribute option, where the first file is any one of files stored in the terminal, and the attribute includes any one or more of a file type, a file suffix name, a file creation time, a storage path, and a folder to which the file belongs;
the searching unit is used for searching a second file which has the same attribute with the first file in the terminal and marking the second file as a selected state, wherein the second file is any one or more than one file which is stored in the terminal except the first file;
a management unit, configured to, when receiving a management operation for a second file in a selected state, manage the second file according to the management operation, where the management operation includes: and carrying out batch editing operation on the second file in the selected state.
8. A terminal, comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any of claims 1-6.
CN201711438847.8A 2017-12-26 2017-12-26 File management method and terminal Active CN107992631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711438847.8A CN107992631B (en) 2017-12-26 2017-12-26 File management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711438847.8A CN107992631B (en) 2017-12-26 2017-12-26 File management method and terminal

Publications (2)

Publication Number Publication Date
CN107992631A CN107992631A (en) 2018-05-04
CN107992631B true CN107992631B (en) 2021-07-30

Family

ID=62041474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711438847.8A Active CN107992631B (en) 2017-12-26 2017-12-26 File management method and terminal

Country Status (1)

Country Link
CN (1) CN107992631B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108647291B (en) * 2018-05-07 2021-11-02 深圳市创梦天地科技有限公司 Mobile terminal file management method and device, electronic equipment and readable storage medium
CN108803991A (en) * 2018-06-12 2018-11-13 广州视源电子科技股份有限公司 A kind of object screening technique, device, computer readable storage medium and electric terminal
CN111064762A (en) * 2018-10-17 2020-04-24 中兴通讯股份有限公司 File downloading method and device, terminal and storage medium
CN112069133A (en) * 2020-08-07 2020-12-11 深圳传音控股股份有限公司 File management method, mobile terminal and computer storage medium
CN112764617A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 File selection method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883066A (en) * 2012-09-29 2013-01-16 惠州Tcl移动通信有限公司 Method for realizing file operation based on gesture recognition and cellphone
CN103345494A (en) * 2013-06-27 2013-10-09 广东欧珀移动通信有限公司 Method and mobile terminal for browsing files rapidly
CN103701875A (en) * 2013-12-11 2014-04-02 乐视网信息技术(北京)股份有限公司 Multimedia file pushing method and device
CN107301204A (en) * 2017-05-27 2017-10-27 深圳市金立通信设备有限公司 A kind of method and terminal for sharing file

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218350A (en) * 2013-04-23 2013-07-24 鸿富锦精密工业(深圳)有限公司 Electronic device used for changing file name and method for changing file name
US9984053B2 (en) * 2014-12-10 2018-05-29 Adobe Systems Incorporated Replicating the appearance of typographical attributes by adjusting letter spacing of glyphs in digital publications
JP6703890B2 (en) * 2016-04-27 2020-06-03 シャープ株式会社 Content distribution device, content distribution system and program
CN105912710A (en) * 2016-04-28 2016-08-31 深圳市金立通信设备有限公司 File management method and terminal
CN106227414A (en) * 2016-07-29 2016-12-14 努比亚技术有限公司 Application icon bulk management method and device
CN107169333A (en) * 2017-04-25 2017-09-15 北京珠穆朗玛移动通信有限公司 File management method, mobile terminal and storage medium based on fingerprint

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883066A (en) * 2012-09-29 2013-01-16 惠州Tcl移动通信有限公司 Method for realizing file operation based on gesture recognition and cellphone
CN103345494A (en) * 2013-06-27 2013-10-09 广东欧珀移动通信有限公司 Method and mobile terminal for browsing files rapidly
CN103701875A (en) * 2013-12-11 2014-04-02 乐视网信息技术(北京)股份有限公司 Multimedia file pushing method and device
CN107301204A (en) * 2017-05-27 2017-10-27 深圳市金立通信设备有限公司 A kind of method and terminal for sharing file

Also Published As

Publication number Publication date
CN107992631A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN107992631B (en) File management method and terminal
KR101143048B1 (en) Collapsible container with a semi-collapsed view
CN105868166B (en) Regular expression generation method and system
US20090299990A1 (en) Method, apparatus and computer program product for providing correlations between information from heterogenous sources
KR20170016451A (en) Control method for intelligent terminal
CN105574062A (en) File retrieval method and apparatus and terminal
WO2016095689A1 (en) Recognition and searching method and system based on repeated touch-control operations on terminal interface
WO2016091095A1 (en) Searching method and system based on touch operation on terminal interface
CN112487150B (en) File management method, system, storage medium and electronic equipment
CN111444750B (en) PDF document identification method and device and electronic equipment
CN105511783A (en) Search method and mobile terminal
CN104933090A (en) Information searching method and terminal
WO2016188261A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN109656444B (en) List positioning method, device, equipment and storage medium
CN107508964A (en) A kind of photo storage of mobile terminal and inspection method, device and storage medium
CN112765104A (en) File saving method, device, equipment and storage medium
CN113157753A (en) Display method and device and electronic equipment
CN104484107A (en) Picture processing method
CN106970758B (en) Electronic document operation processing method and device and electronic equipment
CN103744883A (en) Method and system for rapidly selecting information fragments
CN108133048B (en) File sorting method and device and mobile terminal
CN111611502A (en) Label page display method and device
CN104461359A (en) Terminal
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN112069133A (en) File management method, mobile terminal and computer storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221212

Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, Pudong New Area Free Trade Zone, Shanghai

Patentee after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd.

Address before: Room 922 / 926, block a, No.1 Lane 399, shengxia Road, Pudong New Area pilot Free Trade Zone, Shanghai 201203

Patentee before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd.

TR01 Transfer of patent right