CN104978369B - File searching method and device - Google Patents

File searching method and device Download PDF

Info

Publication number
CN104978369B
CN104978369B CN201410149060.XA CN201410149060A CN104978369B CN 104978369 B CN104978369 B CN 104978369B CN 201410149060 A CN201410149060 A CN 201410149060A CN 104978369 B CN104978369 B CN 104978369B
Authority
CN
China
Prior art keywords
file
file object
information
folder
icon
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
CN201410149060.XA
Other languages
Chinese (zh)
Other versions
CN104978369A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410149060.XA priority Critical patent/CN104978369B/en
Publication of CN104978369A publication Critical patent/CN104978369A/en
Application granted granted Critical
Publication of CN104978369B publication Critical patent/CN104978369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a file searching method and a device, wherein the method can comprise the following steps: scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder; classifying the at least one file object according to file information of the at least one file object; displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects; and when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon. The embodiment of the invention can quickly search the file object which needs to be searched by the user.

Description

File searching method and device
Technical Field
The invention relates to the technical field of internet, in particular to a file searching method and device.
Background
Intelligent terminals have become indispensable things in people's lives, for example: people watch videos, or download texts, or browse pictures and the like through the intelligent terminal. In order to meet the requirements of users, intelligent terminals often store some files (e.g., videos, pictures, texts, etc.) locally, so that users can browse the files quickly, or users can browse the files repeatedly, or users can browse the files offline, etc. In addition, when the intelligent terminal stores files locally, the files are often stored in folders through some application programs, and the folders may be storage folders defaulted by the application programs. In practical application, a plurality of application programs are used by a user, and the application programs can store files into different folders, so that when the user needs to search for a stored target file, the user can search for the folder where the target file is located in a plurality of folders only by browsing through a step-by-step directory.
Therefore, the file cannot be quickly searched on the current intelligent terminal.
Disclosure of Invention
The embodiment of the invention provides a file searching method and device, which can solve the problem that the existing intelligent terminal cannot realize the quick file searching.
In a first aspect, an embodiment of the present invention provides a file searching method, including:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder;
classifying the at least one file object according to file information of the at least one file object;
displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects;
and when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon.
In a second aspect, an embodiment of the present invention provides a file searching apparatus, including: scanning unit, categorised unit, display element and show unit, wherein:
the scanning unit is used for scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder;
the classification unit is used for classifying the at least one file object according to the file information of the at least one file object;
the display unit is used for displaying icons corresponding to the file objects of the same classification in the same area, and the icons corresponding to the file objects correspond to the path information of the file objects;
and the display unit is used for displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon when an operation instruction aiming at the displayed icon is received.
In the technical scheme, a folder of a local storage space is scanned to obtain file information and path information of at least one file object in the folder; classifying the at least one file object according to file information of the at least one file object; displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects; and when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon. Due to the classification of the file objects, a user can quickly search the file objects to be searched according to the classification.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a file searching method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another file searching method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another file searching method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another file searching method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a file searching apparatus 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.
In the embodiment of the present invention, the file object may be a folder, and the file object may also be a data file included in the folder. In addition, data files include, but are not limited to, audio files, video files, text files, picture files, streaming media files, and the like, such as: the data file may be a piece of video, or the data file may be a piece of audio, or the data file may be a piece of text, or the data file may be a piece of streaming media, etc.
Referring to fig. 1, fig. 1 is a schematic flow chart of a file searching method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
s101, scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder.
Optionally, the file information includes, but is not limited to, a name of the file object, attribute information of the file object, and the like. The path information may be information of a storage path of the file object. In addition, the file object may include a data file, or the file object may include a folder. In addition, scanning the folders of the local storage space may be scanning a plurality of folders of the local storage space.
S102, classifying the at least one file object according to the file information of the at least one file object.
Optionally, the classifying of the file objects may be performed according to different types of the file objects, that is, classifying the file objects of the same type in the at least one file object into one class, for example, classifying the file objects of a video class into the same class, or classifying the file objects of a text class into the same class. The classification of the file objects may also be performed according to different functions of the file objects, that is, the file objects with the same function are classified into one category, for example: the file objects for storing the downloaded data are classified into the same class, or the file objects for caching the data are classified into the same class, or the file objects for storing the application program parameters are classified into the same class, etc., which are not listed here.
S103, displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects.
Optionally, in step S103, icons corresponding to different types of file objects may be displayed at different positions, and certainly, in step S103, while the icon corresponding to the file object is displayed, path information of each file object may also be displayed, so that path information of the file object may be transparent, so that a user may clearly know a storage position of each file object, and thus the user may conveniently find the file objects. In addition, the icons of the file objects in the same category may be displayed in the same area of one file, and for example: displaying the file object of the video class in a first area in the file, displaying the file object of the document class in a second area in the file, and the like; or the icons of the file objects in the same category may be displayed in the same folder, for example: displaying the file objects of the video class in a first folder, displaying the file objects of the document class in a second folder, and the like.
Optionally, the icon corresponding to each file object may be an icon temporarily generated for each file object, or may be an icon of each file object obtained through the scanning, which is not limited in this embodiment. In addition, since the icon corresponding to the file object corresponds to the path information of the file object, the path information of each file object can be acquired through the icon corresponding to each file object. Specifically, a mapping relationship between an icon corresponding to each file object and path information of the file object may be established.
And S104, when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon.
Optionally, in S104, when an operation instruction for any one of the displayed icons input by the user is received, the file object corresponding to the icon or the folder in which the file object corresponding to the icon is located is displayed according to the path information corresponding to the icon. When the folder in which the file object corresponding to the icon is displayed can be the folder in which the file object corresponding to the icon is displayed, or the directory of the folder in which the file object corresponding to the icon is displayed, wherein the folder in which the file object corresponding to the icon is displayed or the directory of the folder can be understood as jumping to the folder in which the file object corresponding to the icon is located, that is, entering the folder, so that the user can edit the data file in the folder, for example: delete or copy or open, etc.
Optionally, since the file objects are classified and displayed by the method, a user can quickly find the target file object in the classification according to the classification of the target file object which the user needs to find, without blind browsing and searching. Thereby providing the user with greater options and processing rights that the user desires. For example: when the target file object which needs to be searched by the user is a video, the user can quickly search the target file object in the video classification; or the target file object that the user needs to find is the downloaded content (for example, the text downloaded by the user), the user can quickly find the target file object in the classification for storing the downloaded data.
Alternatively, the method can be applied to any intelligent device with communication and storage functions, for example: the system comprises intelligent equipment with a network function, such as a tablet Computer, a mobile phone, an electronic reader, a remote controller, a Personal Computer (PC), a notebook Computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
In the technical scheme, a folder of a local storage space is scanned to obtain file information and path information of at least one file object in the folder; classifying the at least one file object according to file information of the at least one file object; displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects; and when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon. Due to the classification of the file objects, a user can quickly search the file objects to be searched according to the classification.
Referring to fig. 2, fig. 2 is a schematic flowchart of another file searching method according to an embodiment of the present invention, as shown in fig. 2, including the following steps:
s201, scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder, wherein the file information comprises suffix information.
Optionally, at least one file object in the folder may be understood as at least one file object in all file objects included in the folder. For example: the folder comprises a folder 1, a folder 2 and a folder 3, the folder 1 comprises a file object 1 and a file object 2, the folder 2 comprises a file object 3 and a file object 4, and the folder 3 comprises a file object 5, a file object 6 and a file object 7, so that the at least one file object can be at least one of the file objects 1 to 7.
Optionally, step S201 may include:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder, wherein a suffix of the at least one file object is a preset suffix;
wherein the preset suffix comprises at least one of:
suffixes for audio files, video files, text files, picture files, and streaming media files.
Optionally, in practical application, the file object that the user needs to find mainly includes: the file system may further include a predetermined suffix, which is not limited to the predetermined suffix, if the type of the file object that the user needs to find includes, but is not limited to, the listed file object types, the predetermined suffix may be added with suffixes of other file objects, that is, the predetermined suffix may be adjusted differently according to the user's needs.
Optionally, the suffix of the audio file includes but is not limited to: (. WAV), (. MP1), (. MP2), and (. MP3), and the like.
Optionally, the suffix of the video file includes but is not limited to: (. MP4), (.3GP), (. AVI), (. MKV), (. WMV), (. MPG), (. VOB), (. FLV), (. SWF), (. MOV), (. RM) and (. RMVB) etc.
Optionally, the suffix of the picture file includes but is not limited to: (. BMP), (. GIF), (. JPEG), (. PSD), and (. PNG), etc.
Optionally, the suffix of the text file includes but is not limited to: (. TXT), (. DOC), (. PPTX) and (. PDF), etc.
Optionally, the suffixes of the streaming media file include, but are not limited to: (. RA), (. RM), (. RT), and (. SWF), etc.
In the implementation mode, only some specific file objects can be scanned, so that the scanning efficiency can be improved.
S202, classifying the at least one file object according to the type of the file object according to the suffix information of the at least one file object.
Optionally, since suffix information of the file objects is obtained, and the suffix information may indicate the types of the file objects, that is, in step S202, the types of the file objects may be identified according to the suffix information of the file objects, so that the at least one file object may be classified according to the types of the file objects. For example: video files are classified into one type, audio files are classified into one type, text files are classified into one type, picture files are classified into one type, and the like.
And S203, displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects.
Optionally, in order to improve the efficiency of file searching, in this embodiment, when the number of file objects scanned in step S201 exceeds a certain specific value, step S202 and step S203 may be executed, of course, step S201 may be continuously executed while step S202 and step S203 are executed, and when the number of file objects scanned in step S201 exceeds a certain specific value, step S202 and step S203 are executed again, so that the display while scanning may be implemented, and the efficiency of file searching may be improved.
And S204, when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon.
Optionally, step S204 may include:
when a first operation instruction aiming at the displayed icon is received, displaying a file object corresponding to the icon according to path information corresponding to the icon; or
And when a second operation instruction aiming at the displayed icon is received, displaying the folder where the file object corresponding to the icon is located according to the path information corresponding to the icon.
The implementation mode can realize that different contents are displayed according to different operation instructions. For example: when a first operation instruction that a user clicks the displayed icon is received, the file object corresponding to the image can be displayed, and when a second operation instruction that the user presses the displayed icon for a long time is received, the folder where the file object corresponding to the image is located can be displayed. For example: when the file object is a video file, and the user clicks the icon of the video file displayed in step S203, step S204 may directly play the video file according to the path information of the video file. When the user presses the icon of the video file displayed in step S203 for a long time, step S204 may directly display the folder where the video file is located according to the path information of the video file.
Optionally, the file object may be a data file.
Alternatively, the method can be applied to any intelligent device with communication and storage functions, for example: the system comprises intelligent equipment with a network function, such as a tablet personal computer, a mobile phone, an electronic reader, a remote controller, a PC (personal computer), a notebook computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
In the above technical solution, a processing manner of classifying the file objects according to the suffix information is added on the basis of the first embodiment, so that the user can quickly search the file objects to be searched according to the classification.
Referring to fig. 3, fig. 3 is a schematic flowchart of another file searching method according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
s301, scanning a folder of a local storage space to obtain name information and path information of at least one file object in the folder, wherein the file information comprises name information.
Optionally, step S301 may include:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder, wherein the name information of the at least one file object comprises preset characters;
wherein the preset characters comprise at least one of the following characters:
the characters for indicating that the file object includes downloaded content, the characters for indicating that the file object includes stored data, and the characters for indicating that the file object includes cached data.
Optionally, in actual application, different application programs all have default files for storing data, and in addition, file objects with different functions often embody the function of the file object in the name of the folder, or file objects for storing different data often embody the type of the stored data in the name of the folder, so as to facilitate searching by a user.
Alternatively, the file object may be a folder. For example: the name of the folder for storing the downloaded data will often include characters similar to "Downloads", i.e., the above-mentioned characters for indicating that the folder includes the downloaded content may be "Downloads"; or the name of the folder used to cache data would include characters similar to "caches," i.e., the characters used to indicate that the folder includes cached data may be "caches"; or the name of the folder in which the user stores data often includes characters similar to "data", that is, the characters used for indicating that the folder includes stored data may be "data", which is not listed here. This embodiment is primarily intended to indicate that the function of the folder can be identified, or the type of data stored by the folder can be identified, etc. In addition, the preset characters may be set to be different characters according to different user requirements, which is not limited in this embodiment.
In this embodiment, only some specific file objects can be scanned, which can improve the scanning efficiency.
S302, classifying the at least one file object according to the name information of the at least one file object and the function of the file object.
Optionally, since the name information of the folder is obtained, and the name information of the folder is a function that can indicate the folder, that is, in step S302, the function of each folder can be identified according to the name information of each folder, so that the at least one folder can be classified according to the function of the folder. For example: folders for storing downloaded data are classified into one category, folders for caching data are classified into one category, and the like.
And S303, displaying icons corresponding to the folders in the same category in the same area, wherein the icons corresponding to the folders correspond to the path information of the folders.
Optionally, this step may also display path information for each folder.
Optionally, in order to improve the efficiency of file searching, in this embodiment, when the number of the folders scanned in step S301 exceeds a certain specific value, step S302 and step S303 may be executed, of course, step S302 and step S303 may be executed while step S301 is executed, and when the number of the folders scanned in step S301 exceeds a certain specific value, step S302 and step S303 are executed again, so that the display while scanning may be implemented, and the efficiency of file searching may be improved.
S304, when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon.
Optionally, step S304 may include:
when a first operation instruction aiming at the displayed icon is received, displaying a file object corresponding to the icon according to path information corresponding to the icon; or
And when a second operation instruction aiming at the displayed icon is received, displaying the folder where the file object corresponding to the icon is located according to the path information corresponding to the icon.
The implementation mode can realize that different contents are displayed according to different operation instructions. For example: when a first operation instruction that a user clicks the displayed icon is received, a file object corresponding to the icon can be displayed, for example, a directory of the file object corresponding to the icon is displayed. So that the user can also search the file objects in the folder, which the user needs to search. When a second operation instruction that the user presses the displayed icon for a long time is received, the folder where the file object corresponding to the icon is located can be displayed, for example, a directory of the folder where the file object corresponding to the icon is located is displayed.
Alternatively, the method can be applied to any intelligent device with communication and storage functions, for example: the system comprises intelligent equipment with a network function, such as a tablet personal computer, a mobile phone, an electronic reader, a remote controller, a PC (personal computer), a notebook computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
In the above technical solution, a processing mode of classifying file objects according to name information is added on the basis of the first embodiment, so that a user can quickly search for file objects to be searched according to classification.
Referring to fig. 4, fig. 4 is a schematic flowchart of another file searching method according to an embodiment of the present invention, as shown in fig. 4, the embodiment is illustrated by a mobile phone, and includes the following steps:
s401, scanning a mobile phone hard disk file;
s402, file type pre-classification processing; the classification of this step may refer to the classification of data files and folders of the previous embodiment;
s403, displaying a classification list, namely displaying the classification result;
s404, acquiring a click event request, and judging whether the click event request is a long-time press event, if not, executing a step S405, and if so, executing a step S406;
s405, opening a file clicked by the click event;
s406, outputting a dialogue prompt, wherein the dialog prompt is used for prompting the positioning of a directory of the file clicked by the click event;
s407, judging whether the dialog prompt is clicked, if so, executing a step S408, and if not, cancelling the current operation;
s408, jumping to a directory for prompting the location of the file clicked by the click event.
Of course, besides implementing the above steps, the above method may also support file searching according to the prior art, for example: the above method may further comprise:
and S409, browsing the directory by the conventional file. The method can also provide two methods for searching files for the user, wherein one method is to classify the files so that the user can quickly search the files, and the other method is to search the target files in a plurality of folders by step-by-step directory browsing. The two search methods may be selected according to a user input operation.
For convenience of description, only the relevant parts of the embodiments of the present invention are shown, and specific technical details are not disclosed, please refer to the first embodiment, the second embodiment, the third embodiment and the fourth embodiment of the present invention.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a file searching apparatus according to an embodiment of the present invention, as shown in fig. 5, including: a scanning unit 51, a sorting unit 52, a display unit 53, and a presentation unit 54, wherein:
a scanning unit 51, configured to scan a folder of a local storage space to obtain file information and path information of at least one file object in the folder;
a classifying unit 52, configured to classify the at least one file object according to file information of the at least one file object;
a display unit 53 configured to display icons corresponding to file objects of the same category in the same area, the icons corresponding to the file objects corresponding to path information of the file objects;
and the displaying unit 54 is configured to, when an operation instruction for the displayed icon is received, display a file object corresponding to the icon or display a folder in which the file object is located according to the path information corresponding to the icon.
As another embodiment, the file information includes suffix information;
the classification unit 52 may be configured to classify the at least one file object according to a type of the file object according to suffix information of the at least one file object.
Optionally, in this embodiment, the scanning unit 51 may be configured to scan a folder of the local storage space to obtain file information and path information of at least one file object in the folder, where a suffix of the at least one file object is a preset suffix;
wherein the preset suffix comprises at least one of:
suffixes for audio files, video files, text files, picture files, and streaming media files.
In this embodiment, a user can quickly search for a file object to be searched according to the classification, and the file object may be a data file.
As another embodiment, the file information includes name information;
the classifying unit 52 may be configured to classify the at least one file object according to a function of the file object according to name information of the at least one file object.
Optionally, in this embodiment, the scanning unit 51 may be configured to scan a folder of the local storage space to obtain file information and path information of at least one file object in the folder, where the name information of the at least one file object includes preset characters;
wherein the preset characters comprise at least one of the following characters:
the characters for indicating that the file object includes downloaded content, the characters for indicating that the file object includes stored data, and the characters for indicating that the file object includes cached data.
The embodiment can realize that the user can quickly search the file objects needing to be searched according to the classification, and in addition, the file objects in the embodiment can be folders.
As another embodiment, the presentation unit 54 may be configured to, when receiving a first operation instruction for a displayed icon, present a file object corresponding to the icon according to path information corresponding to the icon; or
The displaying unit 54 may be configured to, when receiving a second operation instruction for the displayed icon, display a folder in which the file object corresponding to the icon is located according to the path information corresponding to the icon.
In this embodiment, it can be realized that different contents are displayed according to different operation instructions.
Alternatively, the above apparatus may be applied to any intelligent device with communication and storage functions, that is, the intelligent device may include the above apparatus, for example: the system comprises intelligent equipment with a network function, such as a tablet personal computer, a mobile phone, an electronic reader, a remote controller, a PC (personal computer), a notebook computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
In the technical scheme, a folder of a local storage space is scanned to obtain file information and path information of at least one file object in the folder; classifying the at least one file object according to file information of the at least one file object; displaying icons corresponding to the file objects of the same classification in the same area, wherein the icons corresponding to the file objects correspond to the path information of the file objects; and when an operation instruction aiming at the displayed icon is received, displaying the file object corresponding to the icon or displaying the folder where the file object is located according to the path information corresponding to the icon. Due to the classification of the file objects, a user can quickly search the file objects to be searched according to the classification.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The 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 (8)

