CN103473163A - Application program detection method and device - Google Patents
Application program detection method and device Download PDFInfo
- Publication number
- CN103473163A CN103473163A CN2013104131958A CN201310413195A CN103473163A CN 103473163 A CN103473163 A CN 103473163A CN 2013104131958 A CN2013104131958 A CN 2013104131958A CN 201310413195 A CN201310413195 A CN 201310413195A CN 103473163 A CN103473163 A CN 103473163A
- Authority
- CN
- China
- Prior art keywords
- application program
- application
- information
- file path
- detected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an application program detection method and device, and belongs to the technical field of computers. The method includes the steps: acquiring a preset file path associated with an installed application program; monitoring the preset file path associated with the application program; starting a management application installed in a terminal when monitoring that information in the preset file path associated with the application program is changed, and detecting the application program of the terminal according to an application program feature library of the management application. The device comprises an acquisition module, a monitoring module and a detection module. A certain application program installed in a terminal device is monitored in real time and detected again according to the preset application program feature library without active operation of a user when information corresponding to the application program installed in the terminal device is changed, the information of the application program can be acquired in real time, and more accurate service is provided.
Description
Technical field
The present invention relates to field of computer technology, particularly a kind of application program detection method and device.
Background technology
Along with terminal function from strength to strength, on a station terminal equipment, a plurality of application programs with various difference in functionalitys can be installed.For the application program various to quantity manages, usually, can utilize the management-type application program that is installed on terminal device.The management-type application program is that a class can application programs be downloaded, installs, unloaded and the application program of the operation such as upgrading.Whether the management-type application program can detect accurately certain a application program on subscriber set and install, and obtains its version number, thereby judges whether this application program needs upgrading etc.
In the prior art, the detection of management-type application program application programs can be carried out according to application program detected characteristics storehouse.This application program detected characteristics storehouse is configured by the developer, defined the application related information such as Uninstaller information, application program installation path and application version number of application program management class application program, so that the relevant information according to this definition is detected the application program on terminal device in testing process.
In realizing process of the present invention, the inventor finds that at least there is following problem in prior art:
Current management-type application program completed in the rear time period to carrying out before next application program detects of current application program detection, if certain a application program is not to be mounted, to unload or upgrading etc. in current management-type application program, current management-type application program can't be known, cause current management-type application program before carrying out complete detection, or the installment state of the application program that while detecting according to the last time, terminal device is installed is carried out operation indicating, do not know when detected, therefore service more accurately can't be provided.
Summary of the invention
Upgrade problem not in time in order to solve application information, the embodiment of the present invention provides a kind of application program detection method and device.Described technical scheme is as follows:
On the one hand, provide a kind of application program detection method, described method comprises: obtain the default file path be associated with mounted application program; Monitor the described default file path be associated; When the information in the default file path that monitors described application program changes, start the mounted management application of terminal, the application features storehouse of applying according to described management is detected the application program of described terminal.
On the other hand, provide a kind of application program pick-up unit, described device comprises: acquisition module, for obtaining the default file path be associated with mounted application program; Monitoring module, for monitoring the described default file path be associated; Detection module, while changing for the information in the default file path when monitoring described application program, start the mounted management application of terminal, and the application program according to the application features storehouse of described management application to described terminal is detected.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the mounted application program of real-time monitoring terminal equipment, when monitoring information corresponding to mounted certain application program of terminal device and change, in the situation that do not need user's active operation, again according to default application features storehouse, detected, can know in real time application information, service more accurately is provided.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the application program detection method that provides of the embodiment of the present invention;
Fig. 2 is the process flow diagram of the application program detection method that provides of the embodiment of the present invention;
Fig. 3 is the structural representation of the application program pick-up unit that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the terminal device that provides of the embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The application program detection method process flow diagram that Fig. 1 embodiment of the present invention provides, referring to Fig. 1, described method comprises:
101, obtain the default file path be associated with mounted application program;
102, monitor the default file path that this is associated;
When 103, the information in the default file path that monitors this application program changes, start the mounted management application of terminal, the application features storehouse of applying according to this management is detected the application program of this terminal.
Wherein, the information in this default file path at least comprises executable file or the DLL(Dynamic Linkable Library of mounted application program respective file, dynamic link library) each list item in file etc. and registration table.
The method that the embodiment of the present invention provides, by the mounted application program of real-time monitoring terminal equipment, when monitoring information corresponding to mounted certain application program of terminal device and change, in the situation that do not need user's active operation, again according to default application features storehouse, detected, can know in real time application information, service more accurately is provided.
Fig. 2 is the application program detection method process flow diagram that the embodiment of the present invention provides.The executive agent of this inventive embodiments is terminal device.Referring to Fig. 2, the method comprises:
201, according to default application features storehouse, this mounted application program is detected the default file path that record is used while detecting this mounted application program;
This step 201 is for obtaining the process in the default file path be associated with mounted application program, wherein, should default application features storehouse can carry for application program management software, for detection of the rule of terminal device set up applications, should stipulate the detection path for the much information of different application in default application features storehouse, as, for detection of the path of registration table unloading information and for detection of installation path of each file of application program etc.When terminal device is detected according to default application features storehouse, need to resolve default application features storehouse, the installation path of the path of the registration table unloading information obtained according to parsing, the file of this application program etc. is detected, during now, by detection, each path used is recorded as the default file path that application program is associated.
It should be noted that, when resolving default application features storehouse, label substance in different labels can be corresponding to different paths, and the corresponding relation in this label and path can be definite according to the compiling rule of program, and the embodiment of the present invention is not done concrete restriction to this.
The one section code in a certain application features storehouse of below only take describes as example:
Wherein, " 052CFB79-9D62-42E3-8A15-DE66C2C97C3E " in the reguninst label is for being illustrated in the path of this application program unloading information of registration table, in the file label " .. .. Bin * * * .exe " be the installation directory (file etc.) of application program, in embodiments of the present invention, only take above-mentioned code in example application programs feature database defined content be illustrated, for different compiling rules
The form of expression in this application features storehouse can be different.
Alternatively, above-mentioned steps 201 also can realize in the following manner: the first list item and the second list item in traversal terminal device registration table, the default file path that obtains the application program recorded in this first list item and the second list item.
Alternatively, the first list item is
HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Unin stall, the second list item is
HKEY_CURRENT_USER SOFTWARE Microsoft Windows CurrentVersion Uninst all, wherein,
HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion the key value of the Unin stall unloading information that is all application programs of installing of this locality in registration table,
HKEY_CURRENT_USER SOFTWARE Microsoft Windows CurrentVersion the unloading information of key value of Uninst all application software that is the current management-type application installation in registration table.
Particularly, the first list item and the second list item in traversal terminal device registration table in this step 201, the default file path that obtains the application program recorded in this first list item and the second list item comprises: traversal HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Unin stall and HKEY_CURRENT_USER SOFTWARE Microsoft Windows CurrentVersion sub-key value of Uninst all, the sub-key value traversed is recorded as to the default file path that the mounted application program of this terminal device is associated.
In addition, this step 201 can also, by default application features storehouse is resolved, be obtained the default file path that the mounted application program of this terminal device is associated.
202, the default file path of monitoring record;
Particularly, this step 202 comprises: by filter Driver on FSD, monitor the default file path of this application program; Or, by calling the function of corresponding function, monitor the default file path of this application program.
Alternatively, by calling the function of corresponding function, the default file path of monitoring this application program comprises: by calling the FindFirstChangeNotification function with monitoring specified file informational function, monitor the file path of the mounted application program of this terminal device, by calling the RegistryNotifyCallback function with monitoring registration table specified path function, monitor the registration table path of the mounted application program of this terminal device.
Particularly, the FindFirstChangeNotification function with monitoring specified file informational function that the present embodiment adopts windows to provide, the file path of the mounted application program of monitoring terminal equipment, concrete catalogue by this function in can the mounted application file of monitoring terminal equipment path, executable file in also can the monitoring application program file path, after the concrete catalogue of application program or file generation additions and deletions change, this function is notified current management-type application program; Employing has the RegistryNotifyCallback function of monitoring registration table specified path function, the registration table path of the mounted application program of monitoring terminal equipment, refer to the registry information in can the registration table path of the mounted application program of monitoring terminal equipment by this function, after the value of registration table changes, this function is notified current management-type application program.
The fileinfo and the registry information that it should be noted that the mounted application program of monitoring terminal equipment also can adopt other functions or software to realize.
In addition, this document filtration drive can the operation to mounted application program according to real-time monitoring active user, and this driving can be configured by the developer, and the embodiment of the present invention is not done restriction.
When 203, the information in the default file path that monitors this application program changes, start the mounted management application of terminal, the application features storehouse of applying according to this management is detected the application program of this terminal;
Particularly, default file path that should be associated with mounted application program is for the path of the registration table unloading information of storing mounted application program, installation directory, executable file, one or more in dynamic link library file, when certain application program is mounted, upgrading, when unloading is even revised, can increase, the path of deletion or edit the registry unloading information, installation directory, executable file, dynamic link library file etc., by the monitoring of step 202, the information that can monitor in the default file path of application program changes, that is to say, when the registry information that monitors certain application program association and fileinfo change, trigger according to default application features storehouse to terminal device each set up applications detected this application program.
Further, when the information in the default file path that monitors this application program changes, can determine current variation is for which application program to occur according to the information changed, therefore, this step 203 can be replaced by following step: when the information in the default file path that monitors this application program changes, obtain application program identification corresponding to information changed; Start the mounted management application of terminal, to the application program identification got, corresponding application program is detected in the application features storehouse of applying according to this management.The application program identification changed by basis selectively detects, rather than the mounted program of terminal is carried out to complete detection, has avoided the impact on the normal operation of terminal, can realize targetedly, detect more efficiently.As, when the information in the default file path A that monitors this application program changes, can know that the file of preserving in this default file path A belongs to the application program that application program identification is A1, obtain application program identification A1, after starting the management application, the application program of application programs sign A1 is detected.Certainly, in the process detected according to application program identification, can obtain installation directory title corresponding to this application program identification or registry information etc. according to application program identification, in order to detect the vestige of this application program in terminal according to these contents.
It should be noted that, terminal can be installed a plurality of management application, the application features storehouse of each management application can be different, and the information in the default file path being detected is while changing, can start the management application of acquiescence, management application under the application features storehouse of using in the time of can also starting the default file path that gets variation, as, ought to get with the application features storehouse of B default file path B1 by analytic tube, variation has occurred in the information in the follow-up B1 of knowing, starts management application B and is detected.
Wherein, when the information in the default file path that monitors described application program changes, obtain application program identification corresponding to information changed and comprise following any situation:
(1), when the registry information in the default file path that monitors described application program changes, obtain application program identification corresponding to registry information changed.
(2), when the unloading information in the default file path that monitors described application program changes, obtain application program identification corresponding to unloading information changed.
(3), when the installation directory in the default file path that described application program detected changes, obtain application program identification corresponding to installation directory changed.
For the application features storehouse, each default file path and application program are all relations one to one, therefore, can be by the information in default file path or default file path, as contents such as the unloading information in the default file path, installation directory and registry information, unique definite application program identification corresponding with it, thus carry out follow-up testing process according to application program identification.
The result that above-mentioned steps 203 monitors, can change according to the granularity of monitoring, as, monitor the some file paths that change when associated with certain application program when determining, only in step 203, triggering default application features storehouse is detected this application program, in order to know in time whether this application program the events such as version updating have occurred, if determine this application program installed upgraded version or unloaded, be modified etc., upgrade the application information of this application program.This renewal can refer in the software administration application program corresponding in this default application features storehouse to be upgraded, and for the ease of understanding, the following different situations to renewal describe:
204,, when the upgraded version of arbitrary application program being detected, upgrade the version information of the application program detected in the application information of this management application;
For the management application, the application information of management application comprises the version information of application program, therefore, (that is to say that the version number detected is greater than existing version number in the management application) when the upgraded version of arbitrary application program being detected, the version information of this application program is revised as to the version information detected.
205,, when arbitrary application program being detected when unloaded, the installment state of the application program in the application information of this management application, this detected is revised as unloaded;
For the management application, the application information of management application comprises the installment state of application program, as unloaded, install, install or to be downloaded etc., therefore, when arbitrary application program being detected when unloaded, the installment state of this application program is revised as unloaded so that the accurate status of prompting user this application program.
206,, when the installation file that arbitrary application program detected is modified, add the modification state of this application program detected in the application information of this management application.
For the management application, the application information of management application comprises the path etc. of the installation file of application program, therefore, when the installation file that arbitrary application program detected is modified, add the modification state of current application program in application information.For revising, this modification is likely the movement of the installation file of application programs, likely also first from some disks, to unload and be installed to again the medium situation of another disk, for above-mentioned modification situation, installation file all is modified, and for fear of this modification, is the malicious modification that operating mistake or some security breaches due to the user cause, and needs this modification is prompted to the terminal user, so that the user can view this modification state in time, thereby repair etc., save operation.
Further, when installation file is modified, can also in the application information be modified, adds and recover option, so that the user can recover option by selection, by application recovery, this revises previous state.
The above-mentioned detection of the embodiment of the present invention includes but not limited to the detection of application programs installation, unloaded state and version information etc., in fact, function difference according to different software management application program, the project of its detection also may have other guide, and the embodiment of the present invention is not done concrete restriction to this.
The method that the embodiment of the present invention provides, fileinfo and registry information by the mounted application program of monitoring terminal equipment, when the fileinfo that monitors mounted certain application program of terminal device and registry information variation, in the situation that do not need user's active operation, automatically according to default application features storehouse, this application program is detected, can be known in real time application information.
Fig. 3 is the structural representation of the application program pick-up unit that provides of the embodiment of the present invention.Referring to Fig. 3, described device comprises: acquisition module 301, monitoring module 302 and detection module 303, and wherein, acquisition module 301 is for obtaining the default file path be associated with mounted application program; Acquisition module 301 is connected with monitoring module 302, and monitoring module 302 is for monitoring the described default file path be associated; Monitoring module 302 is connected with detection module 303, when detection module 303 changes for the information in the default file path when monitoring described application program, start the mounted management application of terminal, the application features storehouse of applying according to described management is detected the application program of described terminal.
Alternatively, described acquisition module 301, for according to default application features storehouse, is detected described mounted application program, the default file path that record is used while detecting described mounted application program.
Alternatively, first list item and second list item of described acquisition module 301 for traveling through registration table, the default file path that obtains the described mounted application program recorded in described the first list item and the second list item.
Alternatively, described detection module 303 comprises: the application identities acquiring unit, while changing for the information in the default file path when monitoring described application program, obtain application program identification corresponding to information changed; Detecting unit, for starting the mounted management application of terminal, to the application program identification got, corresponding application program is detected in the application features storehouse of applying according to described management.
Described application identities acquiring unit, for when the registry information in the default file path that monitors described application program changes, obtains application program identification corresponding to registry information changed; Or described application identities acquiring unit, for when the unloading information in the default file path that monitors described application program changes, obtains application program identification corresponding to unloading information changed; Or described application identities acquiring unit, for when the installation directory in the default file path that described application program detected changes, obtains application program identification corresponding to installation directory changed.
Alternatively, described device also comprises: update module, for when the upgraded version of arbitrary application program being detected, upgrade the version information of the application program detected in the application information of described management application; Or modified module for when arbitrary application program being detected when unloaded, is revised as unloaded state by the installment state of the described application program detected in the application information of described management application; Or, add module, while being modified for the installation file when arbitrary application program being detected, add the modification state of the described application program detected in the application information of described management application.
Alternatively, the default file path that described and mounted application program is associated is one or more for the path of the registration table unloading information of storing described mounted application program, installation directory, executable file, dynamic link library file.
It should be noted that: the application program pick-up unit that above-described embodiment provides is when application program detects, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure of the system of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the application program pick-up unit that above-described embodiment provides and application program detection method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of terminal device structural representation that the embodiment of the present invention provides.Referring to Fig. 4, the application program detection method that this terminal device can provide for implementing above-described embodiment.Specifically:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 110 is the RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, will relate to up data and send to base station.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by operation, thereby carries out various function application and data processing.Storer 120 can mainly comprise storage program district and storage data field, wherein, but the required application program (such as sound-playing function, image player function etc.) of storage program district storage operation system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to terminal device 400 creates etc. can be stored in the storage data field.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of storeies 120 of input block to be provided.
Input block 130 can be used for receiving numeral or the character information of input, and generation arranges with the user and function is controlled relevant keyboard, mouse, control lever, optics or the input of trace ball signal.Particularly, input block 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect the user or near touch operation (use any applicable objects such as finger, stylus or annex such as the user on touch-sensitive surperficial 131 or near the operation touch-sensitive surperficial 131) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
In order to realize radio communication, can dispose wireless communication unit 170 on this terminal device, this wireless communication unit 170 can be the WiFi module.WiFi belongs to the short range wireless transmission technology, terminal device 400 by wireless communication unit 170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Fig. 4 shows wireless communication unit 170, be understandable that, it does not belong to must forming of terminal device 400, fully can be as required in the scope of the essence that does not change invention and omit.
Although not shown, terminal device 400 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal device is touch-screen display, terminal device also includes storer, and one or more than one program, one of them or an above program are stored in storer, and be configured to be carried out by one or an above processor, described one or above routine package are containing for carrying out the instruction of following operation: obtain the default file path be associated with mounted application program; Monitor the described default file path be associated; When the information in the default file path that monitors described application program changes, start the mounted management application of terminal, the application features storehouse of applying according to described management is detected the application program of described terminal.
Alternatively, described one or above routine package are containing for carrying out the instruction of following operation:
According to default application features storehouse, described mounted application program is detected to the default file path that record is used while detecting described mounted application program.
Alternatively, described one or above routine package are containing for carrying out the instruction of following operation:
The first list item and the second list item in the traversal registration table, the default file path that obtains the described mounted application program recorded in described the first list item and the second list item.
Alternatively, described one or above routine package are containing for carrying out the instruction of following operation:
When the information in the default file path that monitors described application program changes, obtain application program identification corresponding to information changed;
Start the mounted management application of terminal, to the application program identification got, corresponding application program is detected in the application features storehouse of applying according to described management.
Alternatively, described one or above routine package are containing for carrying out the instruction of following operation:
When the registry information in the default file path that monitors described application program changes, obtain application program identification corresponding to registry information changed; Or,
When the unloading information in the default file path that monitors described application program changes, obtain application program identification corresponding to unloading information changed; Or,
When the installation directory in the default file path that described application program detected changes, obtain application program identification corresponding to installation directory changed.
Alternatively, described one or above routine package are containing for carrying out the instruction of following operation:
When the upgraded version of arbitrary application program being detected, upgrade the version information of the application program detected in the application information of described management application; Or,
When arbitrary application program being detected when unloaded, in the application information of described management application, the installment state of the described application program detected is revised as to unloaded state; Or,
When the installation file that arbitrary application program detected is modified, add the modification state of the described application program detected in the application information of described management application.
Alternatively, the default file path that described and mounted application program is associated is one or more for the path of the registration table unloading information of storing described mounted application program, installation directory, executable file, dynamic link library file.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (14)
1. an application program detection method, is characterized in that, described method comprises:
Obtain the default file path be associated with mounted application program;
Monitor the described default file path be associated;
When the information in the default file path that monitors described application program changes, start the mounted management application of terminal, the application features storehouse of applying according to described management is detected the application program of described terminal.
2. method according to claim 1, is characterized in that, obtains the default file path be associated with mounted application program and comprise:
According to default application features storehouse, described mounted application program is detected to the default file path that record is used while detecting described mounted application program.
3. method according to claim 1, is characterized in that, obtains the default file path be associated with mounted application program and comprise:
The first list item and the second list item in the traversal registration table, the default file path that obtains the described mounted application program recorded in described the first list item and the second list item.
4. method according to claim 1, it is characterized in that, when the information in the default file path that monitors described application program changes, start the mounted management application of terminal, according to the application features storehouse of described management application, the application program of described terminal detected and comprises:
When the information in the default file path that monitors described application program changes, obtain application program identification corresponding to information changed;
Start the mounted management application of terminal, to the application program identification got, corresponding application program is detected in the application features storehouse of applying according to described management.
5. method according to claim 4, is characterized in that, when the information in the default file path that monitors described application program changes, obtains application program identification corresponding to information changed and comprise:
When the registry information in the default file path that monitors described application program changes, obtain application program identification corresponding to registry information changed; Or,
When the unloading information in the default file path that monitors described application program changes, obtain application program identification corresponding to unloading information changed; Or,
When the installation directory in the default file path that described application program detected changes, obtain application program identification corresponding to installation directory changed.
6. method according to claim 1, is characterized in that, after according to the application features storehouse of described management application, the application program of described terminal being detected, described method also comprises:
When the upgraded version of arbitrary application program being detected, upgrade the version information of the application program detected in the application information of described management application; Or,
When arbitrary application program being detected when unloaded, in the application information of described management application, the installment state of the described application program detected is revised as to unloaded state; Or,
When the installation file that arbitrary application program detected is modified, add the modification state of the described application program detected in the application information of described management application.
7. according to the described method of the arbitrary claim of claim 1-6, it is characterized in that, the default file path that described and mounted application program is associated is one or more for the path of the registration table unloading information of storing described mounted application program, installation directory, executable file, dynamic link library file.
8. an application program pick-up unit, is characterized in that, described device comprises:
Acquisition module, for obtaining the default file path be associated with mounted application program;
Monitoring module, for monitoring the described default file path be associated;
Detection module, while changing for the information in the default file path when monitoring described application program, start the mounted management application of terminal, and the application program according to the application features storehouse of described management application to described terminal is detected.
9. device according to claim 8, is characterized in that, described acquisition module, for according to default application features storehouse, is detected described mounted application program, the default file path that record is used while detecting described mounted application program.
10. device according to claim 8, is characterized in that, described acquisition module is for traveling through the first list item and second list item of registration table, the default file path that obtains the described mounted application program recorded in described the first list item and the second list item.
11. device according to claim 8, is characterized in that, described detection module comprises:
The application identities acquiring unit, while changing for the information in the default file path when monitoring described application program, obtain application program identification corresponding to information changed;
Detecting unit, for starting the mounted management application of terminal, to the application program identification got, corresponding application program is detected in the application features storehouse of applying according to described management.
12. device according to claim 11, it is characterized in that, described application identities acquiring unit, for when the registry information in the default file path that monitors described application program changes, obtains application program identification corresponding to registry information changed; Or,
Described application identities acquiring unit, for when the unloading information in the default file path that monitors described application program changes, obtains application program identification corresponding to unloading information changed; Or,
Described application identities acquiring unit, for when the installation directory in the default file path that described application program detected changes, obtains application program identification corresponding to installation directory changed.
13. device according to claim 8, is characterized in that, described device also comprises:
Update module for when the upgraded version of arbitrary application program being detected, is upgraded the version information of the application program detected in the application information of described management application; Or,
Modified module for when arbitrary application program being detected when unloaded, is revised as unloaded state by the installment state of the described application program detected in the application information of described management application; Or,
Add module, while being modified for the installation file when arbitrary application program being detected, add the modification state of the described application program detected in the application information of described management application.
14. the described device of according to Claim 8-13 arbitrary claim, it is characterized in that, the default file path that described and mounted application program is associated is one or more for the path of the registration table unloading information of storing described mounted application program, installation directory, executable file, dynamic link library file.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310413195.8A CN103473163B (en) | 2013-09-11 | 2013-09-11 | application program detection method and device |
PCT/CN2014/083502 WO2015035835A1 (en) | 2013-09-11 | 2014-08-01 | Method and apparatus for detecting application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310413195.8A CN103473163B (en) | 2013-09-11 | 2013-09-11 | application program detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103473163A true CN103473163A (en) | 2013-12-25 |
CN103473163B CN103473163B (en) | 2016-10-26 |
Family
ID=49798028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310413195.8A Active CN103473163B (en) | 2013-09-11 | 2013-09-11 | application program detection method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103473163B (en) |
WO (1) | WO2015035835A1 (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104133703A (en) * | 2014-07-31 | 2014-11-05 | 珠海市君天电子科技有限公司 | Method and device for determining software not used frequently |
CN104156414A (en) * | 2014-07-30 | 2014-11-19 | 珠海市君天电子科技有限公司 | Terminal, device and method for clearing junk files |
CN104376259A (en) * | 2014-09-12 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Method and device for detecting viruses |
WO2015035835A1 (en) * | 2013-09-11 | 2015-03-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for detecting application program |
CN104978237A (en) * | 2014-04-11 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Method and device for repairing dynamic link library file |
CN105610878A (en) * | 2014-10-30 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Directory uploading method, data releasing method, terminal and server |
CN106709346A (en) * | 2016-11-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | File processing method and device |
CN104035858B (en) * | 2014-06-27 | 2017-06-09 | 珠海市君天电子科技有限公司 | A kind of method of monitoring software, communication terminal and server |
US9870215B2 (en) | 2015-11-30 | 2018-01-16 | International Business Machines Corporation | Tracking an application installation state |
CN108363546A (en) * | 2017-07-14 | 2018-08-03 | 北京安天网络安全技术有限公司 | A kind of Linux platform rubbish cleaning trustship method and system |
CN108762821A (en) * | 2017-04-18 | 2018-11-06 | 海马云(天津)信息技术有限公司 | Device and method, the electronic equipment of electronic equipment operation application |
CN109597656A (en) * | 2017-09-28 | 2019-04-09 | 北京国双科技有限公司 | Application executing method and device |
CN110413474A (en) * | 2019-06-18 | 2019-11-05 | 深圳壹账通智能科技有限公司 | Method for monitoring application program, device, electronic equipment and storage medium |
CN112114649A (en) * | 2020-09-07 | 2020-12-22 | Tcl通讯(宁波)有限公司 | Temperature adjusting method and device, storage medium and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751593A (en) * | 2008-11-28 | 2010-06-23 | 爱思开电讯投资(中国)有限公司 | Smart card and backup, recovering method and system thereof |
CN101789888A (en) * | 2010-01-12 | 2010-07-28 | 腾讯科技(深圳)有限公司 | Detection method and device for software installation |
CN102331945A (en) * | 2011-09-16 | 2012-01-25 | 北京思创银联科技股份有限公司 | Application management method based on electronic store |
CN102736978A (en) * | 2012-06-26 | 2012-10-17 | 奇智软件(北京)有限公司 | Method and device for detecting installation status of application program |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060015493A1 (en) * | 2004-07-15 | 2006-01-19 | International Business Machines Corporation | Enhanced records manager and related methods |
CN101604268B (en) * | 2009-07-13 | 2011-04-06 | 浪潮电子信息产业股份有限公司 | Method for filtering monitored directory change events |
CN101833489B (en) * | 2010-05-06 | 2013-04-10 | 北京邮电大学 | Method for file real-time monitoring and intelligent backup |
CN102609532B (en) * | 2012-02-15 | 2014-07-23 | 大唐移动通信设备有限公司 | Method and device for monitoring file directory |
CN102833267A (en) * | 2012-09-14 | 2012-12-19 | 山东中创软件商用中间件股份有限公司 | Method and device for protecting webpage security |
CN103473163B (en) * | 2013-09-11 | 2016-10-26 | 腾讯科技(深圳)有限公司 | application program detection method and device |
-
2013
- 2013-09-11 CN CN201310413195.8A patent/CN103473163B/en active Active
-
2014
- 2014-08-01 WO PCT/CN2014/083502 patent/WO2015035835A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751593A (en) * | 2008-11-28 | 2010-06-23 | 爱思开电讯投资(中国)有限公司 | Smart card and backup, recovering method and system thereof |
CN101789888A (en) * | 2010-01-12 | 2010-07-28 | 腾讯科技(深圳)有限公司 | Detection method and device for software installation |
CN102331945A (en) * | 2011-09-16 | 2012-01-25 | 北京思创银联科技股份有限公司 | Application management method based on electronic store |
CN102736978A (en) * | 2012-06-26 | 2012-10-17 | 奇智软件(北京)有限公司 | Method and device for detecting installation status of application program |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015035835A1 (en) * | 2013-09-11 | 2015-03-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for detecting application program |
CN104978237B (en) * | 2014-04-11 | 2019-03-19 | 腾讯科技(深圳)有限公司 | The method and apparatus for repairing dynamic link library file |
CN104978237A (en) * | 2014-04-11 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Method and device for repairing dynamic link library file |
CN104035858B (en) * | 2014-06-27 | 2017-06-09 | 珠海市君天电子科技有限公司 | A kind of method of monitoring software, communication terminal and server |
CN104156414A (en) * | 2014-07-30 | 2014-11-19 | 珠海市君天电子科技有限公司 | Terminal, device and method for clearing junk files |
CN104133703A (en) * | 2014-07-31 | 2014-11-05 | 珠海市君天电子科技有限公司 | Method and device for determining software not used frequently |
CN104376259A (en) * | 2014-09-12 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Method and device for detecting viruses |
CN105610878B (en) * | 2014-10-30 | 2020-03-03 | 腾讯科技(深圳)有限公司 | Directory uploading method, data publishing method, terminal and server |
CN105610878A (en) * | 2014-10-30 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Directory uploading method, data releasing method, terminal and server |
US10078506B2 (en) | 2015-11-30 | 2018-09-18 | International Business Machines Corporation | Tracking an application installation state |
US9870215B2 (en) | 2015-11-30 | 2018-01-16 | International Business Machines Corporation | Tracking an application installation state |
CN106709346A (en) * | 2016-11-25 | 2017-05-24 | 腾讯科技(深圳)有限公司 | File processing method and device |
CN106709346B (en) * | 2016-11-25 | 2019-08-06 | 腾讯科技(深圳)有限公司 | Document handling method and device |
CN108762821A (en) * | 2017-04-18 | 2018-11-06 | 海马云(天津)信息技术有限公司 | Device and method, the electronic equipment of electronic equipment operation application |
CN108363546A (en) * | 2017-07-14 | 2018-08-03 | 北京安天网络安全技术有限公司 | A kind of Linux platform rubbish cleaning trustship method and system |
CN109597656A (en) * | 2017-09-28 | 2019-04-09 | 北京国双科技有限公司 | Application executing method and device |
CN110413474A (en) * | 2019-06-18 | 2019-11-05 | 深圳壹账通智能科技有限公司 | Method for monitoring application program, device, electronic equipment and storage medium |
CN112114649B (en) * | 2020-09-07 | 2022-06-10 | Tcl通讯(宁波)有限公司 | Temperature adjusting method and device, storage medium and mobile terminal |
CN112114649A (en) * | 2020-09-07 | 2020-12-22 | Tcl通讯(宁波)有限公司 | Temperature adjusting method and device, storage medium and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2015035835A1 (en) | 2015-03-19 |
CN103473163B (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473163A (en) | Application program detection method and device | |
CN103544033B (en) | Method, device and associated equipment for rolling back application program | |
CN104134034B (en) | Control the method and apparatus that application runs | |
CN104135500B (en) | The method and system that prompting application upgrades | |
CN105278937A (en) | Method and device for displaying pop-up box messages | |
CN103500002A (en) | Method, device and terminal equipment for managing application program | |
CN103455348B (en) | Subarea adjustment, device, terminal, server and system | |
CN104169856A (en) | Sidebar menu display method and apparatus, and terminal | |
CN103677903A (en) | Mobile terminal intelligent upgrade method and device, and electronic equipment | |
CN104965721A (en) | Method and apparatus for updating an application | |
CN104598262A (en) | Method and device for updating mobile application | |
CN104965716A (en) | Icon updating method, client apparatus, and terminal apparatus | |
CN104572819A (en) | Clearing method and system for junk data | |
CN104572430A (en) | Method, device and system for testing terminal application interface | |
WO2015078342A1 (en) | Method for acquiring memory information, and terminal | |
CN103473092A (en) | Method and device for processing downloaded applications and terminal equipment | |
CN103455343A (en) | Method and device for updating application programs | |
CN104093123A (en) | Application program information pushing method, device and system and mobile terminal | |
CN104252341A (en) | Method and device for resurfacing application program and client side device of application program | |
CN103634311A (en) | Safety protection method and device, and terminal | |
US20220255639A1 (en) | Radio frequency parameter processing method and device, and mobile terminal and storage medium | |
CN103631625A (en) | Data acquisition method, user terminal, server and system | |
CN104133693B (en) | Installment state detection method, device and terminal | |
EP3129883B1 (en) | Method and apparatus for repairing dynamic link library file | |
CN105278942B (en) | Component management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |