CN106325879A - Method and device for installing driver and electronic equipment - Google Patents

Method and device for installing driver and electronic equipment Download PDF

Info

Publication number
CN106325879A
CN106325879A CN201610772740.6A CN201610772740A CN106325879A CN 106325879 A CN106325879 A CN 106325879A CN 201610772740 A CN201610772740 A CN 201610772740A CN 106325879 A CN106325879 A CN 106325879A
Authority
CN
China
Prior art keywords
equipment information
hardware
hardware equipment
drive installation
driver
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
CN201610772740.6A
Other languages
Chinese (zh)
Inventor
魏铮
闫亚闯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610772740.6A priority Critical patent/CN106325879A/en
Publication of CN106325879A publication Critical patent/CN106325879A/en
Priority to PCT/CN2017/092355 priority patent/WO2018040746A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for installing a driver and electronic equipment, wherein the method comprises the following steps: acquiring a drive installation package corresponding to first hardware equipment information in a current hardware environment from an offline installation package; acquiring second hardware equipment information under the current hardware environment; when network connection is detected, sending the second hardware equipment information to a server, and receiving a drive installation package corresponding to the second hardware equipment information returned by the server; and installing the driver installation package corresponding to the first hardware equipment information and the driver installation package corresponding to the second hardware equipment information. By adopting the method and the device, the installation of the driver can be realized by combining the offline installation package and the server, and the installation efficiency of the driver is further improved.

Description

