CN104156235A - Browser plugin and/or extension updating method and device - Google Patents
Browser plugin and/or extension updating method and device Download PDFInfo
- Publication number
- CN104156235A CN104156235A CN201410351839.XA CN201410351839A CN104156235A CN 104156235 A CN104156235 A CN 104156235A CN 201410351839 A CN201410351839 A CN 201410351839A CN 104156235 A CN104156235 A CN 104156235A
- Authority
- CN
- China
- Prior art keywords
- expansion
- plug
- browser plug
- browser
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a browser plugin and/or extension updating method and device and relates to the technical field of browsers. The method includes: acquiring configuration information of browser plugins and/or extensions already installed on a browser; at a plugin and/or extension server, detecting whether or not version update of the browser plugins and/or the extensions is available according to the configuration information; if yes, creating an update interface for the corresponding plugins and/or extensions; at the browser, giving corresponding prompts on update information of the plugs and/or the extensions; receiving an operational command to update versions of the plugins and/or the extensions; calling the update interface for the corresponding plugins and/or extensions, acquiring update versions of the corresponding plugins and/or extensions from the server, and performing installing and loading. The browser plugin and/or extension updating method and device has the advantages that the update information and update interface of the border plugins and/or the extensions can be provided for users quickly, visually and conveniently, and updating the plugins and/or the extensions is facilitated for the users.
Description
Technical field
The present invention relates to browser technology field, be specifically related to update method and the device of a kind of browser plug-in and/or expansion.
Background technology
Browser plug-in and/or expansion are that a kind of of browser function supplemented, and can increase various abundant application for browser.Present most of browser is all arranged on this locality by browser plug-in and/or expansion, expansion such as game application, as flybird game application, but be mounted in behind this locality, if provider has designed new renewal version to browser plug-in and/or expansion, legacy version browser plug-in and/or the expansion of for this locality, installing so, renewal is a difficult problem.Each browser plug-in of browser and/or the renewal of expansion, for browser client, complicated operation, cannot upgrade and upgrade mounted browser plug-in and/or expansion quickly and easily.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of the overcome updating device of the problems referred to above or a kind of browser plug-in addressing the above problem at least in part and/or expansion and the update method of corresponding a kind of browser plug-in and/or expansion are provided.
According to one aspect of the present invention, the update method of a kind of browser plug-in and/or expansion is provided, comprising:
Obtain browser plug-in that browser side installed and/or the configuration information of expansion;
According to described configuration information, from plug-in unit and/or expansion servers, detect the renewal that whether has browser plug-in and/or extended version; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
In browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion;
Receive the version updating operational order to described browser plug-in and/or expansion;
Call the more new interface that described corresponding browser plug-in and/or expansion create, from plug-in unit and/or expansion servers, obtain the renewal version of corresponding browser plug-in and/or expansion and install and load.
Alternatively, described in obtain browser plug-in that browser side installed and/or the configuration information of expansion comprises: after browser starts, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or, after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or, when monitoring user, access after plug-in unit Hub Web pages the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Alternatively, described after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion, comprise: after judgement browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
Alternatively, describedly for creating more new interface, corresponding browser plug-in and/or expansion comprise: for each, have browser plug-in and/or the expansion of version updating, obtain the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises: new interface more described in calling, by described URL, from server, obtain the renewal version of browser plug-in and/or expansion to install and to load.
Alternatively, describedly in browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise: the browser plug-in of installation and/or expansion position corresponding in plug-in unit Hub Web pages show renewal; And/or in plug-in management window, installed browser plug-in and/or expansion position show renewal.
Alternatively, when pointing out the lastest imformation of described browser plug-in and/or expansion accordingly, browser side comprises: described lastest imformation comprises prototype version and/or upgrades target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
Alternatively, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises: before installing, renewal version to described browser plug-in and/or expansion carries out safety certification, after authentication is passed through, carry out the operation of installing and loading.
Alternatively, also comprise: when the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, use and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
Alternatively, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers is installed and is loaded, comprise: when the renewal version of the described browser plug-in of triggering and/or expansion is installed and loaded, start sandbox, and described installation and the process that loads described renewal version are put into sandbox and carry out and judge its security;
When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
Alternatively, also comprise: before installing and loading, the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise: when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
Alternatively, describedly call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises: the distribution source that judges described browser plug-in and/or expansion according to the configuration information of described browser plug-in and/or expansion; If described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judges described browser plug-in and/or whether expands safety; If described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
Alternatively, described judge described browser plug-in and/or expansion whether safety comprise: from server, obtain the security record of described browser plug-in and/or expansion, and judge described browser plug-in and/or whether expand safety according to described security record;
Or from local antivirus software, obtain the security record of described browser plug-in and/or expansion, according to described security record, judge described browser plug-in and/or whether expand safety.
Alternatively, described judge described browser plug-in and/or expansion whether safety also comprise:
In described server or local antivirus software, there is not the security record of described browser plug-in and/or expansion, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
Alternatively, described in call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
According to the configuration information of described browser plug-in and/or expansion, judge the distribution source of described browser plug-in and/or expansion; If described distribution source is described browser plug-in and/or expands by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
Alternatively, describedly in browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise: in browser, generate and play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
Alternatively, whether the described configuration information of described foundation has the renewal of browser plug-in and/or extended version to comprise from plug-in unit and/or expansion servers detection:
The version information of each browser plug-in and/or expansion is uploaded onto the server, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
Alternatively, each operation that described browser side is carried out is controlled by browser host process.
Alternatively, the described configuration information of described foundation detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version; If there is version updating, for creating more new interface, corresponding browser plug-in and/or expansion comprise: by realization being set in the background.js file in browser plug-in and/or expansion.
Alternatively, describedly comprise while creating more new interface for corresponding browser plug-in and/or expansion:
The more new interface of the browser plug-in of establishment and/or expansion is write in browsers local file.
Alternatively, before detecting from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information, also comprise: the OPEN of interception user to browser plug-in and/or expansion.
According to another aspect of the present invention, the updating device of a kind of browser plug-in and/or expansion is also disclosed, comprising:
Configuration information acquisition module, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
Alternatively, described configuration information acquisition module comprises: the first configuration information acquisition module, is suitable for after browser starts the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or the second configuration information acquisition module, is suitable for after receiving the register instruction of browser client the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or the 3rd configuration information acquisition module, is suitable for accessing after plug-in unit Hub Web pages when monitoring user the browser plug-in of having installed described in obtaining and/or the configuration information of expansion; Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Alternatively, described the second configuration information acquisition module comprises: user data acquisition module, be suitable for after judgement browser client logins successfully the browser plug-in of having installed described in obtaining and/or the configuration information of expansion from the user data of corresponding browser client; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
Alternatively, described renewal judge module comprises: URL interface creation module, be suitable for the browser plug-in and/or the expansion that for each, have version updating, obtain the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, described calling module comprises: URL interface interchange module, new interface more described in being suitable for calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
Alternatively, described reminding module comprises: plug-in unit Hub Web pages reminding module, is suitable for the browser plug-in of installation corresponding in plug-in unit Hub Web pages and/or expands position showing renewal; And/or plug-in management prompt module, be suitable for having installed in plug-in management window browser plug-in and/or expansion position show renewal.
Alternatively, described reminding module comprises: the first reminding module, is suitable for described lastest imformation and comprises prototype version and/or upgrade target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
Alternatively, described calling module comprises: version authentication module, be suitable for before installing, and the renewal version of described browser plug-in and/or expansion is carried out to safety certification, after authentication is passed through, carry out the operation of installing and loading.
Alternatively, also comprise: the first exception record module, be suitable for when the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, the second exception record module, be suitable for using and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
Alternatively, described calling module comprises: sandbox installation module, be suitable for, when triggering the renewal version of described browser plug-in and/or expansion and install and load, starting sandbox, described installation and the process that loads described renewal version put into sandbox and carry out and judge its security; When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
Alternatively, also comprise: prototype version logging modle, be suitable for before installing and loading, the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise:
Roll-back module, be suitable for when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
Alternatively, described calling module comprises: distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Source analysis module, if be suitable for described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judge described browser plug-in and/or whether expands safety;
Replacement module, if be suitable for described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
Alternatively, described source analysis module comprises: the first safety record acquisition module, be suitable for obtaining from server the security record of described browser plug-in and/or expansion, and judge described browser plug-in and/or whether expand safety according to described security record; Or the second safety record acquisition module, is suitable for obtaining the security record of described browser plug-in and/or expansion from local antivirus software, and judges described browser plug-in and/or whether expand safety according to described security record.
Alternatively, described source analysis module also comprises: the 3rd safety record acquisition module, be suitable for not existing the security record of described browser plug-in and/or expansion in described server or local antivirus software, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
Alternatively, described calling module comprises: distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Stop module, if be suitable for described distribution source for described browser plug-in and/or expand by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
Alternatively, described reminding module comprises: in browser, generate to play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
Alternatively, described renewal judge module comprises: matching judgment module, be suitable for the version information of each browser plug-in and/or expansion to upload onto the server, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
Alternatively, each operation that described browser side is carried out is controlled by browser host process.
Alternatively, described renewal judge module comprises: by realization being set in the background.js file in browser plug-in and/or expansion.
Alternatively, described renewal judge module also for: the more new interface of the browser plug-in of establishment and/or expansion is write on to browsers local file.
Alternatively, before upgrading judge module, also comprise: blocking module, is suitable for tackling the OPEN of user to browser plug-in and/or expansion.
The browser plug-in of can active obtaining browser side having installed according to the update method of a kind of browser plug-in of the present invention and/or expansion and/or the configuration information of expansion, and will exist browser plug-in and/or the expansion upgraded to point out according to described configuration information, and provide more new interface, facilitate user to upgrade, solved thus the problem of user's complicated operation when browser plug-in and/or expansion are upgraded, having obtained can be convenient quick, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of the update method of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 2 shows the schematic flow sheet of the update method of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 3 shows the schematic flow sheet of the update method of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 4 shows the schematic flow sheet of the update method of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 5 shows the schematic flow sheet of the update method of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 6 shows the structural representation of the updating device of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 7 shows the structural representation of the updating device of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 8 shows the structural representation of the updating device of a kind of according to an embodiment of the invention browser plug-in and/or expansion;
Fig. 9 shows the structural representation of the updating device of a kind of according to an embodiment of the invention browser plug-in and/or expansion; And
Figure 10 shows the structural representation of the updating device of a kind of according to an embodiment of the invention browser plug-in and/or expansion.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
With reference to Fig. 1, the schematic flow sheet that it shows the update method of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Step 110, obtains browser plug-in that browser side installed and/or the configuration information of expansion;
In embodiments of the present invention, browser can, according to multiple browser plug-in and/or expansion, such as for Chrome browser, can be installed game application extension, Ad blocking plug-in unit etc.Certainly other browsers also can be installed plug-in unit and/or expansion.
Can obtain on browser backstage in the present invention browser plug-in that browser side installed and/or the configuration information of expansion, such as the title of browser plug-in and/or expansion, version number, abbreviated functional description etc.
The embodiment of the present invention can be obtained above-mentioned configuration information at a plurality of nodes.Preferably, described in, obtaining browser plug-in that browser side installed and/or the configuration information of expansion comprises:
Steps A 12, after browser starts, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
When browser starts, just obtain the configuration information of browser plug-in and/or expansion, then carry out buffer memory, when subsequent step is used, carry out again obtaining from buffer memory.
Or, steps A 14, after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Generally also there is account system in browser, browser can pass through its user ID at server registration and password, utilizes above-mentioned user ID and password to login in the login interface of browser.The embodiment of the present invention can be after receiving the register instruction of browser client so, while logining, or after logining successfully, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Preferably, described after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion, comprising:
Steps A 141, after judgement browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
In embodiments of the present invention, the configuration information of the browser plug-in/expansion of user installation can be deposited in the user data of browser client, bind the part using above-mentioned configuration information as its user data with the user ID of browser client.So when judgement is after browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion.
Or steps A 16, accesses after plug-in unit Hub Web pages the browser plug-in of having installed described in obtaining and/or the configuration information of expansion when monitoring user;
In embodiments of the present invention, can a plug-in unit Hub Web pages be set at browsers local, when user opens plug-in unit Hub Web pages, the browser plug-in that can user be installed in this locality at plug-in unit Hub Web pages and/or the information of expansion are shown, certainly, the information that plug-in unit Hub Web pages also can obtain other plug-in units and/or expansion from server is shown.So can be when monitoring user and access plug-in unit Hub Web pages, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Or steps A 18, triggers after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion when monitoring.
In embodiments of the present invention, a plug-in management window also can be set, local all browser plug-ins and/or the expansion of installing of unified management, so when user wants to go all plug-in units of manager and/or expansion by plug-in management window, after triggering loading of plug-in management window (toolbar at browser is clicked plug-in management window control), the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Above-mentioned 4 different stages of obtaining plug-in unit and/or expanded configuration information can be selected arbitrarily according to actual conditions, and the present invention is not limited it.
While only plug-in unit being installed in the embodiment of the present invention in browser, obtain the configuration information of plug-in unit; While only expansion being installed, only obtain the configuration information of expansion; When plug-in unit and expansion have been installed simultaneously, obtain the configuration information to plug-in unit and expansion simultaneously.
Step 120, detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information;
In abovementioned steps, get after above-mentioned configuration information, can whether detect the renewal version by browser plug-in and/or extended version from plug-in unit and/or expansion servers.Such as the server of software dispatch platform, the version file of various plug-in units and expansion is wherein provided, the present invention can utilize above-mentioned configuration information from the server of software dispatch platform, to remove to judge whether the renewal version of certain or certain a few plug-in unit/expansions so.
Preferably, whether the described configuration information of described foundation has the renewal of browser plug-in and/or extended version to comprise from plug-in unit and/or expansion servers detection:
Steps A 22, uploads onto the server the version information of each browser plug-in and/or expansion, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
By the version information in configuration information, such as version number and plug-in unit/expansion sign, upload onto the server, by server calls version comparison API, the version information of each browser plug-in/expansion that browser is uploaded is compared with the version information of the described browser plug-in/expansion of local storage, obtain comparison result (have upgrade or without upgrade), then comparison result is returned to browser.Browser judges according to above-mentioned comparison result whether its local browser plug-in/expansion has renewal version.
Step 122, if there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
When browser judgement has version updating, for corresponding browser plug-in and/or expansion create more new interface, so that user browses and clicks.
Preferably, describedly for creating more new interface, corresponding browser plug-in and/or expansion comprise:
Steps A 32, the browser plug-in and/or the expansion that for each, have version updating, obtain the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
In practice, the renewal version of each plug-in unit and expansion all can presence server, and browser can pass through links and accesses server so, obtains the concrete data of this renewal version.Thereby the present invention can obtain the renewal version of this plug-in unit and/or expansion at URL corresponding to server end for the plug-in unit and/or the expansion that have version updating, the described URL of take creates more new interface as basis.
In embodiments of the present invention, the described configuration information of described foundation detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface, can be by realization being set in the background.js file in browser plug-in and/or expansion.
Be about to, in background.js file that above-mentioned logic writes plug-in unit/expansion, by plug-in unit/expansion oneself, carry out above-mentioned logic, and carry out without browser host process.
It will be appreciated, of course, that and described comprise while creating more new interface for corresponding browser plug-in and/or expansion: the more new interface of the browser plug-in of establishment and/or expansion is write in browsers local file.
More new interface is the function that belongs to browser itself, rather than the function in the webpage that provides of server.
Step 130, points out the lastest imformation of described browser plug-in and/or expansion accordingly in browser side;
In embodiments of the present invention, for aforementioned plug-in unit Hub Web pages, when browser is opened after this webpage, what not existing that this locality is installed upgraded version upgrades the plug-in unit of version and/or expansion and all can insert plug-in unit Hub Web pages and show with existing, when displaying has the plug-in unit of renewal and/or expands, lastest imformation can be pointed out at corresponding plug-in unit and/or expanding location.In plug-in unit Hub Web pages, the corresponding browser plug-in of installation and/or expansion position shows renewal.
The web page contents of plug-in unit Hub Web pages is generally provided by server, be that its html document obtains from server, the present invention can install this locality at the assigned address of webpage not there is not upgrade version upgrade the plug-in unit of version and/or expansion and all can insert plug-in unit Hub Web pages and show with existing, by inserting in html document, such as in the dom tree of corresponding html document, in the DOM node of appointment, local not the existing of installing of insertion upgraded inserting in this DOM node as content with the existence renewal plug-in unit of version and/or the relevant information of expansion of version.Certainly plug-in unit Hub Web pages also can be shown the uninstalled plug-in unit of browser and/or expansion.
For aforementioned plug-in management window, upgrading the plug-in unit of version and/or expand and all can show at plug-in management window with existing of version upgraded in not existing that this locality is installed, when displaying has the plug-in unit of renewal and/or expands, lastest imformation can be pointed out at corresponding plug-in unit and/or expanding location.Browser plug-in has been installed in plug-in management window and/or has been expanded position and shown renewal.Plug-in management window also can obtain associated recommendation plug-in unit and/or extend information from server, in plug-in management window, shows, facilitates user to select and installs.Plug-in management window can be set to the tab labels page of browser, in Shipping Options Page, show do not exist upgrade version with there is plug-in unit and/or the expansion of upgrading version, and the uninstalled plug-in unit of browser and/or expansion.
Certainly, for other situations, describedly in browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion also can adopt following form, that is:
Steps A 42 generate to play the window page in browser, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
In browser, generate one and play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
Preferably, when pointing out the lastest imformation of described browser plug-in and/or expansion accordingly, browser side comprises:
Described lastest imformation comprises prototype version and/or upgrades target version and/or version number and/or installation kit size and/or security information (such as whether this plug-in unit/expansion passes through the safety verification of server) and/or pay imformation (whether needing defrayment while using this plug-in unit/expansion such as user, the What are your rates of payment) and/or advertising message and/or profile information and/or user comment information.
Step 140, receives the version updating operational order to described browser plug-in and/or expansion;
When user click certain plug-in unit and/or expansion more new interface is upgraded time, browser receives this renewal operational order.
Step 150, calls the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
Receive and upgrade after operational order, call above-mentioned more new interface, from plug-in unit and/or expansion servers, obtain the renewal version of corresponding browser plug-in and/or expansion, then renewal version is installed and loaded.Described plug-in unit and/or expansion servers can be understood as provides the server of plug-in unit, provide expansion server, the server of plug-in unit and expansion is provided.
Preferably, on the basis of steps A 32, further, call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
Steps A 52, new interface more described in calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
By URL, build HTTP request, then from server, download the renewal version of described browser plug-in and/or expansion, then start and install and load.
Preferably, before described plug-in unit and/or expansion installation, also comprise:
Steps A 54, before installing, carries out safety certification to the renewal version of described browser plug-in and/or expansion, after authentication is passed through, carries out the operation of installing and loading.
Such as safety certification (add and be stamped the certificate that the server side of software dispatch platform is issued) is carried out in the browser plug-in for upgrading and/or expansion, meeting be carried out after examining of certificate before the installation of carrying out update contruction bag, be confirmed to be after the browser plug-in of certain software dispatch platform, install.
In the configuration information of browser plug-in or expansion, can record be the issue of which software platform plug-in unit/expansion, by this record, can determine that its source is (such as browser is corresponding to the first software dispatch platform, from the first software dispatch platform, obtain plug-in unit/expansion, plug-in unit/the expansion of so non-the first software dispatch platform is illegally, and/or possesses cooperative relationship (by the first software dispatch platform authentication mistake with the first software dispatch platform, the third party software with corresponding the first software dispatch platform signature), as long as examine so the software of described the first software dispatch platform signature, be legal plug-in unit/expansion, there is no the illegal plug-in unit/expansion of being of above-mentioned signature.
Preferably, also comprise:
Step 160, when the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, use and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
When installing and loading in the process of above-mentioned renewal version, occur when abnormal (such as installing, install and cannot load, when installing and/or loading committed memory ratio to be greater than threshold value etc. abnormal), and/or, in plug-in unit after use installing and loading and/or the process of expansion, there is when abnormal (such as automatically closing, occur mistake, cannot move, that browser program collapse, committed memory ratio are greater than threshold value etc. is abnormal), all can obtain above-mentioned abnormal information and upload onto the server.So that technician modifies to updating file.
In above steps, the operation of being carried out by browser side can be controlled by browser host process.
The browser plug-in that the embodiment of the present invention can active obtaining browser side have been installed and/or the configuration information of expansion, and will exist browser plug-in and/or the expansion upgraded to point out according to described configuration information, and provide more new interface, facilitate user to upgrade, solved thus the problem of user's complicated operation when browser plug-in and/or expansion are upgraded, having obtained can be convenient quick, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.
Embodiment bis-
With reference to Fig. 2, the schematic flow sheet that it shows the update method of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Step 210, obtains browser plug-in that browser side installed and/or the configuration information of expansion;
Step 220, detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information;
Step 222, if there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Step 230, points out the lastest imformation of described browser plug-in and/or expansion accordingly in browser side;
Step 240, receives the version updating operational order to described browser plug-in and/or expansion;
Step 250, calls the more new interface that described corresponding browser plug-in and/or expansion create, and from plug-in unit and/or expansion servers, obtains the renewal version of corresponding browser plug-in and/or expansion;
Step 260, when triggering the renewal version of described browser plug-in and/or expansion and install and load, starts sandbox, and described installation and the process that loads described renewal version is put into sandbox and carry out and judge its security;
So-called sandbox technology, says from technology angle, be exactly from the suspicious program of original prevention to system access, be transformed into suspicious program be redirected under specified folder the access of disk, registration table etc., thereby eliminate the harm to system.
In the present invention, when get the renewal version of browser plug-in and/or expansion from server after, when trigger installing and loading, start sandbox function, just described installation and the process that loads described renewal version put into that sandbox is carried out and the security of judgement installation and loading procedure.
While triggering the described renewal version of installation by browser host process, directly start sandbox, the thread of management installation and loading procedure is all put into sandbox to be carried out, and in sandbox process, judgement is installed and loading procedure safety whether, such as calling antivirus software, the file of carrying out in installation process and loading procedure is killed virus to judge whether safety.
Step 262, installs and loads after safety when judgement, no longer in sandbox, installs and loads described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
After judgement safety and loading procedure safety, no longer in sandbox, install and load described renewal version, proceed to traditional installation and loading procedure, make plug-in unit/expansion can normal mounting., the information of the described upgraded edition safety of judgement is uploaded onto the server meanwhile, while this plug-in unit/expansion being installed in order to the browser of other clients, need not restart sandbox and install and load.
When judgement is dangerous, continue to carry out and install and loading procedure with sandbox.
Preferably, also comprise:
Step S264, before installing and loading, backs up the version relevant information of current browser plug-in and/or expansion;
Current version information and the edition data of preserving the plug-in unit/expansion that need to upgrade back up.
Further, also comprise:
S266, when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
When judgement in sandbox is installed and loading procedure is dangerous, viral such as existing, can obtain the version relevant information before the installation of aforementioned backup, then auto back is rolled into the version before installing and loading.
Certainly, while occurring that installation and loading appearance are abnormal, also can roll back to the version before installing and loading,
Preferably, described judge described browser plug-in and/or expansion whether safety comprise:
Step S256, obtains the security record of described browser plug-in and/or expansion from server, and judges described browser plug-in and/or whether expand safety according to described security record;
Or step S258 obtains the security record of described browser plug-in and/or expansion from local antivirus software, according to described security record, judge described browser plug-in and/or whether expand safety.
The embodiment of the present invention is similar to the similar step principle of embodiment mono-, is not described in detail in this.The problem of complicated operation when the invention solves user browser plug-in and/or expansion being upgraded, obtained can be convenient fast, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.Further, the present invention can protect the installation of plug-in unit/expansion and loading procedure, avoids unsafe renewal version to install and loading procedure, affects the security that user uses.
Embodiment tri-
With reference to Fig. 3, the schematic flow sheet that it shows the update method of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Step 310, obtains browser plug-in that browser side installed and/or the configuration information of expansion;
Step 320, detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information;
Step 322, if there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Step 330, points out the lastest imformation of described browser plug-in and/or expansion accordingly in browser side;
Step 340, receives the version updating operational order to described browser plug-in and/or expansion;
Step 350, judges that according to the configuration information of described browser plug-in and/or expansion the distribution of described browser plug-in and/or expansion is originated;
In practice, a lot of plug-in units are bound installation with other softwares, by the software of its binding, are distributed.Can judge what its distribution source is, is the plug-in unit/expansion of directly being distributed by software platform according to the configuration information of this browser plug-in/expansion so, or by binding software dispatch.And may by software platform, not carry out safety verification by the plug-in unit/expansion of binding software dispatch, and there is security risk, need to carry out analysis to it.
When judgement distribution source, such as by the installation record in configuration information, judge whether its distribution source is obtained by binding software.
In embodiments of the present invention, can by outer monitoring software, go the operation note of the software of monitor client, for example, monitor installation, the operation of a player software, if go beyond one's commission and initiate to carry out the installation of a browser plug-in/expansion when it is installed, moves.The distribution source of this browser plug-in/expansion will be recorded as this player.Outer monitoring software can be notified browser of the present invention by above-mentioned source-information.Browser can be according to the distribution source of plug-in unit described in this Notification Validation so.
Step 352, if described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judges described browser plug-in and/or whether expands safety;
If judge the distribution source of above-mentioned browser plug-in and/or the expansion binding software dispatch of serving as reasons, it carried out to analysis.Being judged as safety carries out obtaining and upgrading version and install and load from server; Be judged as the dangerous step 354 that enters.
Preferably, described judge described browser plug-in and/or expansion whether safety comprise:
Step C12, obtains the security record of described browser plug-in and/or expansion from server, and judges described browser plug-in and/or whether expand safety according to described security record;
In embodiments of the present invention, server can carry out record to the security of each browser plug-in/expansion, build black and white lists, this safety record can be carried out analysis acquisition to it by server, also can to its behavior, judge acquisition by the antivirus software of each client terminal local.The present invention can obtain this black and white lists from server so, then based on this black and white lists, judges whether safety of this plug-in unit/expand.
Or step C14 obtains the security record of described browser plug-in and/or expansion from local antivirus software, according to described security record, judge described browser plug-in and/or whether expand safety.
In embodiments of the present invention, to the security judgement of above-mentioned browser plug-in/expansion, also can obtain by local antivirus software.In the Cloud Server that the antivirus software of local client can synchronously be killed virus, safety record to each plug-in unit/expansion, also in the time of can killing virus in this locality scanning, the security of each plug-in unit/expansion is recorded to (such as black and white lists), the embodiment of the present invention can be obtained its safety record from local antivirus software so, then based on this safety record, judges described browser plug-in and/or whether expands safety.
Preferably, described judge described browser plug-in and/or expansion whether safety also comprise:
In described server or local antivirus software, there is not the security record of described browser plug-in and/or expansion, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
Certainly, may above-mentioned server and antivirus software there is not the safety record to described browser plug-in and/or expansion, need so its safety whether of real-time judge.So in the embodiment of the present invention, browser can notify local antivirus software to go to scan the setting of described browser plug-in and/or expansion, by arranging of plug-in unit/expansion, judge its behavioural information, such as whether reading privacy information, whether change system operating right, whether read user account and password, whether control automatic redirect webpage etc.Then antivirus software notifies the judged result of " whether safety " to browser.
Step 354, if described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
If dangerous, from the server (such as 360 platforms) of software platform, obtain the installation file of the safety after authentication, to described, state browser plug-in and/or expansion is replaced; Or from software platform, search to described browser plug-in and/or expand installation file of similar (functional similarity) safety, to described, stating browser plug-in and/or expansion is replaced.
Wherein, while searching similar installation file, can by above-mentioned keyword, go software platform to inquire about by extracting keywords in the brief introduction of software in configuration information, plug-in unit and/or expansion that matching degree is the highest return to browser.
If safety, does not replace, directly obtain its file that upgrades version and install and load.
The embodiment of the present invention is similar to the similar step principle of embodiment mono-, two, is not described in detail in this.The problem of complicated operation when the invention solves user browser plug-in and/or expansion being upgraded, obtained can be convenient fast, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.Further, the present invention can not carry out safe handling to the browser plug-in/expansion of the process checking by binding software dispatch, avoids unsafe plug-in unit/expansion to affect the security that user uses.
Embodiment tetra-
With reference to Fig. 4, the schematic flow sheet that it shows the update method of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Step 410, obtains browser plug-in that browser side installed and/or the configuration information of expansion;
Step 420, detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information;
Step 422, if there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Step 430, points out the lastest imformation of described browser plug-in and/or expansion accordingly in browser side;
Step 440, receives the version updating operational order to described browser plug-in and/or expansion;
Step 450, judges that according to the configuration information of described browser plug-in and/or expansion the distribution of described browser plug-in and/or expansion is originated;
Step 460, if described distribution source is described browser plug-in and/or expands by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
This step can be obtained described browser plug-in and/or expansion from server, when the described distribution of the judgement source binding software dispatch of serving as reasons, when installing and loading this plug-in unit/expansion, when it need to replace plug-in unit/expansion preset in browser, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
The embodiment of the present invention is similar to the similar step principle of embodiment mono-, two, three, is not described in detail in this.The problem of complicated operation when the invention solves user browser plug-in and/or expansion being upgraded, obtained can be convenient fast, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.Further, the present invention, can the replacement to the preset plug-in unit/expansion in this locality to plug-in unit/expansion of avoiding non-partner.
Embodiment five
With reference to Fig. 5, the schematic flow sheet that it shows the update method of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Step 510, obtains browser plug-in that browser side installed and/or the configuration information of expansion;
Can obtain as follows configuration information in embodiments of the present invention:
Steps A 12, after browser starts, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
When browser starts, just obtain the configuration information of browser plug-in and/or expansion, then carry out buffer memory, when subsequent step is used, carry out again obtaining from buffer memory.
Or, steps A 14, after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Generally also there is account system in browser, browser can pass through its user ID at server registration and password, utilizes above-mentioned user ID and password to login in the login interface of browser.The embodiment of the present invention can be after receiving the register instruction of browser client so, while logining, or after logining successfully, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Preferably, described after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion, comprising:
Steps A 141, after judgement browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
In embodiments of the present invention, the configuration information of the browser plug-in/expansion of user installation can be deposited in the user data of browser client, bind the part using above-mentioned configuration information as its user data with the user ID of browser client.So when judgement is after browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion.
Step 515, the OPEN of interception user to browser plug-in and/or expansion;
In embodiments of the present invention, also exist a kind of situation to be, user's open any browser, then clicks while opening certain application, reresents user and upgrades.In this step, when user's click browser plug-in unit and/or expansion, first tackle the OPEN of user to browser plug-in and/or expansion so.
Step 520, detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information;
Certainly, this step can only detect the renewal whether plug-in unit that user opens or expansion have version.
Step 522, if there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Step 530, points out the lastest imformation of described browser plug-in and/or expansion accordingly in browser side;
In this step, preferred, describedly in browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise:
Step S532 generate to play the window page in browser, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
Step 540, receives the version updating operational order to described browser plug-in and/or expansion;
Step 550, calls the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
After installation and loaded, continue to carry out to described browser plug-in and/or expansion OPEN, for user, use.
When user selects not upgrade, continue to carry out described OPEN, open plug-in unit/expansion, for user, use.
Certainly, in the present embodiment, step 515 can be according to actual conditions before adjusting to other steps 510.Now, this step also can only be obtained the configuration information when the plug-in unit/expansion of front opening.
Similar to the similar step principle of embodiment mono-, two, three, four in the embodiment of the present invention, be not described in detail in this.The problem of complicated operation when the invention solves user browser plug-in and/or expansion being upgraded, obtained can be convenient fast, intuitively by browser plug-in and/or expansion lastest imformation and more new interface offer user, beneficial effect when facilitating user to upgrade browser plug-in and/or expansion.Further, the present invention can open when application user and be user and provide and upgrade prompting and new interface more, so that user just can upgrade easily the software of version and upgrade before using plug-in unit/expansion to existing, and need not adopt the operation of other complexity to go to upgrade.
Embodiment six
With reference to Fig. 6, the structural representation that it shows the updating device of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Configuration information acquisition module 610, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module 620, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module 630, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module 640, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module 650, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
Preferably, described configuration information acquisition module comprises:
The first configuration information acquisition module, is suitable for after browser starts the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or the second configuration information acquisition module, is suitable for after receiving the register instruction of browser client the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or the 3rd configuration information acquisition module, is suitable for accessing after plug-in unit Hub Web pages when monitoring user the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
Preferably, described the second configuration information acquisition module comprises:
User data acquisition module, is suitable for after judgement browser client logins successfully the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
Preferably, described renewal judge module comprises:
URL interface creation module, is suitable for the browser plug-in and/or the expansion that there are version updating for each, obtains the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, described calling module comprises:
URL interface interchange module, new interface more described in being suitable for calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
Preferably, described reminding module comprises:
Plug-in unit Hub Web pages reminding module, is suitable for the browser plug-in of installation corresponding in plug-in unit Hub Web pages and/or expansion position shows renewal; And/or plug-in management prompt module, be suitable for having installed in plug-in management window browser plug-in and/or expansion position show renewal.
Preferably, described reminding module comprises:
The first reminding module, is suitable for described lastest imformation and comprises prototype version and/or upgrade target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
Preferably, described calling module comprises:
Version authentication module, was suitable for before installing, and the renewal version of described browser plug-in and/or expansion is carried out to safety certification, after authentication is passed through, carried out the operation of installing and loading.
Preferably, also comprise:
The first exception record module, be suitable for when the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, the second exception record module, be suitable for using and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
Preferably, described calling module comprises:
Sandbox installation module, is suitable for, when triggering the renewal version of described browser plug-in and/or expansion and install and load, starting sandbox, described installation and the process that loads described renewal version is put into sandbox and carry out and judge its security; When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
Preferably, also comprise:
Prototype version logging modle, was suitable for before installing and loading, and the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise:
Roll-back module, be suitable for when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
Preferably, described calling module comprises:
Distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Source analysis module, if be suitable for described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judge described browser plug-in and/or whether expands safety;
Replacement module, if be suitable for described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
Preferably, described source analysis module comprises:
The first safety record acquisition module, is suitable for obtaining from server the security record of described browser plug-in and/or expansion, and judges described browser plug-in and/or whether expand safety according to described security record;
Or the second safety record acquisition module, is suitable for obtaining the security record of described browser plug-in and/or expansion from local antivirus software, and judges described browser plug-in and/or whether expand safety according to described security record.
Preferably, described source analysis module also comprises:
The 3rd safety record acquisition module, be suitable for not existing the security record of described browser plug-in and/or expansion in described server or local antivirus software, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
Preferably, described calling module comprises:
Distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Stop module, if be suitable for described distribution source for described browser plug-in and/or expand by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
Preferably, described reminding module comprises:
In browser, generate to play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
Preferably, described renewal judge module comprises:
Matching judgment module, is suitable for the version information of each browser plug-in and/or expansion to upload onto the server, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
Preferably, each operation that described browser side is carried out is controlled by browser host process.
Preferably, described renewal judge module comprises:
By realization being set in the background.js file in browser plug-in and/or expansion.
Preferably, described renewal judge module also for:
The more new interface of the browser plug-in of establishment and/or expansion is write in browsers local file.
Preferably, before upgrading judge module, also comprise:
Blocking module, is suitable for tackling the OPEN of user to browser plug-in and/or expansion.
Embodiment seven
With reference to Fig. 7, the structural representation that it shows the updating device of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Configuration information acquisition module 710, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module 720, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module 730, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module 740, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module 750, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers;
Described calling module 750 comprises:
Sandbox installation module 751, is suitable for, when triggering the renewal version of described browser plug-in and/or expansion and install and load, starting sandbox, described installation and the process that loads described renewal version is put into sandbox and carry out and judge its security; When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
Preferably, also comprise:
Prototype version logging modle, was suitable for before installing and loading, and the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise:
Roll-back module, be suitable for when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
Embodiment eight
With reference to Fig. 8, the structural representation that it shows the updating device of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Configuration information acquisition module 810, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module 820, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module 830, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module 840, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module 850, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers;
Described calling module 850 comprises:
Distribute source judge module 852, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Source analysis module 854, if be suitable for described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judge described browser plug-in and/or whether expands safety;
Replacement module 856, if be suitable for described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
Preferably, described source analysis module 854 comprises:
The first safety record acquisition module, is suitable for obtaining from server the security record of described browser plug-in and/or expansion, and judges described browser plug-in and/or whether expand safety according to described security record;
Or the second safety record acquisition module, is suitable for obtaining the security record of described browser plug-in and/or expansion from local antivirus software, and judges described browser plug-in and/or whether expand safety according to described security record.
Preferably, described source analysis module 854 also comprises:
The 3rd safety record acquisition module, be suitable for not existing the security record of described browser plug-in and/or expansion in described server or local antivirus software, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
Embodiment nine
With reference to Fig. 9, the structural representation that it shows the updating device of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Configuration information acquisition module 910, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module 920, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module 930, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module 940, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module 950, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers;
Described calling module 950 comprises:
Distribute source judge module 952, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Stop module 954, if be suitable for described distribution source for described browser plug-in and/or expand by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
Embodiment ten
With reference to Figure 10, the structural representation that it shows the updating device of a kind of browser plug-in of the present invention and/or expansion, specifically can comprise:
Configuration information acquisition module 1010, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Blocking module 1020, is suitable for tackling the OPEN of user to browser plug-in and/or expansion.
Upgrade judge module 1030, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module 1040, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module 1050, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module 1060, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers;
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the embodiment of the present invention
browser plug-in and/or expansion are upgradedthe some or all functions of the some or all parts in equipment.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The update method that the invention discloses A1, a kind of browser plug-in and/or expansion, comprising:
Obtain browser plug-in that browser side installed and/or the configuration information of expansion;
According to described configuration information, from plug-in unit and/or expansion servers, detect the renewal that whether has browser plug-in and/or extended version; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
In browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion;
Receive the version updating operational order to described browser plug-in and/or expansion;
Call the more new interface that described corresponding browser plug-in and/or expansion create, from plug-in unit and/or expansion servers, obtain the renewal version of corresponding browser plug-in and/or expansion and install and load.
A2, the method as described in A1, is characterized in that, described in obtain browser plug-in that browser side installed and/or the configuration information of expansion comprises:
After browser starts, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring user, access after plug-in unit Hub Web pages the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
A3, the method as described in A2, is characterized in that, described after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion, comprising:
After judgement browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
A4, the method as described in A1, is characterized in that, describedly for corresponding browser plug-in and/or expansion create more new interface, comprises:
The browser plug-in and/or the expansion that for each, have version updating, obtain the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
New interface more described in calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
A5, the method as described in A1, is characterized in that, describedly in browser side, points out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise:
The browser plug-in of installation and/or expansion position corresponding in plug-in unit Hub Web pages show renewal; And/or in plug-in management window, installed browser plug-in and/or expansion position show renewal.
A6, the method as described in A1, is characterized in that, when browser side is pointed out the lastest imformation of described browser plug-in and/or expansion accordingly, comprises:
Described lastest imformation comprises prototype version and/or upgrades target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
A7, the method as described in A1, is characterized in that, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
Before installing, the renewal version of described browser plug-in and/or expansion is carried out to safety certification, after authentication is passed through, carry out the operation of installing and loading.
A8, the method as described in A1, is characterized in that, also comprises:
When the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, use and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
A9, the method as described in A1, is characterized in that, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers is installed and loaded, and comprising:
When triggering the renewal version of described browser plug-in and/or expansion and install and load, start sandbox, and described installation and the process that loads described renewal version are put into sandbox and carry out and judge its security;
When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
A10, the method as described in A9, is characterized in that, also comprises:
Before installing and loading, the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise:
When judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
A11, the method as described in A1, it is characterized in that, describedly call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
According to the configuration information of described browser plug-in and/or expansion, judge the distribution source of described browser plug-in and/or expansion;
If described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judges described browser plug-in and/or whether expands safety;
If described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
A12, the method as described in A11, is characterized in that, described judge described browser plug-in and/or expansion whether safety comprise:
From server, obtain the security record of described browser plug-in and/or expansion, and judge described browser plug-in and/or whether expand safety according to described security record;
Or from local antivirus software, obtain the security record of described browser plug-in and/or expansion, according to described security record, judge described browser plug-in and/or whether expand safety.
A13, the method as described in A12, is characterized in that, described judge described browser plug-in and/or expansion whether safety also comprise:
In described server or local antivirus software, there is not the security record of described browser plug-in and/or expansion, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
A14, the method as described in A1, it is characterized in that, describedly call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
According to the configuration information of described browser plug-in and/or expansion, judge the distribution source of described browser plug-in and/or expansion;
If described distribution source is described browser plug-in and/or expands by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
A15, the method as described in A1, is characterized in that, describedly in browser side, points out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise:
In browser, generate to play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
A16, the method as described in A1, is characterized in that, whether the described configuration information of described foundation has the renewal of browser plug-in and/or extended version to comprise from plug-in unit and/or expansion servers detection:
The version information of each browser plug-in and/or expansion is uploaded onto the server, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
A17, the method as described in A1, is characterized in that, each operation that described browser side is carried out is controlled by browser host process.
A18, as the method for A1-A17 as described in one of them, it is characterized in that, the described configuration information of described foundation detects from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version; If there is version updating, for creating more new interface, corresponding browser plug-in and/or expansion comprise:
By realization being set in the background.js file in browser plug-in and/or expansion.
A19, the method as described in A18, is characterized in that, describedly comprises while creating more new interface for corresponding browser plug-in and/or expansion:
The more new interface of the browser plug-in of establishment and/or expansion is write in browsers local file.
A20, the method as described in A1, is characterized in that, before detecting from plug-in unit and/or expansion servers the renewal that whether has browser plug-in and/or extended version according to described configuration information, also comprises:
The OPEN of interception user to browser plug-in and/or expansion.
The updating device that the invention also discloses B21, a kind of browser plug-in and/or expansion, comprising:
Configuration information acquisition module, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
B22, the device as described in B21, is characterized in that, described configuration information acquisition module comprises:
The first configuration information acquisition module, is suitable for after browser starts the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or the second configuration information acquisition module, is suitable for after receiving the register instruction of browser client the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or the 3rd configuration information acquisition module, is suitable for accessing after plug-in unit Hub Web pages when monitoring user the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
B23, the device as described in B22, is characterized in that, described the second configuration information acquisition module comprises:
User data acquisition module, is suitable for after judgement browser client logins successfully the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
B24, the device as described in B21, is characterized in that, described renewal judge module comprises:
URL interface creation module, is suitable for the browser plug-in and/or the expansion that there are version updating for each, obtains the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, described calling module comprises:
URL interface interchange module, new interface more described in being suitable for calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
B25, the device as described in B21, is characterized in that, described reminding module comprises:
Plug-in unit Hub Web pages reminding module, is suitable for the browser plug-in of installation corresponding in plug-in unit Hub Web pages and/or expansion position shows renewal; And/or plug-in management prompt module, be suitable for having installed in plug-in management window browser plug-in and/or expansion position show renewal.
B26, the device as described in B21, is characterized in that, described reminding module comprises:
The first reminding module, is suitable for described lastest imformation and comprises prototype version and/or upgrade target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
B27, the device as described in B21, is characterized in that, described calling module comprises:
Version authentication module, was suitable for before installing, and the renewal version of described browser plug-in and/or expansion is carried out to safety certification, after authentication is passed through, carried out the operation of installing and loading.
B28, the device as described in B21, is characterized in that, also comprises:
The first exception record module, be suitable for when the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, the second exception record module, be suitable for using and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
B29, the device as described in B21, is characterized in that, described calling module comprises:
Sandbox installation module, is suitable for, when triggering the renewal version of described browser plug-in and/or expansion and install and load, starting sandbox, described installation and the process that loads described renewal version is put into sandbox and carry out and judge its security; When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
B30, the device as described in B29, is characterized in that, also comprises:
Prototype version logging modle, was suitable for before installing and loading, and the version relevant information of current browser plug-in and/or expansion is backed up;
Further, also comprise:
Roll-back module, be suitable for when judgement install and load dangerous after, according to the version relevant information of recorded browser plug-in and/or expansion, auto back is rolled into the version before installing and loading.
B31, the device as described in B21, is characterized in that, described calling module comprises:
Distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Source analysis module, if be suitable for described distribution source for described browser plug-in and/or expansion are by binding software dispatch, judge described browser plug-in and/or whether expands safety;
Replacement module, if be suitable for described browser plug-in and/or expand dangerous, search corresponding described browser plug-in and/or expansion safety installation file or search to described browser plug-in and/or expand the installation file of similar safety, to described, state browser plug-in and/or expansion is replaced.
B32, the device as described in B31, is characterized in that, described source analysis module comprises:
The first safety record acquisition module, is suitable for obtaining from server the security record of described browser plug-in and/or expansion, and judges described browser plug-in and/or whether expand safety according to described security record;
Or the second safety record acquisition module, is suitable for obtaining the security record of described browser plug-in and/or expansion from local antivirus software, and judges described browser plug-in and/or whether expand safety according to described security record.
B33, the device as described in B32, is characterized in that, described source analysis module also comprises:
The 3rd safety record acquisition module, be suitable for not existing the security record of described browser plug-in and/or expansion in described server or local antivirus software, according to arranging of described browser plug-in and/or expansion, judge described browser plug-in and/or whether expand safety.
B34, the device as described in B21, is characterized in that, described calling module comprises:
Distribute source judge module, be suitable for judging according to the configuration information of described browser plug-in and/or expansion the distribution source of described browser plug-in and/or expansion;
Stop module, if be suitable for described distribution source for described browser plug-in and/or expand by binding software dispatch, and the installation of this browser plug-in and/or expansion and loading procedure are to replace when the preset browser plug-in of browser side and/or expansion, stop installation and the loading of the renewal version of described browser plug-in and/or expansion.
B35, the device as described in B21, is characterized in that, described reminding module comprises:
In browser, generate to play the window page, by the lastest imformation of each browser plug-in and/or expansion be presented in described bullet window and in described bullet window, load described in new interface more.
B36, the device as described in B21, is characterized in that, described renewal judge module comprises:
Matching judgment module, is suitable for the version information of each browser plug-in and/or expansion to upload onto the server, and the notice that whether has version updating returned of reception server; Whether described server is compared with the version information of local described browser plug-in/expansion of storing by the version information of each browser plug-in/expansion of calling version comparison API browser being uploaded, according to comparison result, will exist the notice of renewal to return to browser.
B37, the device as described in B21, is characterized in that, each operation that described browser side is carried out is controlled by browser host process.
B38, as the device of B21-B37 as described in one of them, it is characterized in that, described renewal judge module comprises:
By realization being set in the background.js file in browser plug-in and/or expansion.
B39, the device as described in B38, is characterized in that, described renewal judge module also for:
The more new interface of the browser plug-in of establishment and/or expansion is write in browsers local file.
B40, the device as described in B21, is characterized in that, before upgrading judge module, also comprises:
Blocking module, is suitable for tackling the OPEN of user to browser plug-in and/or expansion.
Claims (10)
1. a update method for browser plug-in and/or expansion, comprising:
Obtain browser plug-in that browser side installed and/or the configuration information of expansion;
According to described configuration information, from plug-in unit and/or expansion servers, detect the renewal that whether has browser plug-in and/or extended version; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
In browser side, point out accordingly the lastest imformation of described browser plug-in and/or expansion;
Receive the version updating operational order to described browser plug-in and/or expansion;
Call the more new interface that described corresponding browser plug-in and/or expansion create, from plug-in unit and/or expansion servers, obtain the renewal version of corresponding browser plug-in and/or expansion and install and load.
2. the method for claim 1, is characterized in that, described in obtain browser plug-in that browser side installed and/or the configuration information of expansion comprises:
After browser starts, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring user, access after plug-in unit Hub Web pages the browser plug-in of having installed described in obtaining and/or the configuration information of expansion;
Or, when monitoring, trigger after loading of plug-in management window the browser plug-in of having installed described in obtaining and/or the configuration information of expansion.
3. method as claimed in claim 2, is characterized in that, described after receiving the register instruction of browser client, the browser plug-in of having installed described in obtaining and/or the configuration information of expansion, comprising:
After judgement browser client logins successfully, the browser plug-in of having installed described in obtaining from the user data of corresponding browser client and/or the configuration information of expansion; Wherein, the configuration information of the described browser plug-in of having installed and/or expansion is stored in described user data.
4. the method for claim 1, is characterized in that, describedly for corresponding browser plug-in and/or expansion create more new interface, comprises:
The browser plug-in and/or the expansion that for each, have version updating, obtain the renewal version of this browser plug-in and/or expansion at the URL of server end, utilize described URL create described in new interface more;
Further, call the more new interface that described corresponding browser plug-in and/or expansion create, the renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
New interface more described in calling, obtains the renewal version of browser plug-in and/or expansion to install and to load from server by described URL.
5. the method for claim 1, is characterized in that, describedly in browser side, points out accordingly the lastest imformation of described browser plug-in and/or expansion to comprise:
The browser plug-in of installation and/or expansion position corresponding in plug-in unit Hub Web pages show renewal; And/or in plug-in management window, installed browser plug-in and/or expansion position show renewal.
6. the method for claim 1, is characterized in that, when browser side is pointed out the lastest imformation of described browser plug-in and/or expansion accordingly, comprises:
Described lastest imformation comprises prototype version and/or upgrades target version and/or version number and/or installation kit size and/or security information and/or pay imformation and/or advertising message and/or profile information and/or user comment information.
7. the method for claim 1, is characterized in that, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers installs and loading comprises:
Before installing, the renewal version of described browser plug-in and/or expansion is carried out to safety certification, after authentication is passed through, carry out the operation of installing and loading.
8. the method for claim 1, is characterized in that, also comprises:
When the renewal version of browser plug-in and/or expansion installing and loading procedure in occur when abnormal, and/or, use and in the process of described browser plug-in and/or expansion, occur when abnormal, obtain abnormal information and described abnormal information being uploaded onto the server.
9. the method for claim 1, is characterized in that, the described renewal version that obtains corresponding browser plug-in and/or expansion from plug-in unit and/or expansion servers is installed and loaded, and comprising:
When triggering the renewal version of described browser plug-in and/or expansion and install and load, start sandbox, and described installation and the process that loads described renewal version are put into sandbox and carry out and judge its security;
When judgement, install and load after safety, no longer in sandbox, install and load described renewal version, and the information of the described upgraded edition safety of judgement is uploaded onto the server.
10. a updating device for browser plug-in and/or expansion, comprising:
Configuration information acquisition module, is suitable for obtaining browser plug-in that browser side installed and/or the configuration information of expansion;
Upgrade judge module, be suitable for from plug-in unit and/or expansion servers, detecting the renewal that whether has browser plug-in and/or extended version according to described configuration information; If there is version updating, for corresponding browser plug-in and/or expansion create more new interface;
Reminding module, is suitable for pointing out accordingly in browser side the lastest imformation of described browser plug-in and/or expansion;
Update instruction receiver module, is suitable for receiving the version updating operational order to described browser plug-in and/or expansion;
Calling module, is suitable for calling the more new interface that described corresponding browser plug-in and/or expansion create, and obtains the renewal version of corresponding browser plug-in and/or expansion install and load from plug-in unit and/or expansion servers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410351839.XA CN104156235A (en) | 2014-07-22 | 2014-07-22 | Browser plugin and/or extension updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410351839.XA CN104156235A (en) | 2014-07-22 | 2014-07-22 | Browser plugin and/or extension updating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104156235A true CN104156235A (en) | 2014-11-19 |
Family
ID=51881742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410351839.XA Pending CN104156235A (en) | 2014-07-22 | 2014-07-22 | Browser plugin and/or extension updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104156235A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN104809016A (en) * | 2015-05-13 | 2015-07-29 | 北京京东尚科信息技术有限公司 | Method and system for upgrading website page |
CN105045628A (en) * | 2015-07-25 | 2015-11-11 | 北京金山安全软件有限公司 | Installation method and device of browser extension application |
CN106776784A (en) * | 2016-11-24 | 2017-05-31 | 福建星网智慧科技股份有限公司 | A kind of method that WEB page is quickly loaded |
WO2018001041A1 (en) * | 2016-06-27 | 2018-01-04 | 中兴通讯股份有限公司 | Interface implementation method and device, set-top box, and storage medium |
CN107704334A (en) * | 2017-10-13 | 2018-02-16 | 维沃移动通信有限公司 | A kind of SDK processing method and mobile terminal |
CN108287726A (en) * | 2017-03-03 | 2018-07-17 | 广州市动景计算机科技有限公司 | Update detection method, device and the service terminal of extension |
CN108829419A (en) * | 2018-06-07 | 2018-11-16 | 安徽鼎龙网络传媒有限公司 | A kind of update of plug-in and self-measuring system in micro- scene management backstage mobile phone store |
CN110609703A (en) * | 2019-09-18 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Performance detection tool implementation method and device, readable storage medium and terminal equipment |
CN111417019A (en) * | 2020-03-09 | 2020-07-14 | 深圳市酷开网络科技有限公司 | Method and device for processing plug-in abnormity, computer equipment and storage medium |
CN112055057A (en) * | 2020-08-14 | 2020-12-08 | 青岛海信网络科技股份有限公司 | Method, device and equipment for dynamically expanding Web system |
CN112099827A (en) * | 2020-09-21 | 2020-12-18 | 上海二三四五网络科技有限公司 | Control method and device for automatic updating of plug-in browser |
CN112925722A (en) * | 2021-03-30 | 2021-06-08 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
JP2022086834A (en) * | 2020-11-30 | 2022-06-09 | テックタッチ株式会社 | Information processing program and information processing device |
CN114996693A (en) * | 2022-07-19 | 2022-09-02 | 深圳市美力高集团有限公司 | Information safety protection method and device, vehicle and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240798A1 (en) * | 2004-03-31 | 2005-10-27 | Microsoft Corporation | System and method of preventing a web browser plug-in module from generating a failure |
CN102195804A (en) * | 2011-03-10 | 2011-09-21 | 易程(苏州)软件股份有限公司 | Automatic updating method of software and system thereof |
CN102789389A (en) * | 2012-08-01 | 2012-11-21 | 深圳市茁壮网络股份有限公司 | Plug-in version detecting and upgrading method and plug-in detector |
CN103064663A (en) * | 2012-11-19 | 2013-04-24 | 北京百度网讯科技有限公司 | Browser plug-in generating, issuing, loading and updating method and system |
CN103761114A (en) * | 2013-10-18 | 2014-04-30 | 北京奇虎科技有限公司 | Method and device for loading extensions and/or plugins on browser side |
-
2014
- 2014-07-22 CN CN201410351839.XA patent/CN104156235A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240798A1 (en) * | 2004-03-31 | 2005-10-27 | Microsoft Corporation | System and method of preventing a web browser plug-in module from generating a failure |
US20080235536A1 (en) * | 2004-03-31 | 2008-09-25 | Microsoft Corporation | System and method of preventing a web browser plug-in module from generating a failure |
CN102195804A (en) * | 2011-03-10 | 2011-09-21 | 易程(苏州)软件股份有限公司 | Automatic updating method of software and system thereof |
CN102789389A (en) * | 2012-08-01 | 2012-11-21 | 深圳市茁壮网络股份有限公司 | Plug-in version detecting and upgrading method and plug-in detector |
CN103064663A (en) * | 2012-11-19 | 2013-04-24 | 北京百度网讯科技有限公司 | Browser plug-in generating, issuing, loading and updating method and system |
CN103761114A (en) * | 2013-10-18 | 2014-04-30 | 北京奇虎科技有限公司 | Method and device for loading extensions and/or plugins on browser side |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN104765816B (en) * | 2015-04-03 | 2018-09-11 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN104809016A (en) * | 2015-05-13 | 2015-07-29 | 北京京东尚科信息技术有限公司 | Method and system for upgrading website page |
CN105045628A (en) * | 2015-07-25 | 2015-11-11 | 北京金山安全软件有限公司 | Installation method and device of browser extension application |
CN105045628B (en) * | 2015-07-25 | 2018-12-25 | 珠海豹趣科技有限公司 | A kind of installation method and device of browser expanded application |
WO2018001041A1 (en) * | 2016-06-27 | 2018-01-04 | 中兴通讯股份有限公司 | Interface implementation method and device, set-top box, and storage medium |
CN106776784A (en) * | 2016-11-24 | 2017-05-31 | 福建星网智慧科技股份有限公司 | A kind of method that WEB page is quickly loaded |
CN108287726A (en) * | 2017-03-03 | 2018-07-17 | 广州市动景计算机科技有限公司 | Update detection method, device and the service terminal of extension |
CN107704334A (en) * | 2017-10-13 | 2018-02-16 | 维沃移动通信有限公司 | A kind of SDK processing method and mobile terminal |
CN108829419A (en) * | 2018-06-07 | 2018-11-16 | 安徽鼎龙网络传媒有限公司 | A kind of update of plug-in and self-measuring system in micro- scene management backstage mobile phone store |
CN110609703A (en) * | 2019-09-18 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Performance detection tool implementation method and device, readable storage medium and terminal equipment |
CN110609703B (en) * | 2019-09-18 | 2024-02-23 | 腾讯科技(深圳)有限公司 | Performance detection tool implementation method and device, readable storage medium and terminal equipment |
CN111417019A (en) * | 2020-03-09 | 2020-07-14 | 深圳市酷开网络科技有限公司 | Method and device for processing plug-in abnormity, computer equipment and storage medium |
CN112055057A (en) * | 2020-08-14 | 2020-12-08 | 青岛海信网络科技股份有限公司 | Method, device and equipment for dynamically expanding Web system |
CN112099827A (en) * | 2020-09-21 | 2020-12-18 | 上海二三四五网络科技有限公司 | Control method and device for automatic updating of plug-in browser |
CN112099827B (en) * | 2020-09-21 | 2021-06-04 | 上海二三四五网络科技有限公司 | Control method and device for automatic updating of plug-in browser |
JP2022086834A (en) * | 2020-11-30 | 2022-06-09 | テックタッチ株式会社 | Information processing program and information processing device |
CN112925722A (en) * | 2021-03-30 | 2021-06-08 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
CN112925722B (en) * | 2021-03-30 | 2024-05-10 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
CN114996693A (en) * | 2022-07-19 | 2022-09-02 | 深圳市美力高集团有限公司 | Information safety protection method and device, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104156235A (en) | Browser plugin and/or extension updating method and device | |
CN104536981B (en) | Realize method, browser client and the device of secure browser | |
US9912747B2 (en) | Browser and system for download and download method | |
CN104539584B (en) | The anti-method for implanting of browser, browser client and device | |
CN102930211A (en) | Method for intercepting malicious URLs in multi-kernel browser and multi-kernel browser | |
WO2014139300A1 (en) | Method and device for loading a plug-in | |
CN103677935A (en) | Installation and control method, system and device for application programs | |
US20140310807A1 (en) | Cloud-based secure download method | |
CN104517054A (en) | Method, device, client and server for detecting malicious APK | |
CN102932356A (en) | Malicious website intercepting method and device in multi-core browser | |
CN103077353A (en) | Method and device for actively defending rogue program | |
WO2014071867A1 (en) | Program processing method and system, and client and server for program processing | |
CN104021015A (en) | E-bank website access method and browser | |
CN103678506B (en) | The method, apparatus and browser of loading application programs shortcut in a browser | |
US20170316209A1 (en) | Method and device for preventing application in an operating system from being uninstalled | |
CN103699600A (en) | Data processing method for web cache and browser | |
CN102982169A (en) | Browser and method for isolating webpage plugins | |
CN104036019A (en) | Method and device for opening webpage links | |
CN103677898A (en) | Method for checking loaded extension and/or plug-in on server side and server | |
CN103678505A (en) | Method and device for running application program in browser and browser | |
CN102970346A (en) | Method for software downloading of browser and browser | |
CN102867147A (en) | File scanning method and device | |
CN103023976A (en) | Device and method for extending browser application plug-ins | |
CN102982281A (en) | Program condition detecting method and system | |
CN103034495A (en) | Browser capable of isolating plug-in in webpage and webpage plug-in isolating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141119 |