1. A file searching method is characterized by comprising the following steps:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder;
classifying the at least one file object according to file information of the at least one file object;
displaying icons corresponding to the file objects of the same classification in the same folder, wherein the icons corresponding to the file objects correspond to the path information of the file objects;
displaying different contents according to different operation instructions when the operation instructions aiming at the displayed icons are received;
the displaying different contents according to different operation instructions comprises:
when receiving a click operation aiming at a displayed icon, displaying a file object corresponding to the icon according to path information corresponding to the icon; or when receiving a long-press operation aiming at the displayed icon, displaying the folder where the file object is located according to the path information corresponding to the icon;
wherein the classifying the at least one file object according to the file information of the at least one file object includes: and classifying the at least one file object according to the function of the file object according to the name information of the at least one file object.
2. The method of claim 1, wherein the file information includes suffix information;
the classifying the at least one file object according to the file information of the at least one file object includes:
and classifying the at least one file object according to the type of the file object according to the suffix information of the at least one file object.
3. The method of claim 2, wherein scanning folders of the local storage space for file information and path information of at least one file object in the folders comprises:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder, wherein a suffix of the at least one file object is a preset suffix;
wherein the preset suffix comprises at least one of:
suffixes for audio files, video files, text files, picture files, and streaming media files.
4. The method of claim 1, wherein scanning folders of the local storage space for file information and path information of at least one file object in the folders comprises:
scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder, wherein the name information of the at least one file object comprises preset characters;
wherein the preset characters comprise at least one of the following characters:
the characters for indicating that the file object includes downloaded content, the characters for indicating that the file object includes stored data, and the characters for indicating that the file object includes cached data.
5. A file lookup apparatus, comprising: scanning unit, categorised unit, display element and show unit, wherein:
the scanning unit is used for scanning a folder of a local storage space to obtain file information and path information of at least one file object in the folder;
the classification unit is used for classifying the at least one file object according to the file information of the at least one file object;
the display unit is used for displaying icons corresponding to the file objects of the same classification in the same folder, wherein the icons corresponding to the file objects correspond to the path information of the file objects;
the display unit is used for displaying different contents according to different operation instructions when the operation instructions aiming at the displayed icons are received; the displaying different contents according to different operation instructions comprises: when receiving a click operation aiming at a displayed icon, displaying a file object corresponding to the icon according to path information corresponding to the icon; or when receiving a long-time pressing operation aiming at the displayed icon, displaying the folder where the file object is located according to the path information corresponding to the icon;
wherein the file information includes name information; the classification unit is used for classifying the at least one file object according to the name information of the at least one file object and the function of the file object.
6. The apparatus of claim 5, wherein the file information comprises suffix information;
the classification unit is used for classifying the at least one file object according to the type of the file object according to the suffix information of the at least one file object.
7. The apparatus of claim 6, wherein the scanning unit is configured to scan folders of a local storage space to obtain file information and path information of at least one file object in the folders, and a suffix of the at least one file object is a preset suffix;
wherein the preset suffix comprises at least one of:
suffixes for audio files, video files, text files, picture files, and streaming media files.
8. The apparatus of claim 5, wherein the scanning unit is configured to scan a folder of the local storage space to obtain file information and path information of at least one file object in the folder, where the name information of the at least one file object includes a preset character;
wherein the preset characters comprise at least one of the following characters:
the characters for indicating that the file object includes downloaded content, the characters for indicating that the file object includes stored data, and the characters for indicating that the file object includes cached data.
CN201410149060.XA 2014-04-14 2014-04-14 File searching method and device Active CN104978369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410149060.XA CN104978369B (en) 2014-04-14 2014-04-14 File searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410149060.XA CN104978369B (en) 2014-04-14 2014-04-14 File searching method and device

