CN101430647A - Hardware equipment and its drive installation method - Google Patents
Hardware equipment and its drive installation method Download PDFInfo
- Publication number
- CN101430647A CN101430647A CNA2008102279377A CN200810227937A CN101430647A CN 101430647 A CN101430647 A CN 101430647A CN A2008102279377 A CNA2008102279377 A CN A2008102279377A CN 200810227937 A CN200810227937 A CN 200810227937A CN 101430647 A CN101430647 A CN 101430647A
- Authority
- CN
- China
- Prior art keywords
- file
- description information
- hardware device
- installation
- installation kit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009434 installation Methods 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012360 testing method Methods 0.000 claims abstract description 15
- 230000004048 modification Effects 0.000 claims abstract description 6
- 238000012986 modification Methods 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 10
- 238000002474 experimental method Methods 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 238000007599 discharging Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a hardware unit and a driver installation method thereof. The hardware unit is provided with a driver installation device, and the installation device comprises a first memory cell which stores a driver file independent of an installation package file; a second memory cell which stores the installation package file which has a configuration file, and can call the driver file by the configuration file; a modification cell which is used for testing, upgrading and modifying the driver file under the condition of keeping the installation package file unchanged so as to complete driver test, driver upgrade and driver customization of the hardware unit. The hardware unit and the driver installation method can help simplify upgrade of the installation package and reduce the labor and the time which are consumed by repeated upgrade of the installation package, thus avoiding waste of resources.
Description
Technical field
The present invention relates to the hardware driving technology of computer realm, particularly relate to a kind of hardware device and drive installation method thereof.
Background technology
Device driver (device driver), be called for short driver, be one and allow computer software and the mutual program of hardware, it is the rely basis of operate as normal of hardware, this program has been set up hardware and hardware, or the communication interface of hardware and software, to have set up via the bus on the mainboard or other and linked up the mechanism that subsystem is connected with hardware formation, such mechanism makes hardware device can carry out exchanges data.
At present, the installation general case of driver is as follows:
1) the driver direct compilation is to installation kit inside;
2) installation kit customizes separately according to specific demand.
So-called installation kit is exactly the software installation procedure bag, a plurality of suites to a file that can installation and operation, and its extension name generally is .exe or .msi.After double-click is opened, click the installation that corresponding button just can be finished this program according to prompting.Generally speaking, only click " determining " " next step ", when having what agreement to allow you agree, click and agree, just can simply program must be installed.
Yet, in the process that realizes technical solution of the present invention, find to install for device drives, owing to following reason needs constantly installation kit to be upgraded:
1) device drives itself needs regular update;
2) new function occurs, need join in the driving;
3) client's demand constantly changes (there are differences between the different user, same user demand in different times also there are differences);
4) upgrading of system makes the installation kit function that increase and decrease etc. be arranged;
5) WHQL of Microsoft (abbreviation of Windows Hardware Quality Lab, the Chinese meaning is the experiment of Windows hardware device quality) test needs driver and installation kit independently.
More than the upgrading of the installation kit that causes of these reasons expend great amount of manpower, time, cause the wasting of resources.Simultaneously, in carrying out the WHQL of Microsoft test process, have to adopt PNP (Plug and Play, plug and play) mounting means, inconsistent with the employed installation kit mounting means of following client.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of hardware device and drive installation method thereof, can simplify the upgrading of installation kit, reduces because of upgrade installation package consumed repeatedly a large amount of manpowers and time, avoids the waste of resource.
To achieve these goals, on the one hand, provide a kind of hardware device, described hardware device has the drive installation device, and described erecting device comprises:
First storage unit stores the driving file that is independent of outside the installation kit file;
Second storage unit stores described installation kit file, has configuration file in the described installation kit file, and described installation kit file can call described driving file by described configuration file;
Revise the unit, be used for: under the constant situation of described installation kit file described driving file is tested, upgraded or revises keeping, thereby finish driving test, drive to upgrade or drive and customize described hardware device.
Preferably, described hardware device, wherein, described configuration file includes product description information, the functional description information of described hardware device and drives file description information.
Preferably, described hardware device, wherein, described test is: the experiment of Microsoft's Window hardware device quality.
Preferably, described hardware device, wherein, the cycle upgrades to described driving file to schedule in described modification unit.
One aspect of the present invention provides a kind of drive installation method that is used for above-mentioned hardware device, comprising:
Step 1 begins to install, and carries out described installation kit file;
Step 2, described installation kit file reads described configuration file;
Step 3, described installation kit file obtains product description information, the functional description information of described hardware device and drives file description information from described configuration file;
Step 4 is transferred described driving file, according to the described product description information of described hardware device, described functional description information and described driving file description information, carries out the configuration and the installation of described driving file.
Preferably, described drive installation method, wherein, described step 3 also comprises: generate mount message according to the described product description information of described hardware device, described functional description information and described driving file description information, described mount message is write and be kept at registry file.
Preferably, described drive installation method wherein, before described step 1, also comprises: whether, be then carry out unloading flow process, carry out described step 1 then, otherwise withdraw from the drive installation flow process if detecting described driving file and changing.
Preferably, described drive installation method, wherein, described unloading flow process comprises:
Steps A begins unloading, reads the mount message in the registry file;
Step B obtains product description information, the functional description information of described hardware device and drives file description information according to described mount message;
Step C according to the described product description information of described hardware device, described functional description information and described driving file description information, carries out the unloading of described driving file.
There is following technique effect at least in the embodiment of the invention:
1) the present invention is directly separately independent with installation kit and driver, makes like this after the driver update, can directly cover original driving, does not need the update contruction bag, avoids because of upgrade installation package caused repeatedly a large amount of manpowers and the consumption of time;
2) can revise driver individually according to user's difference, directly to existing drive to customize with function cut out, satisfy the customized demand of different user to driving;
3) self-existent driver can make things convenient for the WHQL of Microsoft test outside the installation kit.
Description of drawings
The structural drawing of the drive installation device of the hardware device that Fig. 1 provides for the embodiment of the invention;
The flow chart of steps of the drive installation method that Fig. 2 provides for the embodiment of the invention;
The flow chart of steps of the driving discharging method that Fig. 3 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, specific embodiment is described in detail below in conjunction with accompanying drawing.
The embodiment of the invention provides a kind of hardware device and drive installation method thereof, can simplify the escalation process of installation kit, avoids avoiding the waste of resource because of upgrade installation package caused repeatedly a large amount of manpowers and the consumption of time.A kind of approach of being convenient to carry out the WHQL of Microsoft test and user's use/customization is provided simultaneously.
In the embodiment of the invention, the configuration mode of installation kit is as follows: drive file and be independent of outside the installation kit file, have configuration file in the installation kit file, described installation kit file can call and install and unload described driving file by described configuration file; Thereby, keeping under the constant situation of described installation kit file, can test, upgrade or revise described driving file separately, save the compiling again to the whole erection bag, easy having finished be upgraded or the driving customization driving test, the driving of described hardware device.
The structural drawing of the drive installation device of the hardware device that Fig. 1 provides for the embodiment of the invention, as shown in the figure, the drive installation device of hardware device comprises:
Revise unit 103, be used for: under the constant situation of described installation kit file described driving file is tested, upgraded or revises keeping, thereby finish driving test, drive to upgrade or drive and customize described hardware device.
Wherein, first storage unit 101 can be two different storeies with second storage unit 102, also can be the different memory locations in the same storage medium.The drive installation device both can be arranged among the hardware device, also can break away from described hardware device and individualism.Described configuration file includes product description information, the functional description information of described hardware device and drives file description information.
After hardware device inserted computer system or other system, the drive installation method first of described hardware device comprised:
Step 201 begins to install, and carries out described installation kit file;
Step 202, described installation kit file reads described configuration file;
Step 203, described installation kit file obtains product description information, the functional description information of described hardware device and drives file description information from described configuration file, generate mount message according to the described product description information of described hardware device, described functional description information and described driving file description information, described mount message is write and be kept at registry file;
Step 204 is transferred described driving file, according to the described product description information of described hardware device, described functional description information and described driving file description information, carries out the configuration and the installation of described driving file.
After finishing drive installation first, the cycle tests, upgrades or revise described driving file to schedule in the modification unit of described drive installation device.After described driving file upgrades, reinstall the driving after the renewal, this needs original driving of unloading earlier, the flow chart of steps of the driving discharging method that Fig. 3 provides for the embodiment of the invention, as figure, the unloading flow process is as follows:,
As from the foregoing, directly that installation kit and driver is separately independent in the embodiment of the invention, and for installation kit provides configuration file separately, comprise in this configuration file: device description, driver file are described, functional description.Installation kit is installed/unload according to the described equipment of configuration file, file, function;
Directly that installation kit and driver is separately independent, make like this:
1) after the driver update, can directly cover original driving, not need the update contruction bag, avoid because of upgrade installation package caused repeatedly a large amount of manpowers and the consumption of time;
2) can revise driver individually according to user's difference, directly to existing drive to customize with function cut out, satisfy the customized demand of different user to driving;
3) self-existent driver can make things convenient for the WHQL of Microsoft test outside the installation kit.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (8)
1. a hardware device is characterized in that, described hardware device has the drive installation device, and described erecting device comprises:
First storage unit stores the driving file that is independent of outside the installation kit file;
Second storage unit stores described installation kit file, has configuration file in the described installation kit file, and described installation kit file can call described driving file by described configuration file;
Revise the unit, be used for: under the constant situation of described installation kit file described driving file is tested, upgraded or revises keeping, thereby finish driving test, drive to upgrade or drive and customize described hardware device.
2. hardware device according to claim 1 is characterized in that, described configuration file includes product description information, the functional description information of described hardware device and drives file description information.
3. hardware device according to claim 1 is characterized in that, described test is: the experiment of Microsoft's Window hardware device quality.
4. hardware device according to claim 1 is characterized in that, the cycle upgrades to described driving file to schedule in described modification unit.
5. a drive installation method that is used for the described hardware device of claim 1 is characterized in that, comprising:
Step 1 begins to install, and carries out described installation kit file;
Step 2, described installation kit file reads described configuration file;
Step 3, described installation kit file obtains product description information, the functional description information of described hardware device and drives file description information from described configuration file;
Step 4 is transferred described driving file, according to the described product description information of described hardware device, described functional description information and described driving file description information, carries out the configuration and the installation of described driving file.
6. drive installation method according to claim 5, it is characterized in that, described step 3 also comprises: generate mount message according to the described product description information of described hardware device, described functional description information and described driving file description information, described mount message is write and be kept at registry file.
7. drive installation method according to claim 5 is characterized in that, before described step 1, also comprises: whether, be then carry out unloading flow process, carry out described step 1 then, otherwise withdraw from the drive installation flow process if detecting described driving file and changing.
8. drive installation method according to claim 7 is characterized in that, described unloading flow process comprises:
Steps A begins unloading, reads the mount message in the registry file;
Step B obtains product description information, the functional description information of described hardware device and drives file description information according to described mount message;
Step C according to the described product description information of described hardware device, described functional description information and described driving file description information, carries out the unloading of described driving file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008102279377A CN101430647A (en) | 2008-12-02 | 2008-12-02 | Hardware equipment and its drive installation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008102279377A CN101430647A (en) | 2008-12-02 | 2008-12-02 | Hardware equipment and its drive installation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101430647A true CN101430647A (en) | 2009-05-13 |
Family
ID=40646056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008102279377A Pending CN101430647A (en) | 2008-12-02 | 2008-12-02 | Hardware equipment and its drive installation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101430647A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102368232A (en) * | 2011-06-29 | 2012-03-07 | 奇智软件(北京)有限公司 | Method and device for generating installation configuration list |
WO2012062063A1 (en) * | 2010-11-12 | 2012-05-18 | 中兴通讯股份有限公司 | Method and apparatus for generating and uninstalling software installation package |
CN103631755A (en) * | 2011-06-29 | 2014-03-12 | 北京奇虎科技有限公司 | Installing configuration list generation method and device |
CN103646010A (en) * | 2011-06-29 | 2014-03-19 | 北京奇虎科技有限公司 | Installation configuration list generating method |
CN104239112A (en) * | 2014-09-30 | 2014-12-24 | 贝壳网际(北京)安全技术有限公司 | Device driver installation method and device |
CN104375866A (en) * | 2014-11-24 | 2015-02-25 | 杭州华为数字技术有限公司 | Single board driving updating method and device |
CN104583932A (en) * | 2012-08-08 | 2015-04-29 | 佳能株式会社 | Information processing apparatus, installation method, and program |
CN104714814A (en) * | 2013-12-13 | 2015-06-17 | 贝壳网际(北京)安全技术有限公司 | Drive program mounting method and client terminal device |
CN108710511A (en) * | 2018-05-09 | 2018-10-26 | 成都市极米科技有限公司 | The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets |
WO2020029592A1 (en) * | 2018-08-10 | 2020-02-13 | 中科寒武纪科技股份有限公司 | Conversion method, apparatus, computer device, and storage medium |
-
2008
- 2008-12-02 CN CNA2008102279377A patent/CN101430647A/en active Pending
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012062063A1 (en) * | 2010-11-12 | 2012-05-18 | 中兴通讯股份有限公司 | Method and apparatus for generating and uninstalling software installation package |
CN103631755B (en) * | 2011-06-29 | 2017-02-15 | 北京奇虎科技有限公司 | Installing configuration list generation method and device |
CN103631755A (en) * | 2011-06-29 | 2014-03-12 | 北京奇虎科技有限公司 | Installing configuration list generation method and device |
CN103646010A (en) * | 2011-06-29 | 2014-03-19 | 北京奇虎科技有限公司 | Installation configuration list generating method |
CN102368232A (en) * | 2011-06-29 | 2012-03-07 | 奇智软件(北京)有限公司 | Method and device for generating installation configuration list |
CN104583932B (en) * | 2012-08-08 | 2017-06-30 | 佳能株式会社 | Information processor and installation method |
CN104583932A (en) * | 2012-08-08 | 2015-04-29 | 佳能株式会社 | Information processing apparatus, installation method, and program |
CN104714814A (en) * | 2013-12-13 | 2015-06-17 | 贝壳网际(北京)安全技术有限公司 | Drive program mounting method and client terminal device |
CN104239112A (en) * | 2014-09-30 | 2014-12-24 | 贝壳网际(北京)安全技术有限公司 | Device driver installation method and device |
CN104239112B (en) * | 2014-09-30 | 2018-04-06 | 北京猎豹移动科技有限公司 | A kind of installation method of device drive program and device |
CN104375866A (en) * | 2014-11-24 | 2015-02-25 | 杭州华为数字技术有限公司 | Single board driving updating method and device |
CN104375866B (en) * | 2014-11-24 | 2018-01-23 | 杭州华为数字技术有限公司 | The driving update method and device of a kind of veneer |
CN108710511A (en) * | 2018-05-09 | 2018-10-26 | 成都市极米科技有限公司 | The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets |
WO2020029592A1 (en) * | 2018-08-10 | 2020-02-13 | 中科寒武纪科技股份有限公司 | Conversion method, apparatus, computer device, and storage medium |
US11314507B2 (en) | 2018-08-10 | 2022-04-26 | Cambricon Technologies Corporation Limited | Model conversion method, device, computer equipment, and storage medium |
US11853760B2 (en) | 2018-08-10 | 2023-12-26 | Cambricon Technologies Corporation Limited | Model conversion method, device, computer equipment, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101430647A (en) | Hardware equipment and its drive installation method | |
US10496424B2 (en) | Reconfiguring virtual machines | |
TWI507985B (en) | Electronic device capable of automatically setting up operating systems and related method and system | |
CN108008914B (en) | The method, apparatus and ARM equipment of disk management in a kind of ARM equipment | |
US8660817B2 (en) | Hardware test and diagnosis system and method | |
CN102915247B (en) | APK plug-in unit management method | |
US8713209B2 (en) | System, apparatus, and method for fast startup of USB devices | |
EP1906302A1 (en) | Usage of virtualization software for shipment of software products | |
US7356684B2 (en) | Booting system and/or method for initializing peripherals | |
CN103853586A (en) | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer | |
CN101609408A (en) | A kind of method and system that realize self-start of terminal equipment | |
CN108170494B (en) | Application program starting method and starting system for intelligent terminal | |
CN101110039A (en) | Terminal unit self-installing and self-starting system and method thereof | |
CN101135973A (en) | System and method for automatic installation of device driver | |
CN109783390A (en) | PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium | |
CN108132796A (en) | The upgrade method and device of a kind of combination instrument | |
CN110753088A (en) | System deployment method and device | |
CN105515811A (en) | USB wireless network card configuration method, host, USB wireless network card and communication system | |
CN114138644A (en) | BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium | |
CN106445504A (en) | Update method and system of mobile terminal device driver | |
CN102053845B (en) | Electronic device for automatically and continuously mounting operating system and related method and system thereof | |
CN111414182B (en) | SPI-based FPGA remote upgrading method | |
CN101944072A (en) | Method and equipment for configuring starting mode of terminal equipment | |
CN106293747A (en) | Electronic equipment and the driving method of electronic equipment | |
CN106293822A (en) | A kind of from the method and device processing chip upgrade |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20090513 |