CN108228770A - A kind of method and device of application file source inquiry - Google Patents

A kind of method and device of application file source inquiry Download PDF

Info

Publication number
CN108228770A
CN108228770A CN201711450749.6A CN201711450749A CN108228770A CN 108228770 A CN108228770 A CN 108228770A CN 201711450749 A CN201711450749 A CN 201711450749A CN 108228770 A CN108228770 A CN 108228770A
Authority
CN
China
Prior art keywords
destination folder
title
file
process number
folder
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.)
Pending
Application number
CN201711450749.6A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201711450749.6A priority Critical patent/CN108228770A/en
Publication of CN108228770A publication Critical patent/CN108228770A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing

Landscapes

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

Abstract

The invention discloses a kind of method and devices of application file source inquiry, this method includes the title for obtaining destination folder under root, according to the name query folder name of destination folder and the correspondence of application packet title, it obtains and applies packet title corresponding to the title of destination folder, the title applied packet title, determine the application corresponding to destination folder according to corresponding to the title of destination folder.So that it is determined that going out the destination folder is created by that application, the source of this document is inquired, the system application of realizing automatically identifies true process or the application of establishment file.

Description

A kind of method and device of application file source inquiry
Technical field
The method and dress inquired the present embodiments relate to field of terminal technology more particularly to a kind of application file source It puts.
Background technology
Application and development degree of freedom is very high in Android (Android) equipment, this brings very abundant application to us, But also because in this way, many application developers not fully defer to the requirement of Google, such as access and use for memory space, Application developer is just very random.
The design of Google's script is desirable to apply the systematic difference mesh of one's own document creation to terminal storage It under record, either applies in this way or user, it is who is created that can understand these files.
However, many applications now all like oneself createing directory under the root of terminal storage rather than system directory, Very random due to naming, many catalogues are illustrated from not seeing it being which application completely nominally such as this catalogue of tencent It is exactly the data directory of the applications such as wechat, QQ, it is this probably to find out, but the catalogue such as autonavi, it is general to use It is who is established that family, which is not known,.
Technically, one layer of Virtual File System is employed in Google's existing scheme and carries out unified interface authority pipe It manages, after the interface of all application call document creations, finally can all go in this document system and be managed collectively and operated.Knot Fruit is exactly either A applications or B applications, as long as establishment file or file in terminal storage, ultimately generate this text Part or file neither A nor B, but user root, this comes, and wants the side by checking the user group belonging to file Formula come judge document source be also can not possibly.
At present, many producers are to improve user experience, still more identifications by every means some using self-built catalogue, Such as:Autonavi is that Amap application is established, and baidu is that Baidu search is established, and budejie is that hundred think ofs must not elder sister's foundation Etc., the statistical data of whose family is more, just there is better compatibility, this statistical data can be made inquiry row by producer Table allows the application of file manager etc to go to inquire, and a remarks are shown behind folder name, prompts user, for example, Tencent | wechat file.
But this mode one is that update has delay, server end continuous updating summary table is needed, second is that can not be compatible with institute forever There is third-party application.Therefore, it is necessary to a kind of new implementation methods, allow the document source that all applications are established that can have Fa Kecha, And real-time is preferable.
Invention content
The embodiment of the present invention provides a kind of method and device of application file source inquiry, to realize that system application is automatic Identify true process or the application of establishment file.
A kind of method of application file source inquiry provided in an embodiment of the present invention, including:
Obtain the title of destination folder under root;
According to the name query folder name of the destination folder and the correspondence of application packet title, described in acquisition Packet title is applied corresponding to the title of destination folder;
Packet title is applied according to corresponding to the title of the destination folder, is determined corresponding to the destination folder The title of application.
Optionally, the folder name and the correspondence of application packet title are determined according to following step, including:
It obtains and parses journal file, determine the row information where the detection mark of the destination folder;
Row information where the detection mark of the destination folder is handled, determines the name of the destination folder Claim and create the process number of the destination folder;
According to the process number for creating the destination folder, the corresponding application packet title of the process number is determined;
Establish the corresponding of the title application packet title corresponding with the determining process number of the destination folder Relationship.
Optionally, the row information where the detection mark to the destination folder is handled, and determines the mesh It marks the title of file and creates the process number of the destination folder, including:
The row information where the detection mark of the destination folder is decomposed according to default first form, determines institute State the directory path information of destination folder and the process number for creating the destination folder;
According to the directory path information of the destination folder, the title of the destination folder is determined.
Optionally, it before the acquisition and parsing journal file, further includes:
When the destination folder creates, setting detection mark;
It obtains the directory path information of the destination folder and creates the process number of the destination folder;
It will be described in the detection mark, the directory path information of the destination folder and the establishment of the destination folder The process number of file is attached according to the first preset format, generates journal file.
Correspondingly, the embodiment of the present invention additionally provides a kind of device of application file source inquiry, including:
Acquiring unit, for obtaining the title of destination folder under root;
Processing unit, it is corresponding with application packet title for the name query folder name according to the destination folder Relationship obtains and applies packet title corresponding to the title of the destination folder;And the title according to the destination folder The corresponding title applied packet title, determine the application corresponding to the destination folder.
Optionally, the processing unit is determining that the folder name is corresponding with application packet title according to following step During relationship, it is specifically used for:
It obtains and parses journal file, determine the row information where the detection mark of the destination folder;
Row information where the detection mark of the destination folder is handled, determines the name of the destination folder Claim and create the process number of the destination folder;
According to the process number for creating the destination folder, the corresponding application packet title of the process number is determined;
Establish the corresponding of the title application packet title corresponding with the determining process number of the destination folder Relationship.
Optionally, the processing unit is handled in the row information where the detection mark to the destination folder, When determining the title of the destination folder and creating the process number of the destination folder, it is specifically used for:
The row information where the detection mark of the destination folder is decomposed according to default first form, determines institute State the directory path information of destination folder and the process number for creating the destination folder;
According to the directory path information of the destination folder, the title of the destination folder is determined.
Optionally, the processing unit is additionally operable to before the acquisition and parsing journal file:
When the destination folder creates, setting detection mark;
It obtains the directory path information of the destination folder and creates the process number of the destination folder;
It will be described in the detection mark, the directory path information of the destination folder and the establishment of the destination folder The process number of destination folder is attached according to the first preset format, generates journal file.
The embodiment of the present invention additionally provides a kind of computing device, including:
Memory, for storing program instruction;
For calling the program instruction stored in the memory, above application is performed according to the program of acquisition for processor The method of document source inquiry.
The embodiment of the present invention additionally provides a kind of computer storage media, and the computer-readable recording medium storage has meter Calculation machine executable instruction, the computer executable instructions are used for the side that computer is made to perform the inquiry of above application document source Method.
The embodiment of the present invention shows to obtain the title of destination folder under root, be looked into according to the title of destination folder Folder name and the correspondence of application packet title are ask, obtains and applies packet title, root corresponding to the title of destination folder According to the title applied packet title, determine the application corresponding to destination folder corresponding to the title of destination folder.So as to really Making the destination folder is created by that application, is inquired the source of this document, is realized system application automatic identification Go out true process or the application of establishment file.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this For the those of ordinary skill in field, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow diagram of the method for application file source inquiry provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram for establishing correspondence provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram using directory creating provided in an embodiment of the present invention;
Fig. 4 is a kind of determining folder name provided in an embodiment of the present invention and shows using the flow of packet title correspondence It is intended to;
Fig. 5 is a kind of structure diagram of the device of application file source inquiry provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that described embodiment is only the implementation of part of the embodiment of the present invention rather than whole Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work All other embodiment, shall fall within the protection scope of the present invention.
The method of application file source inquiry provided in an embodiment of the present invention can be performed by terminal device, the terminal device It can refer to provide a user the equipment (device) of voice and/or data connectivity, including wireless terminal or catv terminal.Nothing Line terminal can have the portable equipment of wireless connecting function or be connected to other processing of radio modem to set Mobile terminal that is standby, communicating through wireless access network with one or more core nets.For example, wireless terminal can be mobile electricity Words (or being " honeycomb " phone) and the computer with mobile terminal.For another example, wireless terminal can also be portable, pocket Formula, hand-held, built-in computer or vehicle-mounted mobile device.For another example, wireless terminal can be that (English is movement station: Mobile station), (English is access point:Access point) or user equipment (English is:User equipment, Abbreviation UE) a part.
Based on foregoing description, Fig. 1 illustratively shows a kind of application file source inquiry provided in an embodiment of the present invention Method, this method can perform by device that application file source is inquired, which can be terminal device, can also be located at In terminal device.
As shown in Figure 1, the flow specifically includes:
Step S101 obtains the title of destination folder under root.
Step S102, according to the name query folder name of the destination folder and the corresponding pass of application packet title System obtains and applies packet title corresponding to the title of the destination folder.
Step S103 applies packet title according to corresponding to the title of the destination folder, determines the file destination The title of the corresponding application of folder.
In embodiments of the present invention, for ease of description, will wish to inquire with file manager below autonavi this A catalogue be which application create for come describe application file source inquiry flow.
When scanning root discovery in file manager side has unknown file to press from both sides autonavi, unknown file folder is target File, so as to know the title autonavi of destination folder under root.In embodiments of the present invention, file destination Folder can be that unknown file is pressed from both sides, that is, file manager can not identify its corresponding Apply Names according to the title of file File.Folder name and the correspondence of application packet title can be inquired according to the autonavi at this time, which closes System can be located in public database, such as can set key as folder name, and value can be using packet title.Pass through Inquiry key is autonavi, can obtain the corresponding value of the key as com.autonavi.minimap, that is to say, that should The corresponding entitled com.autonavi.minimap of application packet of folder name autonavi.
After the packet title that is applied, file manager can be obtained this and corresponded to using packet title by system interface Apply Names " Amap ", and can show, be checked convenient for user.
It should be noted that if the value values obtained are inquired less than application, explanation is a underlying services class process, can be with It is shown as desired as process name.
Optionally, for the ease of file manager by the name query of destination folder to using packet title, Ke Yigen Above-mentioned folder name and the correspondence of application packet title are determined according to flow as shown in Figure 2.
As shown in Fig. 2, the specific steps of the process comprises:
Step S201 is obtained and is parsed journal file, determines the row information where the detection mark of destination folder.
Due to different size of log buffering areas, the log times length that can be stored is different, for example, 10s can be preserved, is All log can be got, can obtain log to be less than the random time of storage log times, for example, can be according to 5s once obtains log.
After the system of terminal device starts, fileDetectService (file finds service) cycle can be started Obtain log.The effect of the service is that cycle performs and obtains newest log output files.
After cycle obtains log, the log of acquisition is parsed line by line, when the content for being resolved to certain a line includes mesh When marking the detection mark of file, illustrate the partial information for including destination folder in the row information.It needs to carry out this journey It stores and is further processed.
Optionally, before the log files in the predetermined period are obtained, it is also necessary to first set the detection mark of destination folder Know, that is to say, that when the destination folder creates, setting detection mark.Then the directory path letter of destination folder is obtained The process number of breath and establishment file folder.Finally by destination folder detection mark, destination folder directory path information and The process number for creating the destination folder is attached according to the first preset format, generates journal file.Detection mark is used for The directory path information of destination folder is navigated to when being parsed to journal file and creates the process number institute of the file Row.Detection mark can be a fixed character or preset one section of sentence etc., this is not limited.This One preset format can be the form or other forms for being used to be spaced sentence for using punctuation mark as sentence interval, It is without limitation.
For example, the flow that application as shown in Figure 3 creaties directory, the flow specifically include:
Step S301 calls the mkdir interfaces of file classes.
The mkdir interfaces establishment file for calling File (file) common class using Amap is pressed from both sides, which is one A interface for establishing new file.It is most of complicated since File classes are a foundation class, and be the class that can be called frequently Operation is unsuitable for adding herein, such as database manipulation needs the method for context that can not use.Add in mkdir interfaces Add a log outputs.Since the running space of mkdir interfaces is still internal in application, that is, in Amap, so should Process where when log is exported is still application process, therefore:It is passed as detection and identified using fixed character.Such as:“twfx The app is Attempting to make a dir”。
Step S302 obtains No. pid and obtains file destination path.
The directory file path that will be created by the acquisition of mkdir interfaces.Such as "/storage/emulated/0/ autonavi”.The title autonavi of destination folder is further comprised in this full directory file path.Then it uses The pid of process where the current log of getpid interfaces acquisition, i.e. process number.Such as " 5968 ", it that is, creates when this document presss from both sides Process number is the file created by which application convenient for subsequent query.
Detection mark, path, pid are combined as character string, and export content using the character string as log by step S303.
Will detect mark, mkdir interfaces to be created catalogue fullpath, process number three parts content use ";" connection Get up, the content as log outputs.Finally the content of log outputs is:Detect mark+path+pid.Citing:twfx The app is Attempting to make a dir;/storage/emulated/0/iFlyIME;5968.
Step S304, creaties directory or file.
After log files are exported, Amap creaties directory or file, so as to which catalogue or document creation are completed.
It should be noted that institute of embodiment of the present invention illustrated example is only example effect, specifically application is not limited It makes, all applications in terminal device are suitable for the method that the embodiment of the present invention is provided.
Step S202 handles the row information where the detection mark of destination folder, obtains destination folder The process number of title and establishment file folder.
It is handled in the row information where the detection mark to destination folder, when being handled, is specifically as follows head First the row information where the detection mark of destination folder is decomposed according to default first form, obtains destination folder Directory path information and the process number for creating the file.Then according to the directory path information of destination folder, mesh is obtained Mark the title of file.
For example, by comprising detection mark row be stored as character string, into line character processing, first by the character string according to “;" be segmented, according to default first form, eventually it is divided into three sections.First segment is identified for detection, without being further processed. Second segment is the directory path information of destination folder, can obtain the fullpath of destination folder.Third section should to create The process number that file is.It can be obtained by the name of the destination folder according to the fullpath of the destination folder of second segment Claim.
Step S203 according to the process number for creating the file, determines the corresponding application packet title of process number.
, can be by the application belonging to pid query procedures after the process number for obtaining creating the file, and obtain and answer With packet name, it is hereby achieved that the corresponding application packet title of process number.
Step S204 establishes the title pass corresponding with the determining corresponding application packet title of process number of the file of establishment System.
After the title application packet title corresponding with determining process number of the file created, it is possible to establish The correspondence of the title of the file of establishment application packet title corresponding with determining process number, and the correspondence is carried out Storage, such as be stored in public database, it is inquired convenient for file manager.
For example, the title of the file of determining establishment as shown in Figure 4 application packet corresponding with determining process number The flow of the correspondence of title, the flow specifically include:
Step S401 starts detection service.
First, after system boot, start a service, illustrate entitled fileDetectService, and the effect of the service is Cycle performs and obtains newest log outputs.
Step S402 obtains log information.
For different size of log buffering areas, the log times length that can be stored is different, the buffering area for certain producer of illustrating The log of 10s can be preserved, in order to obtain all log, then the cycle period of fileDetectService can position 5s.
Step S403, parses log line by line.
Cycle every time, the log of nearest 10s first is obtained out by fileDetectService, and is parsed line by line.
Step S404 is judged with the presence or absence of detection mark in log, if so, S405 is entered step, if it is not, then entering step Rapid S404.
Detection mark (such as " twfx The app is Attempting to make are included when being resolved to certain a line content A dir ") when, this journey is individually stored and is further processed.It is third containing detection mark in following output log Row:
The first row:D twfx-block:startActivityLocked app:Com.hmct.vision userid= 0unlocked=false should_lock=false str=null
Second row:D twfx-block:IsFrontstack stack=Activity Stack { aea47bb Stacked=0,1tasks }
The third line:E system:twfx the app is Attempting to make a dir;/storage/ emulated/0/autonavi;5968
The third line statement namely detects the row information where mark.
Step S405 by label separating character string, gets pid and path.
Will comprising detection mark row be stored as character string, into line character processing, first by the character string according to ";" carry out Segmentation, according to our form, is eventually divided into three sections.First segment for void content with detection identify combination, this part without It need to be further processed.Second segment is the fullpath of establishment file, is denoted as path.The path is /storage/emulated/0/ autonavi.Third section is to create the process number of this document, is denoted as pid.The pid is 5968.
Step S406 obtains Path-sensitive address.
FileDetectService service acquisition Path-sensitives address can be that terminal device stores root herein:“/ storage/emulated/0”。
Step S407 judges whether include Path-sensitive in path, if so, step S408 is transferred to, if it is not, being then transferred to step Rapid S404.
Step S408 isolates the title of file from path.
Path is checked whether comprising Path-sensitive, if comprising, illustrate place that this document folder creates be we need into The position of row inquiry.Path-sensitive in path is removed, is exactly the relative directory and title of file.It is denoted as name.
Step S409 obtains the corresponding application packet names of pid or process name.
According to the application belonging to pid query procedures, and packet name is obtained, this two aspect of punishment:
First aspect:Using PackageManger application program management relevant interfaces, packet name is obtained.Such method can be with Obtain the packet name of application registered in android framework sides.
Second aspect:If first aspect can not get packet name, can by perform PS (Process Status, into Journey state) order, application process information is obtained, it is as follows:
u0_a111 5968 612 1197452 134924 sys_epoll_00f3ffc4c8 s com.autonavi.minimap。
Character string piecewise analytic can be carried out by space in PS information, final stage is exactly process name, if establish file Process be not a common application, can by process name but when a underlying services or executable file etc To know the title of the service.As can be known herein, entitled com.autonavi.minimap is wrapped in the application.
Step S410 is recorded as key-value pair in addressable tables of data using the title of file and using packet name.
It is recorded Bao Mingyu name as a matching list item in a region that can be inquired, in public database: Form is exemplified as:
Value (value):Com.autonavi.minimap, key (key):autonavi.The key and value is a key Value pair.
The storage mode of the tables of data is only a kind of example, without limitation, can also be other in practical application Storage mode come store above-mentioned folder name with application packet title correspondence.
Above-described embodiment shows the title by obtaining destination folder under root, according to the title of destination folder Folder name and the correspondence of application packet title are inquired, obtains and applies packet title corresponding to the title of destination folder, The title applied packet title, determine the application corresponding to destination folder according to corresponding to the title of destination folder.So as to Determining the destination folder is created by that application, inquires the source of this document, realizes the automatic knowledge of system application Do not go out true process or the application of establishment file.
Based on identical technical concept, Fig. 5 illustratively shows that a kind of application file provided in an embodiment of the present invention comes The device of source inquiry, the device can perform the flow of application file source inquiry, which can be terminal device, can also In terminal device.
As shown in figure 5, the device specifically includes:
Acquiring unit 501, for obtaining the title of destination folder under root;
Processing unit 502, for the name query folder name according to the destination folder and application packet title Correspondence obtains and applies packet title corresponding to the title of the destination folder;And according to the destination folder The title applied packet title, determine the application corresponding to the destination folder corresponding to title.
Optionally, the processing unit 502 is determining the folder name and application packet title according to following step During correspondence, it is specifically used for:
It obtains and parses journal file, determine the row information where the detection mark of the destination folder;
Row information where the detection mark of the destination folder is handled, obtains the name of the destination folder Claim and create the process number of the destination folder;
According to the process number for creating the destination folder, the corresponding application packet title of the process number is determined;
Establish the corresponding of the title application packet title corresponding with the determining process number of the destination folder Relationship.
Optionally, the processing unit 502 is at the row information where the detection mark to the destination folder Reason when determining the title of the destination folder and creating the process number of the destination folder, is specifically used for:
The row information where the detection mark of the destination folder is decomposed according to default first form, determines institute State the directory path information of destination folder and the process number for creating the destination folder;
According to the directory path information of the destination folder, the title of the destination folder is determined.
Optionally, the processing unit 502 is additionally operable to before the acquisition and parsing journal file:
When the destination folder creates, setting detection mark;
It obtains the directory path information of the destination folder and creates the process number of the destination folder;
It will be described in the detection mark, the directory path information of the destination folder and the establishment of the destination folder The process number of destination folder is attached according to the first preset format, generates journal file.
The embodiment of the present invention additionally provides a kind of computing device, including:Memory, for storing program instruction;
For calling the program instruction stored in the memory, above application is performed according to the program of acquisition for processor The method of document source inquiry.
The embodiment of the present invention additionally provides a kind of computer storage media, and the computer-readable recording medium storage has meter Calculation machine executable instruction, the computer executable instructions are used for the side that computer is made to perform the inquiry of above application document source Method.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

  1. A kind of 1. method of application file source inquiry, which is characterized in that including:
    Obtain the title of destination folder under root;
    According to the name query folder name of the destination folder and the correspondence of application packet title, the target is obtained Packet title is applied corresponding to the title of file;
    Packet title is applied according to corresponding to the title of the destination folder, determines the application corresponding to the destination folder Title.
  2. 2. the method as described in claim 1, which is characterized in that determine that the folder name is wrapped with application according to following step The correspondence of title, including:
    It obtains and parses journal file, determine the row information where the detection mark of the destination folder;
    To the destination folder detection mark where row information handle, determine the destination folder title and Create the process number of the destination folder;
    According to the process number for creating the destination folder, the corresponding application packet title of the process number is determined;
    Establish the correspondence of the title application packet title corresponding with the determining process number of the destination folder.
  3. 3. method as claimed in claim 2, which is characterized in that the row where the detection mark to the destination folder Information is handled, and is determined the title of the destination folder and is created the process number of the destination folder, including:
    The row information where the detection mark of the destination folder is decomposed according to default first form, determines the mesh Mark the directory path information of file and the process number for creating the destination folder;
    According to the directory path information of the destination folder, the title of the destination folder is determined.
  4. 4. method as claimed in claim 2, which is characterized in that before the acquisition and parsing journal file, further include:
    When the destination folder creates, setting detection mark;
    It obtains the directory path information of the destination folder and creates the process number of the destination folder;
    By the detection mark of the destination folder, the directory path information of the destination folder and the establishment target The process number of file is attached according to the first preset format, generates journal file.
  5. 5. a kind of device of application file source inquiry, which is characterized in that including:
    Acquiring unit, for obtaining the title of destination folder under root;
    Processing unit, for the name query folder name according to the destination folder and the corresponding pass of application packet title System obtains and applies packet title corresponding to the title of the destination folder;And the title institute according to the destination folder Corresponding application packet title determines the title of the application corresponding to the destination folder.
  6. 6. device as claimed in claim 5, which is characterized in that the processing unit is determining the file according to following step When pressing from both sides the correspondence of title and application packet title, it is specifically used for:
    It obtains and parses journal file, determine the row information where the detection mark of the destination folder;
    To the destination folder detection mark where row information handle, determine the destination folder title and Create the process number of the destination folder;
    According to the process number for creating the destination folder, the corresponding application packet title of the process number is determined;
    Establish the correspondence of the title application packet title corresponding with the determining process number of the destination folder.
  7. 7. device as claimed in claim 6, which is characterized in that the processing unit is in the detection mark to the destination folder Row information where knowing is handled, and is determined the title of the destination folder and is created the process number of the destination folder When, it is specifically used for:
    The row information where the detection mark of the destination folder is decomposed according to default first form, determines the mesh Mark the directory path information of file and the process number for creating the destination folder;
    According to the directory path information of the destination folder, the title of the destination folder is determined.
  8. 8. device as claimed in claim 6, which is characterized in that the processing unit it is described obtain and parse journal file it Before, it is additionally operable to:
    When the destination folder creates, setting detection mark;
    It obtains the directory path information of the destination folder and creates the process number of the destination folder;
    By the detection mark of the destination folder, the directory path information of the destination folder and the establishment target The process number of file is attached according to the first preset format, generates journal file.
  9. 9. a kind of computing device, which is characterized in that including:
    Memory, for storing program instruction;
    For calling the program instruction stored in the memory, 1 to 4 is required according to the program execution profit of acquisition for processor Any one of them method.
  10. 10. a kind of computer storage media, which is characterized in that the computer-readable recording medium storage has computer can perform Instruction, the computer executable instructions are used to that computer perform claim to be made to require 1 to 4 any one of them method.
CN201711450749.6A 2017-12-27 2017-12-27 A kind of method and device of application file source inquiry Pending CN108228770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711450749.6A CN108228770A (en) 2017-12-27 2017-12-27 A kind of method and device of application file source inquiry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711450749.6A CN108228770A (en) 2017-12-27 2017-12-27 A kind of method and device of application file source inquiry

Publications (1)

Publication Number Publication Date
CN108228770A true CN108228770A (en) 2018-06-29

Family

ID=62649188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711450749.6A Pending CN108228770A (en) 2017-12-27 2017-12-27 A kind of method and device of application file source inquiry

Country Status (1)

Country Link
CN (1) CN108228770A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN109669919A (en) * 2018-11-27 2019-04-23 麒麟合盛网络技术股份有限公司 Document source recognition methods and device
CN111651195A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 System dependency package conflict detection method and device
CN112882902A (en) * 2021-03-05 2021-06-01 深圳市迅雷网络技术有限公司 Thread source obtaining method, electronic equipment and computer readable storage device
CN113032038A (en) * 2021-02-25 2021-06-25 武汉深之度科技有限公司 Application program management method and device, computing equipment and readable storage medium
US20220156391A1 (en) * 2019-03-22 2022-05-19 Huawei Technologies Co., Ltd. File access right authentication method and electronic device
CN115037572A (en) * 2022-05-24 2022-09-09 成都天空卫士网络安全技术有限公司 Application request identification method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN104133641A (en) * 2014-07-24 2014-11-05 深圳市同洲电子股份有限公司 External storage equipment file deleting 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
CN105786805A (en) * 2014-12-15 2016-07-20 乐视移动智能信息技术(北京)有限公司 Intelligent mobile terminal, document manager and file display method of same
CN106991130A (en) * 2017-03-07 2017-07-28 广东欧珀移动通信有限公司 A kind of document handling method, device and intelligent terminal
CN107273401A (en) * 2017-04-21 2017-10-20 捷开通讯(深圳)有限公司 Management method, mobile device and the storage device of application data file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677880A (en) * 2012-09-17 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
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
CN104133641A (en) * 2014-07-24 2014-11-05 深圳市同洲电子股份有限公司 External storage equipment file deleting method and device
CN105786805A (en) * 2014-12-15 2016-07-20 乐视移动智能信息技术(北京)有限公司 Intelligent mobile terminal, document manager and file display method of same
CN106991130A (en) * 2017-03-07 2017-07-28 广东欧珀移动通信有限公司 A kind of document handling method, device and intelligent terminal
CN107273401A (en) * 2017-04-21 2017-10-20 捷开通讯(深圳)有限公司 Management method, mobile device and the storage device of application data file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
软件与技术研发小组编著: "《Visual Basic 2005程序设计实例教程》", 30 November 2006 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284261A (en) * 2018-10-18 2019-01-29 Oppo广东移动通信有限公司 Using lookup method, device, storage medium and electronic equipment
CN109669919A (en) * 2018-11-27 2019-04-23 麒麟合盛网络技术股份有限公司 Document source recognition methods and device
US20220156391A1 (en) * 2019-03-22 2022-05-19 Huawei Technologies Co., Ltd. File access right authentication method and electronic device
CN111651195A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 System dependency package conflict detection method and device
CN111651195B (en) * 2020-06-17 2024-03-12 深圳市钱海网络技术有限公司 System dependent packet conflict detection method and device
CN113032038A (en) * 2021-02-25 2021-06-25 武汉深之度科技有限公司 Application program management method and device, computing equipment and readable storage medium
CN113032038B (en) * 2021-02-25 2022-05-03 武汉深之度科技有限公司 Application program management method and device, computing equipment and readable storage medium
CN112882902A (en) * 2021-03-05 2021-06-01 深圳市迅雷网络技术有限公司 Thread source obtaining method, electronic equipment and computer readable storage device
CN115037572A (en) * 2022-05-24 2022-09-09 成都天空卫士网络安全技术有限公司 Application request identification method and device
CN115037572B (en) * 2022-05-24 2023-11-14 成都天空卫士网络安全技术有限公司 Application request identification method and device

