CN114691159A - Software installation package processing method, device, storage medium and processor - Google Patents
Software installation package processing method, device, storage medium and processor Download PDFInfo
- Publication number
- CN114691159A CN114691159A CN202210326057.5A CN202210326057A CN114691159A CN 114691159 A CN114691159 A CN 114691159A CN 202210326057 A CN202210326057 A CN 202210326057A CN 114691159 A CN114691159 A CN 114691159A
- Authority
- CN
- China
- Prior art keywords
- target
- information
- installation package
- software
- installation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请公开了一种软件安装包的处理方法、装置、存储介质及处理器。该方法包括:根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。通过本申请,解决了相关技术中对软件安装包安装进程的识别效率较低的问题。
The present application discloses a method, device, storage medium and processor for processing a software installation package. The method includes: acquiring process information of a target process according to a target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes currently newly created by the computer; based on the process information, detecting in a preset manner Whether the target process is the installation process of the software installation package; if it is detected that the target process is the installation process of the software installation package, the installation process is terminated. Through the present application, the problem of low identification efficiency of the software installation package installation process in the related art is solved.
Description
技术领域technical field
本申请涉及网络安全技术领域,具体而言,涉及一种软件安装包的处理方法、装置、存储介质及处理器。The present application relates to the technical field of network security, and in particular, to a method, device, storage medium and processor for processing a software installation package.
背景技术Background technique
近年来,随着软件市场更加开放、多样化,在实际的企业管理中,经常会发现一些用户私自从网上下载各类软件并进行安装,这对于企业来说是非常危险的,有可能对企业网络安全造成隐患,比如有些恶意软件会窃取用户隐私、发布恶意广告、耗费终端资源,以往企业管理者可能通过公告、定期人工检查等方式进行检查、处理,但是这种方式耗时耗力,有可能还会出现屡禁不止的情况,管理难度较大但是收效甚微。In recent years, as the software market has become more open and diversified, in actual enterprise management, it is often found that some users have downloaded various software from the Internet and installed them privately. This is very dangerous for enterprises and may be harmful to enterprises. Network security creates hidden dangers. For example, some malicious software will steal user privacy, publish malicious advertisements, and consume terminal resources. In the past, enterprise managers may check and deal with announcements, regular manual inspections, etc., but this method is time-consuming and labor-intensive. There may also be repeated prohibitions, which are difficult to manage but have little effect.
现有技术中,由于安装软件文件大小的准确性和实际结果有一定误差,另外,禁止安装的软件路径、名称信息是提前写好的,如果修改了安装包名称或者将安装包拷贝到其他路径运行,则无法禁止安装。In the prior art, there is a certain error between the accuracy of the installation software file size and the actual result. In addition, the software path and name information for which installation is prohibited are written in advance. If the installation package name is modified or the installation package is copied to other paths run, the installation cannot be disabled.
针对相关技术中对软件安装包安装进程的识别效率较低的问题,目前尚未提出有效的解决方案。Aiming at the problem that the identification efficiency of the software installation package installation process is low in the related art, no effective solution has been proposed so far.
发明内容SUMMARY OF THE INVENTION
本申请的主要目的在于提供一种软件安装包的处理方法、装置、存储介质及处理器,以解决相关技术中对软件安装包安装进程的识别效率较低的问题。The main purpose of the present application is to provide a method, device, storage medium and processor for processing a software installation package, so as to solve the problem of low identification efficiency of the software installation package installation process in the related art.
为了实现上述目的,根据本申请的一个方面,提供了一种软件安装包的处理方法。该方法包括:根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。In order to achieve the above object, according to an aspect of the present application, a method for processing a software installation package is provided. The method includes: acquiring process information of a target process according to a target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes currently newly created by the computer; based on the process information, detecting in a preset manner Whether the target process is the installation process of the software installation package; if it is detected that the target process is the installation process of the software installation package, terminate the installation process.
进一步地,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测进程路径中是否包含目标后缀名;若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;根据执行安装程序确定目标进程为软件安装包的安装进程。Further, detecting whether the target process is the installation process of the software installation package in a preset manner based on the process information includes: detecting whether the process path contains the target suffix name; if it is detected that the process path information contains the target suffix name, determining the corresponding target process. The running program is the execution installation program for executing the software installation package; according to the execution installation program, the target process is determined as the installation process of the software installation package.
进一步地,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测进程名称是否包含目标特征信息;若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。Further, detecting whether the target process is an installation process of a software installation package in a preset manner based on the process information includes: detecting whether the process name contains the target feature information; if it is detected that the process name contains the target feature information, then determining that the target process is the software installation package. installation process.
进一步地,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测对目标进程进行打包的包工具是否为压缩包类型;若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。Further, detecting whether the target process is an installation process of a software installation package in a preset manner based on the process information includes: detecting whether the package tool for packaging the target process is a compressed package type; if it is detected that the package tool for packaging the target process is: If the compressed package type is selected, the target process is determined as the installation process of the software installation package.
进一步地,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:根据进程信息获取软件安装包的目标图标信息;将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。Further, detecting whether the target process is the installation process of the software installation package in a preset manner based on the process information includes: obtaining target icon information of the software installation package according to the process information; comparing the target icon information with the icon information in the target file, and obtaining The comparison result, wherein the target file is obtained from the target process; if the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value, the target process is determined to be the installation process of the software installation package.
进一步地,在根据目标接口获取目标进程的进程信息之后,该方法还包括:检测进程信息中是否存在目标卸载指令;若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。Further, after acquiring the process information of the target process according to the target interface, the method further includes: detecting whether there is a target unloading instruction in the process information; if it is detected that there is a target unloading instruction in the process information, then determining that the running program corresponding to the target process is The uninstaller corresponding to the successfully installed local software is executed, and the uninstaller for uninstalling the local software is executed; if it is detected that there is no target uninstallation instruction in the process information, it is determined that the running program corresponding to the target process is not corresponding to the successfully installed local software the uninstaller, and perform the installation process steps of detecting whether the target process is a software installation package in a preset manner based on the process information.
为了实现上述目的,根据本申请的另一方面,提供了一种软件安装包的处理装置。该装置包括:获取单元,用于根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;第一检测单元,用于基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;执行单元,用于若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。In order to achieve the above object, according to another aspect of the present application, a device for processing a software installation package is provided. The device includes: an obtaining unit for obtaining process information of a target process according to a target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes newly created by the computer; the first detection The unit is used for detecting whether the target process is the installation process of the software installation package in a preset manner based on the process information; the execution unit is used for performing a termination operation on the installation process if it is detected that the target process is the installation process of the software installation package.
进一步地,第一检测单元包括:第一检测模块,用于检测进程路径中是否包含目标后缀名;第一确定模块,用于若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;第二确定模块,用于根据执行安装程序确定目标进程为软件安装包的安装进程。Further, the first detection unit includes: a first detection module for detecting whether the process path contains a target suffix name; a first determination module for determining if the process path information contains a target suffix name, determine the corresponding target process. The running program is the execution installation program for the execution software installation package; the second determination module is used for determining the target process as the installation process of the software installation package according to the execution installation program.
进一步地,第一检测单元包括:第二检测模块,用于检测进程名称是否包含目标特征信息;第三确定模块,用于若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。Further, the first detection unit includes: a second detection module for detecting whether the process name contains target feature information; a third determination module for determining that the target process is a software installation package if it is detected that the process name contains target feature information installation process.
进一步地,第一检测单元包括:第三检测模块,用于检测对目标进程进行打包的包工具是否为压缩包类型;第四确定模块,用于若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。Further, the first detection unit includes: a third detection module, for detecting whether the package tool for packaging the target process is a compressed package type; the fourth determination module, for detecting that the package tool for packaging the target process is If the compressed package type is selected, the target process is determined as the installation process of the software installation package.
进一步地,第一检测单元包括:获取模块,用于根据进程信息获取软件安装包的目标图标信息;比较模块,用于将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;第五确定模块,用于若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。Further, the first detection unit includes: an acquisition module for acquiring target icon information of the software installation package according to the process information; a comparison module for comparing the target icon information with the icon information in the target file to obtain a comparison result, wherein , obtain the target file from the target process; the fifth determining module is used for determining that the target process is the installation process of the software installation package if the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value.
进一步地,该装置还包括:第二检测单元,用于在根据目标接口获取目标进程的进程信息之后,检测进程信息中是否存在目标卸载指令;第一确定单元,用于若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;第二确定单元,用于若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。Further, the device further includes: a second detection unit for detecting whether there is a target unloading instruction in the process information after acquiring the process information of the target process according to the target interface; a first determination unit for detecting if the process information is in the There is a target uninstallation instruction, then determine that the running program corresponding to the target process is the uninstaller corresponding to the local software that has been successfully installed, and execute the uninstaller that uninstalls the local software; the second determining unit is used for detecting that the process information does not exist in the process information. If there is a target uninstallation instruction, it is determined that the running program corresponding to the target process is not the uninstaller corresponding to the successfully installed local software, and the installation process step of detecting whether the target process is a software installation package in a preset manner based on the process information is performed.
根据本申请实施例的另一方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行上述任意一项的方法。According to another aspect of the embodiments of the present application, a processor is also provided, where the processor is configured to run a program, wherein any one of the above-mentioned methods is executed when the program runs.
根据本申请实施例的另一方面,还提供了一种计算机可读存储介质,其上存储有计算机程序/指令,该计算机程序/指令被处理器执行时执行上述任意一项的方法。According to another aspect of the embodiments of the present application, a computer-readable storage medium is also provided, on which computer programs/instructions are stored, and when the computer programs/instructions are executed by a processor, any one of the above methods is performed.
通过本申请,采用以下步骤:根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作,解决了相关技术中对软件安装包安装进程的识别效率较低的问题。通过预设方式对软件安装包的安装进程进行识别检测,进而达到了提高对软件安装包安装进程的识别效率的效果。Through the present application, the following steps are adopted: obtaining process information of the target process according to the target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes currently newly created by the computer; The preset method detects whether the target process is the installation process of the software installation package; if it is detected that the target process is the installation process of the software installation package, a termination operation is performed on the installation process, which solves the problem that the identification efficiency of the software installation package installation process in the related art is relatively high. low problem. The installation process of the software installation package is identified and detected in a preset manner, thereby achieving the effect of improving the identification efficiency of the installation process of the software installation package.
附图说明Description of drawings
构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings constituting a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1是根据本申请实施例提供的软件安装包的处理方法的流程图;1 is a flowchart of a method for processing a software installation package provided according to an embodiment of the present application;
图2是根据本申请实施例提供的软件安装包的处理方法的系统操作流程图;2 is a system operation flowchart of a method for processing a software installation package provided according to an embodiment of the present application;
图3是根据本申请实施例提供的软件安装包的处理装置的示意图。FIG. 3 is a schematic diagram of an apparatus for processing a software installation package provided according to an embodiment of the present application.
具体实施方式Detailed ways
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances for the embodiments of the application described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
为了便于描述,以下对本申请实施例涉及的部分名词或术语进行说明:For the convenience of description, some nouns or terms involved in the embodiments of the present application are described below:
MSI:msi就是microsoft installer的简写,是微软格式的安装包。一般是程序的安装软件,XP下可以直接运行安装,98下需要一个InstMsi的程序才能运行MSI文件。MSI: msi is the abbreviation of microsoft installer, which is an installation package in Microsoft format. Generally, it is the installation software of the program. You can directly run the installation under XP. Under 98, you need an InstMsi program to run the MSI file.
PE:PE文件的全称是Portable Executable,意为可移植的可执行的文件,常见的EXE、DLL、OCX、SYS、COM都是PE文件,PE文件是微软Windows操作系统上的程序文件(可能是间接被执行,如DLL)。PE: The full name of PE file is Portable Executable, which means portable executable file. Common EXE, DLL, OCX, SYS, COM are all PE files. PE files are program files on Microsoft Windows operating system (may be be executed indirectly, such as a DLL).
Manifest:主要用于描述程序集,管理程序集的名字、版本、资源、依赖程序集。Manifest: Mainly used to describe assemblies, manage assembly names, versions, resources, and dependent assemblies.
根据本申请的实施例,提供了一种软件安装包的处理方法。According to an embodiment of the present application, a method for processing a software installation package is provided.
图1是根据本申请实施例的软件安装包的处理方法的流程图。如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of a method for processing a software installation package according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps:
步骤S101,根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一。Step S101: Acquire process information of the target process according to the target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes newly created by the computer.
具体的,通过底层驱动接口,获取新创建的进程信息,根据进程信息可以获取到当前进程ID、进程名称、进程路径、当前用户ID等信息。Specifically, the information of the newly created process is obtained through the underlying driver interface, and information such as the current process ID, process name, process path, and current user ID can be obtained according to the process information.
可选地,在本申请实施例提供的软件安装包的处理方法中,在根据目标接口获取目标进程的进程信息之后,该方法还包括:检测进程信息中是否存在目标卸载指令;若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。Optionally, in the method for processing a software installation package provided by the embodiment of the present application, after acquiring the process information of the target process according to the target interface, the method further includes: detecting whether there is a target uninstallation instruction in the process information; If there is a target uninstall instruction in the information, it is determined that the running program corresponding to the target process is the uninstall program corresponding to the local software that has been successfully installed, and the uninstall program for uninstalling the local software is executed; if it is detected that there is no target uninstall instruction in the process information, Then, it is determined that the running program corresponding to the target process is not the uninstaller program corresponding to the successfully installed local software, and the installation process step of detecting whether the target process is a software installation package in a preset manner based on the process information is performed.
具体的,如图2所示,在计算机存在进程启动的情况下,判断目标进程对应的软件是本地已经安装的软件或者白名单中的软件,例如,本地软件安装信息在注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall”、“HKEY_USERS\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall”或“HKEY_CURRENT_USER\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninst all”下,其中“UninstallString”键为软件卸载命令(对应于本申请中的目标卸载指令),如果当前运行的进程名是卸载命令中的卸载程序,认为当前运行的是本地软件的卸载程序,不是安装包,直接跳过不做其他检查和限制,若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,需要继续执行是否为软件安装包的安装进程的步骤。通过对目标进程对应的执行程序进行判断,进一步提高了对软件安装包的检测效率。Specifically, as shown in Figure 2, in the case where the computer has a process startup, it is determined that the software corresponding to the target process is the locally installed software or the software in the whitelist. For example, the local software installation information is in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows\CurrentVersion\Uninstall", "HKEY_USERS\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" or "HKEY_CURRENT_USER\***\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninst all", where "UninstallString The "" key is the software uninstall command (corresponding to the target uninstall command in this application). If the currently running process name is the uninstall program in the uninstall command, it is considered that the current running program is the uninstall program of the local software, not the installation package, and skips it directly. No other checks and restrictions are performed. If it is detected that the target uninstallation instruction does not exist in the process information, it is determined that the running program corresponding to the target process is not the uninstallation program corresponding to the successfully installed local software, and it is necessary to continue to execute whether it is the installation process of the software installation package. By judging the execution program corresponding to the target process, the detection efficiency of the software installation package is further improved.
步骤S102,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程。Step S102 , based on the process information, it is detected in a preset manner whether the target process is an installation process of a software installation package.
具体的,如图2所示,根据进程信息中的进程名称、进程详细信息以及是否为压缩包类型对软件安装包进行识别检测。Specifically, as shown in FIG. 2 , the software installation package is identified and detected according to the process name, the process detailed information and whether it is a compressed package type in the process information.
可选地,在本申请实施例提供的软件安装包的处理方法中,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测进程路径中是否包含目标后缀名;若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;根据执行安装程序确定目标进程为软件安装包的安装进程。Optionally, in the method for processing a software installation package provided by the embodiment of the present application, detecting whether a target process is an installation process of a software installation package in a preset manner based on process information includes: detecting whether the process path includes a target suffix name; It is detected that the process path information contains the target suffix name, and it is determined that the running program corresponding to the target process is the execution installation program for the execution software installation package; according to the execution installation program, it is determined that the target process is the installation process of the software installation package.
具体的,判断进程路径中运行的程序后缀是否为msi,如果进程名是Msiexec.exe,若发现参数中调用msi程序,则认为是在执行软件安装包的安装进程,通过对程序文件的后缀名进行判断,进一步提高了对软件安装包的检测效率。Specifically, it is judged whether the suffix of the program running in the process path is msi. If the process name is Msiexec.exe, if it is found that the msi program is called in the parameter, it is considered that the installation process of the software installation package is being executed. The judgment is made, which further improves the detection efficiency of the software installation package.
可选地,在本申请实施例提供的软件安装包的处理方法中,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测进程名称是否包含目标特征信息;若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。Optionally, in the method for processing a software installation package provided by the embodiment of the present application, detecting whether a target process is an installation process of a software installation package in a preset manner based on process information includes: detecting whether the process name includes target feature information; If the process name contains the target characteristic information, the target process is determined to be the installation process of the software installation package.
具体的,读取安装程序文件产品名称、原始文件名、文件描述,如果包括“install”、“setup”、“安装程序”、“安装包”,并且运行程序名称中不含“uninst”,认为运行的是软件安装包程序,通过对目标特征信息进行判断,进一步提高了对软件安装包的检测效率。Specifically, read the product name, original file name, and file description of the installer file. If it includes "install", "setup", "installer", and "installation package", and the name of the running program does not contain "uninst", it is considered that The software installation package program is running, and the detection efficiency of the software installation package is further improved by judging the target feature information.
可选地,在本申请实施例提供的软件安装包的处理方法中,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:检测对目标进程进行打包的包工具是否为压缩包类型;若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。Optionally, in the method for processing a software installation package provided by the embodiment of the present application, detecting whether the target process is an installation process of a software installation package in a preset manner based on process information includes: detecting whether a package tool for packaging the target process is a software installation package. Compressed package type; if it is detected that the package tool for packaging the target process is of the compressed package type, it is determined that the target process is the installation process of the software installation package.
具体的,读取运行程序的PE信息,获取manifest内容,可得到该程序是由哪种做包工具打包的,例如,以下mainifest显示,该软件打包工具是Nullsoft Install Systemv2.46.5-Unicode,一般来说,安装包程序基本都是经过标准工具打包的,很多卸载程序没有打包类型,例如,如果运行程序的打包类型为压缩包类型,则认为目标进程运行的是软件安装包程序,通过对目标进程进行打包的包工具进行判断,进一步提高了对软件安装包的检测效率。Specifically, by reading the PE information of the running program and obtaining the manifest content, you can get which packaging tool the program is packaged by. For example, the following mainifest shows that the software packaging tool is Nullsoft Install Systemv2.46.5-Unicode. It is said that the installation package program is basically packaged by standard tools, and many uninstallers do not have a packaging type. For example, if the packaging type of the running program is a compressed package type, it is considered that the target process is running a software installation package program. The packaged package tool is used for judgment, which further improves the detection efficiency of the software installation package.
可选地,在本申请实施例提供的软件安装包的处理方法中,基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程包括:根据进程信息获取软件安装包的目标图标信息;将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。Optionally, in the method for processing a software installation package provided by the embodiment of the present application, detecting whether the target process is an installation process of the software installation package in a preset manner based on the process information includes: acquiring target icon information of the software installation package according to the process information. ; Compare the target icon information with the icon information in the target file to obtain a comparison result, wherein the target file is obtained from the target process; If the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value, then determine the target The process is the installation process of the software installation package.
具体的,基于常见的做包工具和安装程序,搜集大量软件安装包的图标,将这些图标转换成二进制文件保存在本地,然后读取目标进程的运行程序PE文件中的图标信息,进行比较,如果二者的比较结果相似度超过80%,则认为目标进程运行的是软件安装包程序。Specifically, based on common packaging tools and installation programs, collect a large number of icons of software installation packages, convert these icons into binary files and save them locally, and then read the icon information in the PE file of the running program of the target process and compare them. If the similarity between the two comparison results exceeds 80%, it is considered that the target process is running a software installation package program.
步骤S103,若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。Step S103, if it is detected that the target process is an installation process of a software installation package, a termination operation is performed on the installation process.
具体的,如果上述判断不是软件安装包,不进行任何动作,其中,软件正常运行计算机管理员可以根据实际对软件安装行为进行限制,例如所有软件安装动作都被禁止,或者只允许某些路径、某些文件签名、某些被指定进程调用的安装程序运行,如果不满足放行规则,并且根据以上步骤S101-步骤S102判断确实是软件安装包程序在运行,则调用Windows API结束该软件安装包的安装进程。本申请通过准确地对软件安装行为进行管控,协助管理员高效、准确地进行企业软件管理,进一步保证了用户、企业的软件使用安全。Specifically, if the above judgment is not a software installation package, no action is taken. The computer administrator can restrict the software installation behavior according to the actual operation of the software, for example, all software installation actions are prohibited, or only certain paths, Some file signatures and some installation programs called by the designated process are running. If the release rules are not satisfied, and it is judged according to the above steps S101 to S102 that the software installation package program is indeed running, then the Windows API is called to end the software installation package. installation process. By accurately managing and controlling software installation behavior, this application assists administrators to efficiently and accurately manage enterprise software, and further ensures the safety of software use by users and enterprises.
综上,本申请实施例提供的软件安装包的处理方法,通过根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作,解决了相关技术中对软件安装包安装进程的识别效率较低的问题。通过预设方式对软件安装包的安装进程进行识别检测,进而达到了提高对软件安装包安装进程的识别效率的效果。To sum up, the method for processing a software installation package provided by the embodiments of the present application obtains process information of a target process according to a target interface, where the process information at least includes: a process name and a process path, wherein the target process is at least a newly created computer currently One of the processes of the software; based on the process information, it is detected according to a preset method whether the target process is the installation process of the software installation package; if it is detected that the target process is the installation process of the software installation package, the installation process is terminated. The problem that the identification efficiency of the software installation package installation process is low. The installation process of the software installation package is identified and detected in a preset manner, thereby achieving the effect of improving the identification efficiency of the installation process of the software installation package.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowcharts, in some cases, Steps shown or described may be performed in an order different from that herein.
本申请实施例还提供了一种软件安装包的处理装置,需要说明的是,本申请实施例的软件安装包的处理装置可以用于执行本申请实施例所提供的用于软件安装包的处理方法。以下对本申请实施例提供的软件安装包的处理装置进行介绍。An embodiment of the present application further provides a device for processing a software installation package. It should be noted that the device for processing a software installation package in the embodiment of the present application may be used to perform the processing for the software installation package provided by the embodiment of the present application. method. The following describes an apparatus for processing a software installation package provided by an embodiment of the present application.
图3是根据本申请实施例的软件安装包的处理装置的示意图。如图3所示,该装置包括:获取单元301、第一检测单元302、执行单元303。FIG. 3 is a schematic diagram of an apparatus for processing a software installation package according to an embodiment of the present application. As shown in FIG. 3 , the apparatus includes: an acquisition unit 301 , a first detection unit 302 , and an execution unit 303 .
具体的,获取单元301,用于根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;Specifically, the obtaining unit 301 is configured to obtain process information of the target process according to the target interface, wherein the process information at least includes: a process name and a process path, wherein the target process is at least one of the processes newly created by the computer;
第一检测单元302,用于基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;The first detection unit 302 is configured to detect whether the target process is an installation process of a software installation package in a preset manner based on the process information;
执行单元303,用于若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。The execution unit 303 is configured to perform a termination operation on the installation process if it is detected that the target process is an installation process of a software installation package.
综上,本申请实施例提供的软件安装包的处理装置,通过获取单元301根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;第一检测单元302基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;执行单元303若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作,解决了相关技术中对软件安装包安装进程的识别效率较低的问题。通过预设方式对软件安装包的安装进程进行识别检测,进而达到了提高对软件安装包安装进程的识别效率的效果。To sum up, the apparatus for processing a software installation package provided by the embodiment of the present application acquires the process information of the target process according to the target interface through the acquiring unit 301, wherein the process information at least includes: a process name and a process path, wherein the target process is at least a computer One of the currently newly created processes; the first detection unit 302 detects whether the target process is the installation process of the software installation package in a preset manner based on the process information; if the execution unit 303 detects that the target process is the installation process of the software installation package, the installation process The process performs the termination operation, which solves the problem of low identification efficiency of the software installation package installation process in the related art. The installation process of the software installation package is identified and detected in a preset manner, thereby achieving the effect of improving the identification efficiency of the installation process of the software installation package.
可选地,在本申请实施例提供的软件安装包的处理装置中,第一检测单元包括:第一检测模块,用于检测进程路径中是否包含目标后缀名;第一确定模块,用于若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;第二确定模块,用于根据执行安装程序确定目标进程为软件安装包的安装进程。Optionally, in the apparatus for processing a software installation package provided in the embodiment of the present application, the first detection unit includes: a first detection module, configured to detect whether the process path contains a target suffix name; It is detected that the process path information contains the target suffix name, and it is determined that the running program corresponding to the target process is the execution installation program for the execution software installation package; the second determination module is used to determine the target process is the installation process of the software installation package according to the execution installation program. .
可选地,在本申请实施例提供的软件安装包的处理装置中,第一检测单元包括:第二检测模块,用于检测进程名称是否包含目标特征信息;第三确定模块,用于若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。Optionally, in the apparatus for processing a software installation package provided in the embodiment of the present application, the first detection unit includes: a second detection module, used to detect whether the process name contains target feature information; a third determination module, used to detect if If the process name contains the target characteristic information, the target process is determined to be the installation process of the software installation package.
可选地,在本申请实施例提供的软件安装包的处理装置中,第一检测单元包括:第三检测模块,用于检测对目标进程进行打包的包工具是否为压缩包类型;第四确定模块,用于若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。Optionally, in the apparatus for processing a software installation package provided by the embodiment of the present application, the first detection unit includes: a third detection module, configured to detect whether the package tool for packaging the target process is a compressed package type; the fourth determination The module is used for determining that the target process is the installation process of the software installation package if it is detected that the package tool for packaging the target process is a compressed package type.
可选地,在本申请实施例提供的软件安装包的处理装置中,第一检测单元包括:获取模块,用于根据进程信息获取软件安装包的目标图标信息;比较模块,用于将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;第五确定模块,用于若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。Optionally, in the apparatus for processing a software installation package provided in this embodiment of the present application, the first detection unit includes: an acquisition module, configured to acquire target icon information of the software installation package according to process information; a comparison module, used to compare the target icon The information is compared with the icon information in the target file to obtain a comparison result, wherein the target file is obtained from the target process; the fifth determination module is used for if the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value, Then it is determined that the target process is the installation process of the software installation package.
可选地,在本申请实施例提供的软件安装包的处理装置中,该装置还包括:第二检测单元,用于在根据目标接口获取目标进程的进程信息之后,检测进程信息中是否存在目标卸载指令;第一确定单元,用于若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;第二确定单元,用于若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。Optionally, in the apparatus for processing a software installation package provided in the embodiment of the present application, the apparatus further includes: a second detection unit, configured to detect whether there is a target in the process information after acquiring the process information of the target process according to the target interface an uninstall instruction; a first determining unit is configured to determine that the running program corresponding to the target process is the uninstall program corresponding to the successfully installed local software if it is detected that there is a target uninstall instruction in the process information, and execute the uninstallation of uninstalling the local software a program; a second determining unit, configured to determine that the running program corresponding to the target process is not the uninstaller corresponding to the successfully installed local software if it is detected that the target uninstallation instruction does not exist in the process information, and execute the process information based on the preset mode The installation process step of detecting whether the target process is a software installation package.
软件安装包的处理装置包括处理器和存储器,上述获取单元301、第一检测单元302、执行单元303等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The processing device of the software installation package includes a processor and a memory, and the above-mentioned acquisition unit 301, the first detection unit 302, the execution unit 303, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding function.
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来进行软件安装包的处理。The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can set one or more, and the software installation package can be processed by adjusting the kernel parameters.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one memory chip.
本发明实施例提供了一种存储介质,其上存储有程序,该程序被处理器执行时实现软件安装包的处理方法。An embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by a processor, a method for processing a software installation package is implemented.
本发明实施例提供了一种处理器,处理器用于运行程序,其中,程序运行时执行软件安装包的处理方法。An embodiment of the present invention provides a processor, where the processor is used for running a program, wherein a method for processing a software installation package is executed when the program is running.
本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。An embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored in the memory and running on the processor. When the processor executes the program, the following steps are implemented: acquiring process information of a target process according to a target interface, The process information includes at least: process name and process path, wherein the target process is at least one of the processes newly created by the computer; based on the process information, it is detected in a preset manner whether the target process is an installation process of a software installation package; if it is detected The target process is the installation process of the software installation package, and the installation process is terminated.
处理器执行程序时还实现以下步骤:检测进程路径中是否包含目标后缀名;若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;根据执行安装程序确定目标进程为软件安装包的安装进程。The processor also implements the following steps when executing the program: detecting whether the process path contains the target suffix name; if it is detected that the process path information contains the target suffix name, determining that the running program corresponding to the target process is the execution installation program for the execution software installation package; According to the execution of the installation program, it is determined that the target process is the installation process of the software installation package.
处理器执行程序时还实现以下步骤:检测进程名称是否包含目标特征信息;若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。The processor also implements the following steps when executing the program: detecting whether the process name contains target feature information; if it is detected that the process name contains target feature information, determining that the target process is an installation process of a software installation package.
处理器执行程序时还实现以下步骤:检测对目标进程进行打包的包工具是否为压缩包类型;若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。When the processor executes the program, the following steps are also implemented: detecting whether the package tool for packaging the target process is a compressed package type; if it is detected that the package tool for packaging the target process is a compressed package type, then determining that the target process is a software installation package. installation process.
处理器执行程序时还实现以下步骤:根据进程信息获取软件安装包的目标图标信息;将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。The processor also implements the following steps when executing the program: obtaining target icon information of the software installation package according to the process information; comparing the target icon information with the icon information in the target file to obtain a comparison result, wherein the target file is obtained from the target process; If the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value, the target process is determined to be the installation process of the software installation package.
处理器执行程序时还实现以下步骤:在根据目标接口获取目标进程的进程信息之后,检测进程信息中是否存在目标卸载指令;若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。When the processor executes the program, the following steps are also implemented: after acquiring the process information of the target process according to the target interface, detecting whether there is a target unloading instruction in the process information; if it is detected that there is a target unloading instruction in the process information, then determining the operation corresponding to the target process The program is the uninstaller corresponding to the local software that has been installed successfully, and executes the uninstaller that uninstalls the local software; if it is detected that there is no target uninstallation instruction in the process information, it is determined that the running program corresponding to the target process is not the local software that has been successfully installed. The uninstallation program corresponding to the software, and the installation process step of detecting whether the target process is a software installation package in a preset manner based on the process information is executed.
本文中的设备可以是服务器、PC等。A device in this context can be a server, a PC, or the like.
本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:根据目标接口获取目标进程的进程信息,其中,进程信息至少包括:进程名称、进程路径,其中,目标进程至少为计算机当前新创建的进程之一;基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程;若检测到目标进程为软件安装包的安装进程,对安装进程执行终止操作。The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: acquiring process information of a target process according to a target interface, wherein the process information at least includes: a process name , a process path, wherein the target process is at least one of the currently newly created processes on the computer; based on the process information, it is detected in a preset manner whether the target process is an installation process of a software installation package; if it is detected that the target process is an installation process of a software installation package to terminate the installation process.
当在数据处理设备上执行时,还适于执行初始化有如下方法步骤的程序:检测进程路径中是否包含目标后缀名;若检测到进程路径信息中包含目标后缀名,确定目标进程对应的运行程序是对执行软件安装包的执行安装程序;根据执行安装程序确定目标进程为软件安装包的安装进程。When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: detecting whether the process path contains a target suffix name; if it is detected that the process path information contains a target suffix name, determine the running program corresponding to the target process It is the execution installation program for executing the software installation package; according to the execution installation program, the target process is determined as the installation process of the software installation package.
当在数据处理设备上执行时,还适于执行初始化有如下方法步骤的程序:检测进程名称是否包含目标特征信息;若检测到进程名称包含目标特征信息,则确定目标进程为软件安装包的安装进程。When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: detecting whether the process name contains target feature information; if it is detected that the process name contains target feature information, then determining that the target process is the installation of the software installation package process.
当在数据处理设备上执行时,还适于执行初始化有如下方法步骤的程序:检测对目标进程进行打包的包工具是否为压缩包类型;若检测到对目标进程进行打包的包工具为压缩包类型,则确定目标进程为软件安装包的安装进程。When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: detecting whether the package tool for packaging the target process is a compressed package type; if it is detected that the package tool for packaging the target process is a compressed package type, the target process is determined to be the installation process of the software installation package.
当在数据处理设备上执行时,还适于执行初始化有如下方法步骤的程序:根据进程信息获取软件安装包的目标图标信息;将目标图标信息与目标文件中的图标信息进行比较,得到比较结果,其中,从目标进程中获取目标文件;若比较结果表示图标信息与目标图标信息的相似度大于预设值,则确定目标进程为软件安装包的安装进程。When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: obtaining the target icon information of the software installation package according to the process information; comparing the target icon information with the icon information in the target file to obtain a comparison result , wherein the target file is obtained from the target process; if the comparison result indicates that the similarity between the icon information and the target icon information is greater than the preset value, the target process is determined to be the installation process of the software installation package.
当在数据处理设备上执行时,还适于执行初始化有如下方法步骤的程序:在根据目标接口获取目标进程的进程信息之后,检测进程信息中是否存在目标卸载指令;若检测到进程信息中存在目标卸载指令,则确定目标进程对应的运行程序是已经安装成功的本地软件对应的卸载程序,并执行对本地软件进行卸载的卸载程序;若检测到进程信息中不存在目标卸载指令,则确定目标进程对应的运行程序不是已经安装成功的本地软件对应的卸载程序,并执行基于进程信息按照预设方式检测目标进程是否为软件安装包的安装进程步骤。When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: after acquiring the process information of the target process according to the target interface, detecting whether there is a target unloading instruction in the process information; The target uninstallation instruction is to determine that the running program corresponding to the target process is the uninstallation program corresponding to the successfully installed local software, and execute the uninstallation program for uninstalling the local software; if it is detected that the target uninstallation instruction does not exist in the process information, the target uninstallation program is determined. The running program corresponding to the process is not the uninstaller corresponding to the successfully installed local software, and the installation process step of detecting whether the target process is a software installation package in a preset manner based on the process information is performed.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210326057.5A CN114691159A (en) | 2022-03-30 | 2022-03-30 | Software installation package processing method, device, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210326057.5A CN114691159A (en) | 2022-03-30 | 2022-03-30 | Software installation package processing method, device, storage medium and processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114691159A true CN114691159A (en) | 2022-07-01 |
Family
ID=82141631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210326057.5A Pending CN114691159A (en) | 2022-03-30 | 2022-03-30 | Software installation package processing method, device, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114691159A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138366A (en) * | 2015-08-24 | 2015-12-09 | 百度在线网络技术(北京)有限公司 | Recognition software silent installation method and device |
WO2017173925A1 (en) * | 2016-04-06 | 2017-10-12 | 中兴通讯股份有限公司 | Software management method and device, terminal, and storage medium |
CN109697338A (en) * | 2018-12-10 | 2019-04-30 | 深圳市网心科技有限公司 | A kind of software installation hold-up interception method and relevant apparatus |
CN112380170A (en) * | 2020-11-25 | 2021-02-19 | 北京珞安科技有限责任公司 | Correlation method and device for file updating operation and computer equipment |
-
2022
- 2022-03-30 CN CN202210326057.5A patent/CN114691159A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138366A (en) * | 2015-08-24 | 2015-12-09 | 百度在线网络技术(北京)有限公司 | Recognition software silent installation method and device |
WO2017173925A1 (en) * | 2016-04-06 | 2017-10-12 | 中兴通讯股份有限公司 | Software management method and device, terminal, and storage medium |
CN109697338A (en) * | 2018-12-10 | 2019-04-30 | 深圳市网心科技有限公司 | A kind of software installation hold-up interception method and relevant apparatus |
CN112380170A (en) * | 2020-11-25 | 2021-02-19 | 北京珞安科技有限责任公司 | Correlation method and device for file updating operation and computer equipment |
Non-Patent Citations (2)
Title |
---|
张德贤,王高平主编: "《网络技术与应用教程》", 31 August 2004, 郑州:黄河水利出版社, pages: 173 - 175 * |
张正新主编: "《数据库应用实战与课程设计教程 基于Visual FoxPro9.0》", 30 September 2021, 西安交通大学出版社, pages: 141 - 143 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4828218B2 (en) | Self-describing artifacts and application abstraction | |
US11151244B2 (en) | Software container profiling | |
KR101928127B1 (en) | Selective file access for applications | |
US7845006B2 (en) | Mitigating malicious exploitation of a vulnerability in a software application by selectively trapping execution along a code path | |
US11409884B2 (en) | Security profiling of system firmware and applications from an OOB appliance at a differentiated trust boundary | |
US8473941B2 (en) | Dynamic file system restriction for portable storage devices | |
JP6166839B2 (en) | System and method for replacing application methods at runtime | |
US20050172280A1 (en) | System and method for preintegration of updates to an operating system | |
US11151268B2 (en) | Software container access control | |
JP2005129066A (en) | Operating system resource protection | |
CN101304409A (en) | Malicious code detection method and system | |
JP2005129063A (en) | Application id for software products | |
US8918776B2 (en) | Self-adapting software system | |
US9286083B2 (en) | Satisfying missing dependencies on a running system | |
US11416614B2 (en) | Statistical detection of firmware-level compromises | |
US20110030036A1 (en) | Running a software module at a higher privilege level in response to a requestor associated with a lower privilege level | |
CN114691159A (en) | Software installation package processing method, device, storage medium and processor | |
GB2550178A (en) | Software container access control | |
CN114254331B (en) | Security protection method and device for terminal equipment, electronic equipment and storage medium | |
KR101842263B1 (en) | Method and apparatus for preventing reverse engineering | |
RU2592383C1 (en) | Method of creating antivirus record when detecting malicious code in random-access memory | |
CN114328409A (en) | A method, device and electronic device for setting a file type opening method | |
US20070038572A1 (en) | Method, system and computer program for metering software usage | |
US10521592B2 (en) | Application translocation | |
TWI801856B (en) | Method of application control for child-program execution |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |