Summary of the invention
The technical matters that the present invention will solve provides control method, device and the equipment that a kind of plug-in unit is installed.Can be implemented as application program plug-in unit is installed automatically, simplify user's operation, plug-in unit is mounted to the power height.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method that plug-in unit is installed, and comprising:
Obtain the plug-in unit that the application program of current operation need be installed;
Obtain the installation instruction of the said plug-in unit of user installation;
According to said installation instruction, control said application program automatically said plug-in unit is installed.
Wherein, the application program of said current operation comprises: the application program of terminate-and-stay-resident, display interface window application program, current active window corresponding application program or place, the cursor place interfaces windows corresponding application program on display.
Wherein, the step of obtaining the plug-in unit that the application program of current operation need install comprises:
Detect the application program of current operation, obtain a testing result;
According to said testing result, obtain the plug-in unit that the application program of current operation need be installed.
Wherein, detect the application program of current operation, the step that obtains a testing result comprises:
Through monitoring tools or directly detect the process corresponding application program of current operation, judge whether said application program need install plug-in unit, if need, the testing result that then generations need the installation plug-in unit; If do not need, then produce the testing result that plug-in unit need be installed.
Wherein, said monitoring tools is: the application tool of monitoring process operation perhaps can be carried out the hardware of an operation, and said operation representes that application program is in the state of current operation.
Wherein, after producing the testing result that plug-in unit need be installed, comprise:
Travel through the installation directory of said application program or, obtain a check result for the installation record of said application program installation plug-in unit;
According to said check result, determine whether and for said application program said plug-in unit to be installed again.
Wherein, according to said testing result, the step of obtaining the plug-in unit that the application program of current operation need install comprises:
The testing result of plug-in unit is installed as required,, obtains the plug-in unit that the application program of current operation need be installed from installation file or the external server or the External memory equipment of said application program.
Wherein, according to said installation instruction, control said application program automatically and the step of said plug-in unit is installed comprises:
According to said installation instruction, obtain the mounting means of said plug-in unit;
Automatically control said application program according to said mounting means said plug-in unit is installed.
Wherein, according to said installation instruction, the step of obtaining the mounting means of said plug-in unit comprises:
Server obtains the mounting means of said plug-in unit perhaps from the webserver from the installation file of said plug-in unit or from high in the clouds.
Wherein, said application program also comprises after said plug-in unit is installed:
Obtaining said application program has installed the plug-in unit name of plug-in unit, each said application name of said plug-in unit, the upgrading mode or the deletion mode of deleting said plug-in unit of the said plug-in unit of upgrading has been installed;
Generation comprises the catalogue of deletion mode of upgrading mode and/or the said plug-in unit of said plug-in unit name, each said application name, said plug-in unit;
Said catalogue is offered the user.
Wherein, said application program is a Computer Browser, and the mounting means of said plug-in unit is: after the store path of said plug-in unit is combined to the installation path of said browser, obtain a plug-in unit installation path, move said plug-in unit installation path corresponding application program.
Embodiments of the invention provide a kind of device that plug-in unit is installed, and comprising:
First acquisition module is used to obtain the plug-in unit that the application program of current operation need be installed;
Second acquisition module, the installation instruction that is used to obtain the said plug-in unit of user installation;
The plug-in unit installed module is used for controlling said application program automatically said plug-in unit being installed according to said installation instruction.
Wherein, said first acquisition module comprises:
Detection sub-module is used to detect the application program of current operation, obtains a testing result;
First obtains submodule, is used for according to said testing result, obtains the plug-in unit that the application program of current operation need be installed.
Wherein, said plug-in unit installed module comprises:
Second obtains submodule, is used for obtaining the mounting means of said plug-in unit according to said installation instruction;
Plug-in unit is installed submodule, is used for controlling said application program automatically according to said mounting means said plug-in unit is installed.
Embodiments of the invention also provide a kind of equipment, comprise aforesaid device.
The beneficial effect of technique scheme of the present invention is following:
In the such scheme; Through current running application detected, determining whether needs plug-in unit is installed, and installs if need; Confirm to start the said application program of installing or control automatically current operation by the user more said plug-in unit is installed; Thereby be that application program is installed required plug-in unit automatically, simplify user's operation, plug-in unit is mounted to the power height.
Embodiment
For technical matters, technical scheme and advantage that the present invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
As shown in Figure 1, embodiments of the invention provide a kind of method that plug-in unit is installed, and comprising:
Step 11 is obtained the plug-in unit that the application program of current operation need be installed;
Step 12, the installation instruction of obtaining the said plug-in unit of user installation;
Step 13 according to said installation instruction, is controlled said application program automatically said plug-in unit is installed.
Among this embodiment, the application program of current operation can be for arbitrary money application program, like browser; Word, WPS, Photoshop; Adobe Reader etc.; The plug-in unit that application program need be installed can comprise: be applicable to any plug-in unit of this application program, as can on browser, realizing the PowerWord dictionary plug-in unit of real time translation, on Photoshop, realize the plug-in unit of filling optimization effect etc.
Among this embodiment, the application program of said current operation comprises but is not limited to: the application program of terminate-and-stay-resident, display interface window application program, current active window corresponding application program or place, the cursor place interfaces windows corresponding application program on display.The plug-in unit installation system confirms through current running application detected whether this application program need install plug-in unit, installs if need; Reresent the user and confirm whether install by the user; Obtaining the user really after the instruction of Dingan County's dress, the card i/f that the said application program through current operation provides is installed said plug-in unit automatically, thereby for application program plug-in unit is installed automatically; Simplify user's operation, plug-in unit is mounted to the power height.
To the said user's of step 12 installation instruction, can be meant that the user selects according to the close friend's prompting that obtains after, instruction is installed, also can be through the user automatic command to be set to accomplish.For the mode that automatic command is set; Be exemplified below: for user in the solution man-machine interaction is asked to confirm the worry of multiple instruction; Provide the user that function is set, the user can be set to automatically to add plug-in unit for the application program that needs plug-in unit and need not to confirm repeatedly, after obtaining this instruction being set; Necessary or required plug-in unit can judged and install to the plug-in unit installation system automatically for the user; For the user judges whether function required under the work at present need install plug-in unit, and leave the user alone and realize automatic installation, the user can not feel and pauses and influence work at present.
In step 13, as specific embodiment of the present invention, the plug-in unit installation system is accomplished the installation of plug-in unit according to the interface and the plug-in unit installation rule of each application program to this application program.
In the second embodiment of the present invention, as shown in Figure 2, step 11 further comprises:
Step 111 detects the application program of current operation, obtains a testing result;
Step 112 according to said testing result, is obtained the plug-in unit that the application program of current operation need be installed;
Other steps are identical with step 12 and step 13 among above-mentioned first embodiment shown in Figure 1; Repeat no more at this, among this embodiment, as detect the Computer Browser of current operation; Can obtain to represent the testing result of the relevant plug-in unit installation situation of this browser; According to the detection of the relevant plug-in unit installation situation of this browser, the plug-in unit that this browser need be installed is obtained in the plug-in unit tabulation of comparison plug-in unit installation system.
As shown in Figure 3, in the third embodiment of the present invention, above-mentioned steps 111 comprises:
Step 1110, through monitoring tools or directly the detection current operation the process corresponding application program, judge whether said application program need install plug-in unit;
Step 1111, if need, then generation needs to install the testing result of plug-in unit;
Step 1112 if do not need, then produces the testing result that plug-in unit need be installed.
Wherein, said monitoring tools is: the application tool of monitoring process operation perhaps can be carried out the hardware of an operation, and said operation representes that application program is in the state of current operation.Corresponding steps (comprising step 112,12 and 13) among other step of this embodiment and the above-mentioned embodiment shown in Figure 2 is identical, repeats no more at this.
Among this embodiment, all operating application programs that the plug-in unit installation system can obtain terminate-and-stay-resident detect; Also can obtain the application program that shows interfaces windows on the user display, these application programs are detected; Also can be to obtain current active window corresponding application program on the user display, these application programs are detected; Optimum embodiment obtains and shows interfaces windows on the user display; The application program at place, cursor place; This application program is detected; Be that which interface user's cursor moves to, just detect this interface corresponding application program and whether plug-in unit need be installed no matter this interface is in the current active window still is the backstage window.
Among this embodiment; The application tool of monitoring process operation; Be the special instrument to the visualized monitoring function of any process of system that provides, perhaps other process monitoring application software or code are in to the process monitoring process; Can obtain this application program whether plug-in unit has been installed, what plug-in unit has been installed;
As can be through detecting the corresponding browser of process moving, and then obtain this browser whether PowerWord dictionary plug-in unit is installed, if do not have, can whether PowerWord dictionary plug-in unit need be installed to user prompt; Further, can also detect if plug-in unit has been installed, whether this plug-in unit is latest edition, and whether prompting is updated to upgrade version.
Certainly, above-mentioned monitoring tools can also be the hardware that can carry out an operation, this hardware such as mouse, and this operation is like the slide of mouse; Concrete, like PowerWord dictionary application terminate-and-stay-resident, detect mouse action automatically, if mouse slides into browser window; Then begin to detect the corresponding process of browser, if find this browser PowerWord dictionary plug-in unit is not installed, whether the prompting user need install PowerWord dictionary plug-in unit; If user's affirmation needs to install, then can obtain PowerWord dictionary plug-in unit automatically, for this browser this PowerWord dictionary plug-in unit is installed automatically; Whether whole process only needs the user to check to install, do not need the own manual installation plug-in unit of user, therefore; Automatically install in the process of plug-in unit being embodied as browser, reduced user's operation, and guarantee the success ratio that plug-in unit is installed.
Certain above-mentioned monitoring tools; Also can be that cursor to screen display detects; No matter this interface is in current active state or background operation state, according to this interface corresponding application program of interface acquisition of cursor position, judges then which plug-in unit is this application program need install; Need which plug-in unit of upgrading, produce testing result.
In addition, in the foregoing description, directly detection procedure through residing in the direct detection procedure name of the application with plug-in unit in the internal memory, judges whether the process corresponding application program of current operation need install said plug-in unit.For example: do not detect the browser that is moving whether PowerWord dictionary plug-in unit need be installed by monitoring tools; The PowerWord dictionary application that promptly resides in the internal memory need not to detect automatically mouse action, and directly detection procedure can be obtained the testing result whether browser need install PowerWord dictionary plug-in unit.
For example: when detecting the process of this browser through cursor; The PowerWord dictionary application is monitored cursor, judges what the pairing application program of process name of the application program that cursor position is current is, as; Current cursor is on the CM of GG company browser, and the process name that obtains is exactly GGCM.exe; Judge whether this application program has installed plug-in unit; With Window7 is example; The user is called Test, supposes that the plug-in unit installation directory is: Test Extensions plug-in unit ID, then declare this CM browser plug-in unit be installed; Certainly, if do not have plug-in unit ID in this installation directory, judge that then this CM browser need install plug-in unit.
Certainly, the embodiment that plug-in unit is installed based on the application program of method described in the foregoing description also has a lot, but installation method is identical with the principle of method described in the foregoing description, repeats no more at this, but all should be included within the said scope of this embodiment.
As shown in Figure 4, in the fourth embodiment of the present invention, on the step basis that comprises above-mentioned embodiment shown in Figure 3, after process is detected, plug-in unit need be installed if detect the application program of current operation, then can further include:
Step 1113 travels through the installation directory of said application program or for the installation record of said application program installation plug-in unit, obtains a check result;
Step 1114 according to said check result, determines whether and need said plug-in unit be installed for said application program again.
Among this embodiment, consider the otherness of plug-in unit installation directory, not comprehensive for preventing detection; After process is detected, if judge in the time of need plug-in unit not being installed, for whether accurate judges is equipped with plug-in unit; Can also travel through the installation directory of this application program again, search whether plug-in unit ID is arranged, also can check the user's of this application program plug-in unit installation situation one by one; The installation situation of guaranteeing the own plug-in unit of overall plug-in unit and user is all found; If in such cases, judge that this application program need install plug-in unit, then forward the subsequent process that step 112 is installed plug-in unit to.
In above-mentioned place embodiment, when needs are installed plug-in unit,, obtain the plug-in unit that the application program of current operation need be installed from installation file or the external server or the External memory equipment of said application program.
Certainly, the source of plug-in unit is not limited to above-mentioned mode, can also be other any obtain manner, so long as the plug-in unit that this application program needs gets final product.
As shown in Figure 5, in the fifth embodiment of the present invention, comprise that wherein, step 13 comprises on the basis of above-mentioned Fig. 3 or step embodiment illustrated in fig. 4:
Step 131 according to said installation instruction, is obtained the mounting means of said plug-in unit;
Step 132 is installed said plug-in unit for said application program automatically according to said mounting means.
Wherein, in the step 131, server obtains the mounting means of said plug-in unit perhaps from the webserver from the installation file of said plug-in unit or from high in the clouds.Certainly; The mounting means of plug-in unit is not limited to above-mentioned mode; As can also be the mounting means that from the installation kit of plug-in unit owning application, obtains this plug-in unit; Can from the installation kit of PowerWord dictionary application, obtain the mounting means of this PowerWord dictionary plug-in unit like the mounting means of PowerWord dictionary plug-in unit, also comprise other any obtain manner certainly, just can install and get final product.
About the source of plug-in unit, the plug-in unit installation procedure can be put in the software installation kit of plug-in unit installation system, also can be put on the external server, obtains up-to-date software of supporting and plug-in unit according to the arrangement on the server, to reach the purpose that expansion is safeguarded.
In the sixth embodiment of the present invention, after application program installs plug-in unit, can further include:
Step 14 is obtained said application program and the plug-in unit name of plug-in unit has been installed, each said application name of said plug-in unit, the upgrading mode or the deletion mode of deleting said plug-in unit of the said plug-in unit of upgrading has been installed; Generation comprises the catalogue of deletion mode of upgrading mode and/or the said plug-in unit of said plug-in unit name, each said application name, said plug-in unit; Said catalogue is offered the user.
Wherein, Said catalogue can be a catalogue that has included only plugin name; It also can be a catalogue that has included only application name; Also can be the catalogue that has included only the upgrading mode of plug-in unit, also can be the catalogue that has included only the deletion mode of plug-in unit, also comprised plugin name, a plurality of arbitrarily in the deletion mode of upgrading mode and plug-in unit of application name, plug-in unit of plug-in unit have been installed; Like this catalogue is an interface, and the directory entry of deletion mode of directory entry and plug-in unit of the upgrading mode of plugin name directory entry, application name directory entry, plug-in unit is provided in the interface; Click plugin name directory entry wherein, just can show that application program installed the plug-in unit name catalogue of plug-in unit to the user; Click the application name directory entry that plug-in unit is installed wherein, just can show the application name that plug-in unit has been installed to the user; Click the upgrading mode directory entry of plug-in unit wherein, upgrading mode from this plug-in unit to the user that just can show; Click the deletion mode directory entry of plug-in unit wherein, deletion mode from this plug-in unit to the user that just can show; Make things convenient for the user to recognize which plug-in unit is current application program installed like this,, promote user experience so that the user determines whether to install plug-in unit.
As shown in Figure 7; With said application program is that Computer Browser is an example; The mounting means of said plug-in unit is: after the store path of said plug-in unit is combined to the installation path of said browser, obtain a plug-in unit installation path, move said plug-in unit installation path corresponding application program.Specifically, browser plug-in is installed,, is specifically comprised with " browser program name+plug-in unit path " mode working procedure:
1. the path of browser plug-in is imported in the executable file of browser;
2. browser obtains the plug-in unit path;
3. the checking path is correct, will find this browser plug-in;
4. browser will recognize plug-in unit; Install; As start the CM browser of GG with following order (being above-mentioned plug-in unit installation path); " Users " " Extension.crx ", can accomplish this browser plug-in is installed on browser.
Certainly, the mode that other application program is installed plug-in unit possibly be that add-on file is copied under the associative directory of application program, just can move this plug-in unit, and accomplish the installation of this plug-in unit.
In the above embodiment of the present invention, be not limited to the plug-in unit mounting means of above-mentioned application program of giving an example, can also comprise other any one mounting means.
Whether the above embodiment of the present invention need install plug-in unit through detecting application program, and when needs are installed and after obtaining user's affirmation, for application program plug-in unit is installed automatically; The user need not manually for certain application program plug-in unit to be installed, thereby realizes automatic, dynamic installation plug-in unit, simplifies and user interactions; Have only and just be user installation when needed; Detect to different application whether plug-in unit has been installed, plug-in unit correctly is installed, reach the purpose of optimizing user experience to the tram.
As shown in Figure 8, embodiments of the invention also provide a kind of device that plug-in unit is installed, and comprising:
First acquisition module 81 is used to obtain the plug-in unit that the application program of current operation need be installed;
Second acquisition module 82, the installation instruction that is used to obtain the said plug-in unit of user installation;
Plug-in unit installed module 83 is used for controlling said application program automatically said plug-in unit being installed according to said installation instruction.
Among this device embodiment, the application program of said current operation comprises but is not limited to: the application program of terminate-and-stay-resident, display interface window application program, current active window corresponding application program or place, the cursor place interfaces windows corresponding application program on display.This device embodiment can reach and above-mentioned identical technique effect embodiment illustrated in fig. 1 corresponding to above-mentioned method embodiment shown in Figure 1, repeats no more at this.
Wherein, first acquisition module 81 can comprise:
Detection sub-module is used to detect the application program of current operation, obtains a testing result;
First obtains submodule, is used for according to said testing result, obtains the plug-in unit that the application program of current operation need be installed.
Wherein, said detection sub-module specifically is used for through monitoring tools or directly detects the process corresponding application program of current operation, judges whether said application program need install plug-in unit, if need, then generation needs to install the testing result of plug-in unit; If do not need, then produce the testing result that plug-in unit need be installed.
Wherein, said monitoring tools is: the application tool of monitoring process operation perhaps can be carried out the hardware of an operation, and said operation representes that application program is in the state of current operation.
Wherein, after producing the testing result that plug-in unit need be installed, comprise:
Spider module, the installation record that is used to travel through the installation directory of said application program or plug-in unit has been installed for said application program obtains a check result;
Determination module is used for according to said check result, determines whether said plug-in unit to be installed again for said application program.
Wherein, first obtains submodule: the testing result of plug-in unit is installed as required, from installation file or the external server or the External memory equipment of said application program, obtains the plug-in unit that the application program of current operation need be installed.
Wherein, plug-in unit installed module 83 comprises:
Second obtains submodule, is used for obtaining the mounting means of said plug-in unit according to said installation instruction;
Plug-in unit is installed submodule, is used for controlling said application program automatically according to said mounting means said plug-in unit is installed.
Wherein, second obtains submodule: server obtains the mounting means of said plug-in unit perhaps from the webserver from the installation file of said plug-in unit or from high in the clouds.
Wherein, said apparatus after said plug-in unit installed module 83 is installed said plug-in unit for said application program, also comprises:
Reminding module is used to obtain said application program and the plug-in unit name of plug-in unit has been installed, each said application name of said plug-in unit, the upgrading mode of the said plug-in unit of upgrading or the deletion mode of deleting said plug-in unit has been installed; Generation comprises the catalogue of deletion mode of upgrading mode and/or the said plug-in unit of said plug-in unit name, each said application name, said plug-in unit; Said catalogue is offered the user.
Whether this device embodiment need install plug-in unit through detecting application program equally, and when needs are installed and after obtaining user's affirmation, for application program plug-in unit is installed automatically; The user need not manually for certain application program plug-in unit to be installed, thereby realizes automatic, dynamic installation plug-in unit, simplifies and user interactions; Have only and just be user installation when needed; Detect to different application whether plug-in unit has been installed, plug-in unit correctly is installed, reach the purpose of optimizing user experience to the tram.
Embodiments of the invention also provide a kind of equipment, comprise aforesaid device.Wherein, this equipment can for: mode such as employing mouse such as notebook computer, desk-top computer, mobile communication equipment, panel computer or hand touch screen receives the communication facilities of user action.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.