CN106528658B - The lookup method and device of application file - Google Patents

The lookup method and device of application file Download PDF

Info

Publication number
CN106528658B
CN106528658B CN201610913443.9A CN201610913443A CN106528658B CN 106528658 B CN106528658 B CN 106528658B CN 201610913443 A CN201610913443 A CN 201610913443A CN 106528658 B CN106528658 B CN 106528658B
Authority
CN
China
Prior art keywords
file
application
target
read
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610913443.9A
Other languages
Chinese (zh)
Other versions
CN106528658A (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 CN201610913443.9A priority Critical patent/CN106528658B/en
Publication of CN106528658A publication Critical patent/CN106528658A/en
Application granted granted Critical
Publication of CN106528658B publication Critical patent/CN106528658B/en
Active 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/11File system administration, e.g. details of archiving or snapshots
    • G06F16/119Details of migration of file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of lookup methods of application file, comprising: the file read-write operations of application have been installed in detection, obtain first application identities and the corresponding target reading and writing of files of the file read-write operations for having installed application;First application identities are added in the file description information of the target reading and writing of files according to the file read-write operations;Application file look-up command is received, target corresponding with the application file look-up command is obtained and searches application;The file scan information of storage file in end of scan, determining search with the target apply corresponding target locating file, obtain the target locating file and preset document presentation window is shown on the display interface of the terminal.In addition, the embodiment of the invention also discloses a kind of lookup devices of application file.Using the embodiment of the present invention, can be improved and the accuracy determined and looked up and integrality using relevant file.

Description

The lookup method and device of application file
Technical field
The present invention relates to field of computer technology more particularly to the lookup methods and device of a kind of application file.
Background technique
With the development of terminal technology, the function of integrating at the terminal is also more and more, for example, creation file or right File is written and read or modifies.In general, the access limit of application can be configured in system setting, for example, can Configuration application can All Files other than system file etc. in complete read-write terminal access limit.
Each application installed in terminal can carry out the alternative document in addition to system file or application file Read-write, that is to say, that during use, for some file, each application installed in terminal can be with Creation this document or modify to this document or other operation.For example, when carrying out some application unloading, because not really Determining which file in terminal is created or was modified by the application, therefore, when application is unloaded, with this using corresponding File still can retain in system, as terminal uses the increase of time, will cause and left a large amount of redundant file in terminal.
That is, in the operating method of above-mentioned file, because being to the operation such as creation, modification or reading of file There is no any relevant record in system or file, result in during application Data Migration, being operated using unloading etc., nothing Method is determining to apply corresponding All Files with corresponding, so as to cause Data Migration is imperfect or system in exist it is largely superfluous Remaining file.
Summary of the invention
The embodiment of the present invention proposes a kind of lookup method of application file, can solve creation, modification because of file Or the operation such as reading does not have any relative recording to cause when determination applies corresponding file with one in system or file The technical problem of accuracy deficiency.
A kind of lookup method of application file, comprising:
The file read-write operations of application have been installed in detection, obtain first application identities for having installed application and the text The corresponding target reading and writing of files of part read-write operation;
Described first is added in the file description information of the target reading and writing of files according to the file read-write operations to answer With mark;
Application file look-up command is received, target corresponding with the application file look-up command is obtained and searches application;
The file scan information of storage file in end of scan, determining search with the target apply corresponding target Locating file, obtains the target locating file and preset document presentation window is opened up on the display interface of the terminal Show.
Optionally, in one of the embodiments, the method also includes:
Application migration instruction is received, target migration application corresponding with the application migration instruction and target terminal are obtained;
The file scan information of the storage file in the terminal is scanned, it is determining corresponding with target migration application Target migrated file;
The target migrated file is migrated to the target terminal according to the application migration instruction.
Optionally, in one of the embodiments, the method also includes:
It receives and applies unloading command, obtain target unloading application corresponding with the application unloading command;
The file scan information of the storage file in the terminal is scanned, it is determining corresponding with target unloading application Target uninstall file;
The target uninstall file is deleted according to the application unloading command.
Optionally, in one of the embodiments, it is described detect the file read-write operations for having installed application before further include:
Detection application installation operation obtains the application installation and operates corresponding second application identities and application peace Dress operates corresponding target and file is written;
Second application identities are added in the file description information of target write-in file.
Optionally, the first application identities of application and described have been installed described in the acquisition in one of the embodiments, The corresponding target reading and writing of files of file read-write operations further include:
Predefined system file read-write interface function, it is described to have installed using by the system file read-write interface function Carry out file read-write operations;
First application identities for having installed application and the text are obtained by the system file read-write interface function The corresponding target reading and writing of files of part read-write operation.
Furthermore, it is also proposed that a kind of lookup device of application file.
A kind of lookup device of application file, comprising:
File read-write operations detection module obtains described installed for detecting the file read-write operations for having installed application The corresponding target reading and writing of files of the first application identities and the file read-write operations of application;
File description information adding module, for according to the file read-write operations the target reading and writing of files file First application identities are added in description information;
Target, which is searched, applies determining module, for receiving application file look-up command, obtains and searches with the application file Corresponding target is instructed to search application;
File search module, for the file scan information of the storage file in end of scan, the determining and target It searches and applies corresponding target locating file, obtain the target locating file and preset on the display interface of the terminal Document presentation window is shown.
Optionally, described device further includes application file transferring module in one of the embodiments, for receiving application Migration instruction obtains target migration application corresponding with the application migration instruction and target terminal;It scans in the terminal The file scan information of storage file, determining migrate with the target apply corresponding target migrated file;It is answered according to described The target migrated file is migrated to the target terminal with migration instruction.
Optionally, described device further includes using Unload module, for receiving application unloading in one of the embodiments, Instruction obtains target unloading application corresponding with the application unloading command;Scan the text of the storage file in the terminal Part scanning information, determining unload with the target apply corresponding target uninstall file;It is deleted according to the application unloading command The target uninstall file.
Optionally, described device further includes using installation module, for detecting application installation in one of the embodiments, Operation obtains the application installation and operates corresponding second application identities and the corresponding target write-in of application installation operation File;Second application identities are added in the file description information of target write-in file.
Optionally, the file read-write operations detection module is also used to predefined system text in one of the embodiments, Part read-write interface function, described installed carry out file read-write operations using by the system file read-write interface function;It is logical It crosses the system file read-write interface function and obtains first application identities for having installed application and the file read-write operations Corresponding target reading and writing of files.
After the lookup method and device of above-mentioned application file, in the terminal application to the file in terminal into It, will be in the file description information for being documented in corresponding file corresponding with the operation when row relevant operation, that is to say, that logical It crosses file description information and is known which application carried out operation to current file;Then it is carrying out to some using related File search procedure in, by searching for the file description information of all files in terminal, to determine each application On whether relevant read-write operation carried out by the application determine a file whether be to this using relevant file, thus So that can accurately determine corresponding All Files during lookup, improve and the preparation using relevant file search Property.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Wherein:
Fig. 1 is a kind of flow diagram of the lookup method of application file in one embodiment;
Fig. 2 is a kind of flow diagram of the moving method of application file in one embodiment;
Fig. 3 is a kind of flow diagram of the delet method of application file in one embodiment;
Fig. 4 is a kind of structural schematic diagram of the lookup device of application file in one embodiment;
Fig. 5 is the structural schematic diagram that the computer equipment of lookup method of aforementioned applications file is run in one embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In the present embodiment, a kind of lookup method of application file is proposed, the realization of this method can be dependent on computer Program, the computer program can run on the computer system based on von Neumann system, which can be Documentor based on android system or IOS system.The computer system can be the above-mentioned computer program of operation Such as the servers such as smart phone, tablet computer, PC or terminal.
Specifically, as shown in Figure 1, the lookup method of above-mentioned application file includes the following steps S102-S108:
Step S102: the file read-write operations of application have been installed in detection, obtain the first application mark for having installed application Know target reading and writing of files corresponding with the file read-write operations.
It is mounted in terminal permission to be carried out to the file in terminal using corresponding application process in specific implementation Within read-write operation, for example, photo PS application can be with the picture file in reading terminals, also, to corresponding picture file Modify operation, or, WPS application can with the file of the .dox format in reading terminals, and can to this document into Edlin.
A process is opened in systems, for the read-write operation of All Files in monitor terminal, for example, in the terminal When the application of installation carries out read operation or write operation to any file in terminal, which can detect corresponding operation, And the operation is monitored.Specifically, obtaining and detecting when having installed the file read-write operations of application in detecting terminal To the corresponding application identities for having installed application of file read-write operations, i.e. the first application identities, also obtain with this document read and write Operate corresponding file.
As long as that is, detecting that the read-write operation of installation file, i.e. acquisition carry out reading behaviour accordingly in terminal The application identities of the application of work or write operation, and specific file is obtained, in one embodiment, it is also necessary to obtain corresponding Concrete operations, for example, read operation or write operation or duplication operation or creation operation etc..
It should be noted that in the present embodiment, the above-mentioned monitoring for the read-write operation of file in system can be logical Cross the interface function realization of system file read-write interface.Specifically, having installed the first application mark of application described in above-mentioned acquisition Know target reading and writing of files corresponding with the file read-write operations further include: predefined system file read-write interface function, it is described It has installed and has carried out file read-write operations using by the system file read-write interface function;It is connect by system file read-write Mouth function obtains first application identities and the corresponding target reading and writing of files of the file read-write operations for having installed application.
That is, modify to system file read-write interface function, it is all in terminal to be applied in end When file in end realizes read-write operation, it is necessary to it is realized by the interface function of the system file read-write interface, that is, It says, corresponding application process has been installed by the interface function acquisition of calling system file read-write interface and answered using corresponding first With mark and its file for needing to be written and read.
Step S104: institute is added in the file description information of the target reading and writing of files according to the file read-write operations State the first application identities.
In the present embodiment, each file has corresponded to a file description information, can be in this document description information Record relevant information corresponding to this document, such as the modification record of this document.
It, will be with the inspection in above-mentioned monitor terminal after the process detection of the read-write operation of file to the read-write operation of file The file read-write operations measured are corresponding to be recorded in file destination, i.e., has installed application for file read-write operations are corresponding The first application identities be added in the file description information of target reading and writing of files corresponding to this document read-write operation.Namely It says, all peaces being written and read to this document can be known by the file description information of the target reading and writing of files Dress application.
It should be noted that in the present embodiment, if an application is only to have read some file, but there is no right This document carries out any write operation or modification, edit operation, then it may not be very tight for illustrating that this is applied to the relationship of this document It is close, without the concern for this document during carrying out using unloading or application Data Migration.
Specifically, in one embodiment, the first application identities and file read-write of application have been installed described in above-mentioned acquisition The step of operating corresponding file further include: only obtain the corresponding file of file write operation.
Step S106: receiving application file look-up command, obtains target corresponding with the application file look-up command and looks into Look for application.
Step S108: the file scan information of the storage file in end of scan, determining search with the target are applied Corresponding target locating file obtains the target locating file and the preset document presentation on the display interface of the terminal Window is shown.
As previously mentioned, being all documented in accordingly in the corresponding relative recording of file read-write operations each time for having installed application The corresponding file description information of file after, this document can be read by the file description information determination of file All installation applications of write operation;Further, the file to stored file all in terminal can also be passed through Description information is scanned all files for determining that some application was written and read.
Specifically, terminal can receive application file look-up command to search with some using corresponding All Files. Contained in the application file look-up command received corresponding with application file look-up command target search application and Target searches the application identities of application.Then, it is scanned for the file description information of storage file all in terminal, Corresponding read-write operation historical record or packet are applied if containing in the file description information of some file and searching with target Contain to search with target and applied corresponding application identities, has then determined that target searches application and carried out file read-write behaviour to this document Make, and determines that this document is to search to apply corresponding target locating file with target.
It, then will be determining all after being over-scanned or being determined for all storage files in terminal Target locating file returns to lookup result as lookup result corresponding with application file look-up command, for example, in terminal Display interface in preset lookup result display area in show lookup result in target locating file list.
Further, in the present embodiment, another application of the lookup method of above-mentioned application file is additionally provided, specifically , as shown in Fig. 2, including the following steps S202-S210:
Step S202: the file read-write operations of application have been installed in detection, obtain the first application mark for having installed application Know target reading and writing of files corresponding with the file read-write operations.
Step S204: institute is added in the file description information of the target reading and writing of files according to the file read-write operations State the first application identities.
Step S206: receiving application migration instruction, obtain the migration of corresponding with application migration instruction target apply and Target terminal.
In the present embodiment, it may be employed the migration of data between terminal and terminal, i.e., will migrate certain in source terminal One relevant all Data Migration of application is into migration terminal and is stored.In the present embodiment, using the migration of data It by migration terminal and the communication connection between source terminal can be migrated realizes, and can be based on being installed for example in terminal The mobile phone data backup of mobile phone removal of home and the application program of migration.
For example, after opening the Data Migrations application such as mobile phone removal of home in migration terminal and migration source terminal, Yong Hu The application migration instruction for the migration application of some target can be inputted in local terminal as migration source terminal.It is detecting After the application migration instruction inputted to user, the corresponding target migration application of the application migration instruction and corresponding mesh are obtained Terminal is marked, which is to migrate terminal.
Step S208: scanning the file scan information of the storage file in the terminal, determining to migrate with the target Using corresponding target migrated file.
Step S210: the target migrated file is migrated to the target terminal according to the application migration instruction.
In the present embodiment, during carrying out using migration, migration is not only corresponding application file, is also wrapped It includes target migration and applies relevant file, therefore, after target is migrated using determining, according to the application of target migration application Mark, which determines to migrate with the target in above-mentioned preset database, applies corresponding All Files, i.e. target migration application carries out The All Files that read-write operation is crossed, i.e. file destination.After target determines, according to the above-mentioned application migration instruction detected, Above-mentioned file destination is migrated to migration terminal, that is, is migrated to target terminal.
Optionally, in another embodiment, answering for the application unloading of the lookup method of above-mentioned application file is additionally provided With scene, specifically, as shown in figure 3, including the following steps S302-S310:
Step S302: the file read-write operations of application have been installed in detection, obtain the first application mark for having installed application Know target reading and writing of files corresponding with the file read-write operations.
Step S304: institute is added in the file description information of the target reading and writing of files according to the file read-write operations State the first application identities.
Step S306: receiving and apply unloading command, obtains target unloading application corresponding with the application unloading command.
The application unloading command that user can apply in the operation interface input of application unloading for some, the application are It is applied for target unloading corresponding with application unloading command.After user has input using unloading command, terminal can be received The application unloading command of user's input simultaneously obtains and unloads application using the corresponding target of unloading command with this.
Step S308: scanning the file scan information of the storage file in the terminal, determining to unload with the target Using corresponding target uninstall file.
Step S310: the target uninstall file is deleted according to the application unloading command.
By one application unloaded when, it is also necessary to delete with this apply corresponding all files also include certainly The file that the application is created, read and write, therefore, after determining target unloading application, by all in aforementioned end of scan The file description information of storage file applies corresponding target uninstall file to determine to unload with target, and in unloading application Above-mentioned target uninstall file is deleted simultaneously.
It should be noted that in the present embodiment, some file may be not only written and read by an application, If target unloading application is that one of those is directly deleted in this case, then it may cause other and answer Whether data integrity receives influence, therefore, in one embodiment, it is also necessary to consider target uninstall file also by other Using reading and writing, i.e., before deleting corresponding target uninstall file, in above-mentioned database, search answer corresponding with this document With the other application in addition to target unloading application, then do not delete the target uninstall file, if it does not exist except target is unloaded if it exists The step of carrying the other application except application, then executing above-mentioned delete target uninstall file.
Optionally, in one embodiment, the above method further includes;Detection application installation operation, obtains the application peace Dress operates corresponding second application identities and application installation operates corresponding target and file is written.It is written in the target Second application identities are added in the file description information of file.
That is, new application can be installed in the terminal, also, at installation one in application, needing in terminal Partial document modify, i.e., corresponding setting or configuration are written in corresponding system file.New in installation In application, obtaining corresponding installation operates corresponding application identities, and the file of corresponding write-in is operated with the installation, then The application identities are stored with the file of corresponding installation operation write-in into above-mentioned database.Then it is determining and the application pair When the file answered, determining file should include the above-mentioned file with installation operation write-in;When carrying out using Data Migration, migration Data further include have the installation operation write-in file.
In addition, in one embodiment, as shown in Figure 4, it is also proposed that a kind of lookup device of application file, including file Read-write operation detection module 102, file description information adding module 104, target are searched to be looked into using determining module 106 and file Look for module 108, in which:
File read-write operations detection module 102 obtains described pacified for detecting the file read-write operations for having installed application Fill the first application identities and the corresponding target reading and writing of files of the file read-write operations of application;
File description information adding module 104, for according to the file read-write operations in the target reading and writing of files First application identities are added in file description information;
Target, which is searched, applies determining module 106, and for receiving application file look-up command, acquisition is looked into the application file The corresponding target of instruction is looked for search application;
File search module 108, for the file scan information of the storage file in end of scan, the determining and mesh Mark, which is searched, applies corresponding target locating file, obtains the target locating file and presets on the display interface of the terminal Document presentation window be shown.
Optionally, in one embodiment, it as shown in figure 4, above-mentioned apparatus further includes application file transferring module 110, uses In receiving application migration instruction, target migration application corresponding with the application migration instruction and target terminal are obtained;Scanning institute The file scan information of the storage file in terminal is stated, determining migrate with the target applies corresponding target migrated file; The target migrated file is migrated to the target terminal according to the application migration instruction.
Optionally, in one embodiment, as shown in figure 4, above-mentioned apparatus further includes using Unload module 112, for connecing It receives and applies unloading command, obtain target unloading application corresponding with the application unloading command;Scan having deposited in the terminal The file scan information of file is stored up, determining unload with the target applies corresponding target uninstall file;It is unloaded according to the application It carries instruction and deletes the target uninstall file.
Optionally, in one embodiment, as shown in figure 4, above-mentioned apparatus further includes using installation module 114, for examining It surveys application installation to operate, obtains the application installation and operate corresponding second application identities and application installation operation correspondence Target be written file;Second application identities are added in the file description information of target write-in file.
Optionally, in one embodiment, file read-write operations detection module 102 is also used to predefined system file read-write Interface function, described installed carry out file read-write operations using by the system file read-write interface function;By described System file read-write interface function obtains first application identities for having installed application and the file read-write operations are corresponding Target reading and writing of files.
After the lookup method and device of above-mentioned application file, in the terminal application to the file in terminal into It, will be in the file description information for being documented in corresponding file corresponding with the operation when row relevant operation, that is to say, that logical It crosses file description information and is known which application carried out operation to current file;Then it is carrying out to some using related File search procedure in, by searching for the file description information of all files in terminal, to determine each application On whether relevant read-write operation carried out by the application determine a file whether be to this using relevant file, thus So that can accurately determine corresponding All Files during lookup, improve and the preparation using relevant file search Property.
In one embodiment, as shown in figure 5, Fig. 5 illustrates a kind of base of lookup method for running above-mentioned application file In the terminal of the computer system of von Neumann system.The computer system can be smart phone, tablet computer, palm electricity The terminal devices such as brain, laptop or PC.Specifically, may include the outer input interface connected by system bus 1001, processor 1002, memory 1003 and output interface 1004.Wherein, outer input interface 1001 optionally can be wrapped at least Include network interface 10012.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and interior storage Device 10034.Output interface 1004 can include at least the equipment such as display screen 10042.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the external memory 10032 of the aforementioned computer system based on von Neumann system, it is loaded into built-in storage at runtime It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system Computer system in form file read-write operations detection module 102 in logic, file description information adding module 104, mesh Mark search using determining module 106, file search module 108, application file transferring module 110, using Unload module 112 and Using installation module 114.And in the lookup method implementation procedure of above-mentioned application file, the parameter of input passes through external input Interface 1001 receives, and is transferred in memory 1003 and caches, and is then input in processor 1002 and is handled, the knot of processing Fruit data or be cached in memory 1003 are subsequently handled, or are passed to output interface 1004 and are exported.
Specifically, in the present embodiment, above-mentioned processor 1002 is for performing the following operations:
The file read-write operations of application have been installed in detection, obtain first application identities for having installed application and the text The corresponding target reading and writing of files of part read-write operation;
Described first is added in the file description information of the target reading and writing of files according to the file read-write operations to answer With mark;
Application file look-up command is received, target corresponding with the application file look-up command is obtained and searches application;
The file scan information of storage file in end of scan, determining search with the target apply corresponding target Locating file obtains the target locating file and preset on the display interface of the terminal by the output interface 1004 Document presentation window is shown.
In an alternative embodiment, processor 1002 is also used to receive application migration instruction, obtains and the application Migration instructs corresponding target migration application and target terminal;Scan the file scan letter of the storage file in the terminal Breath, determining migrate with the target apply corresponding target migrated file;Output interface 1004 is according to the application migration instruction The target migrated file is migrated to the target terminal.
In an alternative embodiment, processor 1002 is also used to receive using unloading command, obtains and the application The corresponding target unloading application of unloading command;Scan the file scan information of the storage file in the terminal, determining and institute It states target unloading and applies corresponding target uninstall file;Memory 1003 is deleted the target according to the application unloading command and is unloaded Published article part.
In an alternative embodiment, before the file read-write operations of application have been installed in the detection of processor 1002, place Reason device 1002 is also used to detect using installation operation, obtains application installation and operates corresponding second application identities and described Corresponding target is operated using installation, and file is written;Described second is added in the file description information of target write-in file Application identities.
In an alternative embodiment, processor 1002 is also used to predefined system file read-write interface function, described It has installed and has carried out file read-write operations using by the system file read-write interface function;It is connect by system file read-write Mouth function obtains first application identities and the corresponding target reading and writing of files of the file read-write operations for having installed application.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of lookup method of application file characterized by comprising
The file read-write operations of application have been installed in detection, obtain first application identities for having installed application and the file is read The corresponding target reading and writing of files of write operation, wherein the file read-write operations include read operation being carried out to file or to file Carry out write operation;
The first application mark is added in the file description information of the target reading and writing of files according to the file read-write operations Know;
Application file look-up command is received, target corresponding with the application file look-up command is obtained and searches application;
The file scan information of storage file in end of scan, it is determining to search application corresponding target lookup with the target File, obtains the target locating file and preset document presentation window is shown on the display interface of the terminal.
2. the lookup method of application file according to claim 1, which is characterized in that the method also includes:
Application migration instruction is received, target migration application corresponding with the application migration instruction and target terminal are obtained;
The file scan information of the storage file in the terminal is scanned, determining migrate with the target applies corresponding target Migrated file;
The target migrated file is migrated to the target terminal according to the application migration instruction.
3. the lookup method of application file according to claim 1, which is characterized in that the method also includes:
It receives and applies unloading command, obtain target unloading application corresponding with the application unloading command;
The file scan information of the storage file in the terminal is scanned, determining unload with the target applies corresponding target Uninstall file;
The target uninstall file is deleted according to the application unloading command.
4. the lookup method of application file according to claim 1, which is characterized in that described to detect the text for having installed application Before part read-write operation further include:
Detection application installation operation obtains the application installation and operates corresponding second application identities and application installation behaviour Make corresponding target write-in file;
Second application identities are added in the file description information of target write-in file.
5. the lookup method of application file according to claim 1, which is characterized in that installed application described in the acquisition The first application identities and the corresponding target reading and writing of files of the file read-write operations further include:
Predefined system file read-write interface function, described installed carry out using by the system file read-write interface function File read-write operations;
First application identities for having installed application are obtained by the system file read-write interface function and the file is read The corresponding target reading and writing of files of write operation.
6. a kind of lookup device of application file characterized by comprising
File read-write operations detection module, for detecting the file read-write operations for having installed application, acquisition is described to have installed application The first application identities and the corresponding target reading and writing of files of the file read-write operations, wherein the file read-write operations include Read operation is carried out to file or write operation is carried out to file;
File description information adding module is described for the file according to the file read-write operations in the target reading and writing of files First application identities are added in information;
Target, which is searched, applies determining module, for receiving application file look-up command, obtains and the application file look-up command Corresponding target searches application;
File search module, it is determining to be searched with the target for the file scan information of the storage file in end of scan Using corresponding target locating file, the target locating file and the preset file on the display interface of the terminal are obtained Impression window is shown.
7. the lookup device of application file according to claim 6, which is characterized in that described device further includes application file Transferring module obtains target migration application corresponding with the application migration instruction and target for receiving application migration instruction Terminal;The file scan information of the storage file in the terminal is scanned, determining migrate with the target applies corresponding mesh Mark migrated file;The target migrated file is migrated to the target terminal according to the application migration instruction.
8. the lookup device of application file according to claim 6, which is characterized in that described device further includes using unloading Module applies unloading command for receiving, and obtains target unloading application corresponding with the application unloading command;Scan the end The file scan information of storage file in end, determining unload with the target apply corresponding target uninstall file;According to The application unloading command deletes the target uninstall file.
9. the lookup device of application file according to claim 6, which is characterized in that described device further includes using installation Module obtains the application installation and operates corresponding second application identities and the application for detecting application installation operation Installation operates corresponding target and file is written;Second application is added in the file description information of target write-in file Mark.
10. the lookup device of application file according to claim 6, which is characterized in that the file read-write operations detection Module is also used to predefined system file read-write interface function, described to have installed using by the system file read-write interface letter Number carries out file read-write operations;The first application mark for having installed application is obtained by the system file read-write interface function Know target reading and writing of files corresponding with the file read-write operations.
CN201610913443.9A 2016-10-19 2016-10-19 The lookup method and device of application file Active CN106528658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913443.9A CN106528658B (en) 2016-10-19 2016-10-19 The lookup method and device of application file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913443.9A CN106528658B (en) 2016-10-19 2016-10-19 The lookup method and device of application file

Publications (2)

Publication Number Publication Date
CN106528658A CN106528658A (en) 2017-03-22
CN106528658B true CN106528658B (en) 2019-06-25

Family

ID=58332930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913443.9A Active CN106528658B (en) 2016-10-19 2016-10-19 The lookup method and device of application file

Country Status (1)

Country Link
CN (1) CN106528658B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033818B (en) * 2018-07-16 2020-07-31 北京京东尚科信息技术有限公司 Terminal, authentication method, and computer-readable storage medium
CN111045988B (en) * 2018-10-12 2023-06-16 伊姆西Ip控股有限责任公司 File searching method, device and computer program product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092664A (en) * 2013-02-07 2013-05-08 珠海市君天电子科技有限公司 Processing method and device of data file of android system
CN103246595A (en) * 2013-04-08 2013-08-14 北京小米科技有限责任公司 Method, device, server and terminal units for managing application programs
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN103685400A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method, server and electronic equipment
CN103838843A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 File processing method and electronic equipment
CN104133641A (en) * 2014-07-24 2014-11-05 深圳市同洲电子股份有限公司 External storage equipment file deleting method and device
CN104205046A (en) * 2012-03-30 2014-12-10 惠普发展公司,有限责任合伙企业 Associating application with application file
CN104252284A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 File display method and device
CN104866510A (en) * 2014-02-26 2015-08-26 北京金山安全软件有限公司 Method and device for removing residual file and method and device for establishing feature library of residual file
CN105302832A (en) * 2014-07-24 2016-02-03 中兴通讯股份有限公司 File management method and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205046A (en) * 2012-03-30 2014-12-10 惠普发展公司,有限责任合伙企业 Associating application with application file
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN103685400A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method, server and electronic equipment
CN103092664A (en) * 2013-02-07 2013-05-08 珠海市君天电子科技有限公司 Processing method and device of data file of android system
CN103246595A (en) * 2013-04-08 2013-08-14 北京小米科技有限责任公司 Method, device, server and terminal units for managing application programs
CN104252284A (en) * 2013-06-26 2014-12-31 中兴通讯股份有限公司 File display method and device
CN104866510A (en) * 2014-02-26 2015-08-26 北京金山安全软件有限公司 Method and device for removing residual file and method and device for establishing feature library of residual file
CN103838843A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 File processing method and electronic equipment
CN104133641A (en) * 2014-07-24 2014-11-05 深圳市同洲电子股份有限公司 External storage equipment file deleting method and device
CN105302832A (en) * 2014-07-24 2016-02-03 中兴通讯股份有限公司 File management method and apparatus

Also Published As

Publication number Publication date
CN106528658A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN110347341B (en) Data clearing method and control equipment
CN109558331B (en) Application program defect detection method, device, equipment and storage medium
US20170139813A1 (en) Method and device for checking influence of deleting cache file, and mobile terminal
CN103677880A (en) Information processing method and electronic equipment
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN113076257B (en) Test script recording method, device, medium and computer equipment
CN106126424A (en) A kind of visual automated testing method of script, device and mobile terminal
CN106294387A (en) Data migration method and device
CN112306411B (en) Data storage method and device, nonvolatile storage medium and processor
CN114510930B (en) Method, device, electronic equipment and medium for auditing operation document
CN106528658B (en) The lookup method and device of application file
CN111930703A (en) Automatic log file capturing method and device and computer equipment
CN106484779B (en) File operation method and device
CN104484484B (en) Clear up the method and device of cache file
US20170109258A1 (en) Smart logging of trace data for storage systems
CN114936189A (en) Application program operation method and device, computer equipment and readable storage medium
CN110413577A (en) Data-erasure method, device, electronic equipment and computer readable storage medium
CN112363980B (en) Data processing method and device of distributed system
CN106547485B (en) Data migration method and device
CN115543225B (en) Data processing method, system, device, computer storage medium and electronic equipment
CN113590564B (en) Data storage method, device, electronic equipment and storage medium
KR101889222B1 (en) Portable storage device perfoming a malignant code detection and method for the same
CN102866946A (en) Method and device for testing reading/writing function

Legal Events

Date Code Title Description
C06 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: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant