Summary of the invention
In order to solve the problem that in prior art, parent product installation kit is too large, embodiments provide the method, apparatus and system of a kind of acquisition, pushing application program.Described technical scheme is as follows:
On the one hand, provide a kind of method obtaining application program, described method comprises:
Client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs;
The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.
Described client obtains subroutine corresponding to default application program from server end, comprising:
When the application program that client terminal start-up is preset, subroutine corresponding to application program preset described in described user end to server request, and receive subroutine corresponding to described default application program that described server end returns.
Described client obtains subroutine corresponding to default application program from server end, comprising:
The subroutine that the application program preset that client reception server end pushes is corresponding.
The subroutine installation for you to choose that the described default application program of described output is corresponding, comprising:
The described client subroutine corresponding to described default application program detects, judge whether comprise local mounted application program in the subroutine that described default application program is corresponding, if, then described client exports subroutine corresponding to described default application program beyond the mounted application program in described this locality, otherwise described client exports subroutine corresponding to all described default application programs.
Before the installation kit of the described subroutine of the described download of described installation, also comprise:
The installation kit of subroutine described in described client scan, obtains the feature of described subroutine;
The feature of described subroutine and the malice feature preset are compared by described client, if the feature of described subroutine and described default malice characteristic matching, then refusal installs the installation kit of described subroutine; If the feature of described subroutine is not mated with described default malice feature, then continue the step of the installation kit performing the described subroutine of installing described download.
On the other hand, provide a kind of method of pushing application program, described method comprises:
Subroutine corresponding for default application program is sent to client by server, makes described client export subroutine installation for you to choose corresponding to described default application program;
Described server receives the request that described client downloads selects subroutine corresponding in the described default application program of installing, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.
Subroutine corresponding for default application program is sent to client by described server, comprising:
Server receives client obtains the request of subroutine corresponding to default application program;
Described server returns subroutine corresponding to described default application program according to described request to described client.
Subroutine corresponding for default application program is sent to client by described server, comprising:
Subroutine corresponding for default application program is pushed to client by server.
On the other hand, additionally provide a kind of client, described client comprises:
Acquisition module, for obtaining subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs;
Download and install module, for the instruction of subroutine corresponding to the described default application program of installing according to the selection that receives, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.
Described acquisition module, comprising:
Request unit, for when the application program that client terminal start-up is preset, to subroutine corresponding to application program preset described in server request, and receives subroutine corresponding to described default application program that described server end returns.
Described acquisition module, comprising:
Receiving element, the subroutine that the application program preset for the propelling movement of reception server end is corresponding.
Described acquisition module comprises:
Detecting unit, detects for the subroutine corresponding to described default application program, judges whether comprise local mounted application program in the subroutine that described default application program is corresponding;
Output unit, if the testing result for described detecting unit is yes, then export the subroutine that described default application program beyond the mounted application program in described this locality is corresponding, if the testing result of described detecting unit is otherwise described client exports subroutine corresponding to all described default application programs.
Described client also comprises:
Scan module, for downloading and installing before module installs the installation kit of described subroutine of described download described, scanning the installation kit of described subroutine, obtaining the feature of described subroutine; The feature of described subroutine and the malice feature preset are compared, if the feature of described subroutine and described default malice characteristic matching, then downloads and installs the installation kit that module refusal installs described subroutine described in; If the feature of described subroutine is not mated with described default malice feature, then download and install the step that module continues the installation kit performing the described subroutine of installing described download described in.
On the other hand, additionally provide a kind of server, described server comprises:
Sending module, for subroutine corresponding for default application program is sent to client, makes described client export subroutine installation for you to choose corresponding to described default application program;
Processing module, the request of subroutine corresponding in the described default application program of installing is selected for receiving described client downloads, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.
Described sending module, comprising:
Receiving element, obtains the request of subroutine corresponding to default application program for receiving client;
Return unit, for returning subroutine corresponding to described default application program according to described request to described client.
Described sending module, comprising:
Push unit, for being pushed to client by subroutine corresponding for default application program.
On the other hand, additionally provide the system of a kind of acquisition, pushing application program, described system comprises: client as above and server as above.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1. provide a kind of method obtaining application program in the present embodiment, described method comprises:
101, client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs;
102, the instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.
Alternatively, described client obtains subroutine corresponding to default application program from server end, comprising:
When the application program that client terminal start-up is preset, subroutine corresponding to application program preset described in described user end to server request, and receive subroutine corresponding to described default application program that described server end returns.
Alternatively, described client obtains subroutine corresponding to default application program from server end, comprising:
The subroutine that the application program preset that client reception server end pushes is corresponding.
Preferably, the subroutine installation for you to choose that the described default application program of described output is corresponding, comprising:
The described client subroutine corresponding to described default application program detects, judge whether comprise local mounted application program in the subroutine that described default application program is corresponding, if, then described client exports subroutine corresponding to described default application program beyond the mounted application program in described this locality, otherwise described client exports subroutine corresponding to all described default application programs.
Alternatively, before the installation kit of the described subroutine of the described download of described installation, also comprise:
The installation kit of subroutine described in described client scan, obtains the feature of described subroutine;
The feature of described subroutine and the malice feature preset are compared by described client, if the feature of described subroutine and described default malice characteristic matching, then refusal installs the installation kit of described subroutine; If the feature of described subroutine is not mated with described default malice feature, then continue the step of the installation kit performing the described subroutine of installing described download.
The beneficial effect of the present embodiment comprises: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
Embodiment 2
See Fig. 2, provide a kind of method of pushing application program in the present embodiment, described method comprises:
201, subroutine corresponding for default application program is sent to client by server, makes described client export subroutine installation for you to choose corresponding to described default application program;
202, described server receives the request that described client downloads selects subroutine corresponding in the described default application program of installing, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.
Alternatively, subroutine corresponding for default application program is sent to client by described server, comprising:
Server receives client obtains the request of subroutine corresponding to default application program;
Described server returns subroutine corresponding to described default application program according to described request to described client.
Alternatively, subroutine corresponding for default application program is sent to client by described server, comprising:
Subroutine corresponding for default application program is pushed to client by server.
The beneficial effect of the present embodiment comprises: subroutine corresponding for default application program is sent to client by server, makes described client export subroutine installation for you to choose corresponding to described default application program; Described server receives the request that described client downloads selects subroutine corresponding in the described default application program of installing, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
Embodiment 3
A kind of method obtaining application program is provided in the present embodiment, directly not pack in parent product product, but packing detecting device, detecting device is exactly a kind of application program, can inspection software with or without the detecting and alarm installed and download the high-speed downloads engine of downloader, wherein downloader is the high-speed downloads engine of lower carrier product installation kit.Detecting device and sub-product are the relations of one-to-many, detecting device can be the service of goods of many funds, parent product only need be packed detecting device, detecting device pulls from server end and pushes strategy, push strategy comprise the sub-product of needs propelling movement and detect concrete sub-product with or without the method etc. of installing, this the present embodiment is not specifically limited, pull sub-product downloader according to the selection of testing result and user from server end after detecting device completes detection, downloader can descend the installation kit of carrier product and finally complete the installation of sub-product.
See Fig. 3, the method for the acquisition application program provided in the present embodiment specifically comprises:
301, client obtains the application program preset, and starts this application program preset.
In the present embodiment, the application program preset refers to parent product, and user in this application program preset of web download, or by the application program that other is preset by obtaining this, can be not specifically limited this present embodiment.
302, when client terminal start-up pre-set programs, the subroutine that the application program preset of user end to server request is corresponding, and export subroutine corresponding to this pre-set programs, select to install for user.
In this step, during client terminal start-up pre-set programs, detecting device in the application program preset initiates request to server, to obtain subroutine corresponding to this application program preset, its sub-routine and sub-product, sub-product corresponding to application program preset may be one also may be multiple, is not specifically limited this present embodiment.
In this step, the information of default application program is carried in the request that client is initiated, after received server-side to the request of client, the subroutine corresponding according to this application program preset of information inquiry of the application program preset of carrying in request, and subroutine corresponding for this application program preset found is returned to client, after client receives subroutine corresponding to default application program, export the subroutine that this application program preset is corresponding, the subroutine corresponding by this application program preset is presented on client end interface, can select wherein certain or multiple subroutine are installed for user.
In this step, export the subroutine installation for you to choose that pre-set programs is corresponding, specifically comprise: client detects subroutine corresponding to application program preset, judge whether comprise the mounted application program in described this locality in the subroutine that described pre-set programs is corresponding, if, then described client exports subroutine corresponding to described pre-set programs beyond the mounted application program in described this locality, otherwise described client exports subroutine corresponding to all described pre-set programs.
In this step, client some application programs may have been installed, these application programs may be the same with certain subroutine corresponding to application program preset, so when client gets subroutine corresponding to default application program, detecting device can detect these subroutines, if having the program identical with mounted application program in these subroutines, does not then export this subroutine, in order to avoid user misoperation installs this application program again again, the time of waste user.Can not certainly detect by subroutine, directly all subroutines corresponding for the application program preset are exported, this present embodiment is not specifically limited.
303, client receives the instruction that user selects the subroutine of the correspondence of installing the application program preset, and downloads the installation kit of subroutine corresponding to pre-set programs, and install the installation kit of the described subroutine of described download according to this instruction to server request.
In the present embodiment, client outputs subroutine corresponding to default application program and selects for client user on interface, and client user can according to the demand of oneself, selects certain or multiple subroutine wherein to install.When user to have selected in subroutine one or more install time, detecting device pulls the downloader of the subroutine that user selects from server end, trigger the installation kit of the subroutine that downloader download user is selected, wherein the interface of downloader does not need to show on client end interface, downloader is directly from the installation kit of the subroutine of server end download user selection, and the installation kit of the subroutine after download is returned to client, after client downloads to the installation kit of subroutine, this installation kit is installed, concrete installation process belongs to this enforcement of prior art and repeats no more this.
The explanation of value, client, before installing the installation kit downloaded to, also comprises: the installation kit of subroutine described in described client scan, obtains the feature of described subroutine in the present embodiment alternatively; The feature of described subroutine and the malice feature preset are compared by described client, if the feature of described subroutine and described default malice characteristic matching, then refusal installs the installation kit of described subroutine.
In the present embodiment, in order to ensure client not by Viral interference, before the installation kit installing subroutine, first checking and killing virus is carried out to this installation kit, to confirm whether carry virus in this installation kit.If find that it is rogue program, then refusal is installed this subroutine and is exported the information of forbidding installing, and this program of prompting user is by virus infections.In the present embodiment, " feature and the malice characteristic matching preset of application program " can refer to that the feature of application program is identical with the malice feature preset, also the feature of application program and the malice feature similarity preset can be referred to (such as: the feature of more than 85% or 97% is identical with the malice feature preset, ratio herein or data can be presetting according to carrying out), this present embodiment is not specifically limited.
In the present embodiment, the malice feature preset can be stored in rogue program storehouse, this malice feature refers to the virus that client can be disturbed normally to run, concrete, the sample of virus can be obtained in advance, such as: the sample that can obtain various virus from network, then extract its feature and add in default rogue program storehouse, this present embodiment is not specifically limited.
The explanation of value, is optional step to checking and killing virus, also can not performs this step in concrete implementation, be not specifically limited this present embodiment.
The beneficial effect of the present embodiment comprises: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client obtains subroutine corresponding to default application program by installing the application program preset from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.And, subroutine corresponding to application program preset is detected, if subroutine corresponding to the application program preset comprises local mounted application program, then this subroutine is not exported, avoid client user to repeat existing program is installed, save the set-up time of client user.And, before installation subroutine, checking and killing virus is carried out to its installation kit, further ensures the safety of client.
Embodiment 4
See Fig. 4, a kind of method obtaining application program is provided in the present embodiment, in client, subroutine corresponding to default application program is installed in the present embodiment, but the developer of networking products may add new sub-product in service end, or need to delete certain sub-product, or existing sub-product is optimized, server end can periodically to the more new state of the sub-product of client feedback, and client is upgraded in time local networking products.Comprise:
401, the subroutine that the application program preset of client reception server end propelling movement is corresponding.
In the present embodiment, the application program preset refers to parent product, subroutine and sub-product, and sub-product corresponding to default application program may be one also may be multiple, is not specifically limited this present embodiment.
In this step, after server end revises sub-product, the information of new sub-product can be sent to client, client is upgraded in time local sub-product.
402, the subroutine that the application program preset of client export server end propelling movement is corresponding, selects to install for client user.
In this step, after client receives subroutine corresponding to application program preset that server end pushes, export the subroutine that this application program preset is corresponding, the subroutine corresponding by this application program preset is presented on client end interface, can select to install wherein certain or multiple subroutine for user.
In this step, export the subroutine installation for you to choose that pre-set programs is corresponding, specifically comprise: client detects subroutine corresponding to application program preset, judge whether comprise the mounted application program in described this locality in the subroutine that described pre-set programs is corresponding, if, then described client exports subroutine corresponding to described pre-set programs beyond the mounted application program in described this locality, otherwise described client exports subroutine corresponding to all described pre-set programs.
In this step, client some application programs may have been installed, these application programs may be the same with certain subroutine corresponding to application program preset, so when client gets subroutine corresponding to default application program, detecting device can detect these subroutines, if having the program identical with mounted application program in these subroutines, does not then export this subroutine, in order to avoid user misoperation installs this application program again again, the time of waste user.Can not certainly detect by subroutine, directly all subroutines corresponding for the application program preset are exported, this present embodiment is not specifically limited.
403, client receives the instruction that user selects the subroutine of the correspondence of installing the application program preset, and downloads the installation kit of subroutine corresponding to pre-set programs, and install the installation kit of the described subroutine of described download according to this instruction to server request.
The explanation of value, the concrete manner of execution in this step is the same or similar with the manner of execution of step 303 in embodiment 3, repeats no more this present embodiment.
The beneficial effect of the present embodiment comprises: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, the subroutine that the application program preset that client reception server end pushes is corresponding, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.And, subroutine corresponding to application program preset is detected, if subroutine corresponding to the application program preset comprises local mounted application program, then this subroutine is not exported, avoid client user to repeat existing program is installed, save the set-up time of client user.And, before installation subroutine, checking and killing virus is carried out to its installation kit, further ensures the safety of client.
Embodiment 5
See Fig. 5, provide a kind of client in the present embodiment, comprising: acquisition module 501 and download and install module 502.
Acquisition module 501, for obtaining subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs;
Download and install module 502, for the instruction of subroutine corresponding to the described default application program of installing according to the selection that receives, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.
See Fig. 6, described acquisition module 501 alternatively, comprising:
Request unit 501a, for when the application program that client terminal start-up is preset, to subroutine corresponding to application program preset described in server request, and receives subroutine corresponding to described default application program that described server end returns.
See Fig. 6, described acquisition module 501 alternatively, comprising:
Receiving element 501b, the subroutine that the application program preset for the propelling movement of reception server end is corresponding.
See Fig. 6, described acquisition module 501, comprising:
Detecting unit 501c, detects for the subroutine corresponding to described default application program, judges whether comprise local mounted application program in the subroutine that described default application program is corresponding;
Output unit 501d, if the testing result for described detecting unit 501a is yes, then export the subroutine that described default application program beyond the mounted application program in described this locality is corresponding, if the testing result of described detecting unit 501a is otherwise described client exports subroutine corresponding to all described default application programs.
Described client also comprises alternatively:
Scan module, for downloading and installing before module 502 installs the installation kit of described subroutine of described download described, scanning the installation kit of described subroutine, obtaining the feature of described subroutine; The feature of described subroutine and the malice feature preset are compared, if the feature of described subroutine and described default malice characteristic matching, then downloads and installs the installation kit that module 502 refuses to install described subroutine described in; If the feature of described subroutine is not mated with described default malice feature, then download and install the step that module 502 continues the installation kit performing the described subroutine of installing described download described in.
The beneficial effect of the present embodiment comprises: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
Embodiment 6
See Fig. 7, provide a kind of server in the present embodiment, described server comprises: sending module 601 and processing module 602.
Sending module 601, for subroutine corresponding for default application program is sent to client, makes described client export subroutine installation for you to choose corresponding to described default application program;
Processing module 602, the request of subroutine corresponding in the described default application program of installing is selected for receiving described client downloads, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.
See Fig. 8, sending module 601 comprises alternatively:
Receiving element 601a, obtains the request of subroutine corresponding to default application program for receiving client;
Return unit 601b, for returning subroutine corresponding to described default application program according to described request to described client.
See Fig. 8, sending module 601 alternatively, comprising:
Push unit 601c, for being pushed to client by subroutine corresponding for default application program.
The beneficial effect of the present embodiment comprises: subroutine corresponding for default application program is sent to client by server, makes described client export subroutine installation for you to choose corresponding to described default application program; Described server receives the request that described client downloads selects subroutine corresponding in the described default application program of installing, the installation kit of subroutine corresponding in described default application program is returned to described client, makes described client that the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
Embodiment 7
See Fig. 8, provide the system of a kind of acquisition, pushing application program in the present embodiment, described system comprises: the client 500 as above described in embodiment 5 and the server as above described in embodiment 6 600.
The beneficial effect of the present embodiment comprises: client obtains subroutine corresponding to default application program from server end, and exports the installation for you to choose of subroutine corresponding to described pre-set programs; The instruction of the subroutine that the described client described default application program of installing according to the selection that receives is corresponding, download the installation kit of subroutine corresponding to described default application program to described server request, and the installation kit of the described subroutine of described download is installed.Subroutine corresponding for default application program is placed on server end, client can obtain subroutine corresponding to default application program from server end, the installation kit of subroutine of need not packing in the application program preset, which reduces the size of parent product installation kit, solve the problem that parent product installation kit is too large.
The client that the present embodiment provides, server and system, specifically can belong to same design with embodiment of the method, its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is 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.