Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, be intended to for explaining the present invention, and can not be interpreted as limitation of the present invention.
Supplying method and the device of the hardware drive program of the embodiment of the present invention are described below with reference to accompanying drawing.
Fig. 1 is the process flow diagram of the supplying method of hardware drive program according to an embodiment of the invention, this embodiment can be carried out by terminal device, specifically can be carried out by the client terminal device being arranged on terminal device, the present embodiment is exemplarily carried out and is described with client terminal device (abbreviation client).
The supplying method of the hardware drive program that as shown in Figure 1, this embodiment of the present invention provides comprises:
S101, obtains the nominal hardware information that is arranged on the first hardware on terminal device.
Wherein, above-mentioned terminal device can be the equipment such as computing machine, panel computer (PAD); Above-mentioned the first hardware can or be connected to hardware on terminal device for installations such as video card, sound card or network interface cards.
It should be noted that, in embodiments of the present invention, nominal hardware information is the information of the Performance and quality key element of mark hardware, generally, hardware vendor is when producing hardware, capital marks the relevant information of hardware, for example, before dispatching from the factory, hardware can indicate the sign (Identity of hardware, ID), brand/the model of hardware, and other relevant descriptors of hardware, so that user carries out reference when buying or using hardware, these nominal hardware informations can Direct Mark on hardware, user can directly see nominal hardware information from hardware, in addition, these nominal hardware informations also can mark with the file of specific format, for example, in the INF file providing, mark nominal hardware information hardware vendor, this INF file is downloaded and is stored in this locality of terminal device in the time of can be along with user installation driver.Wherein, INF is the english abbreviation of Device INFormation File, is Microsoft company for hardware vendor issues a kind of file layout that its driver is released, and the information or the script that in INF file, comprise hardware device operate with control hardware.
It is emphasized that, in embodiments of the present invention, the nominal hardware information of the first hardware can include but not limited to nominal sign (Identity, ID) information and the nominal descriptor corresponding with nominal identification information, real hardware information can include but not limited to true identity information and the true descriptor corresponding with true identity information.Because nominal hardware information is all that hardware vendor marks conventionally, therefore, these nominal hardware informations may be identical with real hardware information, also may be different, and nominal hardware information is likely the information that has been tampered or had forged.Typically, each hardware has fixing identification information, also the nominal identification information that is hardware is consistent with true identity information, hardware vendor sells false hardware by changing the mode of the descriptor of hardware conventionally, these hardware that are modified descriptor derive from part engineering version hardware or mistake hardware gas, second-hand that production firm of hardware official abandons conventionally, after being changed, the descriptor of these hardware sells, to gain high profits.For example, the true descriptor of the first hardware is " NVIDIA GeForce7300GT ", and the nominal descriptor of the first hardware is " NVIDIA GeForce9800GT ", and the nominal descriptor of this first hardware is different from the real descriptor of the first hardware.
In embodiments of the present invention, as a kind of optional mode, the specific function button or the user that user, click client open after client, and client can be obtained the nominal hardware information of the first hardware from driver information file INF (being called for short message file or INF file) corresponding to local the first hardware stored of terminal device.
S102, determines whether the nominal hardware information obtaining is the real hardware information of the first hardware.
In embodiments of the present invention, after obtaining the nominal hardware information of the first hardware, client can determine whether the nominal hardware information obtaining is the real hardware information of the first hardware in several ways, for example, client can be by sending nominal hardware information identification request to server, so that server obtains according to nominal hardware information identification request whether nominal hardware information is the recognition result of the real hardware information of the first hardware, and return to recognition result to client, thereby make client determine whether the nominal hardware information obtaining is the real hardware information of the first hardware, client also can be by sending real hardware information acquisition request to server, according to nominal hardware identification, request obtains true descriptor to server, and return to true descriptor to client, after the true descriptor of client, by nominal descriptor relatively and truly descriptor whether identical definite nominal hardware information whether be the real hardware information of the first hardware, client also can be inquired about local database according to nominal hardware information and be obtained true descriptor, and by nominal descriptor relatively and truly descriptor whether identical definite nominal hardware information whether be the real hardware information of the first hardware.
S103, in the situation that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, obtains the driver download link with real hardware information adaptation.
In embodiments of the present invention, when the nominal hardware information of determining the first hardware is not the real hardware information of the first hardware, client can be according to the driver download link of the real hardware information acquisition of the first hardware and real hardware information adaptation, for example, client can send driver download request to server according to the real hardware information of the first hardware, the corresponding driver download link of real hardware information of inquiring about the first hardware server reception driver download request the hardware information prestoring from server according to the real hardware information of the first hardware table corresponding to driver, and return to the driver download link suitable with real hardware information to client.
S104 shows the download link of obtaining, so that user downloads the driver of the first hardware according to download link in user interface.
Particularly, in embodiments of the present invention, if determine that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, be also that nominal hardware information is deceptive information, can be by showing that in user interface the mode of some information points out user:
For example, can in user interface, show the download link of obtaining, wherein, the corresponding driver of this download link and real hardware information are suitable, that is to say, the corresponding driver of this download link is not the corresponding driver of nominal hardware information of the first hardware, but the corresponding driver of real hardware information of this first hardware.Thus, for user provides the driver download link with real hardware information adaptation, in the situation that the nominal hardware information of the first hardware real hardware information of the first hardware not, avoided user to download and install according to the nominal hardware information of the first hardware the problem that driver that nominal hardware information is corresponding causes the first hardware normally to work.
For effective reminding user, in the time of can also showing the download link of obtaining in user interface, inform that this hardware of user is the personation hardware of having forged hardware information.For example, can be by when showing download link, display driving software modified logo also, nominal hardware information with prompting user the first hardware is suitable from the driver that real hardware information is different and download link is corresponding and the real hardware information of the first hardware, for example, near download link, increase MOD (modification, revise) sign, concrete, if the first hardware is not personation hardware, can directly in user interface, show download link A, if the first hardware is personation hardware, can show the download link B suitable with real hardware information in user interface, and in the mode of bracket, add modified logo after B, be that download link is shown as B (mod).
Can also in user interface, show the information that the nominal hardware information of the first hardware and the real hardware information of the first hardware are identical or different, and/or in user interface, show the real hardware information of the first hardware, nominal hardware information with prompting user the first hardware is different from the real hardware information of the first hardware, also points out the nominal hardware information of user's the first hardware inaccurate.
Be understandable that, in the situation that determine that the nominal hardware information of the first hardware is the real hardware information of the first hardware, also can be in user interface display reminding information, take that to point out user's the first hardware be certified products.
The supplying method embodiment of above-mentioned hardware drive program, by obtaining the nominal hardware information that is arranged on the first hardware on terminal device, and when determining that the nominal hardware information obtain is not the real hardware information of the first hardware, obtain and the driver download link of demonstration and real hardware information adaptation.So,, for user provides the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
Fig. 2 is the process flow diagram of the supplying method of hardware drive program in accordance with another embodiment of the present invention, in this embodiment, whether the nominal hardware information of determining the first hardware is that the operation of the real hardware information of the first hardware is mainly completed by server, and as shown in Figure 2, the method comprises:
S201, client is obtained the nominal hardware information that is arranged on the first hardware on terminal device, and wherein the nominal hardware information of the first hardware comprises nominal identification information and the nominal descriptor corresponding with nominal identification information.
For example, client obtains and to be arranged on the nominal identification information of the first hardware (for example video card) on mobile terminal and nominal descriptor as Fig. 3 and as shown in Figure 4, client can be obtained current video card nominal mark sign breath by the INF file shown in Fig. 3 is " PCI VEN_10DE & DEV_0396 ", and the nominal descriptor that can obtain current video card by the INF file shown in Fig. 4 is " NVIDIA GeForce9800GT ".
S202, user end to server sends nominal hardware information identification request.
Wherein, in above-mentioned hardware information identification request, carry the nominal hardware information of the first hardware, the nominal identification information that comprises the first hardware in request and the nominal descriptor corresponding with nominal identification information.
S203, server receives the nominal hardware information identification request that client sends, and whether the nominal hardware information carrying according to nominal hardware information identification request identification is the real hardware information of the first hardware.
Wherein, the real hardware information of the first hardware comprises true identity information and the true descriptor corresponding with true identity information.
Particularly, server receives after the nominal hardware information identification request of client transmission, the nominal identification information of take is searched the true identity information identical with nominal identification information in indexing the first default database, and then find the true descriptor corresponding with identical true identity information, and whether whether same identification nominal hardware information is the real hardware information of the first hardware with true descriptor by comparing nominal descriptor.If nominal descriptor is not identical with true descriptor, the nominal hardware information of the first hardware and the real hardware information of the first hardware are not identical, identifying nominal hardware information not during the real hardware information of the first hardware, server can be according to the driver download link of real hardware acquisition of information and real hardware information adaptation, particularly, the driver that the driver data base querying that server can prestore according to true descriptor is corresponding with true descriptor, and then find the corresponding driver download link of real hardware information with the first hardware.
It should be noted that, in embodiments of the present invention, before whether the nominal hardware information carrying in server identification is the real hardware information of the first hardware, server also needs to set up the first database, particularly, in the INF file corresponding with hardware of the Ke Cong hardware manufacturer of official issue, extract the true identity information of hardware and the true descriptor corresponding with true identity information, and deposit the true identity information of extraction and the true descriptor corresponding with true identity information in first database, thus, complete the foundation in advance of the first database.It should be noted that, the process of establishing of the first database can be manually to complete, and can be also that server completes automatically, and the present invention is not construed as limiting this.
For example, server receives nominal identification information " PCI VEN_10DE & DEV_0396 " and the nominal descriptor " NVIDIA GeForce9800GT " of video card, server can obtain and corresponding true identity information " PCI VEN_10DE & DEV_0396 " according to nominal identification information " PCI VEN_10DE & DEV_0396 " inquiry the first database, and according to true identity information " PCI VEN_10DE & DEV_0396 ", in the first database, obtain the true descriptor " NVIDIA GeForce7800GT " of video card, the server relatively nominal descriptor " NVIDIA GeForce9800GT " of video card finds that with true descriptor " NVIDIA GeForce7800GT " both are not identical, thus, the nominal hardware information that can determine video card is not identical with real hardware information.
After the nominal hardware information of determining video card is not identical with real hardware information, server obtains the driver download link suitable with the real hardware information of video card from the driver database prestoring according to the true descriptor of video card " NVIDIA GeForce7800GT ".
S204, server returns to recognition result to client, and wherein whether recognition result indication nominal hardware information is the real hardware information of the first hardware.
Particularly, whether after whether the server nominal hardware information that identification request identification is carried according to nominal hardware information is the real hardware information of the first hardware, can indicate nominal hardware information is that the recognition result of the real hardware information of the first hardware returns to client.
In embodiments of the present invention, as a kind of optional mode, in the situation that server identifies the not real hardware information of the first hardware of nominal hardware information, after the driver download link of acquisition and real hardware information adaptation, server returns and carries recognition result that obtain and driver download link real hardware information adaptation to client, so that client is obtained and display driving software download link from the recognition result receiving.
S205, the recognition result that client server returns, and Identification display result.
Particularly, client is after recognition result, as the optional mode of the first, in the situation that recognition result is indicated the nominal hardware information of the first hardware, be not the real hardware information of the first hardware, the nominal hardware information that shows the first hardware in user interface is not the information of the real hardware information of the first hardware; As the optional mode of the second, in the situation that recognition result is indicated the nominal hardware information of the first hardware, be not the real hardware information of the first hardware, the recognition result returning from server, obtain the driver download link suitable with real hardware information, and in user interface display driving software download link; As the third optional mode, in the situation that recognition result is indicated the nominal hardware information of the first hardware, be not the real hardware information of the first hardware, in user interface, show that the nominal hardware information of the first hardware is not for showing download link and the driver modified logo that obtains driver, so that client is obtained driver download link from the recognition result receiving in the information of real hardware information.Thus, for user provides the driver download link with real hardware information adaptation, in the situation that the nominal hardware information of the first hardware real hardware information of the first hardware not, avoided user to download and install according to the nominal hardware information of the first hardware the problem that driver that nominal hardware information is corresponding causes the first hardware normally to work.
It should be noted that, in embodiments of the present invention, in the situation that recognition result is indicated the nominal hardware information of the first hardware, be the real hardware information of the first hardware, the nominal hardware information that also can show the first hardware in user interface is the information of the real hardware information of the first hardware, concrete display mode is not limit, and for example, can show that the first hardware is the information of certified products, and for example, the real hardware information that shows the first hardware.
The supplying method embodiment of above-mentioned hardware drive program, by client, obtain the nominal hardware information that is arranged on the first hardware on terminal device, and to server, send nominal hardware information identification request according to the nominal hardware information of the first hardware, whether server is the real hardware information of the first hardware according to the nominal hardware information of hardware information identification request identification the first hardware, and when nominal hardware information is not the real hardware information of the first hardware, the recognition result of the driver download link that comprises real hardware information adaptation is back to client, client Identification display result, so, for user provides the driver download link with real hardware information adaptation, the problem of having avoided user to download and install inappropriate driver and having caused the first hardware normally to work.
Fig. 5 is the process flow diagram of the supplying method of the hardware drive program of another embodiment according to the present invention, in this embodiment, whether the nominal hardware information of determining the first hardware is that the operation of the real hardware information of the first hardware has mainly been brought in by client, and as shown in Figure 5, the method comprises:
S501, client is obtained the nominal hardware information that is arranged on the first hardware on terminal device, and wherein, the nominal hardware information of the first hardware comprises nominal identification information and the nominal descriptor corresponding with nominal identification information.
S502, user end to server sends real hardware information acquisition request, wherein, carries nominal identification information in real hardware information acquisition request.
S503, server receives real hardware information acquisition request, and according to real hardware information acquisition request, obtains the true descriptor of the first hardware.
Particularly, in this embodiment, server receives real hardware information acquisition request, and be to index in the first default database, to search the true identity information identical with nominal identification information according to the nominal identification information of the first hardware carrying in real hardware information acquisition request, and then find the true descriptor corresponding with identical true identity information, and to client, return to the true descriptor of the first hardware of acquisition.
S504, server returns to the true descriptor of the first hardware to client.
S505, the true descriptor that client server returns, and the true descriptor by relatively nominal descriptor and reception whether identical definite nominal hardware information whether be the real hardware information of the first hardware.
Client compares the true descriptor of the first hardware and the nominal descriptor of the first hardware that receive, if be more unanimously that both are identical, determine that the nominal hardware information of the first hardware is identical with the real hardware information of the first hardware, if inconsistent, determine that the nominal hardware information of the first hardware is not identical with the real hardware information of the first hardware, determine that the nominal hardware information of the first hardware is not the real hardware information of the first hardware.
S506, in the situation that determine that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, client sends driver download link according to the real hardware information of the first hardware to second server and obtains request.Wherein, in second server, store real hardware information and the driver download link corresponding with real hardware information.
It should be noted that, second server can be same server with above-mentioned server, also can be different servers, and in this embodiment, we take second server and above-mentioned server and are described as same server as example.
S507, second server receives driver download link and obtains request, and according to the real hardware information acquisition of the first hardware carrying in request and the suitable driver download link of real hardware information.
Particularly, server can be according to true descriptor to the driver download link corresponding with true descriptor of inquiry in default database, and then finds the corresponding driver download link of real hardware information with the first hardware.
S508, second server returns to the driver download link with the real hardware information adaptation of the first hardware to client.
S509, client second server that return with driver download link real hardware information adaptation, and in user interface display driving software download link.
It should be noted that, in the present embodiment, in user interface, show the download link with the real hardware information adaptation of the first hardware, also can in user interface, show that in addition the nominal hardware information of the first hardware shows in different with the real hardware information of the first hardware and the download link of the real hardware information adaptation of the first hardware.Thus, can be when the nominal hardware information of prompting user the first hardware be different with the real hardware information of the first hardware, for user provides the driver download link with real hardware information adaptation, in the situation that the nominal hardware information of the first hardware real hardware information of the first hardware not, avoided user to download and install according to the nominal hardware information of the first hardware the problem that driver that nominal hardware information is corresponding causes the first hardware normally to work.
The supplying method embodiment of above-mentioned hardware drive program, client is obtained the nominal hardware information that is arranged on the first hardware on terminal device, and to server, send true descriptor and obtain request, server obtains true descriptor and returns to client according to the true descriptor request of obtaining, whether the nominal hardware information that client is determined the first hardware by the true descriptor that relatively receives and nominal descriptor is the real hardware information of the first hardware, according to real hardware acquisition of information and show the driver download link with real hardware information adaptation.So,, for user provides the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
Fig. 6 is the process flow diagram of the supplying method of the hardware drive program of another embodiment according to the present invention, and this embodiment is carried out by the client terminal device being arranged on terminal device, and the method comprises:
S601, client is obtained the nominal hardware information that is arranged on the first hardware on terminal device, and wherein the nominal hardware information of the first hardware comprises nominal identification information and the nominal descriptor corresponding with nominal identification information.
S602, client be take nominal identification information and in indexing the second default database, is searched the true identity information identical with nominal identification information, and then finds the true descriptor corresponding with identical true identity information.
Particularly, client obtains after the nominal hardware information of the first hardware, according to the nominal identification information of the first hardware, be to index in the second default database, to search the true identity information identical with nominal identification information, and after inquiring corresponding true identity information, the true descriptor corresponding with this true identity information according to true identity information inquiry.
It should be noted that, in the second data, store the true identity information and the true descriptor corresponding with true identity information of the first hardware, as a kind of optimal way, the second database is stored in this locality of terminal device, can be that user downloads to terminal device in the process of download client installation kit, certainly, the obtain manner of the second database can be also other mode, and the present invention is not construed as limiting this.
S603, whether client is the real hardware information of the first hardware by comparing nominal descriptor with the true whether identical definite nominal hardware information of descriptor.
After obtaining true descriptor, relatively whether nominal descriptor is identical with true descriptor, if identical, determine that nominal hardware information is the real hardware information for the first hardware, if it is not identical, determine that nominal hardware information is not the real hardware information of the first hardware, the first hardware determines that nominal hardware information is false information.
S604, in the situation that determine that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, client sends driver download link according to the real hardware information of the first hardware to second server and obtains request.
Wherein, second server can be same server with above-mentioned server, also can be different servers, and in this embodiment, we take second server and above-mentioned server and are described as same server as example.
S605, second server receives driver download link and obtains request, and according to the real hardware information acquisition of the first hardware and the driver download link of real hardware information adaptation in request.
S606, second server returns to the driver download link suitable with real hardware information to client.
S607, client second server that return with driver download link real hardware information adaptation, and in user interface display driving software download link.
In this instructions, explaining of step S506-S509 is also applicable to step S604-S607, do not repeat herein.
The supplying method embodiment of above-mentioned hardware drive program, client is obtained the nominal hardware information that is arranged on the first hardware on terminal device, and take nominal identification information and from the second database, obtain true identity information as index, and whether be the real hardware information of the first hardware by nominal identification information definite nominal hardware information whether identical with true identity information relatively, and in user interface, show and the driver download link of real hardware information adaptation.So,, for user provides the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
The supplying method of the hardware drive program providing with said method embodiment is corresponding, another kind of embodiment of the present invention also provides a kind of generator of hardware drive program, the device providing due to the present embodiment for the execution flow process of carrying out said method embodiment so that driver download link to be provided to user, therefore aforementioned explaining of the embodiment of the supplying method of driver is also applicable to the present embodiment device, is not described in detail in the present embodiment.
Fig. 7 is the structural representation of the generator of hardware drive program according to an embodiment of the invention.The generator of this hardware drive program is arranged in terminal device.As shown in Figure 7, the generator of hardware drive program comprises: the first acquisition module 71, determination module 72, the second acquisition module 73 and display module 74, wherein:
The first acquisition module 71 is for obtaining the nominal hardware information that is arranged on the first hardware on terminal device; Determination module 72 is for determining whether the nominal hardware information that the first acquisition module obtains is the real hardware information of the first hardware; The second acquisition module 73, in the situation that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, obtains the driver download link with real hardware information adaptation; The download link of display module 74 for showing that in user interface the second acquisition module 73 obtains, so that user downloads the driver of the first hardware according to download link.
Wherein, above-mentioned the first hardware can or be connected to hardware on terminal device for installations such as video card, sound card or network interface cards, the nominal hardware information of the first hardware can include but not limited to nominal sign (Identity, ID) information and the nominal descriptor corresponding with nominal identification information, real hardware information can include but not limited to true identity information and the true descriptor corresponding with true identity information.
In embodiments of the present invention, as a kind of optional mode, the specific function button or the user that user, click client open after client, and the first acquisition module 71 can obtain the nominal hardware information of the first hardware from driver information file INF corresponding to local the first hardware stored of terminal device
In this embodiment, determination module 72 can determine whether the nominal hardware information of the first hardware is the real hardware information of the first hardware in several ways, for example, when determining that whether the nominal hardware information of the first hardware is that the operation of the real hardware information of the first hardware is when mainly completed by server, above-mentioned determination module 72 specifically for: to server, send nominal hardware information identification request, in hardware information identification request, carry the nominal hardware information of the first hardware, so that server be take nominal identification information and search the true identity information identical with nominal identification information in being indexed the first default database, and then find the true descriptor corresponding with identical true identity information, and whether whether same identification nominal hardware information is the real hardware information of the first hardware with true descriptor by comparing nominal descriptor, the recognition result that reception server returns, whether recognition result indication nominal hardware information is the real hardware information of the first hardware.
As a kind of optional mode, at server, identify nominal hardware information not during the real hardware information of the first hardware, in recognition result, also carry server according to the driver download link of real hardware acquisition of information, the second acquisition module 73 can obtain the driver download link with real hardware information adaptation from the recognition result receiving, display module 74 can show the driver download link with real hardware information adaptation in user interface, in addition, in user interface, can also show that the nominal hardware information of the first hardware shows and the driver download link of real hardware information adaptation and the modified logo of driver in different with the real hardware information of the first hardware, thus, can be when the nominal hardware information of prompting user the first hardware be different with the real hardware information of the first hardware, for user provides the driver download link with real hardware information adaptation, avoided user to download and install according to the nominal hardware information of the first hardware the problem that driver that nominal hardware information is corresponding causes the first hardware normally to work.
In addition, when also can completing, said apparatus determines whether the nominal hardware information of the first hardware is the operation of the real hardware information of the first hardware, when completing this operation by said apparatus, above-mentioned determination module 72 specifically for: to server, send real hardware information acquisition request, in real hardware information acquisition request, carry nominal identification information, so that server is to index to search the true identity information identical with nominal identification information in the first default database according to the nominal identification information that carries, and then find the true descriptor corresponding with identical true identity information, the true descriptor that reception server returns, and the true descriptor by relatively nominal descriptor and reception whether identical definite nominal hardware information whether be the real hardware information of the first hardware.
In the situation that the true descriptor by relatively nominal descriptor and reception whether identical definite nominal hardware information be not the real hardware information of the first hardware, the second acquisition module 73 can send to second server by the real hardware information of the first hardware, so that second server is according to the driver download link of real hardware acquisition of information and real hardware information adaptation; And receive second server that return with driver download link real hardware information adaptation, wherein, second server can be same server with above-mentioned server, also can be different servers.
In addition, said apparatus can also be completed and be determined whether the nominal hardware information of the first hardware is the operation of the real hardware information of the first hardware by another kind of mode, when said apparatus is adopted in another way, above-mentioned determination module 73 specifically for: the nominal identification information of take is searched the true identity information identical with nominal identification information in indexing the second default database, and then finds the true descriptor corresponding with identical true identity information; And whether be the real hardware information of the first hardware by comparing nominal descriptor with the true whether identical definite nominal hardware information of descriptor.
Above-mentioned display module 74 also for: after determination module 73 determines whether the nominal hardware information obtaining is the real hardware information of the first hardware, in user interface, show whether the nominal hardware information of the first hardware is the information of real hardware information.
The generator embodiment of above-mentioned hardware drive program, by the first acquisition module, obtain the nominal hardware information that is arranged on the first hardware on terminal device, and determine by determination module whether the nominal hardware information that the first acquisition module obtains is the real hardware information of the first hardware, when nominal hardware information is not the real hardware information of the first hardware, the second acquisition module obtains and the driver download link of demonstration and real hardware information adaptation, and by display module, in user interface, shows the download link obtaining.Thus, in the situation that determine that driving nominal hardware information is not the real hardware information of the first hardware, for user provides the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
In order to realize above-described embodiment, the present invention also proposes a kind of generator of hardware drive program.
Fig. 8 is the structural representation of the generator of hardware drive program according to an embodiment of the invention, and the generator of this hardware drive program is arranged in server.As shown in Figure 8, the generator of hardware drive program comprises: receiver module 81, identification module 82 and return to module 83, wherein:
The nominal hardware information identification request that receiver module 81 sends for receiving client, hardware information identification carries the nominal hardware information of the first hardware in asking; Identification module 82 is for identifying whether the nominal hardware information carrying is the real hardware information of the first hardware; Return to module 83 for returning to recognition result to client, whether recognition result indication nominal hardware information is the real hardware information of the first hardware, so that the nominal hardware information that client is determined the first hardware according to recognition result is not in the situation of the real hardware information of the first hardware, obtain the driver download link with real hardware information adaptation, and in user interface, show the download link of obtaining, so that user downloads and adapts to the driver that is arranged on the first hardware on terminal device according to download link.
Wherein, the nominal hardware information of above-mentioned the first hardware comprises nominal identification information and the nominal descriptor corresponding with nominal identification information, and the real hardware information of above-mentioned the first hardware comprises true identity information and the true descriptor corresponding with true identity information.
Above-mentioned identification module 82 specifically for: the nominal identification information of take is searched the true identity information identical with nominal identification information in indexing the first default database, and then finds the true descriptor corresponding with identical true identity information; And whether whether same identification nominal hardware information is the real hardware information of the first hardware with true descriptor by comparing nominal descriptor.
In addition, said apparatus can also comprise acquisition module 84, and this acquisition module 84 is for identifying nominal hardware information not during the real hardware information of the first hardware, according to the driver download link of real hardware acquisition of information and real hardware information adaptation.
Particularly, when the nominal hardware information that identifies the first hardware at identification module 83 is not the real hardware information of the first hardware, the hardware information table corresponding to driver that acquisition module 84 can prestore according to true descriptor or true identity information inquiry this locality, and then find the corresponding driver download link of real hardware information with the first hardware.
At acquisition module 84, obtain after the corresponding driver download link of real hardware information with the first hardware, returning to module 83 can return and carry recognition result that obtain and driver download link real hardware information adaptation to client, so that client is obtained driver download link from the recognition result receiving, facilitate user to obtain the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
As a kind of optional mode, said apparatus can also comprise and build module 85, this build module 85 for: from the true identity information of the driver information file INF corresponding with hardware (abbreviation message file) the extraction hardware of the manufacturer of hardware official issue and the true descriptor corresponding with true identity information; And deposit the true identity information of extraction and the true descriptor corresponding with true identity information in first database.
The generator embodiment of above-mentioned hardware drive program, by receiver module, receive the nominal hardware information identification request that client sends, and according to hardware information identification request identification nominal hardware information, whether be the real hardware information of the first hardware by identification module, and to client, return to recognition result by returning to module, so that the nominal hardware information that client is determined the first hardware according to recognition result is not in the situation of the real hardware information of the first hardware, obtain the driver download link with real hardware information adaptation, and the download link that demonstration is obtained in user interface, can be when the nominal hardware information of prompting user the first hardware be different with the real hardware information of the first hardware, for user provides the driver download link with real hardware information adaptation, the problem of having avoided user to download and install inappropriate driver and having caused the first hardware normally to work.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, and above-mentioned processor and above-mentioned storer are arranged on foregoing circuit plate; Above-mentioned power circuit, is used to each circuit or the device power supply of above-mentioned mobile terminal; Above-mentioned storer is for stores executable programs code; Above-mentioned processor moves the program corresponding with above-mentioned executable program code by reading the executable program code of storing in above-mentioned storer, for carrying out following steps:
Obtain the nominal hardware information that is arranged on the first hardware on terminal device.
Determine whether the nominal hardware information obtaining is the real hardware information of the first hardware.
In the situation that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, obtain the driver download link with real hardware information adaptation.
In user interface, show the download link of obtaining, so that user downloads the driver of the first hardware according to download link.
Particularly, in embodiments of the present invention, if determine that the nominal hardware information of the first hardware is not the real hardware information of the first hardware, be also that nominal hardware information is deceptive information, can be by showing that in user interface the mode of some information points out user:
For example, can in user interface, show the download link of obtaining, wherein, the corresponding driver of this download link and real hardware information are suitable, that is to say, the corresponding driver of this download link is not the corresponding driver of nominal hardware information of the first hardware, but the corresponding driver of real hardware information of this first hardware.Thus, for user provides the driver download link with real hardware information adaptation, avoid user in the situation that do not know that the nominal hardware information of the first hardware is different with the real hardware information of the first hardware, according to the nominal hardware information of the first hardware, downloaded and installed the problem that driver that nominal hardware information is corresponding causes the first hardware normally to work.
In the time of can also showing the download link of obtaining in user interface, also show driver modified logo, to point out the nominal hardware information of user's the first hardware and the driver that real hardware information is different and download link is corresponding of the first hardware and real hardware information suitable.
Can also in user interface, show the information that the nominal hardware information of the first hardware and the real hardware information of the first hardware are identical or different, and/or in user interface, show the real hardware information of the first hardware, nominal hardware information with prompting user the first hardware is different from the real hardware information of the first hardware, also points out the nominal hardware information of user's the first hardware inaccurate.
Be understandable that, in the situation that determine that the nominal hardware information of the first hardware is the real hardware information of the first hardware, also can be in user interface display reminding information, take that to point out user's the first hardware be certified products.
Above-mentioned mobile terminal embodiment, by obtaining the nominal hardware information that is arranged on the first hardware on terminal device, and when determining that the nominal hardware information obtain is not the real hardware information of the first hardware, obtain and the driver download link of demonstration and real hardware information adaptation.So, in the situation that determine that driving nominal hardware information is not the real hardware information of the first hardware, for user provides the driver download link with real hardware information adaptation, avoided user to download and install inappropriate driver and the problem that causes the first hardware normally to work.
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, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, 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: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, the specific features of description, structure, material or feature can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.
In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, modification, replacement and modification.