The installation method of a kind of driver and device, electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to installation method and device, the electronic equipment of a kind of driver.
Background technology
So-called driver, refers to hardware device (such as, printer, network interface card, sound card etc.) driver, is a kind of permissible Making the separate procedure that computer communicates with hardware device, the operating system of computer could control hardware device by driver Work.If the driver of certain hardware device is not installed, this hardware device is by cisco unity malfunction.And prior art In, the mode of driver to be installed and can be divided into online install and off-line is installed, online installation sets generally by uploading hardware Standby information is downloaded to server, the activation bit then returned server, installs;And off-line installation is to commonly use in a large number After the packing of drive installation bag, copy on computer, and the driver being suitable for hardware device is installed.But, for computer Do not connect the situation of network, then cannot use the mode of online installation that driver is installed, the mode installed according to off-line, Due to the limited amount of drive installation bag of packing, and drive installation bag can not support different model, different manufacturers Hardware device, the mode that therefore off-line is installed probably causes making because lacking the driver of fractional hardware equipment Use this hardware device, have impact on the installation effectiveness to driver.
Summary of the invention
The embodiment of the present invention provides installation method and device, the electronic equipment of a kind of driver, it is possible to by by off-line Installation kit and server combine, it is achieved the installation to driver, and then provide the installation effectiveness to driver.
Embodiment of the present invention first aspect provides the installation method of a kind of driver, including:
The drive installation bag that the first hardware equipment information under Current hardware environment is corresponding is obtained in off-line installation kit;
Obtain the second hardware equipment information under described Current hardware environment;
When detecting that network connects, send described second hardware equipment information to server, and receive described server Drive installation bag corresponding to described second hardware equipment information returned;
The drive installation bag corresponding to described first hardware equipment information and described corresponding the driving of second hardware equipment information Dynamic installation kit is installed;
Wherein, described first hardware equipment information is expressed as based on described Current hardware environment in described off-line installation kit There is the information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment The information of the hardware device of drive installation bag is there is not in described off-line installation kit.
Optionally, described corresponding the driving of the first hardware equipment information in off-line installation kit under acquisition Current hardware environment Dynamic installation kit, including:
Obtaining Current hardware environment, described Current hardware environment includes that at least one does not installs the hardware device of driver Information;
Based on described at least one the hardware equipment information of driver is not installed, search in off-line installation kit and obtain The drive installation bag that first hardware equipment information is corresponding.
Optionally, described corresponding the driving of the first hardware equipment information in off-line installation kit under acquisition Current hardware environment Dynamic installation kit, including:
Obtaining Current hardware environment, described Current hardware environment includes that at least one has installed the hardware device of driver Information;
Based on described at least one the hardware equipment information of driver has been installed, search in off-line installation kit and obtain The first version number updating drive installation bag that first hardware equipment information is corresponding;
If the current version number installing driver corresponding to described first hardware equipment information is less than the described first edition This number, then obtain the renewal drive installation bag that described first version number is corresponding.
Optionally, described when detecting that network connects, send described second hardware equipment information to server, and receive Drive installation bag corresponding to described second hardware equipment information that described server returns, including:
When detecting that network connects, send described second hardware equipment information to described server, and receive described clothes Business device return described second hardware equipment information corresponding update drive installation bag the second edition number;
If the current version number installing driver corresponding to described second hardware equipment information is less than the described second edition This number, then obtain the renewal drive installation bag that the described second edition number is corresponding.
Optionally, the described drive installation bag corresponding to described first hardware equipment information and described second hardware device letter The drive installation bag that breath is corresponding is installed, including:
The renewal drive installation bag corresponding to described first hardware equipment information is corresponding with described second hardware equipment information Renewal drive installation bag install.
Optionally, also include:
When detecting that network connects, send more newly requested for described off-line installation kit to described server, and connect Receive the more new data of the described off-line installation kit that described server returns;
According to described more new data, described off-line installation kit is updated.
Embodiment of the present invention second aspect provides the erecting device of a kind of driver, it is characterised in that including:
First acquiring unit, for obtaining the first hardware equipment information pair under Current hardware environment in off-line installation kit The drive installation bag answered;
Second acquisition unit, for obtaining the second hardware equipment information under described Current hardware environment;
3rd acquiring unit, for when detecting that network connects, sends described second hardware equipment information to server, And receive drive installation bag corresponding to described second hardware equipment information that described server returns;
Drive installation unit, for the drive installation bag corresponding to described first hardware equipment information and described second hardware The drive installation bag that facility information is corresponding is installed;
Wherein, described first hardware equipment information is expressed as based on described Current hardware environment in described off-line installation kit There is the information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment The information of the hardware device of drive installation bag is there is not in described off-line installation kit.
Optionally, described first acquiring unit includes:
First information acquiring unit, is used for obtaining Current hardware environment, and described Current hardware environment includes that at least one is not The hardware equipment information of driver is installed;
First installation kit acquiring unit, for based on described at least one the hardware equipment information of driver is not installed, Off-line installation kit is searched and obtains the drive installation bag that the first hardware equipment information is corresponding.
Optionally, described first acquiring unit includes:
Second information acquisition unit, is used for obtaining Current hardware environment, and described Current hardware environment includes that at least one is The hardware equipment information of driver is installed;
First version acquiring unit, for based on described at least one the hardware equipment information of driver has been installed, In off-line installation kit, search and obtain the first version number updating drive installation bag that the first hardware equipment information is corresponding;
Second installation kit acquiring unit, if for described first hardware equipment information corresponding install driver work as Front version number is less than described first version number, then obtain the renewal drive installation bag that described first version number is corresponding.
Optionally, described 3rd acquiring unit includes:
Second edition acquiring unit is for when detecting that network connects, described second hard to the transmission of described server Part facility information, and receive described second hardware equipment information that described server returns corresponding update the of drive installation bag Two version numbers;
3rd installation kit acquiring unit, if for described second hardware equipment information corresponding install driver work as Front version number is less than the described second edition number, then obtain the renewal drive installation bag that the described second edition number is corresponding.
Optionally, described drive installation unit drives peace specifically for the renewal corresponding to described first hardware equipment information Dress wraps the renewal drive installation bag corresponding with described second hardware equipment information and installs.
Optionally, also include:
Request transmitting unit, for when detecting that network connects, sends to described server and installs for described off-line That wraps is more newly requested, and receives the more new data of the described off-line installation kit that described server returns;
Installation kit updating block, for being updated described off-line installation kit according to described more new data.
The embodiment of the present invention third aspect provides a kind of electronic equipment, and described server includes processor and memorizer, It is characterized in that, described memorizer is used for storing executable program code;Described processor is deposited by reading in described memorizer The executable program code of storage runs the program corresponding with executable program code, to perform following steps:
The drive installation bag that the first hardware equipment information under Current hardware environment is corresponding is obtained in off-line installation kit;
Obtain the second hardware equipment information under described Current hardware environment;
When detecting that network connects, send described second hardware equipment information to server, and receive described server Drive installation bag corresponding to described second hardware equipment information returned;
The drive installation bag corresponding to described first hardware equipment information and described corresponding the driving of second hardware equipment information Dynamic installation kit is installed;
Wherein, described first hardware equipment information is expressed as based on described Current hardware environment in described off-line installation kit There is the information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment The information of the hardware device of drive installation bag is there is not in described off-line installation kit.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that the installation to driver, avoid simultaneously due to Individually use off-line installation kit to cause driver that incomplete situation is installed to occur, and owing to individually using server the most not Connect network and cause installing the situation generation of driver, improve the installation effectiveness to driver.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the installation method of a kind of driver that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the installation method of the another kind of driver that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the installation method of the another kind of driver that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the erecting device of a kind of driver that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the erecting device of the another kind of driver that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of first acquiring unit that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another kind the first acquiring unit that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of 3rd acquiring unit that the embodiment of the present invention provides;
Fig. 9 is the structural representation of a kind of electronic equipment that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not paying creative work premise Embodiment, broadly falls into the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh describing specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and " being somebody's turn to do " be also intended to include described form, unless context clearly shows that other implications.It is also understood that this Any or all possible group that the term "and/or" used in literary composition refers to and comprises one or more project of listing being associated Close.It addition, term " first ", " second ", " the 3rd " and " in description and claims of this specification and above-mentioned accompanying drawing Four " it is etc. for distinguishing different object rather than for describing particular order.Additionally, term " includes " and " having " and it Any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, be System, product or equipment are not limited to step or the unit listed, but the most also include step or the list do not listed Unit, or the most also include other step intrinsic for these processes, method, product or equipment or unit.
The installation method of the driver that the embodiment of the present invention provides can apply to the driving of hardware device in computer Program installs scene, such as: obtain the first hardware equipment information under the Current hardware environment of computer in off-line installation kit Corresponding drive installation bag;Obtain the second hardware equipment information under described Current hardware environment;When detecting that network connects, Send described second hardware equipment information to server, and receive described second hardware equipment information pair that described server returns The drive installation bag answered;The drive installation bag corresponding to described first hardware equipment information and described second hardware equipment information pair The drive installation bag answered is installed.So by off-line installation kit and server are combined, it is achieved that to hardware device The installation of driver, avoid owing to individually using off-line installation kit to cause driver to install incomplete situation simultaneously Occur, and cause installing the situation generation of driver owing to individually using server to be but not connected with network, improve Installation effectiveness to driver.
The server that the present embodiments relate to can be the background devices for installing the services such as driver, involved Electronic equipment can be any equipment possessing storage and communication function, such as: panel computer, mobile phone, personal computer The equipment such as (Personal Computer, PC), notebook computer, mobile unit, Web TV;Involved driver Erecting device can be any to possess storage and the equipment of communication function, it is also possible to is embedded in any possessing storage and the merit that communicates In the equipment of energy, driver installs module.
Below in conjunction with accompanying drawing 1-accompanying drawing 2, the installation method of the driver that the embodiment of the present invention provides is carried out in detail Introduce.
Refer to Fig. 1, for embodiments providing the schematic flow sheet of the installation method of a kind of driver.Such as figure Shown in 1, the described method of the embodiment of the present invention may comprise steps of S101-step S104.
S101, obtains the drive installation that the first hardware equipment information under Current hardware environment is corresponding in off-line installation kit Bag.
Concrete, the first hardware that the erecting device of driver obtains under Current hardware environment in off-line installation kit sets The drive installation bag that standby information is corresponding, wherein, described first hardware equipment information is expressed as existing based on described Current hardware environment Described off-line installation kit exists the information of the hardware device of drive installation bag.Described Current hardware environment can include having installed The information of the hardware device of driver, in this case, the erecting device of described driver is from described off-line installation kit The drive installation bag that middle acquisition is corresponding with the described hardware equipment information having installed driver, finds in off-line installation kit The information of the hardware device that drive installation bag is corresponding is the first hardware equipment information.Or, described Current hardware environment can wrap Include the information of the hardware device not installing driver, in this case, the erecting device of described driver from described from Line installation kit obtains the drive installation bag corresponding with the described hardware equipment information not installing driver, at off-line installation kit In the information of hardware device corresponding to the drive installation bag that finds be the first hardware equipment information.Off-line installation kit contains Drive installation bag device-dependent with various types of hardware, it is possible to realize obtaining from off-line installation kit in the case of being not connected with network Drive installation bag is to realize the installation to driver.
Optionally, described hardware equipment information can including but not limited to operating system version information, hardware identification code, Described operating system version information can include UNIX, LINUX, Windows, Apple Macintosh operating system (Mac OS X), Saipan behaviour Make each version in system (Symbian), Android operation system (Android), milky way kylin operating system (Kylin OS) etc. Identification information, such as, by Windows7 64 represent operating system version information;Described hardware identifier can be by hard Part type, hardware names and/or hardware identification representation, such as, represent hard by hard disk identification code (Identificati, ID) Part identifies, represents network card identification etc. by medium access control (Media Access Control, MAC) address.
S102, obtains the second hardware equipment information under described Current hardware environment.
Concrete, the erecting device of described driver obtains the second hardware device letter under described Current hardware environment Breath.Wherein, described second hardware equipment information is expressed as not depositing in described off-line installation kit based on described Current hardware environment Information at the hardware device of drive installation bag.Owing to described first hardware equipment information is expressed as based on described Current hardware ring The information of the hardware device of drive installation bag, therefore, described second hardware equipment information is there is in border in described off-line installation kit Represent in described Current hardware environment the information of hardware device in addition to described first hardware equipment information.
S103, when detecting that network connects, sends described second hardware equipment information to server, and receives described clothes Drive installation bag corresponding to described second hardware equipment information that business device returns.
Concrete, when detecting that network connects, the erecting device of described driver sends the institute obtained to server State the second hardware equipment information, so that the drive installation bag that the second hardware equipment information described in described whois lookup is corresponding, and The drive installation bag found is returned to the erecting device of described driver, correspondingly, described driving journey by described server The erecting device of sequence receives the driver installation kit that described server returns.So can obtain from server and install at off-line The drive installation bag not found in bag, to realize pacifying the driver of each hardware device under Current hardware environment Dress.
In feasible scheme, the drive installation bag that described server returns can be by link, to feed back in the way of network address, The erecting device of the most described driver can pass through returned link or network and be downloaded drive installation bag, under Described drive installation bag is installed after completing by load.
S104, the drive installation bag corresponding to described first hardware equipment information is corresponding with described second hardware equipment information Drive installation bag install.
Concrete, the erecting device of described driver to drive installation bag corresponding to described first hardware equipment information and Drive installation bag corresponding to described second hardware equipment information is installed.Wherein, the embodiment of the present invention is to described first hardware The installation tandem of the drive installation bag that drive installation bag that facility information is corresponding is corresponding with described second hardware equipment information Do not limit.In feasible scheme, the erecting device of described driver gets the first hardware device in execution step S101 After the drive installation bag that information is corresponding, perform the drive installation bag that described first hardware equipment information is corresponding is installed, Or, the erecting device of described driver is after the drive installation bag receiving server feedback, to described second hardware The drive installation bag that facility information is corresponding is installed.The erecting device of the most described driver by by off-line installation kit and Both servers combine, and complete the installation to the driver under Current hardware environment.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that the installation to driver, avoid simultaneously due to Individually use off-line installation kit to cause driver that incomplete situation is installed to occur, and owing to individually using server the most not Connect network and cause installing the situation generation of driver, improve the installation effectiveness to driver.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of the installation method of another kind of driver.As Shown in Fig. 2, the described method of the embodiment of the present invention may comprise steps of S201-step S207.
S201, obtains Current hardware environment, and described Current hardware environment includes that at least one does not installs the hard of driver Part facility information.
Concrete, the erecting device of driver obtains Current hardware environment, and described Current hardware environment includes at least one The individual hardware equipment information not installing driver.Optionally, described hardware equipment information can be including but not limited to operation System version information, hardware identification code, described operating system version information can include UNIX, LINUX, Windows, Mac OS The identification information of each version in X, Symbian, Android, Kylin OS etc., such as, represents behaviour by Windows7 64 Make system version information;Described hardware identifier can pass through type of hardware, hardware names and/or hardware identification representation, such as, Represent hardware identifier by hard disk ID, represent network card identification etc. by MAC Address.
S202, based on described at least one the hardware equipment information of driver is not installed, search in off-line installation kit And obtain the drive installation bag that the first hardware equipment information is corresponding.
Concrete, the erecting device of described driver based on described at least one the hardware device of driver is not installed Information, searches in off-line installation kit and obtains the drive installation bag that the first hardware equipment information is corresponding.Wherein, described first hard Part facility information is expressed as existing in described off-line installation kit based on described Current hardware environment the hardware of drive installation bag and sets Standby information, the erecting device of described driver obtains from described off-line installation kit and does not installs the hard of driver with described The drive installation bag that part facility information is corresponding, the information of the hardware device that the drive installation bag that finds in off-line installation kit is corresponding It it is the first hardware equipment information.
S203, obtains the second hardware equipment information under described Current hardware environment.
Concrete, the erecting device of described driver obtains the second hardware device letter under described Current hardware environment Breath.Wherein, described second hardware equipment information is expressed as not depositing in described off-line installation kit based on described Current hardware environment Information at the hardware device of drive installation bag.Owing to described first hardware equipment information is expressed as based on described Current hardware ring The information of the hardware device of drive installation bag, therefore, described second hardware equipment information is there is in border in described off-line installation kit Represent in described Current hardware environment the information of hardware device in addition to described first hardware equipment information, the most described second hard Part facility information is included in off-line installation kit not finding and not installing the information of the hardware device of driver.
S204, when detecting that network connects, sends described second hardware equipment information to server, and receives described clothes Drive installation bag corresponding to described second hardware equipment information that business device returns.
Concrete, when detecting that network connects, the erecting device of described driver sends the institute obtained to server State the second hardware equipment information, so that the drive installation bag that the second hardware equipment information described in described whois lookup is corresponding, and The drive installation bag found is returned to the erecting device of described driver, correspondingly, described driving journey by described server The erecting device of sequence receives the driver installation kit that described server returns.So can obtain from server and install at off-line The drive installation bag not found in bag, to realize pacifying the driver of each hardware device under Current hardware environment Dress.
In feasible scheme, getting, by off-line installation kit, the drive installation that the first hardware equipment information is corresponding Bag, and after getting the second hardware equipment information under Current hardware environment, the erecting device of described driver is detected Network connects, and once detect that network connects, sends the second hardware equipment information from trend server, enhances driver Intelligent and the convenience installed.
In feasible scheme, the drive installation bag that described server returns can be by link, to feed back in the way of network address, The erecting device of the most described driver can pass through returned link or network address and be downloaded drive installation bag, under Described drive installation bag is installed after completing by load.
S205, the drive installation bag corresponding to described first hardware equipment information is corresponding with described second hardware equipment information Drive installation bag install.
Concrete, the erecting device of described driver to drive installation bag corresponding to described first hardware equipment information and Drive installation bag corresponding to described second hardware equipment information is installed.Wherein, the embodiment of the present invention is to described first hardware The installation tandem of the drive installation bag that drive installation bag that facility information is corresponding is corresponding with described second hardware equipment information Do not limit.In feasible scheme, the erecting device of described driver gets the first hardware device in execution step S202 After the drive installation bag that information is corresponding, perform the drive installation bag that described first hardware equipment information is corresponding is installed, Or, the erecting device of described driver is after the drive installation bag receiving server feedback, to described second hardware The drive installation bag that facility information is corresponding is installed.The erecting device of the most described driver by by off-line installation kit and Both servers combine, and complete the installation to the driver under Current hardware environment.
S206, when detecting that network connects, sends more newly requested for described off-line installation kit to described server, And receive the more new data of the described off-line installation kit that described server returns.
Concrete, when detecting that network connects, the erecting device of described driver to the transmission of described server for Described off-line installation kit more newly requested, so that described server returns the more new data of described off-line installation kit.Feasible side In case, owing to described off-line installation kit includes the drive installation bag that each hardware equipment information is corresponding, to server send from Line installation kit more newly requested after, the drive installation bag of the latest edition of each hardware device can be packaged as more by server New data, sends the erecting device to described driver, and the erecting device of described driver receives described server and returns The more new data of described off-line installation kit, the renewal to described off-line installation kit of the erecting device of described driver.
S207, is updated described off-line installation kit according to described more new data.
Concrete, described off-line installation kit is carried out more by the erecting device of described driver according to described more new data Newly.In feasible scheme, each hardware equipment information pair in the more new data of the erecting device detection feedback of described driver The version number of the drive installation bag answered, when the version number that the version number of the drive installation bag of feedback is current higher than in off-line installation kit Time, this drive installation bag is updated, otherwise, does not perform to update step;And, non-existent hardware in off-line installation kit During drive installation bag corresponding to facility information, this drive installation bag is preserved to described off-line installation kit.By off-line is pacified The renewal of dress bag so that at network not-connected status, the erecting device of described driver can be from described off-line installation kit Get the drive installation bag that the first hardware equipment information as much as possible is corresponding, and ensure that acquired drive installation bag It is to update to latest edition, more user-friendly, strengthen user's viscosity.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that drive not installing the installation of driver hardware device Dynamic program, it is to avoid occur owing to individually using off-line installation kit to cause driver to install incomplete situation, and due to Individually use server to be but not connected with network and cause installing the situation generation of driver, improve the peace to driver Dress efficiency.
Refer to Fig. 3, for embodiments providing the schematic flow sheet of the installation method of another kind of driver.As Shown in Fig. 3, the described method of the embodiment of the present invention may comprise steps of S301-step S307.
S301, obtains Current hardware environment, and described Current hardware environment includes that at least one has installed the hard of driver Part facility information.
Concrete, the erecting device of driver obtains Current hardware environment, and described Current hardware environment includes at least one The individual hardware equipment information having installed driver.Optionally, described hardware equipment information can be including but not limited to operation System version information, hardware identification code, described operating system version information can include UNIX, LINUX, Windows, Mac OS The identification information of each version in X, Symbian, Android, Kylin OS etc., such as, represents behaviour by Windows7 64 Make system version information;Described hardware identifier can pass through type of hardware, hardware names and/or hardware identification representation, such as, Represent hardware identifier by hard disk ID, represent network card identification etc. by MAC Address.
S302, based on described at least one the hardware equipment information of driver has been installed, search in off-line installation kit And obtain the first version number updating drive installation bag that the first hardware equipment information is corresponding.
Concrete, the erecting device of described driver based on described at least one the hardware device of driver has been installed Information, searches and obtains the first version updating drive installation bag that the first hardware equipment information is corresponding in off-line installation kit Number, it is top version number corresponding to described first hardware equipment information that described renewal drive installation wraps in described off-line installation kit , the version liked by user or the drive installation bag of stable release, the most any situation, described driver Erecting device obtains and updates the first version number that drive installation bag is corresponding.
S303, if the current version number installing driver corresponding to described first hardware equipment information is less than described the One version number, then obtain the renewal drive installation bag that described first version number is corresponding.
It is concrete, if the current version number installing driver corresponding to described first hardware equipment information is less than described First version number, the erecting device of the most described driver obtains the renewal drive installation bag that described first version number is corresponding, with Complete the drive installation bag to the first hardware equipment information is corresponding to be updated.
Optionally, if the current version number installing driver corresponding to described first hardware equipment information is not less than institute Stating first version number, the erecting device of the most described driver does not perform to obtain the step of drive installation bag.
S304, obtains the second hardware equipment information under described Current hardware environment.
Concrete, the erecting device of described driver obtains the second hardware device letter under described Current hardware environment Breath.Wherein, described second hardware equipment information is expressed as not depositing in described off-line installation kit based on described Current hardware environment Information at the hardware device of drive installation bag.Owing to described first hardware equipment information is expressed as based on described Current hardware ring The information of the hardware device of drive installation bag, therefore, described second hardware equipment information is there is in border in described off-line installation kit Represent in described Current hardware environment the information of hardware device in addition to described first hardware equipment information, the most described second hard Part facility information is included in off-line installation kit not finding and having installed the information of the hardware device of driver.
S305, when detecting that network connects, sends described second hardware equipment information to described server, and receives institute State the second edition number updating drive installation bag that described second hardware equipment information of server return is corresponding.
Concrete, when detecting that network connects, the erecting device of described driver sends described to described server Second hardware equipment information so that the second hardware equipment information described in described whois lookup corresponding update drive installation bag The second edition number, and described server by find update drive installation bag the second edition number return to described driver Erecting device, correspondingly, the erecting device of described driver receives the second edition number that described server returns.Wherein, Described renewal drive installation wrap in described server be top version number corresponding to described second hardware equipment information, be subject to most The drive installation bag of version that user likes or stable release, the most any situation, the installation dress of described driver Put to obtain and update the second edition number that drive installation bag is corresponding.
In feasible scheme, getting, by off-line installation kit, the drive installation that the first hardware equipment information is corresponding Bag, and after getting the second hardware equipment information under Current hardware environment, the erecting device of described driver is detected Network connects, and once detect that network connects, sends the second hardware equipment information from trend server, enhances driver Intelligent and the convenience installed.
S306, if the current version number installing driver corresponding to described second hardware equipment information is less than described the Two version numbers, then obtain the renewal drive installation bag that the described second edition number is corresponding.
It is concrete, if the current version number installing driver corresponding to described second hardware equipment information is less than described The second edition number, the erecting device of the most described driver obtains the renewal drive installation bag that the described second edition number is corresponding, with Complete the drive installation bag to the first hardware equipment information is corresponding to be updated.In feasible scheme, the peace of described driver The drive installation bag that assembling device obtains to described server can by be by link, network address in the way of enter updating drive installation bag Row is downloaded.
Optionally, if the current version number installing driver corresponding to described second hardware equipment information is not less than institute Stating the second edition number, the erecting device of the most described driver does not perform to obtain the step updating drive installation bag.
S307, the renewal drive installation bag corresponding to described first hardware equipment information and described second hardware equipment information Corresponding renewal drive installation bag is installed.
Concrete, that the erecting device of described driver is corresponding to described first hardware equipment information renewal drive installation Wrap the renewal drive installation bag corresponding with described second hardware equipment information to install.Wherein, the embodiment of the present invention is to described What the first hardware equipment information was corresponding updates the renewal drive installation that drive installation bag is corresponding with described second hardware equipment information The installation tandem of bag does not limits.In feasible scheme, the erecting device of described driver obtains in execution step S303 After getting the renewal drive installation bag that the first hardware equipment information is corresponding, perform corresponding to described first hardware equipment information Update drive installation bag to install, or, the erecting device of described driver drives in the renewal receiving server feedback After dynamic installation kit, the renewal drive installation bag that described second hardware equipment information is corresponding is installed.The most described driving The erecting device of program, by off-line installation kit and server being combined, completes the driving journey under Current hardware environment The installation of sequence.
Optionally, when detecting that network connects, sending the renewal for described off-line installation kit to described server please Ask, and receive the more new data of described off-line installation kit that described server returns, and according to described more new data to described from Line installation kit is updated.By the renewal to off-line installation kit so that in network not-connected status, the peace of described driver Assembling device can get the drive installation bag that the first hardware equipment information as much as possible is corresponding from described off-line installation kit, And ensure that acquired drive installation bag is to update to latest edition, and more user-friendly, strengthen user's viscosity.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that the hardware device installing driver is updated Driver, it is to avoid owing to individually using off-line installation kit to cause the incomplete situation of driver update to occur, Yi Jiyou Cause the situation of more newer driver occurring in individually using server to be but not connected with network, improve driver Update efficiency.
Refer to Fig. 4, for embodiments providing the structural representation of the erecting device of a kind of driver.Such as figure Shown in 4, the erecting device 1 of the described driver of the embodiment of the present invention may include that the first acquiring unit 11, second obtains single Unit's the 12, the 3rd acquiring unit 13 and drive installation unit 14.
First acquiring unit 11, for obtaining the first hardware equipment information under Current hardware environment in off-line installation kit Corresponding drive installation bag.
Concrete, the first hardware that described first acquiring unit 11 obtains under Current hardware environment in off-line installation kit sets The drive installation bag that standby information is corresponding, wherein, described first hardware equipment information is expressed as existing based on described Current hardware environment Described off-line installation kit exists the information of the hardware device of drive installation bag.Described Current hardware environment can include having installed The information of the hardware device of driver, in this case, described first acquiring unit 11 obtains from described off-line installation kit Take the drive installation bag corresponding with the described hardware equipment information having installed driver, the driving found in off-line installation kit The information of the hardware device that installation kit is corresponding is the first hardware equipment information.Or, described Current hardware environment can include not Installing the information of the hardware device of driver, in this case, described first acquiring unit 11 is from described off-line installation kit The drive installation bag that middle acquisition is corresponding with the described hardware equipment information not installing driver, finds in off-line installation kit The information of the hardware device that drive installation bag is corresponding is the first hardware equipment information.Off-line installation kit contains with all kinds of firmly Part device-dependent drive installation bag, it is possible to realize obtaining from off-line installation kit drive installation in the case of being not connected with network Wrap to realize the installation to driver.
Optionally, described hardware equipment information can including but not limited to operating system version information, hardware identification code, Described operating system version information can include UNIX, LINUX, Windows, Mac OS X, Symbian, Android, Kylin The identification information of each version in OS etc., such as, represents operating system version information by Windows7 64;Described hardware Mark can pass through type of hardware, hardware names and/or hardware identification representation, such as, by hard disk ID represent hardware identifier, Network card identification etc. is represented by MAC Address.
Second acquisition unit 12, for obtaining the second hardware equipment information under described Current hardware environment.
Concrete, described second acquisition unit 12 obtains the second hardware equipment information under described Current hardware environment.Its In, described second hardware equipment information is expressed as there is not driving based on described Current hardware environment in described off-line installation kit The information of the hardware device of installation kit.Owing to described first hardware equipment information is expressed as based on described Current hardware environment in institute Stating the information of the hardware device that there is drive installation bag in off-line installation kit, therefore, described second hardware equipment information represents institute State in Current hardware environment the information of hardware device in addition to described first hardware equipment information.
3rd acquiring unit 13, for when detecting that network connects, sends described second hardware device letter to server Breath, and receive drive installation bag corresponding to described second hardware equipment information that described server returns.
Concrete, when detecting that network connects, described 3rd acquiring unit 13 sends described the of acquisition to server Two hardware equipment information, so that the drive installation bag that the second hardware equipment information described in described whois lookup is corresponding, and described The drive installation bag found is returned to the erecting device 1 of described driver by server, and correspondingly, the described 3rd obtains list Unit 13 receives the driver installation kit that described server returns.So can obtain from server and not look for off-line installation kit The drive installation bag arrived, to realize installing the driver of each hardware device under Current hardware environment.
In feasible scheme, the drive installation bag that described server returns can be by link, to feed back in the way of network address, The most described 3rd acquiring unit 13 can pass through returned link or network and be downloaded drive installation bag, is downloading After one-tenth, described drive installation bag is installed.
Drive installation unit 14, for drive installation bag corresponding to described first hardware equipment information and described second hard The drive installation bag that part facility information is corresponding is installed.
Concrete, described drive installation unit 14 is to drive installation bag corresponding to described first hardware equipment information and described Drive installation bag corresponding to the second hardware equipment information is installed.Wherein, the embodiment of the present invention is to described first hardware device The installation tandem of the drive installation bag that drive installation bag corresponding to information is corresponding with described second hardware equipment information does not does Limit.In feasible scheme, described drive installation unit 14 gets the first hardware at described first acquiring unit 11 of execution and sets After the drive installation bag that standby information is corresponding, perform the drive installation bag that described first hardware equipment information is corresponding is pacified Dress, or, described second hardware, after the drive installation bag receiving server feedback, is set by described drive installation unit 14 The drive installation bag corresponding for information is installed.The erecting device 1 of the most described driver by by off-line installation kit and Both servers combine, and complete the installation to the driver under Current hardware environment.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that the installation to driver, avoid simultaneously due to Individually use off-line installation kit to cause driver that incomplete situation is installed to occur, and owing to individually using server the most not Connect network and cause installing the situation generation of driver, improve the installation effectiveness to driver.
Refer to Fig. 5, for embodiments providing the structural representation of the erecting device of another kind of driver.As Shown in Fig. 5, the erecting device 1 of the described driver of the embodiment of the present invention may include that the first acquiring unit 11, second obtains Unit the 12, the 3rd acquiring unit 13, drive installation unit 14, request transmitting unit 15, data receipt unit 16 and installation kit are more New unit 17.
First acquiring unit 11, for obtaining the first hardware equipment information under Current hardware environment in off-line installation kit Corresponding drive installation bag.
Concrete, in the scheme that the first is feasible, described first acquiring unit 11 includes first information acquiring unit 111 With the first installation kit acquiring unit 112.Specifically please also refer to Fig. 6.
First information acquiring unit 111, is used for obtaining Current hardware environment, and described Current hardware environment includes at least one The hardware equipment information of driver is not installed.
Concrete, described first information acquiring unit 111 obtains Current hardware environment, described Current hardware environment include to A few hardware equipment information not installing driver.Optionally, described hardware equipment information can be including but not limited to Operating system version information, hardware identification code, described operating system version information can include UNIX, LINUX, Windows, The identification information of each version in Mac OS X, Symbian, Android, Kylin OS etc., such as, by Windows7 64 Position represents operating system version information;Described hardware identifier can pass through type of hardware, hardware names and/or hardware identification code table Show, such as, represent hardware identifier by hard disk ID, represent network card identification etc. by MAC Address.
First installation kit acquiring unit 112, for believing based at least one hardware device not installing driver described Breath, searches in off-line installation kit and obtains the drive installation bag that the first hardware equipment information is corresponding.
Concrete, described first installation kit acquiring unit 112 based on described at least one the hardware of driver is not installed Facility information, searches in off-line installation kit and obtains the drive installation bag that the first hardware equipment information is corresponding.Wherein, described One hardware equipment information is expressed as there is the hard of drive installation bag based on described Current hardware environment in described off-line installation kit The information of part equipment, described first installation kit acquiring unit 112 obtains from described off-line installation kit does not installs driving with described The drive installation bag that the hardware equipment information of program is corresponding, the hardware that the drive installation bag that finds in off-line installation kit is corresponding sets Standby information is the first hardware equipment information.
In the scheme that the second is feasible, described first acquiring unit 11 includes first information acquiring unit 113, the first edition This number acquiring unit 114 and the second installation kit acquiring unit 115.Specifically please also refer to Fig. 7.
Second information acquisition unit 113, is used for obtaining Current hardware environment, and described Current hardware environment includes at least one The hardware equipment information of driver has been installed;
Concrete, described second information acquisition unit 113 obtains Current hardware environment, described Current hardware environment include to A few hardware equipment information having installed driver.
First version acquiring unit 114, for believing based at least one hardware device having installed driver described Breath, searches and obtains the first version number updating drive installation bag that the first hardware equipment information is corresponding in off-line installation kit;
Concrete, described first version acquiring unit 114 based on described at least one the hardware of driver has been installed Facility information, searches and obtains the first edition updating drive installation bag that the first hardware equipment information is corresponding in off-line installation kit This number, it is highest version corresponding to described first hardware equipment information that described renewal drive installation wraps in described off-line installation kit Number, the version liked by user or the drive installation bag of stable release, the most any situation, described first version Number acquiring unit 114 obtains and updates the first version number that drive installation bag is corresponding.
Second installation kit acquiring unit 115, if being used for the driver of installation that described first hardware equipment information is corresponding Current version number less than described first version number, then obtain the renewal drive installation bag that described first version number is corresponding.
It is concrete, if the current version number installing driver corresponding to described first hardware equipment information is less than described First version number, the most described second installation kit acquiring unit 115 obtains the renewal drive installation bag that described first version number is corresponding, It is updated with the drive installation bag completed the first hardware equipment information is corresponding.
Optionally, if the current version number installing driver corresponding to described first hardware equipment information is not less than institute Stating first version number, the most described second installation kit acquiring unit 115 does not perform to obtain the step of drive installation bag.
Second acquisition unit 12, for obtaining the second hardware equipment information under described Current hardware environment.
Concrete, described second acquisition unit 12 obtains the second hardware equipment information under described Current hardware environment.Its In, described second hardware equipment information is expressed as there is not driving based on described Current hardware environment in described off-line installation kit The information of the hardware device of installation kit.Owing to described first hardware equipment information is expressed as based on described Current hardware environment in institute Stating the information of the hardware device that there is drive installation bag in off-line installation kit, therefore, described second hardware equipment information represents institute State in Current hardware environment the information of hardware device in addition to described first hardware equipment information, the most described second hardware device Information is included in off-line installation kit not finding and not installing the information of the hardware device of driver.
3rd acquiring unit 13, for when detecting that network connects, sends described second hardware device letter to server Breath, and receive drive installation bag corresponding to described second hardware equipment information that described server returns.
Specifically, the first the feasible scheme in corresponding first acquiring unit 11, when detecting that network connects, described Three acquiring units 13 send described second hardware equipment information obtained to server, so that described in described whois lookup second The drive installation bag that hardware equipment information is corresponding, and the drive installation bag found returns to described driving journey by described server The erecting device 1 of sequence, correspondingly, described first acquiring unit 11 receives the driver installation kit that described server returns.This Sample can obtain, from server, the drive installation bag that do not finds off-line installation kit, each with realize under Current hardware environment The driver of individual hardware device is installed.
In feasible scheme, the drive installation bag that described server returns can be by link, to feed back in the way of network address, The most described 3rd acquiring unit 13 can pass through returned link or network address and be downloaded drive installation bag, is downloading After one-tenth, described drive installation bag is installed.
The scheme that the second in corresponding first acquiring unit 11 is feasible, described 3rd acquiring unit 13 includes the second edition Number acquiring unit 131 and the 3rd installation kit acquiring unit 132.Specifically please also refer to Fig. 8.
Second edition acquiring unit 131, for when detecting that network connects, sends described second to described server Hardware equipment information, and receive described second hardware equipment information that described server returns corresponding update drive installation bag The second edition number;
Concrete, when detecting that network connects, described second edition acquiring unit 131 sends institute to described server State the second hardware equipment information, so that the renewal drive installation bag that the second hardware equipment information described in described whois lookup is corresponding The second edition number, and described server by find update drive installation bag the second edition number return to described driving journey The erecting device 1 of sequence, correspondingly, described second edition acquiring unit 131 receives the second edition number that described server returns. Wherein, described renewal drive installation wraps in described server is top version number corresponding to described second hardware equipment information , the version liked by user or the drive installation bag of stable release, the most any situation, the described second edition number Acquiring unit 131 obtains and updates the second edition number that drive installation bag is corresponding.
3rd installation kit acquiring unit 132, if being used for the driver of installation that described second hardware equipment information is corresponding Current version number less than the described second edition number, then obtain the renewal drive installation bag that the described second edition number is corresponding.
It is concrete, if the current version number installing driver corresponding to described second hardware equipment information is less than described The second edition number, the most described 3rd installation kit acquiring unit 132 obtains the renewal drive installation bag that the described second edition number is corresponding, It is updated with the drive installation bag completed the first hardware equipment information is corresponding.In feasible scheme, described 3rd installation kit The drive installation bag that acquiring unit 132 obtains to described server can by be by link, network address in the way of drive peace to updating Dress bag is downloaded.
Optionally, if the current version number installing driver corresponding to described second hardware equipment information is not less than institute Stating the second edition number, the most described 3rd installation kit acquiring unit 132 does not perform to obtain the step updating drive installation bag.
Drive installation unit 14, for drive installation bag corresponding to described first hardware equipment information and described second hard The drive installation bag that part facility information is corresponding is installed.
The first feasible scheme concrete, in corresponding first acquiring unit 11, described drive installation unit 14 is to institute The drive installation bag stating drive installation bag corresponding to the first hardware equipment information corresponding with described second hardware equipment information is carried out Install.
The scheme that the second in corresponding first acquiring unit 11 is feasible, described drive installation unit 14 is specifically for institute The drive installation bag renewal corresponding with described second hardware equipment information that update stating the first hardware equipment information corresponding drives peace Dress bag is installed.
It should be noted that the embodiment of the present invention is to drive installation bag corresponding to described first hardware equipment information and described The installation tandem of the drive installation bag that the second hardware equipment information is corresponding does not limits.In feasible scheme, described driving Installation unit 14, after performing the first acquiring unit 11 and getting the drive installation bag that the first hardware equipment information is corresponding, performs The drive installation bag that described first hardware equipment information is corresponding is installed, or, receiving the driving of server feedback After installation kit, the drive installation bag that described second hardware equipment information is corresponding is installed.The most described driver Erecting device 1, by off-line installation kit and server being combined, completes the driver under Current hardware environment Install.
Request transmitting unit 15, for when detecting that network connects, sends to described server and pacifies for described off-line It is more newly requested that dress wraps.
Concrete, when detecting that network connects, described request transmitting unit 15 sends for described to described server Off-line installation kit more newly requested, so that described server returns the more new data of described off-line installation kit.In feasible scheme, Owing to described off-line installation kit includes the drive installation bag that each hardware equipment information is corresponding, install sending off-line to server Bag more newly requested after, server the drive installation bag of the latest edition of each hardware device can be packaged as update number According to, send the erecting device 1 to described driver.
Data receipt unit 16, for receiving the more new data of the described off-line installation kit that described server returns.
Concrete, described data receipt unit 16 receives the renewal number of the described off-line installation kit that described server returns According to.
Installation kit updating block 17, for being updated described off-line installation kit according to described more new data.
Concrete, described off-line installation kit is updated by described installation kit updating block 17 according to described more new data. In feasible scheme, corresponding the driving of each hardware equipment information in the more new data of described installation kit updating block 17 detection feedback The version number of dynamic installation kit, when the version number that the version number of the drive installation bag of feedback is current higher than in off-line installation kit, right This drive installation bag is updated, and otherwise, does not perform to update step;And, non-existent hardware device in off-line installation kit During drive installation bag corresponding to information, this drive installation bag is preserved to described off-line installation kit.By to off-line installation kit Renewal so that at network not-connected status, the erecting device 1 of described driver can obtain from described off-line installation kit To the drive installation bag that the first hardware equipment information as much as possible is corresponding, and ensure that acquired drive installation bag is more New to latest edition, more user-friendly, strengthen user's viscosity.
In embodiments of the present invention, by obtaining the first hardware device letter under Current hardware environment in off-line installation kit The drive installation bag that breath is corresponding, then obtain the second hardware equipment information under Current hardware environment, when detecting that network connects, Send the second hardware equipment information to server, and receive the drive installation that the second hardware equipment information that server returns is corresponding Bag, the drive installation bag corresponding to the first hardware equipment information and drive installation bag corresponding to the second hardware equipment information are pacified Dress.So by off-line installation kit and server are combined, it is achieved that drive not installing the installation of driver hardware device Dynamic program, it is to avoid occur owing to individually using off-line installation kit to cause driver to install incomplete situation, and due to Individually use server to be but not connected with network and cause installing the situation generation of driver, improve the peace to driver Dress efficiency.
Refer to Fig. 9, for embodiments providing the structural representation of a kind of electronic equipment.As it is shown in figure 9, it is described Electronic equipment 1000 may include that at least one processor 1001, such as CPU, at least one network interface 1004, user interface 1003, memorizer 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing between these assemblies Connect communication.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include the wireline interface of standard, wave point.Network interface 1004 optionally can include that the wired of standard connects Mouth, wave point (such as WI-FI interface).Memorizer 1005 can be high-speed RAM memorizer, it is also possible to be non-labile storage Device (non-volatile memory), for example, at least one disk memory.Memorizer 1005 optionally can also is that at least one The individual storage device being located remotely from aforementioned processor 1001.As it is shown in figure 9, as the memorizer of a kind of computer-readable storage medium The set up applications of operating system, network communication module, Subscriber Interface Module SIM and driver can be included in 1005.
In the electronic equipment 1000 shown in Fig. 9, user interface 1003 is mainly used in providing the user the interface of input, obtains Take the family operation requests to driver;And processor 1001 may be used for calling the driver of storage in memorizer 1005 Set up applications, and specifically perform following operation:
The drive installation bag that the first hardware equipment information under Current hardware environment is corresponding is obtained in off-line installation kit;
Obtain the second hardware equipment information under described Current hardware environment;
When detecting that network connects, send described second hardware equipment information to server, and receive described server Drive installation bag corresponding to described second hardware equipment information returned;
The drive installation bag corresponding to described first hardware equipment information and described corresponding the driving of second hardware equipment information Dynamic installation kit is installed;
Wherein, described first hardware equipment information is expressed as based on described Current hardware environment in described off-line installation kit There is the information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment The information of the hardware device of drive installation bag is there is not in described off-line installation kit.
In one embodiment, described processor 1001 obtains under Current hardware environment in off-line installation kit in execution The drive installation bag that first hardware equipment information is corresponding, specifically performs following steps:
Obtaining Current hardware environment, described Current hardware environment includes that at least one does not installs the hardware device of driver Information;
Based on described at least one the hardware equipment information of driver is not installed, search in off-line installation kit and obtain The drive installation bag that first hardware equipment information is corresponding.
In one embodiment, described processor 1001 is performing described acquisition Current hardware environment in off-line installation kit Under drive installation bag corresponding to the first hardware equipment information, specifically perform following steps:
Obtaining Current hardware environment, described Current hardware environment includes that at least one has installed the hardware device of driver Information;
Based on described at least one the hardware equipment information of driver has been installed, search in off-line installation kit and obtain The first version number updating drive installation bag that first hardware equipment information is corresponding;
If the current version number installing driver corresponding to described first hardware equipment information is less than the described first edition This number, then obtain the renewal drive installation bag that described first version number is corresponding.
In one embodiment, described processor 1001 is described when detecting that network connects in execution, sends out to server Send described second hardware equipment information, and receive the driving peace that described second hardware equipment information that described server returns is corresponding Dress bag, specifically performs following steps:
When detecting that network connects, send described second hardware equipment information to described server, and receive described clothes Business device return described second hardware equipment information corresponding update drive installation bag the second edition number;
If the current version number installing driver corresponding to described second hardware equipment information is less than the described second edition This number, then obtain the renewal drive installation bag that the described second edition number is corresponding.
In one embodiment, described processor 1001 is performing, described corresponding to described first hardware equipment information The drive installation bag that drive installation bag is corresponding with described second hardware equipment information is installed, and specifically performs following steps:
The renewal drive installation bag corresponding to described first hardware equipment information is corresponding with described second hardware equipment information Renewal drive installation bag install.
In one embodiment, described processor 1001 also performs following steps:
When detecting that network connects, send more newly requested for described off-line installation kit to described server, and connect Receive the more new data of the described off-line installation kit that described server returns;
According to described more new data, described off-line installation kit is updated.
It should be noted that the step performed by processor 1001 can root in electronic equipment described by the embodiment of the present invention Implementing according to the method in embodiment of the method shown in above-mentioned Fig. 1, Fig. 2 or Fig. 3, here is omitted.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or by ASIC (Application Specific Integrated Circuit, special IC) realize.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Module or unit in embodiment of the present invention terminal can merge according to actual needs, divide and delete.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc..
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.Above disclosed be only Present pre-ferred embodiments, can not limit the interest field of the present invention with this, therefore according to the claims in the present invention certainly The equivalent variations made, still belongs to the scope that the present invention is contained.

