Driver installation method and apparatus for terminal device

US9063812B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9063812-B2
Application numberUS-201214382047-A
CountryUS
Kind codeB2
Filing dateJun 12, 2012
Priority dateMar 6, 2012
Publication dateJun 23, 2015
Grant dateJun 23, 2015

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and apparatus for installing a driver of a terminal device are provided. The method includes: calling a driver installation program, and setting the driver installation program to directly search for a driver program in a local machine; and searching for the driver program in the local machine through the driver installation program, and installing the searched-out driver program. The method and apparatus can improve the speed of a system for installing a driver of a terminal device, thereby improving user experience.

First claim

Opening claim text (preview).

What we claim is: 1. A method for installing a driver of a terminal device, comprising: calling a driver installation program; setting the driver installation program to directly search for a driver program in a local machine, wherein setting the driver installation program to directly search for a driver program in a local machine comprises: opening a driver query sub-key in a registry by using a registry opening function; obtaining a key value of a first registry searching and matching driver mode and a key value of a second registry searching and matching driver mode in the driver query sub-key through a registry key value obtaining function; and judging whether both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode are equal to 1, if yes, then closing the registry by using a registry closing function, if no, then setting both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode as 1 by using a registry key value setting function, and then closing the registry by using the registry closing function; searching for the driver program in the local machine through the driver installation program; and installing a searched-out driver program. 2. The method according to claim 1 , wherein, the step of obtaining a key value of a first registry searching and matching driver mode and a key value of a second registry searching and matching driver mode in the driver query sub-key through a registry key value obtaining function comprises: storing a handle of the driver query sub-key in a first variable; obtaining the handle from the first variable through the registry key value obtaining function, and obtaining the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode from the driver query sub-key according to the handle; and storing the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode in a second variable and a third variable respectively. 3. The method according to claim 2 , wherein, the step of judging whether both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode are equal to 1 comprises: judging whether both key values of the second variable and the third variable are equal to 1. 4. The method according to claim 3 , wherein, the step of setting both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode as 1 by using a registry key value setting function comprises: calling the first variable to set both the key values in the second variable and the third variable as 1 by using the registry key value setting function. 5. An apparatus includes at least one processor to install a driver of a terminal device, the apparatus comprising: a calling module, configured to call a driver installation program; a setting module, configured to set the driver installation program to directly search for a driver program in a local machine, wherein the setting module is configured to: open a driver query sub-key in a registry by using a registry opening function; obtain a key value of a first registry searching and matching driver mode and a key value of a second registry searching and matching driver mode in the driver query sub-key through a registry key value obtaining function; and judge whether both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode are equal to 1, if yes, then close the registry by using a registry closing function, if no, then set both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode as 1 by using a registry key value setting function, and then close the registry by using the registry closing function; a searching module, configured to search for the driver program in the local machine through the driver installation program; and an installing module, configured to install a searched-out driver program. 6. The apparatus according to claim 5 , wherein, the setting module is configured to obtain the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode in the driver query sub-key through the registry key value obtaining function by a following mode: storing a handle of the driver query sub-key in a first variable; obtaining the handle from the first variable through the registry key value obtaining function, and obtaining the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode from the driver query sub-key according to the handle; and storing the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode in a second variable and a third variable respectively. 7. The apparatus according to claim 6 , wherein, the setting module is configured to judge whether both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode are equal to 1 by a following mode: judging whether both key values of the second variable and the third variable are equal to 1. 8. The apparatus according to claim 7 , wherein, the setting module is configured to set both the key value of the first registry searching and matching driver mode and the key value of the second registry searching and matching driver mode as 1 by using the registry key value setting function by a following mode: calling the first variable to set both the key values in the second variable and the third variable as 1 by using the registry key value setting function.

Assignees

Inventors

Classifications

  • G06F9/4411Primary

    Configuring for operating with peripheral devices; Loading of device drivers · CPC title

  • G06F8/61Primary

    Installation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9063812B2 cover?
A method and apparatus for installing a driver of a terminal device are provided. The method includes: calling a driver installation program, and setting the driver installation program to directly search for a driver program in a local machine; and searching for the driver program in the local machine through the driver installation program, and installing the searched-out driver program. The …
Who is the assignee on this patent?
Zhang Ke, Zte Corp
What technology area does this patent fall under?
Primary CPC classification G06F9/4411. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 23 2015 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).