[go: up one dir, main page]

CN109165026A - drive installation method and device - Google Patents

drive installation method and device Download PDF

Info

Publication number
CN109165026A
CN109165026A CN201810889259.4A CN201810889259A CN109165026A CN 109165026 A CN109165026 A CN 109165026A CN 201810889259 A CN201810889259 A CN 201810889259A CN 109165026 A CN109165026 A CN 109165026A
Authority
CN
China
Prior art keywords
computer
model
driver
installation
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810889259.4A
Other languages
Chinese (zh)
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810889259.4A priority Critical patent/CN109165026A/en
Publication of CN109165026A publication Critical patent/CN109165026A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of driving installation method and devices, computer applied to driver to be installed, this method comprises: obtaining the associated installation authority information of driver to be installed, which includes: the computer model of setting when meeting driving mounting condition;Obtain the type information of the computer of the driver to be installed;Whether the type information based on the computer, the model for detecting the computer are consistent with the computer model of the setting;When the model of the computer is consistent with the computer model of the setting, the installation kit based on the driver installs the driver.The scheme of the application can reduce the case where driver is stolen and installs.

Description

Drive installation method and device
Technical field
This application involves field of computer technology more particularly to a kind of driving installation methods and device.
Background technique
Driver is also referred to as device driver, is the separate procedure for communicating computer and hardware device.It is calculating When machine is installed or uses hardware device (e.g., video card, sound card, network interface card and peripheral equipment), require to install in a computer The corresponding driver of the hardware device.Driver is equivalent to interface of the operating system to hardware device, operation in computer System can control the work of hardware device by driver this interface.
Wherein, the driver for installing hardware device in a computer is to drive journey by the operating system of computer Sequence, to complete the installation of hardware device drivers using driver.However it can not prevent in existing driver mounting means Only driver is arbitrarily installed, it is easy to the stolen situation of driver occurs.
Summary of the invention
In view of this, this application provides a kind of driving installation method and device, it is stolen and pacifies to reduce driver The case where dress.
To achieve the above object, on the one hand, this application provides a kind of driving installation methods, comprising:
When meeting driving mounting condition, the associated installation authority information of driver to be installed, the installation are obtained Authority information includes: the computer model of setting;
Obtain the type information of the computer of the driver to be installed;
Based on the type information of the computer, detect the computer model whether the computer type with the setting It is number consistent;
When the model of the computer is consistent with the computer model of the setting, the installation based on the driver Packet installs the driver.
Preferably, the installation authority information further include: the mainboard model of setting;
Before the installation kit based on the driver installs the driver, further includes:
Obtain the model of mainboard in the computer;
Whether the model for detecting mainboard in the computer is consistent with the mainboard model of the setting;
The installation kit based on the driver installs the driver, comprising:
When the model of mainboard is consistent with the mainboard model of the setting in the computer, based on the driver Installation kit installs the driver.
Preferably, the installation authority information further include: the operating system classification of setting;
Before the installation kit based on the driver installs the driver, further includes:
Obtain classification belonging to operating system in the computer;
Whether consistent with the operating system classification of the setting detect classification belonging to operating system in the computer;
The installation kit based on the driver installs the driver, comprising:
When the classification belonging to the operating system in the computer is consistent with the operating system classification of the setting, it is based on institute The installation kit for stating driver installs the driver.
Preferably, further includes:
When the model of the computer and the computer model of the setting is inconsistent or the computer in mainboard Model and the mainboard model of the setting are inconsistent, terminate the installation of the driver.
Preferably, the type information for obtaining the computer, comprising:
Obtain the model of the host of the computer.
Another aspect, present invention also provides a kind of driving mounting devices, comprising:
Authority acquiring unit, for obtaining the associated installation of driver to be installed when meeting driving mounting condition Authority information, the installation authority information include: the computer model of setting;
First model acquiring unit, the type information of the computer for obtaining the driver to be installed;
First detection unit, for the type information based on the computer, detect the computer model whether with The computer model of the setting is consistent;
Installation unit is driven, for being based on when the model of the computer is consistent with the computer model of the setting The installation kit of the driver installs the driver.
Preferably, the installation authority information that the authority acquiring unit is got further include: the mainboard model of setting;
Further include:
Second model acquiring unit is used for before the driving installation unit installs the driver, described in acquisition The model of mainboard in computer;
Second detection unit, for detect mainboard in the computer model whether the mainboard model one with the setting It causes;
The driving installation unit, specifically for detecting that the model of computer is set with described when the first detection unit Fixed computer model is consistent, and the second detection unit detects the model of mainboard and the setting in the computer When mainboard model is consistent, the installation kit based on the driver installs the driver.
Preferably, the installation authority information that the authority acquiring unit is got further include: the operating system of setting Classification;
Further include:
System classification acquiring unit, for the installation kit based on the driver install the driver it Before, obtain classification belonging to operating system in the computer;
Third detection unit, for detect in the computer classification belonging to operating system whether the behaviour with the setting It is consistent to make system classification;
The driving installation unit, is specifically used for, when the first detection unit detect the model of computer with it is described The computer model of setting is consistent, and the third detection unit detect in computer classification belonging to operating system with it is described When the operating system classification of setting is consistent, the installation kit based on the driver installs the driver.
Preferably, further includes:
Installation terminate unit, for when the computer model and the setting computer model it is inconsistent, or The model of mainboard and the mainboard model of the setting are inconsistent in the computer, terminate the installation of the driver.
Preferably, the first model acquiring unit, is specifically used for, and obtains the model of the host of the computer.
It can be seen via above technical scheme that the application the installation kit based on driver install the driver it Before, the associated installation authority information of the driver can be first obtained, and based on the computer type set in the installation authority information Number, whether the model for detecting the computer of the driver to be installed belongs to the computer model for allowing to install driver, from And make the computer for only installing the computer model set in authority information that the driver can be just installed, reduce and appoints The case where meaning computer can arbitrarily install the driver, so that reducing driver is arbitrarily installed and usurped peace The case where dress.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 shows a kind of flow diagram for driving installation method one embodiment of the application;
Fig. 2 shows a kind of flow diagrams for driving another embodiment of installation method of the application;
Fig. 3 shows a kind of composition schematic diagram for driving mounting device one embodiment of the application.
Specific embodiment
A kind of driving installation method of the application, so that the computer of the specific model only with installation permission just can be with The driver for installing the application, avoids the case where arbitrarily installing the driver, to reduce the driving of enterprise development The case where program is stolen and installs.
It describes in detail with reference to the accompanying drawing.
Such as, referring to Fig. 1, it illustrates a kind of flow diagram for driving installation method one embodiment of the application, this realities The method for applying example can be applied to the operating system in the computer of driver to be installed.The method of the present embodiment may include Following steps:
S101 obtains the associated installation authority information of driver to be installed when meeting driving mounting condition.
Driving mounting condition can be set as needed, and e.g., can detecte the finger of the installation driver of user's input It enables.For another example, the operating system that can be computer detects that the driver package downloading of driver is completed.
Certainly, the driving mounting condition of triggering installation driver can also have other possibility, this Shen in practical applications It is please without restriction to this.
When driving mounting condition with existing satisfaction, unlike the installation kit installation driver based on driver, In the embodiment of the present application, before which is installed, the power of installation associated by driver to be installed can also first be obtained Limit information.
Wherein, record has some power met needed for the computer for having and installing the driver in the installation authority information Limit condition.Such as, which includes at least: the computer model of setting.The computer model of the setting namely permits Model possessed by the computer of the driver is installed perhaps.
It will be appreciated that the model of computer can characterize the manufacturing enterprise of computer, it is, of course, also possible to be used for the production The computer of different type or purposes in enterprise, therefore, setting computer model, which is equivalent to, in installation authority information sets The computer for allowing to install the driver belongs to enterprise's computer generated with installation permission.
It will be appreciated that since a set of driver is possible to that one or more computer of multiple enterprises can be allowed to The computer of model uses, and therefore, installing may include one or more computer model set in authority information.
Optionally, which can be the model of host in computer.
It is understood that the mainboard type of only computer can also be limited other than the model for limiting the computer Number, therefore, which can also include the mainboard model of setting.
In one possible implementation, which can store the driver package in the driver In, that is to say, that it further include the installation authority information in the driver package other than including the installation kit of driver.
Further, in the embodiment of the present application operating system based on driver installation kit installation driver it Afterwards, it is also based on the driver package and carries out the detection operation before subsequent installation.Correspondingly, can wrap in the driver package Detection program is included, then step S101 can be the operating system detection program, and by running the detection program from drive The installation authority information is obtained in dynamic program packet.
S102 obtains the type information of the computer of the driver to be installed.
The mode that operating system obtains the type information of the computer can arbitrarily obtain the computer there are many mode The mode of type information is suitable for embodiments herein, and the application is without restriction to this.
In the embodiment of the present application, operating system is by running the detection program of the driver package, and passes through detection journey Sequence determines the type information for currently needing to obtain the computer, then operating system can obtain the type information of the computer.
Optionally, under the premise of being set with host model in installing authority information, which obtains the model of computer Information can be the model for obtaining the host of computer.
S103, the type information based on the computer, detect the computer model whether with installation authority information in set Fixed computer model is consistent.
Such as, whether the model for the computer that the type information of computer is characterized belongs to one or more calculating of setting Type number, if it is, determining that the model of the computer is consistent with the computer model of setting.
S104, when the model of the computer is consistent with the computer model of setting, the installation kit based on the driver The driver is installed.
It is understood that if being set in the model of the computer that operating system is got and installation authority information Computer model is consistent, then illustrates that the computer belongs to the computer for installing the driver permission, in that case, Operating system installs the driver based on the installation kit of the driver, not will lead to the driver and is mounted to and does not award In the illegal computers such as power.
In the application before the installation kit based on driver installs the driver, driver pass can be first obtained The installation authority information of connection, and based on the computer model set in the installation authority information, detect the driver to be installed Computer model whether belong to allow install driver computer model so that only installation authority information in The computer of the computer model of setting can just install the driver, and reducing any computer can arbitrarily install this The case where driver, to reduce the case where driver is arbitrarily installed and usurps installation.
Optionally, it in order to further increase the reliability that driver is installed, can also be limited in installation authority information Allow the mainboard model of mainboard in the computer of the driver, on this basis, before the driver is installed, operation system System can also obtain the model of mainboard in the computer.
Meanwhile operating system can compare mainboard in computer model whether with mainboard model one in security permission information It causes.Correspondingly, only when the computer model it is consistent with the computer model of setting, and in computer the model of mainboard with should The mainboard model of setting is consistent, just can install the driver based on the installation kit of the driver.
Further, when the computer model of the model of the computer and the setting is inconsistent or the computer in it is main The model of plate and the mainboard model of setting are inconsistent, terminate the installation of the driver.
In the application above embodiments, it is contemplated that the operating system that different driving program is applicable in would also vary from, Therefore, the operating system classification that driver is applicable in can also be set in the installation authority information.Correspondingly, being somebody's turn to do in installation Before driver, classification belonging to operating system in the computer can be also obtained, and detects operating system institute in the computer Whether the classification of category is consistent with the operating system classification of setting.Only when the model of the computer and the computer model of setting one It causes, and when classification belonging to operating system is consistent with the operating system classification of the setting in the computer, can just be based on the drive The installation kit of dynamic program installs driver.
Further, the model for being also possible to work as the computer is consistent with the computer model of setting, main in the computer The model of plate is consistent with the mainboard model of setting, and, the operation system of classification belonging to operating system and the setting in the computer When classification of uniting is consistent, just driver can be installed based on the installation kit of the driver.
In order to make it easy to understand, another embodiment below with reference to the application is situated between to the driving installation method of the application It continues.
Such as, referring to fig. 2, it illustrates a kind of flow diagrams for driving another embodiment of installation method of the application, originally The method of embodiment can be using the operating system in the computer of driver to be installed.The method of the present embodiment can wrap It includes:
S201, when meeting driving mounting condition, operating system obtains the driver package of driver to be installed.
Wherein, which includes the installer package for detecting program and driver.
S202, operating system detection program, to determine that driver to be installed is associated by detecting program Authority information is installed.
It in the present embodiment, is for having detected in program installation authority information built-in.Certainly, in the driver package The separate storage installation authority information is applied equally to the application.
In the present embodiment, the installation authority information may include: at least one setting computer model, at least one Mainboard model and at least one operating system classification.
S203, operating system obtain classification belonging to the operating system, the type of the computer by running the detection program Number and the computer in mainboard model.
It is understood that operating system can successively obtain classification belonging to the operating system, the model of the computer And in the computer mainboard model, be also possible to obtain these three information simultaneously, the application is without restriction to this.
S204, operating system detect whether classification belonging to the operating system belongs to installation by running the detection program The operating system classification set in authority information.
Such as, when the operating system classification set is one, detect classification belonging to the operating system whether with setting Operating system classification is consistent;The operating system classification set as it is multiple when, whether detect classification belonging to the operating system Belong to one in multiple operating system classification of setting, if it is, thinking classification belonging to the operating system and setting Operating system classification it is consistent.
S205, for operating system by running the detection program, whether the model for detecting the computer belongs to installation permission letter The computer model set in breath.
S206, operating system is by running whether the detection program, the model for detecting the mainboard in the computer belong to peace The mainboard model set in dress authority information.
Step S205 and S206 is similar to preceding step S204, and implements referring also in preceding embodiment Related introduction, details are not described herein.
It is understood that the sequence of above step S204, S205 and S206 are not limited to shown in Fig. 2, in practical application In the sequences of these three steps can be interchanged, be also possible to be performed simultaneously these three steps.
S207, when detecting that classification belonging to operating system in computer belongs to the operating system classification of setting, computer Model belong to the computer model of setting, and when the model of mainboard belongs to the mainboard model of setting in computer, be based on the drive The installation kit of the driver in dynamic program packet, installs the driver in a computer.
S208 is calculated when detecting that classification belonging to operating system in computer is not belonging to the operating system classification of setting The model of machine is not belonging to the computer model of setting, alternatively, the model of mainboard is not belonging to the mainboard model of setting in computer, then Terminate the installation of the driver.
As it can be seen that in the embodiment of the present application, only being set when the operating system of the computer of the driver to be installed belongs to Fixed operating system, the model of the computer belong to the computer model with installation permission of setting, and the master of the computer The model of plate belongs to the mainboard model with installation permission of setting, just operating system can be allowed to install the drive in the computer Dynamic program in this way, can both be not suitable for installing the driver to avoid the operating system of computer, and causes to install unsuccessful Situation is conducive to the reliability for improving driver installation;It is also possible to reduce the computer installation for not having installation permission The driver, thus the case where reducing driver stolen the case where installing, reducing chaotic installation driver.
A kind of driving installation method of corresponding the application, present invention also provides a kind of driving mounting devices.Such as, referring to figure 3, it illustrates a kind of composed structure schematic diagram for driving mounting device one embodiment of the application, the driving installations of the present embodiment Device can be applied to the operating system in the computer of driver to be installed, the apparatus may include:
Authority acquiring unit 301, for obtaining the associated peace of driver to be installed when meeting driving mounting condition Authority information is filled, the installation authority information includes: the computer model of setting;
First model acquiring unit 302, the type information of the computer for obtaining the driver to be installed;
First detection unit 303, for the type information based on the computer, detect the computer model whether It is consistent with the computer model of the setting;
Drive installation unit 304, for when the model of the computer is consistent with the computer model of the setting, base The driver is installed in the installation kit of the driver.
Optionally, the first model acquiring unit, is specifically used for, and obtains the model of the host of the computer.
In one possible implementation, the installation authority information that the authority acquiring unit is got also wraps It includes: the mainboard model of setting;
Correspondingly, the device can also include:
Second model acquiring unit is used for before the driving installation unit installs the driver, described in acquisition The model of mainboard in computer;
Second detection unit, for detect mainboard in the computer model whether the mainboard model one with the setting It causes;
In this kind of situation, installation unit is driven, specifically for detecting the type of computer when the first detection unit It is number consistent with the computer model of the setting, and the second detection unit detect in the computer model of mainboard with When the mainboard model of the setting is consistent, the installation kit based on the driver installs the driver.
Further, which can also include:
Installation terminates unit, consistent with the computer model of the setting for the model when the computer, Huo Zhesuo It states in computer that the model of mainboard and the mainboard model of the setting are inconsistent, terminates the installation of the driver.
In another possible implementation, the installation authority information that the authority acquiring unit is got also is wrapped It includes: the operating system classification of setting;
Correspondingly, the device can also include:
System classification acquiring unit, for the installation kit based on the driver install the driver it Before, obtain classification belonging to operating system in the computer;
Third detection unit, for detect in the computer classification belonging to operating system whether the behaviour with the setting It is consistent to make system classification;
In this kind of situation, which is specifically used for, when the first detection unit detects computer Model is consistent with the computer model of the setting, and the third detection unit detects in computer belonging to operating system When classification is consistent with the operating system classification of the setting, the installation kit based on the driver installs the driver.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (10)

1.一种驱动安装方法,其特征在于,包括:1. a drive installation method, is characterized in that, comprises: 当满足驱动安装条件时,获取待安装的驱动程序关联的安装权限信息,所述安装权限信息包括:设定的计算机型号;When the driver installation conditions are met, the installation authority information associated with the driver to be installed is obtained, where the installation authority information includes: the set computer model; 获取待安装所述驱动程序的计算机的型号信息;Obtain the model information of the computer on which the driver is to be installed; 基于所述计算机的型号信息,检测所述计算机的型号是否与所述设定的计算机型号一致;Based on the model information of the computer, detecting whether the model of the computer is consistent with the set computer model; 当所述计算机的型号与所述设定的计算机型号一致时,基于所述驱动程序的安装包安装所述驱动程序。When the model of the computer is consistent with the set computer model, the driver is installed based on the installation package of the driver. 2.根据权利要求1所述的驱动安装方法,其特征在于,所述安装权限信息还包括:设定的主板型号;2. The driver installation method according to claim 1, wherein the installation authority information further comprises: a set motherboard model; 在所述基于所述驱动程序的安装包安装所述驱动程序之前,还包括:Before the driver-based installation package installs the driver, the method further includes: 获取所述计算机中主板的型号;Obtain the model of the motherboard in the computer; 检测所述计算机中主板的型号是否与所述设定的主板型号一致;Detect whether the model of the motherboard in the computer is consistent with the set motherboard model; 所述基于所述驱动程序的安装包安装所述驱动程序,包括:The installation package based on the driver to install the driver includes: 当所述计算机中主板的型号与所述设定的主板型号一致时,基于所述驱动程序的安装包安装所述驱动程序。When the model of the motherboard in the computer is consistent with the set model of the motherboard, the driver is installed based on the installation package of the driver. 3.根据权利要求1所述的驱动安装方法,其特征在于,所述安装权限信息还包括:设定的操作系统类别;3. The driver installation method according to claim 1, wherein the installation authority information further comprises: a set operating system category; 在所述基于所述驱动程序的安装包安装所述驱动程序之前,还包括:Before the driver-based installation package installs the driver, the method further includes: 获取所述计算机中操作系统所属的类别;Obtain the category to which the operating system in the computer belongs; 检测所述计算机中操作系统所属的类别是否与所述设定的操作系统类别一致;Detecting whether the category to which the operating system in the computer belongs is consistent with the set operating system category; 所述基于所述驱动程序的安装包安装所述驱动程序,包括:The installation package based on the driver to install the driver includes: 当所述计算机中操作系统所属的类别与所述设定的操作系统类别一致时,基于所述驱动程序的安装包安装所述驱动程序。When the category to which the operating system in the computer belongs is consistent with the set operating system category, the driver is installed based on the installation package of the driver. 4.根据权利要求2所述的驱动安装方法,其特征在于,还包括:4. The drive installation method according to claim 2, characterized in that, further comprising: 当所述计算机的型号与所述设定的计算机型号不一致,或者所述计算机中主板的型号与所述设定的主板型号不一致,终止所述驱动程序的安装。When the model of the computer is inconsistent with the set model of the computer, or the model of the motherboard in the computer is inconsistent with the set model of the motherboard, the installation of the driver is terminated. 5.根据权利要求1所述的驱动安装方法,其特征在于,所述获取所述计算机的型号信息,包括:5. The driver installation method according to claim 1, wherein the acquiring model information of the computer comprises: 获取所述计算机的主机的型号。Obtain the model of the host of the computer. 6.一种驱动安装装置,其特征在于,包括:6. A drive installation device, characterized in that, comprising: 权限获取单元,用于当满足驱动安装条件时,获取待安装的驱动程序关联的安装权限信息,所述安装权限信息包括:设定的计算机型号;a permission obtaining unit, configured to obtain installation permission information associated with the driver to be installed when the driver installation conditions are met, where the installation permission information includes: a set computer model; 第一型号获取单元,用于获取待安装所述驱动程序的计算机的型号信息;a first model obtaining unit, configured to obtain model information of the computer on which the driver is to be installed; 第一检测单元,用于基于所述计算机的型号信息,检测所述计算机的型号是否与所述设定的计算机型号一致;a first detection unit, configured to detect whether the model of the computer is consistent with the set computer model based on the model information of the computer; 驱动安装单元,用于当所述计算机的型号与所述设定的计算机型号一致时,基于所述驱动程序的安装包安装所述驱动程序。A driver installation unit, configured to install the driver based on an installation package of the driver when the model of the computer is consistent with the set computer model. 7.根据权利要求6所述的驱动安装装置,其特征在于,所述权限获取单元获取到的所述安装权限信息还包括:设定的主板型号;7. The drive installation device according to claim 6, wherein the installation authority information obtained by the authority obtaining unit further comprises: a set motherboard model; 还包括:Also includes: 第二型号获取单元,用于在所述驱动安装单元安装所述驱动程序之前,获取所述计算机中主板的型号;A second model obtaining unit, configured to obtain the model of the motherboard in the computer before the driver installation unit installs the driver; 第二检测单元,用于检测所述计算机中主板的型号是否与所述设定的主板型号一致;The second detection unit is used to detect whether the model of the motherboard in the computer is consistent with the set motherboard model; 所述驱动安装单元,具体用于当所述第一检测单元检测出计算机的型号与所述设定的计算机型号一致,且所述第二检测单元检测出所述计算机中主板的型号与所述设定的主板型号一致时,基于所述驱动程序的安装包安装所述驱动程序。The drive installation unit is specifically used when the first detection unit detects that the model of the computer is consistent with the set computer model, and the second detection unit detects that the model of the motherboard in the computer is the same as the model of the computer. When the set motherboard models are the same, the driver is installed based on the installation package of the driver. 8.根据权利要求6所述的驱动安装装置,其特征在于,所述权限获取单元获取到的所述安装权限信息还包括:设定的操作系统类别;8 . The driver installation device according to claim 6 , wherein the installation authority information obtained by the authority obtaining unit further comprises: a set operating system category; 8 . 还包括:Also includes: 系统类别获取单元,用于在所述基于所述驱动程序的安装包安装所述驱动程序之前,获取所述计算机中操作系统所属的类别;a system category acquisition unit, configured to acquire the category to which the operating system in the computer belongs before the driver-based installation package installs the driver; 第三检测单元,用于检测所述计算机中操作系统所属的类别是否与所述设定的操作系统类别一致;a third detection unit, configured to detect whether the category to which the operating system in the computer belongs is consistent with the set operating system category; 所述驱动安装单元,具体用于,当所述第一检测单元检测出计算机的型号与所述设定的计算机型号一致,且所述第三检测单元检测出计算机中操作系统所属的类别与所述设定的操作系统类别一致时,基于所述驱动程序的安装包安装所述驱动程序。The drive installation unit is specifically used for, when the first detection unit detects that the model of the computer is consistent with the set computer model, and the third detection unit detects that the operating system in the computer belongs to the category and the type of the computer. When the set operating system type is the same, the driver is installed based on the installation package of the driver. 9.根据权利要求7所述的驱动安装装置,其特征在于,还包括:9. The drive mounting device according to claim 7, further comprising: 安装终止单元,用于当所述计算机的型号与所述设定的计算机型号不一致,或者所述计算机中主板的型号与所述设定的主板型号不一致,终止所述驱动程序的安装。The installation termination unit is used to terminate the installation of the driver when the model of the computer is inconsistent with the set computer model, or the model of the motherboard in the computer is inconsistent with the set motherboard model. 10.根据权利要求1所述的驱动安装方法,其特征在于,所述第一型号获取单元,具体用于,获取所述计算机的主机的型号。10 . The driver installation method according to claim 1 , wherein the first model obtaining unit is specifically configured to obtain the model of the host of the computer. 11 .
CN201810889259.4A 2018-08-07 2018-08-07 drive installation method and device Pending CN109165026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810889259.4A CN109165026A (en) 2018-08-07 2018-08-07 drive installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810889259.4A CN109165026A (en) 2018-08-07 2018-08-07 drive installation method and device

