Summary of the invention
Cannot run due to hardware environment existing problems the problem causing Consumer's Experience to reduce after mounting for application program in correlation technique, the present invention proposes a kind of install processing method of application program and device and server, can detect whether support this System Hardware Environment before application program is installed, carry out anticipation in advance, user just can be learnt before application program is downloaded and installed, and whether terminal can run this application program, thus improves Consumer's Experience.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, provide a kind of install processing method of application program, it is characterized in that, the install processing method of this application program comprises:
Obtain the file of application program in terminal before, determine the hardware configuration of terminal;
Hardware configuration according to pre-configured hardware information storehouse and terminal judges whether the hardware configuration of terminal meets the service requirement of application program, is configured with the hardware configuration requirement running application required in hardware information storehouse;
Point out when judging that the hardware configuration of terminal does not meet service requirement.
The method may further include: obtain the file of application program in terminal before, judge whether terminal has the Runtime Library in pre-configured Runtime Library list, wherein, be configured with the required Runtime Library that runs application in Runtime Library list; If judged result is terminal do not have the required whole Runtime Libraries that run application, then when terminal obtains the file of application program, obtain the required Runtime Library that runs application that terminal lacks further;
Further, this install processing method comprises further: the download address of the required Runtime Library that runs application terminal lacked informs to terminal, the required Runtime Library that runs application lacked according to download address acquisition terminal by terminal.
In addition, the service requirement of application program comprises the information representing the required hardware configuration that runs application; Further, when the performance of the required hardware configuration that runs application represented by the performance of the hardware configuration of terminal requires lower than hardware configuration, judge that the hardware configuration of terminal does not meet service requirement.
In addition, the configuration of the multiple hardwares after according to performance ranking is configured with in hardware information storehouse, often kind of hardware configuration is all configured corresponding label, this label is for representing the performance of corresponding hardware configuration, further, multiple hardwares configuration comprise application program run needed for minimum hardware configuration and the label of correspondence;
And, judge that the service requirement whether hardware configuration of terminal meets application program comprises according to the hardware configuration information of pre-configured hardware information storehouse and acquisition: the label corresponding to the hardware configuration of terminal in hardware information storehouse and application program run needed for the performance of hardware configuration of label determination terminal corresponding to minimum hardware configuration whether run higher than application program needed for the performance of minimum hardware configuration, if determination result is no, then judge that the hardware configuration of terminal does not meet the service requirement of application program.
Wherein, alternatively, be configured with in hardware information storehouse in following information one of at least: according to the multiple CPU model after performance ranking, according to the multiple memory configurations after performance ranking, according to the multiple display card configuration after performance ranking; Further, the performance of at least one hardware configuration in the CPU of terminal, display card and internal memory is lower than corresponding minimum hardware configuration in hardware information storehouse, judge that the hardware configuration of terminal does not meet the service requirement of application program.
The method may further include: obtain the file of application program in terminal before, the patch file that the current version that there is the application program that terminal needs obtain can be installed is judged whether according to predetermined patch file list, wherein, the patch file list that multiple version of application program and each version can be installed is configured with in Runtime Library list;
If judged result is the patch file that the application program that there is current version can be installed, then this patch file is prompted to user, when terminal obtains the file of application program, the patch file that the application program obtaining current version according to the selection of user further can be installed.
And, if judged result is the patch file that the current version that there is the application program that terminal needs obtain can be installed, this install processing method may further include: the download address of the patch file can installed by the current version of application program informs to terminal, and the download address selected according to user by terminal obtains patch file.
The method may further include: if the hardware configuration of terminal meets the service requirement of application program or user when determining after being prompted that needs obtain the file of application program, terminal obtains and the file of set up applications.
Alternatively, application program comprise following one of at least: Games Software, tool software etc.
According to a further aspect in the invention, a kind of installation process device of application program is provided.
This device comprises: determination module, for before the file of terminal acquisition application program, determines the hardware configuration of terminal; Notification module, the hardware configuration for the terminal determined by determination module informs to server, so that server judges whether the hardware configuration of terminal meets the service requirement of application program; Processing module, for the judged result that reception server returns, and points out when the hardware configuration that judged result is terminal does not meet the service requirement of application program.
Wherein, the service requirement of application program comprises the information representing the required hardware configuration that runs application; When the performance of the required hardware configuration that runs application represented by the processing module performance be further used in the hardware configuration of terminal requires lower than hardware configuration, judge that the hardware configuration of terminal does not meet service requirement.
This device can comprise further: installation module, service requirement or user for meeting application program in the hardware configuration of terminal confirm that after being prompted needs obtain the file of application program, obtains and the file of set up applications;
Further, determination module is also for determining the existing Runtime Library of terminal;
Further, notification module also for existing for terminal Runtime Library is informed to server so that server judges whether the Runtime Library of terminal meets the service requirement of application program;
Processing module, also for the Runtime Library judged result that reception server returns, wherein, comprises the download address of the required Runtime Library that runs application that terminal lacks in Runtime Library judged result;
Installation module also for when obtaining the file of also set up applications, obtains and installation and operation storehouse according to download address.
Further, processing module also for receiving the patch judged result from server, wherein, the download address of the patch file list that the current version comprising application program in patch judged result can be installed and correspondence; Installation module, also for when obtaining the file of also set up applications, obtains patch file according to the download address that user selects.
According to a further aspect in the invention, a kind of server is additionally provided.
This server can comprise: receiver module, for the hardware configuration from terminal receiving terminal; Judge module, for judging whether the hardware configuration of terminal meets the service requirement of application program according to the hardware configuration in pre-configured hardware information storehouse and terminal, is configured with the hardware configuration requirement running application required in hardware information storehouse; Notification module, for informing to terminal by the judged result of judge module.
Wherein, the service requirement of application program comprises the information representing the required hardware configuration that runs application; Further, when the performance of the required hardware configuration that runs application represented by the performance of the hardware configuration of terminal requires lower than hardware configuration, judge module judges that the hardware configuration of terminal does not meet service requirement;
Further, receiver module is also for receiving Runtime Library information from terminal, and Runtime Library information represents the Runtime Library that terminal has; Judge module also for judging according to Runtime Library information whether terminal has the Runtime Library in pre-configured Runtime Library list, wherein, is configured with the required Runtime Library that runs application in Runtime Library list;
Notification module also in the judged result of judge module be terminal not there is the whole Runtime Library running application required, the download address of the required Runtime Library that runs application terminal lacked informs to terminal.
Wherein, judge module is also for judging whether the patch file that the current version that there is the application program that terminal needs obtain can be installed according to predetermined patch file list; Notification module is also for when the judged result of judge module is for being, the download address of patch file terminal being needed the current version of the application program obtained to install informs to terminal, the required Runtime Library that runs application lacked according to download address acquisition terminal by terminal.
In addition, the configuration of the multiple hardwares after according to performance ranking is configured with in hardware information storehouse, often kind of hardware configuration is all configured corresponding label, this label is for representing the performance of corresponding hardware configuration, further, multiple hardwares configuration comprise application program run needed for minimum hardware configuration and the label of correspondence; And, the performance whether performance that judge module is further used for the hardware configuration of the label determination terminal of the label corresponding to the hardware configuration of terminal in hardware information storehouse and the minimum hardware configuration correspondence needed for application program operation configures higher than the minimum hardware needed for application program operation, if determination result is no, then judge module judges that the hardware configuration of terminal does not meet the service requirement of application program.
According to the hardware configuration of pre-configured hardware information storehouse and terminal, the present invention is by judging whether the hardware configuration of terminal meets the service requirement of application program, can detect whether support this System Hardware Environment or software environment before application program is installed, carry out anticipation in advance, user just can be learnt before application program is downloaded and installed, and whether terminal can run this application program, avoid user when terminal cannot run application, the unnecessarily download of executive utility and installation, thus improve Consumer's Experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of install processing method of application program.
As shown in Figure 1, comprise according to the install processing method of the application program of the embodiment of the present invention:
Step S101, before obtaining the file of application program (this application program can be Games Software, tool software or other software programs), determines the hardware configuration of terminal in terminal;
Step S103, the hardware configuration according to pre-configured hardware information storehouse and terminal judges whether the hardware configuration of terminal meets the service requirement of application program, is configured with the hardware configuration requirement running application required in hardware information storehouse;
Step S105, points out when judging that the hardware configuration of terminal does not meet service requirement.
Particularly, the service requirement of application program comprises the information representing the required hardware configuration that runs application; Further, when the performance of the required hardware configuration that runs application represented by the performance of the hardware configuration of terminal requires lower than hardware configuration, judge that the hardware configuration of terminal does not meet service requirement.
The install processing method of this application program comprises further:
Obtain the file of application program in terminal before, judge whether terminal has the Runtime Library in pre-configured Runtime Library list, wherein, in Runtime Library list, be configured with the required Runtime Library that runs application;
If judged result is terminal do not have the required whole Runtime Libraries that run application, then when terminal obtains the file of application program, obtain the required Runtime Library that runs application that terminal lacks further.Wherein, if judged result is terminal do not have the required whole Runtime Libraries that run application, this install processing method comprises further: the download address of the required Runtime Library that runs application terminal lacked informs to terminal, the required Runtime Library that runs application lacked according to download address acquisition terminal by terminal.
Such as, for an application program, vcredist_x86vc2005,2008, directx, openal, physx, msxml, visualc++, the net framework etc. that run needed for this application program in this Runtime Library list, can be comprised.If it is determined that the Runtime Library needed for the operation of this application program is not present in terminal, then download and install the Runtime Library of Shi Yijian needed for this application program of backstage download/installation and operation when application program.
In addition, the configuration of the multiple hardwares after according to performance ranking is configured with in hardware information storehouse, often kind of hardware configuration is all configured corresponding label, this label is for representing the performance of corresponding hardware configuration, further, multiple hardwares configuration comprise application program run needed for minimum hardware configuration and the label of correspondence;
And, when judging whether the hardware configuration of terminal meets the service requirement of application program according to the hardware configuration information in pre-configured hardware information storehouse and acquisition, can label corresponding to the hardware configuration of terminal in hardware information storehouse and application program run needed for the performance of hardware configuration of label determination terminal corresponding to minimum hardware configuration whether run higher than application program needed for the performance of minimum hardware configuration, if determination result is no, then judge that the hardware configuration of terminal does not meet the service requirement of application program.
Wherein, be configured with in hardware information storehouse in following information one of at least: according to the multiple CPU model after performance ranking, (most of CPU are on the market carried out performance ranking (also can be carry out performance ranking from low to high) by this model list from high to low, describing with different labels of different performance, the label that performance is better is larger, the label of same performance is consistent), according to the multiple memory configurations (the same CPU of this memory configurations list ordering rule) after performance ranking, according to multiple display card configuration (the same CPU of this video card configured list ordering rule) after performance ranking.
Suppose in hardware information storehouse, be configured with the model of four kinds of CPU and the label of correspondence, label is for representing the performance of often kind of CPU, such as, the label of CPU 1 is 10, the label of the label of CPU 2 to be the label of 9, CPU 3 be 8, CPU 4 is 7, the larger expression performance of index value is better, and CPU 3 runs the minimum CPU configuration requirement needed for this application program.If acquisition request the CPU model of installing the terminal of this application program is CPU 4, then now can at the performance label of this CPU 4 correspondence of hardware information library lookup, and the performance label of the performance label of this CPU 4 and CPU 3 (the minimum CPU run required by this application program configures) is compared, the performance label of performance label lower than CPU 3 of CPU 4 can be judged, therefore, can show that the CPU configuration of this terminal can not meet the service requirement of this application program, this terminal can be pointed out.
In addition, except the size according to label, can also only according to the hardware configuration performance of this terminal of position judgment of sequence whether higher than the performance of the minimalist configuration required by this application program.
For video card, internal memory and other hardware configuration, similar mode can be adopted equally, will not enumerate here.
Further, can the performance of at least one in the CPU of terminal, display card and internal memory or any one hardware configuration lower than corresponding minimum hardware configuration in hardware information storehouse, judge that the hardware configuration of terminal does not meet the service requirement of application program.
The install processing method of this application program also comprises further:
Obtain the file of application program in terminal before, the patch file that the current version that there is the application program that terminal needs obtain can be installed is judged whether according to predetermined patch file list, wherein, be configured with the patch file list that multiple version of application program and each version can be installed in Runtime Library list, the application program that the patch file in this list can comprise current version can support Chinesizing patch, crack patch, upgrade patch and DLC patch etc.;
If judged result is the patch file that the application program that there is current version can be installed, then this patch file is prompted to user, when terminal obtains the file of application program, the patch file that the application program obtaining current version according to the selection of user further can be installed.
Wherein, if judged result is the patch file that the current version that there is the application program that terminal needs obtain can be installed, obtain this application program file or before this application program is installed, the download address of the patch file current version of application program can be able to installed informs to terminal, selects download address and obtain corresponding patch file by terminal.
In addition, if the hardware configuration of terminal meets the service requirement of application program or user when determining after being prompted that needs obtain the file of application program, terminal obtains and the file of set up applications.
According to embodiments of the invention, additionally provide a kind of installation process device of application program, this device can be arranged in the terminal, also can arrange independent of terminal.
As shown in Figure 2, the installation process device of the application program of the embodiment of the present invention comprises:
Determination module 21, for before the file of terminal acquisition application program, determines the hardware configuration of terminal;
Notification module 22, the hardware configuration for the terminal determined by determination module 21 informs to server, so that server judges whether the hardware configuration of terminal meets the service requirement of application program;
Processing module 23, for the judged result that reception server returns, and points out when the hardware configuration that judged result is terminal does not meet the service requirement of application program.
Particularly, the service requirement of application program comprises the information representing the required hardware configuration that runs application; Further, when the performance of the required hardware configuration that runs application represented by the performance of the hardware configuration of terminal requires lower than hardware configuration, processing module judges that the hardware configuration of terminal does not meet service requirement.
This device comprises further:
Installation module (not shown), service requirement or user for meeting application program in the hardware configuration of terminal confirm that after being prompted needs obtain the file of application program, obtains and the file of set up applications.
Wherein, determination module 21 is also for determining the existing Runtime Library of terminal;
Further, notification module 22 also for existing for terminal Runtime Library is informed to server so that server judges whether the Runtime Library of terminal meets the service requirement of application program;
Processing module 23, also for the Runtime Library judged result that reception server returns, wherein, comprises the download address of the required Runtime Library that runs application that terminal lacks in Runtime Library judged result;
Installation module also for when obtaining the file of also set up applications, obtains and installation and operation storehouse according to download address.
Wherein, processing module 23 also for receiving the patch judged result from server, wherein, the download address of the patch file list that the current version comprising application program in patch judged result can be installed and correspondence;
Installation module, also for when obtaining the file of also set up applications, obtains patch file according to the download address that user selects.
At the hardware not support application program and when pointing out of terminal, can be pointed out by the mode showing dialog box, can also be pointed out by the mode of sound.In the dialog box of display, the required all minimum hardware configurations that run application can be shown to user, in addition, also this fractional hardware configuration not meeting application program service requirement can be shown to user, the button confirming to install and the button cancelling installation can also be added in dialog box, when confirming that the button installed is pressed, even if the hardware configuration of terminal can not meet service requirement, but still can install.In addition; for confirming that the button installed can arrange guard time section; guard time section is entered when dialog box ejects; within this time period, ACK button is not activated (this button can not be pressed); after this time period, the button (making user can press the button of this confirmation installation) that activation confirmation is installed.Cancel the button installed to be activated immediately after dialog box ejects, user can cancel installation at any time.
According to embodiments of the invention, additionally provide a kind of server.
As shown in Figure 3, the server of the embodiment of the present invention comprises:
Receiver module 31, for the hardware configuration from terminal receiving terminal;
Judge module 32, for judging whether the hardware configuration of terminal meets the service requirement of application program according to the hardware configuration in pre-configured hardware information storehouse and terminal, is configured with the hardware configuration requirement running application required in hardware information storehouse;
Notification module (being different from the notification module 22 in terminal) 33, for informing to terminal by the judged result of judge module 32.
Particularly, the service requirement of application program comprises the information representing the required hardware configuration that runs application; Further, when the performance of the required hardware configuration that runs application represented by the performance of the hardware configuration of terminal requires lower than hardware configuration, judge module 32 judges that the hardware configuration of terminal does not meet service requirement.
Wherein, receiver module 31 is also for receiving Runtime Library information from terminal, and Runtime Library information represents the Runtime Library that terminal has;
Judge module 32 also for judging according to Runtime Library information whether terminal has the Runtime Library in pre-configured Runtime Library list, wherein, is configured with the required Runtime Library that runs application in Runtime Library list;
Notification module 33 also in the judged result of judge module 32 be terminal not there is the whole Runtime Library running application required, the download address of the required Runtime Library that runs application terminal lacked informs to terminal.
Further, judge module 32 is also for judging whether the patch file that the current version that there is the application program that terminal needs obtain can be installed according to predetermined patch file list;
Notification module 33 is also for when the judged result of judge module 32 is for being, the download address of patch file terminal being needed the current version of the application program obtained to install informs to terminal.The download address of the required Runtime Library that runs application terminal lacked informs to terminal, the required Runtime Library that runs application lacked according to download address acquisition terminal by terminal.
Wherein, the configuration of the multiple hardwares after according to performance ranking is configured with in hardware information storehouse, often kind of hardware configuration is all configured corresponding label, this label is for representing the performance of corresponding hardware configuration, further, multiple hardwares configuration comprise application program run needed for minimum hardware configuration and the label of correspondence;
And, the performance whether performance that judge module 32 is further used for the hardware configuration of the label determination terminal of the label corresponding to the hardware configuration of terminal in hardware information storehouse and the minimum hardware configuration correspondence needed for application program operation configures higher than the minimum hardware needed for application program operation, if determination result is no, then judge module 32 judges that the hardware configuration of terminal does not meet the service requirement of application program.
In actual applications, the judgement of terminal hardware configuration can be realized by cloud computing, now, a game storehouse can be deposited in Cloud Server, this game storehouse is structural data, comprise following field: game ID, game download address, game version number, OS (operating system) list supported, minimum hardware configured list during operation (comprises CPU, internal memory, video card, the information such as the hard drive space needed), the Runtime Library list needed during operation (comprises the need of following and version: vcredist_x86vc2005, 2008, directx, openal, physx, msxml, visual c++, .net framework, if can with the download address of this plug-in unit while needing), list of patches (identifies any game version scope and can install what patch, patch can comprise Chinesizing patch, crack patch, DLC patch, upgrade patch etc., and the download address of each patch can be preserved) simultaneously.
In addition, a hardware storehouse can also be deposited in this Cloud Server, (this list will carry out performance ranking by all CPU on the market from high to low to comprise CPU list, describing with different labels of different performance, the label that performance is better is larger, the label of same performance is consistent), internal memory list (the same CPU of sortord), video card list (the same CPU of sortord).
More than game storehouse and hardware storehouse are safeguarded by artificial or automated procedures, a hardware acquisition program is had at user's local runtime when client is run, and hardware information is kept in this locality, and download games storehouse and hardware storehouse from Cloud Server, do and judge as follows to check:
Judge that certain game whether can installation and operation: this hardware rank position A found in hardware storehouse according to local hardware information, according to this hardware rank position B that minimum hardware list in this game storehouse is found in hardware storehouse, if A is greater than B, judges to pass through.This judgement comprises CPU, internal memory, video card.If by judging, indicate that this game can reach system requirements, then this game display can download and install, otherwise carries out the prompting that hardware do not support, alternatively, when pointing out, minimalist configuration can be shown to user.
Judge that certain game is the need of Runtime Library: according to the operation list configured in game storehouse, after game installs, the operation plug-in unit that a key Auto-mounting needs, such as dx.
Judge that certain game is the need of patch installing: when maybe this game first time installs before game running, according to the patch table configured in game storehouse, prompting user beats subsequent patch.
Similarly, for the application program of other types, corresponding Cloud Server and above-mentioned hardware storehouse, Runtime Library, patch library etc. can be built equally.
In sum, by means of technique scheme of the present invention, by judging whether the hardware configuration of terminal meets the service requirement of application program according to the hardware configuration in pre-configured hardware information storehouse and terminal, can detect whether support this System Hardware Environment or software environment before application program is installed, carry out anticipation in advance, user just can be learnt before application program is downloaded and installed, and whether terminal can run this application program, avoid user when terminal cannot run application, the unnecessarily download of executive utility and installation, thus improve Consumer's Experience, further, the solution of the present invention can also judge whether terminal possesses the required Runtime Library that runs application, thus ensures that terminal is when needing to run the application program of installing, and possesses the Runtime Library run needed for this application program, ensures that this application can normally run, in addition, the patch file relevant to this application program can also be prompted to user, carry out improving and/or upgrading so that user downloads required patch file application programs according to demand.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.