发明名称 |
Driver installation method and apparatus for terminal device |
摘要 |
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. |
申请公布号 |
US9063812(B2) |
申请公布日期 |
2015.06.23 |
申请号 |
US201214382047 |
申请日期 |
2012.06.12 |
申请人 |
ZTE CORPORATION |
发明人 |
Zhang Ke |
分类号 |
G06F9/445;G06F9/44 |
主分类号 |
G06F9/445 |
代理机构 |
Ling and Yang Intellectual Property |
代理人 |
Wu Ling;Yang Stephen;Ling and Yang Intellectual Property |
主权项 |
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; andjudging 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. |
地址 |
Shenzhen, Guangdong Province CN |