Publications (1)

Publication Number Publication Date
CN109165026A true CN109165026A (en) 2019-01-08

Family

ID=64895192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810889259.4A Pending CN109165026A (en) 2018-08-07 2018-08-07 drive installation method and device

Country Status (1)

Country Link
CN (1) CN109165026A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135973A (en) * 2006-08-30 2008-03-05 深圳市研祥智能科技股份有限公司 System and method for automatic installation of device driver
US20100180282A1 (en) * 2009-01-14 2010-07-15 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Computer system and method for installing driver program in the computer system
CN104750504A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Method and device for providing driving information
CN107980119A (en) * 2016-12-30 2018-05-01 华为技术有限公司 A server management method and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135973A (en) * 2006-08-30 2008-03-05 深圳市研祥智能科技股份有限公司 System and method for automatic installation of device driver
US20100180282A1 (en) * 2009-01-14 2010-07-15 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Computer system and method for installing driver program in the computer system
CN104750504A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Method and device for providing driving information
CN107980119A (en) * 2016-12-30 2018-05-01 华为技术有限公司 A server management method and server

Similar Documents

Publication Publication Date Title
US8255902B1 (en) Systems and methods for determining and quantifying the impact of an application on the health of a system
EP4496266A1 (en) Security evaluation method and apparatus, electronic device, and readable storage medium
CN107704765A (en) A kind of interface access method, server and computer-readable recording medium
JP4848458B2 (en) Persistent security system and persistent security method
WO2014201830A1 (en) Method and device for detecting software-tampering
WO2016110101A1 (en) Fingerprint authentication method and device, intelligent terminal, and computer storage medium
US20140157368A1 (en) Software authentication
CN107729746B (en) Installed application program tamper-proofing method and system based on digital signature
KR101832535B1 (en) Trustworthy device claims as a service
CN109325349A (en) A kind of method for managing security, terminal device and computer readable storage medium
CN105825131A (en) Computer security startup protection method on basis of UEFI (Unified Extensible Firmware Interface)
CN106209853A (en) The login method of a kind of application program and terminal
CN111881424A (en) A kind of license authorization method and device based on machine identification code
CN108171063A (en) Method, terminal and the computer readable storage medium of access safety element
CN104407906A (en) System and method for custom installation of computer software
WO2012152212A1 (en) Method and device for executing registry operation
CN118575448A (en) Quorum-based authorization
CN109165483A (en) Method for preventing cloud platform authorization period from being bypassed
CN100495421C (en) An Authentication Protection Method Based on USB Device
CN104504308B (en) A kind of license validation method for forbidding virtual machine to use software
CN118075022A (en) Applet login method and device, electronic equipment and storage medium
CN107707356A (en) A kind of mobile device secure binding method and application system based on Quick Response Code identification
CN106569907A (en) System start-up file verifying and compiling method
JP2009510570A (en) How to control the browser window
CN107248078A (en) Mobile payment means of defence, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190108

RJ01 Rejection of invention patent application after publication