Embodiment
The reason of user's uninstall has a lot, unloading certain software may be because this software cannot normally be used, for this kind of situation, user's unloading is not fundamental purpose, but needs to install the software that meets user demand,, user is after certain software of unloading, likely can again download and install this software or other similar software, this programme is exactly for this kind of situation, solves the problem of the flow process complexity of software unloading and mounting software.
Below in conjunction with the accompanying drawing in the present invention, the technical scheme in the present invention is carried out to clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
The software unloading installation method that the embodiment of the present invention provides, can be applied to terminals such as mobile phone, PC, panel computer, software unloading installation administration system is installed in terminal, in the present embodiment, described software refers to detected software, below in conjunction with Fig. 1, describe the software unloading installation procedure that the embodiment of the present invention provides in detail, as shown in the figure, this flow process comprises:
Whetherstep 101, when software startup, detect this software and occur extremely.
Concrete, when user starts software (for example, double-click software icon operating software), trigger the software detection flow process of software unloading installation administration system,, whether the dynamic base that software unloading installation administration system loads during to software startup according to application programming interface api function detects, complete to detect software program.System API LoadLibary function can load and start the needed dynamic base of software,, by interception LoadLibary function, judgement starts the dynamic library file that this software needs, and then the dynamic base storage catalogue under this software installation addresses is searched, if do not store above-mentioned dynamic library file under this dynamic base storage catalogue, judge that this software program is imperfect, software occurs abnormal.
Preferably, can unload at software the testing result of installation administration interface display software, the testing result of software can show by tabular form, for example, the attribute such as software for display title, testing result (whether abnormal), software size, set-up time, frequency of utilization on software unloading installation administration interface.
Step 102, occurs extremely, performingstep 103, otherwise performingstep 106 if detect software.
Step 103, unloads the unloading entrance of this software of installation administration interface display and reinstalls entrance at software.
Concrete, if detect software anomaly, the entrance of reinstalling of this software can be directly in software unloading installation administration interface display,, when the testing result of software unloading installation administration interface display software, show and reinstall entrance (for example, reinstalling button) in the lump; Or the testing result of software unloading installation administration interface display software, when user selects this software at software unloading installation administration interface, just unloads the entrance of reinstalling of this software of installation administration interface display at software.Wherein, user selects this software to comprise: user is suspended in mouse pointer arbitrary attribute item of this software detection result in software unloading installation administration interface, or user clicks arbitrary attribute item of this software detection result in software unloading installation administration interface.
If detecting software occurs abnormal, unloading entrance at all right software for display in software unloading installation administration interface, for example, can in the list that shows testing result, show unload button (unloading entrance), so that user unloads this software by clicking this unload button.; if detect software, occur extremely, at software, unload the unloading entrance of this software of installation administration interface display and reinstall entrance, wherein reinstall the display mode of entrance as previously mentioned; can be direct demonstration, or according to user, the selection instruction of detected software be shown.
By showing testing result in software unloading installation administration interface, unload entrance, reinstalling entrance and similar recommendation software, can guarantee that user unloads, the continuity of mounting software flow process and continuity.And, if user also needs to unload other software after unloading a software, can easily at software unloading installation administration interface, carry out next step operation, further simplified the flow process of unloading installation procedure.
Step 104, receives the instruction that user sends, and judges that this instruction is unloading command or reinstalls instruction, if reinstall instruction, performsstep 105; If unloading command, performsstep 107.
Concrete, user can send unloading command by the unloading entrance (unload button) in software unloading installation administration interface instep 103, or instruction is reinstalled in entrance (the reinstalling button) transmission of reinstalling unloading in installation administration interface by software.Software unloading installation administration system, according to the instruction receiving, is processed accordingly.
Step 105, according to the installation procedure of this software, covers installation to this software.
Concrete, if user clicks and reinstalls button at software unloading installation administration interface, software unloading installation administration system is downloaded the installation kit of this software again, after completing, download automatically moves the installation procedure of this software, under the installation path of this software, reinstall software, and cover this abnormal software program file of appearance.
Step 106, at the unloading entrance of software unloading installation administration interface display software.
Concrete, normal if software unloading installation administration system detects software, also can unload at software the unloading entrance of installation administration interface display software, preferred, can also unload at software the testing result of this software of installation administration interface display.User is in order to save system memory resource, or wish to change other similar softwares, even if do not detect existing software anomaly, also need existing software unloading, therefore, unloading entrance at this software of software unloading installation administration interface display, for example, in testing result in software unloading installation administration interface, show unload button, with the demand that meets user's uninstall (now, no matter whether user selects this software at software unloading installation administration interface, on software unloading installation administration interface, can not show the entrance of reinstalling of this software).
Step 107, uninstall.
Concrete, if passing through the unloading entrance of this software, user sends unloading command (click unload button), software unloading installation administration system unloads this software.
Step 108, after software has unloaded, at the similar software recommended links of software unloading installation administration interface display.
Preferably, after software has unloaded, in software unloading installation administration interface, show unloading completion status (unloading completes), for example, the status information completing in software unloading installation administration interface display dbase and unloading, the size that preferably, can also show the memory headroom that this software of unloading discharges.
Preferably, after software has unloaded, in software unloading installation administration interface, can also show similar software recommended links (, be used to user to show the button of similar recommendation software), when user clicks this link, software unloading installation administration system can present at least one similar software for user, for user, selects to download.Concrete, in software unloading installation administration system, be provided with database, for storing the installation procedure of various software according to software type classification, for example, can be according to system tool, picture instrument, browser, video playback, network download, multi-media edit ... etc. type, carry out software classification, under every type, store the download link of the installation procedure of various software, software unloading installation administration system can the cycle download link of the installation procedure in new database more.After software has unloaded, when user clicks similar software recommended links, can from database, transfer the installation procedure list of other softwares under the classification of type at this unloaded software place, present to user.
Step 109, receives user and recommends similar software asks by the demonstration of similar software recommended links transmission, similar software and the corresponding downloading portal thereof of according to this request, in software unloading installation administration interface display, recommending.
Concrete, if user clicks similar software recommended links, in the software unloading similar software recommendation list of installation administration interface display and list, respectively recommend the downloading portal that software is corresponding.For example, when user clicks similar software recommended links, in software unloading installation administration interface, the list items level (for example left) of software for display title and unloading completion status information skids off similar software recommendation list, similar software recommendation list comprises multiple similar recommendation software and downloading portal thereof, that is, in software unloading installation administration interface display, go out respectively to recommend software icon, dbase and corresponding download button.
Step 110, receives user and sends download instruction by the similar software downloading portal of recommending, and by software, unload the software that this selection is downloaded at installation administration interface according to this download instruction.
Concrete, recommending software support to unload installation administration interface by software directly downloads, if user clicks the download button of certain a recommendation software, can unload the software that this selection is downloaded at installation administration interface by software, preferably, can unload installation administration interface at software and show for user provides download progress, after having downloaded, by user, manually carry out the installation of software.
Preferably, in the similar software recommendation list at software unloading installation administration interface, also be provided with return push-button, after the recommendation software that user selects has been downloaded, when user clicks return push-button, current similar software recommendation list level (for example to the right) is slided and is regained, the software unloading unloaded software information of installation administration interface display (size of the memory headroom of software for display title, the status information having unloaded and release), now, the software unloading installation administration interface phase in software unloading installation administration interface andstep 108 is same.
Instep 108, software unloading installation administration system can also be after unloading completes, do not show similar software recommended links, but after unloading completes, at software unloading installation administration interface, show in the lump similar software and the corresponding downloading portal thereof of recommendation, thereby save user, click the step (being thatstep 108 merges with step 109) that similar software recommended links sends the similar software instruction of recommendation.
In thestep 108 of the embodiment of the present invention tostep 110, after software has unloaded, can unload the similar recommendation software of installation administration showing interface at software, guaranteeing that user unloads the downloading portal that similar software is provided under the prerequisite that main task completes smoothly, having solved prior art carries out to the similar software of unloaded software the unloading flow process that list formula displaying brings by the independent page and interrupts, switching a plurality of interfaces causes user to lose current operation, cannot return to the problem at unloading interface, reduced interface redirect, meet the task continuity of user under unloading scene.In addition, owing to showing testing result, unloading entrance is provided, shows that similar recommendation software all carries out at same interface, guaranteed continuity and the continuity of user's unloading, mounting software flow process.In addition, if user also needs to unload other software after unloading a software, can easily at software unloading installation administration interface, carry out next step operation, further simplify the flow process of unloading installation procedure.
In another embodiment of the present invention, whether software unloading installation administration system detects software and occurs extremely can also comprising: detect software and whether have leak and/or detect whether software version is latest edition.Concrete, whether software unloading installation administration system by existing in analysis software to pile overflows or stack overflow, or detects in software whether have the modes such as unencrypted data and simple clear data, detects software and whether has leak.Software unloading installation administration system is by obtaining the current up-to-date version number of software, compares with the version number of mounting software, and whether detect software version is latest edition.
If detecting software, software unloading installation administration system there is extremely, exists leak and/or the non-latest edition of current version, in software unloading installation administration interface display, reinstall entrance, to reinstall entrance by this, for providing the up-to-date installation procedure of this software, user downloads (up-to-date installation procedure comprise installation procedure after reparation and the installation procedure of latest edition), and after download completes, automatically cover the software that this appearance is abnormal, have leak and/or the non-latest edition of current version is installed.
The software unloading installation method that the embodiment of the present invention provides, can be applicable to following scene:
1, find that abnormal rear active unloading appears in software: user in use finds that certain software function has disappearance to cause normally using, and unloads this software.
2,, after software unloading, the similar software of recommendation that user provides according to software unloading installation administration system, selects the similar software needing to download and install.
3, find to reinstall after software occurs extremely: user in use finds that certain software exists more recent version, software damage or have leak, wants the redaction of downloading this software to cover installation.
The embodiment of the present invention is when software startup, whether detect software exists extremely, if detect described software anomaly, at the entrance of reinstalling of software described in software unloading installation administration interface display, or, if detect described software anomaly, after receiving the instruction of user by the described software of selection of unloading installation administration interface transmission, the entrance of reinstalling at software described in described software unloading installation administration interface display, when receive user by described reinstall that entrance sends reinstall instruction time, according to the installation procedure of described software, described software is covered to installation.For because the situation that extremely need to reinstall appears in software, refitting entrance is directly provided, simplified the flow process that unloads and reinstall, realized the convenience of software unloading installation procedure.
Design based on identical, the embodiment of the present invention also provides a kind of software unloading installation administration system, and as shown in Figure 2, this system comprises:
Whetherdetection module 21, occur extremely for detection of software;
Judge module 22, judges for the testing result obtaining according todetection module 21 whether software occurs extremely;
Control module 23, for occurring at the described software ofjudge module 22 judgement when abnormal,directs display module 24 is at the entrance of reinstalling of software described in software unloading installation administration interface display, or, at receiver module 25, receive after user unloads the described software of selection that installation administration interface sends instruction by software,directs display module 24 is at the entrance of reinstalling of software described in software unloading installation administration interface display;
Processing module 26, the installation procedure of reinstalling instruction and this software sending by reinstalling entrance for the user who receives according to receiver module 25, covers installation to this software.
Control module 23, also for detecting software anomaly or described software atdetection module 21 when normal, directsdisplay module 24 is at the unloading entrance of software unloading installation administration interface display software;
Processing module 26, the unloading command that also the unloading entrance by software sends for the user that receives according to receiver module 25, unloads this software;
Control module 23, also for having unloaded after this software inprocessing module 26, similar software and corresponding downloading portal thereof that directsdisplay module 24 is recommended in software unloading installation administration interface display;
Processing module 26, the download instruction also sending by downloading portal for the user who receives according to receiver module 25, unloads installation administration interface by software and downloads corresponding software.
Control module 23, specifically for directsdisplay module 24, at software unloading installation administration interface, provide similar software recommended links, and when receiver module 25 receives demonstration that user sends by similar software recommended links and recommends similar software asks, similar software and corresponding downloading portal thereof that directsdisplay module 24 is recommended in software unloading installation administration interface display.
Judge module 22, the testing result detecting specifically for the dynamic base loading during to described software startup according to application programming interface api function judges, if the dynamic library file loading during this software startup is not stored under software installation addresses, judge that this software occurs abnormal.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.