CN108038114A - A kind of path query method, terminal, computer-readable recording medium - Google Patents

A kind of path query method, terminal, computer-readable recording medium Download PDF

Info

Publication number
CN108038114A
CN108038114A CN201710962966.7A CN201710962966A CN108038114A CN 108038114 A CN108038114 A CN 108038114A CN 201710962966 A CN201710962966 A CN 201710962966A CN 108038114 A CN108038114 A CN 108038114A
Authority
CN
China
Prior art keywords
database
file
store path
terminal
identifier
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
CN201710962966.7A
Other languages
Chinese (zh)
Other versions
CN108038114B (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 CN201710962966.7A priority Critical patent/CN108038114B/en
Publication of CN108038114A publication Critical patent/CN108038114A/en
Application granted granted Critical
Publication of CN108038114B publication Critical patent/CN108038114B/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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/13File access structures, e.g. distributed indices
    • 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

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)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application discloses a kind of path query method, terminal, computer-readable recording medium, and wherein method includes:When receiving searching request, the key character in described search request is obtained;Key character in being asked in first database according to described search determines file destination mark corresponding with the key character;Target store path corresponding with file destination mark is determined according to file destination mark in the second database;The target store path is shown on display interface, and when receiving the operation for the target store path, show the file under the target store path, the search burden of user can be mitigated, and improve intelligence and the degree of automation of terminal to a certain extent.

Description

A kind of path query method, terminal, computer-readable recording medium
Technical field
This application involves field of communication technology, more particularly to a kind of path query method, terminal, computer-readable storage medium Matter.
Background technology
With the continuous development of the communication technology, terminal (such as smart mobile phone, tablet computer, wearable device etc.) is also increasingly As the important tool in people's daily life.
The memory capacity of terminal is also more and more in the ever-expanding file at the same time, stored in terminal, wherein, some texts Part is the file that terminal automatically generates in use, some files are that user downloads to file in terminal.At present, terminal A typically preset file manager, is stored with the All Files of terminal, when user needs to find in this document manager , it is necessary to All Files in manual search this document manager during one of file.
However, the operation of aforesaid way is relatively complicated, search burden, the intelligence and automation of terminal are added to user Degree is relatively low.
The content of the invention
The embodiment of the present invention provide a kind of path query method, terminal and computer can storage medium, can mitigate user's Search burden, and intelligence and the degree of automation of terminal are improved to a certain extent.
In a first aspect, an embodiment of the present invention provides a kind of path query method, this method includes:Please receiving search When asking, the key character in described search request is obtained;
Key character in being asked in first database according to described search is determined corresponding with the key character File destination identifies, and the first database includes the file identification of local terminal;
Determined and the corresponding target of file destination mark according to file destination mark in the second database Store path, the file identification of local terminal and the store path of file are included at least in second database;
The target store path is shown on display interface, and is receiving the operation for the target store path When, show the file destination under the target store path.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes being used to perform above-mentioned first aspect The module of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, communication interface, display screen and is deposited Reservoir, the processor, communication interface, display screen and memory are connected with each other, wherein, the memory, which is used to store, to be supported eventually End performs the computer program of the above method, and the computer program includes programmed instruction, and the processor is arranged to adjust Instructed with described program, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention obtains the key character in searching request by when receiving searching request, and first Determine that file destination identifies according to the key character in database, then identified in the second database according to the file destination Determine target store path, the target store path is finally shown on display interface, and receiving target storage road During the operation in footpath, the file under the target store path is shown, can be by first database and the second data base querying to depositing Path is stored up, alleviates the search burden of user, and improves intelligence and the degree of automation of terminal to a certain extent.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of scene schematic diagram of document data bank provided in an embodiment of the present invention;
Fig. 2 is a kind of scene schematic diagram for file management provided in an embodiment of the present invention;
Fig. 3 is another scene schematic diagram for being used for file management provided in an embodiment of the present invention;
Fig. 4 is the scene schematic diagram of another file management provided in an embodiment of the present invention;
Fig. 5 be it is provided in an embodiment of the present invention another be used for file management scene schematic diagram;
Fig. 6 is a kind of flow diagram of path query method provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of another path query method provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of another path query method provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Figure 10 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawings, embodiments herein is described.It is common based on the embodiment in the application, this area Technical staff's all other embodiments obtained without creative efforts, belong to the model of the application protection Enclose.
Below in conjunction with the accompanying drawings, embodiments herein is described.It is common based on the embodiment in the application, this area Technical staff's all other embodiments obtained without creative efforts, belong to the model of the application protection Enclose.
At present, more and more frequent with the use of terminal, the file stored in terminal is more and more, therefore, how to end File in end, which carries out convenient effective management, becomes a popular research topic.
For the file in more convenient effective management terminal, the embodiment of the present invention provides a kind of document data bank, should The root file that document data bank can be directed to system default is managed, wherein, this document database can be such as table 1 below It is shown.Table 1 represents this document database with my-files:
File identification Store path Source-information
DCIM storage/emulated/0/DCIM MTP、File Manager、Default
Table 1:My-files databases
It should be noted that this document mark (can include application bag for the file identification under root file Name and/or file name), which represents the storage location of this document mark in the terminal, which can be with table Show the management source of this document mark.Specifically, the source-information can include the system default information (acquiescence i.e. in table 1 (Default)), the first management module (media transmission protocol (Media Transfer Protocol, MTP) i.e. in table 1), Second management module (file manager (File Manager) i.e. in table 1).
Terminal such as can initialize this document database, be updated at the operation, for more detailed description, refer to figure 1, it is a kind of scene schematic diagram of document data bank provided in an embodiment of the present invention, it is necessary to which explanation, this document database can It is managed with the root file for system default.
In 101, terminal can in real time monitoring system start broadcast, if listen to system start broadcast, can It is in 102, to initialize this document database, and in 103, the file identification under this document database at this time is corresponding next Source information indicium is system default information (Default i.e. in table 1).
In one embodiment, which can also monitor the behaviour that the first management module is directed to the root file in real time Make, in 104, if the terminal has listened to the first management module and the file under the root file is replicated or deleted Division operation, it is possible in 105, this document database is updated according to the operation of first management module, and in 106, will be right The source-information for the file identification answered is labeled as the first management module.For example, if first management module is to the root mesh File under record file carries out duplication operation, then the terminal can determine that the duplication operates the file of corresponding file first Mark, then identifies corresponding source-information by this document in document data bank and is arranged to the first management module;If this One management module carries out delete operation to the file under the root file, then the terminal can determine that the deletion is grasped first Make the file identification of corresponding file, then deleted in document data bank the file identification of the corresponding file of the delete operation with And corresponding other information.
In one embodiment, which can also monitor the behaviour that the second management module is directed to the root file in real time Make, in 107, if the terminal has listened to the second management module and the file under the root file is replicated, is moved Dynamic, renaming or delete operation, it is possible in 108, this document database is updated according to the operation of second management module, and In 109, the source-information of corresponding file identification is labeled as the second management module.For example, if second management Module carries out duplication operation to the file under the root file, then the terminal can determine second management module first Duplication operate the file identification of corresponding file, this document is then identified into corresponding source-information in document data bank and is set It is set to the second management module.
In one embodiment, terminal can also configure the second database, the 3rd number while configuration files database According to storehouse (namely target database) and the 4th database.
Wherein, which can represent the application catalogue of this document database, which can include File identification (include at least and apply bag name), store path and the installation identifier of local terminal, for example, second database Can be as shown in table 2 below (with app-dir database representations second database in table 2):
Using bag name Store path Identifier is installed
cn.netdroid.doutu /doutu 0 or 1
Table 2:App-dir databases
It should be noted that this can be as the mark of application using bag name, which can be the peace of the application Dress wraps corresponding store path, the installation identifier can serve to indicate that corresponding application installment state (including installed with It is unloaded), different installment states can correspond to different installation identifiers, such as the character 1 (being used to represent that first flag accords with) in table 2 And character 0 (being used to represent that second identifier accords with).
Wherein, the 3rd database (namely target database) can represent the file directory of this document database, this It can include store path, remark information and source identifier in three databases, specifically, the 3rd database can be as follows (with file-note database representations second database in table 3) shown in table 3:
Store path Remark information Source identifier
storage/emulated/0/DCIM Photograph album 1 or 0
Table 3:File-note databases
It should be noted that the store path can be the store path of upper table 2, which can include the storage The source-information or generated time information in path, the source identifier can include the character 1 in table 3 such as and (be used to represent silent Recognize identifier), the remark information is can be used to indicate that as acquiescence remark information, and character 0 (is used to represent non-default mark Symbol), can be used to indicate that the remark information is non-default remark information.It should be noted that when the source identifier is silent When recognizing identifier, which can be defaulted as acquiescence remark information;, should when the source identifier is non-default identifier Remark information can be the corresponding content in one column of remark information in table 3, that is to say, that when source identifier is default identification Fu Shi, one column of remark information in the table 3 can be empty or acquiescence remark information.
Wherein, the 4th database can represent that (table 4 uses app-shared- for the Application share catalogue of this document database Dir is represented), the shared file store paths of multiple Application shares can be included in the 4th database, specifically, the 4th counts Can be as shown in table 4 below according to storehouse:
Shared file store path
Such as:/tencent
Table 4:App-shared-dir databases
It should be noted that terminal second database, the 3rd database, the 4th database can be carried out configuration with more Newly.For more detailed description, referring to Fig. 2, illustrating for a kind of scene for file management provided in an embodiment of the present invention Figure, in fig. 2 201 in, terminal can by information initializing, and in 202 real-time monitoring system start broadcast, work as monitoring When having arrived the start broadcast of system, the second database, the 4th database and the 3rd can be respectively configured in 203,204,205 Database, wherein, second database, the 4th database and the 3rd database can be configured according to document data bank, File that can also be directly in local terminal is configured, and can also be got by terminal from high in the clouds, the embodiment of the present invention pair This is not intended to be limited in any.
It should also be noted that, when terminal configuration completes second database, the 4th database and the 3rd database Afterwards, the user identifier of second database, the 4th database and the 3rd database respectively with local terminal can also be bound, and Preserve beyond the clouds, even if in order to which user has replaced terminal, can also get second database, the 4th database and the 3rd Database.
In one embodiment, which may be also connected to the second database of server-side renewal, the 3rd database, the 4th Data in database.In 206, which can obtain the data update bag (such as RomUpdate) of server-side, and judge to be somebody's turn to do Whether updated the data in data update bag, if so, then in 207, parse this and update the data, and updated the data more according to this New above-mentioned second database, the 3rd database, the 4th database, if it is not, local data can be parsed in 208, and Above-mentioned second database, the 3rd database, the 4th database are updated according to the local data.
In one embodiment, terminal can also monitor the installment state of application in real time, and be corresponded to according to the installment state Data in second database and the 3rd database are set.For more detailed description, referring to Fig. 3, implementing for the present invention The another kind that example provides is used for the scene schematic diagram of file management.In 301, terminal can monitor the peace applied in local terminal in real time Dress state, and determine the file identification with the association.If installment state, can in 302 to have installed, will be with this Installation identifier corresponding to the file identification of mounted association is arranged to first flag symbol (character 1 in such as table 1); If installment state is unloaded, can be in 303, by the peace corresponding to the file identification of the association unloaded with this Dress identifier is arranged to second identifier symbol (character 0 in such as table 1).
In 304, terminal can inquire about the unloaded file using corresponding application bag name, and in 305, judge Whether this document folder has been deleted.If this document folder has been deleted, can be in 306, terminal does not make any processing, and ties This flow of beam;If this document folder is not deleted, it is corresponding that this document folder can be inquired about from the second database in 307 Store path, and determine the store path whether by it is multiple using.
If the store path by it is multiple using, can be in 308, terminal does not make any processing, and terminates this Flow.If the store path by the store path in 309 by multiple using can not be added to the 3rd data In storehouse, and the corresponding source identifier of the store path is arranged to default identification symbol (character 1 in such as table 3), the acquiescence mark Knowing symbol can represent the corresponding remark information of the store path for acquiescence remark information.
It should also be noted that, terminal can also pass through the 3rd database (i.e. mesh when needing to show file navigation view Mark database) determine the corresponding folder information of file in file navigation view.
In one embodiment, terminal obtains classification view when detecting the display event for file navigation view Under file, and destination folder can be determined from file, the depositing according to destination folder in the 3rd database Storage path query goes out remark information corresponding with the store path, can finally be shown in this document navigator views and the mesh Mark the corresponding folder information (including file identification in the remark information inquired and the destination folder) of file.
Wherein, the source-information in the remark information can be determined by document data bank.For example, if file data In storehouse, the corresponding source-information of store path of destination folder is the first management module, then in the 3rd database, the mesh The corresponding source identifier of store path of mark file can be non-default identifier, which can be first Application (such as photograph album, music etc.) under management module, or the first management module;If in document data bank, target text The corresponding source-information of store path of part folder is system default information, then in the 3rd database, the destination folder The corresponding source identifier of store path can be that default identification accords with, which can be acquiescence remark information.
It should also be noted that, terminal can also carry out fileinfo (example by second database, the 3rd database Such as inquire about store path) inquiry.In one embodiment, terminal can not influence the original search file logic of terminal In the case of, first database can also be configured, All Files mark can be cached in terminal in the first database (including should With bag name and/or file name).Wherein, terminal can by the first database, the second database, the 3rd database into The inquiry of row fileinfo.
For example, referring to Fig. 4, scene schematic diagram for another file management provided in an embodiment of the present invention.401 In, which can enter the file management interface that the second management module (such as File Manager) provides, and in this document pipe Manage and the file identification of local terminal is cached in interface to first database.In 402, user can send searching request, which please It can include key character xx in asking;In 403, terminal can determine corresponding with key character xx in first database File destination identifies;In 404, which can inquire and the corresponding mesh of file destination mark in the second database Store path is marked, and the target store path is shown to user.
In one embodiment, (such as click on the target if the user is operated for the target store path and deposit Store up path etc.), then the terminal can also obtain the corresponding file of target store path, and show and get in display interface File.
It should also be noted that, the terminal can also inquire corresponding remark information by the target store path.For More detailed description, referring to Fig. 5, the scene that another provided by the embodiment of the present invention is used for file management is illustrated Figure.In the 501 of Fig. 5, the terminal can by the 3rd database of target query path query, and in 502, inquire about this In three databases, whether source identifier corresponding with the target query path is default identification symbol (character 1 i.e. in table 3).
Accorded with if default identification, then terminal can return to the remark information as acquiescence remark information in 503;If For non-default identifier (character 0 i.e. in table 3), then terminal can inquire about the second database according to the target store path, and Determine installation identifier corresponding with the target store path.
In one embodiment, if the installation identifier accords with (character 1 i.e. in table 2) for first flag, then terminal Can be in 505, whether the application bag name number inquired about under the target store path is more than 1, then can be 506 if greater than 1 In, the remark information is returned as the corresponding remark information of first application bag name;If less than equal to 1, then can in 507, It is current Apply Names to return to the remark information.
In one embodiment, if the installation identifier accords with (character 0 i.e. in table 2) for second identifier, then the end Source identifier corresponding with the target store path can be then changed to default identification and accorded with by end in the 3rd database, and In 509, the remark information is returned as acquiescence remark information.
For more detailed description, the embodiment of the method that the application provides is described below.
It should be noted that the embodiment of the method that the embodiment of the present invention is provided can be performed by terminal.Specifically, should Terminal for example can be mobile phone, tablet computer, laptop, mobile internet device (Mobile Internet Devices, MID) and portable set (intelligent watch, Intelligent bracelet etc.) etc. can be used for the terminal that carries out file data processing, Certainly, above-mentioned terminal is simply illustrated, and non exhaustive, including but not limited to above-mentioned optional terminal.
Referring to Fig. 6, it is a kind of flow diagram of path query method provided in an embodiment of the present invention, shown in Fig. 6 Method may include:
S601, when receiving searching request, obtain described search request in key character.
It should be noted that the searching request can be sent by user.For example, user can be in file management circle of terminal The searching request is sent in the search column that face provides or in other interfaces, specifically, user can be defeated in the search column Entry keyword accords with, and determines to scan for the key character.
For example, user can input key character " sound in the search column that the file management interface of terminal provides It is happy ", and determine to scan for the key character " music ", at this moment, terminal can determine to receive the searching request, and obtain Key character " music " in the searching request.
S602, asked in first database according to described search in key character determine and the key character pair The file destination mark answered.
It should be noted that file destination mark includes applying bag name and/or file with what the key character matched Title.
It should also be noted that, this can be used as the mark of application using bag name, that is to say, that one is applied bag name can be with Represent an application, an application can also only exist one and apply bag name, and the corresponding application bag name of different applications can be with Different but different can be stored under same store path using bag name.
It should be noted that the first database can include the file identification of local terminal, and the first database stores In local terminal caching.
It should also be noted that, this document title can refer to the corresponding file name of file in terminal, can include Filename and extension name, such as adc.doc etc..Wherein, the file in terminal can refer to video in terminal, audio, Picture, document, form and other kinds of file, the embodiment of the present invention are not intended to be limited in any this.
In some feasible embodiments, which can cache being arrived using bag name and/or file name in local terminal In first database.For example, terminal can enter file management circle that the second management module (File Manager) provides Face, and by the file identification in this document administration interface caching local terminal into first database.
In some feasible embodiments, which can also extract the key of the file identification in the first database Character, and the key character is bound with corresponding file identification, it is stored in the first database.
For example, file identification is " tourism photo .jpg ", which can be by the character of each in file identification Preserved as key character, such as " trip ", " trip ", " photograph ", " piece " " j ", " p ", " g " can be used as key character, can also incite somebody to action Phrase in file identification or the character with association meaning are preserved as key character, such as " tourism ", " jpg " etc., also It can be preserved the character in whole file identification as a key character, certainly, the mode that above-mentioned key character preserves is Citing, and it is non exhaustive, including but not limited to above-mentioned optional mode.
In some feasible embodiments, which can be Hash Map (hashmap), which reflects Firing table can be based on Hash table map (map) interface realized.
In one embodiment, terminal can be inquired and the key character in the searching request by the first database Corresponding file destination mark.For example, the key character is " photograph ", then the target text inquired in the first database Part mark can be with for " tourism photo .jpg ".
S603, in the second database according to the file destination mark determine it is corresponding with file destination mark Target store path.
It should be noted that the target store path is used to indicate the corresponding file of file destination mark in local terminal The position of storage.
Wherein, including at least the file identification of local terminal and the store path of file in second database.
It should be noted that second database can be app-dir databases as shown in Table 2, include the text of local terminal Part mark (include at least and apply bag name), store path and installation identifier.
It should also be noted that, the file identification, store path and installation identifier in second database can have There is correspondence.That is, a file identification may correspond to store path and installation identifier.
Wherein, when this document is identified as using bag name, this using bag name can uniquely correspond to a store path with An and installation identifier.
Wherein, when this document is identified as file name, this document title may correspond to multiple store paths, each Store path may correspond to an installation identifier.For example, file name is known as " tourism photo .jpg ", the second data In storehouse, the corresponding store path of this document title can have two, and a store path is " storage/emulated/0/ DCIM ", corresponding installation identifier can be 1 (i.e. first flag accords with), another store path is " storage/ Emulated/1/DCIM ", corresponding installation identifier can be 0 (i.e. second identifier accords with).
It can be multiple, end with the corresponding store path of file destination mark in some feasible embodiments End can be using the plurality of store path as target store path, alternatively, terminal can also be selected from the plurality of store path A store path is selected as the target store path.
In some feasible embodiments, terminal selects a store path as the mesh from the plurality of store path The mode of store path is marked, can be that target store path is selected according to installation identifier, for example, the plurality of store path For store path 1 and store path 2, the corresponding installation identifier of store path 1 is 1, the corresponding installation identifier of store path 2 For 0, then, which can select to install identifier as 1 store path, that is, store path 1 is target store path.
In some feasible embodiments, which selects a store path to be used as from the plurality of store path should The mode of target store path, can also be according to user's use habit to select target store path.For example, the plurality of deposit Storage path is store path a and store path b, and user of user's frequency of use higher than store path b of store path a uses frequency Rate, then terminal can select the high store path of user's frequency of use, that is, store path a is target store path.
It should also be noted that, terminal can also be believed according to the plurality of store path corresponding generated time, source Breath etc. selects the target store path, and the present invention is not intended to be limited in any this.
In one embodiment, terminal can inquire corresponding with file destination mark in second database Store path, the store path are target store path.
S604, show the target store path on display interface, and is directed to the target store path receiving Operation when, show the file under the target store path.
It should be noted that the display interface for example can be the file management interface of terminal, this document administration interface can To be safeguarded by the second management module (i.e. file manager).
It should also be noted that, including the target store path after the display interface in the terminal, user can be with (such as clicking on the target store path etc.) is operated for the target store path, at this moment, which can be linked to this Target store path, and show the file under the target store path.
Wherein, multiple files can be included under the target store path, the plurality of file includes file destination mark Corresponding file, terminal can show the All Files under the target store path, can also show under the target store path File destination identify corresponding file, the embodiment of the present invention is not intended to be limited in any this.
It should also be noted that, the specific implementation process of above-mentioned S601-S604 may further reference in previous embodiment to Fig. 4's Description, therefore not to repeat here.
As it can be seen that in embodiments of the present invention, terminal can be when receiving searching request, and basis is searched in first database Key character in rope request determines that file destination identifies, and is then identified and determined according to the file destination in the second database Go out target store path, the target store path is finally shown on display interface, and receiving the target store path During operation, the file under the target store path is shown, can pass through first database and the second data base querying to storage road Footpath, for the store path of user's manual search file, alleviates the search burden of user, and improves to a certain extent The intelligence of terminal and the degree of automation.
Referring to Fig. 7, the flow diagram for another path query method provided in an embodiment of the present invention.Such as Fig. 7 institutes The method shown may include:
S701, when receiving searching request, obtain described search request in key character.
S702, asked in first database according to described search in key character determine and the key character pair The file destination mark answered.
Wherein, the file destination mark includes applying bag name and/or file name with what the key character matched, The first database includes the file identification of local terminal, and is stored in the caching of local terminal.
S703, in the second database according to the file destination mark determine it is corresponding with file destination mark Target store path.
Wherein, the target store path is used to indicate that the corresponding file of the file destination mark is stored in local terminal Position.
Wherein, including at least the file identification of local terminal and the store path of file in second database.
S704, show the target store path on display interface, and is directed to the target store path receiving Operation when, show the file under the target store path.
It should be noted that the specific implementation process of the S701 to S704 shown in the embodiment of the present invention can refer to preceding method To the description of S601 to S604 in embodiment, therefore not to repeat here.
S705, when detecting the remarks inquiry request for the target store path, in the 3rd database Source identifier corresponding with the target store path is found out according to the target store path.
It should be noted that the remarks inquiry request can be used for inquiring about remark information, which can include depositing Store up the source-information and/or generated time information in path.
It should also be noted that, the remarks inquiry request can be triggered by user.For example, user can show in terminal After having shown the target store path, the remarks inquiry request for the target store path is sent on the display interface.
In some feasible embodiments, terminal can inquire about the target after the target store path is shown The remark information of store path, and found out according to the target store path in the 3rd database and deposited with the target Store up the corresponding source identifier in path.
It should also be noted that, the 3rd database can represent the file directory of this document database, the 3rd data It can include store path, remark information and source identifier in storehouse, specifically, the 3rd database can be as in table 3 Shown in file-note databases.
Wherein, which can include default identification symbol and non-default identifier.Default identification symbol can be with For representing remark information of the corresponding remark information for acquiescence, which can be used to indicate that corresponding remarks letter Cease for the corresponding content in one column of remark information in the 3rd database, that is to say, that, should when source identifier accords with for default identification One column of remark information in 3rd database can be empty or be acquiescence remark information.
In one embodiment, if the source identifier accords with for default identification, terminal can determine and the target The corresponding target remark information of store path is acquiescence remark information.
In some feasible embodiments, which inquires corresponding with the target store path in the 3rd database Source identifier be default identification symbol, it is possible to determine the corresponding target remark information of the target store path for acquiescence remarks Information.
If it should also be noted that, the terminal inquires source corresponding with the target store path in the 3rd database Identifier is non-default identifier, then can perform following S706 and S706 steps.
If S706, the source identifier are non-default identifier, according to the target in second database Store path determines file identification set corresponding with the target store path.
Wherein, this document logo collection can include one or more files-designated corresponding with the target store path Know.
In some feasible embodiments, if the source identifier is non-default identifier, in the described second number File identification set corresponding with the target store path is determined according to the target store path according in storehouse, specific bag Include:If the source identifier is non-default identifier, terminal can inquire about first in the second database to be stored with the target The corresponding installation identifier in path, if the installation identifier accords with for first flag, which can store according to the target Determine file identification set corresponding with the target store path in path.
It should also be noted that, if file identification number in this document logo collection is 1, then terminal can be Using the corresponding remark information of target store path as target remark information in 3rd database, alternatively, the terminal can be with This document is directly identified into corresponding Apply Names as the target remark information.
It should also be noted that, if file identification number in this document logo collection is multiple, then terminal can be with Perform the S707 steps.
In one embodiment, if the installation identifier is second identifier symbol, then terminal can by the 3rd data, Source identifier corresponding with the target store path is revised as default identification symbol, and shows acquiescence remark information showing to terminal Show interface.
S707, select the first file identification according to preset selection rule from the file identification set, and determine with The corresponding target remark information of target store path is the remark information of first file identification.
It should be noted that the preset selection rule, such as can be first text of selection from this document logo collection The rule of part mark, further, it is possible to be the rule that first application bag name is chosen from this document logo collection.Alternatively, should Preset selection rule, can also be the rule that last file identification is chosen from this document logo collection, further, it is possible to It is that last rule for applying bag name is chosen from this document logo collection.Certainly, above-mentioned preset selection rule is simply illustrated, And it is non exhaustive, including but not limited to above-mentioned optional rule.
For example, which is the rule that first file identification is chosen from this document logo collection. The terminal can choose first file identification (being specifically as follows first application bag name), so from this document logo collection The remark information of first file identification is determined as target remark information afterwards, and shows that the target remarks are believed on display interface Breath.
It should also be noted that, the specific implementation process of above-mentioned S705-S706 may further reference in one embodiment to Fig. 5 Description, therefore not to repeat here.
As it can be seen that in embodiments of the present invention, terminal can be when receiving searching request, and basis is searched in first database Key character in rope request determines that file destination identifies, and is then identified and determined according to the file destination in the second database Go out target store path, and the target store path is shown on display interface, and in the behaviour for receiving the target store path When making, the file under the target store path is shown, and when detecting remarks inquiry request, according to the 3rd database and The two data base queryings remark information, can be by first database and the second data base querying to store path, and can lead to The second database and the 3rd data base querying remark information are crossed, the store path and remarks compared to user's manual search file are believed For breath, the search burden of user is alleviated, and improves intelligence and the degree of automation of terminal to a certain extent.
Referring to Fig. 8, the flow diagram for another path query method provided in an embodiment of the present invention.Such as Fig. 8 institutes The method shown may include:
S801, when the start broadcast for the system that listens to, initialize second database and the 3rd database.
It should be noted that the start broadcast of the system can be the broadcast that terminal system is sent on startup, Ke Yiyong Had been turned in notice types of applications programming system.
In some feasible embodiments, terminal can in real time monitoring system start broadcast, be if listened to The start broadcast of system, it is possible to initialize second database and the 3rd database.
In one embodiment, the mode of the terminal initialization second database and the 3rd database, can be from Second database and the 3rd database are downloaded in high in the clouds, alternatively, the terminal can also be generated according to document data bank this Two databases and the 3rd database, alternatively, the terminal can also be downloaded first from high in the clouds second database and this Three databases, then update second database and the 3rd database further according to document data bank.Certainly, aforesaid way is Citing, and it is non exhaustive, including but not limited to above-mentioned optional mode.
S802, the data update bag for obtaining server-side.
It should be noted that the server-side can be high in the clouds or the background service of business support is provided to terminal Device, such as corresponding server of manufacturer of terminal etc., the present invention are not intended to be limited in any this.
In some feasible embodiments, the data update bag of the server-side can be brush machine renewal bag (Rom Update).Terminal can by Radio Link (such as cellular mo-bile data net, Wireless Fidelity (Wireless Fidelity, WiFi), bluetooth etc.) connected with server-side foundation, then the Rom Update are downloaded from the server-side.
It should also be noted that, before the data update bag of the server-side is obtained, server-side may also require that the terminal There is provided and download password, if the download password that terminal provides is correct, then the server-side can allow the terminal downloads data Renewal bag.If the download password bad that terminal provides, then the server-side can refuse the terminal downloads data updates Bag.
Wherein, the download password, such as can be that terminal is international mobile equipment identification number (International Mobile Equipment Identity, IMEI), handset serial can also be called, alternatively, the download password can also be Terminal and the default character password of server-side (such as letter+numeral etc.) etc., the embodiment of the present invention is not intended to be limited in any this.
Updated the data if existing in S803, the data update bag, renewal second number is updated the data according to According to storehouse and the 3rd database.
It should be noted that after the terminal gets the data update bag, can detect in the data update bag is It is no to have updating the data for second database and the 3rd database.Updated the data if there is this, then can basis This, which is updated the data, updates second database and the 3rd database.
In some feasible embodiments, if there is no updating the data in the data update bag, according to local number According to renewal second database and the 3rd database.
It should be noted that second database and the 3rd database are updated according to the local data, such as Can be data update second database and the 3rd database in document data bank.
It should also be noted that, the specific implementation process of above-mentioned S801-S803 may further reference in one embodiment to Fig. 2 Description, therefore not to repeat here.
S804, obtain the corresponding user identifier of local terminal.
It should be noted that the corresponding user identifier of local terminal is used for the identity information for identifying user.
For example, the user mark can be user identity account (Identification, ID), the user of user Title, the head portrait of user, personal photo of user etc., the embodiment of the present invention is not restricted this.
In some feasible embodiments, user can set the user to identify for local terminal, alternatively, user can also User identifier is set for local terminal corresponding manufacturer, each terminal under the manufacturer can share the user's mark Know.Alternatively, user otherwise can also set the user to identify, the embodiment of the present invention is not intended to be limited in any this.
S805, by second database and the 3rd database carry out binding processing with the user identifier, and The 3rd database purchase after second database and binding processing after binding is handled is beyond the clouds.
It should be noted that user can after user identifier is got, by second database and user identifier into Row binding, and the 3rd database is also bound with user identifier, and by the second database and the 3rd data after binding Library storage is beyond the clouds.
It should also be noted that, terminal by the second database after binding and the 3rd database purchase beyond the clouds it Afterwards, if user does not reuse this terminal, after the binding can be downloaded in another terminal by being connected to high in the clouds Two databases and the 3rd database.
In some feasible embodiments, terminal can also obtain the terminal iidentification (such as IMEI etc.) of terminal, then The terminal iidentification and second database and the 3rd database are subjected to binding processing, and described second after binding is handled The 3rd database purchase after database and binding processing is beyond the clouds.
In one embodiment, installation identifier is further included in second database, the installation identifier is used to refer to Show the installment state of the corresponding application of file identification, the method further includes:The application in local terminal is detected, and determines the application Installment state and file identification with the association;If the installment state of the application, will be with institute to have installed State the installation identifier corresponding to the file identification of mounted association and be arranged to first flag symbol;If the peace of the application Dress state then will be arranged to the to be unloaded with the installation identifier corresponding to the file identification of the unloaded association Two identifiers.
It should be noted that each file identification may correspond to an application, the installment state of the application can be It has been installed that, or it is unloaded.If specifically, the installment state of the application is has installed, terminal will can pacify with this The corresponding installation identifier of file identification that the application of dress is associated is disposed as first flag symbol;If the peace of the application Dress state is unloaded, then terminal can identify the file identification corresponding installation associated with the unloaded application Symbol is disposed as second identifier symbol.
Accorded with it should also be noted that, first flag symbol is different from second identifier.The first flag accords with, such as can be table Character 1 shown in 2;The second identifier accords with, such as can be the character 0 shown in table 2, certainly, first flag symbol and this second Identifier can also be the installation identifier of other forms, and the embodiment of the present invention is not intended to be limited in any this.
In one embodiment, if the installment state of the application is unloaded, will be answered with described unloaded After being arranged to second identifier symbol with the installation identifier corresponding to associated file identification, further include:In second data The corresponding intended application bag name of the unloaded application is inquired about in storehouse, and determines that the intended application bag name corresponding first is deposited Store up path;If there is the first file identification for meeting preset condition under first store path, road is stored by described first Footpath is added in the 3rd database, and the corresponding remark information of first store path is arranged to acquiescence remark information.
It should be noted that this meets the first file identification of preset condition, can be deposited under first store path In multiple application bag names, first file identification can be used as using Bao Mingjun in addition to the intended application bag name.
For example, which is " photograph album ", which can inquire " the phase in the second database The corresponding entitled cn.netdroid.photo of intended application bag of volume ", and the corresponding store path of intended application bag name is determined For the first store path, which can be storage/emulated/0/photo.Further, which can Whether it is more than 1 with the quantity using bag name in judging under first store path, if greater than 1, it may be determined that this first is deposited Exist under storage path and meet the first file identification (i.e. there are 2 or the file identification of more than 2) of preset condition, for example, this There are intended application bag name cn.netdroid.photo under one store path, and apply bag name cn.netdroid.douto。
In one embodiment, which can be inserted into the 3rd data by this using bag name cn.netdroid.douto In storehouse, and this is arranged to first store path using the corresponding store paths of bag name cn.netdroid.douto, and will This is arranged to default identification symbol, i.e. first store path using the corresponding source identifiers of bag name cn.netdroid.douto Corresponding remark information is acquiescence remark information.
In some feasible embodiments, setting of installation identifier in above-mentioned the second database of terminal-pair etc. may be used also With reference to the description in first embodiment to Fig. 3, therefore not to repeat here.
As it can be seen that in embodiments of the present invention, the terminal can when the start for the system that listens to is broadcasted, initialize this second Database and the 3rd database, and obtain the data update bag of server-side, and can be updated according to the data update bag this Two databases and the 3rd database, are finally bound the second database and the 3rd database with user identifier, and store Beyond the clouds, the second database and the 3rd database can be configured in the terminal, and by second database and the 3rd data Storehouse preserves beyond the clouds, facilitates user and downloads at any time, meets intelligence and the automation demanding of user.
Referring to Fig. 9, be a kind of schematic block diagram of terminal provided in an embodiment of the present invention, the end of the present embodiment description End, including:Acquisition module 901, determining module 902, display module 903.
Wherein, which includes processor, display screen, communication interface, which can connect with reference to the communication Mouthful, which can combine the display screen, which can combine the processor.
Specifically, acquisition module 901, for when receiving searching request, obtaining the keyword in described search request Symbol.
Determining module 902, is determined and institute for the key character in being asked in first database according to described search The corresponding file destination mark of key character is stated, the first database includes the file identification of local terminal.
Wherein, the file destination mark includes applying bag name and/or file name with what the key character matched, The first database includes the file identification of local terminal, and is stored in the caching of local terminal.
The determining module 902, be additionally operable in the second database according to the file destination mark determine with it is described File destination identifies corresponding target store path.
Wherein, the target store path is used to indicate that the corresponding file of the file destination mark is stored in local terminal Position, the file identification of local terminal and the store path of file are included at least in second database.
Display module 903, the mesh is directed to for showing the target store path on display interface, and receiving When marking the operation of store path, the file under the target store path is shown.
In one embodiment, installation identifier is further included in second database, the installation identifier is used to refer to Show the installment state of the corresponding application of file identification, the installment state includes having installed and unloaded.
Wherein, the determining module 902, the application being additionally operable in detection local terminal, and determine the installment state of the application And the file identification with the association.
Setup module 904, if the installment state for the application to have installed, will be closed with the mounted application Installation identifier corresponding to the file identification of connection is arranged to first flag symbol, if the installment state of the application is unloaded, Second identifier symbol then will be arranged to the installation identifier corresponding to the file identification of the unloaded association.
In one embodiment, the file identification of the local terminal, including apply bag name and/or file name;Wherein, it is described First database is stored in local terminal caching.
In one embodiment, the determining module 902, is additionally operable to inquire about in second database described unloaded The corresponding intended application bag name of application, and determine corresponding first store path of the intended application bag name.
Wherein, the setup module 904, meets the first of preset condition if being additionally operable to exist under first store path First store path, then be added in the 3rd database by file identification, and first store path is corresponding standby Note information is arranged to acquiescence remark information.
Wherein, the remark information includes the source-information or generated time information of store path, the acquiescence remarks letter Breath is used to indicate that the source-information of first store path to be to give tacit consent to source, or the generated time letter of first store path Cease for default time.
In one embodiment, the terminal further includes:Initialization module 905, the start for working as the system that listens to are wide Sowing time, initializes second database and the 3rd database.
Wherein, the acquisition module 901, is additionally operable to obtain the data update bag of server-side.
Wherein, the server-side includes at least the high in the clouds being connected with local terminal and the backstage clothes that business support is provided to local terminal Business device, the data update bag include at least brush machine renewal bag.
Update module 908, if being updated the data for existing in the data update bag, renewal is updated the data according to Second database and the 3rd database, if there is no updating the data in the data update bag, according to local Second database described in data update and the 3rd database.
In one embodiment, the acquisition module 901, is additionally operable to obtain the corresponding user identifier of local terminal.
Wherein, the user identifier is used for the identity information for identifying user, and the user identifier includes identity account, uses Name in an account book claims, user's head portrait, user picture it is at least one or more of.
The terminal further includes:Binding module 909, for by second database and the 3rd database and institute State user identifier and carry out binding processing, and second database after binding is handled and the described 3rd after binding processing Database purchase is beyond the clouds.
In one embodiment, the terminal further includes:Searching module 906, for being deposited for the target detecting When storing up the remarks inquiry request in path, found out and the target according to the target store path in the 3rd database The corresponding source identifier of store path.
Wherein, the source identifier is used for the source-information for indicating store path.
Wherein, the determining module 902, if be additionally operable to the source identifier for default identification accord with, it is determined that with it is described The corresponding target remark information of target store path is acquiescence remark information.
In one embodiment, the determining module 902, if it is non-default identifier to be additionally operable to the source identifier, Files-designated corresponding with the target store path is then determined according to the target store path in second database Know set.
Wherein, the file identification set includes multiple file identifications corresponding with the target store path.
The terminal further includes:Module 907 is chosen, for being selected according to preset selection rule from the file identification set Take out the first file identification.
Wherein, the determining module 902, is additionally operable to determine and the corresponding target remark information of the target store path For the remark information of first file identification.
As it can be seen that in embodiments of the present invention, can be when receiving searching request, please according to search in first database Key character in asking determines that file destination identifies, and then determines mesh according to file destination mark in the second database Store path is marked, the target store path is finally shown on display interface, and in the operation for receiving the target store path When, show the file under the target store path, first database and the second data base querying to store path, phase can be passed through Search than for the store path of user's manual search file, alleviating user is born, and improves end to a certain extent The intelligence at end and the degree of automation.
Referring to Fig. 10, another embodiment of the present invention additionally provides a kind of terminal, as shown in Figure 10, for convenience of description, It illustrate only and do not disclosed with the relevant part of the embodiment of the present invention, particular technique details, refer to present invention method Part.The terminal can be to include at least one communication interface 1000;At least one processor 2000, such as CPU;It is at least one Memory 3000;At least one display screen 4000, above-mentioned communication interface 1000, processor 2000, memory 3000, display screen 4000 are connected by bus.
, can be with it will be understood by those skilled in the art that the restriction of the terminal structure shown in Figure 10 not structure paired terminal Including than illustrating more or fewer components, either combining some components or different components arrangement.
Each component parts of terminal is specifically introduced with reference to Figure 10:
It should be appreciated that in embodiments of the present invention, above-mentioned communication interface 1000 can be to be led to server-side, high in the clouds etc. The interface of letter, can include NFC module, bluetooth module, wireless network card (including WiFi module) etc., and above-mentioned display screen 4000 can be with Including display (LCD etc.), contact panel etc..
Above-mentioned processor 2000 can be central processing unit (Central Processing Unit, CPU), the processing Device can also be other general processors, digital signal processor (Digital Signal Processor, DSP), special collection Into circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Above-mentioned memory 3000 can include read-only storage and random access memory, and provide and refer to processor 2000 Order and data.The a part of of memory 3000 can also include nonvolatile RAM.For example, memory 3000 is also Can be with the information of storage device type.
Specifically, above-mentioned processor 2000, which calls, is stored in the following step of programmed instruction execution that above-mentioned memory 3000 stores Suddenly:
When receiving searching request, the key character in described search request is obtained;
Key character in being asked in first database according to described search is determined corresponding with the key character File destination identifies, and the file destination mark includes applying bag name and/or file name with what the key character matched, The first database includes the file identification of local terminal, and is stored in the caching of local terminal;
Determined and the corresponding target of file destination mark according to file destination mark in the second database Store path, the target store path are used for the position for indicating that the corresponding file of the file destination mark is stored in local terminal Put, including at least the file identification of local terminal and the store path of file in second database;
The target store path is shown on display interface, and is receiving the operation for the target store path When, show the file under the target store path.
The method that processor performs in the embodiment of the present invention describes from the angle of processor, it is to be understood that this Processor, which will perform the above method, in inventive embodiments needs the cooperation of other hardware configurations.For example, shown on display interface The target store path controls above-mentioned display screen 4000 to receive and input related data by above-mentioned processor 2000;First Key character in being asked in database according to described search determines file destination mark corresponding with the key character, Target store path corresponding with file destination mark is determined according to file destination mark in second database, By above-mentioned processor 2000 storage program in above-mentioned memory 3000 can be controlled to be realized;Searching request is received, and is obtained Key character in described search request etc. is taken, by above-mentioned processor 2000 above-mentioned communication interface 1000 can be controlled to carry out reality Existing, the embodiment of the present invention is not described in detail and limits to concrete implementation process.
Optionally, which can be realized that above-mentioned Fig. 6 to Fig. 8 is corresponded to by above-mentioned processor 2000 and other equipment and implemented The corresponding steps that terminal performs in method in example.It is to be understood that the embodiment of the present invention is the entity apparatus of corresponding method embodiment Embodiment, the description to embodiment of the method, is also applied for the embodiment of the present invention.
As it can be seen that in embodiments of the present invention, can be when receiving searching request, please according to search in first database Key character in asking determines that file destination identifies, and then determines mesh according to file destination mark in the second database Store path is marked, the target store path is finally shown on display interface, and in the operation for receiving the target store path When, show the file under the target store path, first database and the second data base querying to store path, phase can be passed through Search than for the store path of user's manual search file, alleviating user is born, and improves end to a certain extent The intelligence at end and the degree of automation.
In embodiment shown in 6~Fig. 8 of earlier figures, each step method flow can be realized based on the structure of the terminal.
In embodiment shown in earlier figures 9, the function of each module can be realized based on the structure of the terminal.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, computer-readable storage medium storage is used for electricity The computer program that subdata exchanges, it is any as described in above-mentioned embodiment of the method which make it that computer is performed A kind of part or all of step of data transmission method.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform such as above-mentioned side The part or all of step of any type path query method described in method embodiment.The computer program product can be one A software installation bag.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the module and unit, only For a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine Or another system is desirably integrated into, or some features can be ignored, or do not perform.Another, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be by some interfaces, the INDIRECT COUPLING or communication of device or module Connection, can be electrical or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software program module.
If the integrated module is realized in the form of software program module and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to contribute to the prior art or the technical solution all or part can in the form of software product body Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment the method for the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct relevant hardware to complete by program, which can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help to understand method and its core concept of the invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in conclusion this specification content should not be construed as limiting the invention.

Claims (11)

  1. A kind of 1. path query method, it is characterised in that including:
    When receiving searching request, the key character in described search request is obtained;
    Key character in being asked in first database according to described search determines target corresponding with the key character File identification, the file destination mark includes application bag name and/or the file name to match with the key character, described First database includes the file identification of local terminal, and is stored in the caching of local terminal;
    Determine that target corresponding with file destination mark stores according to file destination mark in the second database Path, the target store path are used for the position for indicating that the corresponding file of the file destination mark is stored in local terminal, Including at least the file identification of local terminal and the store path of file in second database;
    The target store path is shown on display interface, and when receiving the operation for the target store path, Show the file under the target store path.
  2. 2. the method as described in claim 1, it is characterised in that installation identifier is further included in second database, it is described Installation identifier is used for the installment state for indicating the corresponding application of file identification, and the installment state includes having installed and having unloaded Carry, the method further includes:
    The application in local terminal is detected, and determines the installment state of the application and the file identification with the association;
    If the installment state of the application to have installed, by with the file identification of the mounted association corresponding to Installation identifier is arranged to first flag symbol;
    If the installment state of the application to be unloaded, by with the file identification of the unloaded association corresponding to Installation identifier is arranged to second identifier symbol.
  3. 3. method as claimed in claim 2, it is characterised in that, will if the installment state of the application is unloaded After being arranged to second identifier symbol with the installation identifier corresponding to the file identification of the unloaded association, also wrap Include:
    The corresponding intended application bag name of the unloaded application is inquired about in second database, and determines that the target should With corresponding first store path of bag name;
    If there is the first file identification for meeting preset condition under first store path, first store path is added Add in the 3rd database, and the corresponding remark information of first store path is arranged to acquiescence remark information, it is described standby Note information includes the source-information or generated time information of store path, and the acquiescence remark information is used to indicate that described first deposits The source-information for storing up path is acquiescence source, or the generated time information of first store path is default time.
  4. 4. method as claimed in claim 3, it is characterised in that the method further includes:
    When the start broadcast for the system that listens to, second database and the 3rd database are initialized;
    The data update bag of server-side is obtained, the server-side includes at least the high in the clouds being connected with local terminal and provides industry to local terminal The background server that business is supported, the data update bag include at least brush machine renewal bag;
    Updated the data if existing in the data update bag, renewal second database and institute are updated the data according to State the 3rd database;
    If there is no updating the data in the data update bag, second database and described is updated according to local data 3rd database.
  5. 5. the method as described in claim 1, it is characterised in that the method further includes:
    The corresponding user identifier of local terminal is obtained, the user identifier is used for the identity information for identifying user, and the user identifier Including identity account, user's name, user's head portrait, user picture it is at least one or more of;
    Second database and the 3rd database are subjected to binding processing with the user identifier, and binding is handled The 3rd database purchase after rear second database and binding processing is beyond the clouds.
  6. 6. the method as described in claim 1, it is characterised in that described to be identified in the second database according to the file destination After determining target store path corresponding with file destination mark, the method further includes:
    When detecting the remarks inquiry request for the target store path, according to the mesh in the 3rd database Mark store path finds out source identifier corresponding with the target store path, and the source identifier is used to indicate to store The source-information in path;
    If the source identifier accords with for default identification, it is determined that with the corresponding target remark information of the target store path To give tacit consent to remark information.
  7. 7. method as claimed in claim 6, it is characterised in that the method further includes:
    If the source identifier is non-default identifier, true according to the target store path in second database File identification set corresponding with the target store path is made, the file identification set includes storing road with the target The corresponding multiple file identifications in footpath;
    First file identification is selected from the file identification set according to preset selection rule, and determines to deposit with the target Store up the remark information that the corresponding target remark information in path is first file identification.
  8. 8. a kind of terminal, it is characterised in that including the mould for performing the method as described in claim 1-7 any claims Block.
  9. A kind of 9. terminal, it is characterised in that including processor, communication interface, display screen and memory, the processor, communication Interface, display screen and memory are connected with each other, wherein, the memory is used to store computer program, the computer program Including programmed instruction, the processor is arranged to call described program instruction, performs as described in claim any one of 1-7 Method.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-7 any one of them methods.
  11. 11. a kind of computer program product for including instruction, when run on a computer so that computer performs such as right It is required that 1-7 any one of them methods.
CN201710962966.7A 2017-10-17 2017-10-17 Path query method, terminal and computer readable storage medium Expired - Fee Related CN108038114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710962966.7A CN108038114B (en) 2017-10-17 2017-10-17 Path query method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710962966.7A CN108038114B (en) 2017-10-17 2017-10-17 Path query method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108038114A true CN108038114A (en) 2018-05-15
CN108038114B CN108038114B (en) 2022-03-01

Family

ID=62092401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710962966.7A Expired - Fee Related CN108038114B (en) 2017-10-17 2017-10-17 Path query method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108038114B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763582A (en) * 2018-06-11 2018-11-06 腾讯科技(深圳)有限公司 File search method, device, terminal and storage medium
CN109324792A (en) * 2018-10-09 2019-02-12 深圳点猫科技有限公司 A kind of the route construction automatic method and electronic equipment of language based on programming
CN109408473A (en) * 2018-10-30 2019-03-01 深圳市理奥网络技术有限公司 A kind of method, apparatus for preventing file from accidentally deleting, equipment and storage medium
CN110457941A (en) * 2019-07-15 2019-11-15 中国平安人寿保险股份有限公司 A kind of management method and device, electronic equipment in common test library
CN110782965A (en) * 2019-10-12 2020-02-11 平安医疗健康管理股份有限公司 Data processing method, data processing device, computer equipment and storage medium
CN110909155A (en) * 2019-11-25 2020-03-24 掌阅科技股份有限公司 Book order generation method, calculation device and computer storage medium
CN111046640A (en) * 2019-11-12 2020-04-21 中国建设银行股份有限公司 Dynamic generation method and device of certification document
CN111063447A (en) * 2019-12-17 2020-04-24 北京懿医云科技有限公司 Query and text processing method and device, electronic equipment and storage medium
WO2020093720A1 (en) * 2018-11-07 2020-05-14 平安医疗健康管理股份有限公司 Speech recognition-based information query method and device
CN111506628A (en) * 2020-04-22 2020-08-07 中国民航信息网络股份有限公司 Data processing method and device
CN111914105A (en) * 2019-05-08 2020-11-10 青岛海信移动通信技术股份有限公司 File query method and device and electronic equipment
CN112131186A (en) * 2020-09-15 2020-12-25 山东鲸鲨信息技术有限公司 File searching method and device
CN112181447A (en) * 2020-10-20 2021-01-05 深圳市大恒数据安全科技有限责任公司 Certificate adjusting method and device convenient for judicial verification
CN112256671A (en) * 2020-10-21 2021-01-22 上海博泰悦臻电子设备制造有限公司 Data storage method and related equipment
CN114297157A (en) * 2021-12-30 2022-04-08 北京字节跳动网络技术有限公司 File processing method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123061A1 (en) * 2004-12-08 2006-06-08 P&R Software Oy Method of accessing files in electronic devices
US20060282417A1 (en) * 2005-06-13 2006-12-14 Canon Kabushiki Kaisha File management apparatus, control method therefor, computer program, and computer-readable storage medium
US20120150900A1 (en) * 2010-12-09 2012-06-14 International Business Machines Corporation File management method and system
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal
CN105138586A (en) * 2015-07-30 2015-12-09 魅族科技(中国)有限公司 File searching method and apparatus
CN105550252A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 File positioning method and device and electronic equipment
CN106354804A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 File download processing method and device thereof
CN106446014A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 File searching method and mobile terminal
CN106528594A (en) * 2016-09-20 2017-03-22 海信集团有限公司 Downloaded file querying method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123061A1 (en) * 2004-12-08 2006-06-08 P&R Software Oy Method of accessing files in electronic devices
US20060282417A1 (en) * 2005-06-13 2006-12-14 Canon Kabushiki Kaisha File management apparatus, control method therefor, computer program, and computer-readable storage medium
US20120150900A1 (en) * 2010-12-09 2012-06-14 International Business Machines Corporation File management method and system
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal
CN105138586A (en) * 2015-07-30 2015-12-09 魅族科技(中国)有限公司 File searching method and apparatus
CN105550252A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 File positioning method and device and electronic equipment
CN106354804A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 File download processing method and device thereof
CN106446014A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 File searching method and mobile terminal
CN106528594A (en) * 2016-09-20 2017-03-22 海信集团有限公司 Downloaded file querying method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763582A (en) * 2018-06-11 2018-11-06 腾讯科技(深圳)有限公司 File search method, device, terminal and storage medium
CN108763582B (en) * 2018-06-11 2023-04-21 腾讯科技(深圳)有限公司 File searching method, device, terminal and storage medium
CN109324792B (en) * 2018-10-09 2022-03-11 深圳点猫科技有限公司 Automatic route construction method based on programming language and electronic equipment
CN109324792A (en) * 2018-10-09 2019-02-12 深圳点猫科技有限公司 A kind of the route construction automatic method and electronic equipment of language based on programming
CN109408473A (en) * 2018-10-30 2019-03-01 深圳市理奥网络技术有限公司 A kind of method, apparatus for preventing file from accidentally deleting, equipment and storage medium
WO2020093720A1 (en) * 2018-11-07 2020-05-14 平安医疗健康管理股份有限公司 Speech recognition-based information query method and device
CN111914105A (en) * 2019-05-08 2020-11-10 青岛海信移动通信技术股份有限公司 File query method and device and electronic equipment
CN110457941A (en) * 2019-07-15 2019-11-15 中国平安人寿保险股份有限公司 A kind of management method and device, electronic equipment in common test library
CN110782965A (en) * 2019-10-12 2020-02-11 平安医疗健康管理股份有限公司 Data processing method, data processing device, computer equipment and storage medium
CN110782965B (en) * 2019-10-12 2022-10-11 深圳平安医疗健康科技服务有限公司 Data processing method, data processing device, computer equipment and storage medium
CN111046640A (en) * 2019-11-12 2020-04-21 中国建设银行股份有限公司 Dynamic generation method and device of certification document
CN111046640B (en) * 2019-11-12 2023-06-06 中国建设银行股份有限公司 Dynamic generation method and device for certificate
CN110909155A (en) * 2019-11-25 2020-03-24 掌阅科技股份有限公司 Book order generation method, calculation device and computer storage medium
CN111063447A (en) * 2019-12-17 2020-04-24 北京懿医云科技有限公司 Query and text processing method and device, electronic equipment and storage medium
CN111063447B (en) * 2019-12-17 2024-05-03 北京懿医云科技有限公司 Query and text processing method and device, electronic equipment and storage medium
CN111506628A (en) * 2020-04-22 2020-08-07 中国民航信息网络股份有限公司 Data processing method and device
CN112131186A (en) * 2020-09-15 2020-12-25 山东鲸鲨信息技术有限公司 File searching method and device
CN112181447A (en) * 2020-10-20 2021-01-05 深圳市大恒数据安全科技有限责任公司 Certificate adjusting method and device convenient for judicial verification
CN112256671A (en) * 2020-10-21 2021-01-22 上海博泰悦臻电子设备制造有限公司 Data storage method and related equipment
CN112256671B (en) * 2020-10-21 2023-11-24 博泰车联网科技(上海)股份有限公司 Data storage method and related equipment
CN114297157A (en) * 2021-12-30 2022-04-08 北京字节跳动网络技术有限公司 File processing method, device, equipment and medium
CN114297157B (en) * 2021-12-30 2024-04-09 北京字节跳动网络技术有限公司 File processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN108038114B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
CN105808284B (en) A kind of method for updating increment and the server using it
US7930367B2 (en) Low storage portable media player
AU2006280352B2 (en) Partial item change tracking and synchronization
JP4712817B2 (en) Smartphone with web-based interface
US20140013238A1 (en) File transfer method and device
CN107147748B (en) File uploading method and device
CN111400334B (en) Data processing method, data processing device, storage medium and electronic device
CN107766488A (en) A kind of information query method, terminal, computer-readable recording medium
CN102932759A (en) Information sharing method and device
EP2147534B1 (en) Computer program products, apparatuses and methods for accessing data
EP3506599B1 (en) Method for synchronizing contact information, apparatus and medium
CN101924791B (en) Method, device and system for displaying multimedia information
CN113301203B (en) Method and device for updating historical information data based on address book
CN104572981B (en) A kind of Webpage method for caching and processing and mobile terminal device
CN104933085B (en) Update method, terminal and the server of e-book
CN107770834A (en) For providing the method and apparatus of WAP packet
CN103237007A (en) Method and device for updating media files
CN104065673B (en) A kind of implementation method and device by address list synchronization to server
CN103024009A (en) Electronic book data updating method based on peer-to-peer network transmission
CN106648986A (en) Data backup method and data backup device
CN107665226A (en) The method for pushing and pusher of a kind of information
CN111221788A (en) Data transmission method and system
CN104993999A (en) Information processing method and server
WO2017016248A1 (en) Data output method and apparatus

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