CN106951492A - File search method, device and electronic equipment - Google Patents

File search method, device and electronic equipment Download PDF

Info

Publication number
CN106951492A
CN106951492A CN201710150925.8A CN201710150925A CN106951492A CN 106951492 A CN106951492 A CN 106951492A CN 201710150925 A CN201710150925 A CN 201710150925A CN 106951492 A CN106951492 A CN 106951492A
Authority
CN
China
Prior art keywords
file
application program
electronic equipment
interface
operational order
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
CN201710150925.8A
Other languages
Chinese (zh)
Other versions
CN106951492B (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 CN201710150925.8A priority Critical patent/CN106951492B/en
Publication of CN106951492A publication Critical patent/CN106951492A/en
Application granted granted Critical
Publication of CN106951492B publication Critical patent/CN106951492B/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/156Query results presentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of file search method, device and electronic equipment.The above method includes:Reception acts on application program image target operational order in interface of electronic equipment;If the operational order is consistent with default operational order, the corresponding application program identification of the application icon is obtained, corresponding with the application program identification file and/or file is searched;The file and/or file are shown in interface of electronic equipment.The above method, can the easily corresponding file of search for application.

Description

File search method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of file search method, device and electronic equipment.
Background technology
In intelligent mobile terminal, file system is the major way for managing file.In general, when user requires to look up In mobile terminal during the corresponding file of application program, generally using file management application come locating file.File management application can File in mobile terminal is sorted by filename and shown, user can search all applications in mobile terminal in file management application The corresponding file of program.
The content of the invention
The embodiment of the present invention provides a kind of file search method, device and electronic equipment, can easily search for and apply journey The corresponding file of sequence.
A kind of file search method, including:
Reception acts on application program image target operational order in interface of electronic equipment;
If the operational order is consistent with default operational order, the corresponding application program of the application icon is obtained Mark, searches corresponding with the application program identification file and/or file;
The file and/or file are shown in interface of electronic equipment.
A kind of file search device, including:
Receiver module, application program image target operational order in interface of electronic equipment is acted on for receiving;
Searching modul, if consistent with default operational order for the operational order, obtains the application icon Corresponding application program identification, searches corresponding with the application program identification file and/or file;
Display module, for the file and/or file to be shown in interface of electronic equipment.
A kind of electronic equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, following steps are realized during the computing device described program:
Reception acts on application program image target operational order in interface of electronic equipment;
If the operational order is consistent with default operational order, the corresponding application program of the application icon is obtained Mark, searches corresponding with the application program identification file and/or file;
The file and/or file are shown in interface of electronic equipment.
Brief description of the drawings
Fig. 1 is the flow chart of file search method in one embodiment;
Fig. 2 is the flow chart of file search method in another embodiment;
Fig. 3 is the structured flowchart of file search device in one embodiment;
Fig. 4 is the block diagram of the part-structure of the mobile phone related to electronic equipment provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the flow chart of file search method in one embodiment.As shown in figure 1, a kind of file search method, including Step S202 to S206.Wherein:
S102, reception acts on application program image target operational order in interface of electronic equipment;
S104, if operational order is consistent with default operational order, obtains the corresponding application program mark of application icon Know, search corresponding with application program identification file and/or file;
S106, file and/or file are shown in interface of electronic equipment.
In one embodiment, electronic equipment can be computer, mobile terminal, wearable smart machine etc., be not limited to This.There is application icon in the showing interface of electronic equipment, act on application program image target in interface of electronic equipment and operate Instruction can be to act on application program image target touch control operation or mouse acts on application program image target clicking operation.Connecing Receive and act in interface of electronic equipment after application program image target operational order, detect the operational order that receives with it is default Whether operational order is consistent, if the operational order received is consistent with default operational order, obtains application icon pair The application program identification answered, and lookup file corresponding with application program identification, file, file in application records table Folder and file.Wherein, default operational order can be double-click, long-press, click, not limited to this.
Application program identification be used for unique mark electronic equipment in application program, can for application program title or apply journey The corresponding bag name of sequence.Application records table is used for records application program, the corresponding file of application program, application program correspondence File between mapping relations;The corresponding file of application program includes the file that application program is generated when installing, running Folder;Installation file of the corresponding file of application program including application program, the operating file of application program, the download of application program File, editable file of application program etc..Wherein, can be to installing the file generated when application program performs installation procedure Mark;, can be to the file mark of download when application program downloads file;Application program operationally, can be to operation generation File mark;Application records table according to application program identification after the corresponding file or folder of application program is obtained, root The corresponding file of application program can be divided into the corresponding operation text of the installation file of application program, application program according to file mark The corresponding download file of part, application program;According to file format the corresponding file of application program can be divided into editable file and Can not editing files.
In application records table record have the title of the corresponding file of application program, size, path, when changing recently Between, and the corresponding file of application program title, size, path, nearest modification time etc.., should by monitoring file system It can obtain the corresponding application program identification of file or folder generated in file system with program record sheet, and by file system The storage corresponding with file and application program identification of middle file;Application records table can also monitor file system in real time, obtain The application program of operation is written and read to file or folder, amended file or folder is corresponding with application program identification Storage, i.e. application program table can be between the file or folder that has stored of real-time update and application program identification corresponding relation.
After the corresponding application program identification of application icon is got, it can be searched in application records table with answering With the corresponding file of program identification, file corresponding with application program identification.If in the corresponding file of application program identification File is installation file, then this document folder is labeled as into installation folder.The application program in traversal applications program record sheet Identify after corresponding file and file, the corresponding file of application program identification and file are shown in interface of electronic equipment. Wherein, if All Files is the corresponding file of application program in a file, only displaying should in interface of electronic equipment File, the file that includes in this document folder is not shown, i.e., interface of electronic equipment show the corresponding file of application program with It is preferential to show the corresponding file of application program during file.Wherein, the mode of displaying file and/or file can be list exhibition Show, thumbnail displaying etc., not limited to this.
For example, have QQ icons in mobile phone interface displaying, and after the double click operation to mobile phone interface QQ icons is got, system Search the corresponding application name of QQ icons and be referred to as Tencent QQ, then the corresponding file of lookup Tencent QQ in application records table Path with file is * * * * * Tencent QQ, by traveling through file and file, the mark for obtaining file under the path Know, further according to file mark by the file under the path be divided into QQ installation files, QQ operating files, QQ download file;According to The files such as file suffixes entitled .doc .txt .docx are divided into QQ editable files by file format;And by QQ installation files, QQ Operating file, QQ download file, QQ editables file and shown in mobile phone interface tabulation.
File search method in the embodiment of the present invention, after the operational order to application program is got, in application program Corresponding with the application program file and file are searched in record sheet, and the file and file of acquisition will be searched and is set in electronics Standby showing interface, the method for locating file is more quick and easy.
In one embodiment, searching file corresponding with application program identification includes:Obtain application program identification pair The folder path answered;The file included is pressed from both sides by file under subprime directory superior catalogue step by step traverse folder path whether equal For the corresponding file of application program identification;If so, showing file under folder path in interface of electronic equipment.
When searching the corresponding file of application program identification and file, obtain what is recorded in application records table first Whether file and file under the corresponding folder path of application program, traversal this document folder path are the application program pair The file and file answered, if so, then obtaining the corresponding upper level folder path in this document folder path, travel through upper level file Whether the file and file that the corresponding file in folder path includes are the corresponding file of the application program and file;If The file and file that the corresponding file of next stage folder path includes are the corresponding file of the application program identification Folder and file, and the file that the corresponding file of upper level folder path includes is not including being to be application program correspondence File and file, then the corresponding file of next stage folder path is obtained, by the corresponding text of next stage folder path Part is clipped in interface of electronic equipment displaying.For example, system get the corresponding folder path of Tencent QQ for * * * * * Tencent File and file are the corresponding file of Tencent QQ under QQ, traversal * * * * * Tencent QQ paths, then again time Going through includes the corresponding file of wechat under file and file under * * * * * Tencent paths, * * * * * Tencent paths, then In the corresponding file of mobile phone interface displaying Tencent QQ, i.e. * * * * * QQ files under Tencent catalogues.
In one embodiment, the tag along sort having to file and/or file is shown in interface of electronic equipment;Above-mentioned text Part searching method also includes:The operational order for acting on tag along sort is received, selected contingency table is obtained according to operational order Label;File and/or document classification are shown according to selected tag along sort.
Displaying has the tag along sort to file and/or file in interface of electronic equipment, and above-mentioned tag along sort may include Classify by newest modification time, by format classification, by size classification, by name classification, classify by file mark.Getting Touch control operation to the tag along sort of displaying or after the click commands of mouse, according to text of the tag along sort of selection to application program Part is pressed from both sides and/or file is classified, and by sorted file and/or document presentation.For example, being risen in mobile phone interface displaying The corresponding files of news QQ and file, also showed that and classified by newest modification time, by format classification, by size classification, by name The tag along sort for claim classification, classifying by file mark, user is clicked on by the classification of newest modification time, then by the corresponding text of Tencent QQ Part and file are divided into " nearest one week ", " nearest one month ", " nearest three months ", " earlier " displaying.
File search method in the embodiment of the present invention, when showing the corresponding file of application program and file, is also showed that Different tag along sorts, is conducive to being shown the corresponding file of application program and document classification according to tag along sort, displaying text Part is pressed from both sides and the mode of file is more diversified.
In one embodiment, there is expansion button corresponding with file in interface of electronic equipment displaying;Above-mentioned file is searched Suo Fangfa also includes:Receive the operational order to deploying button;Shown in file and wrapped according to the operational order to deploying button The file and/or file included.
In the interface of electronic equipment displaying corresponding file of application program, can also show it is corresponding with file shrink/ Deploy button, if getting the touch control operation or the click commands of mouse to above-mentioned contraction/expansion button, can perform corresponding Contraction/expansion instruction.For example, having the corresponding file of Tencent QQ and file in mobile phone interface displaying, shown in front of file There is contraction/expansion button, if getting touch control operation of the user to contraction/expansion button, deploy the contraction/expansion button pair The file answered, the file and file included in this document folder is shown in mobile phone interface.The text included in displaying file Part is pressed from both sides with after file, if getting touch control operation of the user to the contraction/expansion button again, this is only shown in mobile phone interface File.
File search method in the embodiment of the present invention, by setting corresponding contraction/expansion button to file, can show File and file that file includes, by way of many level displays, facilitate user to search corresponding text in each file Part is pressed from both sides and file, and the mode of search file is more convenient.
In one embodiment, there is search control in interface of electronic equipment displaying;Above-mentioned file search method also includes:Connect It is received in the keyword inputted in search control;Searched in file corresponding with application program identification and/or file and key The corresponding file of word and/or file;Corresponding with keyword file and/or file are shown in interface of electronic equipment.
There is search control in interface of electronic equipment displaying, the search control can be fixing search frame, suspension search box etc..It is logical The keyword for receiving and being inputted in search control is crossed, corresponding with keyword file and/or file can be searched.Wherein, it is crucial Word can be tag along sort of the title of file or file, file or file etc..Obtaining corresponding according to keyword search After file and/or file, it can will search for the file obtained and/or file is highlighted, overstriking is shown or in electronic equipment Interface only shows the file and/or file that search is obtained.For example, mobile phone interface displaying have the corresponding file of Tencent QQ and File, user inputs " download " in search box, then searches the corresponding download file of Tencent QQ according to file identification, and will search The download document presentation of acquisition is in mobile phone interface.
File search method in the embodiment of the present invention, search control is set in interface of electronic equipment, is conducive to basis searching The corresponding file of keyword lookup and file inputted in rope control, the mode of file search is more convenient, improves user's body Test.
Fig. 2 is the flow chart of file search method in another embodiment.As shown in Fig. 2 a kind of file search method, bag Include:
S202, detects whether to receive the predetermined registration operation to mobile terminal desktop application icon.
S204, if consistent with default operation.If so, jumping to S206.
S206, searches the file and file associated with the desktop application in application records table.
S208, will search the file obtained and file and is shown according to preset format in mobile terminal desktop.
S210, if the touch control operation to file or file is received, if so, jumping to S212.
S212, jumps to the position of this document folder or file in file management system.
File search method in the embodiment of the present invention, after the operational order to application program is got, in application program Corresponding with the application program file and file are searched in record sheet, and the file and file of acquisition will be searched and is set in electronics Standby showing interface, the method for locating file is more quick and easy.
Fig. 3 is the structured flowchart of file search device in one embodiment, as shown in figure 3, a kind of file search device, bag Include receiver module 302, searching modul 304 and display module 306.Wherein:
Receiver module 302, application program image target operational order in interface of electronic equipment is acted on for receiving.
Searching modul 304, if consistent with default operational order for operational order, obtains application icon corresponding Application program identification, searches corresponding with application program identification file and/or file.
Display module 306, for file and/or file to be shown in interface of electronic equipment.
In one embodiment, the tag along sort having to file and/or file is shown in interface of electronic equipment;Receive mould Block 302 is additionally operable to receive the operational order for acting on tag along sort, and selected tag along sort is obtained according to operational order;Displaying Module 306 is additionally operable to be shown file and/or document classification according to selected tag along sort.
In one embodiment, there is expansion button corresponding with file in interface of electronic equipment displaying;Receiver module 302 It is additionally operable to receive the operational order to deploying button;Display module 306 is additionally operable to be shown according to the operational order to deploying button File and/or file that file includes.
In one embodiment, there is search control in interface of electronic equipment displaying;Receiver module 302 is additionally operable to receive and searched The keyword inputted in rope control;Searching modul 304 is additionally operable in file corresponding with application program identification and/or file Search corresponding with keyword file and/or file;Display module 306 is additionally operable to displaying and key in interface of electronic equipment The corresponding file of word and/or file.
In one embodiment, searching modul 304 is additionally operable to obtain the corresponding folder path of application program identification;Under Whether the level catalogue superior catalogue file that file folder includes under traverse folder path step by step is application program identification correspondence File;If so, showing file under folder path in interface of electronic equipment.
The division of modules is only used for for example, in other embodiments in above-mentioned file search device, can be by text Part searcher is divided into different modules as required, to complete all or part of function of above-mentioned file search device.
The embodiment of the present invention additionally provides a kind of electronic equipment.As shown in figure 4, for convenience of description, illustrate only and this The related part of inventive embodiments, particular technique details is not disclosed, refer to present invention method part.The electronics is set Standby can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using electronic equipment as mobile phone Exemplified by:
Fig. 4 is the block diagram of the part-structure of the mobile phone related to electronic equipment provided in an embodiment of the present invention.With reference to Fig. 4, Mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 410, memory 420, input block 430, display unit 440, biography Sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless fidelity, WiFi) module 470, processor 480, Yi Ji electricity The grade part of source 490., can be with it will be understood by those skilled in the art that the handset structure shown in Fig. 4 does not constitute the restriction to mobile phone Including than illustrating more or less parts, either combining some parts or different parts arrangement.
Wherein, RF circuits 410 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations After downlink information is received, handled to processor 480;Up data can also be sent to base station.Generally, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 410 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 420 can be used for storage software program and module, and processor 480 is stored in memory 420 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 420 can mainly include Program storage area and data storage area, wherein, the application journey that program storage area can be needed for storage program area, at least one function Sequence (application program of such as sound-playing function, application program of image player function etc.) etc.;Data storage area can store root Created data (such as voice data, address list etc.) etc. are used according to mobile phone.In addition, memory 420 can be included at a high speed Random access memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device or Other volatile solid-state parts.
Input block 430 can be used for the numeral or character information for receiving input, and generation and the user of mobile phone 400 to set And the relevant key signals input of function control.Specifically, input block 430 may include contact panel 431 and other inputs Equipment 432.Contact panel 431, alternatively referred to as touch-screen, collect touch operation (such as user of the user on or near it Use the operation of any suitable object such as finger, stylus or annex on contact panel 431 or near contact panel 431), And corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 431 may include to touch inspection Survey two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 480, and the order sent of receiving processor 480 and can be performed.In addition, Contact panel 431 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface Plate 431, input block 430 can also include other input equipments 432.Specifically, other input equipments 432 can be included but not It is limited to the one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 440 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 440 may include display panel 441.In one embodiment, liquid crystal display (Liquid can be used Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 441.In one embodiment, contact panel 431 can cover display panel 441, when contact panel 431 is examined Measure after the touch operation on or near it, processor 480 is sent to determine the type of touch event, with preprocessor 480 provide corresponding visual output according to the type of touch event on display panel 441.Although in Fig. 4, contact panel 431 and display panel 441 are input and the input function that mobile phone is realized as two independent parts, but are implemented some , can be by contact panel 431 and the input that is integrated and realizing mobile phone of display panel 441 and output function in example.
Mobile phone 400 may also include at least one sensor 450, 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 441, and proximity transducer can close display panel when mobile phone is moved in one's ear 441 and/or backlight.Motion sensor may include acceleration transducer, can detect and add in all directions by acceleration transducer The size of speed, can detect that size and the direction of gravity when static, application (the such as horizontal/vertical screen available for identification mobile phone attitude Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared ray sensor etc..
Voicefrequency circuit 460, loudspeaker 461 and microphone 462 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 461, sound is converted to by loudspeaker 461 by road 460 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 462, is turned after being received by voicefrequency circuit 460 It is changed to voice data, then after voice data output processor 480 is handled, another mobile phone can be sent to through RF circuits 410, or Person exports voice data to memory 420 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 470 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 4 is shown WiFi module 470, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone 400, can omit as needed.
Processor 480 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform and be stored in software program and/or module in memory 420, and call and be stored in memory 420 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.In one embodiment, handle Device 480 may include one or more processing units.In one embodiment, processor 480 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc.;Modulation /demodulation is handled Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 480.
Mobile phone 400 also includes the power supply 490 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 480 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
In one embodiment, mobile phone 400 can also include camera, bluetooth module etc..
In embodiments of the present invention, following steps are realized during 480 configuration processor of processor included by the mobile terminal:
(1) receive and act on application program image target operational order in interface of electronic equipment;
(2) if operational order is consistent with default operational order, the corresponding application program identification of application icon is obtained, Search corresponding with application program identification file and/or file;
(3) file and/or file are shown in interface of electronic equipment.
In one embodiment, electronic equipment can be computer, mobile terminal, wearable smart machine etc., be not limited to This.There is application icon in the showing interface of electronic equipment, act on application program image target in interface of electronic equipment and operate Instruction can be to act on application program image target touch control operation or mouse acts on application program image target clicking operation.Connecing Receive and act in interface of electronic equipment after application program image target operational order, detect the operational order that receives with it is default Whether operational order is consistent, if the operational order received is consistent with default operational order, obtains application icon pair The application program identification answered, and lookup file corresponding with application program identification, file, file in application records table Folder and file.Wherein, default operational order can be double-click, long-press, click, not limited to this.Application program identification is used for only Application program in one mark electronic equipment, can be the title or the corresponding bag name of application program of application program.Application records The mapping relations that table is used between records application program, the corresponding file of application program, the corresponding file of application program;Using The corresponding file of program includes the file that application program is generated when installing, running;The corresponding file of application program includes The installation file of application program, the operating file of application program, the download file of application program, the editable file of application program Deng.Wherein, can be to installing the file mark generated when application program performs installation procedure;When application program downloads file, Can be to the file mark of download;Application program operationally, can be to running the file mark generated;Application records table is in root Obtained according to application program identification after the corresponding file or folder of application program, can be corresponding by application program according to file mark File is divided into the corresponding download file of the corresponding operating file of the installation file of application program, application program, application program;According to The corresponding file of application program can be divided into editable file and can not editing files by file format.
In application records table record have the title of the corresponding file of application program, size, path, when changing recently Between, title, size, path, nearest modification time of the corresponding file of application program etc..By monitoring file system, using journey Sequence record sheet can obtain the corresponding application program identification of the file or folder generated in file system, and file system is Chinese Part storage corresponding with file and application program identification;Application records table can also monitor file system in real time, obtain to text Part or file are written and read the application program of operation, deposit amended file or folder is corresponding with application program identification Storage, i.e. application program table can be between the file or folder that has stored of real-time update and application program identification corresponding relation.
After the corresponding application program identification of application icon is got, it can be searched in application records table with answering With the corresponding file of program identification, file corresponding with application program identification.If in the corresponding file of application program identification File is installation file, then this document folder is labeled as into installation folder.The application program in traversal applications program record sheet Identify after corresponding file and file, the corresponding file of application program identification and file are shown in interface of electronic equipment. Wherein, if All Files is the corresponding file of application program in a file, only displaying should in interface of electronic equipment File, the file that includes in this document folder is not shown, i.e., interface of electronic equipment show the corresponding file of application program with It is preferential to show the corresponding file of application program during file.Wherein, the mode of displaying file and/or file can be list exhibition Show, thumbnail displaying etc., not limited to this.
Mobile terminal in the embodiment of the present invention, after the operational order to application program is got, in application records Corresponding with the application program file and file are searched in table, and the file obtained and file will be searched in electronic equipment circle Face shows that the method for locating file is more quick and easy.
In one embodiment, searching file corresponding with application program identification includes:Obtain application program identification pair The folder path answered;The file included is pressed from both sides by file under subprime directory superior catalogue step by step traverse folder path whether equal For the corresponding file of application program identification;If so, showing file under folder path in interface of electronic equipment.
When searching the corresponding file of application program identification and file, obtain what is recorded in application records table first Whether file and file under the corresponding folder path of application program, traversal this document folder path are the application program pair The file and file answered, if so, then obtaining the corresponding upper level folder path in this document folder path, travel through upper level file Whether the file and file that the corresponding file in folder path includes are the corresponding file of the application program and file;If The file and file that the corresponding file of next stage folder path includes are the corresponding file of the application program identification Folder and file, and the file that the corresponding file of upper level folder path includes is not including being to be application program correspondence File and file, then the corresponding file of next stage folder path is obtained, by the corresponding text of next stage folder path Part is clipped in interface of electronic equipment displaying.For example, system get the corresponding folder path of Tencent QQ for * * * * * Tencent File and file are the corresponding file of Tencent QQ under QQ, traversal * * * * * Tencent QQ paths, then again time Going through includes the corresponding file of wechat under file and file under * * * * * Tencent paths, * * * * * Tencent paths, then In the corresponding file of mobile phone interface displaying Tencent QQ, i.e. * * * * * QQ files under Tencent catalogues.
In one embodiment, the tag along sort having to file and/or file is shown in interface of electronic equipment;Above-mentioned shifting Following steps are also realized when moving 480 configuration processor of processor included by terminal:The operational order for acting on tag along sort is received, Selected tag along sort is obtained according to operational order;According to selected tag along sort by file and/or document classification exhibition Show.
Displaying has the tag along sort to file and/or file in interface of electronic equipment, and above-mentioned tag along sort may include Classify by newest modification time, by format classification, by size classification, by name classification, classify by file mark.Getting Touch control operation to the tag along sort of displaying or after the click commands of mouse, according to text of the tag along sort of selection to application program Part is pressed from both sides and/or file is classified, and by sorted file and/or document presentation.
Mobile terminal in the embodiment of the present invention, when showing the corresponding file of application program and file, also shows that difference Tag along sort, be conducive to being shown the corresponding file of application program and document classification according to tag along sort, show file Mode with file is more diversified.
In one embodiment, there is expansion button corresponding with file in interface of electronic equipment displaying;It is above-mentioned mobile whole Following steps are also realized when holding included 480 configuration processor of processor:Receive the operational order to deploying button;According to exhibition Open file and/or file that the operational order displaying file of button includes.
In the interface of electronic equipment displaying corresponding file of application program, can also show it is corresponding with file shrink/ Deploy button, if getting the touch control operation or the click commands of mouse to above-mentioned contraction/expansion button, can perform corresponding Contraction/expansion instruction.For example, having the corresponding file of Tencent QQ and file in mobile phone interface displaying, shown in front of file There is contraction/expansion button, if getting touch control operation of the user to contraction/expansion button, deploy the contraction/expansion button pair The file answered, the file and file included in this document folder is shown in mobile phone interface.The text included in displaying file Part is pressed from both sides with after file, if getting touch control operation of the user to the contraction/expansion button again, this is only shown in mobile phone interface File.
Mobile terminal in the embodiment of the present invention, by setting corresponding contraction/expansion button to file, can show file File and file that folder includes, by way of many level displays, facilitate user to search corresponding file in each file And file, the mode of search file is more convenient.
In one embodiment, there is search control in interface of electronic equipment displaying;Processing included by above-mentioned mobile terminal Following steps are also realized during 480 configuration processor of device:Receive the keyword inputted in search control;With application program identification pair Corresponding with keyword file and/or file are searched in the file and/or file answered;In interface of electronic equipment displaying with The corresponding file of keyword and/or file.
There is search control in interface of electronic equipment displaying, the search control can be fixing search frame, suspension search box etc..It is logical The keyword for receiving and being inputted in search control is crossed, corresponding with keyword file and/or file can be searched.Wherein, it is crucial Word can be tag along sort of the title of file or file, file or file etc..Obtaining corresponding according to keyword search After file and/or file, it can will search for the file obtained and/or file is highlighted, overstriking is shown or in electronic equipment Interface only shows the file and/or file that search is obtained.
Mobile terminal in the embodiment of the present invention, search control is set in interface of electronic equipment, is conducive to according in search control The corresponding file of keyword lookup and file inputted in part, the mode of file search is more convenient, improves Consumer's Experience.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (11)

1. a kind of file search method, it is characterised in that including:
Reception acts on application program image target operational order in interface of electronic equipment;
If the operational order is consistent with default operational order, the corresponding application program mark of the application icon is obtained Know, search corresponding with the application program identification file and/or file;
The file and/or file are shown in interface of electronic equipment.
2. file search method according to claim 1, it is characterised in that have in interface of electronic equipment displaying to institute State the tag along sort of file and/or file;Methods described also includes:
The operational order for acting on the tag along sort is received, selected tag along sort is obtained according to the operational order;
The file and/or document classification are shown according to the selected tag along sort.
3. file search method according to claim 1, it is characterised in that have and institute in interface of electronic equipment displaying State the corresponding expansion button of file;Methods described also includes:
Receive the operational order to the expansion button;
File and/or file that the file includes are shown according to the operational order to the expansion button.
4. file search method according to claim 1, it is characterised in that have search in interface of electronic equipment displaying Control;Methods described also includes:
Receive the keyword inputted in the search control;
File corresponding with the keyword is searched in file corresponding with the application program identification and/or file And/or file;
Corresponding with the keyword file and/or file are shown in the interface of electronic equipment.
5. file search method according to claim 1, it is characterised in that the lookup and the application program identification pair The file answered includes:
Obtain the corresponding folder path of the application program identification;
Travel through whether the file that file folder includes under the folder path is application step by step by subprime directory superior catalogue The corresponding file of program identification;
If so, showing file under the folder path in the interface of electronic equipment.
6. a kind of file search device, it is characterised in that including:
Receiver module, application program image target operational order in interface of electronic equipment is acted on for receiving;
Searching modul, if consistent with default operational order for the operational order, obtains the application icon correspondence Application program identification, search corresponding with application program identification file and/or file;
Display module, for the file and/or file to be shown in interface of electronic equipment.
7. file search device according to claim 6, it is characterised in that have in interface of electronic equipment displaying to institute State the tag along sort of file and/or file;
The receiver module is additionally operable to receive the operational order for acting on the tag along sort, and quilt is obtained according to the operational order The tag along sort chosen;
The display module is additionally operable to be shown the file and/or document classification according to the selected tag along sort.
8. file search device according to claim 6, it is characterised in that have and institute in interface of electronic equipment displaying State the corresponding expansion button of file;
The receiver module is additionally operable to receive the operational order to the expansion button;
The display module is additionally operable to show what the file included according to the operational order to the expansion button File and/or file.
9. file search device according to claim 6, it is characterised in that have search in interface of electronic equipment displaying Control;
The receiver module is additionally operable to receive the keyword inputted in the search control;
The searching modul is additionally operable to search in file corresponding with the application program identification and/or file and closed with described The corresponding file of key word and/or file;
The display module is additionally operable to show corresponding with the keyword file and/or text in the interface of electronic equipment Part.
10. file search device according to claim 6, it is characterised in that the searching modul is additionally operable to obtain described The corresponding folder path of application program identification;File under the folder path is traveled through by subprime directory superior catalogue step by step Whether the file that pressing from both sides includes is the corresponding file of application program identification;If so, being shown in the interface of electronic equipment described File under folder path.
11. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realize following steps during the computing device described program:
Reception acts on application program image target operational order in interface of electronic equipment;
If the operational order is consistent with default operational order, the corresponding application program mark of the application icon is obtained Know, search corresponding with the application program identification file and/or file;
The file and/or file are shown in interface of electronic equipment.
CN201710150925.8A 2017-03-14 2017-03-14 File searching method and device and electronic equipment Expired - Fee Related CN106951492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710150925.8A CN106951492B (en) 2017-03-14 2017-03-14 File searching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710150925.8A CN106951492B (en) 2017-03-14 2017-03-14 File searching method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106951492A true CN106951492A (en) 2017-07-14
CN106951492B CN106951492B (en) 2020-09-22

Family

ID=59467474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710150925.8A Expired - Fee Related CN106951492B (en) 2017-03-14 2017-03-14 File searching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106951492B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436948A (en) * 2017-08-04 2017-12-05 广东欧珀移动通信有限公司 File search method, device and terminal
CN108958578A (en) * 2018-06-21 2018-12-07 Oppo(重庆)智能科技有限公司 Document control method, apparatus and electronic device
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN110869902A (en) * 2018-06-29 2020-03-06 华为技术有限公司 Method for browsing application folder and electronic equipment
CN115794272A (en) * 2021-11-03 2023-03-14 华为技术有限公司 Display method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090210787A1 (en) * 2005-09-16 2009-08-20 Bits Co., Ltd. Document data managing method, managing system, and computer software
CN103455640A (en) * 2013-09-29 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying file management interfaces
CN104252284A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 File display method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090210787A1 (en) * 2005-09-16 2009-08-20 Bits Co., Ltd. Document data managing method, managing system, and computer software
CN104252284A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 File display method and device
CN103455640A (en) * 2013-09-29 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying file management interfaces

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436948A (en) * 2017-08-04 2017-12-05 广东欧珀移动通信有限公司 File search method, device and terminal
CN107436948B (en) * 2017-08-04 2020-01-14 Oppo广东移动通信有限公司 File searching method and device and terminal
CN108958578A (en) * 2018-06-21 2018-12-07 Oppo(重庆)智能科技有限公司 Document control method, apparatus and electronic device
CN108958578B (en) * 2018-06-21 2021-01-26 Oppo(重庆)智能科技有限公司 File control method and device and electronic device
CN110869902A (en) * 2018-06-29 2020-03-06 华为技术有限公司 Method for browsing application folder and electronic equipment
US11609683B2 (en) 2018-06-29 2023-03-21 Huawei Technologies Co., Ltd. Method for browsing application folder and electronic device
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN109284261B (en) * 2018-10-18 2021-06-25 Oppo广东移动通信有限公司 Application searching method and device, storage medium and electronic equipment
CN115794272A (en) * 2021-11-03 2023-03-14 华为技术有限公司 Display method and electronic equipment
CN115794272B (en) * 2021-11-03 2023-06-27 华为技术有限公司 Display method and electronic equipment

Also Published As

Publication number Publication date
CN106951492B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US9241242B2 (en) Information recommendation method and apparatus
CN107562835A (en) File search method, device, mobile terminal and computer-readable recording medium
CN107329985B (en) Page collection method and device and mobile terminal
CN106951492A (en) File search method, device and electronic equipment
CN107256129A (en) Switch method, device and its relevant device of application under span mode
CN109241765A (en) Mobile terminal and the right management method of application program, device
CN104112213A (en) Method and apparatus of recommendation information
CN109154946A (en) A kind of method and terminal of display collection object
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN103702297A (en) Short message enhancement method, device and system
CN104298686B (en) The method and apparatus for modifying server profile
CN106332020A (en) Short message merging method and apparatus, and terminal device
CN105975190A (en) Graph interface processing method, device and system
CN108363817A (en) Document handling method, device, mobile terminal and computer readable storage medium
CN104216929A (en) Method and device for intercepting page elements
CN107291326A (en) Icon processing method and terminal
CN105955597A (en) Method and device for displaying information
CN106534528A (en) Processing method and device of text information and mobile terminal
CN106569815A (en) Message display method and terminal
CN105739839A (en) Multimedia menu item selection method and device
CN106705988B (en) Road conditions methods of exhibiting, device and computer equipment
CN106126726A (en) The exhibiting method of a kind of file scene and relevant device
CN104063400A (en) Data search method and data search device
CN106980654B (en) Road condition updating method, device and computer equipment
CN106202422B (en) The treating method and apparatus of Web page icon

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: 20200922