CN107436948A - File search method, device and terminal - Google Patents

File search method, device and terminal Download PDF

Info

Publication number
CN107436948A
CN107436948A CN201710660485.0A CN201710660485A CN107436948A CN 107436948 A CN107436948 A CN 107436948A CN 201710660485 A CN201710660485 A CN 201710660485A CN 107436948 A CN107436948 A CN 107436948A
Authority
CN
China
Prior art keywords
file
search
file object
store path
active
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.)
Granted
Application number
CN201710660485.0A
Other languages
Chinese (zh)
Other versions
CN107436948B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710660485.0A priority Critical patent/CN107436948B/en
Publication of CN107436948A publication Critical patent/CN107436948A/en
Application granted granted Critical
Publication of CN107436948B publication Critical patent/CN107436948B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

A kind of file search method, device and terminal.This method includes:Show file search interface;The search key inputted in input frame is obtained, and according to the selection signal corresponding to n file object in file object list, the store path of n file object of record;When getting the trigger signal corresponding to search control, according to search key and the store path of n file object, the file destination object that search matches with search key from n file object.The embodiments of the invention provide a kind of Local Search mode, the file object that the file object of file destination object may be included and/or be probably above-mentioned file destination object is selected by user, and above-mentioned file object is marked, subsequent terminal searches for file destination object from the file object of above-mentioned mark, because hunting zone is obviously reduced, taken so as to help to reduce search, and reduce the process resource of required consumption.

Description

File search method, device and terminal
Technical field
The present embodiments relate to search technique field, more particularly to a kind of file search method, device and terminal.
Background technology
At present, terminal is provided with file search function, so that some specific file can be searched in the terminal by obtaining user.
The file search method that prior art provides is as follows:Terminal shows search interface, input of the user in search interface Search key is inputted in frame, the instruction of triggering search afterwards, now terminal is searched in its All Files stored closes with search The file destination that keyword matches, and show the file destination searched.
The file search mode that above-mentioned prior art provides is properly termed as global search mode, because hunting zone is terminal The All Files of storage, therefore whole search procedure is time-consuming longer, and need to consume more process resource.
The content of the invention
In order to solve the global search mode of prior art use, existing search is time-consuming longer, and need to consume compared with The problem of more process resource, the embodiments of the invention provide a kind of file search method, device and terminal.The technical scheme It is as follows:
First aspect, there is provided a kind of file search method, methods described include:
File search interface is shown, the file search interface includes file object list, input frame and search control, The file object list includes at least one file object, and the file object is file or file;
The search key inputted in the input frame is obtained, and according to corresponding to the n in the file object list The selection signal of individual file object, records the store path of the n file object, and the n is positive integer;
When getting the trigger signal corresponding to the search control, according to the search key and the n text The store path of part object, the file destination object that search matches with the search key from the n file object.
Alternatively, the selection signal for the n file object that the basis corresponds in the file object list, institute is recorded The store path of n file object is stated, including:
When getting the selection signal corresponding to any file object in the file object list, by the file The store path of object is added in store path set, wherein, the store path set is stored with form or chain sheet form The store path.
Alternatively, methods described also includes:
When getting the trigger signal corresponding to the search control, according to the search key and m conventional texts The store path of part object, the file destination that search matches with the search key from the m active file object Object, wherein, the active file object is more than the file object of predetermined threshold value including the use of the frequency and/or attribute information is set The file object of common type is set to, the m is positive integer.
Alternatively, it is described according to the search key and the store path of m active file object, it is normal from the m Before the file destination object that search matches with the search key in file object, in addition to:
Show the file object list;Getting corresponding to the specified file object in the file object list When instruction is set, the specified file object is defined as the active file object, and record the active file object Store path, wherein, it is described to set instruction to be used to the attribute information of the specified file object being arranged to the common type;
And/or
Obtain the frequency of usage of currently stored each file object;The frequency of usage is more than the predetermined threshold value File object is defined as the active file object, and records the store path of the active file object.
Alternatively, it is described according to the search key and the store path of the n file object, from described n text After the file destination object that search matches with the search key in part object, in addition to:
If not searching the file destination object, search and the search from currently stored All Files object The file destination object that keyword matches.
Second aspect, there is provided a kind of file search device, described device include:
Interface display module, for showing file search interface, the file search interface include file object list, Input frame and search control, the file object list include at least one file object, and the file object is file Or file;
Path logging modle, the selection signal of the n file object corresponded to for basis in the file object list, The store path of the n file object is recorded, the n is positive integer;
Keyword acquisition module, for obtaining the search key inputted in the input frame;
File search module, for when get corresponding to it is described search control trigger signal when, according to the search The store path of keyword and the n file object, search and the search key phase from the n file object The file destination object matched somebody with somebody.
Alternatively, the path logging modle, got for working as corresponding to any text in the file object list During the selection signal of part object, the store path of the file object is added in store path set, wherein, the storage Set of paths stores the store path with form or chain sheet form.
Alternatively, the file search module, it is additionally operable to when getting the trigger signal corresponding to the search control, According to the search key and the store path of m active file object, search and institute from the m active file object The file destination object that search key matches is stated, wherein, the active file object is more than default threshold including the use of the frequency The file object and/or attribute information of value are arranged to the file object of common type, and the m is positive integer.
Alternatively, described device also includes:Setup module and/or determining module;
The setup module, for showing the file object list;Correspond to the file object list getting In specified file object setting instruction when, the specified file object is defined as the active file object, and record The store path of the active file object, wherein, it is described to set instruction to be used for the attribute information of the specified file object It is arranged to the common type;
The determining module, for obtaining the frequency of usage of currently stored each file object;By the frequency of usage File object more than the predetermined threshold value is defined as the active file object, and records the storage of the active file object Path.
Alternatively, the file search module, if being additionally operable to not search the file destination object, from currently stored All Files object in the file destination object that matches with the search key of search.
The third aspect, there is provided a kind of terminal, the terminal include processor and memory, the memory storage have to A few instruction, at least one instruction are loaded by the processor and performed to realize such as first aspect and first aspect File search method described in any optional implementation.
Fourth aspect, there is provided a kind of computer-readable recording medium, be stored with the computer-readable recording medium At least one instruction, the instruction are loaded by processor and performed to realize any optional reality such as first aspect and first aspect File search method described in existing mode.
Technical scheme provided in an embodiment of the present invention can bring following beneficial effect:
The embodiments of the invention provide a kind of mode of Local Search file, and being selected by user may include it is expected search File destination object file object and/or be probably above-mentioned file destination object file object, and to above-mentioned file pair As being marked, subsequent terminal searches for file destination object from the file object of above-mentioned mark.Compared to global search mode, Local Search mode hunting zone provided in an embodiment of the present invention is obviously reduced, time-consuming so as to help to reduce search, and reduces The process resource of required consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the flow chart for the file search method that one embodiment of the invention provides;
Fig. 2 is the interface schematic diagram that embodiment illustrated in fig. 1 is related to;
Fig. 3 is the flow chart for the file search method that another embodiment of the present invention provides;
Fig. 4 is the block diagram for the file search device that one embodiment of the invention provides;
Fig. 5 is the structural representation that one embodiment of the invention provides terminal.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The embodiments of the invention provide a kind of mode of Local Search file.When user it is expected to search for acquisition and searches for crucial During the file destination object of word correlation, it can be according to memory, it is determined that may include the file object of above-mentioned file destination object And/or be probably the file object of above-mentioned file destination object, above-mentioned file object is marked user, and subsequent terminal is from upper State search file destination object in the file object of mark.In embodiments of the present invention, file object is file or file. Compared to global search mode, Local Search mode hunting zone provided in an embodiment of the present invention is obviously reduced, so as to contribute to Reduce search to take, and reduce the process resource of required consumption.
In embodiments of the present invention, the executive agent of each step can be terminal.Alternatively, installation and operation is useful in terminal In the application program for realizing file search function provided in an embodiment of the present invention, the executive agent of each step can be that this applies journey Sequence, such as the application program can be system application or third-party application.In addition, above-mentioned terminal can arbitrarily have file Storage and the electronic equipment of function of search, such as mobile phone, tablet personal computer, E-book reader, multimedia play equipment, wearable set The electronic equipments such as standby, PC (Personal Computer, personal computer).For convenience of description, in following embodiments of the method In, explanation is only introduced so that the executive agent of each step is terminal as an example, but do not form restriction to this.
Fig. 1 is a kind of flow chart of file search method according to an exemplary embodiment.This method can include The following steps.
Step 101, file search interface is shown.
File search interface includes file object list, input frame and search control.File object list include to A few file object, file object is file or file.For example, to include terminal currently stored for file object list All Files presss from both sides and file.Input frame is used to input search key for user, and search control is searched for triggering startup for user Rope.
With reference to reference to figure 2, file search interface 20 includes file object list, input frame 22 and search control 23, text Part list object includes at least one file object 21.
Step 102, the search key inputted in input frame is obtained, and according to corresponding to the n in file object list The selection signal of individual file object, the store path of n file object is recorded, n is positive integer.
Search key be by user input any word, character, or both combination.For example, search is crucial Word can be " decoding ", and the file object to match with " decoding " is obtained with search.User can be in file search interface Search key is inputted in input frame, correspondingly, terminal obtains the search key that user inputs in input frame.
The store path of file object is used to indicate the storage location of this document object in the terminal.For example, a certain file The store path of folder is " C:\users\administration”.In another example the store path of a certain file is " C:\ Desktop my file project planning .doc ".
By taking search file as an example, when user feels to include in any file the file destination for wanting search, This document can be selected to press from both sides, namely triggering corresponds to the selection signal of this document folder, correspondingly, terminal is got corresponding to this article After the selection signal of part folder, the store path of record this document folder.Or when user thinks that any file may be intended to search During the file destination of rope, can selecting this document, namely triggering, correspondingly, terminal obtains corresponding to the selection signal of this document To after the selection signal corresponding to this document, the store path of this document is recorded.In embodiments of the present invention, it is above-mentioned to triggering The mode of selection signal is not construed as limiting, such as clicks on a certain file object to trigger the selection signal corresponding to this document object, Or frame select some/multiple file objects correspond to the selection signal of above-mentioned file object to trigger.
In embodiments of the present invention, search key and the above-mentioned n file object of selection are inputted to user performs priority Order is not construed as limiting, and user can first select above-mentioned n file object to input search key again, can also first be inputted search and be closed The above-mentioned n file object of keyword reselection.
In addition, file object is after it is selected, terminal is by selected file object and non-selected file object Make a distinction.For example, the mark to hook, five-pointed star etc is displayed next in selected file object, or will be selected File object is highlighted, etc..With reference to reference to figure 2, user inputs search key 24 " decoding " in input frame 22, and File object is selected at least one file object 21, selected file object 25 has been displayed next to black blockage, And then selected file object 25 and non-selected file object 21 are made a distinction.
Alternatively, terminal is after the selection signal corresponding to any file object is got, by depositing for this document object Path is stored up to be added in store path set.Store path set stores above-mentioned store path with form or chain sheet form.Example Property, can be as shown in following table -1 when store path set stores in a tabular form:
Store path
C:Users work
C:Desktop my file
D:Downloads a kind of safe coding/decoding method .doc
Table -1
In above-mentioned table -1, the 1st article of store path of record is the store path of the file of entitled " work ", record The 2nd article of store path be entitled " my file " file store path, the 3rd article of store path of record is title For a kind of store path of the file of " safe coding/decoding method ".
Chained list is storage organization discontinuous, non-sequential on a kind of physical arrangement unit.Using chain sheet form storage file The store path of object will not cause the internal memory of terminal to waste or overflow using memory space dynamic allocation.In addition, to chain Table performs insertion operation and deletion action is very convenient, and operating efficiency is higher.
Alternatively, for the file object that any one has been selected, if getting the cancellation choosing corresponding to this document object Signal is selected, then cancels the store path of record this document object.Wherein, the mode for triggering above-mentioned cancellation selection signal does not limit Determine, such as user clicks on a certain file object triggering corresponding to the selection signal of this document object, again taps on this document object Then cancellation selection signal of the triggering corresponding to this document object.
Step 103, when getting the trigger signal corresponding to search control, according to search key and n file pair The store path of elephant, the file destination object that search matches with search key from n file object.
When user clicks on search control, terminal gets the trigger signal corresponding to search control, and terminal starts afterwards Search.With reference to reference to figure 2, user user clicks on the search triggering of control 23 and starts search, and terminal is in selected file object 25 Middle search file destination object.
Terminal can search only for the file destination to match with search key, can also search only for and search key phase The destination folder of matching, or the file destination and destination folder that terminal searching matches with search key.That is, mesh Mark file object can only include file destination, can also only include destination folder, or not only including file destination but including Destination folder.
Alternatively, by taking search file as an example, when terminal gets the trigger signal corresponding to search control, according to search The store path of keyword and n file object, the target text that search matches with search key from n file object Part.When terminal gets the trigger signal corresponding to search control, according to the n file object recorded in store path set Store path, obtain several files for including of n file object, and search key and above-mentioned file are carried out one by one Match somebody with somebody, to search for the file destination to match with search key.File destination can be that file name includes above-mentioned search pass The file of keyword, file destination can also be the files that file content includes above-mentioned search key, the embodiment of the present invention pair This is not construed as limiting.In addition, algorithm can be string matching used by search key is matched with file object (string match) algorithm, space text matches algorithm based on hybrid index tree etc., the embodiment of the present invention is not made to this Limit.
Alternatively, after step 103, also comprise the following steps:If file destination object is searched, by file destination Object is shown.
After terminal gets the trigger signal corresponding to search control, display search result displaying interface, search knot are redirected Fruit displaying interface is used to show search result.In the case where searching file destination object, terminal shows boundary in search result Display target file object in face;In the case where not searching file destination object, terminal is shown in search result in interface Show corresponding prompt message.Alternatively, also include being used to input search key for user in search result displaying interface Input frame and the search control for starting search for being triggered for user, so that user is searched for next time.
With reference to reference to figure 2, terminal is obtained to correspond to and searched for after the trigger signal of control 23, redirects display search result exhibition Show the page 30, and in the display target file object 31 of search result displayed page 30.
In addition, in embodiments of the present invention, the arrangement mode of the file destination object to searching is not construed as limiting, it can be with It is ranked up according to indexs such as title, modification date, type, sizes.
Alternatively, if terminal does not search file destination object, from currently stored All Files object search with The file destination object that search key matches.That is, in the case where Local Search does not search file destination object, eventually End is automatic to search for file destination object using global search mode.By the above-mentioned means, target text can be searched as much as possible Part object, meet the search need of user.
In summary, a kind of method provided in an embodiment of the present invention, there is provided mode of Local Search file, selected by user Select out the file that may include it is expected the file object of the file destination object of search and/or be probably above-mentioned file destination object Object, and above-mentioned file object is marked, subsequent terminal searches for file destination object from the file object of above-mentioned mark. Compared to global search mode, Local Search mode hunting zone provided in an embodiment of the present invention is obviously reduced, so as to contribute to Reduce search to take, and reduce the process resource of required consumption.
Further, since file object list, input frame and search control are at same interface (namely file search interface) In, therefore user need not switch the operations that interface can complete to be related in whole search procedure, simple operation, efficiently.
Fig. 3 is a kind of flow chart of file search method according to another exemplary embodiment.This method can wrap Include the following steps.
Step 301, file search interface is shown.
By the agency of, file search interface include file object list, input frame and search control, file pair above As list includes at least one file object.
Step 302, according to the selection signal corresponding to n file object in file object list, n file pair is recorded The store path of elephant, n are positive integer.
Step 303, the search key inputted in input frame is obtained.
For the search key described in the selection course and step 303 of the file object described in above-mentioned steps 302 Input process, the two processes can be performed successively, such as input search key after first select file object, or first be inputted Select file object after search key;The two processes can also be alternately performed, such as first select at least one file object, Then search key is inputted, afterwards at least one file object of reselection.The embodiment of the present invention is not construed as limiting to this.
Step 304, when getting the trigger signal corresponding to search control, according to search key, n file object Store path and m active file object store path, searched for from n file object and m active file object The file destination object to match with search key, m are positive integer.
Unlike Fig. 1 embodiments, in the present embodiment, terminal in n file object being selected from user except searching Outside the file destination object that rope matches with search key, search and search key also from m active file object The file destination object to match.
Active file object is more than the file object of predetermined threshold value including the use of the frequency and/or attribute information is arranged to normal With the file object of type.Wherein, frequency of usage can be frequency of use or access times, and predetermined threshold value can be according to reality Demand is preset.When active file object be frequency of usage be more than predetermined threshold value file object when, active file object by Terminal voluntarily determines according to the frequency of usage of each file object;When active file object is that attribute information is arranged to conventional class During the file object of type, active file object is set by User Defined.
Alternatively, if active file object is determined by terminal, terminal obtains making for currently stored each file object Use the frequency;The file object that frequency of usage is more than to predetermined threshold value is defined as active file object, and records active file object Store path.Alternatively, terminal obtains the frequency of usage of each file object in nearest preset duration, and when will preset recently Frequency of usage is defined as active file object more than the file object of predetermined threshold value in length.The value of above-mentioned preset duration recently can Preset according to the actual requirements, the embodiment of the present invention is not construed as limiting to this.For example, frequency of usage in nearest one month is exceeded The file object of 5 times is defined as active file object.In other possible examples, terminal is according to the height of frequency of usage to each Individual file object is ranked up, and file object of the ranking in preceding k positions is defined as into active file object, and k is positive integer.Example Such as, frequency of usage is come the file object of first 3 and is defined as active file object by terminal.
Alternatively, in the case where active file object is set by User Defined, the setting up procedure includes following two Step:
First, show file object list;
Second, in the setting instruction of the specified file object in getting corresponding to file object list, by specified text Part object is defined as active file object, and records the store path of active file object.
Instruction is set to be used to the attribute information of specified file object being arranged to common type.In embodiments of the present invention, The mode for triggering above-mentioned setting instruction is not construed as limiting.Such as long-press specified file objects trigger sets instruction, or right mouse Hit specified file objects trigger and show actions menu, file object is arranged to active file pair by being used in clicking operation menu The menu item triggering of elephant sets instruction.
In addition, the store path of active file object can in a tabular form or chain sheet form storage, the embodiment of the present invention This is not construed as limiting.
Step 305, if searching file destination object, file destination object is shown.
Step 306, if not searching file destination object, search and search from currently stored All Files object The file destination object that keyword matches.
In summary, method provided in an embodiment of the present invention, also by setting active file object, and in active file pair As middle search file destination object, on the premise of reducing search and taking, search is improved as much as possible and gets file destination pair The success rate of elephant.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, refer to the inventive method embodiment.
Fig. 4 is refer to, the block diagram of the file search device provided it illustrates one embodiment of the invention.The device has The function of above method example is realized, the function can be realized by hardware, and corresponding software can also be performed by hardware and is realized. The device can include:Interface display module 401, path logging modle 402, keyword acquisition module 403 and file search mould Block 404.
Interface display module 401, for showing file search interface, the file search interface includes file object row Table, input frame and search control, the file object list include at least one file object, and the file object is file Folder or file.
Path logging modle 402, for according to the selection letter for corresponding to n file object in the file object list Number, the store path of the n file object is recorded, the n is positive integer.
Keyword acquisition module 403, for obtaining the search key inputted in the input frame.
File search module 404, for when getting the trigger signal corresponding to the search control, being searched according to above-mentioned The store path of rope keyword and the n file object, search and the search key phase from the n file object The file destination object of matching.
In summary, device provided in an embodiment of the present invention, there is provided a kind of mode of Local Search file, selected by user Select out the file that may include it is expected the file object of the file destination object of search and/or be probably above-mentioned file destination object Object, and above-mentioned file object is marked, subsequent terminal searches for file destination object from the file object of above-mentioned mark. Compared to global search mode, Local Search mode hunting zone provided in an embodiment of the present invention is obviously reduced, so as to contribute to Reduce search to take, and reduce the process resource of required consumption.
In the alternative embodiment provided based on Fig. 4 embodiments, the path logging modle 401, for when acquisition During the selection signal of any file object in corresponding to the file object list, by the store path of the file object Added in store path set;Wherein, the store path set stores the store path with form or chain sheet form.
In another alternative embodiment provided based on Fig. 4 embodiments, the file search module 402, it is additionally operable to work as When getting the trigger signal corresponding to the search control, according to depositing for the search key and m active file object Path is stored up, the file destination object that search matches with the search key from the m active file object, wherein, The active file object is more than the file object of predetermined threshold value including the use of the frequency and/or attribute information is arranged to conventional class The file object of type, the m are positive integer.
In another alternative embodiment provided based on Fig. 4 embodiments, described device also includes:Setup module and/or Determining module (not shown).
List display module, for showing file object list;In getting corresponding to the file object list During the setting instruction of specified file object, the specified file object is defined as the active file object, and described in record The store path of active file object, wherein, it is described to set instruction to be used to set the attribute information of the specified file object For the common type.
Determining module, for obtaining the frequency of usage of currently stored each file object;The frequency of usage is more than The file object of the predetermined threshold value is defined as the active file object, and records the storage road of the active file object Footpath.
In another alternative embodiment provided based on Fig. 4 embodiments, the file search module 402, if being additionally operable to The file destination object is not searched, then search and the search key phase from currently stored All Files object The file destination object matched somebody with somebody.
It should be noted that above-described embodiment provide device when realizing its function, only with above-mentioned each functional module Division for example, in practical application, can be completed as needed and by above-mentioned function distribution by different functional modules, The internal structure of equipment is divided into different functional modules, to complete all or part of function described above.In addition, The apparatus and method embodiment that above-described embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, this In repeat no more.
Fig. 5 is refer to, the structural representation of the terminal provided it illustrates one embodiment of the invention.The terminal is used for real The file search method provided in above-described embodiment is provided.Specifically:
Terminal 500 can include RF (Radio Frequency, radio frequency) circuit 510, include one or more meters The memory 520 of calculation machine readable storage medium storing program for executing, input block 530, display unit 540, sensor 550, voicefrequency circuit 560, WiFi (wireless fidelity, Wireless Fidelity) module 570, include one or the processing of more than one processing core The part such as device 580 and power supply 590.It will be understood by those skilled in the art that the terminal structure shown in Fig. 5 is not formed pair The restriction of terminal, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.Wherein:
RF circuits 510 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 580 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 510 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 510 can also be communicated by radio communication with network and other equipment.The radio communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 520 can be used for storage software program and module, and processor 580 is stored in memory 520 by operation Software program and module, so as to perform various function application and data processing.Memory 520 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function) etc.;Storage data field can store uses created number according to terminal 500 According to (such as voice data, phone directory etc.) etc..In addition, memory 520 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 520 can also include Memory Controller, to provide processor 580 and input block 530 to memory 520 access.
Input block 530 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 530 may include figure As input equipment 531 and other input equipments 532.Image input device 531 can be camera or optoelectronic scanning Equipment.Except image input device 531, input block 530 can also include other input equipments 532.Specifically, other are inputted Equipment 532 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse One or more in mark, action bars etc..
Display unit 540 can be used for display by the information of user's input or be supplied to the information and terminal 500 of user Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination. Display unit 540 may include display panel 541, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 541。
Terminal 500 may also include at least one sensor 550, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 541, and proximity transducer can close display when terminal 500 is moved in one's ear Panel 541 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely The other sensors such as the gyroscope that can also configure in terminal 500, barometer, hygrometer, thermometer, infrared ray sensor, herein Repeat no more.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the COBBAIF between user and terminal 500.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 561, sound is converted to by loudspeaker 561 by circuit 560 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, after being received by voicefrequency circuit 560 Voice data is converted to, then after voice data output processor 580 is handled, through RF circuits 510 to be sent to such as another end End, or voice data is exported to memory 520 further to handle.Voicefrequency circuit 560 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 500.
WiFi belongs to short range wireless transmission technology, and terminal 500 can help user's transceiver electronicses by WiFi module 570 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown WiFi module 570, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 500, can exist as needed completely Do not change in the essential scope of invention and omit.
Processor 580 is the control centre of terminal 500, utilizes various interfaces and each portion of connection whole mobile phone Point, by running or performing the software program and/or module that are stored in memory 520, and call and be stored in memory 520 Interior data, the various functions and processing data of terminal 500 are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 580 may include one or more processing cores;Preferably, processor 580 can integrate application processor and modem processor, Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Terminal 500 also includes the power supply 590 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 580 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 590 can also include one or more direct current or AC power, recharging system, power supply event The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 500 can also will not be repeated here including bluetooth module etc..
Specifically in the present embodiment, terminal 500 also includes memory, and one or more than one program, its In one or more than one program storage in memory, and be configured to by one or more than one computing device. Said one or more than one program bag contain the instruction for being used for performing above-mentioned file search method.
In the exemplary embodiment, a kind of computer-readable recording medium, the computer-readable storage medium are additionally provided At least one instruction is stored with matter, at least one instruction is loaded by the processor of terminal and performed to realize the above method Each step in embodiment.
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed When, it is used to realize the function of each step in above method embodiment.
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A be present And B, individualism B these three situations.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
The exemplary embodiment of the present invention is the foregoing is only, is not intended to limit the invention, all spirit in the present invention Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

