Summary of the invention
To application program in the correlation technique after installing because hardware environment existing problems and can't move the problem that causes the user experience reduction; The present invention proposes a kind of install processing method and device and server of application program; Can, application program detect whether support this system hardware environment before installing; Carry out anticipation in advance, make the user just can learn whether the terminal can move this application program before application program is downloaded and installed, thereby improved user experience.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, a kind of install processing method of application program is provided, has it is characterized in that, the install processing method of this application program comprises:
Obtain at the terminal before the file of application program, confirm the Hardware configuration at terminal;
Judge according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program, dispose the Hardware configuration requirement that runs application required in the hardware information storehouse;
Do not satisfy in the Hardware configuration of judging the terminal under the situation of service requirement and point out.
This method may further include: obtain at the terminal before the file of application program, judge that whether the terminal has the Runtime Library in the pre-configured Runtime Library tabulation, wherein, disposes the required Runtime Library that runs application in the Runtime Library tabulation; Do not have the required whole Runtime Libraries that run application if judged result is the terminal, when then the terminal obtains the file of application program, further obtain the required Runtime Library that runs application that the terminal lacks;
And this install processing method further comprises: the download address of the required Runtime Library that runs application that the terminal is lacked is notified to the terminal, obtains the required Runtime Library that runs application that the terminal lacks by the terminal according to download address.
In addition, the service requirement of application program comprises the run application information of required Hardware configuration of expression; And, be lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application in the performance of the Hardware configuration at terminal, judge that the Hardware configuration at terminal does not satisfy service requirement.
In addition; Dispose in the hardware information storehouse according to the multiple hardwares configuration after the performance ordering; Every kind of Hardware configuration all is configured corresponding label; This label is used to represent the performance of corresponding Hardware configuration, and, comprise minimum hardware configuration and corresponding label that the application program operation is required in the multiple hardwares configuration;
And; Judge that according to pre-configured hardware information storehouse and the hardware configuration information that obtains the service requirement whether Hardware configuration at terminal satisfies application program comprises: pairing label of Hardware configuration and the required corresponding label of minimum hardware configuration of application program operation according to terminal in the hardware information storehouse confirm whether the performance of the Hardware configuration at terminal is higher than the performance that the required minimum hardware of application program operation disposes; If confirm that the result for not, judges that then the Hardware configuration at terminal does not satisfy the service requirement of application program.
Wherein, alternatively, dispose in the hardware information storehouse in the following information one of at least: according to the multiple CPU model after the performance ordering, according to the multiple memory configurations after the performance ordering, according to the multiple display card configuration after the performance ordering; And the performance of at least a Hardware configuration in CPU, display card and the internal memory at terminal is lower than under the situation of the corresponding minimum hardware configuration in the hardware information storehouse, judges that the Hardware configuration at terminal does not satisfy the service requirement of application program.
This method may further include: obtain at the terminal before the file of application program; The patch file that judges whether to exist the current version of the application program that the terminal needs obtain to install according to predetermined patch file tabulation; Wherein, a plurality of versions that dispose application program in the Runtime Library tabulation and each version the patch file that can install tabulate;
If judged result is the patch file that exists the application program of current version to install; Then this patch file is prompted to the user; When obtaining the file of application program at the terminal, further obtain the patch file that the application program of current version can be installed according to user's selection.
And; If judged result is the patch file that exists the current version of the application program that the terminal need obtain to install; This install processing method may further include: the download address of the patch file that the current version of application program can be installed is notified to the terminal, obtains patch file by the terminal according to the download address that the user selects.
This method may further include: if the Hardware configuration at terminal satisfies under the situation of the service requirement of application program or the user obtains application program at the definite needs in quilt prompting back file, the terminal obtains the also file of set up applications.
Alternatively, application program comprise following one of at least: Games Software, tool software etc.
A kind of installation treatment device of application program is provided according to a further aspect in the invention.
This device comprises: determination module is used for before the terminal obtains the file of application program, confirming the Hardware configuration at terminal; Notification module, the Hardware configuration that is used for the terminal that determination module is definite is notified to server, whether satisfies the service requirement of application program so that server is judged the Hardware configuration at terminal; Processing module is used for the judged result that reception server returns, and is to point out under the situation of the Hardware configuration at the terminal service requirement that do not satisfy application program in judged result.
Wherein, the service requirement of application program comprises the run application information of required Hardware configuration of expression; Processing module is further used for performance in the Hardware configuration at terminal and is lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application, and judges that the Hardware configuration at terminal does not satisfy service requirement.
This device can further comprise: installed module, be used for satisfying under the situation of the service requirement of application program or the user obtains application program at quilt prompting back affirmation needs file in the Hardware configuration at terminal, and obtain the also file of set up applications;
And determination module also is used for confirming the existing Runtime Library in terminal;
And notification module also is used for the existing Runtime Library in terminal is notified to server, whether satisfies the service requirement of application program so that server is judged the Runtime Library at terminal;
Processing module also is used for the Runtime Library judged result that reception server returns, and wherein, comprises the download address of the required Runtime Library that runs application that the terminal lacks in the Runtime Library judged result;
Installed module also be used for obtain and the situation of the file of set up applications under, obtain and the installation and operation storehouse according to download address.
Further, processing module also is used to receive the patch judged result from server, wherein, comprises patch file tabulation and corresponding download address that the current version of application program can be installed in the patch judged result; Installed module also be used for obtain and the situation of the file of set up applications under, obtain patch file according to the download address that the user selects.
According to a further aspect in the invention, a kind of server also is provided.
This server can comprise: receiver module is used for the Hardware configuration of the receiving terminal from the terminal; Judge module is used for judging according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program, disposes the Hardware configuration requirement that runs application required in the hardware information storehouse; Notification module is used for the judged result of judge module is notified to the terminal.
Wherein, the service requirement of application program comprises the run application information of required Hardware configuration of expression; And, being lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application in the performance of the Hardware configuration at terminal, judge module judges that the Hardware configuration at terminal does not satisfy service requirement;
And receiver module also is used for the reception Runtime Library information from the terminal, the Runtime Library that Runtime Library information representation terminal has; Judge module also is used for judging that according to Runtime Library information whether the terminal has the Runtime Library of pre-configured Runtime Library tabulation, wherein, disposes the required Runtime Library that runs application in the Runtime Library tabulation;
The judged result that notification module also is used at judge module is that the terminal does not have under the situation of the required whole Runtime Libraries that run application, and the download address of the required Runtime Library that runs application that the terminal is lacked is notified to the terminal.
Wherein, judge module also is used for the patch file that judges whether to exist the current version of the application program that the terminal needs obtain to install according to predetermined patch file tabulation; The judged result that notification module also is used at judge module is under the situation that is; The download address of the patch file that the current version of the application program that the terminal need be obtained can be installed is notified to the terminal, obtains the required Runtime Library that runs application that the terminal lacks by the terminal according to download address.
In addition; Dispose in the hardware information storehouse according to the multiple hardwares configuration after the performance ordering; Every kind of Hardware configuration all is configured corresponding label; This label is used to represent the performance of corresponding Hardware configuration, and, comprise minimum hardware configuration and corresponding label that the application program operation is required in the multiple hardwares configuration; And; Judge module is further used for confirming according to the pairing label of Hardware configuration at terminal in the hardware information storehouse and the required corresponding label of minimum hardware configuration of application program operation whether the performance of the Hardware configuration at terminal is higher than the performance of the required minimum hardware configuration of application program operation; If confirming the result is not, then judge module judges that the Hardware configuration at terminal does not satisfy the service requirement of application program.
The present invention is through judging according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program; Can, application program detect whether support this system hardware environment or software environment before installing; Carry out anticipation in advance; Make the user before application program is downloaded and installed, just can learn whether the terminal can move this application program; Avoid under the situation that the user can't run application at the terminal, the unnecessarily download of executive utility and installation, thus improved user experience.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtained belongs to the scope that the present invention protects.
According to embodiments of the invention, a kind of install processing method of application program is provided.
As shown in Figure 1, comprise according to the install processing method of the application program of the embodiment of the invention:
Step S101 obtains at the terminal before the file of application program (this application program can be Games Software, tool software or other software programs), confirms the Hardware configuration at terminal;
Step S103 judges according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program, disposes the Hardware configuration requirement that runs application required in the hardware information storehouse;
Step S105 does not satisfy in the Hardware configuration of judging the terminal under the situation of service requirement and points out.
Particularly, the service requirement of application program comprises the run application information of required Hardware configuration of expression; And, be lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application in the performance of the Hardware configuration at terminal, judge that the Hardware configuration at terminal does not satisfy service requirement.
The install processing method of this application program further comprises:
Obtain at the terminal before the file of application program, judge that whether the terminal has the Runtime Library in the pre-configured Runtime Library tabulation, wherein, disposes the required Runtime Library that runs application in the Runtime Library tabulation;
Do not have the required whole Runtime Libraries that run application if judged result is the terminal, when then the terminal obtains the file of application program, further obtain the required Runtime Library that runs application that the terminal lacks.Wherein, If being the terminal, judged result do not have the required whole Runtime Libraries that run application; This install processing method further comprises: the download address of the required Runtime Library that runs application that the terminal is lacked is notified to the terminal, obtains the required Runtime Library that runs application that the terminal lacks by the terminal according to download address.
For example, for an application program, can comprise the required vcredist_x86vc2005,2008 of this application program of operation, directx, openal, physx, msxml, visual c++, net framework etc. in this Runtime Library tabulation.Be not present on the terminal if judge the required Runtime Library of this application program operation, then when application program, download and install Shi Yijian on the backstage the required Runtime Library of this application program of download/installation and operation.
In addition; Dispose in the hardware information storehouse according to the multiple hardwares configuration after the performance ordering; Every kind of Hardware configuration all is configured corresponding label; This label is used to represent the performance of corresponding Hardware configuration, and, comprise minimum hardware configuration and corresponding label that the application program operation is required in the multiple hardwares configuration;
And; When judging with the hardware configuration information that obtains whether the Hardware configuration at terminal satisfies the service requirement of application program according to pre-configured hardware information storehouse; Can confirm whether the performance of the Hardware configuration at terminal is higher than the performance of the required minimum hardware configuration of application program operation according to the pairing label of Hardware configuration and the required corresponding label of minimum hardware configuration of application program operation at terminal in the hardware information storehouse; If confirm that the result for not, judges that then the Hardware configuration at terminal does not satisfy the service requirement of application program.
Wherein, Dispose in the hardware information storehouse in the following information one of at least: (this model list is carried out performance ordering (also can be to carry out the performance ordering from low to high) from high to low with most of CPU on the market according to the multiple CPU model after the performance ordering; Describing of different performance with different labels; The label that performance is good more is big more, and the label of same performance is consistent), according to the multiple memory configurations after the performance ordering (the same CPU of this memory configurations list ordering rule), according to the multiple display card configuration (the same CPU of this video card configured list ordering rule) after the performance ordering.
Suppose in the hardware information storehouse, to dispose model and the corresponding label of four kinds of CPU, label is used to represent the performance of every kind of CPU, for example; The label of CPU 1 is 10; The label of CPU 2 is 9, and the label of CPU 3 is 8, and the label of CPU 4 is 7; The big more expression performance of index value is good more, and CPU 3 is the required minimum CPU configuration requirements of this application program of operation.If acquisition request and the CPU model that the terminal of this application program is installed are CPU 4; Then this moment can be at the performance label of these CPU 4 correspondences of hardware information library lookup; And the performance label of the performance label of this CPU 4 and CPU 3 (moving the desired minimum CPU configuration of this application program) compared, can judge that the performance label of CPU 4 is lower than the performance label of CPU 3, therefore; The CPU configuration that can draw this terminal can not be satisfied the service requirement of this application program, and this terminal can be pointed out.
In addition, except size, can also only whether be higher than the performance of the desired minimalist configuration of this application program according to the Hardware configuration performance at this terminal of position judgment of sorting according to label.
For video card, internal memory and other Hardware configuration, can adopt similar mode equally, enumerate no longer one by one here.
And, can the performance at least a or any one Hardware configuration in CPU, display card and the internal memory at terminal be lower than under the situation of the corresponding minimum hardware configuration in the hardware information storehouse, judge that the Hardware configuration at terminal does not satisfy the service requirement of application program.
The install processing method of this application program also further comprises:
Obtain at the terminal before the file of application program; The patch file that judges whether to exist the current version of the application program that the terminal needs obtain to install according to predetermined patch file tabulation; Wherein, The a plurality of versions that dispose application program in the Runtime Library tabulation and each version the patch file that can install tabulate, the patch file in this tabulation can comprise current version application program can support the Chinesizing patch, crack patch, upgrade patch and DLC patch etc.;
If judged result is the patch file that exists the application program of current version to install; Then this patch file is prompted to the user; When obtaining the file of application program at the terminal, further obtain the patch file that the application program of current version can be installed according to user's selection.
Wherein, If judged result is the patch file that exists the current version of the application program that the terminal need obtain to install; At the file that obtains this application program or before this application program is installed; The download address of the patch file that can the current version of application program can be installed is notified to the terminal, is selected download address and is obtained corresponding patch file by the terminal.
In addition, if the Hardware configuration at terminal satisfies under the situation of the service requirement of application program or the user obtains application program at the definite needs in quilt prompting back file, the terminal obtains the also file of set up applications.
According to embodiments of the invention, a kind of installation treatment device of application program also is provided, this device can be arranged in the terminal, also can be independent of the terminal and be provided with.
As shown in Figure 2, the installation treatment device of the application program of the embodiment of the invention comprises:
Determination module 21 is used for before the terminal obtains the file of application program, confirming the Hardware configuration at terminal;
Notification module 22, the Hardware configuration at the terminal that is used for determination module 21 is confirmed is notified to server, whether satisfies the service requirement of application program so that server is judged the Hardware configuration at terminal;
Processing module 23 is used for the judged result that reception server returns, and is to point out under the situation of the Hardware configuration at the terminal service requirement that do not satisfy application program in judged result.
Particularly, the service requirement of application program comprises the run application information of required Hardware configuration of expression; And, being lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application in the performance of the Hardware configuration at terminal, processing module judges that the Hardware configuration at terminal does not satisfy service requirement.
This device further comprises:
The installed module (not shown) is used for satisfying under the situation of the service requirement of application program or the user obtains application program at quilt prompting back affirmation needs file in the Hardware configuration at terminal, obtains the also file of set up applications.
Wherein, determination module 21 also is used for confirming the existing Runtime Library in terminal;
And notification module 22 also is used for the existing Runtime Library in terminal is notified to server, whether satisfies the service requirement of application program so that server is judged the Runtime Library at terminal;
Processing module 23 also is used for the Runtime Library judged result that reception server returns, and wherein, comprises the download address of the required Runtime Library that runs application that the terminal lacks in the Runtime Library judged result;
Installed module also be used for obtain and the situation of the file of set up applications under, obtain and the installation and operation storehouse according to download address.
Wherein, processing module 23 also is used to receive the patch judged result from server, wherein, comprises patch file tabulation and corresponding download address that the current version of application program can be installed in the patch judged result;
Installed module also be used for obtain and the situation of the file of set up applications under, obtain patch file according to the download address that the user selects.
At the hardware at terminal support application program and when pointing out, can pointing out not, can also point out through the mode of sound through the mode that shows dialog box.In the dialog box that shows; Can all minimum hardware configurations that run application required be shown to the user, in addition, also can this a part of Hardware configuration that does not satisfy the application program service requirement be shown to the user; Can also in dialog box, add and confirm button of installing and the button of cancelling installation; Under the situation that the button of confirming to install is pressed,, but still can install even the Hardware configuration at terminal can not satisfy service requirement.In addition; For confirming that the button of installing can be provided with the guard time section; Get into the guard time section at the dialog box At time of eject; ACK button is not activated (this button can not be pressed) in this time period, after this time period, and the button that activation confirmation is installed (making the user can press the button that this affirmation is installed).The button that cancellation is installed can be activated after dialog box ejects immediately, and the user can cancel installation at any time.
According to embodiments of the invention, a kind of server is provided also.
As shown in Figure 3, the server of the embodiment of the invention comprises:
Receiver module 31 is used for the Hardware configuration of the receiving terminal from the terminal;
Judge module 32 is used for judging according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program, disposes the Hardware configuration requirement that runs application required in the hardware information storehouse;
Notification module (being different from the notification module 22 in the terminal) 33 is used for the judged result of judge module 32 is notified to the terminal.
Particularly, the service requirement of application program comprises the run application information of required Hardware configuration of expression; And, being lower than under the situation of performance that Hardware configuration requires the represented required Hardware configuration that runs application in the performance of the Hardware configuration at terminal, the Hardware configuration at judge module 32 judgement terminals does not satisfy service requirement.
Wherein, receiver module 31 also is used for the reception Runtime Library information from the terminal, the Runtime Library that Runtime Library information representation terminal has;
Judge module 32 also is used for judging that according to Runtime Library information whether the terminal has the Runtime Library of pre-configured Runtime Library tabulation, wherein, disposes the required Runtime Library that runs application in the Runtime Library tabulation;
The judged result that notification module 33 also is used at judge module 32 is that the terminal does not have under the situation of the required whole Runtime Libraries that run application, and the download address of the required Runtime Library that runs application that the terminal is lacked is notified to the terminal.
And judge module 32 also is used for the patch file that judges whether to exist the current version of the application program that the terminal needs obtain to install according to predetermined patch file tabulation;
The judged result that notification module 33 also is used at judge module 32 is under the situation that is, the download address of the patch file that the current version of the application program that the terminal need be obtained can be installed is notified to the terminal.The download address of the required Runtime Library that runs application that the terminal is lacked is notified to the terminal, obtains the required Runtime Library that runs application that the terminal lacks by the terminal according to download address.
Wherein, Dispose in the hardware information storehouse according to the multiple hardwares configuration after the performance ordering; Every kind of Hardware configuration all is configured corresponding label; This label is used to represent the performance of corresponding Hardware configuration, and, comprise minimum hardware configuration and corresponding label that the application program operation is required in the multiple hardwares configuration;
And; Judge module 32 is further used for confirming according to the pairing label of Hardware configuration at terminal in the hardware information storehouse and the required corresponding label of minimum hardware configuration of application program operation whether the performance of the Hardware configuration at terminal is higher than the performance of the required minimum hardware configuration of application program operation; If confirming the result is that then the Hardware configuration at judge module 32 judgement terminals does not satisfy the service requirement of application program.
In practical application, can realize the judgement of terminal hardware configuration through cloud computing, at this moment, can in Cloud Server, deposit a recreation storehouse; This recreation storehouse is structural data, comprises following field: recreation ID, game download address, game version number; OS (operating system) tabulation of supporting, the minimum hardware configured list during operation (comprises CPU, internal memory, video card; The information such as hard drive space that need), the Runtime Library tabulation that needs during operation (comprises whether needs reach version: vcredist_x86vc2005,2008, directx as follows; Openal, physx, msxml; Visual c++ .net framework can be with the download address of this plug-in unit in the time of if desired); List of patches (identify what game version scope what patch can be installed, patch can comprise the Chinesizing patch, crack patch, DLC patch, upgrade patch etc., and the download address that can preserve each patch simultaneously).
In addition; Can also in this Cloud Server, deposit a hardware storehouse, (the performance ordering is carried out in this tabulation all CPU on the market from high to low, the describing with different labels of different performance to comprise CPU tabulation; The label that performance is good more is big more; The label of same performance is consistent), internal memory tabulation (the same CPU of sortord), video card tabulation (the same CPU of sortord).
More than recreation storehouse and hardware storehouse are safeguarded by manual work or automated procedures; When client is moved, having a hardware acquisition program moves at subscriber's local; And hardware information is kept in this locality, download games storehouse and hardware storehouse from Cloud Server, do following judgement inspection:
Judge that certain recreation whether can installation and operation: find this hardware rank position A in the hardware storehouse according to local hardware information, tabulate according to minimum hardware in this recreation storehouse and find this hardware rank position B in the hardware storehouse, if A is greater than B then judge and pass through.This judgement comprises CPU, internal memory, video card.If through judging, indicate that this recreation can reach system requirements, then this gaming display can download and install, otherwise carries out the unsupported prompting of hardware, alternatively, when prompting, can minimalist configuration be shown to the user.
Judge whether certain recreation needs Runtime Library: according to the operation tabulation of disposing in the recreation storehouse, after recreation installed, a key was installed the operation plug-in unit that needs automatically, such as dx.
Judge whether certain recreation needs patch installing: when maybe this recreation installed for the first time before the game running, according to the patch table that disposes in the recreation storehouse, the prompting user beat follow-up patch.
Similarly, for the application program of other types, can make up corresponding Cloud Server and above-mentioned hardware storehouse, Runtime Library, patch storehouse etc. equally.
In sum; By means of technique scheme of the present invention; Through judging according to the Hardware configuration at pre-configured hardware information storehouse and terminal whether the Hardware configuration at terminal satisfies the service requirement of application program, can, application program detect whether support this system hardware environment or software environment before installing, carry out anticipation in advance; Make the user before application program is downloaded and installed, just can learn whether the terminal can move this application program; Avoid under the situation that the user can't run application at the terminal, the unnecessarily download of executive utility and installation, thus improved user experience; And scheme of the present invention can also judge whether the terminal possesses the required Runtime Library that runs application, thereby guarantees that the terminal when the application program that the needs operation is installed, possesses the required Runtime Library of this application program of operation, guarantees that this application can normally move; In addition, can also be prompted to the user to the patch file relevant, so that the user improves according to the required patch file application programs of demand download and/or upgrades with this application program.
More than be merely preferred embodiment of the present invention, or not all within spirit of the present invention and principle in order to restriction the present invention, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.