Similar Documents

Publication Publication Date Title
CN108228770A (en) A kind of method and device of application file source inquiry
CN103400579B (en) A kind of speech recognition system and construction method
CN102946343B (en) The method and system of access audio frequency and video community virtual room
CN109829287A (en) Api interface permission access method, equipment, storage medium and device
CN110413282B (en) Redundant resource processing method, device, equipment and storage medium
EP2618278B1 (en) Synchronizing endpoint data stores having disparate schemas
JP2009116733A (en) Application retrieval system, application retrieval method, monitor terminal, retrieval server, and program
CN107797823A (en) Business Rule Management method, apparatus, storage medium and computer equipment
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
CN111488594A (en) Authority checking method and device based on cloud server, storage medium and terminal
CN117271460B (en) Scientific research digital networking service method and system based on scientific research digital object language relation
CN111818175A (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
CN113395340A (en) Information updating method, device, equipment, system and readable storage medium
CN110515979B (en) Data query method, device, equipment and storage medium
CN110333851B (en) Code decoupling method and related equipment
CN113709187B (en) Multi-server data request method, device, equipment and storage medium
CN108920246B (en) Form draft component sharing method and device, terminal device and readable storage medium
CN111488286B (en) Method and device for independently developing Android modules
JP2012159924A (en) Installation system
CN105094787B (en) Method and device for processing enterprise internet application
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN113691575B (en) Communication method, device and system
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN106446132B (en) Search processing method and device
CN105991727A (en) Content pushing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629