Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the providing method and device of the hardware drive program of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the providing method of hardware drive program according to an embodiment of the invention, which can
It, specifically can be by installing client terminal device execution on the terminal device to be executed by terminal device, the present embodiment is illustratively
It is described with client terminal device (abbreviation client) execution.
As shown in Figure 1, the providing method of the hardware drive program provided in an embodiment of the present invention includes:
S101 obtains the nominal hardware information of the first hardware of setting on the terminal device.
Wherein, above-mentioned terminal device can be the equipment such as computer, tablet computer (PAD);Above-mentioned first hardware can be
The installation such as video card, sound card or network interface card connects hardware on the terminal device.
It should be noted that in embodiments of the present invention, nominal hardware information is the performance and quality factor for marking hardware
Information, it is generally the case that hardware vendor can be labeled the relevant information of hardware when producing hardware, for example,
Hardware factory before can indicate hardware mark (Identity, ID), brand/model of hardware and hardware it is relevant its
His description information, so that user buys or using hardware when refers to, these nominal hardware informations can be existed with Direct Mark
On hardware, user can be from hardware it can directly be seen that nominal hardware information;In addition, these nominal hardware informations can also be with
The file of specific format is labeled, for example, nominal hardware information is marked in the INF file that hardware vendor provides, INF text
Part is downloaded and stored within the local of terminal device when can be with user installation driver.Wherein, INF is Device
It is one kind that hardware vendor issues the release of its driver that the english abbreviation of INFormation File, which is Microsoft Corporation,
File format, the information or script in INF file comprising hardware device are to control hardware operation.
It is emphasized that in embodiments of the present invention, the nominal hardware information of the first hardware can include but is not limited to
Nominal mark (Identity, ID) information and nominal description information corresponding with nominal identification information, real hardware information can be with
Including but not limited to true identity information and true description information corresponding with true identity information.Since nominal hardware information is logical
It is often all that hardware vendor marks, therefore, these nominal hardware informations may be identical as real hardware information, it is also possible to it is different,
I.e. nominal hardware information is likely to be the information for having been tampered with or forging.Typically, each hardware has solid
The nominal identification information and true identity information of fixed identification information namely hardware are consistent, and hardware vendor usually passes through more
Change the mode of the description information of hardware to sell false hardware, these hardware for being modified description information are typically derived from hardware official
The part engineering version hardware or cross gas, second-hand hardware that square production firm abandons, the description information of these hardware is carried out
It is sold after change, to gain high profits.For example, the true description information of the first hardware is " NVIDIA
GeForce7300GT ", the nominal description information of the first hardware be " NVIDIA GeForce9800GT ", then first hardware
Nominal description information is different from the true description information of the first hardware.
In embodiments of the present invention, alternatively, user click client specific function button or
After user opens client, the corresponding driver information file of the first hardware that client can be locally stored from terminal device
The nominal hardware information of the first hardware is obtained in INF (abbreviation message file or INF file).
S102, determine obtain nominal hardware information whether be the first hardware real hardware information.
In embodiments of the present invention, after the nominal hardware information for obtaining the first hardware, client can pass through a variety of sides
Formula determine the nominal hardware information obtained whether be the first hardware real hardware information, for example, client can be by service
Device sends nominal hardware information identification request, so that server identifies that request obtains nominal hardware information according to nominal hardware information
Whether be the first hardware real hardware information recognition result, and to client return recognition result, to keep client true
Surely the nominal hardware information obtained whether be the first hardware real hardware information;Client can also be true by sending to server
Real hardware information acquisition request, server obtains true description information according to the request of nominal hardware identification, and returns to client
True description information, after client receives true description information, by comparing nominal description information and true description information whether
The identical nominal hardware information of determination whether be the first hardware real hardware information;Client can also be looked into according to nominal hardware information
It askes local database and obtains true description information, and is whether identical true with true description information by comparing nominal description information
Calibration hardware information whether be referred to as the first hardware real hardware information.
S103 is obtained in the case where the nominal hardware information of the first hardware is not the real hardware information of the first hardware
The driver download link being adapted to real hardware information.
In embodiments of the present invention, in the real hardware letter that the nominal hardware information for determining the first hardware is not the first hardware
When breath, client can download chain according to the driver that the real hardware information acquisition of the first hardware is adapted to real hardware information
It connects, for example, client can send driver downloading request, server to server according to the real hardware information of the first hardware
Receive driver downloading request and the hardware information prestored from server according to the real hardware information of the first hardware and driving
Program corresponds to and inquires driver download link corresponding to the real hardware information of the first hardware in table, and returns to client
Driver download link compatible with real hardware information.
S104 shows the download link of acquisition on a user interface, so that user downloads the first hardware according to download link
Driver.
Specifically, in embodiments of the present invention, if it is determined that the nominal hardware information of the first hardware is not the first hardware
Real hardware information, namely nominal hardware information is deceptive information, can be by showing the sides of some information on a user interface
Formula prompts user:
For example, the download link of acquisition can be shown on a user interface, wherein drive corresponding to the download link
Dynamic program is adapted with real hardware information, that is to say, that driver corresponding to the download link is not the first hardware
Driver corresponding to nominal hardware information, but driver corresponding to the real hardware information of first hardware.By
This, the driver download link being adapted to real hardware information is provided for user, in the nominal hardware information of the first hardware
Not in the case where the real hardware information of the first hardware, avoids user and downloaded simultaneously according to the nominal hardware information of the first hardware
The problem of installing the corresponding driver of nominal hardware information and the first hardware caused to can not work normally.
In order to effectively remind user, when can also show the download link of acquisition on a user interface, informing user, this is hard
Part is the personation hardware for having forged hardware information.For example, can be by when showing download link, going back display driving software modification mark
Know, to prompt, the nominal hardware information of the first hardware of user is different from the real hardware information of the first hardware and download link is corresponding
Driver be adapted with real hardware information, for example, near download link increase MOD (modification is repaired
Change) mark, specifically, download link A can be directly shown on a user interface if the first hardware is not personation hardware,
If the first hardware is personation hardware, download link B compatible with real hardware information can be shown in user interface, and
Modified logo is added behind B in a manner of bracket, i.e. download link is shown as B (mod).
The nominal hardware information of the first hardware and the real hardware information of the first hardware can also be shown on a user interface
Identical or different prompt information, and/or the real hardware information of the first hardware is shown on a user interface, to prompt user
The nominal hardware information of one hardware and the real hardware information of the first hardware are different, namely prompt the nominal hard of the first hardware of user
Part information inaccuracy.
It is understood that in the feelings for the real hardware information that the nominal hardware information for determining the first hardware is the first hardware
Under condition, can also display reminding information on a user interface, to prompt the first hardware of user as certified products.
The providing method embodiment of above-mentioned hardware drive program, by obtaining the first hardware of setting on the terminal device
Nominal hardware information, and when determining the nominal hardware information obtained is not the real hardware information of the first hardware, it obtains and shows
Show the driver download link being adapted to real hardware information.So, it provides for user and is adapted to real hardware information
Driver download link, avoid user and download and inappropriate driver is installed and causes the first hardware normal
The problem of work.
Fig. 2 is the flow chart of the providing method of hardware drive program in accordance with another embodiment of the present invention, the embodiment
In, determine the first hardware nominal hardware information whether be the first hardware real hardware information operation mainly by server
Come what is completed, as shown in Fig. 2, this method comprises:
S201, client obtains the nominal hardware information of the first hardware of setting on the terminal device, wherein the first hardware
Nominal hardware information include nominal identification information and nominal description information corresponding with nominal identification information.
For example, client obtains the nominal identification information and mark of the first hardware (such as video card) of setting on mobile terminals
Claim description information such as Fig. 3 and as shown in figure 4, client passes through the nominal mark of the available current video card of INF file shown in Fig. 3
Mark breath is " PCI VEN_10DE&DEV_0396 ", passes through nominally retouching for the available current video card of INF file shown in Fig. 4
Stating information is " NVIDIA GeForce9800GT ".
S202, user end to server send nominal hardware information identification request.
Wherein, the nominal hardware information that the first hardware is carried in above-mentioned hardware information identification request, i.e., comprising the in request
The nominal identification information of one hardware and nominal description information corresponding with nominal identification information.
S203, server receives the nominal hardware information that client is sent and identifies request, and is known according to nominal hardware information
Do not invite ask identification carry nominal hardware information whether be the first hardware real hardware information.
Wherein, the real hardware information of the first hardware includes true identity information and corresponding with true identity information true
Description information.
Specifically, after the nominal hardware information identification that server receives client transmission is requested, with nominal mark letter
Breath searches identical with nominal identification information true identity information to index in preset first database, so find and
The corresponding true description information of identical true identity information, and by comparing nominal description information and true description information whether
The nominal hardware information of same identification whether be the first hardware real hardware information.If nominal description information and true description are believed
Cease not identical, then the nominal hardware information of the first hardware is different with the real hardware information of the first hardware, is being identified
When nominal hardware information is not the real hardware information of the first hardware, server can be according to real hardware acquisition of information and really hard
The driver download link of part information adaptation, specifically, the driver that server can be prestored according to true description information
Data base querying driver corresponding with true description information, and then find the real hardware information institute with the first hardware
Corresponding driver download link.
It whether is the in the nominal hardware information that server identification carries it should be noted that in embodiments of the present invention
Before the real hardware information of one hardware, server also needs to establish first database, specifically, can send out from hardware official manufacturer
Cloth and extract the true identity information and true description corresponding with true identity information of hardware in the corresponding INF file of hardware
Information, and the true identity information of extraction and true description information corresponding with true identity information are stored in first database,
Pre-establishing for first database is completed as a result,.It should be noted that the establishment process of first database can be it is artificial complete
At being also possible to server and be automatically performed, this is not limited by the present invention.
For example, server receives the nominal identification information " PCI VEN_10DE&DEV_0396 " of video card and nominal
Description information " NVIDIA GeForce9800GT ", server can according to nominal identification information " PCI VEN_10DE&DEV_
0396 " inquiry first database obtain with corresponding true identity information " PCI VEN_10DE&DEV_0396 ", and according to true
Identification information " PCI VEN_10DE&DEV_0396 " obtains the true description information " NVIDIA of video card in first database
GeForce7800GT ", server compares the nominal description information " NVIDIA GeForce9800GT " of video card and true description is believed
It is not identical to cease both " NVIDIA GeForce7800GT " discoveries, thus, it may be determined that the nominal hardware information of video card and true
Hardware information is not identical.
After the nominal hardware information and real hardware information for determining video card be not identical, server is really retouched according to video card
It states information " NVIDIA GeForce7800GT " and obtains real hardware information with video card from the driver database prestored
Compatible driver download link.
S204, server return to recognition result to client, and wherein recognition result indicates whether nominal hardware information is the
The real hardware information of one hardware.
Specifically, server according to nominal hardware information identify request identification carry nominal hardware information whether be
After the real hardware information of first hardware, will indicate nominal hardware information whether be the first hardware real hardware information
Recognition result returns to client.
In embodiments of the present invention, alternatively, identify that nominal hardware information is not first in server
In the case where the real hardware information of hardware, after obtaining the driver download link being adapted to real hardware information, service
Device returns to the recognition result for carrying the driver download link of acquisition being adapted to real hardware information to client, so that
Client is obtained from received recognition result and display driving software download link.
S205, client receives the recognition result that server returns, and shows recognition result.
Specifically, as the first optional way, indicating first in recognition result after client receives recognition result
In the case that the nominal hardware information of hardware is not the real hardware information of the first hardware, the first hardware is shown on a user interface
Nominal hardware information be not the first hardware real hardware information prompt information;As second of optional way, identifying
As a result indicate the first hardware nominal hardware information be not the first hardware real hardware information in the case where, from server return
Recognition result in obtain compatible with real hardware information driver download link, and show driving on a user interface
Program download link;As the third optional way, indicate that the nominal hardware information of the first hardware is not first in recognition result
In the case where the real hardware information of hardware, show that the nominal hardware information of the first hardware is not real hardware on a user interface
Shown while the prompt information of information obtain driver download link and driver modified logo so that client from
Driver download link is obtained in received recognition result.The drive being adapted to real hardware information is provided as a result, for user
Dynamic program download link is kept away in the case where the nominal hardware information of the first hardware is not the real hardware information of the first hardware
Exempt from user to be downloaded according to the nominal hardware information of the first hardware and the corresponding driver of nominal hardware information is installed and is caused
The problem of first hardware can not work normally.
It should be noted that in embodiments of the present invention, the nominal hardware information for indicating the first hardware in recognition result is
In the case where the real hardware information of first hardware, it can also show that the nominal hardware information of the first hardware is on a user interface
It is unlimited to be particularly shown mode for the prompt information of the real hardware information of first hardware, for example, can show that the first hardware is certified products
Prompt information, for another example, show the first hardware real hardware information.
The providing method embodiment of above-mentioned hardware drive program obtains first of setting on the terminal device by client
The nominal hardware information of hardware, and nominal hardware information identification is sent to server according to the nominal hardware information of the first hardware and is asked
It asks, server identifies whether the nominal hardware information of request the first hardware of identification is the true hard of the first hardware according to hardware information
Part information, and when nominal hardware information is not the real hardware information of the first hardware, by what is be adapted to comprising real hardware information
The recognition result of driver download link is back to client, and client receives and show recognition result, so, for
Family provides the driver download link being adapted to real hardware information, avoids user and downloads and install inappropriate driving journey
Sequence and the problem of cause the first hardware can not work normally.
Fig. 5 is the flow chart of the providing method of the hardware drive program of another embodiment according to the present invention, the embodiment
In, determine the first hardware nominal hardware information whether be the first hardware real hardware information operation mainly by client
Come what is completed, as shown in figure 5, this method comprises:
S501, client obtain the nominal hardware information of the first hardware of setting on the terminal device, wherein the first hardware
Nominal hardware information include nominal identification information and nominal description information corresponding with nominal identification information.
S502, user end to server send real hardware information acquisition request, wherein real hardware information acquisition request
It is middle to carry nominal identification information.
S503, server receives real hardware information acquisition request, and obtains the according to real hardware information acquisition request
The true description information of one hardware.
Specifically, in this embodiment, server receives real hardware information acquisition request, and is believed according to real hardware
The nominal identification information of the first hardware carried in breath acquisition request be index searched in preset first database with it is nominal
The identical true identity information of identification information, and then true description information corresponding with identical true identity information is found,
And the true description information of the first hardware obtained is returned to client.
S504, server return to the true description information of the first hardware to client.
S505, client receive the true description information that server returns, and by comparing nominal description information and reception
The whether identical nominal hardware information of determination of true description information whether be the first hardware real hardware information.
The nominal description information of the true description information of received first hardware and the first hardware is compared by client,
If more identical than more consistent i.e. the two, it is determined that the real hardware information phase of the nominal hardware information of the first hardware and the first hardware
Together, if inconsistent, it is determined that the nominal hardware information of the first hardware and the real hardware information of the first hardware is not identical, that is, determines
The nominal hardware information of first hardware is not the real hardware information of the first hardware.
S506, in the case where determining that the nominal hardware information of the first hardware is not the real hardware information of the first hardware,
Client sends driver download link acquisition request to second server according to the real hardware information of the first hardware.Its
In, real hardware information and driver download link corresponding with real hardware information are stored in second server.
It should be noted that second server can be the same server with above-mentioned server, it can also be different clothes
It is engaged in device, in this embodiment, we are described so that second server and above-mentioned server is the same servers as an example.
S507, second server receive driver download link acquisition request, and hard according to first carried in request
The real hardware information acquisition of part driver download link compatible with real hardware information.
Specifically, server can be inquired according to true description information into preset database opposite with true description information
The driver download link answered, and then find the downloading chain of driver corresponding to the real hardware information with the first hardware
It connects.
S508, second server return to the driver downloading being adapted to the real hardware information of the first hardware to client
Link.
S509, client receive the driver download link being adapted to real hardware information that second server returns,
And display driving software download link on a user interface.
It should be noted that in the present embodiment, showing on a user interface suitable with the real hardware information of the first hardware
In addition the download link matched can also show the true of the nominal hardware information of the first hardware and the first hardware on a user interface
The download link being adapted to the real hardware information of the first hardware is shown while hardware information difference.It can be used as a result, in prompt
While the real hardware information difference of the nominal hardware information of the first hardware of family and the first hardware, for user provide with it is true hard
The driver download link of part information adaptation is not the real hardware letter of the first hardware in the nominal hardware information of the first hardware
In the case where breath, avoids user and downloaded according to the nominal hardware information of the first hardware and the corresponding drive of nominal hardware information is installed
Dynamic program and the problem of cause the first hardware can not work normally.
The providing method embodiment of above-mentioned hardware drive program, client obtain the first hardware of setting on the terminal device
Nominal hardware information, and send true description information acquisition request to server, server is obtained according to true description information
Request obtains true description information and returns to client, and client is believed by comparing received true description information and nominal description
Cease determine the first hardware nominal hardware information whether be the first hardware real hardware information, according to real hardware acquisition of information
And show the driver download link being adapted to real hardware information.So, it is provided and real hardware information for user
The driver download link of adaptation avoids user and downloads and install inappropriate driver and cause the first hardware can not
The problem of normal work.
Fig. 6 is the flow chart of the providing method of the hardware drive program of further embodiment according to the present invention, the embodiment
By installing client terminal device execution on the terminal device, this method comprises:
S601, client obtains the nominal hardware information of the first hardware of setting on the terminal device, wherein the first hardware
Nominal hardware information include nominal identification information and nominal description information corresponding with nominal identification information.
S602, client are to index in preset second database to search and nominal identification information with nominal identification information
Identical true identity information, and then find true description information corresponding with identical true identity information.
Specifically, after the nominal hardware information of the first hardware of client acquisition, according to the nominal identification information of the first hardware
True identity information identical with nominal identification information is searched in preset second database to index, and is inquiring correspondence
True identity information after, corresponding with the true identity information true description information is inquired according to true identity information.
It should be noted that be stored in the second data the first hardware true identity information and with true identity information phase
Corresponding true description information, the second database purchase can be user in the local of terminal device as a preferred method,
Terminal device is downloaded to during downloading client installation kit, certainly, the acquisition modes of the second database are also possible to
Other modes, this is not limited by the present invention.
S603, client is by comparing nominal description information and the whether identical nominal hardware information of determination of true description information
Whether be the first hardware real hardware information.
After obtaining true description information, whether more nominal description information is identical as true description information, if they are the same, then
Nominal hardware information is determined and is the real hardware information for the first hardware, if not identical, it is determined that nominal hardware information is not the
The real hardware information of one hardware, i.e. the first hardware determine that nominal hardware information is false information.
S604, in the case where determining that the nominal hardware information of the first hardware is not the real hardware information of the first hardware,
Client sends driver download link acquisition request to second server according to the real hardware information of the first hardware.
Wherein, second server can be able to be the same server with above-mentioned server, can also be different servers, at this
In embodiment, we are described so that second server and above-mentioned server are the same server as an example.
S605, second server receive driver download link acquisition request, and according to the first hardware in request
The driver download link that real hardware information acquisition is adapted to real hardware information.
S606, second server return to driver download link compatible with real hardware information to client.
S607, client receive the driver download link being adapted to real hardware information that second server returns,
And display driving software download link on a user interface.
In this specification, step S604-S607 is also applied for the explanation of step S506-S509, is not repeated herein.
The providing method embodiment of above-mentioned hardware drive program, client obtain the first hardware of setting on the terminal device
Nominal hardware information, and be that index obtains true identity information from the second database with nominal identification information, and pass through ratio
More nominal identification information and the whether identical nominal hardware information of determination of true identity information whether be the first hardware real hardware
Information, and the driver download link being adapted to real hardware information is shown on a user interface.So, it is mentioned for user
For the driver download link being adapted to real hardware information, avoid user download and install inappropriate driver and
The problem of causing the first hardware can not work normally.
Another implementation corresponding with the providing method of hardware drive program that above method embodiment provides, of the invention
Example also provides a kind of offer device of hardware drive program, since device provided in this embodiment is implemented for executing the above method
The execution process of example is to provide a user driver download link, therefore the embodiment party of the aforementioned providing method to driver
The explanation of formula is also applied for the present embodiment device, is not described in detail in the present embodiment.
Fig. 7 is the structural schematic diagram of the offer device of hardware drive program according to an embodiment of the invention.The hardware
The offer device of driver is located in terminal device.As shown in fig. 7, the offer device of hardware drive program includes: first to obtain
Modulus block 71, determining module 72, second obtain module 73 and display module 74, in which:
First acquisition module 71 is used to obtain the nominal hardware information of the first hardware of setting on the terminal device;Determine mould
Block 72 be used for determine the first acquisition module obtain nominal hardware information whether be the first hardware real hardware information;Second obtains
Modulus block 73 be used in the case where the nominal hardware information of the first hardware is not the real hardware information of the first hardware, obtain with
The driver download link of real hardware information adaptation;Display module 74 obtains module for display second on a user interface
73 download links obtained, so that user is according to the driver of download link the first hardware of downloading.
Wherein, above-mentioned first hardware can install or connect hardware on the terminal device for video card, sound card or network interface card etc.,
The nominal hardware information of first hardware can include but is not limited to nominally identify (Identity, ID) information and believe with nominal mark
Cease corresponding nominal description information, real hardware information can include but is not limited to true identity information and with true identity information
Corresponding true description information.
In embodiments of the present invention, alternatively, user click client specific function button or
After user opens client, the corresponding driver letter of the first hardware that the first acquisition module 71 can be locally stored from terminal device
The nominal hardware information of the first hardware is obtained in breath file INF
In this embodiment, determining module 72 can determine in several ways the first hardware nominal hardware information whether be
The real hardware information of first hardware, for example, when whether the nominal hardware information for determining the first hardware is the first hardware
When the operation of real hardware information is mainly completed by server, above-mentioned determining module 72 is specifically used for: sending to server nominal
Hardware information identification request, hardware information identifies the nominal hardware information that the first hardware is carried in request, so that server is to mark
Identification information is referred to as to index to search true identity information identical with nominal identification information in preset first database, in turn
True description information corresponding with identical true identity information is found, and by comparing nominal description information and true description
Information whether the nominal hardware information of same identification whether be the first hardware real hardware information;Receive the identification that server returns
As a result, recognition result indicate nominal hardware information whether be the first hardware real hardware information.
Alternatively, identify that nominal hardware information is not the real hardware information of the first hardware in server
When, server is also carried in recognition result according to the driver download link of real hardware acquisition of information, second obtains mould
Block 73 can obtain the driver download link being adapted to real hardware information from received recognition result, and display module 74 can
The driver download link that is adapted to real hardware information is shown on a user interface, in addition, on a user interface can be with
Show the first hardware nominal hardware information and the first hardware real hardware information difference while display with real hardware believe
The driver download link of adaptation and the modified logo of driver are ceased, it as a result, can be in the mark of prompt the first hardware of user
While claiming the real hardware information difference of hardware information and the first hardware, the drive being adapted to real hardware information is provided for user
Dynamic program download link avoids user and is downloaded according to the nominal hardware information of the first hardware and install nominal hardware information correspondence
Driver and the problem of cause the first hardware can not work normally.
In addition, when above-mentioned apparatus can also be completed to determine whether the nominal hardware information of the first hardware is the true of the first hardware
The operation of real hardware information, when completing this by above-mentioned apparatus and operating, above-mentioned determining module 72 is specifically used for: sending to server
Real hardware information acquisition request carries nominal identification information in real hardware information acquisition request, so that server is according to taking
The nominal identification information of band is to index to search true identity letter identical with nominal identification information in preset first database
Breath, and then find true description information corresponding with identical true identity information;Receive the true description that server returns
Information;And by comparing nominal description information and the whether identical nominal hardware information of determination of received true description information whether
For the real hardware information of the first hardware.
By comparing nominal description information and the whether identical nominal hardware information of determination of received true description information simultaneously
It is non-be the first hardware real hardware information in the case where, second acquisition module 73 the real hardware information of first hardware can be sent out
Second server is given, so that the driver that second server is adapted to according to real hardware acquisition of information with real hardware information
Download link;And receive the driver download link being adapted to real hardware information that second server returns, wherein the
Two servers can be the same server with above-mentioned server, can also be different servers.
In addition, above-mentioned apparatus can also by another way complete determine the first hardware nominal hardware information whether be
The operation of the real hardware information of first hardware, when above-mentioned apparatus uses another way, above-mentioned determining module 73 is specifically used
In: it is to index to search true identity letter identical with nominal identification information in preset second database with nominal identification information
Breath, and then find true description information corresponding with identical true identity information;And by comparing nominal description information
The nominal hardware information of determination whether identical as true description information whether be the first hardware real hardware information.
Above-mentioned display module 74 is also used to: determining whether the nominal hardware information obtained is the first hardware in determining module 73
Real hardware information after, show whether the nominal hardware information of the first hardware is real hardware information on a user interface
Prompt information.
The offer Installation practice of above-mentioned hardware drive program obtains module by first and obtains setting on the terminal device
The first hardware nominal hardware information, and by determining module determine the first acquisition module obtain nominal hardware information whether
For the real hardware information of the first hardware, when nominal hardware information is not the real hardware information of the first hardware, second is obtained
Module obtains and shows the driver download link being adapted to real hardware information, and by display module in user interface
The download link that upper display obtains.Determining that driving nominal hardware information is not the real hardware information for being the first hardware as a result,
In the case where, the driver download link being adapted to real hardware information is provided for user, avoids user and downloads and install
Inappropriate driver and the problem of cause the first hardware can not work normally.
In order to realize above-described embodiment, the present invention also proposes a kind of offer device of hardware drive program.
Fig. 8 is the structural schematic diagram of the offer device of hardware drive program according to an embodiment of the invention, the hardware
The offer device of driver is located in server.As shown in figure 8, the offer device of hardware drive program includes: receiving module
81, identification module 82 and return module 83, in which:
Receiving module 81 is used to receive the nominal hardware information identification request of client transmission, and hardware information identifies in request
Carry the nominal hardware information of the first hardware;Whether the nominal hardware information that identification module 82 carries for identification is first hard
The real hardware information of part;Return module 83 is used to return to recognition result to client, and recognition result indicates nominal hardware information
Whether be the first hardware real hardware information so that client determines the nominal hardware information of the first hardware according to recognition result
Not in the case where the real hardware information of the first hardware, the driver download link being adapted to real hardware information is obtained,
And the download link of acquisition is shown on a user interface, so that user adapts to be arranged in terminal device according to download link downloading
On the first hardware driver.
Wherein, the nominal hardware information of above-mentioned first hardware includes nominal identification information and corresponding with nominal identification information
Nominal description information, the real hardware information of above-mentioned first hardware include true identity information and corresponding with true identity information
True description information.
Above-mentioned identification module 82 is specifically used for: with nominal identification information be index in preset first database search with
The identical true identity information of nominal identification information, and then find true description letter corresponding with identical true identity information
Breath;And whether the nominal hardware information of same identification is first hard by comparing nominal description information and true description information
The real hardware information of part.
In addition, above-mentioned apparatus can also include obtaining module 84, which is used to identify nominal hardware letter
When breath is not the real hardware information of the first hardware, the driving journey that is adapted to according to real hardware acquisition of information with real hardware information
Sequence download link.
Specifically, identify that the nominal hardware information of the first hardware is not the real hardware of the first hardware in identification module 83
When information, obtaining module 84 can be according to the hardware information and driving that true description information or the inquiry of true identity information locally prestore
Program corresponds to table, and then finds driver download link corresponding to the real hardware information with the first hardware.
After obtaining driver download link corresponding to real hardware information of the acquisition of module 84 with the first hardware, return
The identification for carrying the driver download link of acquisition being adapted to real hardware information can be returned to client by returning module 83
As a result, so that client obtains driver download link from received recognition result, user is facilitated to obtain and real hardware
The driver download link of information adaptation, avoids user and downloads and install inappropriate driver and lead to the first hardware
The problem of can not work normally.
Alternatively, above-mentioned apparatus can also include building module 85, which is used for: from hardware
The true of hardware is extracted in the driver information file INF (abbreviation message file) corresponding with hardware of official manufacturer publication
Identification information and true description information corresponding with true identity information;And it is marked by the true identity information of extraction and with true
Know the corresponding true description information of information and is stored in first database.
The offer Installation practice of above-mentioned hardware drive program receives the nominal hardware that client is sent by receiving module
Information identification request, and identify that request identifies whether nominal hardware information is the first hardware according to hardware information by identification module
Real hardware information, and by return module to client return recognition result so that client is true according to recognition result
In the case that the nominal hardware information of fixed first hardware is not the real hardware information of the first hardware, obtain and real hardware information
The driver download link of adaptation, and the download link of acquisition is shown on a user interface, it can be in prompt the first hardware of user
Nominal hardware information and the first hardware real hardware information difference while, provided for user suitable with real hardware information
The driver download link matched avoids user and downloads and install inappropriate driver and cause the first hardware can not be just
Often the problem of work.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, which includes shell, processing
Device, memory, circuit board and power circuit, wherein foregoing circuit plate is placed in the space interior that above-mentioned shell surrounds, above-mentioned place
It manages device and above-mentioned memory is arranged on foregoing circuit plate;Above-mentioned power circuit, for each circuit for above-mentioned mobile terminal
Or device power supply;Above-mentioned memory is for storing executable program code;Above-mentioned processor is deposited by reading in above-mentioned memory
The executable program code of storage runs program corresponding with above-mentioned executable program code, for executing following steps:
Obtain the nominal hardware information of the first hardware of setting on the terminal device.
Determine obtain nominal hardware information whether be the first hardware real hardware information.
In the case where the nominal hardware information of the first hardware is not the real hardware information of the first hardware, obtain and true
The driver download link of hardware information adaptation.
Show the download link of acquisition, on a user interface so that user is according to the driving of download link the first hardware of downloading
Program.
Specifically, in embodiments of the present invention, if it is determined that the nominal hardware information of the first hardware is not the first hardware
Real hardware information, namely nominal hardware information is deceptive information, can be by showing the sides of some information on a user interface
Formula prompts user:
For example, the download link of acquisition can be shown on a user interface, wherein drive corresponding to the download link
Dynamic program is adapted with real hardware information, that is to say, that driver corresponding to the download link is not the first hardware
Driver corresponding to nominal hardware information, but driver corresponding to the real hardware information of first hardware.By
This, the driver download link being adapted to real hardware information is provided for user, is avoided user and is not being known the first hardware
Nominal hardware information it is different from the real hardware information of the first hardware in the case where, according to the nominal hardware information of the first hardware
The problem of downloading and installing the corresponding driver of nominal hardware information and the first hardware is caused to can not work normally.
When can also show the download link of acquisition on a user interface, driver modified logo is also shown, to mention
The nominal hardware information for showing the first hardware of user is different from the real hardware information of the first hardware and the corresponding driving of download link
Program is adapted with real hardware information.
The nominal hardware information of the first hardware and the real hardware information of the first hardware can also be shown on a user interface
Identical or different prompt information, and/or the real hardware information of the first hardware is shown on a user interface, to prompt user
The nominal hardware information of one hardware and the real hardware information of the first hardware are different, namely prompt the nominal hard of the first hardware of user
Part information inaccuracy.
It is understood that in the feelings for the real hardware information that the nominal hardware information for determining the first hardware is the first hardware
Under condition, can also display reminding information on a user interface, to prompt the first hardware of user as certified products.
Above-mentioned mobile terminal embodiment, by obtaining the nominal hardware information of the first hardware of setting on the terminal device,
And when determining the nominal hardware information obtained is not the real hardware information of the first hardware, obtains and show and believe with real hardware
Cease the driver download link of adaptation.So, determining that driving nominal hardware information is not the true of the first hardware
In the case where hardware information, the driver download link being adapted to real hardware information is provided for user, is avoided under user
The problem of carrying and installing inappropriate driver and the first hardware is caused to can not work normally.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.