Claims (10)

1. the installation method of a driver, it is characterised in that including:
The drive installation bag that the first hardware equipment information under Current hardware environment is corresponding is obtained in off-line installation kit;
Obtain the second hardware equipment information under described Current hardware environment;
When detecting that network connects, send described second hardware equipment information to server, and receive the return of described server Drive installation bag corresponding to described second hardware equipment information;
The driving peace corresponding with described second hardware equipment information to the drive installation bag that described first hardware equipment information is corresponding Dress bag is installed;
Wherein, described first hardware equipment information is expressed as existing in described off-line installation kit based on described Current hardware environment The information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment in institute State the information of the hardware device that there is not drive installation bag in off-line installation kit.
Method the most according to claim 1, it is characterised in that described obtain under Current hardware environment in off-line installation kit Drive installation bag corresponding to the first hardware equipment information, including:
Obtaining Current hardware environment, described Current hardware environment includes that at least one does not installs the hardware device of driver letter Breath;
Based on described at least one the hardware equipment information of driver is not installed, search in off-line installation kit and obtain first The drive installation bag that hardware equipment information is corresponding.
Method the most according to claim 1, it is characterised in that described obtain under Current hardware environment in off-line installation kit Drive installation bag corresponding to the first hardware equipment information, including:
Obtaining Current hardware environment, described Current hardware environment includes that at least one has installed the hardware device of driver letter Breath;
Based on described at least one the hardware equipment information of driver has been installed, search in off-line installation kit and obtain first The first version number updating drive installation bag that hardware equipment information is corresponding;
If the current version number installing driver corresponding to described first hardware equipment information is less than described first version number, Then obtain the renewal drive installation bag that described first version number is corresponding.
Method the most according to claim 3, it is characterised in that described when detecting that network connects, sends to server Described second hardware equipment information, and receive drive installation corresponding to described second hardware equipment information that described server returns Bag, including:
When detecting that network connects, send described second hardware equipment information to described server, and receive described server Return described second hardware equipment information corresponding update drive installation bag the second edition number;
If the current version number installing driver corresponding to described second hardware equipment information is less than the described second edition number, Then obtain the renewal drive installation bag that the described second edition number is corresponding.
Method the most according to claim 4, it is characterised in that the described driving corresponding to described first hardware equipment information The drive installation bag that installation kit is corresponding with described second hardware equipment information is installed, including:
The renewal drive installation bag corresponding to described first hardware equipment information is corresponding more with described second hardware equipment information New drive installation bag is installed.
6. according to the method described in any one of claim 1-5, it is characterised in that also include:
When detecting that network connects, send more newly requested for described off-line installation kit to described server, and receive institute State the more new data of the described off-line installation kit that server returns;
According to described more new data, described off-line installation kit is updated.
7. the erecting device of a driver, it is characterised in that including:
First acquiring unit is corresponding for obtaining the first hardware equipment information under Current hardware environment in off-line installation kit Drive installation bag;
Second acquisition unit, for obtaining the second hardware equipment information under described Current hardware environment;
3rd acquiring unit, for when detecting that network connects, sends described second hardware equipment information to server, and connects Receive the drive installation bag that described second hardware equipment information of described server return is corresponding;
Drive installation unit, for the drive installation bag corresponding to described first hardware equipment information and described second hardware device Drive installation bag corresponding to information is installed;
Wherein, described first hardware equipment information is expressed as existing in described off-line installation kit based on described Current hardware environment The information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment in institute State the information of the hardware device that there is not drive installation bag in off-line installation kit.
Device the most according to claim 7, it is characterised in that described first acquiring unit includes:
First information acquiring unit, is used for obtaining Current hardware environment, and described Current hardware environment includes that at least one is not installed The hardware equipment information of driver;
First installation kit acquiring unit, for based on described at least one the hardware equipment information of driver is not installed, from Line installation kit is searched and obtains the drive installation bag that the first hardware equipment information is corresponding.
Device the most according to claim 7, it is characterised in that described first acquiring unit includes:
Second information acquisition unit, is used for obtaining Current hardware environment, and described Current hardware environment includes that at least one is installed The hardware equipment information of driver;
First version acquiring unit, for based on described at least one the hardware equipment information of driver has been installed, from Line installation kit is searched and is obtained the first version number updating drive installation bag that the first hardware equipment information is corresponding;
Second installation kit acquiring unit, if being used for the current version installing driver that described first hardware equipment information is corresponding This number is less than described first version number, then obtains the renewal drive installation bag that described first version number is corresponding.
10. an electronic equipment, described server includes processor and memorizer, it is characterised in that described memorizer is used for depositing Storage executable program code;Described processor is run by the executable program code of storage in the described memorizer of reading and can Perform the program that program code is corresponding, to perform following steps:
The drive installation bag that the first hardware equipment information under Current hardware environment is corresponding is obtained in off-line installation kit;
Obtain the second hardware equipment information under described Current hardware environment;
When detecting that network connects, send described second hardware equipment information to server, and receive the return of described server Drive installation bag corresponding to described second hardware equipment information;
The driving peace corresponding with described second hardware equipment information to the drive installation bag that described first hardware equipment information is corresponding Dress bag is installed;
Wherein, described first hardware equipment information is expressed as existing in described off-line installation kit based on described Current hardware environment The information of the hardware device of drive installation bag, described second hardware equipment information is expressed as based on described Current hardware environment in institute State the information of the hardware device that there is not drive installation bag in off-line installation kit.
CN201610772740.6A 2016-08-30 2016-08-30 Method and device for installing driver and electronic equipment Pending CN106325879A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610772740.6A CN106325879A (en) 2016-08-30 2016-08-30 Method and device for installing driver and electronic equipment
PCT/CN2017/092355 WO2018040746A1 (en) 2016-08-30 2017-07-10 Driver installation method, device, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610772740.6A CN106325879A (en) 2016-08-30 2016-08-30 Method and device for installing driver and electronic equipment

Publications (1)

Publication Number Publication Date
CN106325879A true CN106325879A (en) 2017-01-11

Family

ID=57789291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610772740.6A Pending CN106325879A (en) 2016-08-30 2016-08-30 Method and device for installing driver and electronic equipment

Country Status (2)

Country Link
CN (1) CN106325879A (en)
WO (1) WO2018040746A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959830A (en) * 2017-03-14 2017-07-18 北京三快在线科技有限公司 Equipment initial method, device and printing device
WO2018040746A1 (en) * 2016-08-30 2018-03-08 北京金山安全软件有限公司 Driver installation method, device, and electronic apparatus
CN108762766A (en) * 2018-06-08 2018-11-06 山东超越数控电子股份有限公司 A method of milky way kylin system supports ten thousand Broadcoms under 1500A platforms of soaring
CN110007973A (en) * 2019-03-26 2019-07-12 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111580847A (en) * 2020-06-15 2020-08-25 长沙景嘉微电子股份有限公司 GPU (graphics processing Unit) drive updating method and device, computer storage medium and electronic equipment
CN113448630A (en) * 2021-03-24 2021-09-28 深圳怡化电脑股份有限公司 Driver processing method and device, electronic equipment and medium
CN113703853A (en) * 2021-08-24 2021-11-26 新华三智能终端有限公司 Network equipment initialization method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579111A (en) * 2020-12-30 2021-03-30 深圳市欢太科技有限公司 Installation method and device of installation package, electronic equipment and storage medium
CN115981696B (en) * 2023-03-17 2023-06-06 杭州康晟健康管理咨询有限公司 Physiological sensor communication drive updating method, medical chip and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101297286A (en) * 2005-10-31 2008-10-29 微软公司 Automated device driver management
US8368915B1 (en) * 2006-06-23 2013-02-05 Open Invention Network, Llc System and method for printer driver management in an enterprise network
CN103019750A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Update overloading method of drive program
CN104714814A (en) * 2013-12-13 2015-06-17 贝壳网际(北京)安全技术有限公司 Drive program mounting method and client terminal device
CN104750504A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Method and device for providing driving information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574481B2 (en) * 2000-12-20 2009-08-11 Microsoft Corporation Method and system for enabling offline detection of software updates
US20020174264A1 (en) * 2001-05-17 2002-11-21 David Fuller System and method for obtaining driver software and documentation for a detected hardware and software configuration
CN104881314A (en) * 2015-06-29 2015-09-02 北京金山安全软件有限公司 Method for installing driver and driver installation device
CN106325879A (en) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 Method and device for installing driver and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101297286A (en) * 2005-10-31 2008-10-29 微软公司 Automated device driver management
US8368915B1 (en) * 2006-06-23 2013-02-05 Open Invention Network, Llc System and method for printer driver management in an enterprise network
CN103019750A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Update overloading method of drive program
CN104714814A (en) * 2013-12-13 2015-06-17 贝壳网际(北京)安全技术有限公司 Drive program mounting method and client terminal device
CN104750504A (en) * 2013-12-26 2015-07-01 贝壳网际(北京)安全技术有限公司 Method and device for providing driving information

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040746A1 (en) * 2016-08-30 2018-03-08 北京金山安全软件有限公司 Driver installation method, device, and electronic apparatus
CN106959830A (en) * 2017-03-14 2017-07-18 北京三快在线科技有限公司 Equipment initial method, device and printing device
CN106959830B (en) * 2017-03-14 2020-07-03 北京三快在线科技有限公司 Equipment initialization method and device and printing equipment
CN108762766A (en) * 2018-06-08 2018-11-06 山东超越数控电子股份有限公司 A method of milky way kylin system supports ten thousand Broadcoms under 1500A platforms of soaring
CN110007973A (en) * 2019-03-26 2019-07-12 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110007973B (en) * 2019-03-26 2021-07-16 联想(北京)有限公司 Information processing method and electronic equipment
CN111580847A (en) * 2020-06-15 2020-08-25 长沙景嘉微电子股份有限公司 GPU (graphics processing Unit) drive updating method and device, computer storage medium and electronic equipment
CN111580847B (en) * 2020-06-15 2023-09-22 长沙景嘉微电子股份有限公司 GPU (graphics processing unit) driving updating method and device, computer storage medium and electronic equipment
CN113448630A (en) * 2021-03-24 2021-09-28 深圳怡化电脑股份有限公司 Driver processing method and device, electronic equipment and medium
CN113703853A (en) * 2021-08-24 2021-11-26 新华三智能终端有限公司 Network equipment initialization method and device

Also Published As

Publication number Publication date
WO2018040746A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
CN106325879A (en) Method and device for installing driver and electronic equipment
CN105144074B (en) It is stored using the block of hybrid memory device
CN105045611A (en) Upgrading method and apparatus
US20100241772A1 (en) Thin client server system and method of managing a driver of a usb device
CN102810066A (en) Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN102799545B (en) USB device remote control method and system
US10015650B2 (en) Dynamic branding based on baseboard management controller
CN110389936A (en) A kind of method, equipment and computer storage medium starting small routine
CN104932955A (en) Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal
CN104765621A (en) Method and system for deploying program on cluster node
CN103389898A (en) Method for managing mobile terminal software and mobile terminal
CN105786606A (en) Data transferring method and system for intelligent terminals
CN104978183A (en) Icon construction method, and terminal equipment
CN104615787B (en) A kind of update interface display method and device
CN103414765A (en) Method, device and system for shunting information in graphic code
CN108702412A (en) A kind of display methods and device
US9462408B2 (en) Information processing method and electronic device
CN105426192A (en) Information modification method and terminal
CN106230948A (en) Service end and advertisement pushing device and method
CN104426816A (en) Virtual machine communication method and device
CN106020917A (en) Software installation method and device and user terminal
CN112954770A (en) Device binding method and device, storage medium and electronic device
CN106060124A (en) Application program downloading method and mobile terminal
CN105144073A (en) Removable storage device identity and configuration information
CN104581695A (en) Mobile terminal configuration method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181129

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication