WO2015035835A1 - Method and apparatus for detecting application program - Google Patents

Method and apparatus for detecting application program Download PDF

Info

Publication number
WO2015035835A1
WO2015035835A1 PCT/CN2014/083502 CN2014083502W WO2015035835A1 WO 2015035835 A1 WO2015035835 A1 WO 2015035835A1 CN 2014083502 W CN2014083502 W CN 2014083502W WO 2015035835 A1 WO2015035835 A1 WO 2015035835A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
information
application program
registry
file path
Prior art date
Application number
PCT/CN2014/083502
Other languages
French (fr)
Chinese (zh)
Inventor
拓鑫
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2015035835A1 publication Critical patent/WO2015035835A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an application detection method and apparatus. Background technique
  • the embodiment of the present invention provides an application detection method and apparatus.
  • the technical solution is as follows:
  • an embodiment of the present invention provides an application detection method, where the method includes:
  • an embodiment of the present invention provides an application detecting apparatus, where the apparatus includes:
  • An obtaining module configured to obtain a file path associated with the application
  • a monitoring module configured to monitor the file path
  • a detecting module configured to detect the application by using an application feature library when a file in the file path changes.
  • Another embodiment of the present invention provides an application detection method, where the method includes: monitoring a registry;
  • Another embodiment of the present invention provides an application detecting apparatus, including: a registry monitoring module, configured to monitor a registry;
  • the detecting module is configured to detect an application corresponding to the changed registry information when the registry information in the registry changes.
  • the file path associated with the application is obtained, and the file path is monitored.
  • the application is detected by using the application feature database.
  • the embodiment of the invention can obtain accurate application information and provide accurate service.
  • FIG. 1 is a flowchart of an application detection method according to an embodiment of the present invention
  • 2 is a flowchart of another application detection method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an application detection apparatus according to an embodiment of the present invention
  • FIG. 4 is an execution program detection function according to an embodiment of the present invention. Schematic diagram of the terminal device;
  • FIG. 5 is a schematic flow chart of another application detection method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another application detecting apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another terminal device for performing an application detection function according to an embodiment of the present invention. detailed description
  • Management applications can use the application detection signature database to detect applications.
  • the application detection signature database records information about the application, such as the uninstaller information for the application, the installation path of the application, and the version number of the application. During the detection process, the application on the terminal device is detected according to the relevant information of the definition.
  • the management application does not provide a more accurate service based on the installation status of the application that was last detected. For example, if the application has been upgraded by another management application during this time, the management application will also give an upgrade prompt. For another example, if the application has been uninstalled by other management applications during this time, the management application will also give Tips for installation.
  • FIG. 1 is a flowchart of an application detection method according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
  • the application is detected by using the application feature library.
  • the files in the file path include at least: an executable file of the installed application corresponding file or a DLL (Dynamic Linkable Library) file, and various entries in the registry.
  • DLL Dynamic Linkable Library
  • the method provided by the embodiment of the present invention by monitoring the file path associated with the installed application on the terminal device, when the file in the file path is monitored to be changed, without the user actively operating,
  • the application is detected according to the application signature database, and the state information of the application can be accurately obtained to provide more accurate services.
  • FIG. 2 is a flowchart of another application detection method according to an embodiment of the present invention.
  • the execution subject of the embodiment of the invention is a terminal device. Referring to Figure 2, the method includes:
  • a file path associated with the installed application is obtained.
  • the application feature library may be a rule that is included in the application management software and is used to detect that the terminal device has an installed application.
  • the application signature library specifies detection paths for various information of different applications, such as a path for detecting registry uninstallation information and an installation path for detecting various files of an application.
  • the terminal device performs detection according to the application signature database, the application signature database needs to be parsed, and the path of the registry uninstallation information obtained by the parsing, the installation path of the application file, and the like are detected, and at this time, the detection is used. Each path is recorded as the file path associated with the application.
  • the tag content in different tags may correspond to different paths, and the correspondence between the tags and the path may be determined according to a program compiling rule.
  • the contents specified in the program feature library are illustrated.
  • the application signature library can behave differently for different compilation rules.
  • the foregoing step 201 is also implemented by: traversing the first entry and the second entry in the registry of the terminal device, and obtaining a file path of the application recorded in the first entry and the second entry. .
  • the first item is
  • HKEY_LOCAL_MACHINE SOFTWARE ⁇ Microsoft ⁇ Windows ⁇ CurrentVers ion ⁇ Uninstall.
  • the second entry is
  • HKEY_CURRENT_USER SOFTWARE ⁇ Microsoft ⁇ Windows ⁇ CurrentVersio n ⁇ Uninstall. among them ,
  • HKEY_LOCAL_MACHINE ⁇ SOFTWARE ⁇ Microsoft ⁇ Windows ⁇ CurrentVers ion ⁇ Uninstall The health value is the uninstallation information for all applications installed locally in the registry.
  • the health value of HKEY_CURRENT_USER ⁇ SOFTWARE ⁇ Microsoft ⁇ Windows ⁇ CurrentVersio n ⁇ Uninstall is the uninstallation information of the application installed by the current management class application in the registry.
  • step 201 the first entry and the second entry in the registry of the terminal device are traversed, and the file path of the application recorded in the first entry and the second entry is obtained: traversing
  • the step 201 can also obtain a file path associated with the application installed by the terminal device by parsing the application signature database.
  • the step 202 includes: monitoring a file path of the application by using a file filtering driver; or monitoring a file path of the application by calling a function of the corresponding function.
  • monitoring the file path of the application includes: monitoring the file path of the installed application of the terminal device by calling the FindFirstChangeNotification function with the function of monitoring the specified file information, by calling the path specified by the monitoring registry
  • the RegistryNotifyCallback function which monitors the registry path of the application that the terminal device has installed.
  • the present embodiment uses the FindFirstChangeNotification function provided by Windows to monitor the specified file information function, and monitors the file path of the installed application of the terminal device, and the function can monitor the specific file path of the installed application file of the terminal device.
  • Directory you can also monitor executable files in the application file path, in the application
  • This function notifies the current management application after the specific directory or file has been added or deleted.
  • the RegistryNotifyCallback function with the function of monitoring the specified path of the registry, the monitoring terminal device monitors the registry path of the installed application, and the function means that the registry information in the registry path of the installed application of the terminal device can be monitored. This function notifies the current management class application after the value of the registry has changed.
  • file and registry information under the file path associated with the application installed by the terminal device can be monitored by other functions or software.
  • the file filtering driver can monitor the operation of the installed user by the current user, which is not limited in the embodiment of the present invention.
  • the application is detected by using an application feature library.
  • the file path associated with the installed application is used to store one or more of the path, installation directory, executable file, dynamic link library file of the registry uninstallation information of the installed application.
  • the path to the registry uninstall information, the installation directory, executable files, dynamic link library files, and so on are added, removed, or modified.
  • the step 203 can be replaced by the following steps:
  • the application identifier corresponding to the changed file is obtained.
  • the application corresponding to the obtained application identifier according to the application signature database is detected.
  • the embodiment of the present invention enters the corresponding application according to the changed application identifier. Line detection, instead of detecting all the programs installed on the terminal, avoids affecting the normal operation of the terminal, enabling targeted and more efficient detection.
  • the file saved in the file path A belongs to the application whose application identifier is A1.
  • the application identifier A1 is obtained, and the application corresponding to the application identifier A1 is detected.
  • the installation directory name or the registry information corresponding to the application identifier may be obtained according to the application identifier, so that the application is detected at the terminal according to the content.
  • the terminal can install multiple management applications, and the application signature database of each management application can be different, and when detecting that the file in the file path changes, the management application is used or the changed file is obtained.
  • the management application to which the application signature library used by the path belongs is detected.
  • the file path Bl is obtained by parsing the application signature database of the management application B, and if the file under B1 is known to be changed, the management application B is used for detection.
  • the application identifier corresponding to the changed file may be obtained as follows:
  • each file path and application are - corresponding. Therefore, the information in the file path or file path, such as the uninstallation information in the file path, the installation directory, and the registry information, can be uniquely determined.
  • the program is identified so that subsequent detection processes are performed based on the application identification.
  • the results monitored in the above step 203 may vary according to the granularity of the monitoring. For example, when it is determined that a file path that is detected to be changed is associated with an application, in step 203, the application signature database is triggered to detect the application, so as to know whether the application has a version update or the like in time. event. If it is determined that the application has an upgraded version installed, is uninstalled, modified, etc., update the application information for that application. It can be updated in the software management application corresponding to the application signature database.
  • the version information of the detected application is updated in the application information of the management application.
  • the application information for the management application includes version information for the application. Therefore, when an upgraded version of any application is detected (that is, the detected version number is greater than the existing version number in the management application), the version information of the application is modified to the detected version information.
  • the application information for the management application includes the installation status of the application, such as uninstalled, installed, not installed, or pending download. Therefore, when it is detected that any application is uninstalled, the installation state of the application is modified to be uninstalled to give an accurate status prompt.
  • the application information of the management application includes the path of the installation file of the application, and the like. Therefore, when it is detected that the installation file of any application is modified, the modification status of the current application is added to the application information. You can move the installation file of the application, or you can uninstall and install the installation file from a disk first. Go to another disk. In the above operation, the installation file is modified. In order to prevent the modification from being caused by the user's operation error or malicious modification caused by some security vulnerabilities, the modification needs to be prompted to the end user, so that the user can view the modification status in time. , thereby performing rescue operations such as repair.
  • a recovery option can also be added to the modified application information so that the user can restore the application to the state before the modification by selecting the recovery option.
  • version information, etc. are detected.
  • the detected items may be different, which is not specifically limited in the embodiment of the present invention.
  • a change of a file in a file path associated with an application is monitored.
  • the application may be detected according to an application signature database, which is accurate. Get the app information.
  • FIG. 3 is a schematic structural diagram of an application detecting apparatus according to an embodiment of the present invention.
  • the device includes: an obtaining module 301, a monitoring module 302, and a detecting module 303.
  • the get module 301 is used to obtain a file path associated with an installed application.
  • the acquisition module 301 is connected to the monitoring module 302.
  • the monitoring module 302 is configured to monitor the file path.
  • the monitoring module 302 is connected to the detecting module 303.
  • the detecting module 303 is configured to detect an application of the terminal according to an application feature library of the management application when a file in the file path of the application is detected to change.
  • the obtaining module 301 is configured to detect the installed application according to the application feature database, and record a file path used when detecting the installed application.
  • the obtaining module 301 is configured to traverse the first entry and the second entry in the registry to obtain a file path of the installed application recorded in the first entry and the second entry.
  • the detecting module 303 includes:
  • An application identifier obtaining unit configured to acquire an application identifier corresponding to the changed information when the file in the file path associated with the application is changed, and a detecting unit, configured to use the management application installed by the terminal The program detects the application corresponding to the obtained application identifier according to the application signature database of the management application.
  • the application identifier obtaining unit changes the registration information in the registry, the application identifier corresponding to the changed registry information is obtained.
  • the application identifier obtaining unit monitors that the uninstallation information under the file path of the application changes, the application identifier corresponding to the changed uninstallation information is acquired.
  • the application identifier obtaining unit detects that the installation directory under the file path of the application changes, the application identifier corresponding to the changed installation directory is obtained.
  • the device also includes:
  • an update module configured to: when the upgrade version of any application is detected, update the version information of the detected application in the application information of the management application;
  • a modifying module configured to modify an installation state of the detected application to an unloading state in application information of the management application when detecting that any application is uninstalled;
  • a adding module configured to add a modified state of the detected application to the application information of the management application when detecting that the installation file of any application is modified.
  • the file path associated with the installed application is used to store one or more of a path, an installation directory, an executable file, a dynamic link library file of the registry uninstallation information of the installed application.
  • the obtaining module 301, the monitoring module 302, the detecting module 303, the updating module, the modifying module, and the adding module may be machine readable instructions, and may be a hardware device or a combination of software and hardware.
  • FIG. 4 is a schematic structural diagram of a terminal device for performing a program detection function according to an embodiment of the present invention. Specifically:
  • the terminal device 400 may include: a communication unit 110, a memory 120 including one or more non-volatile computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless)
  • the fidelity module 170, the processor 180 of one or more processing cores, and the power supply 190 and the like may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • the communication unit 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call.
  • the communication unit 110 can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like.
  • RF Radio Frequency
  • the communication unit 110 is an RF circuit
  • the downlink information of the base station is received and processed by one or more processors 180.
  • data related to the uplink is transmitted to the base station.
  • an RF circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a user Identity Module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier), duplexer, etc.
  • SIM user Identity Module
  • the communication unit 110 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 can mainly include: a storage program area and a storage data area.
  • the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the terminal device 400.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input unit 130 may include a touch-sensitive surface 131 and other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or The operation in the vicinity of the touch-sensitive surface 131) and the corresponding connection means are driven according to a preset program.
  • the touch sensitive surface 131 can include: a touch detection device And the touch controller is two parts.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller.
  • the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it to the processor
  • the touch-sensitive surface 131 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 400. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the Sensor 150 can include: a light sensor, a motion sensor, and other sensors.
  • the light sensor can include: an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 141 and/or the backlight when the terminal device 400 moves to the ear.
  • a gravity acceleration sensor can detect the magnitude of acceleration in each direction (typically three axes). The magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the phone (such as horizontal Vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the terminal device 400 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the terminal device 400.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161.
  • the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then processed by the processor 180, and then transmitted to another terminal device via the RF circuit 110, or The audio data is output to the memory 120 for further processing.
  • the audio circuit 160 may also include: an earbud jack to provide communication of the peripheral earphones with the terminal device 400.
  • the wireless communication unit 170 can be a WiFi module.
  • WiFi is a short-range wireless transmission technology.
  • the user can use the wireless communication unit 170 to send and receive emails, browse web pages, and access streaming media.
  • the wireless communication unit 170 provides the user with wireless broadband Internet access functionality.
  • FIG. 4 shows the wireless communication unit 170. In a specific application, the terminal device 400 may not include the wireless communication unit 170.
  • the processor 180 is the control center of the terminal device 400.
  • the processor 180 connects various portions of the entire handset using various interfaces and lines, and executes each of the terminal devices 400 by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. Functions and processing data to monitor the phone as a whole.
  • Processor 180 can include one or more processing cores.
  • the processor 180 can integrate an application processor and a modem processor.
  • the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned processor 180 may not include a modem processor.
  • the power supply 190 can be logically connected to the processor 180 through the power management system to pass The power management system manages functions such as charging, discharging, and power management.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the terminal device is a touch screen display.
  • the terminal device 400 also includes a memory 120.
  • One or more programs are stored in memory 120 and are configured to be executed by one or more processors 180.
  • the one or more programs include instructions for: obtaining a file path associated with an installed application; monitoring the associated file path; when monitoring a file path of the application When the file changes, the application of the terminal is detected according to the application signature database.
  • the one or more programs include instructions for performing the following operations:
  • the installed application is detected according to the application signature library, and the file path used to detect the installed application is recorded.
  • the one or more programs include instructions for performing the following operations:
  • the first entry and the second entry in the registry are traversed, and the file path associated with the application recorded in the first entry and the second entry is obtained.
  • the one or more programs include instructions for performing the following operations:
  • the application corresponding to the acquired application identifier is detected according to the application signature database of the management application.
  • the one or more programs include instructions for performing the following operations:
  • the application identifier corresponding to the changed installation directory is obtained.
  • the one or more programs include instructions for performing the following operations:
  • the version information of the detected application is updated in the application information of the management application
  • the installed state of the detected application is modified to an uninstalled state in the application information of the management application;
  • the modified state of the detected application is added to the application information of the management application.
  • the file path associated with the installed application is used to store a path, an installation directory, an executable file, and a dynamic link library file of the registry uninstallation information of the installed application.
  • a path an installation directory
  • an executable file an executable file
  • a dynamic link library file of the registry uninstallation information of the installed application.
  • FIG. 5 is a schematic flow chart of another application detection method according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps.
  • Step 501 monitoring the registry.
  • Step 502 When the registry information in the registry changes, detecting an application corresponding to the changed registry information.
  • monitoring the registry when the registry in the registry When the information changes, the application corresponding to the changed registration information is detected. Because when the status of the application is updated, the corresponding registry information in the registry is modified, so when the registry information changes, the application corresponding to the registry information can be detected. Thus, the state of the application can be detected accurately and in a timely manner.
  • FIG. 6 is a schematic structural diagram of another application detecting apparatus according to an embodiment of the present invention.
  • the detecting device comprises: a registry monitoring module 601 and a detecting module 602.
  • the registry monitoring module 601 is configured to monitor the registry
  • the detecting module 602 is configured to detect an application corresponding to the changed registry information when the registry information in the registry changes.
  • the registry monitoring module 601 and the detecting module 602 may be machine readable instructions, and may be hardware devices or a collection of software and hardware.
  • FIG. 7 is a schematic structural diagram of another terminal device for performing an application detection function according to an embodiment of the present invention.
  • the detection device 700 includes a memory 720 and a processor 780.
  • the memory 720 is used to store a registry monitoring module 601 and a detection module 602.
  • the processor 780 is configured to communicate with the memory 720 to perform operations performed by the registry monitoring module 601 and the detecting module 602.
  • the detecting apparatus 700 may further include: at least one of a communication unit 710, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless communication unit 770, and a power source 790.
  • the input unit 730 can include: a touch sensitive surface 731 and other input devices 732.
  • the display unit 740 may include: a display panel 741.
  • the audio circuit 760 may include: a speaker 761 and a microphone 762.
  • the communication unit 710, the input unit 730, the display unit 740, the sensor 750, the audio circuit 760, the wireless communication unit 770, and the power source 790 can be respectively connected to the communication unit 110, the input unit 130, and the display unit 140, The functions and structures of the sensor 150, the audio circuit 160, the wireless communication unit 170, and the power supply 190 are the same.
  • the touch-sensitive surface 731 and other input devices 732 may be identical in function and structure to the touch-sensitive surface 131 and other input devices 132 described above, respectively.
  • the display panel 741 can be the same as the function and structure of the display panel 141 described above.
  • the speaker 761 and the microphone 762 can be identical in function and structure to the speaker 161 and the microphone 162, respectively.
  • a hardware module can include: A permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation.
  • the hardware modules may also include programmable logic devices or circuits (e.g., including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations.
  • programmable logic devices or circuits e.g., including general purpose processors or other programmable processors. The specific use of mechanical means, or the use of dedicated permanent circuits, or the use of temporarily configured circuits to implement hardware modules can be determined based on cost and time considerations.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

A method for detecting an application program. The method comprises: obtaining a file path associated with an application program; monitoring the file path; and when a file under the file path is changed, checking the application program by using an application program characteristic library.

Description

应用程序检测方法及装置  Application detection method and device
本申请要求于 2013 年 9 月 11 日提交中国专利局、 申请号为 201310413195.8, 发明名称为 "应用程序检测方法及装置" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  The present application claims priority to Chinese Patent Application No. 20131041319, the entire disclosure of which is hereby incorporated by reference. Technical field
本发明涉及计算机技术领域, 特别涉及应用程序检测方法及装置。 背景技术  The present invention relates to the field of computer technologies, and in particular, to an application detection method and apparatus. Background technique
随着终端设备功能的强大, 一台终端设备上可以安装多个具有不同 功能的应用程序。 可以利用安装在终端设备上的管理类应用程序管理这 些不同功能的应用程序。管理类应用程序以对应用程序进行下载、安装、 卸载和升级等。 管理类应用程序可以准确地检测某一应用程序是否已安 装在用户终端上, 并获取其版本号, 从而判断是否对该应用程序进行升 级等。 发明内容  With the power of terminal devices, multiple applications with different functions can be installed on one terminal device. Applications that manage these different features can be managed with a management-like application installed on the terminal device. Manage applications to download, install, uninstall, and upgrade applications. The management application can accurately detect whether an application has been installed on the user terminal and obtain its version number to determine whether to upgrade the application. Summary of the invention
为了解决应用程序信息更新不及时的问题, 本发明实施例提供了应 用程序检测方法及装置。 所述技术方案如下:  In order to solve the problem that the application information is not updated in time, the embodiment of the present invention provides an application detection method and apparatus. The technical solution is as follows:
一方面, 本发明实施例提供了一种应用程序检测方法, 所述方法包 括:  In one aspect, an embodiment of the present invention provides an application detection method, where the method includes:
获取与应用程序相关联的文件路径;  Get the file path associated with the application;
监控所述文件路径;  Monitoring the file path;
当所述文件路径下的文件发生变化时, 利用应用程序特征库对所述 应用程序进行检测。 另一方面, 本发明实施例提供了一种应用程序检测装置, 所述装置 包括: When the file under the file path changes, the application is detected by the application signature database. In another aspect, an embodiment of the present invention provides an application detecting apparatus, where the apparatus includes:
获取模块, 用于获取与应用程序相关联的文件路径;  An obtaining module, configured to obtain a file path associated with the application;
监控模块, 用于监控所述文件路径;  a monitoring module, configured to monitor the file path;
检测模块, 用于当所述文件路径下的文件发生变化时, 利用应用程 序特征库对所述应用程序进行检测。  And a detecting module, configured to detect the application by using an application feature library when a file in the file path changes.
本发明另一实施例提供了一种应用程序检测方法, 该方法包括: 监控注册表;  Another embodiment of the present invention provides an application detection method, where the method includes: monitoring a registry;
当所述注册表中的注册表信息发生变化时, 检测所述变化的注册表 信息对应的应用程序。  When the registry information in the registry changes, the application corresponding to the changed registry information is detected.
本发明另一实施例提供了一种应用程序检测装置, 包括: 注册表监控模块, 用于监控注册表;  Another embodiment of the present invention provides an application detecting apparatus, including: a registry monitoring module, configured to monitor a registry;
检测模块, 用于当所述注册表中的注册表信息发生变化时, 检测所 述变化的注册表信息对应的应用程序。  The detecting module is configured to detect an application corresponding to the changed registry information when the registry information in the registry changes.
在本发明实施例中, 获取与应用程序相关联的文件路径, 监控所述 文件路径, 当所述文件路径下的文件发生变化时, 利用应用程序特征库 对所述应用程序进行检测。 通过本发明实施例能够获取准确的应用程序 信息, 提供精准的服务。 附图说明  In the embodiment of the present invention, the file path associated with the application is obtained, and the file path is monitored. When the file in the file path changes, the application is detected by using the application feature database. The embodiment of the invention can obtain accurate application information and provide accurate service. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是本发明实施例提供的应用程序检测方法的流程图; 图 2是本发明实施例提供的另外一种应用程序检测方法的流程图; 图 3是本发明实施例提供的应用程序检测装置的结构示意图; 图 4是本发明实施例提供的执行程序检测功能的终端设备的结构示 意图; 1 is a flowchart of an application detection method according to an embodiment of the present invention; 2 is a flowchart of another application detection method according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of an application detection apparatus according to an embodiment of the present invention; FIG. 4 is an execution program detection function according to an embodiment of the present invention. Schematic diagram of the terminal device;
图 5为本发明实施例提供的另外一种应用程序检测方法的流程示意 图;  FIG. 5 is a schematic flow chart of another application detection method according to an embodiment of the present disclosure;
图 6为本发明实施例提供的另外一种应用程序检测装置的结构示意 图;  FIG. 6 is a schematic structural diagram of another application detecting apparatus according to an embodiment of the present invention;
图 7为本发明实施例提供的另外一种执行应用程序检测功能的终端 设备的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of another terminal device for performing an application detection function according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对 本发明实施方式作进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
管理类应用程序可以利用应用程序检测特征库对应用程序进行检 测。 该应用程序检测特征库记录了与应用程序相关的信息, 例如, 应用 程序的卸载程序信息、 应用程序的安装路径及应用程序的版本号。 在检 测过程中根据该定义的相关信息对终端设备上的应用程序进行检测。  Management applications can use the application detection signature database to detect applications. The application detection signature database records information about the application, such as the uninstaller information for the application, the installation path of the application, and the version number of the application. During the detection process, the application on the terminal device is detected according to the relevant information of the definition.
在检测完应用程序到下次检测该应用程序这段时间内, 如果该应用 程序被其它管理类应用程序安装、 卸载或升级, 当前管理类应用程序无 法获知该应用程序状态的改变。 所以, 该管理类应用程序才艮据上一次检 测获取的应用程序的安装状态进行操作提示, 无法提供更精准的服务。 例如, 如果在这段时间内, 该应用程序已被其它管理类应用程序升级, 该管理类应用程序还会给出升级提示。 再例如, 如果在这段时间内, 该 应用程序已被其它管理类应用程序卸载, 该管理类应用程序还会给出已 安装的提示。 If the application is installed, uninstalled, or upgraded by another management application during the time that the application is detected and the next time the application is detected, the current management application cannot know the change in the state of the application. Therefore, the management application does not provide a more accurate service based on the installation status of the application that was last detected. For example, if the application has been upgraded by another management application during this time, the management application will also give an upgrade prompt. For another example, if the application has been uninstalled by other management applications during this time, the management application will also give Tips for installation.
图 1本发明实施例提供的应用程序检测方法的流程图, 参见图 1, 所述方法包括:  FIG. 1 is a flowchart of an application detection method according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
101、 获取与已安装的应用程序相关联的文件路径。  101. Obtain a file path associated with the installed application.
102、 监控该文件路径。  102. Monitor the file path.
103、 当监控到该文件路径下的文件发生变化时, 利用应用程序特 征库对该应用程序进行检测。  103. When the file under the path of the file is monitored to be changed, the application is detected by using the application feature library.
其中, 该文件路径下的文件至少包括: 已安装的应用程序对应文件 的可执行文件或 DLL ( Dynamic Linkable Library, 动态链接库)文件等 以及注册表中的各个表项。  The files in the file path include at least: an executable file of the installed application corresponding file or a DLL (Dynamic Linkable Library) file, and various entries in the registry.
在本发明实施例提供的方法中, 通过监控终端设备上与已安装的应 用程序相关联的文件路径, 当监控到该文件路径下的文件发生变化时, 在不需要用户主动操作的情况下, 根据应用程序特征库对该应用程序进 行检测, 能够准确获知应用程序的状态信息, 提供更精准的服务。  In the method provided by the embodiment of the present invention, by monitoring the file path associated with the installed application on the terminal device, when the file in the file path is monitored to be changed, without the user actively operating, The application is detected according to the application signature database, and the state information of the application can be accurately obtained to provide more accurate services.
图 2是本发明实施例提供的另外一种应用程序检测方法的流程图。 该发明实施例的执行主体为终端设备。 参见图 2, 该方法包括:  FIG. 2 is a flowchart of another application detection method according to an embodiment of the present invention. The execution subject of the embodiment of the invention is a terminal device. Referring to Figure 2, the method includes:
201、 根据应用程序特征库, 对该已安装的应用程序进行检测, 记 录检测该已安装的应用程序时所使用的文件路径。  201. Detect the installed application according to the application signature database, and record the file path used when detecting the installed application.
在该步骤 201中, 获取与已安装的应用程序相关联的文件路径。 其 中, 该应用程序特征库可以为应用程序管理软件自带的、 用于检测终端 设备已安装应用程序的规则。 该应用程序特征库规定了不同应用程序的 多种信息的检测路径, 如, 用于检测注册表卸载信息的路径以及用于检 测应用程序各个文件的安装路径等。 当终端设备根据应用程序特征库进 行检测时, 需解析应用程序特征库, 根据解析得到的注册表卸载信息的 路径、 该应用程序的文件的安装路径等进行检测, 此时, 将检测时所用 的各个路径记录为应用程序相关联的文件路径。 In this step 201, a file path associated with the installed application is obtained. The application feature library may be a rule that is included in the application management software and is used to detect that the terminal device has an installed application. The application signature library specifies detection paths for various information of different applications, such as a path for detecting registry uninstallation information and an installation path for detecting various files of an application. When the terminal device performs detection according to the application signature database, the application signature database needs to be parsed, and the path of the registry uninstallation information obtained by the parsing, the installation path of the application file, and the like are detected, and at this time, the detection is used. Each path is recorded as the file path associated with the application.
需要说明的是, 在解析应用程序特征库时, 不同的标签中的标签内 容可以对应于不同的路径, 该标签与路径的对应关系可以根据程序的编 译规则确定。  It should be noted that, when parsing the application feature database, the tag content in different tags may correspond to different paths, and the correspondence between the tags and the path may be determined according to a program compiling rule.
5 下面以某一应用程序特征库的一段代码为例进行说明:  5 The following takes a piece of code from an application signature library as an example:
<reguninst>  <reguninst>
<value>00\{052CFB79-9D62-42E3-8A15-DE66C2C97C3E}</value> <value>00\{052CFB79-9D62-42E3-8A15-DE66C2C97C3E}</value>
</reguninst>  </reguninst>
l o <file> ..\..\B in\xxx. exe</file> l o <file> ..\..\B in\xxx. exe</file>
其 中 , reguninst 标 签 中 的 Among them, in the reguninst tag
"052CFB79-9D62-42E3-8A15-DE66C2C97C3E"用于表示在注册表中该 应用程序卸载信息的路径。 file标签中的 ".. \.ABin\xxx.exe" 为应用程序 的安装目录(文件夹等)。 在本发明实施例中, 以上述代码为例对应用"052CFB79-9D62-42E3-8A15-DE66C2C97C3E" is used to indicate the path to the application uninstallation information in the registry. The ".. \.ABin\xxx.exe" in the file tag is the installation directory (folder, etc.) of the application. In the embodiment of the present invention, the above code is taken as an example to apply
15 程序特征库中所规定的的内容进行举例说明。 对于不同的编译规则, 该 应用程序特征库的表现形式可以不同。 15 The contents specified in the program feature library are illustrated. The application signature library can behave differently for different compilation rules.
可选地, 上述步骤 201也可以通过以下方式实现: 遍历终端设备注 册表中的第一表项和第二表项, 获取该第一表项和第二表项中记录的应 用程序的文件路径。  Optionally, the foregoing step 201 is also implemented by: traversing the first entry and the second entry in the registry of the terminal device, and obtaining a file path of the application recorded in the first entry and the second entry. .
20 第 一 表 项 为 20 The first item is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall 。 第 二 表 项 为HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall. The second entry is
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall 。 其 中 ,HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall. among them ,
25 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall的健值为注册表中的本地安装的所有应用程序的卸载信息。 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall 的健值为注册表中的当前管理类应用程序安装的应用软件的 卸载信息。 25 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall The health value is the uninstallation information for all applications installed locally in the registry. The health value of HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall is the uninstallation information of the application installed by the current management class application in the registry.
具体地, 在该步骤 201中, 遍历终端设备注册表中的第一表项和第 二表项, 获取该第一表项和第二表项中记录的应用程序的文件路径包 括 : 遍 历 Specifically, in the step 201, the first entry and the second entry in the registry of the terminal device are traversed, and the file path of the application recorded in the first entry and the second entry is obtained: traversing
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall 和 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall 的子健值, 将遍历到的子健值记录为该终端设备已安装的应 用程序相关联的文件路径。 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers ion\Uninstall and HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall child health values, which are traversed to the child health value associated with the application installed by the terminal device file path.
另外, 该步骤 201还可以通过对应用程序特征库进行解析, 获取该 终端设备已安装的应用程序相关联的文件路径。  In addition, the step 201 can also obtain a file path associated with the application installed by the terminal device by parsing the application signature database.
202、 监控记录的文件路径;  202. Monitor the recorded file path;
具体地, 该步骤 202包括: 通过文件过滤驱动, 监控该应用程序的 文件路径; 或,通过调用相应功能的函数,监控该应用程序的文件路径。  Specifically, the step 202 includes: monitoring a file path of the application by using a file filtering driver; or monitoring a file path of the application by calling a function of the corresponding function.
通过调用相应功能的函数, 监控该应用程序的文件路径包括: 通过 调用具有监控指定文件信息功能的 FindFirstChangeNotification函数, 监 控该终端设备已安装的应用程序的文件路径, 通过调用具有监控注册表 指定路径功能的 RegistryNotifyCallback函数, 监控该终端设备已安装的 应用程序的注册表路径。  By calling the function of the corresponding function, monitoring the file path of the application includes: monitoring the file path of the installed application of the terminal device by calling the FindFirstChangeNotification function with the function of monitoring the specified file information, by calling the path specified by the monitoring registry The RegistryNotifyCallback function, which monitors the registry path of the application that the terminal device has installed.
具体地, 本实施例釆用 windows提供的具有监控指定文件信息功能 的 FindFirstChangeNotification函数, 监控终端设备已安装的应用程序的 文件路径, 通过该函数可以监控终端设备已安装的应用程序文件路径中 的具体目录, 也可以监控应用程序文件路径中的可执行文件, 在应用程 序的具体目录或者文件发生增删改后该函数通知当前管理类应用程序。 釆用具有监控注册表指定路径功能的 RegistryNotifyCallback函数, 监控 终端设备监控已安装的应用程序的注册表路径, 通过该函数指可以监控 终端设备已安装的应用程序的注册表路径中的注册表信息。 在注册表的 值发生变化后该函数通知当前管理类应用程序。 Specifically, the present embodiment uses the FindFirstChangeNotification function provided by Windows to monitor the specified file information function, and monitors the file path of the installed application of the terminal device, and the function can monitor the specific file path of the installed application file of the terminal device. Directory, you can also monitor executable files in the application file path, in the application This function notifies the current management application after the specific directory or file has been added or deleted. Using the RegistryNotifyCallback function with the function of monitoring the specified path of the registry, the monitoring terminal device monitors the registry path of the installed application, and the function means that the registry information in the registry path of the installed application of the terminal device can be monitored. This function notifies the current management class application after the value of the registry has changed.
需要说明的是可以通过其他函数或软件监控终端设备已安装的应 用程序相关联的文件路径下的文件和注册表信息。  It should be noted that the file and registry information under the file path associated with the application installed by the terminal device can be monitored by other functions or software.
另外, 该文件过滤驱动能够监控当前用户对已安装的应用程序的操 作, 本发明实施例不做限定。  In addition, the file filtering driver can monitor the operation of the installed user by the current user, which is not limited in the embodiment of the present invention.
203、 当监控到该文件路径下的文件发生变化时, 利用应用程序特 征库对该应用程序进行检测。  203. When the file under the path of the file is monitored to be changed, the application is detected by using an application feature library.
具体地, 该与已安装的应用程序相关联的文件路径用于存储已安装 的应用程序的注册表卸载信息的路径、 安装目录、 可执行文件、 动态链 接库文件中的一项或多项。 当某款应用程序被安装、 升级、 卸载甚至修 改时, 会增加、 删除或修改注册表卸载信息的路径、 安装目录、 可执行 文件、 动态链接库文件等。 通过步骤 202的监控, 可以监控到与应用程 序相关的文件路径下的文件发生变化, 也即是, 当监控到与某应用程序 关联的注册表信息和文件发生变化时, 触发根据应用程序特征库对终端 设备各个已安装应用程序进行检测该应用程序。  Specifically, the file path associated with the installed application is used to store one or more of the path, installation directory, executable file, dynamic link library file of the registry uninstallation information of the installed application. When an application is installed, upgraded, uninstalled, or even modified, the path to the registry uninstall information, the installation directory, executable files, dynamic link library files, and so on are added, removed, or modified. Through the monitoring of step 202, it is possible to monitor the change of the file in the file path related to the application, that is, when the registry information and the file associated with an application are monitored to be changed, triggering according to the application signature database The application is detected for each installed application of the terminal device.
进一步地, 当监控到与该应用程序相关联的文件路径下的文件发生 变化时, 可以根据变化的文件确定是哪个应用程序的状态发生了变化。 因此, 该步骤 203可以由下述步骤代替: 当监控到与该应用程序相关的 文件路径下的文件发生变化时, 获取变化的文件对应的应用程序标识。 跟据该应用程序特征库对获取到的应用程序标识对应的应用程序进行 检测。 本发明实施例根据发生变化的应用程序标识对对应的应用程序进 行检测, 而不是对终端已安装的所有程序进行检测, 避免影响终端的正 常运行, 能够实现有针对性的以及更高效的检测。 如, 当监控到与该应 用程序相关联的文件路径 A下的文件发生变化时,可以获知该文件路径 A中所保存的文件属于应用程序标识为 A1的应用程序。 获取应用程序 标识 A1, 对应用程序标识 A1对应的应用程序进行检测。 当然, 在根据 应用程序标识进行检测的过程中, 可以根据应用程序标识获取该应用程 序标识对应的安装目录名称或注册表信息等, 以便根据这些内容在终端 检测该应用程序。 Further, when it is monitored that the file under the file path associated with the application changes, it may be determined according to the changed file which application's state has changed. Therefore, the step 203 can be replaced by the following steps: When the file under the file path related to the application is monitored to change, the application identifier corresponding to the changed file is obtained. The application corresponding to the obtained application identifier according to the application signature database is detected. The embodiment of the present invention enters the corresponding application according to the changed application identifier. Line detection, instead of detecting all the programs installed on the terminal, avoids affecting the normal operation of the terminal, enabling targeted and more efficient detection. For example, when it is monitored that the file under the file path A associated with the application changes, it can be known that the file saved in the file path A belongs to the application whose application identifier is A1. The application identifier A1 is obtained, and the application corresponding to the application identifier A1 is detected. Of course, in the process of detecting according to the application identifier, the installation directory name or the registry information corresponding to the application identifier may be obtained according to the application identifier, so that the application is detected at the terminal according to the content.
需要说明的是, 终端可以安装多个管理应用程序, 每个管理应用程 序的应用程序特征库可以不同, 而在检测到文件路径下的文件发生变化 时, 利用管理应用程序或者获取到变化的文件路径时所使用的应用程序 特征库所属的管理应用程序进行检测。 例如, 通过解析管理应用程序 B 的应用程序特征库获取文件路径 Bl, 如果获知 B1下的文件发生变化, 则利用该管理应用程序 B进行检测。  It should be noted that the terminal can install multiple management applications, and the application signature database of each management application can be different, and when detecting that the file in the file path changes, the management application is used or the changed file is obtained. The management application to which the application signature library used by the path belongs is detected. For example, the file path Bl is obtained by parsing the application signature database of the management application B, and if the file under B1 is known to be changed, the management application B is used for detection.
其中, 当监控到与所述应用程序相关联的文件路径下的文件发生变 化时, 可以通过如下方式获取变化的文件对应的应用程序标识:  When the file in the file path associated with the application is detected to be changed, the application identifier corresponding to the changed file may be obtained as follows:
( 1 ) 当监控到与所述应用程序相关联的文件路径下的注册表信息 发生变化时, 获取发生变化的注册表信息对应的应用程序标识。  (1) When it is monitored that the registry information under the file path associated with the application changes, the application identifier corresponding to the changed registry information is obtained.
( 2 ) 当监控到与所述应用程序相关联的文件路径下的卸载信息发 生变化时, 获取变化的卸载信息对应的应用程序标识。  (2) When it is detected that the uninstallation information under the file path associated with the application changes, the application identifier corresponding to the changed uninstallation information is acquired.
( 3 ) 当检测到与所述应用程序相关联的文件路径下的安装目录发 生变化时, 获取发生变化的安装目录对应的应用程序标识。  (3) When it is detected that the installation directory under the file path associated with the application changes, the application identifier corresponding to the changed installation directory is obtained.
对于应用程序特征库来说, 各个文件路径与应用程序均是——对应 的。 因此, 可以通过文件路径或文件路径中的信息, 如文件路径中的卸 载信息、 安装目录以及注册表信息等内容, 唯一地确定与其对应的应用 程序标识, 从而根据应用程序标识进行后续的检测过程。 For the application signature library, each file path and application are - corresponding. Therefore, the information in the file path or file path, such as the uninstallation information in the file path, the installation directory, and the registry information, can be uniquely determined. The program is identified so that subsequent detection processes are performed based on the application identification.
对于上述步骤 203所监控到的结果,可以根据监控的粒度发生变化。 如, 当确定监控到发生变化的某一个文件路径与某应用程序关联时, 则 在步骤 203中, 触发应用程序特征库对该应用程序进行检测, 以便及时 获知该应用程序是否发生了版本更新等事件。 如果确定该应用程序已经 安装了升级版本或被卸载、 被修改等, 则更新该应用程序的应用程序信 息。 可以在该应用程序特征库对应的软件管理应用程序中进行更新。  The results monitored in the above step 203 may vary according to the granularity of the monitoring. For example, when it is determined that a file path that is detected to be changed is associated with an application, in step 203, the application signature database is triggered to detect the application, so as to know whether the application has a version update or the like in time. event. If it is determined that the application has an upgraded version installed, is uninstalled, modified, etc., update the application information for that application. It can be updated in the software management application corresponding to the application signature database.
204、 当检测到任一应用程序的升级版本时, 在该管理应用程序的 应用程序信息中更新检测到的应用程序的版本信息。  204. When an upgrade version of any application is detected, the version information of the detected application is updated in the application information of the management application.
对于管理应用程序来说, 管理应用程序的应用程序信息中包括应用 程序的版本信息。 因此, 当检测到任一应用程序的升级版本时(也即是 检测到的版本号大于管理应用程序中已有版本号), 将该应用程序的版 本信息修改为检测到的版本信息。  For management applications, the application information for the management application includes version information for the application. Therefore, when an upgraded version of any application is detected (that is, the detected version number is greater than the existing version number in the management application), the version information of the application is modified to the detected version information.
205、 当检测到任一应用程序被卸载时, 在该管理应用程序的应用 程序信息中将该检测到的应用程序的安装状态修改为已卸载。  205. When it is detected that any application is uninstalled, modify the installation state of the detected application to be uninstalled in the application information of the management application.
对于管理应用程序来说, 管理应用程序的应用程序信息中包括应用 程序的安装状态, 如已卸载、 已安装、 未安装或待下载等。 因此, 当检 测到任一应用程序被卸载时, 将该应用程序的安装状态修改为已卸载, 以便给出准确的状态提示。  For management applications, the application information for the management application includes the installation status of the application, such as uninstalled, installed, not installed, or pending download. Therefore, when it is detected that any application is uninstalled, the installation state of the application is modified to be uninstalled to give an accurate status prompt.
206、 当检测到任一应用程序的安装文件被修改时, 在该管理应用 程序的应用程序信息中添加该检测到的应用程序的修改状态。  206. When detecting that the installation file of any application is modified, adding the modified state of the detected application to the application information of the management application.
对于管理应用程序来说, 管理应用程序的应用程序信息中包括应用 程序的安装文件的路径等。 因此, 当检测到任一应用程序的安装文件被 修改时, 在应用程序信息中添加当前应用程序的修改状态。 可以移动应 用程序的安装文件, 也有可以先将安装文件从某一个磁盘中卸载又安装 到另一个磁盘。 在以上操作中, 安装文件均被修改, 为了避免该修改是 由于用户的操作错误或是一些安全漏洞造成的恶意修改, 需要将该修改 提示给终端用户, 以使得用户能够及时查看到该修改状态, 从而进行修 复等挽救操作。 For the management application, the application information of the management application includes the path of the installation file of the application, and the like. Therefore, when it is detected that the installation file of any application is modified, the modification status of the current application is added to the application information. You can move the installation file of the application, or you can uninstall and install the installation file from a disk first. Go to another disk. In the above operation, the installation file is modified. In order to prevent the modification from being caused by the user's operation error or malicious modification caused by some security vulnerabilities, the modification needs to be prompted to the end user, so that the user can view the modification status in time. , thereby performing rescue operations such as repair.
进一步地, 当安装文件被修改时, 还可以在被修改的应用程序信息 中添加恢复选项, 以便用户能够通过选择恢复选项, 将应用程序恢复到 修改之前的状态。 以及版本信息等进行检测。 根据不同软件管理应用程序的功能不同, 检 测的项目可能不同, 本发明实施例对此不作具体限定。  Further, when the installation file is modified, a recovery option can also be added to the modified application information so that the user can restore the application to the state before the modification by selecting the recovery option. And version information, etc. are detected. Depending on the function of the different software management applications, the detected items may be different, which is not specifically limited in the embodiment of the present invention.
根据本发明实施例提供的方法, 监控与应用程序相关联的文件路径 下的文件的变化, 当该文件路径下的文件发生变化时, 可以根据应用程 序特征库对该应用程序进行检测, 能够准确获知应用程序信息。  According to the method provided by the embodiment of the present invention, a change of a file in a file path associated with an application is monitored. When a file in the file path changes, the application may be detected according to an application signature database, which is accurate. Get the app information.
图 3是本发明实施例提供的应用程序检测装置的结构示意图。 参见 图 3, 所述装置包括: 获取模块 301、 监控模块 302和检测模块 303。  FIG. 3 is a schematic structural diagram of an application detecting apparatus according to an embodiment of the present invention. Referring to FIG. 3, the device includes: an obtaining module 301, a monitoring module 302, and a detecting module 303.
获取模块 301用于获取与已安装的应用程序相关联的文件路径。 获取模块 301与监控模块 302相连接。  The get module 301 is used to obtain a file path associated with an installed application. The acquisition module 301 is connected to the monitoring module 302.
监控模块 302用于监控所述文件路径。  The monitoring module 302 is configured to monitor the file path.
监控模块 302与检测模块 303相连接  The monitoring module 302 is connected to the detecting module 303.
检测模块 303用于当监控到所述应用程序的文件路径下的文件发生 变化时, 根据管理应用程序的应用程序特征库对所述终端的应用程序进 行检测。  The detecting module 303 is configured to detect an application of the terminal according to an application feature library of the management application when a file in the file path of the application is detected to change.
所述获取模块 301用于根据应用程序特征库, 对所述已安装的应用 程序进行检测, 记录检测所述已安装的应用程序时所使用的文件路径。  The obtaining module 301 is configured to detect the installed application according to the application feature database, and record a file path used when detecting the installed application.
所述获取模块 301用于遍历注册表中的第一表项和第二表项, 获取 所述第一表项和第二表项中记录的所述已安装的应用程序的文件路径。 所述检测模块 303包括: The obtaining module 301 is configured to traverse the first entry and the second entry in the registry to obtain a file path of the installed application recorded in the first entry and the second entry. The detecting module 303 includes:
应用标识获取单元, 用于当监控到与所述应用程序相关联的文件路 径下的文件发生变化时, 获取发生变化的信息对应的应用程序标识; 检测单元, 用于利用终端已安装的管理应用程序, 据所述管理应用 程序的应用程序特征库对获取到的应用程序标识对应的应用程序进行 检测。  An application identifier obtaining unit, configured to acquire an application identifier corresponding to the changed information when the file in the file path associated with the application is changed, and a detecting unit, configured to use the management application installed by the terminal The program detects the application corresponding to the obtained application identifier according to the application signature database of the management application.
当所述应用标识获取单元当监控注册表中的注册信息发生变化时, 获取发生变化的注册表信息对应的应用程序标识。  When the application identifier obtaining unit changes the registration information in the registry, the application identifier corresponding to the changed registry information is obtained.
当所述应用标识获取单元监控到所述应用程序的文件路径下的卸 载信息发生变化时, 获取发生变化的卸载信息对应的应用程序标识。  When the application identifier obtaining unit monitors that the uninstallation information under the file path of the application changes, the application identifier corresponding to the changed uninstallation information is acquired.
当所述应用标识获取单元检测到所述应用程序的文件路径下的安 装目录发生变化时, 获取变化的安装目录对应的应用程序标识。  When the application identifier obtaining unit detects that the installation directory under the file path of the application changes, the application identifier corresponding to the changed installation directory is obtained.
该装置还包括:  The device also includes:
更新模块, 用于当检测到任一应用程序的升级版本时, 在所述管理 应用程序的应用程序信息中更新检测到的应用程序的版本信息;  And an update module, configured to: when the upgrade version of any application is detected, update the version information of the detected application in the application information of the management application;
修改模块, 用于当检测到任一应用程序被卸载时, 在所述管理应用 程序的应用程序信息中将所述检测到的应用程序的安装状态修改为卸 载状态; 以及  a modifying module, configured to modify an installation state of the detected application to an unloading state in application information of the management application when detecting that any application is uninstalled;
添加模块, 用于当检测到任一应用程序的安装文件被修改时, 在所 述管理应用程序的应用程序信息中添加所述检测到的应用程序的修改 状态。  And a adding module, configured to add a modified state of the detected application to the application information of the management application when detecting that the installation file of any application is modified.
所述与已安装的应用程序相关联的文件路径用于存储所述已安装 的应用程序的注册表卸载信息的路径、 安装目录、 可执行文件、 动态链 接库文件中的一项或多项。 在本发明实施例中,该获取模块 301、监控模块 302、检测模块 303、 更新模块、修改模块和添加模块可以为机器可读指令,可以为硬件设备, 也可以为软件和硬件的结合。 The file path associated with the installed application is used to store one or more of a path, an installation directory, an executable file, a dynamic link library file of the registry uninstallation information of the installed application. In the embodiment of the present invention, the obtaining module 301, the monitoring module 302, the detecting module 303, the updating module, the modifying module, and the adding module may be machine readable instructions, and may be a hardware device or a combination of software and hardware.
需要说明的是: 上述实施例提供的应用程序检测装置在应用程序检 测时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根 据需要而将上述功能分配由不同的功能模块完成, 即将系统的内部结构 划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例提供的应用程序检测装置与应用程序检测方法实施例属于 同一构思, 其具体实现过程详见方法实施例。  It should be noted that, when the application detection device provided by the foregoing embodiment is used for the detection of the application, only the division of the above functional modules is illustrated. In actual applications, the function distribution may be completed by different functional modules as needed. , the internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In addition, the application detection device and the application detection method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in the method embodiment.
图 4是本发明实施例提供的执行程序检测功能的终端设备结构示意 检测方法。 具体来讲:  FIG. 4 is a schematic structural diagram of a terminal device for performing a program detection function according to an embodiment of the present invention. Specifically:
终端设备 400可以包括: 通信单元 110、 包括有一个或一个以上非 易失性计算机可读存储介质的存储器 120、输入单元 130、显示单元 140、 传感器 150、音频电路 160、 WiFi (Wireless Fidelity, 无线保真)模块 170、 一个或者一个以上处理核心的处理器 180、 以及电源 190等部件。 本领 域技术人员可以理解, 图 4中示出的终端设备结构并不构成对终端设备 的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者 不同的部件布置。  The terminal device 400 may include: a communication unit 110, a memory 120 including one or more non-volatile computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless) The fidelity module 170, the processor 180 of one or more processing cores, and the power supply 190 and the like. Those skilled in the art will appreciate that the terminal device structure illustrated in Figure 4 does not constitute a limitation to the terminal device and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
通信单元 110可用于收发信息或通话过程中, 信号的接收和发送。 该通信单元 110可以为 RF ( Radio Frequency, 射频)电路、 路由器、 调 制解调器、 等网络通信设备。 特别地, 当通信单元 110为 RF电路时, 将基站的下行信息接收后, 交由一个或者一个以上处理器 180处理。 另 外, 将涉及上行的数据发送给基站。 通常, 作为通信单元的 RF电路包 括但不限于天线、 至少一个放大器、 调谐器、 一个或多个振荡器、 用户 身份模块(SIM )卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此外, 通信单元 110还可以通过无线通信 与网络和其他设备通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication,全球移动通 讯系统)、 GPRS(General Packet Radio Service , 通用分组无线服务)、 CDMA(Code Division Multiple Access, 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 带码分多址)、 LTE(Long Term Evolution 长期演进)、 电子邮件、 SMS(Short Messaging Service, 短消息服务)等。 The communication unit 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call. The communication unit 110 can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like. In particular, when the communication unit 110 is an RF circuit, the downlink information of the base station is received and processed by one or more processors 180. In addition, data related to the uplink is transmitted to the base station. Generally, an RF circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a user Identity Module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier), duplexer, etc. In addition, the communication unit 110 can also communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
存储器 120可用于存储软件程序以及模块, 处理器 180通过运行存 储在存储器 120的软件程序以及模块, 从而执行各种功能应用以及数据 处理。 存储器 120可主要包括: 存储程序区和存储数据区。 其中, 存储 程序区可存储操作系统、 至少一个功能所需的应用程序 (比如声音播放 功能、 图像播放功能等)等。 存储数据区可存储根据终端设备 400的使 用所创建的数据(比如音频数据、 电话本等)等。 此外, 存储器 120可 以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一 个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 相应地, 存 储器 120还可以包括存储器控制器, 以提供处理器 180和输入单元 130 对存储器 120的访问。  The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. The memory 120 can mainly include: a storage program area and a storage data area. The storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.). The storage data area can store data (such as audio data, phone book, etc.) created according to the use of the terminal device 400. Moreover, memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户 设置以及功能控制有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输 入。具体地,输入单元 130可包括:触敏表面 131以及其他输入设备 132。 触敏表面 131, 也称为触摸显示屏或者触控板, 可收集用户在其上或附 近的触摸操作(比如, 用户使用手指、 触笔等任何适合的物体或附件在 触敏表面 131上或在触敏表面 131附近的操作), 并根据预先设定的程 式驱动相应的连接装置。 可选的, 触敏表面 131可包括: 触摸检测装置 和触摸控制器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并 检测触摸操作带来的信号, 将信号传送给触摸控制器。 触摸控制器从触 摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处理器The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or The operation in the vicinity of the touch-sensitive surface 131) and the corresponding connection means are driven according to a preset program. Optionally, the touch sensitive surface 131 can include: a touch detection device And the touch controller is two parts. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it to the processor
180, 并能接收处理器 180发来的命令并加以执行。 此外, 可以釆用电 阻式、 电容式、 红外线以及表面声波等多种类型实现触敏表面 131。 除 了触敏表面 131, 输入单元 130还可以包括其他输入设备 132。 具体地, 其他输入设备 132可以包括但不限于物理键盘、 功能键(比如音量控制 按键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。 180, and can receive the command sent by the processor 180 and execute it. In addition, the touch-sensitive surface 131 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以 及终端设备 400的各种图形用户接口。 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构成。 显示单元 140可包括显示面板 141, 可选的, 可以釆用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示 面板 141。 进一步的, 触敏表面 131可覆盖显示面板 141, 当触敏表面 131检测到在其上或附近的触摸操作后, 传送给处理器 180以确定触摸 事件的类型, 随后处理器 180根据触摸事件的类型在显示面板 141上提 供相应的视觉输出。 虽然在图 4中, 触敏表面 131与显示面板 141是作 为两个独立的部件来实现输入和输入功能, 但是在某些实施例中, 可以 将触敏表面 131与显示面板 141集成而实现输入和输出功能。  The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 400. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Alternatively, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
传感器 150可以包括: 光传感器、 运动传感器以及其他传感器。 光 传感器可包括: 环境光传感器及接近传感器。 其中, 环境光传感器可根 据环境光线的明暗来调节显示面板 141的亮度。 接近传感器可在终端设 备 400移动到耳边时, 关闭显示面板 141和 /或背光。作为运动传感器的 一种, 重力加速度传感器可检测各个方向上(一般为三轴)加速度的大 小。 静止时可检测出重力的大小及方向, 可用于识别手机姿态(比如横 竖屏切换、 相关游戏、 磁力计姿态校准)、 实现振动识别相关功能 (比 如计步器、 敲击)等。 终端设备 400还可配置陀螺仪、 气压计、 湿度计、 温度计、 红外线传感器等其他传感器。 Sensor 150 can include: a light sensor, a motion sensor, and other sensors. The light sensor can include: an ambient light sensor and a proximity sensor. Wherein, the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 141 and/or the backlight when the terminal device 400 moves to the ear. As a type of motion sensor, a gravity acceleration sensor can detect the magnitude of acceleration in each direction (typically three axes). The magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the phone (such as horizontal Vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping). The terminal device 400 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.
音频电路 160、扬声器 161, 传声器 162可提供用户与终端设备 400 之间的音频接口。音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬声器 161, 由扬声器 161转换为声音信号输出。 另一方面, 传 声器 162将收集的声音信号转换为电信号, 由音频电路 160接收后转换 为音频数据, 再将音频数据经处理器 180处理后, 经 RF电路 110发送 给另一终端设备, 或者将音频数据输出至存储器 120以便进一步处理。 音频电路 160还可能包括: 耳塞插孔, 以提供外设耳机与终端设备 400 的通信。  The audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the terminal device 400. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then processed by the processor 180, and then transmitted to another terminal device via the RF circuit 110, or The audio data is output to the memory 120 for further processing. The audio circuit 160 may also include: an earbud jack to provide communication of the peripheral earphones with the terminal device 400.
该无线通信单元 170可以为 WiFi模块。 WiFi属于短距离无线传输 技术。 用户可以利用无线通信单元 170收发电子邮件、 浏览网页和访问 流式媒体等。 无线通信单元 170为用户提供了无线的宽带互联网访问功 能。 虽然图 4示出了无线通信单元 170。 在具体应用中, 终端设备 400 可能不包括无线通信单元 170。  The wireless communication unit 170 can be a WiFi module. WiFi is a short-range wireless transmission technology. The user can use the wireless communication unit 170 to send and receive emails, browse web pages, and access streaming media. The wireless communication unit 170 provides the user with wireless broadband Internet access functionality. Although FIG. 4 shows the wireless communication unit 170. In a specific application, the terminal device 400 may not include the wireless communication unit 170.
处理器 180是终端设备 400的控制中心。 该处理器 180利用各种接 口和线路连接整个手机的各个部分, 通过运行或执行存储在存储器 120 内的软件程序和 /或模块, 以及调用存储在存储器 120内的数据, 执行终 端设备 400的各种功能和处理数据, 从而对手机进行整体监控。 处理器 180可包括一个或多个处理核心。 处理器 180可集成应用处理器和调制 解调处理器。 其中, 应用处理器主要处理操作系统、 用户界面和应用程 序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述处理器 180中也可能不包括调制解调处理器。  The processor 180 is the control center of the terminal device 400. The processor 180 connects various portions of the entire handset using various interfaces and lines, and executes each of the terminal devices 400 by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. Functions and processing data to monitor the phone as a whole. Processor 180 can include one or more processing cores. The processor 180 can integrate an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned processor 180 may not include a modem processor.
电源 190可以通过电源管理系统与处理器 180逻辑相连, 从而通过 电源管理系统实现管理充电、 放电、 以及功耗管理等功能。 电源 190还 可以包括一个或一个以上的直流或交流电源、 再充电系统、 电源故障检 测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。 The power supply 190 can be logically connected to the processor 180 through the power management system to pass The power management system manages functions such as charging, discharging, and power management. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出, 终端设备 400还可以包括摄像头、 蓝牙模块等, 在此 不再赘述。 在本发明实施例中, 终端设备的显示单元是触摸屏显示器。 终端设备 400还包括有存储器 120。 一个或者一个以上程序存储于存储 器 120中, 且经配置以由一个或者一个以上处理器 180执行。 所述一个 或者一个以上程序包含用于进行以下操作的指令: 获取与已安装的应用 程序相关联的文件路径; 监控所述相关联的文件路径; 当监控到所述应 用程序的文件路径下的文件发生变化时, 根据应用程序特征库对所述终 端的应用程序进行检测。  Although not shown, the terminal device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein. In an embodiment of the invention, the display unit of the terminal device is a touch screen display. The terminal device 400 also includes a memory 120. One or more programs are stored in memory 120 and are configured to be executed by one or more processors 180. The one or more programs include instructions for: obtaining a file path associated with an installed application; monitoring the associated file path; when monitoring a file path of the application When the file changes, the application of the terminal is detected according to the application signature database.
在本发明实施例中, 所述一个或者一个以上程序包含用于进行以下 操作的指令:  In an embodiment of the invention, the one or more programs include instructions for performing the following operations:
根据应用程序特征库, 对所述已安装的应用程序进行检测, 记录检 测所述已安装的应用程序时所使用的文件路径。  The installed application is detected according to the application signature library, and the file path used to detect the installed application is recorded.
在本发明实施例中, 所述一个或者一个以上程序包含用于进行以下 操作的指令:  In an embodiment of the invention, the one or more programs include instructions for performing the following operations:
遍历注册表中的第一表项和第二表项, 获取所述第一表项和第二表 项中记录的与所述应用程序相关联的文件路径。  The first entry and the second entry in the registry are traversed, and the file path associated with the application recorded in the first entry and the second entry is obtained.
在本发明实施例中, 所述一个或者一个以上程序包含用于进行以下 操作的指令:  In an embodiment of the invention, the one or more programs include instructions for performing the following operations:
当监控到所述应用程序的文件路径下的文件发生变化时, 获取发生 变化的文件对应的应用程序标识;  Obtaining an application identifier corresponding to the changed file when the file in the file path of the application is monitored changes;
根据所述管理应用程序的应用程序特征库对获取到的应用程序标 识对应的应用程序进行检测。 在本发明实施例中, 所述一个或者一个以上程序包含用于进行以下 操作的指令: The application corresponding to the acquired application identifier is detected according to the application signature database of the management application. In an embodiment of the invention, the one or more programs include instructions for performing the following operations:
当监控到注册表中的注册表信息发生变化时, 获取变化的注册表信 息对应的应用程序标识;  When the registry information in the registry is changed, the application identifier corresponding to the changed registry information is obtained;
当监控到所述应用程序的文件路径下的卸载信息发生变化时, 获取 发生变化的卸载信息对应的应用程序标识;  Obtaining an application identifier corresponding to the changed uninstallation information when the uninstallation information under the file path of the application is monitored changes;
当检测到所述应用程序的文件路径下的安装目录发生变化时, 获取 发生变化的安装目录对应的应用程序标识。  When it is detected that the installation directory under the file path of the application changes, the application identifier corresponding to the changed installation directory is obtained.
在本发明实施例中, 所述一个或者一个以上程序包含用于进行以下 操作的指令:  In an embodiment of the invention, the one or more programs include instructions for performing the following operations:
当检测到任一应用程序的升级版本时, 在所述管理应用程序的应用 程序信息中更新检测到的应用程序的版本信息;  When the upgrade version of any application is detected, the version information of the detected application is updated in the application information of the management application;
当检测到任一应用程序被卸载时, 在所述管理应用程序的应用程序 信息中将所述检测到的应用程序的安装状态修改为卸载状态;  When it is detected that any of the applications is uninstalled, the installed state of the detected application is modified to an uninstalled state in the application information of the management application;
当检测到任一应用程序的安装文件被修改时, 在所述管理应用程序 的应用程序信息中添加所述检测到的应用程序的修改状态。  When it is detected that the installation file of any of the applications is modified, the modified state of the detected application is added to the application information of the management application.
在本发明实施例中, 所述与已安装的应用程序相关联的文件路径用 于存储所述已安装的应用程序的注册表卸载信息的路径、 安装目录、 可 执行文件、 动态链接库文件中的一项或多项。  In the embodiment of the present invention, the file path associated with the installed application is used to store a path, an installation directory, an executable file, and a dynamic link library file of the registry uninstallation information of the installed application. One or more.
图 5为本发明实施例提供的另外一种应用程序检测方法的流程示意 图。 如图 5所示, 该方法包括如下步骤。  FIG. 5 is a schematic flow chart of another application detection method according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps.
步骤 501, 监控注册表。  Step 501, monitoring the registry.
步骤 502, 当所述注册表中的注册表信息发生变化时, 检测所述变 化的注册表信息对应的应用程序。  Step 502: When the registry information in the registry changes, detecting an application corresponding to the changed registry information.
在本发明实施例提供的方法中, 监控注册表, 当注册表中的注册表 信息发生变化时, 检测该变化的注册信息对应的应用程序。 因为当应用 程序的状态更新时, 会修改注册表中的对应的注册表信息, 所以当注册 表信息变化时, 可以对注册表信息对应的应用程序进行检测。 因而, 可 以准确及时地检测应用程序的状态。 In the method provided by the embodiment of the present invention, monitoring the registry, when the registry in the registry When the information changes, the application corresponding to the changed registration information is detected. Because when the status of the application is updated, the corresponding registry information in the registry is modified, so when the registry information changes, the application corresponding to the registry information can be detected. Thus, the state of the application can be detected accurately and in a timely manner.
图 6为本发明实施例提供的另外一种应用程序检测装置的结构示意 图。  FIG. 6 is a schematic structural diagram of another application detecting apparatus according to an embodiment of the present invention.
该检测装置包括: 注册表监控模块 601和检测模块 602。  The detecting device comprises: a registry monitoring module 601 and a detecting module 602.
该注册表监控模块 601, 用于监控注册表;  The registry monitoring module 601 is configured to monitor the registry;
检测模块 602, 用于当所述注册表中的注册表信息发生变化时, 检 测所述变化的注册表信息对应的应用程序。  The detecting module 602 is configured to detect an application corresponding to the changed registry information when the registry information in the registry changes.
在本发明实施例中, 该该注册表监控模块 601和检测模块 602可以为 机器可读指令, 可以为硬件设备, 也可以为软件和硬件的集合。  In the embodiment of the present invention, the registry monitoring module 601 and the detecting module 602 may be machine readable instructions, and may be hardware devices or a collection of software and hardware.
图 7为本发明实施例提供的另外一种执行应用程序检测功能的终端 设备的结构示意图。 该检测装置 700包括: 存储器 720和处理器 780。  FIG. 7 is a schematic structural diagram of another terminal device for performing an application detection function according to an embodiment of the present invention. The detection device 700 includes a memory 720 and a processor 780.
该存储器 720用于存储注册表监控模块 601和检测模块 602。  The memory 720 is used to store a registry monitoring module 601 and a detection module 602.
该处理器 780用于与该存储器 720进行通信, 执行上述注册表监控 模块 601和检测模块 602执行的操作。  The processor 780 is configured to communicate with the memory 720 to perform operations performed by the registry monitoring module 601 and the detecting module 602.
在本发明实施例中, 该检测装置 700还可以进一步包括: 通信单元 710、 输入单元 730、 显示单元 740、 传感器 750、 音频电路 760、 无线 通信单元 770和电源 790中的至少一个。  In the embodiment of the present invention, the detecting apparatus 700 may further include: at least one of a communication unit 710, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless communication unit 770, and a power source 790.
在本发明实施例中, 该输入单元 730可以包括: 触敏表面 731和其 他输入设备 732。  In an embodiment of the invention, the input unit 730 can include: a touch sensitive surface 731 and other input devices 732.
在本发明实施例中, 该显示单元 740可以包括: 显示面板 741。 在本发明实施例中, 该音频电路 760可以包括: 扬声器 761和传声 器 762。 在本发明实施例中,该通信单元 710、输入单元 730、显示单元 740、 传感器 750、 音频电路 760、 无线通信单元 770和电源 790可以分别和 上述通信单元 110、 输入单元 130、 显示单元 140、 传感器 150、 音频电 路 160、 无线通信单元 170和电源 190的功能和结构相同。 In the embodiment of the present invention, the display unit 740 may include: a display panel 741. In the embodiment of the present invention, the audio circuit 760 may include: a speaker 761 and a microphone 762. In the embodiment of the present invention, the communication unit 710, the input unit 730, the display unit 740, the sensor 750, the audio circuit 760, the wireless communication unit 770, and the power source 790 can be respectively connected to the communication unit 110, the input unit 130, and the display unit 140, The functions and structures of the sensor 150, the audio circuit 160, the wireless communication unit 170, and the power supply 190 are the same.
在本发明实施例中, 该触敏表面 731和其他输入设备 732可以分别 和上述触敏表面 131和其他输入设备 132的功能和结构相同。  In an embodiment of the invention, the touch-sensitive surface 731 and other input devices 732 may be identical in function and structure to the touch-sensitive surface 131 and other input devices 132 described above, respectively.
在本发明实施例中, 该显示面板 741可以和上述显示面板 141的功 能和结构相同。  In the embodiment of the present invention, the display panel 741 can be the same as the function and structure of the display panel 141 described above.
在本发明实施例中, 该扬声器 761和传声器 762可以分别和上述扬 声器 161和传声器 162的功能和结构相同。  In the embodiment of the present invention, the speaker 761 and the microphone 762 can be identical in function and structure to the speaker 161 and the microphone 162, respectively.
本申请各实施例中的模块或单元可以以机械方式或电子方式实现。 例如, 一个硬件模块可以包括: 永久性电路或逻辑器件(如专用处理器, 如 FPGA或 ASIC )用于完成特定的操作。 硬件模块也可以包括由软件 临时配置的可编程逻辑器件或电路(如包括通用处理器或其它可编程处 理器)用于执行特定操作。 至于具体釆用机械方式, 或是釆用专用的永 久性电路, 或是釆用临时配置的电路来实现硬件模块, 可以根据成本和 时间上的考虑来决定。  Modules or units in various embodiments of the present application may be implemented mechanically or electronically. For example, a hardware module can include: A permanent circuit or logic device (such as a dedicated processor such as an FPGA or ASIC) for performing a particular operation. The hardware modules may also include programmable logic devices or circuits (e.g., including general purpose processors or other programmable processors) that are temporarily configured by software for performing particular operations. The specific use of mechanical means, or the use of dedicated permanent circuits, or the use of temporarily configured circuits to implement hardware modules can be determined based on cost and time considerations.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤 可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的 程序可以存储于一种计算机可读存储介质中, 上述提到的存储介质可以 是只读存储器, 磁盘或光盘等。  A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本 发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包 含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权利要求书 claims
1、 一种应用程序检测方法, 其特征在于, 所述方法包括: 获取与应用程序相关联的文件路径; 1. An application detection method, characterized in that the method includes: obtaining a file path associated with the application;
监控所述文件路径; Monitor the file path;
当所述文件路径下的文件发生变化时, 利用应用程序特征库对所述 应用程序进行检测。 When the files under the file path change, the application program is detected using the application feature library.
2、 根据权利要求 1所述的方法, 其特征在于, 获取与所述应用程序 相关联的所述文件路径包括: 2. The method according to claim 1, wherein obtaining the file path associated with the application program includes:
遍历注册表中的第一表项和第二表项; Traverse the first entry and the second entry in the registry;
获取所述第一表项和第二表项中记录的与所述应用程序相关联的 文件路径。 Obtain the file path associated with the application program recorded in the first entry and the second entry.
3、 根据权利要求 1所述的方法, 其特征在于, 当所述文件路径下的 文件发生变化时, 利用所述应用程序特征库对所述应用程序进行检测包 括: 3. The method according to claim 1, characterized in that when the file under the file path changes, using the application feature library to detect the application program includes:
获取发生变化的文件对应的应用程序标识; Get the application ID corresponding to the changed file;
根据所述应用程序特征库对所述应用程序标识对应的应用程序进 行检测。 The application program corresponding to the application program identification is detected according to the application program feature library.
4、 根据权利要求 3所述的方法, 其特征在于, 获取所述发生变化的 文件对应的应用程序标识包括: 4. The method according to claim 3, wherein obtaining the application identifier corresponding to the changed file includes:
当注册表中的注册表信息变化时, 获取与所述变化的注册表信息对 应的应用程序标识; 或, 当所述应用程序的文件路径下的卸载信息发生变化时, 获取所述变 化的卸载信息对应的应用程序标识; 或, When the registry information in the registry changes, obtain the application identifier corresponding to the changed registry information; or, When the uninstallation information in the file path of the application changes, obtain the application identifier corresponding to the changed uninstallation information; or,
当所述应用程序的文件路径下的安装目录发生变化时, 获取所述变 化的安装目录对应的应用程序标识。 When the installation directory under the file path of the application changes, the application identifier corresponding to the changed installation directory is obtained.
5、 根据权利要求 1所述的方法, 其特征在于, 进一步包括: 当检测到任一应用程序的升级版本时, 在管理所述应用程序的管理 应用程序的应用程序信息中更新检测到的所述应用程序的版本信息; 当检测到任一应用程序被卸载时, 在管理所述应用程序的管理应用 程序的应用程序信息中将所述应用程序的安装状态修改为卸载状态; 当检测到任一应用程序的安装文件被修改时, 在管理所述应用程序 的管理应用程序的应用程序信息中添加所述应用程序的修改状态。 5. The method according to claim 1, further comprising: when an upgraded version of any application is detected, updating the detected application information in the management application that manages the application. version information of the application program; when it is detected that any application program is uninstalled, modify the installation status of the application program to the uninstalled state in the application information of the management application that manages the application program; when it is detected that any application program is uninstalled; When the installation file of an application program is modified, the modification status of the application program is added to the application program information of the management application program that manages the application program.
6、 根据权利要求 1-5任一权利要求所述的方法, 其特征在于, 所述 与应用程序相关联的文件路径用于存储所述应用程序的注册表卸载信 息的路径、 安装目录、 可执行文件、 动态链接库文件中的一项或多项。 6. The method according to any one of claims 1 to 5, characterized in that the file path associated with the application program is used to store the registry uninstallation information of the application program, the installation directory, and the One or more items in executable files and dynamic link library files.
7、 一种应用程序检测装置, 其特征在于, 所述装置包括: 获取模块, 用于获取与应用程序相关联的文件路径; 7. An application program detection device, characterized in that the device includes: an acquisition module, used to obtain the file path associated with the application program;
监控模块, 用于监控所述文件路径; Monitoring module, used to monitor the file path;
检测模块, 用于当所述文件路径下的文件发生变化时, 利用应用程 序特征库对所述应用程序进行检测。 A detection module, used to detect the application program using the application feature library when the files under the file path change.
8、 根据权利要求 7所述的装置, 其特征在于, 所述获取模块进一步 用于遍历注册表中的第一表项和第二表项, 获取所述第一表项和第二表 项中记录的与所述应用程序相关联的文件路径。 8. The device according to claim 7, wherein the acquisition module is further configured to traverse the first entry and the second entry in the registry, and obtain the first entry and the second entry. The file path associated with the application recorded in the entry.
9、 根据权利要求 7所述的装置, 其特征在于, 所述检测模块包括: 应用标识获取单元, 用于获取发生变化的文件对应的应用程序标 识; 9. The device according to claim 7, wherein the detection module includes: an application identification acquisition unit, configured to obtain the application identification corresponding to the changed file;
检测单元, 用于根据所述应用程序特征库对所述应用程序标识对应 的应用程序进行检测。 A detection unit, configured to detect the application program corresponding to the application program identification according to the application program feature library.
10、 根据权利要求 9所述的装置, 其特征在于, 所述应用标识获取 单元进一步用于: 10. The device according to claim 9, characterized in that the application identification acquisition unit is further used to:
当所述应用标识获取单元获取到注册表中的注册表信息发生变化 时, 获取与所述变化的注册表信息对应的应用程序标识; When the application identification obtaining unit obtains that the registry information in the registry changes, obtain the application identification corresponding to the changed registry information;
当所述应用标识获取单元获取到所述应用程序的文件路径下的卸 载信息发生变化时, 获取所述变化的卸载信息对应的应用程序标识; 当所述应用标识获取单元获取到所述应用程序的文件路径下的安 装目录发生变化时, 获取所述变化的安装目录对应的应用程序标识。 When the application identification obtaining unit obtains that the uninstallation information in the file path of the application changes, obtains the application identification corresponding to the changed uninstallation information; when the application identification obtaining unit obtains the application When the installation directory under the file path changes, obtain the application identifier corresponding to the changed installation directory.
11、 根据权利要求 7所述的装置, 其特征在于, 进一步包括: 更新模块, 用于当检测到任一应用程序的升级版本时, 在管理所述 应用程序的管理应用程序的应用程序信息中更新检测到的应用程序的 版本信息; 11. The device according to claim 7, further comprising: an update module, configured to, when an upgraded version of any application is detected, in the application information of the management application that manages the application Update version information of detected applications;
修改模块, 用于当检测到任一应用程序被卸载时, 在管理所述应用 程序的所述管理应用程序的应用程序信息中将所述应用程序的安装状 态^ ί'爹改为卸载状态; A modification module configured to, when it is detected that any application program is uninstalled, change the installation status of the application program to an uninstalled state in the application program information of the management application program that manages the application program;
添加模块, 用于当检测到任一应用程序的安装文件被修改时, 在管 理所述应用程序的所述管理应用程序的应用程序信息中添加所述应用 程序的修改状态。 Add a module to manage when any application's installation files are detected to be modified. The modified status of the application is added to application information of the management application that manages the application.
12、 根据权利要求 7-11任一权利要求所述的装置, 其特征在于, 所 述与应用程序相关联的文件路径用于存储所述应用程序的注册表卸载 信息的路径、安装目录、可执行文件、动态链接库文件中的一项或多项。 12. The device according to any one of claims 7 to 11, wherein the file path associated with the application program is used to store the path, installation directory, and available registry uninstallation information of the application program. One or more of the executable files and dynamic link library files.
13、 一种应用程序检测方法, 其特征在于, 所述方法包括: 监控注册表; 13. An application detection method, characterized in that the method includes: monitoring the registry;
当所述注册表中的注册表信息发生变化时, 检测所述变化的注册表 信息对应的应用程序。 When the registry information in the registry changes, detect the application corresponding to the changed registry information.
14、 一种应用程序检测装置, 其特征在于, 包括: 14. An application detection device, characterized by including:
注册表监控模块, 用于监控注册表; Registry monitoring module, used to monitor the registry;
检测模块, 用于当所述注册表中的注册表信息发生变化时, 检测所 述变化的注册表信息对应的应用程序。 A detection module, configured to detect an application corresponding to the changed registry information when the registry information in the registry changes.
PCT/CN2014/083502 2013-09-11 2014-08-01 Method and apparatus for detecting application program WO2015035835A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310413195.8 2013-09-11
CN201310413195.8A CN103473163B (en) 2013-09-11 2013-09-11 application program detection method and device

Publications (1)

Publication Number Publication Date
WO2015035835A1 true WO2015035835A1 (en) 2015-03-19

Family

ID=49798028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083502 WO2015035835A1 (en) 2013-09-11 2014-08-01 Method and apparatus for detecting application program

Country Status (2)

Country Link
CN (1) CN103473163B (en)
WO (1) WO2015035835A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473163B (en) * 2013-09-11 2016-10-26 腾讯科技(深圳)有限公司 application program detection method and device
CN104978237B (en) * 2014-04-11 2019-03-19 腾讯科技(深圳)有限公司 The method and apparatus 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
CN104156414B (en) * 2014-07-30 2018-01-23 珠海市君天电子科技有限公司 A kind of method for cleaning of garbage files, device and terminal
CN104133703A (en) * 2014-07-31 2014-11-05 珠海市君天电子科技有限公司 Method and device for determining software not used frequently
CN104376259B (en) * 2014-09-12 2017-04-05 腾讯科技(深圳)有限公司 A kind of method and apparatus of detection virus
CN105610878B (en) * 2014-10-30 2020-03-03 腾讯科技(深圳)有限公司 Directory uploading method, data publishing method, terminal and server
US9870215B2 (en) 2015-11-30 2018-01-16 International Business Machines Corporation Tracking an application installation state
CN106709346B (en) * 2016-11-25 2019-08-06 腾讯科技(深圳)有限公司 Document handling method and device
CN108762821B (en) * 2017-04-18 2023-04-25 海马云(天津)信息技术有限公司 Device and method for running application of electronic equipment and electronic equipment
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

Citations (6)

* Cited by examiner, † Cited by third party
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
CN101604268A (en) * 2009-07-13 2009-12-16 浪潮电子信息产业股份有限公司 A kind of method for filtering monitored directory change events
CN101833489A (en) * 2010-05-06 2010-09-15 北京邮电大学 Method for file real-time monitoring and intelligent backup
CN102609532A (en) * 2012-02-15 2012-07-25 大唐移动通信设备有限公司 Method and device for monitoring file directory
CN102833267A (en) * 2012-09-14 2012-12-19 山东中创软件商用中间件股份有限公司 Method and device for protecting webpage security
CN103473163A (en) * 2013-09-11 2013-12-25 腾讯科技(深圳)有限公司 Application program detection method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751593B (en) * 2008-11-28 2013-01-02 爱思开电讯投资(中国)有限公司 Smart card and backup, recovering method and system thereof
CN101789888B (en) * 2010-01-12 2012-04-11 腾讯科技(深圳)有限公司 Detection method and device for software installation
CN102331945A (en) * 2011-09-16 2012-01-25 北京思创银联科技股份有限公司 Application management method based on electronic store
CN102736978B (en) * 2012-06-26 2015-09-30 北京奇虎科技有限公司 A kind of method and device detecting the installment state of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN101604268A (en) * 2009-07-13 2009-12-16 浪潮电子信息产业股份有限公司 A kind of method for filtering monitored directory change events
CN101833489A (en) * 2010-05-06 2010-09-15 北京邮电大学 Method for file real-time monitoring and intelligent backup
CN102609532A (en) * 2012-02-15 2012-07-25 大唐移动通信设备有限公司 Method and device for monitoring file directory
CN102833267A (en) * 2012-09-14 2012-12-19 山东中创软件商用中间件股份有限公司 Method and device for protecting webpage security
CN103473163A (en) * 2013-09-11 2013-12-25 腾讯科技(深圳)有限公司 Application program detection method and device

Also Published As

Publication number Publication date
CN103473163B (en) 2016-10-26
CN103473163A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
WO2015035835A1 (en) Method and apparatus for detecting application program
US9584476B2 (en) Safety protection method, firewall, terminal device and computer-readable storage medium
CN104965722B (en) A kind of method and device of display information
CN104134034A (en) Application operation control method and device
WO2014029255A1 (en) Method for managing application and user device thereof
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
WO2014000652A1 (en) Browser plug-in installation method, device and terminal
US11063962B2 (en) Malicious URL detection method and apparatus, terminal, and computer storage medium
WO2015078264A1 (en) Safety protection method and device, and terminal
CN108804915B (en) Virus program cleaning method, storage device and electronic terminal
CN109240902B (en) Method and device for acquiring firmware code of electronic equipment
KR101621637B1 (en) Method, apparatus device, client computer, server, mobile terminal, program and storage medium for processing mobile terminal resource
CN103366104A (en) Method and device for controlling accessing of application
TWI494755B (en) Method,device and computer readable storage component for software repair
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN106708555B (en) A kind of method and apparatus loading plug-in unit
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
EP2869233B1 (en) Method, device and terminal for protecting application program
CN105278942B (en) Component management method and device
WO2015062240A1 (en) Application installation method, apparatus and device
US10073957B2 (en) Method and terminal device for protecting application program
CN107122204B (en) Application unloading state detection method and device
CN109145598B (en) Virus detection method and device for script file, terminal and storage medium
CN106933626B (en) Application association method and device
CN106445594B (en) System application installation method and device and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14843286

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 09.08.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14843286

Country of ref document: EP

Kind code of ref document: A1