1. a kind of file search method, it is characterised in that methods described includes:
File search interface is shown, the file search interface includes file object list, input frame and search control, described File object list includes at least one file object, and the file object is file or file;
The search key inputted in the input frame is obtained, and according to corresponding to n text in the file object list The selection signal of part object, records the store path of the n file object, and the n is positive integer;
When getting the trigger signal corresponding to the search control, according to the search key and the n file pair The store path of elephant, the file destination object that search matches with the search key from the n file object.
2. according to the method for claim 1, it is characterised in that the n that the basis corresponds in the file object list The selection signal of individual file object, the store path of the n file object is recorded, including:
When getting the selection signal corresponding to any file object in the file object list, by the file object Store path be added to store path set in, wherein, the store path set with form or chain sheet form storage described in Store path.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
When getting the trigger signal corresponding to the search control, according to the search key and m active file pair The store path of elephant, the file destination object that search matches with the search key from the m active file object, Wherein, the active file object is more than the file object of predetermined threshold value including the use of the frequency and/or attribute information is arranged to The file object of common type, the m are positive integer.
4. according to the method for claim 3, it is characterised in that described according to the search key and m active file The store path of object, the file destination pair that search matches with the search key from the m active file object As before, in addition to:
Show the file object list;The setting of specified file object in getting corresponding to the file object list During instruction, the specified file object is defined as the active file object, and record the storage of the active file object Path, wherein, it is described to set instruction to be used to the attribute information of the specified file object being arranged to the common type;
And/or
Obtain the frequency of usage of currently stored each file object;The frequency of usage is more than to the file of the predetermined threshold value Object is defined as the active file object, and records the store path of the active file object.
5. method according to claim 1 or 2, it is characterised in that it is described according to the search key and it is described n text The store path of part object, the file destination object that search matches with the search key from the n file object Afterwards, in addition to:
If not searching the file destination object, search and the search are crucial from currently stored All Files object The file destination object that word matches.
6. a kind of file search device, it is characterised in that described device includes:
Interface display module, for showing file search interface, the file search interface includes file object list, input Frame and search control, the file object list include at least one file object, the file object for file or File;
Path logging modle, for according to the selection signal for corresponding to n file object in the file object list, record The store path of the n file object, the n are positive integer;
Keyword acquisition module, for obtaining the search key inputted in the input frame;
File search module, for when getting the trigger signal corresponding to the search control, key to be searched for according to described The store path of word and the n file object, search and the search key match from the n file object File destination object.
7. device according to claim 6, it is characterised in that the path logging modle, correspond to for working as to get During the selection signal of any file object in the file object list, the store path of the file object is added to and deposited Store up in set of paths, wherein, the store path set stores the store path with form or chain sheet form.
8. the device according to claim 6 or 7, it is characterised in that the file search module, be additionally operable to when getting pair When answering the trigger signal of the search control, according to the search key and the store path of m active file object, from institute The file destination object that search matches with the search key in m active file object is stated, wherein, the active file Object is more than the file object of predetermined threshold value including the use of the frequency and/or attribute information is arranged to the file pair of common type As the m is positive integer.
9. device according to claim 8, it is characterised in that described device also includes:Setup module and/or determination mould Block;
The setup module, for showing the file object list;In getting corresponding to the file object list During the setting instruction of specified file object, the specified file object is defined as the active file object, and described in record The store path of active file object, wherein, it is described to set instruction to be used to set the attribute information of the specified file object For the common type;
The determining module, for obtaining the frequency of usage of currently stored each file object;The frequency of usage is more than The file object of the predetermined threshold value is defined as the active file object, and records the storage road of the active file object Footpath.
10. the device according to claim 6 or 7, it is characterised in that the file search module, if being additionally operable to not search for To the file destination object, then the mesh that search matches with the search key from currently stored All Files object Mark file object.
11. a kind of terminal, it is characterised in that the terminal includes processor and memory, and the memory storage has at least one Bar is instructed, and at least one instruction is loaded as the processor and performed to realize as described in any one of claim 1 to 5 File search method.
12. a kind of computer-readable recording medium, it is characterised in that at least one is stored with the computer-readable recording medium Bar is instructed, and the instruction is loaded as processor and performed to realize the file search side as described in any one of claim 1 to 5 Method.
CN201710660485.0A 2017-08-04 2017-08-04 File searching method and device and terminal Expired - Fee Related CN107436948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710660485.0A CN107436948B (en) 2017-08-04 2017-08-04 File searching method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710660485.0A CN107436948B (en) 2017-08-04 2017-08-04 File searching method and device and terminal

Publications (2)

Publication Number Publication Date
CN107436948A true CN107436948A (en) 2017-12-05
CN107436948B CN107436948B (en) 2020-01-14

Family

ID=60459858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710660485.0A Expired - Fee Related CN107436948B (en) 2017-08-04 2017-08-04 File searching method and device and terminal

Country Status (1)

Country Link
CN (1) CN107436948B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109819311A (en) * 2019-01-29 2019-05-28 法信公证云(厦门)科技有限公司 A kind of terminal video evidence collecting method and device
CN110109876A (en) * 2018-01-09 2019-08-09 腾讯科技(深圳)有限公司 A kind of file search method and its equipment, storage medium, terminal
CN111177076A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 File information management method, device, equipment and storage medium
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File sending method and device and electronic equipment
CN114090515A (en) * 2022-01-21 2022-02-25 亿次网联(杭州)科技有限公司 File searching method, terminal device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263495A (en) * 2005-09-12 2008-09-10 微软公司 Expanded search and find user interface
CN101639831A (en) * 2008-07-29 2010-02-03 华为技术有限公司 Search method, search device and search system
CN103548013A (en) * 2011-05-22 2014-01-29 微软公司 Search and browse hybrid
CN106951492A (en) * 2017-03-14 2017-07-14 广东欧珀移动通信有限公司 File search method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263495A (en) * 2005-09-12 2008-09-10 微软公司 Expanded search and find user interface
CN101639831A (en) * 2008-07-29 2010-02-03 华为技术有限公司 Search method, search device and search system
CN103548013A (en) * 2011-05-22 2014-01-29 微软公司 Search and browse hybrid
CN106951492A (en) * 2017-03-14 2017-07-14 广东欧珀移动通信有限公司 File search method, device and electronic equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109876A (en) * 2018-01-09 2019-08-09 腾讯科技(深圳)有限公司 A kind of file search method and its equipment, storage medium, terminal
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
CN109819311A (en) * 2019-01-29 2019-05-28 法信公证云(厦门)科技有限公司 A kind of terminal video evidence collecting method and device
CN111177076A (en) * 2019-12-30 2020-05-19 腾讯科技(深圳)有限公司 File information management method, device, equipment and storage medium
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File sending method and device and electronic equipment
CN112333084B (en) * 2020-10-30 2022-02-08 维沃移动通信有限公司 File sending method and device and electronic equipment
CN114090515A (en) * 2022-01-21 2022-02-25 亿次网联(杭州)科技有限公司 File searching method, terminal device and storage medium

Also Published As

Publication number Publication date
CN107436948B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN106453053B (en) Group message display methods and device
CN104239535B (en) A kind of method, server, terminal and system for word figure
CN104978115B (en) Content display method and device
CN107436948A (en) File search method, device and terminal
CN104965843B (en) A kind of method and device obtaining comment information
CN104618222B (en) A kind of method and device for matching facial expression image
CN104519404B (en) The player method and device of graphic interchange format file
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN104850406B (en) A kind of method and apparatus for switching the page
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN104104711B (en) Reading histories treating method and apparatus
US20150121295A1 (en) Window displaying method of mobile terminal and mobile terminal
CN107168609A (en) status bar display method, device and terminal
JP6910300B2 (en) A method for displaying chat history records and a device for displaying chat history records
CN105022616A (en) Method and device for generating web page
CN104699501B (en) A kind of method and device for running application program
CN104063400B (en) Data search method and data search device
CN107291326A (en) Icon processing method and terminal
CN107885718A (en) Semanteme determines method and device
CN104598542B (en) The display methods and device of multimedia messages
CN105787982B (en) A kind of method and apparatus making e-book
CN105095161B (en) Method and device for displaying rich text information
CN107622234A (en) It is a kind of to show the method and apparatus for sprouting face present
CN107104882A (en) The method, device and mobile terminal of good friend's speech information are shown in social software
CN108958854A (en) Window display method, device and terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114