Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method that installation scheme is recommended automatically, in order to make user can be easy, directly obtains the installation scheme needed for oneself.
Present invention also offers the device that a kind of installation scheme is recommended automatically, in order to ensure said method application in practice and realization.
In order to solve the problem, the embodiment of the invention discloses a kind of method that installation scheme is recommended automatically, comprising:
Hardware detection is carried out to multiple subscriber equipment, obtains the hardware information of subscriber equipment;
Multiple installation scheme is generated according to the hardware information of each subscriber equipment;
Described installation scheme is stored in database.
Obtain the installation demand information of user;
According to described installation demand information at installation scheme corresponding to described database retrieval, and return to user;
Wherein, described hardware information comprises hardware parameter information; Describedly carry out hardware detection to multiple subscriber equipment, the step obtaining the hardware information of subscriber equipment comprises: receive the hardware detection request that subscriber equipment is initiated, and starts hardware detection driver according to hardware detection request; Use hardware detection driver access bottom hardware, obtain the hardware identifier information in subscriber equipment; According to described hardware identifier information, in preset hardware information storehouse, extract corresponding hardware parameter information.
Preferably, the install step of demand information of described acquisition user comprises:
Detect hardware information and/or the software installation information of subscriber equipment;
Installation demand information is generated according to described hardware information and/or software installation information.
Preferably, the install step of demand information of described acquisition user comprises:
Receive the installation demand information acquisition request that user submits to;
Corresponding installation demand information is extracted according to described request.
Preferably, described installation demand information obtains and asks to comprise equipment price scope and/or equipment applicating category information.
Preferably, described the step that described installation scheme is stored in database also to be comprised:
The installation scheme stored in database is classified, distributes classification information to each installation scheme.
Preferably, the step that the described hardware information according to each subscriber equipment generates multiple installation scheme comprises:
According to hardware information characteristic information extraction from described user device hardware information required in installation scheme;
Adopt described characteristic information to retrieve in internet or preset database, obtain the pricing information of corresponding hardware;
Installation scheme is generated according to described characteristic information and hardware price information.
Preferably, described installation scheme also comprises:
The installation scheme total price information generated is calculated according to described hardware price information;
The descriptor of described installation scheme and user's evaluation information.
Preferably, the classification information of described installation scheme is applicating category information, describedly comprises in the step of installation scheme corresponding to described database retrieval according to installation demand information:
According to the applicating category needed for installation demand information determination subscriber equipment;
The installation scheme corresponding according to described applicating category information extraction returns to user.
Preferably, described according to installation demand information at installation scheme corresponding to described database retrieval, and the step returning to user comprises:
According to installation demand information at installation scheme corresponding to described database retrieval, and installation schemes maximum for user device configuration in multiple installation schemes of coupling is returned to user;
Or,
According to installation demand information at installation scheme corresponding to described database retrieval, and the installation scheme of up-to-date generation in multiple installation schemes of coupling is returned to user.
Preferably, described hardware identifier information comprises vendor id and hardware device ID, and described bottom hardware comprises system bus, system management Basic Input or Output System (BIOS) SMBIOS and/or peripheral port, and the step of described access bottom hardware specifically comprises:
Ergodic Theory bus, described system bus comprises Peripheral Component Interconnect pci bus, system management SMBUS bus, I2C bus and/or industrial standard architectures isa bus;
And/or, the information of reading system management Basic Input or Output System (BIOS) SMBIOS;
And/or access peripheral port, initiates to operate with the I/O of corresponding peripheral hardware.
The embodiment of the invention also discloses the device that a kind of installation scheme is recommended automatically, comprising:
Hardware detecting module, for carrying out hardware detection to multiple subscriber equipment, obtains the hardware information of subscriber equipment;
Multiple installation scheme generation module, for generating multiple installation scheme according to the hardware information of each subscriber equipment;
Installation scheme memory module, for being stored to described installation scheme in database.
Installation demand information acquisition module, obtains the installation demand information of user for demand information of installing;
Installation scheme retrieval module, for according to described installation demand information at installation scheme corresponding to described database retrieval, and return to user;
Wherein, described hardware information comprises hardware parameter information, and described hardware detecting module comprises: bottom hardware access submodule, for receiving the hardware detection request that subscriber equipment is initiated, starts hardware detection driver according to hardware detection request; Use hardware detection driver access bottom hardware, obtain the hardware identifier information in subscriber equipment; Hardware parameter information extraction submodule, for according to described hardware identifier information, extracts corresponding hardware parameter information in preset hardware information storehouse.
Preferably, described installation demand information acquisition module comprises:
Infomation detection submodule, for detecting hardware information and/or the software installation information of subscriber equipment;
Installation demand information generates submodule, for generating installation demand information according to described hardware information and/or software installation information.
Preferably, described installation demand information acquisition module comprises:
Obtain request receiving submodule, the installation demand information submitted to for receiving user obtains request;
Installation demand information extracts submodule, for extracting corresponding installation demand information according to described request.
Preferably, described installation demand information obtains and asks to comprise equipment price scope and/or equipment applicating category information.
Preferably, described installation scheme memory module also comprises:
Installation scheme classification submodule, for classifying to the installation scheme stored in database, distributes classification information to each installation scheme.
Preferably, described multiple installation scheme generation module comprises:
Feature information extraction submodule, for according to hardware information characteristic information extraction from described user device hardware information required in installation scheme;
Pricing information obtains submodule, for adopting described characteristic information to retrieve in internet or preset database, obtains the pricing information of corresponding hardware;
Installation scheme generates submodule, for generating installation scheme according to described characteristic information and hardware price information.
Compared with prior art, the embodiment of the present invention has the following advantages:
The present invention is by obtaining the installation demand information of user, in preset installation scheme database, retrieve corresponding installation scheme according to described installation demand information and return to user, thus make user can be easy, directly obtain the installation scheme needed for oneself, need not to take much time again and energy goes to collect hardware information analyzing, save manpower, meet the demand of user to equipment purposes and price.
The hardware information that the present invention obtains according to hardware detection forms installation scheme, compared to the hardware information that human subjective lists, the hardware information that the present invention obtains adopts exclusive hardware detection engine access hardware bottom, the truest, accurate, objective hardware parameter information can be obtained, easy to operate, both do not rely on API or WMI of operating system in practice, do not relied on the driver of hardware self yet, have independence and applicability better.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
For prior art, user will obtain the installation scheme that oneself needs, need to collect different installation schemes, then the purposes of various installation scheme and price are analyzed, select the scheme of the demand being applicable to oneself, this process need expends a large amount of time and efforts of user, and the information simultaneously obtained is listed by human subjective, objective not, accurately with complete.In view of this, inventor herein creatively one of core idea proposing the embodiment of the present invention is, obtain the installation demand information of user, in preset installation scheme database, retrieve corresponding installation scheme according to described installation demand information and return to user, thus make user can be easy, directly obtain the installation scheme needed for oneself.
With reference to figure 1, show the flow chart of steps of the generation embodiment of the method for a kind of installation scheme of the present invention, specifically can comprise the following steps:
Step 101, the preset database comprising multiple installation scheme;
In the embodiment of the present invention, described installation scheme refers to the hardware combinations scheme for installing.In one preferred embodiment of the invention, described installation scheme specifically can be generated by following sub-step:
Sub-step S11, carries out hardware detection to multiple subscriber equipment, obtains the hardware information of subscriber equipment.
In embodiments of the present invention, the hardware information of described subscriber equipment can by carrying out hardware detection acquisition to subscriber equipment, and described hardware information can comprise hardware parameter information, and described sub-step S11 specifically can comprise following sub-step:
S11-1, by access bottom hardware, obtain the hardware identifier information in subscriber equipment;
In one preferred embodiment of the invention, described hardware identifier information can comprise vendor id and hardware device ID.
In embodiments of the present invention, do not need API or WMI depending on operating system, do not need the driver depending on hardware self yet, but obtain the hardware identifier information in subscriber equipment by access bottom hardware.In one preferred embodiment of the invention, described bottom hardware can comprise system bus, system management Basic Input or Output System (BIOS) SMBIOS and/or peripheral port.More specifically, described system bus can comprise: correspondingly, this step can comprise following sub-step for Peripheral Component Interconnect pci bus, system management SMBUS bus, I2C bus and/or industrial standard architectures isa bus etc.:
By reading the information of system management Basic Input or Output System (BIOS) SMBIOS in subscriber equipment, obtain the hardware identifier information in subscriber equipment;
The hardware identifier information in subscriber equipment is obtained by Ergodic Theory bus.
By access peripheral port, initiate to operate with the I/O of corresponding peripheral hardware, obtain the hardware identifier information in subscriber equipment.
Such as, the information of PCI equipment on mainboard can be read by traversal pci bus, and read SMBIOS mainboard infomation detection to the vendor id of mainboard and hardware device ID.Or, vendor id and the hardware device ID of the video card that the video card categorical data on PCI equipment detects can be read by traversal pci bus.Or, the mode of SetupAPI can be adopted to access peripheral port, initiate to judge whether to be connected with peripheral hardware with the I/O operation requests of peripheral port, as received the information that peripheral hardware returns for this request, then send information acquisition request to this peripheral hardware further, then receive the vendor id that returns of peripheral hardware and hardware device ID.
In a kind of preferred embodiment of the present invention, hardware identifier information in subscriber equipment can also be obtained by carrying out instruction interaction with hardware.
Such as, for the hardware such as CPU, internal memory, hard disk or CD-ROM drive, in the information by reading SMBIOS, and/or, after traversal pci bus, SMBUS bus, I2C bus and isa bus, also need to carry out manufacturer's information and the identification information that instruction interaction could read this hardware with corresponding hardware further.
In detail, as the information of CPU will be obtained, by first reading SMBIOS information, then data analysis acquisition can be carried out to cpu instruction register (comprising CPUID and MSR register) further.
In specific implementation, described subscriber equipment can initiate the subscriber equipment of hardware detection request.When receiving described hardware detection request, hardware detection driver (or hardware detection engine) is started for the subscriber equipment of initiating described request, by described hardware detection driver (or hardware detection engine) access hardware bottom, when described subscriber equipment is computing machine, the hardware bottom layer accessed specifically comprises: CPU bottom is accessed, SMBIOS bottom is accessed, pci bus digital independent, SMBUS bus data reads, isa bus digital independent, (oneself detects IDE (hard disk drive) and Smart, analyze, reporting techniques) hard disc data reading, SCSI (small computer system interface) hard disc data reads, EEDID (extending display identification data) display data reads, after the scanning of I2C bus data, find vendor id and the hardware ID of following hardware, comprise CPU, mainboard, video card, display, internal memory, hard disk, CD-ROM drive, sound card, battery, network interface card, mouse-keyboard and/or camera.
S11-2, according to described hardware identifier information, in preset hardware information storehouse, extract corresponding hardware parameter information;
As a kind of example of embody rule, can multiple hardware information storehouse such as preset hardware production firm database, ardware model number database, hardware specification database and/or hardware configuration parameter database, when vendor id and hardware device ID being detected, mate in above-mentioned multiple hardware information storehouse respectively one by one, then filter out the hardware parameter information needing to be presented to user.
As the example of another kind of embody rule, can a preset hardware information storehouse, there are in this hardware information storehouse many hardware parameter information records corresponding with hardware identifier information, wherein all comprise the information such as hardware brand, hardware names, ardware model number, hardware specification and/or hardware configuration parameter in every bar hardware parameter information record.
Certainly, said method is only used as example, those skilled in the art can arrange to take which kind of hardware identifier information according to actual demand, as when only representing hardware brand, hardware names, then only take vendor id, or as, when representing ardware model number, hardware specification and hardware configuration parameter, then only take hardware device ID, described hardware identifier information can also in other any one objective characterisation subscriber equipment adopt the relevant information of hardware, the present invention to this without the need to being limited.
In practice, can soundness verification be carried out for acquired hardware information, if the first candidate value is illegal, just adopt the second candidate value, if the second candidate value is illegal, just adopt the 3rd candidate value, by that analogy.
Certainly, in specific implementation, those skilled in the art are according to API or WMI of operating system, and/or the hardware information of the driver acquisition subscriber equipment of hardware self is also feasible, and the present invention is not restricted this.
Sub-step S12, generates multiple installation scheme according to the hardware information of each subscriber equipment.
In one preferred embodiment of the invention, described sub-step S12 specifically can comprise following sub-step:
S12-1, according to hardware information characteristic information extraction from described user device hardware information required in installation scheme;
As a kind of example of embodiment of the present invention embody rule, described hardware parameter information can to comprise in subscriber equipment the brand of hardware, title, quantity, model, specification and configuration parameter are installed, in this case, described sub-step S12-1 specifically can comprise following sub-step:
From hardware information, the hardware parameter information of corresponding hardware is extracted according to the installation hardware list of equipment;
From described hardware parameter information, filter out characteristic information according to preset critical field, described characteristic information comprises the brand of corresponding hardware, title, quantity and model.
For the practical application of installation scheme, often user only needs some simple hardware parameter information, application the present embodiment, the brand of hardware, title, quantity, model, specification and the configuration parameter that use in the subscriber equipment that hardware detection result obtains, adopt the embodiment of the present invention, the characteristic information extracted only comprise installation hardware list list the brand of hardware, title, quantity and model, because in actual applications, installation scheme needs concisely, clearly to list hardware configuration information, obtains content needed for it intuitively to facilitate user.
In specific implementation, describedly carry out hardware detection to multiple subscriber equipment, the step (sub-step S11) obtaining the hardware information of subscriber equipment may further include following sub-step:
S11-3, the hardware running state data obtained in subscriber equipment.
In specific implementation, the running state data of each hardware can be obtained from CPU register data, mainboard sensing data, video card sensing data and/or hard disc data.For computing machine, described running state data can comprise CPU travelling speed, memory modules voltage, hard disk access times and accumulative service time, hard disc data transmission rate, video card frequency, battery loss rate etc.
In one preferred embodiment of the invention, described running state data can also comprise temperature information, and such as, cpu temperature information, video card temperature information, hard disk temperature information etc., described temperature information also can by obtaining bottom hardware access.Be detected as example with cpu temperature, according to the CPU model got, remove the DIE Temperature reading this CPU; Go to scan the temperature sensing chip on mainboard, to obtain CPU surface temperature according to pci bus, SMBUS bus and isa bus; The cpu temperature reading ACPI space is removed according to ACPI (advanced configuration and power-management interface) core method.And then the data that this part gets, judge, to find most suitable value according to mainboard model.
In the present embodiment, the described step (S12-1) according to hardware information characteristic information extraction from described user device hardware information required in installation scheme specifically can comprise following sub-step:
From hardware information, hardware parameter information and the running state data of corresponding hardware is extracted according to the installation hardware list of equipment;
Remove described running state data, filter out the hardware parameter information of corresponding hardware as characteristic information.
Adopt this method obtaining user device hardware information based on hardware detection, described hardware information can comprise hardware parameter information and hardware running state data, due in practice, hardware running state data is little for needing user's use of installation scheme, namely installation scheme does not need hardware running state data, so in the application generating installation scheme, hardware parameter information only can be extracted as the characteristic information generating installation scheme.In the present embodiment, the information that described hardware parameter information can describe hardware configuration situation for any one, as hardware brand, title, specification, type etc., the present invention is not restricted this.
Due in practice, initiate to be configured with integrated hardware in the subscriber equipment of hardware detection, such as, what usually install in notebook computer is integrated graphics card, integrated sound card etc., or, all integrated hardware can be installed in the subscriber equipment of the amateur player of major part, for installation scheme, because the usual installation hardware list according to equipment lists separate hardware information, thus, in one preferred embodiment of the invention, can filter this type of integrated hardware, specifically, the described step according to hardware information characteristic information extraction from described user device hardware information required in installation scheme can further include following sub-step:
Judge whether Current hardware is integrated hardware, in characteristic information, if so, then remove the information of described integrated hardware according to described hardware parameter information.
Such as, judge whether certain hardware is integrated hardware, if so, then filters according to the model of integrated graphics card, integrated sound card or mainboard model.
S12-2, adopt described characteristic information to retrieve in internet or preset database, obtain the pricing information of corresponding hardware.
In specific implementation, the regional information at user place can be judged by the IP address of user, adopt described characteristic information to retrieve in internet or preset database, obtain the hardware price information in city, user place.
Such as, obtain in price, can first and quotation platform cooperation, province or the city at user place is judged by IP address, inform by the interface that provides of quotation platform the ardware model number that will inquire about again, platform obtain target cities by the database retrieving itself or from target cities nearest city quotation for hardware scope and return results.
S12-3, generate installation scheme according to described characteristic information and hardware price information.
Such as, set form is adopted to carry out typesetting arrangement to described characteristic information and pricing information, the installation scheme of composition list type.
In specific implementation, can also comprise in described installation scheme:
The installation scheme total price information generated is calculated according to described hardware price information;
And, the descriptor of described installation scheme and user's evaluation information.
The total price information of installation scheme is obtained by the pricing information of each hardware, after the Price Range that user selects oneself to wish, can obtain the installation scheme corresponding with Price Range.In addition, in reality, user also wishes to know the evaluation of other users to this installation scheme when the equipment of selection, like this can the larger demand that may meet oneself.Corresponding each installation scheme has descriptor, and user can be allowed to understand the advantage of the program, shortcoming and feature, the information obtained is more comprehensive.
Such as, certain installation scheme comprises following field: the descriptor, user's evaluation information etc. of hardware names, hardware brand, ardware model number, hardware quantity, hardware price information, installation scheme.
Sub-step S13, is stored to described installation scheme in database.
Certainly, the above installation scheme not only can be generated by hardware detection result, can also be configured by person skilled on backstage, and the demand different according to user configures the installation scheme of multiple different price, calls for program search; Installation scheme also can be search on the internet to obtain, and such as, the website of some computer cities has a lot of installation configurations select for user, these installation schemes can be added in described database; In addition, some computer talents can be mobilized, allow them to make different installation schemes, after confirming, add database.In a word, installation scheme has multiple obtain manner, does not limit in concrete realization to this, can add database and select for user.
Sub-step S14, classifies to the installation scheme stored in database, distributes classification information to each installation scheme.
In one preferred embodiment of the invention, the classification information of described installation scheme can be the applicating category information divided for user's request.
Different installation schemes has different purposes, be applicable to the user of different demand, conveniently realize the recommendation of installation scheme, in practice, some type keywords can also be specified, such as " high definition movie theatre, game fever, graphic designs, WEB server, storage server " etc. for each installation scheme.Such convenience is next according to the demand of user, determine the applicating category needed for subscriber equipment and the key word of formation correspondence, then in the database comprising multiple installation scheme, search for this applicating category keyword, extraction has the installation scheme of corresponding key word and returns to user.
Step 102, obtains the installation demand information of user;
In one preferred embodiment of the invention, described step 102 specifically can comprise following sub-step:
Sub-step S21, the hardware information detecting subscriber equipment and/or software installation information;
Sub-step S22, generate installation demand information according to described hardware information and/or software installation information.
Such as, when obtaining user's license, judge the current software having installed what type of user computer, the toggle speed speed of software, the date of production of computer hardware etc. attempt to judge that user uses the major demands of computer with this, as installed Photoshop, the user of 3DMAX may do image procossing or 3D animation, the color performance of such user to display can require higher, and the installation demand information therefore obtaining user is the installation scheme needing " graphic designs " classification.
In another preferred embodiment of the invention, described step 102 specifically can comprise following sub-step:
The installation demand information that sub-step S31, reception user submit to obtains request;
Sub-step S32, foundation described request extract corresponding installation demand information.
As a kind of example of embodiment of the present invention embody rule, described installation demand information obtains in request can comprise equipment price scope and/or equipment applicating category information.
In specific implementation, the option that user selects certain Price Range, required type of hardware and/or configuration tendency can be supplied to, such as, from Price Range, user needs the price endurance considering oneself, or wish to carry out Integrated comparative in numerous installation scheme, bought the machine that cost performance is high; Wish from user the type of hardware that stresses, such as 3D designer can stress video card ability and CPU ability, they can more wish the installation scheme video card selected and cpu performance higher, and they of other hardware such as CD-ROM drive and so on think that it doesn't matter; Storage server to mainboard whether support the rotating speed of array, hard disk and capacity requirement higher; From computer configuration tendency, user has the use preference of oneself, thus produces different demands to equipment, such as high definition movie theatre, game fever etc.User is by selecting on request, and can form installation demand information and obtain and ask and be submitted to server, server can know according to this request the installation demand information that this user is corresponding, and retrieves the installation scheme satisfied condition thus further and recommend user.
Step 103, according to described installation demand information at installation scheme corresponding to described database retrieval, and returns to user.
In one preferred embodiment of the invention, described step 103 specifically can comprise following sub-step:
Sub-step S41, according to the applicating category needed for installation demand information determination subscriber equipment;
Sub-step S42, according to the installation scheme that described applicating category information extraction is corresponding, returns to user.
The demand of user to equipment can be determined according to the installation demand information of user, and then the applicating category determining needed for subscriber equipment, such as, the installation Photoshop according to user installation, 3DMAX, judge user to display color require higher after, some have the installation scheme of " graphic designs " key word can to recommend him, then in preset installation scheme database, extract corresponding installation scheme and return to user, thus realize the automatic recommendation of installation scheme.
Or as, when obtaining user's license, judge the current software having installed what type of user computer, the toggle speed speed of some softwares, the date of production of computer hardware etc. attempt to judge that user uses the major demands of computer with this, thus recommend suitable installation scheme to user.As detected, the hard-disk capacity of user is 100T, the also just 1T that the computer hard disc of current general user is larger, such user may be higher to the capacity requirement of hard disk, is therefore the installation scheme of " storage server " to user's exemplary application category label.
Or as, detect that user computer is equipped with Need For Speed 15, the Games Software that space craft 2 etc. are numerous, the video memory capacity of video card is 1024MB, relative to general user, its video card requires higher, is therefore the installation scheme of " game fever " to user's exemplary application category label.
In another preferred embodiment of the invention, described step 103 specifically can comprise following sub-step:
Sub-step S51, according to installation demand information at installation scheme corresponding to described database retrieval, and returns to user by installation schemes maximum for user device configuration in multiple installation schemes of coupling;
Or,
Sub-step S52, according to installation demand information at installation scheme corresponding to described database retrieval, and returns to user by the installation scheme of up-to-date generation in multiple installation schemes of coupling.
For making those skilled in the art understand the present invention better, below providing an example to illustrate and how to recommend corresponding installation scheme according to the installation demand information of user.
Such as, detect the installation demand information of subscriber equipment, the hardware information and the software installation information that obtain user are as follows:
CPU:intel Duo i32100
Mainboard: Microstar PH61-P33 (B3)
Internal memory: Jin Shidun DDR313334G
Hard disk: Seagate Barracuda7200.12500G single dish
Video card: be full of logical GT440-1024GD5MA standard edition
Display: AOCe2043F1
CD-ROM drive: Asus DVD-E818A7T1
Software is provided with: World of Warcraft, Need For Speed 15, The Legend of Sword and Fairy 4, space craft 2
Can judge that user is a game player according to above installation demand information, requiring the video card etc. of equipment accordingly can be higher, classification should be provided to be the installation scheme of " game player " to user, in a database search category be the scheme of " game player " to user, in the following example:
As the another kind of example of the embodiment of the present invention, after obtaining the installation demand information of user, the applicating category needed for user need not be determined, but directly according to the configuration information of user, search in preset comprising in the database of multiple installation scheme, the installation scheme comprising certain customers' installation demand information is supplied to user, and this installation scheme and the user different place of demand information of installing can help user optimization Equipments Setting.
Such as, detect that the installation demand information of user is:
The imperial IIX2250 of CPU:AMD speed
Mainboard: Microstar P45NE03-F
Internal memory: apacer 2GBDDR2800
Hard disk: West Digital WD caviar ks640G7200 turns 32M
Video card: reflect many Inno3DGTX260 game god of war
Display: Acer GD245HQbid
CD-ROM drive: pioneer DVR-117CH
The installation demand information of the user detected above is retrieved in a database, obtains installation scheme corresponding with it, as follows:
Originally the imperial IIX2250 of CPUAMD speed changes and makes intel Duo 2 double-core E8400 by this installation scheme, processor speed is before too low, larger with the performance gap of other hardware, the maximum performance of each hardware can not be played completely, waste hardware resource, the program can make equipment play larger performance relative to former scheme.This installation scheme is recommended user.
What each embodiment in this instructions stressed is all the difference with other embodiments, between each embodiment identical similar part mutually see.
The application embodiment of the present invention, different installation schemes is classified, distribute classification information, obtain the database comprising multiple installation scheme, then the installation demand information submitted to according to configuration information and the user of subscriber equipment searches for the installation scheme of corresponding applicating category in preset database, user need not take much time again and energy goes to collect hardware information analyzing, and saves manpower, meets the demand of user to equipment purposes and price.In addition, the hardware information that the present invention obtains according to hardware detection forms installation scheme, the hardware information obtained adopts exclusive hardware detection engine access hardware bottom, the truest, accurate, objective hardware parameter information can be obtained, easy to operate, both do not rely on API or WMI of operating system in practice, do not relied on the driver of hardware self yet, have independence and applicability better.
In addition, this installation scheme not only comprises hardware characteristics information, also comprise descriptor and user's evaluation information of the pricing information of corresponding hardware, installation scheme total price information and installation scheme, user need not check hardware price by spended time again, directly selection and comparison can be carried out with reference to the evaluation of descriptor and other users, and then directly buy required hardware, save a large amount of time and efforts.
It should be noted that, in embodiments of the present invention, described hardware refers to the hardware in subscriber equipment, and described subscriber equipment comprises computing machine, mobile phone, PDA etc.The embodiment of the present invention not only can be applied in the applied environment of single device, can also be applied to the applied environment of client-server, or is applied to further in the applied environment based on cloud.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
With reference to figure 2, show the structured flowchart of the generating apparatus embodiment of a kind of installation scheme of the present invention, specifically can comprise with lower module:
Database initialize module 201, for the preset database comprising multiple installation scheme;
Installation demand information acquisition module 202, for obtaining the installation demand information of user;
Installation scheme retrieval module 203, for according to described installation demand information at installation scheme corresponding to described database retrieval, and return to user.
In a kind of preferred embodiment of the present invention, described installation demand information acquisition module can comprise:
Infomation detection submodule, for detecting hardware information and/or the software installation information of subscriber equipment;
Installation demand information generates submodule, for generating installation demand information according to described hardware information and/or software installation information.
In another kind of preferred embodiment of the present invention, described installation demand information acquisition module can comprise:
Obtain request receiving submodule, the installation demand information submitted to for receiving user obtains request;
Installation demand information extracts submodule, for extracting corresponding installation demand information according to described request.
In specific implementation, described installation demand information obtains in request can comprise equipment price scope and/or equipment applicating category information.
In a kind of preferred embodiment of the present invention, described database initialize module specifically can comprise following submodule:
Hardware detection submodule, for carrying out hardware detection to multiple subscriber equipment, obtains the hardware information of subscriber equipment;
Multiple installation scheme generates submodule, for generating multiple installation scheme according to the hardware information of each subscriber equipment;
Installation scheme sub module stored, for being stored to described installation scheme in database.
More preferably, described installation scheme sub module stored can also comprise:
Installation scheme classification submodule, for classifying to the installation scheme stored in database, distributes classification information to each installation scheme.
More specifically, described multiple installation scheme generates submodule and may further include following submodule:
Feature information extraction submodule, for according to hardware information characteristic information extraction from described user device hardware information required in installation scheme;
Pricing information obtains submodule, for adopting described characteristic information to retrieve in internet or preset database, obtains the pricing information of corresponding hardware;
Installation scheme generates submodule, for generating installation scheme according to described characteristic information and hardware price information.
In one preferred embodiment of the invention, described installation scheme also comprises:
The installation scheme total price information generated is calculated according to described hardware price information;
The descriptor of described installation scheme and user's evaluation information.
In a kind of preferred embodiment of the present invention, the classification information of described installation scheme is applicating category information, and described installation scheme retrieval module specifically can comprise:
Applicating category determination submodule, for the applicating category needed for installation demand information determination subscriber equipment;
Installation scheme extracts submodule, returns to user for the installation scheme corresponding according to described applicating category information extraction.
In another preferred embodiment of the invention, described installation scheme retrieval module can also comprise following submodule:
Maximum installation scheme search submodule, for according to installation demand information at installation scheme corresponding to described database retrieval, and installation schemes maximum for user device configuration in multiple installation schemes of coupling is returned to user;
Or,
Up-to-date installation scheme retrieval submodule, for according to installation demand information at installation scheme corresponding to described database retrieval, and the installation scheme of up-to-date generation in multiple installation schemes of coupling is returned to user.
In a kind of preferred embodiment of the present invention, described hardware information comprises hardware parameter information, and described hardware detection submodule comprises:
Bottom hardware access submodule, for receiving the hardware detection request that subscriber equipment is initiated, starts hardware detection driver according to hardware detection request; Use hardware detection driver access bottom hardware, obtain the hardware identifier information in subscriber equipment;
Hardware parameter information extraction submodule, for according to described hardware identifier information, extracts corresponding hardware parameter information in preset hardware information storehouse.
Because described device embodiment is substantially corresponding to the embodiment of the method shown in preceding method, therefore not detailed part in the description of the present embodiment, see the related description in previous embodiment, just can not repeat at this.
The embodiment of the present invention not only can be applied in the applied environment of single device, can also be applied to the applied environment of client-server, or is applied to further in the applied environment based on cloud.
Because described device embodiment is substantially corresponding to preceding method embodiment, therefore not detailed part in the description of the present embodiment, see the related description in previous embodiment, just can not repeat at this.Module, submodule and unit involved in apparatus of the present invention embodiment and system embodiment can be software, and can be hardware, also can be the combination of software and hardware.
The present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, the distributed computing environment comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Above the generation method of a kind of installation scheme provided by the present invention and a kind of generating apparatus of installation scheme are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.