CN104714814A - Drive program mounting method and client terminal device - Google Patents

Drive program mounting method and client terminal device Download PDF

Info

Publication number
CN104714814A
CN104714814A CN201310684540.1A CN201310684540A CN104714814A CN 104714814 A CN104714814 A CN 104714814A CN 201310684540 A CN201310684540 A CN 201310684540A CN 104714814 A CN104714814 A CN 104714814A
Authority
CN
China
Prior art keywords
file
driver
hardware
user terminal
information
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
CN201310684540.1A
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.)
Shell Internet Beijing Security Technology Co Ltd
Original Assignee
Shell Internet Beijing Security Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shell Internet Beijing Security Technology Co Ltd filed Critical Shell Internet Beijing Security Technology Co Ltd
Priority to CN201310684540.1A priority Critical patent/CN104714814A/en
Priority to PCT/CN2014/082689 priority patent/WO2015085774A1/en
Publication of CN104714814A publication Critical patent/CN104714814A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a drive program mounting method and a client terminal device. The drive program mounting method is executed through a first application client terminal mounted in a user terminal, the user terminal obtains an installation file of the first application client terminal, the first application client terminal is mounted through the installation file, a drive file is arranged in the installation file, first hardware is arranged in the user terminal, and the drive file comprises a drive program file corresponding to the first hardware. The method includes the steps of detecting whether a drive program of the first hardware has been mounted in the user terminal already or not; obtaining the drive program file corresponding to the first hardware from the drive file in the installation file if the drive program of the first hardware has not been mounted in the user terminal yet, and mounting the drive program of the first hardware in the user terminal accordingly. According to the drive program mounting method in the embodiment, a user can conveniently and rapidly mount the drive program.

Description

The installation method of driver and client terminal device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of installation method and client terminal device of driver.
Background technology
Computing machine is after new installation or repacking operation system, and in order to enable computing machine normally work, the various hardware that computing machine is arranged all need to install corresponding driver.
Under normal circumstances, part driver can be placed on the webserver, needs by the Internet download, and that is, computing machine needs connecting Internet to download driver from the webserver.But the computing machine of new installation or repacking operation system, in the uninstalled situation of the driver of network interface card, cannot be connected to internet and download driver from server.Therefore, in order to surf the Net, user must first new install or repacking operation system computing machine on NIC driver is installed.In prior art, user can install NIC driver by driving-disc, also can the downloaded NIC driver of connecting Internet by other, and the NIC driver of this download is copied on the computing machine of NIC driver to be installed, install.
But, no matter above-mentioned which kind of the mode of NIC driver is installed, for user, operate very loaded down with trivial details and inconvenient.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is the installation method proposing a kind of driver, can make user's install driver quickly and easily.
Second object of the present invention is to propose a kind of client terminal device.
To achieve these goals, the installation method of the driver of first aspect present invention embodiment is performed by first applications client of installing in the user terminal, described user terminal obtains the installation file of described first applications client and installs described first applications client by described installation file, driving file is provided with in described installation file, be provided with the first hardware in described user terminal, described driving file comprises driver file corresponding to described first hardware; Described method comprises: detect the driver whether having installed described first hardware in described user terminal; If the driver not yet installing described first hardware detected in described user terminal, from the driving file described installation file, obtain driver file corresponding to described first hardware; The driver file corresponding according to the first hardware of described acquisition, installs the driver of described first hardware in described user terminal.
The installation method of the driver that the embodiment of the present invention provides, the driver file of the first hardware is carried in the installation file of the first applications client, when the first applications client is after user terminal is installed, first applications client detects the driver whether user terminal installs the first hardware, and from the installation file of the first applications client, the driver file of the first hardware is extracted when not installing, and then the driver of the first hardware can be installed in the user terminal according to this driver file, this mode does not need user terminal interconnection network, without the need to user's manual search and install driver file, user's install driver quickly and easily can be made.Obviously, the installation method of the driver that the embodiment of the present invention provides, when the first hardware is network interface card, can not also can make user terminal that NIC driver is installed when interconnection network at user terminal, thus enable user terminal be connected to internet smoothly, the operation of convenient user, and then make user terminal by other drivers of the Internet download, to complete remaining driver installment work.
To achieve these goals, the client terminal device of second aspect present invention embodiment, install in the user terminal, described user terminal obtains the installation file of described client terminal device and installs described client terminal device by described installation file, institute send in installation file and is provided with driver file, be provided with the first hardware in described user terminal, described driving file comprises driver file corresponding to described first hardware; Described client terminal device comprises: detection module, for detecting the driver whether having installed described first hardware in described user terminal; Acquisition module, during for the driver not yet installing described first hardware being detected in described user terminal at described detection module, obtains driver file corresponding to described first hardware from the driving file described installation file; Installation module, for the driver file that the first hardware according to described acquisition is corresponding, installs the driver of described first hardware in described user terminal.
The client terminal device that the embodiment of the present invention provides, the driver file of the first hardware is carried in its installation file, this client terminal device is after user terminal is installed, the driver whether user terminal installs the first hardware can be detected, and from its installation file, the driver file of the first hardware is extracted when not installing, and then the driver of the first hardware can be installed in the user terminal according to this driver file, this mode does not need user terminal interconnection network, without the need to user's manual search and install driver file, user's install driver quickly and easily can be made.Obviously, the client terminal device that the embodiment of the present invention provides, when the first hardware is network interface card, can not also can make user terminal that NIC driver is installed when interconnection network at user terminal, thus enable user terminal be connected to internet smoothly, the operation of convenient user, and then make user terminal by other drivers of the Internet download, to complete remaining driver installment work.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein,
Fig. 1 is the process flow diagram of the installation method of driver according to an embodiment of the invention;
Fig. 2 is in the driver embodiment illustrated in fig. 1 method of installing, the process flow diagram of the implementation method of step S102;
Fig. 3 is the process flow diagram of the implementation method of middle step S202 embodiment illustrated in fig. 2;
Fig. 4 is in the driver embodiment illustrated in fig. 1 method of installing, driver install after the schematic diagram at list of drivers interface;
Fig. 5 is in the driver embodiment illustrated in fig. 1 method of installing, for pointing out the schematic diagram of the first prompting frame of user installation driver;
Fig. 6 is in the driver embodiment illustrated in fig. 1 method of installing, the schematic diagram of the first prompting frame in driver installation process;
Fig. 7 is the structured flowchart of client terminal device according to an embodiment of the invention;
Fig. 8 is the structured flowchart of the client terminal device according to the present invention's specific embodiment;
Fig. 9 is the structured flowchart of client terminal device in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In describing the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, concrete condition above-mentioned term concrete meaning in the present invention can be understood.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Below with reference to the accompanying drawings installation method and the client terminal device of the driver of the embodiment of the present invention are described.
Operate very loaded down with trivial details and inconvenient problem in order to solve user when install driver needs from web download or obtains driver by driving-disc, the present invention proposes a kind of installation method of driver.
Fig. 1 is the process flow diagram of the installation method of driver according to an embodiment of the invention.
First it should be noted that, the method is performed by first applications client of installing in the user terminal, and user terminal obtains the installation file of the first applications client and installs the first applications client by installation file.
In an embodiment of the present invention, the first applications client can be mounted in the application program of user terminal.User terminal can be personal computer, notebook computer etc. and has operating system and the equipment of the normal need of work driver of hardware wherein.
For example, this installation file can be kept at user terminal this locality by the installation file of the Internet download first applications client by user terminal, or, the installation file of the first applications client copies in user terminal by user, when installation the first applications client, user terminal according to the installation file of this locality, can install the first applications client.
In a kind of application scenarios of the present invention, user terminal is personal computer, well known to a person skilled in the art, downloading or copying from other external equipments be connected with this computing machine the installation file of an applications client, such as JICQ qq, the installation file of the application software of the several functions such as antivirus software when this installation file is stored on the disk except system disk, during to this computing machine refitting system, file on disk outside system disk can completely retain, therefore, if the disk of personal computer once outside system disk stored this installation file, when this computing machine refitting system, user can directly find this installation file and install this applications client on the disk of this computing machine.
Wherein, in the installation file of the first applications client, be provided with driving file, in user terminal, be provided with the first hardware, drive file to comprise driver file corresponding to the first hardware.
In the embodiment of the present invention, first hardware is the hardware in user terminal, network connecting function is realized as early as possible in order to user terminal can be enable, first hardware preferably can be network interface card, be to be understood that, in other embodiments of the invention, the first hardware also can be other hardware, as first-class in video card, sound card, shooting.
For example, only can comprise the driver file of this kind of hardware of the first hardware in this driving file, such as network interface card, and the driver file of this kind of hardware also can have due to the difference of the factors such as operating system multiple.Outside the driver that also can comprise the first hardware in this driving file, also comprise other hardware multiple driver file separately, and the driver file of often kind of hardware also can have multiple, that is, drive in file and can comprise at least two driver files, these driver files are corresponding with at least one hardware, and often kind of hardware at least one driver file corresponding.
Drive file can carry out arrangement by server according to download seniority among brothers and sisters (i.e. popularity) of the driver file of often kind of hardware in nearest a period of time to obtain, then the installation file of this driving file and the first applications client is packed, issue together.
Server can arrange out usual hardware respectively, as the popular driver file of network interface card, video card, sound card, the first-class equipment of shooting, and generate driving file according to arranging the driver file obtained, or generate driving file corresponding to each hardware respectively according to the popular driver file of each hardware.Wherein, the record arranged in result can be as shown in table 1, and every bar result is carried out in such a way arrangement record (for result shown in table 1): USB Vid_1761 & Pid_0B05, Ralink thunder insults Wireless USB trawl performance 3.2.4.0 version, Win7, ralink_win7.zip}.Then, server (is ranked according to download) successively according to the mode of binary data stream and is read driver file corresponding to every bar record, and by the data stream write driver file of reading.
Table 1
Network interface card hardware information USB\\Vid_1761&Pid_0B05
Display Name Ralink thunder insults Wireless USB trawl performance 3.2.4.0 version
Operation system information Win7
Driver package ralink_win7.zip
In one embodiment of the invention, in the installation file of the first client, drive file can exist with the form of dynamic link library (DLL) (Dynamic Link Library, dynamic link library) file, be about to drive file to be set to dll file and be placed in installation file.
As shown in Figure 1, the installation method of the driver of the present embodiment comprises:
S101, detects the driver whether having installed the first hardware in user terminal.
In an embodiment of the present invention, first applications client is after user terminal installation, automatically starting or start according to user instruction, and automatically detect upon actuation or detect the driver whether having installed the first hardware in this user terminal according to user instruction.
Concrete, first applications client can provide User Interface, the driver that this User Interface can receive user detects instruction, makes the first applications client detect the driver whether having installed the first hardware in command detection user terminal according to the driver of user.
S102, if the driver not yet installing the first hardware in user terminal detected, obtains driver file corresponding to the first hardware from the driving file installation file.
In the embodiment of the present invention, placed driving file in the installation file due to the first applications client, therefore, in this step, the driving file of the first hardware can obtain from the installation file of the first applications client of user terminal this locality storage.
S103, the driver file corresponding according to the first hardware obtained, installs the driver of the first hardware in the user terminal.
In an embodiment of the present invention, after installing the driver of the first hardware in the user terminal, user can check the driver of mounted first hardware in equipment manager.If the first hardware is network interface card, then after user terminal has installed the driver of network interface card, for Intranet user, user terminal can manually or the method for automatic acquisition IP address be connected to internet, with operation of more networking, for ADSL or 3G card of surfing Internet user, then user terminal is by dial-up connection network.
The installation method of the driver that the embodiment of the present invention provides, the driver file of the first hardware is carried in the installation file of the first applications client, when the first applications client is after user terminal is installed, first applications client detects the driver whether user terminal installs the first hardware, and from the installation file of the first applications client, the driver file of the first hardware is extracted when not installing, and then the driver of the first hardware can be installed in the user terminal according to this driver file, this mode does not need user terminal interconnection network, without the need to user's manual search and install driver file, user's install driver quickly and easily can be made.Obviously, the installation method of the driver that the embodiment of the present invention provides, when the first hardware is network interface card, can not also can make user terminal that NIC driver is installed when interconnection network at user terminal, thus enable user terminal be connected to internet smoothly, the operation of convenient user, and then make user terminal by other drivers of the Internet download, to complete remaining driver installment work.
Be understandable that, the driver of homogeneous hardware is not different, and the driver file of homogeneous hardware also because the operating system that is suitable for and the hardware information such as model, the producer difference of hardware that is suitable for and different, thus, in order to the driver file of drive installation at the first hardware of user terminal can be applicable to by Obtaining Accurate from driving file, drive in file the hardware information also comprising operation system information that each driver file is wherein suitable for and the hardware that this driver file is suitable for.For example, drive the driver file that can comprise network interface card and sound card two kinds of hardware in file, wherein, the driver file of network interface card can comprise further that be applicable to XP system, that model (hardware information) is A wireless network card driver file and be applicable to Win7 system, model is the driver file of the wireless network card of A.File is driven to comprise the applicable operation system information of these driver files and hardware information.
Based on this, in one embodiment of the invention, when the driving file of installation file comprises multiple driver file of one or more hardware, drive in file the hardware information also comprising operation system information that each driver file is suitable for and the hardware that this driver file is suitable for, now, in step s 102, from the driving file installation file, driver file corresponding to the first hardware is obtained by method as shown in Figure 2.Particularly, the method comprises the following steps:
S201, obtains the hardware information of the first hardware and the operation system information of user terminal.
Wherein, the operation system information that driver file is suitable for can be the OS Types such as Win7, Vista, XP, Linux and corresponding version etc.; Hardware information can comprise the model, title etc. of hardware.
S202, the hardware information of the operation system information that the driver file comprised according to the driving file in the hardware information obtained and operation system information and installation file is suitable for and the hardware that this driver file is suitable for, extracts the driver file being applicable to the first hardware being arranged on user terminal from the driving file installation file.
It should be noted that, in one embodiment of the invention, a File header information can be set in driving file, this File header information is placed on the file header part driving file, is provided with and each driver file difference driver item one to one driven in file in File header information.The hardware information of the operation system information that each driver file is suitable for and the hardware that this driver file is suitable for is marked in driver item corresponding to this driver file.Further, be also marked with this driver file in the driver item that each driver file is corresponding and drive the positional information in file.Wherein, the positional information of driver file in driving file comprises file size and the offset address of this driver file in driving file of driver file.Wherein, offset address is the side-play amount of reference position relative to the reference position of driving file of driver file.Therefore, the driver file of the first hardware is extracted by method as shown in Figure 3.As shown in Figure 3, the method can comprise:
S301, according to the hardware information obtained and operation system information, scanning document header is to determine the driver item that marked operation system information and hardware information of the hardware information that mark and acquisition identical with the operation system information of acquisition matches.
For example, driver item in File header information can be as shown in table 2, and table 2 is driver items corresponding to the driver file of certain network interface card, is appreciated that to be, File header information shown in table 2 is only example, only lists the content of partial content in File header information and correspondence thereof.Wherein, corresponding 6 partial contents of File header information, the network interface card hardware information that is suitable for of this driver file and operation system information respectively, the driver package title of this driver file, title shown when this driver file being shown to user again, and this driver file is driving the positional information in file, i.e. offset address and size.
Table 2
For example, if the hardware information of the first hardware in the user terminal obtained be USB Vid_1761 & Pid_0B05, and the operation system information of user terminal is Win7 system, the first applications client can determine driver item as shown in table 2 by the File header information of turntable driving file.
S302, obtains the positional information of the driver item mark determined.
Wherein, positional information comprises size and the offset address of this driver file in driving file of driver file.For example, for the driver item shown in table 2, the positional information of mark comprises: offset address 320350, size 120140.
S303, according to the positional information obtained, from driving the driver file extracting the first hardware file.
Particularly, can according to the offset address in the positional information obtained, from driving the position corresponding with offset address of file, extracting size is that the data of size in the positional information obtained are to extract the driver file of the first hardware.For the driver item shown in table 2, the position of section start 320350 byte of file can be driven to start to read the data that length is 120140 bytes in distance, and the data of extraction are packaged as the driver file that name is called " ralink_win7.zip ".
Further, in one embodiment of the invention, after user terminal is connected to internet, first applications client can connection server, obtain the latest edition of installed drivers, and the driver file of the hardware of non-install driver, and be presented at the list of drivers interface of the first applications client.
For example, first applications client is named as WinDriver Ghost, as shown in Figure 4, after the driver of network interface card is installed in the user terminal, WinDriver Ghost can show the latest edition of this NIC driver or the information of most stable release in list of drivers interface, and still uninstalled driver in user terminal, user can select the still uninstalled driver of user terminal easily, as the driver of the hardware such as video card, sound card, mainboard, and select as required whether to upgrade installed drivers.
It is once more emphasized that, the driver of the indispensable hardware of installation can be comprised in driving file in the installation file of the first applications client, as network interface card, video card, sound card, mainboard etc., first applications client can drive the driver file extracting corresponding hardware in user terminal in file respectively, and carry out the hardware driving with completing user terminal is installed, and after being connected to internet, these drivers are upgraded.
Further, in one embodiment of the invention, the installation situation of the driver of hardware on user terminal is understood for the ease of user, first applications client is after the driver not yet installing the first hardware in user terminal being detected, obtain driver file corresponding to the first hardware from the driving file installation file before, the first prompting frame can be shown, not yet to install the driver of the first hardware in this user terminal of user of informing user terminal, and inquire the driver of user the need of installation first hardware.First applications client, after receiving user and indicating the instruction of the driver of installation first hardware, can obtain the driver file of the first hardware, and install from the driving file installation file.
In addition, in the installation process of driver, the second prompting frame can be shown, the descriptor from driving the first hardware obtained file is shown in this second prompting frame, the display Name of the first hardware such as obtained from File header information, and show the erection schedule of this driver, so that user understands installation progress.
WinDriver Ghost citing is named as equally with the first applications client, when WinDriver Ghost detects in user terminal the driver not yet installing the network interface card that hardware information is [USB Vid_1761 & Pid_0B05], prompting frame as shown in Figure 5 can be shown, to point out user: cannot exact connect ion network, reason may be do not install trawl performance, and points out user to select whether to install trawl performance.User selects by the button clicking the "Yes" or "No" in Fig. 5 in prompting frame the driver whether installing this network interface card.If user clicks "Yes", then WinDriver Ghost can obtain the driver file of this network interface card in the driving file in its installation file, display prompting frame as shown in Figure 6, the information of progress displaying bar and " installing Ralink thunder and insulting Wireless USB trawl performance 3.2.4.0 version " in this prompting frame.In order to meet the different demands of user, user is by clicking "No" in Fig. 6 to cancel the installation of this driver.
In order to realize above-described embodiment, the present invention also proposes a kind of client terminal device.
Fig. 7 is the structured flowchart of client terminal device according to an embodiment of the invention.This client terminal device is installed in the user terminal, and user terminal can obtain the installation file of this client terminal device and install this client terminal device by installation file.For example, this installation file can be kept at user terminal this locality by the installation file of the Internet download client terminal device by user terminal, or, the installation file of client terminal device copies in user terminal by user, when installing client terminal device, user terminal according to the installation file of this locality, can install client terminal device.
In an embodiment of the present invention, client terminal device can be mounted in the application program of user terminal.User terminal can be personal computer, notebook computer etc. and has operating system and the equipment that drives of the normal need of work of hardware wherein.
Wherein, be provided with driver file in the installation file of client terminal device, and be provided with the first hardware in this user terminal, this driving file comprises driver file corresponding to this first hardware.Drive file can carry out arrangement by server according to download seniority among brothers and sisters (i.e. popularity) of the driver file of hardware in nearest a period of time to obtain, then the installation file of this driving file and the first applications client is packed, issue together.Server can arrange out usual hardware respectively, as the popular driver file of network interface card, video card, sound card, the first-class equipment of shooting, and generate driving file according to arranging the driver file obtained, or generate driving file corresponding to each hardware respectively according to the popular driver file of each hardware.
In one embodiment of the invention, in the installation file of client terminal device, drive file can exist with the form of dynamic link library (DLL) (Dynamic Link Library, dynamic link library) file, be about to drive file to be set to dll file and be placed in installation file.
As shown in Figure 7, this client terminal device comprises detection module 100, acquisition module 200 and installation module 300.
Particularly, detection module 100 is for detecting the driver whether having installed the first hardware in user terminal.In an embodiment of the present invention, detection module 100 automatically starting or start according to user instruction, and automatically detect upon actuation or detect the driver whether having installed the first hardware in this user terminal according to user instruction, the driver that also can input at the User Interface that client terminal device provides according to user detects the driver whether having installed the first hardware in command detection user terminal.
Wherein, the first hardware is the hardware in user terminal, realizes network connecting function as early as possible to enable user terminal, first hardware preferably can be network interface card, should be appreciated that in other embodiments of the invention, first hardware also can be other hardware, as first-class in video card, sound card, shooting.
Acquisition module 200, for when detection module 100 detects the driver not yet installing the first hardware in user terminal, obtains driver file corresponding to the first hardware from the driving file installation file.
Be understandable that, the driver of homogeneous hardware is not different, and the driver file of homogeneous hardware also because the operating system that is suitable for and the hardware information such as model, the producer difference of hardware that is suitable for and different, thus, in order to the driver file of drive installation at the first hardware of user terminal can be applicable to by Obtaining Accurate from driving file, drive in file the hardware information also comprising operation system information that each driver file is wherein suitable for and the hardware that this driver file is suitable for.For example, drive the driver file that can comprise network interface card and sound card two kinds of hardware in file, wherein, the driver file of network interface card can comprise further that be applicable to XP system, that model (hardware information) is A wireless network card driver file and be applicable to Win7 system, model is the driver file of the wireless network card of A.File is driven to comprise the applicable operation system information of these driver files and hardware information.
More specifically, in one embodiment of the invention, when the driving file of installation file comprises multiple driver file of one or more hardware, drive in file the hardware information also comprising operation system information that each driver file is suitable for and the hardware that this driver file is suitable for, in client terminal device as shown in Figure 8, acquisition module 200 specifically comprises acquisition submodule 210 and extracts submodule 220, wherein, extract submodule 220 and comprise determining unit 221, position acquisition unit 222 and extraction unit 223 further.
Wherein, submodule 210 is obtained for obtaining the hardware information of the first hardware and the operation system information of user terminal in user terminal.
The operation system information that driver file is suitable for can be the OS Types such as Win7, Vista, XP, Linux and corresponding version etc.; Hardware information can comprise the model, title etc. of hardware.
Extract submodule 220 for according to the hardware information obtaining hardware information that submodule 210 obtains and the operation system information that the driver file that comprises of operation system information, driving file is suitable for and the hardware that this driver file is suitable for, from the driving file installation file, extract the driver file being applicable to the first hardware being arranged on user terminal.
It should be noted that, in one embodiment of the invention, a File header information can be set in driving file, this File header information is placed on the file header part driving file, is provided with and each driver file difference driver item one to one driven in file in File header information.The hardware information of the operation system information that each driver file is suitable for and the hardware that this driver file is suitable for is marked in driver item corresponding to this driver file.Further, be also marked with this driver file in the driver item that each driver file is corresponding and drive the positional information in file.Wherein, the positional information of driver file in driving file comprises file size and the offset address of this driver file in driving file of driver file.Wherein, offset address is the side-play amount of reference position relative to the reference position of driving file of driver file.
Now, extract submodule 220 can first by determining unit 221 according to obtaining the hardware information and operation system information that submodule 210 obtains, scanning document header is to determine the driver item that marked operation system information and hardware information of the hardware information that mark and acquisition identical with the operation system information of acquisition matches.
Then, extract submodule 220 and obtain by position acquisition unit 222 positional information that driver item that determining unit 221 determines marks.Wherein, positional information comprises size and the offset address of this driver file in driving file of driver file.
Extraction unit 223 extracts the driver file of the first hardware according to the positional information that position acquisition unit 222 obtains from driving file.More specifically, can according to the offset address in the positional information obtained, from driving the position corresponding with offset address of file, extracting size is that the data of size in the positional information obtained are to extract the driver file of the first hardware.
Installation module 300, for driver file corresponding to the first hardware of obtaining according to acquisition module 200, installs the driver of the first hardware in the user terminal.
In an embodiment of the present invention, after installing the driver of the first hardware in the user terminal, user can check the driver of mounted first hardware in equipment manager.If the first hardware is network interface card, then after user terminal has installed the driver of network interface card, for Intranet user, user terminal can manually or the method for automatic acquisition IP address be connected to internet, with operation of more networking, for ADSL or 3G card of surfing Internet user, then user terminal is by dial-up connection network.
After user terminal is connected to internet, client terminal device can connection server, obtains the latest edition of installed drivers, and the driver file of the hardware of non-install driver, and is presented at the list of drivers interface of client terminal device.In addition, the driver of the indispensable hardware of installation can be comprised in driving file in the installation file of client terminal device, as network interface card, video card, sound card, mainboard etc., acquisition module 200 can drive the driver file extracting corresponding hardware in user terminal in file respectively, and undertaken the hardware driving with completing user terminal is installed by installation module 300, and after being connected to internet, these drivers are upgraded.
The client terminal device of the embodiment of the present invention, the driver file of the first hardware is carried in its installation file, this client terminal device is after user terminal is installed, the driver whether user terminal installs the first hardware can be detected, and extract the driver file of the first hardware from the installation file of client terminal device when not installing, and then the driver of the first hardware can be installed in the user terminal according to this driver file, this mode does not need user terminal interconnection network, without the need to user's manual search and install driver file, user's install driver quickly and easily can be made.Obviously, the client terminal device that the embodiment of the present invention provides, when the first hardware is network interface card, can not also can make user terminal that NIC driver is installed when interconnection network at user terminal, thus enable user terminal be connected to internet smoothly, the operation of convenient user, and then make user terminal by other drivers of the Internet download, to complete remaining driver installment work.
Fig. 9 is the structured flowchart of client terminal device in accordance with another embodiment of the present invention.Understand the installation situation of the driver of hardware on user terminal for the ease of user, client terminal device as shown in Figure 9, the basis of the client terminal device shown in Fig. 8 also comprises display module 400.
Particularly, display module 400, for showing the first prompting frame, not yet to install the driver of the first hardware in this user terminal of user of informing user terminal, and inquires the driver of user the need of installation first hardware.More specifically, display module 400 can after detection module 100 detects the driver not yet installing the first hardware in user terminal, before obtaining driver file corresponding to the first hardware in driving file the installation file of the client terminal device that acquisition module 200 stores from user terminal this locality, show this first prompting frame.
Client terminal device receive the content instruction that user points out according to this first prompting frame installation first hardware driver instruction after, acquisition module 200 can obtain the driver file of the first hardware from the driving file installation file, and is installed by installation module 300.In addition, in the installation process of driver, display module 400 is also by showing the second prompting frame, show from driving the descriptor (display Name etc. as the first hardware) of the first hardware obtained the File header information of file in the first prompting frame and the erection schedule of driver wherein, so that user understands installation progress.
The client terminal device of the embodiment of the present invention, uninstalled driver is had in its terminal of prompting user by display module 400, and according to user instruction, corresponding driver is installed, simultaneously, can in installation process the installation progress of real-time display driving software, more directly perceived, convenient, promote Consumer's Experience.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.

Claims (14)

1. an installation method for driver, is characterized in that,
Described method is performed by first applications client of installing in the user terminal, described user terminal obtains the installation file of described first applications client and installs described first applications client by described installation file, driving file is provided with in described installation file, be provided with the first hardware in described user terminal, described driving file comprises driver file corresponding to described first hardware;
Described method comprises:
Detect the driver whether having installed described first hardware in described user terminal;
If the driver not yet installing described first hardware detected in described user terminal, from the driving file described installation file, obtain driver file corresponding to described first hardware;
The driver file corresponding according to the first hardware of described acquisition, installs the driver of described first hardware in described user terminal.
2. the method for claim 1, is characterized in that,
Described driving file comprises at least two driver files, and described driver file is corresponding with at least one hardware, and often kind of hardware at least one driver file corresponding;
The hardware information of operation system information that each driver file is suitable for and the hardware that this driver file is suitable for also is comprised in described driving file;
The described driver file obtaining described first hardware from the driving file described installation file comprises:
Obtain the hardware information of described first hardware and the operation system information of described user terminal;
The hardware information of the operation system information that the driver file comprised according to hardware information and described operation system information, the described driving file of described acquisition is suitable for and the hardware that this driver file is suitable for, extracts the driver file being applicable to described first hardware being arranged on described user terminal from the driving file described installation file.
3. method as claimed in claim 2, is characterized in that,
Described driving file comprises File header information, be provided with the driver item corresponding with described driver file in described File header information, the hardware information of the operation system information that each driver file is suitable for and the hardware that this driver file is suitable for is marked in driver item corresponding to this driver file;
The positional information of this driver file in described driving file is also marked with in the driver item that described driver file is corresponding;
The hardware information of the operation system information that the driver file that the described hardware information according to described acquisition and described operation system information, described driving file comprise is suitable for and the hardware that this driver file is suitable for, extracts the driver file being applicable to described first hardware being arranged on described user terminal and comprises from the driving file described installation file:
According to hardware information and the described operation system information of described acquisition, scan described File header information to determine the driver item that marked operation system information and hardware information of the hardware information that mark and described acquisition identical with the operation system information of described acquisition matches;
Obtain the positional information of the described driver item mark determined;
According to the positional information of described acquisition, from described driving file, extract the driver file of described first hardware.
4. method as claimed in claim 3, is characterized in that, described positional information comprises size and the offset address of this driver file in described driving file of driver file;
The described positional information according to described acquisition, the driver file extracting described first hardware from described driving file comprises:
According to the offset address in the positional information of described acquisition, from the position corresponding with described offset address of described driving file, extracting size is that the data of size in the positional information of described acquisition are to extract the driver file of described first hardware.
5. the method as described in any one of Claims 1-4, it is characterized in that, after the driver not yet installing described first hardware being detected in described user terminal, obtain driver file corresponding to described first hardware from the driving file described installation file before, described method also comprises:
Show the first prompting frame, not yet to install the driver of described first hardware in user terminal described in the user informing described user terminal, and inquire that user is the need of the driver installing described first hardware;
The described driver file obtaining described first hardware corresponding from the driving file described installation file comprises:
After receiving user and indicating the instruction of the driver installing described first hardware, from the driving file described installation file, obtain driver file corresponding to described first hardware.
6. the method as described in any one of claim 1-5, is characterized in that, in described installation file, described driving file exists with the form of dynamic link library (DLL) file.
7. the method as described in any one of claim 1-6, is characterized in that, described first hardware is network interface card.
8. a client terminal device, is characterized in that,
Described client terminal device is installed in the user terminal, described user terminal obtains the installation file of described client terminal device and installs described client terminal device by described installation file, driving file is provided with in the installation file of described client terminal device, be provided with the first hardware in described user terminal, described driving file comprises driver file corresponding to described first hardware;
Described client terminal device comprises:
Detection module, for detecting the driver whether having installed described first hardware in described user terminal;
Acquisition module, during for the driver not yet installing described first hardware being detected in described user terminal at described detection module, obtains driver file corresponding to described first hardware from the driving file described installation file;
Installation module, the driver file that the first hardware for obtaining according to described acquisition module is corresponding, installs the driver of described first hardware in described user terminal.
9. client terminal device as claimed in claim 8, is characterized in that,
Described driving file comprises at least two driver files, and described driver file is corresponding with at least one hardware, and often kind of hardware at least one driver file corresponding;
The hardware information of operation system information that each driver file is suitable for and the hardware that this driver file is suitable for also is comprised in described driving file;
Described acquisition module comprises:
Obtain submodule, for the operation system information of the hardware information and described user terminal that obtain described first hardware;
Extract submodule, the hardware information of the hardware that the operation system information be suitable for for the driver file comprised according to hardware information and described operation system information, the described driving file of described acquisition submodule acquisition and this driver file are suitable for, extracts the driver file being applicable to described first hardware being arranged on described user terminal from the driving file described installation file.
10. client terminal device as claimed in claim 9, is characterized in that,
Described driving file comprises File header information, be provided with the driver item corresponding with described driver file in described File header information, the hardware information of the operation system information that each driver file is suitable for and the hardware that this driver file is suitable for is marked in driver item corresponding to this driver file;
The positional information of this driver file in described driving file is also marked with in the driver item that described driver file is corresponding;
Described extraction submodule comprises:
Determining unit, for the hardware information that obtains according to described acquisition submodule and described operation system information, scan described File header information to determine the driver item that marked operation system information and hardware information of the hardware information that mark and described acquisition identical with the operation system information of described acquisition matches;
Position acquisition unit, for obtaining the positional information of the driver item mark that described determining unit is determined;
Extraction unit, for the positional information obtained according to described position acquisition unit, extracts the driver file of described first hardware from described driving file.
11. client terminal devices as claimed in claim 10, is characterized in that, described positional information comprises size and the offset address of this driver file in described driving file of driver file;
Described extraction unit is specifically for the offset address in the positional information that obtains according to described position acquisition unit, from the position corresponding with described offset address of described driving file, extracting size is that the data of size in the positional information that obtains of described position acquisition unit are to extract the driver file of described first hardware.
12. client terminal devices as described in any one of claim 8 to 11, is characterized in that, also comprise:
Display module, for showing the first prompting frame, not yet to install the driver of described first hardware in user terminal described in the user informing described user terminal, and inquires that user is the need of the driver installing described first hardware;
Described acquisition module, after receiving user and indicating the instruction of the driver installing described first hardware, obtains driver file corresponding to described first hardware from the driving file described installation file.
13. client terminal devices as described in any one of claim 8-12, it is characterized in that, in described installation file, described driving file exists with the form of dynamic link library (DLL) file.
14. client terminal devices as described in any one of claim 8-13, it is characterized in that, described first hardware is network interface card.
CN201310684540.1A 2013-12-13 2013-12-13 Drive program mounting method and client terminal device Pending CN104714814A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310684540.1A CN104714814A (en) 2013-12-13 2013-12-13 Drive program mounting method and client terminal device
PCT/CN2014/082689 WO2015085774A1 (en) 2013-12-13 2014-07-22 Installation method of driver program and client apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310684540.1A CN104714814A (en) 2013-12-13 2013-12-13 Drive program mounting method and client terminal device

Publications (1)

Publication Number Publication Date
CN104714814A true CN104714814A (en) 2015-06-17

Family

ID=53370588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310684540.1A Pending CN104714814A (en) 2013-12-13 2013-12-13 Drive program mounting method and client terminal device

Country Status (2)

Country Link
CN (1) CN104714814A (en)
WO (1) WO2015085774A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760242A (en) * 2015-06-19 2016-07-13 深圳怡化电脑股份有限公司 Self-adapting method and device for drive program of self-service equipment
CN106055370A (en) * 2016-06-13 2016-10-26 北京金山安全软件有限公司 Driver installation method and device and terminal
CN106095445A (en) * 2016-06-13 2016-11-09 北京金山安全软件有限公司 Driver installation method and device and terminal
CN106325879A (en) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 Method and device for installing driver and electronic equipment
CN106383703A (en) * 2016-08-30 2017-02-08 浪潮(北京)电子信息产业有限公司 Hard disk driver loading method and apparatus for linux operation system
CN110471686A (en) * 2019-08-15 2019-11-19 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and the storage medium of automatic downloading driving
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277386A (en) * 1999-06-10 2000-12-20 神达电脑股份有限公司 Automatic installation of driver program for personal computer
CN1464387A (en) * 2002-06-26 2003-12-31 联想(北京)有限公司 Hardware equipment drive program installing method and computer therefor
US20070101342A1 (en) * 2005-10-31 2007-05-03 Microsoft Corporation Automated device driver management
CN101382894A (en) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 Method, system, computer, and server for downloading computer hardware device driver
CN101430647A (en) * 2008-12-02 2009-05-13 北京中星微电子有限公司 Hardware equipment and its drive installation method
CN101533353A (en) * 2008-03-14 2009-09-16 英业达股份有限公司 Medium with segmentally loaded drivers and method for segmentally loading thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291314C (en) * 2003-06-06 2006-12-20 英业达股份有限公司 Memory controller driving program installing method and system
CN102768628A (en) * 2012-06-19 2012-11-07 Tcl集团股份有限公司 Method and device for preinstallation of third party application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277386A (en) * 1999-06-10 2000-12-20 神达电脑股份有限公司 Automatic installation of driver program for personal computer
CN1464387A (en) * 2002-06-26 2003-12-31 联想(北京)有限公司 Hardware equipment drive program installing method and computer therefor
US20070101342A1 (en) * 2005-10-31 2007-05-03 Microsoft Corporation Automated device driver management
CN101382894A (en) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 Method, system, computer, and server for downloading computer hardware device driver
CN101533353A (en) * 2008-03-14 2009-09-16 英业达股份有限公司 Medium with segmentally loaded drivers and method for segmentally loading thereof
CN101430647A (en) * 2008-12-02 2009-05-13 北京中星微电子有限公司 Hardware equipment and its drive installation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
长江边上: "重装系统显身手驱动精灵2008使用技巧", 《电脑迷》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760242A (en) * 2015-06-19 2016-07-13 深圳怡化电脑股份有限公司 Self-adapting method and device for drive program of self-service equipment
CN105760242B (en) * 2015-06-19 2018-12-11 深圳怡化电脑股份有限公司 The driver adaptive approach and device of self-service device
CN106055370A (en) * 2016-06-13 2016-10-26 北京金山安全软件有限公司 Driver installation method and device and terminal
CN106095445A (en) * 2016-06-13 2016-11-09 北京金山安全软件有限公司 Driver installation method and device and terminal
CN106055370B (en) * 2016-06-13 2019-07-23 珠海豹趣科技有限公司 Drive programe installation method, device and terminal
CN106095445B (en) * 2016-06-13 2019-08-23 珠海豹趣科技有限公司 Installation method, device and the terminal of driver
CN106325879A (en) * 2016-08-30 2017-01-11 北京金山安全软件有限公司 Method and device for installing driver and electronic equipment
CN106383703A (en) * 2016-08-30 2017-02-08 浪潮(北京)电子信息产业有限公司 Hard disk driver loading method and apparatus for linux operation system
WO2018040746A1 (en) * 2016-08-30 2018-03-08 北京金山安全软件有限公司 Driver installation method, device, and electronic apparatus
CN110471686A (en) * 2019-08-15 2019-11-19 深圳忆联信息系统有限公司 Method, apparatus, computer equipment and the storage medium of automatic downloading driving
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system
CN112000374B (en) * 2020-07-13 2024-01-02 深圳市智微智能软件开发有限公司 USB touch screen replacement method, device, equipment and medium applied to android system

Also Published As

Publication number Publication date
WO2015085774A1 (en) 2015-06-18

Similar Documents

Publication Publication Date Title
CN104714814A (en) Drive program mounting method and client terminal device
US9003388B2 (en) Information processing apparatus and update process support system
EP2815311B1 (en) Using an application cache to update resources of installed applications
US9262153B2 (en) Firmware update discovery and distribution
US9235404B2 (en) Firmware update system
JP4861546B2 (en) Method and apparatus for automatically installing and incorporating software into a computer
US8671356B1 (en) Dynamic desktop icon
US20140007067A1 (en) RESOURCE DATa STRUCTURES FOR FIRMWARE UPDATES
JP2001051833A (en) Method and device for generating and distributing smaller application of microsoft windows (registered) for automatic constitution of computer device
CN103229142A (en) A method computer program and system for managing pre-requisite of a software product virtual image
CN101393524A (en) Firmware update method and system using the same
WO2014204505A1 (en) Dependency based configuration package activation
US20130031512A1 (en) Method and system for providing web content on a mobile device
US20130067359A1 (en) Browser-based Discovery and Application Switching
CN106648678B (en) System update control method and device
CN104765816B (en) Browser upgrading method and device and electronic equipment
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
US8176309B2 (en) Boot system has BIOS that reads rescue operating system from memory device via input/output chip based on detecting a temperature of a hard disk
US20180349125A1 (en) Information processing apparatus and program management method
EP2648092B1 (en) Updating method and multi-domain embedded system
CN114127685B (en) Electronic apparatus and control method thereof
CN104077178A (en) Management method and electronic device
Clerc et al. Os streaming deployment
US8762699B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
TWI486876B (en) Host and method of upgrading connection manager of dongle

Legal Events

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

Application publication date: 20150617

RJ01 Rejection of invention patent application after publication