Publications (2)

Publication Number Publication Date
CN104978369A CN104978369A (en) 2015-10-14
CN104978369B true CN104978369B (en) 2020-02-18

Family

ID=54274882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410149060.XA Active CN104978369B (en) 2014-04-14 2014-04-14 File searching method and device

Country Status (1)

Country Link
CN (1) CN104978369B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630932B (en) * 2015-12-22 2019-05-31 北京奇虎科技有限公司 A kind of file management method and device of intelligent terminal
CN106407416A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An application program data integration method and a mobile terminal
CN107515704B (en) * 2017-08-04 2020-01-07 珠海格力电器股份有限公司 Method and device for previewing compressed file
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy
CN107885827B (en) * 2017-11-07 2021-06-01 Oppo广东移动通信有限公司 File acquisition method and device, storage medium and electronic equipment
CN108829821A (en) * 2018-06-12 2018-11-16 佛山市飞程信息技术有限公司 It is a kind of for searching the file search method and system of mobile terminal document

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
CN103123651A (en) * 2013-03-06 2013-05-29 广东欧珀移动通信有限公司 Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100877063B1 (en) * 2006-05-29 2009-01-07 삼성전자주식회사 Apparatus and method for managing data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
CN103123651A (en) * 2013-03-06 2013-05-29 广东欧珀移动通信有限公司 Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal

Also Published As

Publication number Publication date
CN104978369A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104978369B (en) File searching method and device
CN107888981B (en) Audio and video preloading method, device, equipment and storage medium
CN110110262B (en) Browser memory management method, device and equipment
KR101496875B1 (en) Apparatus and methods for retrieving/downloading content on a communication device
EP3012752A1 (en) Information searching apparatus and control method thereof
US20200042148A1 (en) Screen capturing method and terminal, and screenshot reading method and terminal
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
CN106844705B (en) Method and apparatus for displaying multimedia content
US11423112B2 (en) Document input content processing method and apparatus, electronic device, and storage medium
US20090022123A1 (en) Apparatus and method for providing contents sharing service on network
US20160179899A1 (en) Method of providing content and electronic apparatus performing the method
US11360640B2 (en) Method, device and browser for presenting recommended news, and electronic device
US9262389B2 (en) Resource-adaptive content delivery on client devices
CN110097397B (en) Feedback-based information pushing method and device and electronic equipment
CN110391966B (en) Message processing method and device and message processing device
US10375149B2 (en) Application registration and interaction
CN107169147B (en) Data processing method and device and electronic equipment
WO2014176906A1 (en) Online video playing method and apparatus and computer readable medium
CN107515870B (en) Searching method and device and searching device
KR101777035B1 (en) Method and device for filtering address, program and recording medium
US11113455B2 (en) Web page rendering on wireless devices
CN112183045A (en) Online document processing method and device and electronic equipment
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN105653674B (en) File management method and system of intelligent terminal
CN108959316B (en) Method and device for adding webpage to favorites

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant