技术领域technical field
本发明涉及计算机技术领域,具体地涉及浏览器进行软件下载的方法和浏览器。The invention relates to the technical field of computers, in particular to a method for downloading software by a browser and the browser.
背景技术Background technique
使用web浏览器可以实现对于应用软件的下载和安装。现有的网站中就有很多的应用软件的集中的下载站点。例如:该表为包括天空软件站www.skycn.com、非凡软件站www.crsky.com;华军软件园www.onlinedown.net;这些网站提供了大量的下载软件的链接。但是其安全性不是很高,下载的软件不一定是安全的。The download and installation of application software can be realized by using a web browser. There are many centralized download sites of application software in existing websites. For example: the table includes Sky Software Station www.skycn.com, Feifan Software Station www.crsky.com; Huajun Software Park www.onlinedown.net; these websites provide a large number of links for downloading software. But its security is not very high, and the downloaded software is not necessarily safe.
而已知的某些安全软件公司提供的一种软件管家工具(一类位于服务器端的安全管理器或位于客户端的安全管理插件),在应用软件的下载和安装时,能提供一个应用软件集中的安全下载链接地址和安全保证,如图1所示。该软件管家的服务器中保存有支持例如“一键安装”等功能的软件下载和安装性能。在图1所示的浏览器或安全管理器的展示窗口上的下载链接,弹出下载对话框,用户可以选择文件下载到本地的地址,修改文件名,直接打开或下载文件等,如图2所示提供的用户可以进行选择操作的对话框。However, a software housekeeper tool provided by some known security software companies (a type of security manager located on the server side or a security management plug-in located on the client side) can provide a centralized security system for application software when downloading and installing application software. The download link address and security guarantee are shown in Figure 1. The server of the software manager stores software downloading and installation functions that support functions such as "one-click installation". In the download link on the display window of the browser or security manager shown in Figure 1, a download dialog box pops up, and the user can select the address to download the file to the local, modify the file name, directly open or download the file, etc., as shown in Figure 2 Displays a dialog box in which the user can make selections.
但是,由于现有的通过浏览器进行应用软件的下载安装时,使用其提供的现有的网址进行对应的下载,该下载地址不一定是安全的、其对应下载的软件也可能不安全,浏览器进行软件下载安装时并没有与安全管理器(软件管家)的安全下载的功能整合/结合,因而,现有的通过Web浏览器进行应用软件的下载和安装不能满足安全的要求。However, when downloading and installing application software through a browser, the corresponding download is performed using the existing website provided by it. The download address is not necessarily safe, and the corresponding downloaded software may also be unsafe. There is no integration/combination with the secure download function of the security manager (software housekeeper) when the software is downloaded and installed by the browser. Therefore, the existing download and installation of application software through a Web browser cannot meet the security requirements.
发明内容Contents of the invention
鉴于上述缺陷,提出了本发明,以便提供一种克服上述缺陷或者至少部分地解决:通过Web浏览器在软件下载安装中整合安全管理技术以保障软件下载安装安全的技术问题。In view of the above-mentioned defects, the present invention is proposed to provide a method to overcome the above-mentioned defects or at least partially solve the technical problem of integrating security management technology in software download and installation through a Web browser to ensure the safety of software download and installation.
依据本发明的一个方面,提供了一种浏览器进行软件下载的方法,其包括:依据URL发起浏览器侧的软件下载请求,并查询所述URL是否是安全管理器包含的软件下载地址;若是,则所述浏览器侧的软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息;接收用户对所述入口信息的选择指令,从所述安全管理器侧下载请求下载的软件。According to one aspect of the present invention, a method for downloading software by a browser is provided, which includes: initiating a software download request on the browser side according to the URL, and querying whether the URL is a software download address included in the security manager; , then the software download interface on the browser side loads the entry information of the software download address included in the security manager; receives the user’s selection instruction for the entry information, and downloads the requested software from the security manager side .
其中安全管理器包括安全管理库,其包含的软件下载地址在所述安全管理库中。Wherein the safety manager includes a safety management library, and the download address of the software contained in it is in the safety management library.
可选地,查询所述URL是否是安全管理器包含的软件下载地址,包括:根据所述URL的所述软件下载地址依据HTTP协议获取refer信息;根据refer信息中的网址信息与安全管理器包含的网址信息进行匹配,如果匹配成功,表示所述URL是安全管理器包含的软件下载地址,则判断为是;如果匹配不成功,表示所述URL不是安全管理器包含的软件下载地址,则判断为否。Optionally, inquiring whether the URL is a software download address contained in the security manager includes: obtaining refer information according to the HTTP protocol according to the software download address of the URL; If the matching is successful, it means that the URL is the software download address contained in the security manager, and it is judged as yes; if the match is unsuccessful, it means that the URL is not the software download address contained in the security manager, then it is judged No.
可选地,依据HTTP获取refer信息包括:通过refer信息获取函数进行,并能根据所述refer信息确认所述下载地址的来源。Optionally, obtaining the refer information according to HTTP includes: performing through a refer information obtaining function, and confirming the source of the download address according to the refer information.
可选地,浏览器侧的软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息包括:根据浏览器侧发送到所述安全管理器的所述URL,检查请求下载的软件,并由所述安全管理器返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,形成所述入口信息;浏览器侧根据所述软件下载状态码,更新下载界面。Optionally, loading the entry information of the software download address contained in the security manager in the software download interface on the browser side includes: checking the software requested for download according to the URL sent to the security manager by the browser side, The security manager returns the software download status code and one or more task IDs established by the security manager to form the entry information; the browser side updates the download interface according to the software download status code.
可选地,接收用户对所述入口信息的选择指令,从所述安全管理器侧下载所述请求下载的软件包括:所述用户对所述入口信息的选择指令,形成下载命令;浏览器侧接收所述下载命令,将对应所述下载命令的所述任务ID发送到所述安全管理器,所述安全管理器根据所述任务ID下载请求下载的软件。Optionally, receiving a user's selection instruction for the entry information, and downloading the software requested for download from the security manager side includes: the user's selection instruction for the entry information forms a download command; the browser side receiving the download command, sending the task ID corresponding to the download command to the security manager, and the security manager downloads the requested software according to the task ID.
可选地,浏览器侧根据所述软件下载状态码,更新下载界面包括:在下载界面上形成一键安装、高速下载、更新、升级和一键升级中的一个或多个按钮;所述用户对所述入口信息的选择指令,形成下载命令还包括:形成所述下载命令的选择指令为用户对所述一个或多个按钮中的一个的选中。Optionally, updating the download interface on the browser side according to the software download status code includes: forming one or more buttons of one-key installation, high-speed download, update, upgrade and one-key upgrade on the download interface; For the selection instruction of the entry information, forming a download command further includes: forming the selection instruction of the download command is a user's selection of one of the one or more buttons.
可选地,根据浏览器侧发送到所述安全管理器的所述URL,检查请求下载的软件,并由所述安全管理器返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,还包括:所述安全管理器判断是否支持所述URL指示的请求下载的所述软件,根据判断结果,返回相应的软件下载状态码;所述软件下载状态码包括:是否支持/是否具有请求下载的软件、是否能支持一键安装功能、是否支持高速下载功能的信息;所述安全管理器为请求下载的软件的下载,启动相应的执行任务,并设置所述执行任务的ID,从而建立一个或多个任务ID。Optionally, according to the URL sent to the security manager by the browser side, check the software that is requested to be downloaded, and the security manager returns the software download status code and one or more URLs established by the security manager. The task ID also includes: the security manager judges whether to support the requested download of the software indicated by the URL, and returns a corresponding software download status code according to the judgment result; the software download status code includes: whether to support/whether Information about the software requested to be downloaded, whether it can support a one-key installation function, and whether it supports a high-speed download function; the safety manager starts a corresponding execution task for downloading the software requested for download, and sets the ID of the execution task, Thus creating one or more task IDs.
可选地,安全管理器是通过一个或多个接口返回所述软件下载状态码和其建立的一个或多个任务ID;所述浏览器侧,是通过一个或多个接口发送URL和/或对应所述下载命令的所述任务ID到所述安全管理器。Optionally, the security manager returns the software download status code and one or more task IDs established by it through one or more interfaces; the browser side sends URL and/or The task ID corresponding to the download command to the security manager.
可选地,浏览器侧根据所述软件下载状态码,更新下载界面,还包括:当所述浏览器侧所在的本地未安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键安装的按钮,从而更新下载界面;如果请求下载的软件不支持一键安装功能时,浏览器侧根据所述软件下载状态码,在下载界面上形成高速下载的按钮以替换一键安装的按钮,从而更新下载界面;当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面。Optionally, the browser side updates the download interface according to the software download status code, and further includes: when the old version of the software requested to be downloaded is not installed locally where the browser side is located, the download interface on the browser side When the security manager supports the software requested to be downloaded indicated by the URL: if the software requested to be downloaded supports the one-click installation function, the browser side will form a download interface according to the status code of the software download. One-key installation button to update the download interface; if the software requested for download does not support the one-key installation function, the browser side will form a high-speed download button on the download interface to replace the one-key installation according to the status code of the software download button, thereby updating the download interface; when the old version of the software requested to be downloaded is installed locally at the browser side, the download interface on the browser side has a button to open directly, and the security manager supports the URL indication When requesting the downloaded software: if the requested software supports the one-key installation function, the browser side will form a one-key upgrade button on the download interface according to the software download status code, thereby updating the download interface.
可选地,浏览器侧根据所述软件下载状态码,更新下载界面还包括:当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述安全管理器支持所述URL指示的请求下载的软件时,如果请求下载的软件支持一键升级功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面;如果请求下载的软件不支持一键升级功能时,浏览器侧根据所述入口信息中的软件下载状态码,在下载界面上形成升级的按钮,从而更新下载界面。Optionally, updating the download interface on the browser side according to the software download status code further includes: when an old version of the software requested to be downloaded is installed locally where the browser side is located, the security manager supports the URL indication When requesting to download software, if the requested software supports the one-key upgrade function, the browser side will form a one-key upgrade button on the download interface according to the software download status code, thereby updating the download interface; if the requested download software When the one-key upgrade function is not supported, the browser side forms an upgrade button on the download interface according to the software download status code in the entry information, thereby updating the download interface.
可选地,接收用户对所述一个或多个按钮中的一个的选中还包括:如果用户选中一键安装,则直接将请求下载的软件安全检测并安装,无需逐步提示安装;如果用户选中高速下载,则将请求下载的软件安全检测并直接下载后运行安装;如果用户选中一键升级,则直接将请求下载的软件安全检测并升级,无需逐步提示;如果当用户选中更新或升级,则将请求下载的软件安全检测并逐步运行更新或升级操作。Optionally, receiving the user's selection of one of the one or more buttons further includes: if the user selects one-key installation, directly detect and install the software requested for download without step-by-step prompts for installation; if the user selects high-speed download, it will request to download the software security check and run the installation directly after downloading; if the user selects one-click upgrade, the requested download software will be directly checked and upgraded without step-by-step prompts; if the user selects update or upgrade, it will Requests downloaded software security checks and incrementally runs update or upgrade operations.
可选地,所述安全管理器为请求下载的软件的下载,启动相应的执行任务,还包括:所述请求下载的软件的下载对应所述下载命令,并启动相应的执行任务;所述执行任务包括任何种类的安装、升级、更新和/或下载方式的一个或多个。Optionally, the security manager starts a corresponding execution task for the download of the software requested to be downloaded, and further includes: the download of the software requested for download corresponds to the download command, and starts a corresponding execution task; Tasks include one or more of any kind of installation, upgrade, update and/or download.
依据本发明的另一个方面,提供了一种进行软件下载的浏览器,包括:请求查询模块装置,配置为:依据URL发起软件下载请求,并查询所述URL是否是安全管理器包含的软件下载地址;判断处理装置,配置为:查询为若是,则在软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息;接收指令装置,配置为:接收用户对所述入口信息的选择指令,从所述安全管理器侧下载请求下载的软件。According to another aspect of the present invention, a browser for software download is provided, including: a request query module device configured to: initiate a software download request according to a URL, and query whether the URL is a software download included in the security manager Address; judging processing device, configured to: if the query is true, then load the entry information of the software download address contained in the safety manager in the software download interface; receiving instruction device, configured to: receive the user's selection of the entry information An instruction to download the software requested to be downloaded from the security manager side.
可选地,判断处理装置包括:检查返回装置,配置为:根据来自所述安全管理器根据所述URL检查请求下载的软件,并返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,而形成所述入口信息;更新装置,配置为:根据所述软件下载状态码,更新下载界面。Optionally, the judging processing device includes: checking and returning means, configured to: check the downloaded software according to the URL from the security manager, and return the software download status code and one or more task ID to form the entry information; the updating device is configured to: update the download interface according to the software download status code.
可选地,接收指令装置包括:命令生成装置,配置为:所述用户对所述入口信息的选择指令,形成下载命令;命令发送装置,配置为:接收所述下载命令、将对应所述下载命令的所述任务ID发送到所述安全管理器,以便所述安全管理器根据所述任务ID下载请求下载的软件的装置。Optionally, the instruction receiving device includes: an instruction generating device, configured to: form a download command according to the user's selection instruction for the entry information; an order sending device, configured to: receive the download command, and generate a corresponding download command. The task ID of the command is sent to the security manager, so that the security manager downloads the device requesting the software to be downloaded according to the task ID.
可选地,更新装置包括:界面生成装置,配置为:在下载界面上形成一键安装、高速下载、更新、升级和一键升级中的一个或多个按钮;命令生成装置,包括:选中装置,配置为:形成所述下载命令的选择指令为所述用户对所述一个或多个按钮中的一个的选中。Optionally, the update device includes: an interface generating device configured to: form one or more buttons in one-key installation, high-speed download, update, upgrade and one-key upgrade on the download interface; the command generating device includes: a selection device , configured as: the selection instruction forming the download command is the user's selection of one of the one or more buttons.
可选地,进一步包括:一个或多个接口,配置为:浏览器通过所述一个或多个接口,发送URL和/或对应所述下载命令的所述任务ID到所述安全管理器。Optionally, it further includes: one or more interfaces, configured to: the browser sends the URL and/or the task ID corresponding to the download command to the security manager through the one or more interfaces.
可选地,更新装置包括:所述软件下载状态码包括:是否支持/是否具有请求下载的软件、是否能支持一键安装功能、是否支持高速下载功能的信息;Optionally, the update device includes: the software download status code includes: whether it supports/has the software requested to be downloaded, whether it can support the one-key installation function, and whether it supports the high-speed download function;
按钮生成装置,配置为:当所述浏览器侧所在的本地未安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键安装的按钮,从而更新下载界面;如果请求下载的软件不支持一键安装功能时,浏览器侧根据所述软件下载状态码,在下载界面上形成高速下载的按钮以替换一键安装的按钮,从而更新下载界面;当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面。The button generating device is configured to: when the old version of the software requested to be downloaded is not installed locally where the browser side is located, the download interface on the browser side has a button to directly open, and the security manager supports the URL When requesting the software to be downloaded: if the software requested to be downloaded supports the one-click installation function, the browser side will form a button for one-click installation on the download interface according to the status code of the software download, thereby updating the download interface; if the requested download When the software does not support the one-key installation function, the browser side forms a high-speed download button on the download interface to replace the one-key installation button according to the software download status code, thereby updating the download interface; When an old version of the software requested to be downloaded is installed locally, the download interface on the browser side has a button to be opened directly, and when the security manager supports the software requested to be downloaded indicated by the URL: if the software requested to be downloaded supports one-click For the installation function, the browser side forms a one-key upgrade button on the download interface according to the software download status code, thereby updating the download interface.
可选地,更新装置包括:按钮生成装置配置为:当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述安全管理器支持所述URL指示的请求下载的软件时,如果请求下载的软件支持一键升级功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面;如果请求下载的软件不支持一键升级功能时,浏览器侧根据所述入口信息中的软件下载状态码,在下载界面上形成升级的按钮,从而更新下载界面。Optionally, the updating device includes: the button generating device is configured to: when an old version of the software requested to be downloaded is installed locally on the browser side, and the security manager supports the software requested to be downloaded indicated by the URL, If the software requested to be downloaded supports the one-key upgrade function, the browser side forms a button for one-key upgrade on the download interface according to the status code of the software download, thereby updating the download interface; if the software requested for download does not support the one-key upgrade function , the browser side forms an upgrade button on the download interface according to the software download status code in the entry information, thereby updating the download interface.
可选地,选中装置包括:第一安装装置,配置为:如果用户选中一键安装,则直接将请求下载的软件安全检测并安装,无需逐步提示安装;第二安装装置,配置为:如果用户选中高速下载,则将请求下载的软件安全检测并直接下载后运行安装;第三安装装置,配置为:如果用户选中一键升级,则直接将请求下载的软件安全检测并升级,无需逐步提示;第四安装装置,配置为:如果当用户选中更新或升级,则将请求下载的软件安全检测并逐步运行更新或升级操作。Optionally, the selected device includes: a first installation device configured to: if the user selects one-key installation, the software that is requested to be downloaded will be directly detected and installed without prompting for installation step by step; a second installation device is configured to: if the user If high-speed download is selected, the software security check requested to be downloaded will be directly downloaded and then installed; the third installation device is configured as follows: if the user selects one-key upgrade, the software security check requested to be downloaded will be directly checked and upgraded without step-by-step prompts; The fourth installation device is configured as follows: if the user selects update or upgrade, the downloaded software will be requested for safety inspection and the update or upgrade operation will be performed step by step.
根据本发明的方法和浏览器,解决了在通过Web浏览器进行诸如应用软件等的下载和安装过程中,有效整合软件安全管理技术,以保障浏览器安全下载安装的问题。并且,其还进一步由于其整合了安全管理器,也相应整合了安全管理器的便捷的下载安装功能(如:整合快速高效的诸如一键安装功能)。更进一步地,当用户要下载的文件是软件时,会去安全管理器(如软件管家)查询是否有同样的软件,如果有,在下载对话框里显示软件管家的下载按钮,用户点击调起软件管家下载或安装,帮助用户省去安装过程,以及去除捆绑插件等。因而,本发明提供的方案,能够取得安全下载安装软件、便捷下载安装、去除捆绑插件的有益效果According to the method and browser of the present invention, it solves the problem of effectively integrating software safety management technology in the process of downloading and installing application software through a web browser to ensure safe download and installation of browsers. Moreover, because it further integrates the security manager, it also integrates the convenient download and installation functions of the security manager (such as: integrating fast and efficient functions such as one-key installation). Furthermore, when the file to be downloaded by the user is software, it will go to the security manager (such as the software manager) to inquire whether there is the same software. If so, the download button of the software manager will be displayed in the download dialog box, and the user clicks to call The software housekeeper downloads or installs, helps users save the installation process, and removes bundled plug-ins, etc. Therefore, the solution provided by the present invention can achieve the beneficial effects of safe download and installation of software, convenient download and installation, and removal of bundled plug-ins
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1示出了安全管理器对选中下载链接的管理示例图;Fig. 1 shows an example diagram of the management of the selected download link by the security manager;
图2至图3示出了根据本发明专利申请一个具体实施方式中浏览器调用安全管理器的示意图。Fig. 2 to Fig. 3 show a schematic diagram of a browser invoking a security manager according to a specific implementation manner of the patent application of the present invention.
图4示出了根据本发明专利申请一个具体实施方式中浏览器整合安全管理器进行应用软件安全下载的流程图;Fig. 4 shows a flow chart of safe downloading of application software by the browser integrated security manager according to a specific embodiment of the patent application of the present invention;
图5是根据本发明第二具体实施方式的查询URL是否为安全管理器包含的软件下载地址的一的流程图;Fig. 5 is a flow chart of whether the query URL is one of the software download addresses included in the security manager according to the second embodiment of the present invention;
图6是根据本发明的第二具体实施方式中一软件下载地址的匹配示例;Fig. 6 is according to the matching example of a software download address in the second embodiment of the present invention;
图7是根据本发明第三具体实施方式的浏览器侧加载安全管理器包含的软件下载地址的入口信息到下载界面的流程图;7 is a flow chart of loading the entry information of the software download address included in the security manager to the download interface on the browser side according to the third embodiment of the present invention;
图8是根据本发明的第三具体实施方式中一检查请求下载的软件并返回状态码和任务ID的流程图;Fig. 8 is a flow chart of checking the software downloaded by the request and returning status code and task ID according to the third embodiment of the present invention;
图9是根据本发明的第三具体实施方式中一浏览器侧根据返回的软件下载状态码更新下载界面的流程图;Fig. 9 is a flow chart of updating the download interface according to the returned software download status code on the browser side according to the third embodiment of the present invention;
图10是根据本发明的第三具体实施方式中另一浏览器侧根据返回的软件下载状态码更新下载界面的流程图;Fig. 10 is a flow chart of another browser side updating the download interface according to the returned software download status code in the third embodiment of the present invention;
图11示出了根据本发明的具体实施方式的浏览器根据入口信息的状态码加载以更新下载界面的示意图;Fig. 11 shows a schematic diagram of loading and updating the download interface by the browser according to the status code of the entry information according to a specific embodiment of the present invention;
图12示出了浏览器下载软件调用安全管理器下载的示意图;Fig. 12 shows the schematic diagram that the browser download software invokes the security manager to download;
图13示出了本发明第四具体实施方式的接收用户对入口信息的选择指令,从安全管理器侧下载请求下载的软件的一流程图。Fig. 13 shows a flow chart of receiving a user's selection instruction for entry information and downloading requested software from the security manager side according to the fourth embodiment of the present invention.
图14示出了根据本发明一个具体实施方式浏览器和安全管理器的系统框架示意图。Fig. 14 shows a schematic diagram of a system framework of a browser and a security manager according to a specific embodiment of the present invention.
图15示出了根据本发明一个具体实施方式的浏览器整合安全管理器进行安全下载的一交互流程图。Fig. 15 shows an interactive flowchart of browser integrated security manager performing secure download according to a specific embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
如图1所示,通过安全管理器管理下载时,当用户选中(如:点击)下载链接,会弹出下载对话框,用户可以选择文件下载到本地的地址,修改文件名,直接打开或下载文件等。As shown in Figure 1, when the download is managed through the security manager, when the user selects (for example: clicks) the download link, a download dialog box will pop up, and the user can select the local address to download the file to, modify the file name, and directly open or download the file Wait.
为此,本发明的方案提供了在浏览器下载技术中,整合该安全管理技术,以保证下载安全。当用户在浏览器端发起软件下载请求时,浏览器获得用户输入的或点击选中的URL,并确认与安全管理器关联情况,比如图2、3所示,浏览器21、31调用安全管理器22、32或者安装了安全管理器插件22、32的情形:该浏览器是否已经安装了安全管理器或安全管理器插件,或浏览器是否通过一个或多个接口221、222、321、322连接到安全管理器等等(这类接口,可以是浏览器侧提供的,也可以由安全管理器侧如软件管家的服务器侧提供)。For this reason, the solution of the present invention provides that the security management technology is integrated in the browser download technology to ensure download security. When the user initiates a software download request at the browser end, the browser obtains the URL entered by the user or clicks on it, and confirms the association with the security manager, as shown in Figures 2 and 3, the browsers 21 and 31 invoke the security manager 22, 32 or if the security manager plug-in 22, 32 is installed: whether the browser has installed a security manager or a security manager plug-in, or whether the browser is connected through one or more interfaces 221, 222, 321, 322 To the security manager, etc. (this type of interface can be provided by the browser side, or by the security manager side such as the server side of the software housekeeper).
如图4的本发明的方法的一个具体实施方式,在步骤S101,用户根据该URL发起浏览器侧的软件下载请求,并查询URL是否是安全管理器中已经包含的软件下载地址。由此也能确定是否与安全管理器关联。通常,安全管理器包含的软件下载地址存储在其安全管理库中,这类安全管理库可以是例如:列表和/或数据库等。如果没有关联,比如安全管理器中不包含此软件下载地址,即若为否,则在步骤S105采用现有的其他的浏览器下载应用软件的方式进行。如果有关联,即若是,则步骤S103中浏览器侧会将安全管理器所包含的软件下载地址的入口信息加载到浏览器侧的软件下载界面上。As a specific embodiment of the method of the present invention shown in Figure 4, in step S101, the user initiates a software download request on the browser side according to the URL, and inquires whether the URL is a software download address already included in the security manager. From this, it can also be determined whether it is associated with a security manager. Usually, the software download address contained in the security manager is stored in its security management library, and such security management library can be, for example, a list and/or a database. If there is no association, for example, the security manager does not contain the software download address, that is, if it is not, then in step S105, other existing browsers are used to download the application software. If yes, then in step S103, the browser side will load the entry information of the software download address included in the security manager to the software download interface on the browser side.
优选地,浏览器侧21、31接收到输入的URL后,通过一个或多个接口211、212、321、322传送到安全管理器22、32,如图2、3。如果关联上则浏览器可以通过接口211、212、321、322调用安全管理器来完成下载操作,实现整合安全管理器的下载技术。Preferably, after the browser side 21 , 31 receives the input URL, it transmits it to the security manager 22 , 32 through one or more interfaces 211 , 212 , 321 , 322 , as shown in FIGS. 2 and 3 . If it is associated, the browser can call the security manager through the interfaces 211, 212, 321, 322 to complete the download operation, realizing the download technology integrating the security manager.
加载了入口信息的浏览器侧的软件下载界面被提供给用户并可选,这些入口信息使得下载界面的例如具有更新的各种按钮和对应的更新的各种功能,用户可以点击选中某个按钮执行相应的下载、安装等功能。The software download interface on the browser side loaded with entry information is provided to the user and can be selected. These entry information make the download interface, for example, have updated various buttons and corresponding updated functions, and the user can click to select a button Perform the corresponding download, install and other functions.
在步骤S107,当用户对浏览器侧的这类入口信息的下载界面进行操作,则产生选择指令(如用户对入口信息生成的诸如按钮、触控区域、标记、符号等选择产生的指令),接收用户对入口信息的选择指令,从安全管理器侧执行软件下载操作,下载请求下载的软件,以保证应用软件的下载安全性。In step S107, when the user operates the download interface of this type of entry information on the browser side, a selection instruction (such as an instruction generated by the user for selecting buttons, touch areas, marks, symbols, etc. generated by the entry information) is generated, Receive the user's selection instruction for the entry information, execute the software download operation from the security manager side, and download the requested software, so as to ensure the download security of the application software.
进一步的,本发明的第二个具体实施方式中,在图4的方法的步骤S101中,其查询URL是否是安全管理器包含的软件下载地址,例如,采用如图5所示的方式进行:步骤S501,根据该URL的软件下载地址并依据HTTP协议获取refer信息进行匹配完成。比如:通过refer信息获取函数进行,且可以根据该refer信息确认下载地址的来源(获取装置的refer信息获取装置),从而保障了安全(获取装置)。当获取了refer信息后,步骤S503,根据refer信息中的网址信息与安全管理器包含的网址信息做匹配;当匹配成功时,表明该URL是安全管理器中包含的软件下载地址,即判断结果为是,步骤S507;当匹配失败不成功时,表明该URL不是安全管理器中包含的软件下载地址,即判断结果为否,步骤S505(匹配装置)。Further, in the second specific embodiment of the present invention, in step S101 of the method of Fig. 4, whether its inquiring URL is the software download address that security manager comprises, for example, adopts the mode as shown in Fig. 5 to carry out: Step S501, according to the software download address of the URL and the refer information obtained according to the HTTP protocol, the matching is completed. For example: through the refer information acquisition function, and the source of the download address (the refer information acquisition device of the acquisition device) can be confirmed according to the refer information, thereby ensuring safety (the acquisition device). After the refer information is obtained, in step S503, match the URL information contained in the refer information with the URL information contained in the security manager; when the match is successful, it indicates that the URL is the software download address contained in the security manager, which is the judgment result If yes, step S507; when the matching fails, it indicates that the URL is not the software download address contained in the security manager, that is, the judgment result is no, step S505 (matching device).
图6是第二具体实施方式在步骤S101中查询URL是否为安全管理器中包含的软件下载的地址的匹配示例。输入URL发起下载请求时,对于下载的URL在下载网页中被选择后进行点击,例如:华军软件园中的下载页面http://www.onlinedown.net/softdown/25918_2.htm,选择图6中链接进行下载,弹出对话框,下载地址为:http://jiedns.newhua.com/down/Storm2011-3-11.09.26.zip,Fig. 6 is a matching example of querying whether the URL is the address of the software download included in the security manager in step S101 of the second specific embodiment. When inputting a URL to initiate a download request, click on the downloaded URL after it is selected in the download page, for example: http://www.onlinedown.net/softdown/25918_2.htm in the download page of Huajun Software Park, select the one in Figure 6 Link to download, a dialog box will pop up, the download address is: http://jiedns.newhua.com/down/Storm2011-3-11.09.26.zip,
依据HTTP协议获取其refer信息,即http://www.onlinedown.net/softdown/25918_2.htmObtain its refer information according to the HTTP protocol, namelyhttp://www.onlinedown.net/softdown/25918_2.htm
这样可以确认下载链接是从华军软件园的网址进入后进行的下载。这里,refer信息获取函数为:In this way, it can be confirmed that the download link is downloaded from the website of Huajun Software Park. Here, the refer information acquisition function is:
CHARm_szReferer[INTERNET_MAX_URL_LENGTH];CHARm_szReferer[INTERNET_MAX_URL_LENGTH];
lpHttpInfo->QueryInfo(HTTP_QUERY_REFERER|HTTP_QUERY_FLAG_REQUEST_HEADERS,m_szReferer,&dwSize,0,NULL);lpHttpInfo->QueryInfo(HTTP_QUERY_REFERER|HTTP_QUERY_FLAG_REQUEST_HEADERS, m_szReferer, &dwSize, 0, NULL);
依据上述获取的refer信息判断是否是安全管理器所包含的下载站列表的地址(匹配地址即可)。例如:该表为包括天空软件站www.skycn.com、非凡软件站www.crsky.com;华军软件园www.onlinedown.net;refer信息中的网址信息和上述列表中的网址信息进行匹配。According to the refer information obtained above, it is judged whether it is the address of the download station list contained in the security manager (it only needs to match the address). For example: the table includes www.skycn.com, www.crsky.com, www.crsky.com; Huajun software park, www.onlinedown.net; the URL information in the refer information is matched with the URL information in the above list.
进一步的,本发明的第三个具体实施方式中,在图4的方法的步骤S103的加载入口信息到浏览器侧的下载界面中,优选地,通过下面的方式,如图7所示:步骤S201,根据浏览器侧发送到安全管理器的该URL来检查请求下载的软件,完成检查后由安全管理器返回软件下载状态码,以及一个或多个安全管理器建立的任务ID,形成入口信息(检查返回装置),以便浏览器用于后续的加载;步骤S203,浏览器侧则根据返回/提供的该软件下载状态码来更新下载界面(提供装置)。Further, in the third specific embodiment of the present invention, in step S103 of the method in FIG. 4, the loading entry information is loaded into the download interface on the browser side, preferably in the following manner, as shown in FIG. 7: Step S201, check the software requested for download according to the URL sent to the security manager by the browser side, and return the software download status code and one or more task IDs established by the security manager to form entry information after the check is completed (Checking and returning means), so that the browser is used for subsequent loading; Step S203, the browser side updates the download interface (providing means) according to the returned/provided software download status code.
在步骤S201中,安全管理器检查请求下载的软件,并返回状态码和任务ID的方式,例如图8所示。步骤S801由该安全管理器判断是否支持该URL中指示的请求下载的软件,根据判断结果,返回相应的软件下载状态码。其中软件下载状态码包括如下信息:是否支持/是否具有请求下载的软件、是否能支持一键安装功能、是否支持高速下载功能等信息,如{1,1,2}、{0,1,2}等(返回状态码装置)。步骤S803,安全管理器还会为请求下载的软件的下载,启动/创建相应的执行任务,这里,请求下载的软件的下载有对应的下载命令,由此会启动相应的执行任务(启动任务装置),并为每个执行任务设置执行任务的ID,从而建立一个或多个任务ID(建立装置),此后,将软件下载状态码和任务ID形成的入口信息。安全管理器将软件下载状态码和建立的一个或多个任务ID通过一个或多个接口211、212、321、322发送/返回(对浏览器进程来的信息的返回)到浏览器侧。而浏览器侧则是通过一个或多个接口发送URL和/或对应下载命令的任务ID到安全管理器。In step S201, the security manager checks the software requested to be downloaded, and returns the status code and task ID, as shown in FIG. 8 for example. In step S801, the security manager judges whether the software requested to be downloaded indicated in the URL is supported, and returns a corresponding software download status code according to the judgment result. The software download status code includes the following information: whether it supports/has the software requested to download, whether it can support one-click installation function, whether it supports high-speed download function, etc., such as {1,1,2}, {0,1,2 } etc. (return status code means). In step S803, the security manager will also start/create a corresponding execution task for the download of the software requested to be downloaded. Here, the download of the software requested to be downloaded has a corresponding download command, thereby starting the corresponding execution task (starting task device) ), and set the ID of the execution task for each execution task, thereby establishing one or more task IDs (establishment means), after this, the entry information formed by the software download status code and task ID. The security manager sends/returns the software download status code and one or more task IDs established through one or more interfaces 211, 212, 321, 322 (the return of information from the browser process) to the browser side. On the browser side, the URL and/or the task ID corresponding to the download command are sent to the security manager through one or more interfaces.
例如:根据浏览器下载进程发送过来的下载目的地址URL(如上述例子中的http://jiedns.newhua.com/down/Storm2011-3.11.09.26.zip),进行预判断,使用ifsupport(url)函数确定,安全管理器的进程判断其是否支持该下载软件(Storm2011-3.11.09.26)的下载。For example: according to the download destination URL sent by the browser download process (such as http://jiedns.newhua.com/down/Storm2011-3.11.09.26.zip in the above example), make a pre-judgment, use ifsupport(url) The function is determined, and the process of the security manager judges whether it supports the download of the download software (Storm2011-3.11.09.26).
如果在安全管理器侧没有Storm2011-3.11.09.26软件可以下载(如:不支持),假定有两个接口,如接口1和接口2(接口221、321和接口222、322)联系着浏览器侧和安全管理器侧的服务器,则从一个关联的接口(接口1)就返回一个状态码{0,1,2},其中0表示没有下载软件,1表示可以一键安装下载,2表示可以高速下载。并且安全管理器为该软件的安装和下载会启动一个执行任务,并设置该任务的ID,并将该任务ID返回给浏览器侧的下载工具。建立的一个或多个ID对应着可执行的下载任务,下载任务将由相应的下载命令触发。接口1能用于返回该状态码和任务ID完成浏览器和安全管理器的交互。If there is no Storm2011-3.11.09.26 software to download on the security manager side (for example: not supported), it is assumed that there are two interfaces, such as interface 1 and interface 2 (interfaces 221, 321 and interfaces 222, 322) to contact the browser side And the server on the security manager side returns a status code {0,1,2} from an associated interface (interface 1), where 0 means that the software has not been downloaded, 1 means that one-click installation and download is possible, and 2 means that high-speed download. And the security manager will start an execution task for the installation and download of the software, set the task ID, and return the task ID to the download tool on the browser side. One or more established IDs correspond to executable download tasks, and the download tasks will be triggered by corresponding download commands. Interface 1 can be used to return the status code and task ID to complete the interaction between the browser and the security manager.
在步骤S203,浏览器侧根据软件下载状态码更新下载界面(更新装置)。具体例如采用图9所示的方式(更新装置中的按钮生成装置)。步骤S901中,当满足条件:如果浏览器侧所在的本地,用户并未安装有请求下载的软件的旧版本,即N未安装,该浏览器侧的下载界面通常会具有直接打开的按钮,而安全管理器支持该URL指示的请求下载的软件时,在步骤S903,如果请求下载的软件支持一键安装功能,那么浏览器侧根据从一个或多个接口返回的软件下载状态码,在下载界面上形成一键安装的按钮,这样更新了下载界面,如图11所示下载界面形成的按钮示意1101;在步骤S905如果请求下载的软件不支持一键安装功能,那么浏览器侧根据该返回的软件下载状态码,在下载界面上形成高速下载的按钮来替换本来应该生成的一键安装的按钮,从而更新下载界面,如图11所示下载界面形成的按钮示意1103。步骤S901中,当不满足条件:如果浏览器侧所在的本地,用户有安装请求下载的软件的旧版本,即Y已安装,该浏览器侧的下载界面通常会具有直接打开的按钮,而安全管理器支持该URL指示的请求下载的软件时,在步骤S907,如果请求下载的软件支持一键安装功能,浏览器侧就根据该状态码在下载界面上,形成一键升级的按钮从而更新下载界面,如图11所示下载界面形成的按钮示意1105。In step S203, the browser side updates the download interface (updating means) according to the software download status code. Specifically, for example, the method shown in FIG. 9 (button generation device in the update device) is adopted. In step S901, when the condition is met: if the user does not install an old version of the software requested for download in the local area where the browser is located, that is, N is not installed, the download interface on the browser side usually has a button to open directly, and When the security manager supports the software requested to be downloaded indicated by the URL, in step S903, if the software requested to be downloaded supports the one-click installation function, then the browser side downloads the status code on the download interface according to the software download status code returned from one or more interfaces. Form the button of one-key installation on above, updated download interface like this, the button that download interface forms as shown in Figure 11 shows 1101; If the software that requests to download does not support one-key installation function in step S905, then browser side according to this return The software download status code forms a high-speed download button on the download interface to replace the one-click installation button that should have been generated, thereby updating the download interface, as shown in Figure 11. The button formed on the download interface indicates 1103. In step S901, when the condition is not satisfied: if the user has installed an old version of the software requested to be downloaded in the local area where the browser is located, that is, Y has been installed, the download interface on the browser side usually has a button to open directly, and the security When the manager supports the software requested to be downloaded indicated by the URL, in step S907, if the software requested to be downloaded supports the one-key installation function, the browser side will form a one-key upgrade button on the download interface according to the status code to update the download. Interface, as shown in FIG. 11, the button 1105 formed on the download interface.
图10示出了另一个浏览器根据形成入口信息的状态码进行下载界面更新的方式(更新装置中的按钮生成装置)。步骤S1001中,如果浏览器侧所在的本地之前已经安装过请求下载的软件的旧版本,安全管理器也支持该URL指示的请求下载的软件:在步骤S1003,则如果下载的软件支持一键升级功能,浏览器侧根据该返回的软件下载状态码在下载界面上形成一键升级的按钮,从而更新下载界面,如图11所示下载界面形成的按钮示意1105;在步骤S1005,如果下载的软件不支持一键升级的功能,则浏览器侧根据该返回的软件下载状态码在下载界面上形成升级的按钮,从而更新下载界面,如图11所示下载界面形成的按钮示意1107。Fig. 10 shows another way for the browser to update the download interface according to the status code forming the entry information (button generating means in the updating means). In step S1001, if the old version of the software requested to be downloaded has been installed locally on the browser side, the security manager also supports the software requested to be downloaded indicated by the URL: in step S1003, if the downloaded software supports one-key upgrade function, the browser side forms a one-key upgrade button on the download interface according to the returned software download status code, thereby updating the download interface, as shown in Figure 11, the button formed on the download interface indicates 1105; in step S1005, if the downloaded software If the one-key upgrade function is not supported, the browser side forms an upgrade button on the download interface according to the returned software download status code, thereby updating the download interface, as shown in Figure 11, the button 1107 formed on the download interface.
例如:浏览器侧的下载工具根据返回的状态码,生成对话框中的新按钮,即加载了入口信息后,更新的界面,如图11所示,如“一键安装”(一键安装可以是指下载的由安全管理器或其服务器方提供的该软件的软件安装包,其中不会出现“下一步”这样的提示,其中的选项配置是采用默认的设置,从而实现点击一次按钮就实现该软件的安装)、“高速下载”(高速下载可以是从安全管理器中获取对应的软件版本并进行下载安装);如果本地已经安装有用户想下载安装的文件(软件、应用软件)的旧版本的,则会生成对应的“更新”、“升级”、“一键升级”(此功能不会出现“下一步”这样的提示,同一键安装类似)等一个或多个按钮。即根据软件下载状态码生成相应的能由用户选中的一个或多个按钮以更新该下载界面。For example: the download tool on the browser side generates a new button in the dialog box according to the returned status code, that is, the updated interface after loading the entry information, as shown in Figure 11, such as "one-click installation" (one-click installation can Refers to the downloaded software installation package of the software provided by the security manager or its server, in which there will be no prompts such as "Next", and the option configuration in it is the default setting, so that it can be realized by clicking a button. The installation of the software), "high-speed download" (high-speed download can be to obtain the corresponding software version from the security manager and download and install); if the old version of the file (software, application software) that the user wants to download and install has already been installed locally version, one or more buttons such as "update", "upgrade" and "one-key upgrade" (this function will not appear "next" prompt, similar to the same key installation) will be generated. That is, according to the software download status code, corresponding one or more buttons that can be selected by the user are generated to update the download interface.
更新的下载界面,比如:在下载界面上形成一键安装、高速下载、更新、升级和一键升级中一个或多个按钮,即图11所示的按钮1101、1103、1105、1107(更新装置中的界面生成装置)。The updated download interface, such as: form one or more buttons in one-key installation, high-speed download, update, upgrade and one-key upgrade on the download interface, i.e. buttons 1101, 1103, 1105, 1107 shown in Figure 11 (updating device interface builder in ).
进一步的,本发明的第四个具体实施方式中,在图4的方法的步骤S107中,接收用户对入口信息的选择指令,从安全管理器侧下载请求下载的软件,例如,图13所示的方式,就是将用户对所述入口信息的选择指令形成下载命令,步骤S1301(命令生成装置);在浏览器侧接收这个下载命令(即选择指令所指示的下载命令),将对应着下载命令的请求软件下载的任务ID通过一个或多个接口(比如接口2)发送给安全管理器(命令发送装置),步骤S1303;安全管理器再根据该发送来的任务ID找到相应的执行任务,并启动该相应的执行任务,对请求下载的软件进行下载(下载软件装置),步骤S1305。执行任务包括各种种类的安装、升级、更新和/或下载方式的一个或多个。Further, in the fourth specific embodiment of the present invention, in step S107 of the method in FIG. 4 , the user’s selection instruction for the entry information is received, and the software requested for download is downloaded from the security manager side, for example, as shown in FIG. 13 The method is to form the user’s selection instruction for the entry information into a download command, step S1301 (command generation device); receiving this download command (that is, the download command indicated by the selection instruction) at the browser side, will correspond to the download command The task ID of the request software download is sent to the security manager (command sending device) through one or more interfaces (such as interface 2), step S1303; the security manager finds the corresponding execution task according to the task ID sent, and Start the corresponding execution task, and download the software requested for download (download software device), step S1305. Performing tasks includes one or more of various types of installations, upgrades, updates and/or downloads.
这样,就形成安全管理器侧的软件下载,确保浏览器下载的安全性(如图12的QQ客户端软件,其通过安全管理器下载,该软件是在安全管理器中被认可的)。Like this, just form the software download of safety manager side, guarantee the safety of browser download (as the QQ client software of Fig. 12, it is downloaded by safety manager, and this software is approved in safety manager).
用户对入口信息的选择指令形成下载命令(如图11),就是用户对上述一个或多个按钮中某一个的选中(点击)。接收用户对一个或多个按钮中某一个的选中(命令生成装置中的选中装置),例如:如果用户选中了一键安装,如按钮1101,则直接将请求下载的软件安全检测并安装,这种一键安装是安全管理器(如软件管家工具)提供的一种快速的下载安装方式,其无需逐步提示“下一步”来安装,而是直接自动安装(第一安装装置)。如果用户选中了高速下载,如按钮1103,则将请求下载的软件安全检测并直接下载之后运行安装(第二安装装置)。如果用户选中一键升级,如按钮1105,则请求下载的软件安全检测并直接执行升级操作而无需逐步提示(同一键安装)(第三安装装置)。如果当用户选中更新或升级,如按钮1107,则将请求下载的软件安全检测并逐步运行更新或升级操作(第四安装装置)。The user's selection instruction for the entry information forms a download command (as shown in FIG. 11 ), that is, the user selects (clicks) one of the above-mentioned one or more buttons. Receive the user's selection of one of one or more buttons (the selection device in the command generation device), for example: if the user selects one-key installation, such as button 1101, then directly the software that is requested to be downloaded will be safely detected and installed. A kind of one-key installation is a kind of fast download and installation mode provided by the security manager (such as the software housekeeper tool), which does not need to prompt "next step" step by step to install, but directly and automatically installs (the first installation device). If the user has selected the high-speed download, such as button 1103, then the software security detection will be requested to download and run installation (second installation means) after direct download. If the user selects one-key upgrade, such as button 1105, then request the downloaded software security detection and directly perform the upgrade operation without prompting step by step (installation with the same key) (the third installation device). If the user selects update or upgrade, such as button 1107, then the downloaded software security check will be requested and the update or upgrade operation will be performed step by step (the fourth installation means).
例如:当用户选中(比如:点击)上述按钮后即浏览器侧接收到用户的下载命令,根据点击按钮事件,将对应该事件的上述任务ID发送到接口2。即接收用户对一个或多个按钮中的某个的选中,产生下载命令,并将对应该下载命令的所述任务ID发送到安全管理器。接口2能用于接收对应的所述下载命令的所述任务ID,实现浏览器和安全管理器的交互,保证浏览器对安全管理器的调用。完成下载安装任务后则结束该web浏览器下载过程。For example: when the user selects (for example: clicks) the above button, the browser side receives the user's download command, and sends the above task ID corresponding to the event to interface 2 according to the button click event. That is, receiving the user's selection of one or more buttons, generating a download command, and sending the task ID corresponding to the download command to the security manager. The interface 2 can be used to receive the task ID of the corresponding download command, realize the interaction between the browser and the security manager, and ensure that the browser calls the security manager. After the download and installation task is completed, the web browser download process ends.
这里将描述浏览器和安全管理器交互过程以及对应的系统,如图2、3、14、15所示。当用户运用浏览器进行软件(尤其是应用软件)下载时,浏览器调用整合或安装或关联了的安全管理器,通过查询安全管理器是否有下载网址并确定是否有该待下载的同样的软件(如,对比文件或软件的MD5值是否一致),如果有则根据安全管理器返回的入口信息加载以在浏览器侧更新下载界面(如上述的“直接打开”变为“一键安装”、“一键升级”等,参见图11),并通过在下载对话框里显示的根据入口信息中的软件下载状态码形成的下载/安装/更新/升级等按钮,用户点击按钮从而由浏览器获取按钮对应的下载命令,并对应该下载命令找到安全管理器返回的入口信息的任务ID,将该ID发送给安全管理器从而调用安全管理器侧执行对应该ID的下载或安装等任务,这样能帮助用户省去安装过程,去除捆绑插件等。Here, the interaction process between the browser and the security manager and the corresponding system will be described, as shown in FIGS. 2 , 3 , 14 , and 15 . When a user uses a browser to download software (especially application software), the browser invokes the integrated or installed or associated security manager to check whether the security manager has a download URL and determine whether there is the same software to be downloaded (For example, compare whether the MD5 value of the file or software is consistent), if there is, load it according to the entry information returned by the security manager to update the download interface on the browser side (such as the above-mentioned "directly open" becomes "one-click installation", "One-click upgrade", etc., see Figure 11), and through the download/installation/update/upgrade buttons displayed in the download dialog box based on the software download status code in the entry information, the user clicks the button to be obtained by the browser The download command corresponding to the button, and corresponding to the download command, find the task ID of the entry information returned by the security manager, and send the ID to the security manager to call the security manager side to perform tasks such as downloading or installation corresponding to the ID. Help users save the installation process, remove bundled plugins, etc.
浏览器进行软件下载的系统至少包括:浏览器21、31,安全管理器22、32,以及接口1(第一接口221)、接口2(第二接口222)。浏览器21侧通过接口1、接口2与安全管理器22关联,并根据各自具备的模块(装置1401-1411)完成安全地软件下载操作。The system for downloading software by browser at least includes: browsers 21, 31, security managers 22, 32, and interface 1 (first interface 221), interface 2 (second interface 222). The browser 21 side is associated with the security manager 22 through the interface 1 and the interface 2, and completes the safe software downloading operation according to the modules (devices 1401-1411) provided by each.
浏览器21包括:请求和查询装置1401,依据URL发起软件下载请求,并通过接口1将该URL发送给安全管理器,以查询该URL是否是安全管理器包含的软件下载地址,如步骤S101。判断处理装置1403(包括前述检查返回装置和更新装置),若否则采用其他的下载方式S105;若是,则执行步骤S103,并进入接收指令装置1405(包括前述命令生成装置和命令发送装置)执行步骤S107。The browser 21 includes: requesting and querying means 1401, which initiates a software download request according to the URL, and sends the URL to the security manager through the interface 1 to check whether the URL is a software download address included in the security manager, as in step S101. Judgment processing means 1403 (comprising the aforementioned checking and returning means and updating means), if otherwise adopts other downloading methods S105; S107.
安全管理器22包括:查询装置1407(包括前述获取装置和匹配装置),依据来自浏览器侧的URL发起的浏览器侧的软件下载请求,查询该URL是否是安全其包含的软件下载地址;判断装置1409(包括前述检查返回装置和提供装置),若是则安全管理器包含的软件下载地址的入口信息挺贵给路蓝旗侧的软件下载界面中以加载变更浏览器下载界面,执行步骤S103;任务执行装置1411(包括前述下载软件装置),从浏览器侧接收用户对入口信息的选择指令而从安全管理器侧下载请求下载的软件。该系统的浏览器和安全管理器交互执行过程,步骤S1501,用户在浏览器侧输入URL并发起软件下载请求。步骤S1503,判断是否安装、关联、连接或者说是否整合了安全管理器。如果整合有安全管理器则进入步骤S1507;否则进入步骤S1505采用现有下载流程执行下载任务。如上述本发明的具体实施方式一至四的步骤S101及其采用的各种具体方式。Safety manager 22 comprises: inquiry device 1407 (comprising aforementioned acquisition device and matching device), according to the software download request of the browser side that the URL from browser side initiates, inquires whether this URL is the safe software download address that it contains; Judgment Device 1409 (comprising the aforementioned inspection return device and providing device), if so, the entry information of the software download address contained in the security manager is sent to the software download interface on the Lulanqi side to load and change the browser download interface, and execute step S103; The task executing device 1411 (including the aforementioned downloading software device) receives the user's selection instruction for the entry information from the browser side and downloads the requested software from the security manager side. The browser of the system interacts with the security manager to execute the process. In step S1501, the user inputs a URL on the browser side and initiates a software download request. Step S1503, judging whether the security manager is installed, associated, connected or integrated. If there is a security manager integrated, go to step S1507; otherwise, go to step S1505 to execute the download task by using the existing download process. Such as step S101 of the first to fourth specific implementation modes of the present invention and various specific modes adopted.
步骤S1507判断所述URL是否是安全管理器中的下载站地址即前面所述可以利用获取refer信息预判,例如:根据浏览器下载进程发送过来的下载目的地址URL(如上述例子中的http://jiedns.newhua.com/down/Storm2011-3.11.09.26.zip),进行预判断,若是安全管理器中的下载站地址,则进入到步骤S1509,否则,进入步骤S1505,采用现有下载流程执行下载任务。Step S1507 determines whether the URL is the download station address in the security manager, that is, the above mentioned can be used to obtain the refer information to predict, for example: according to the download destination URL sent by the browser download process (such as http in the above example: //jiedns.newhua.com/down/Storm2011-3.11.09.26.zip), make a pre-judgment, if it is the download station address in the security manager, go to step S1509, otherwise, go to step S1505 and use the existing download process Execute the download task.
进入步骤S1509,发送URL到安全管理器。Go to step S1509, send the URL to the security manager.
步骤S1511中,安全管理器检查,例如:使用ifsupport(url)函数确定,安全管理器的进程判断其是否支持该下载软件(Storm2011-3.11.09.26)的下载,检查后则返回下载状态码和其建立的一个或多个任务ID(入口信息)到浏览器侧,例如:如果在安全管理器侧没有Storm2011-3.11.09.26软件可以下载(如:不支持),假定有两个接口,如接口1和接口2(接口221、321和接口222、322)联系着浏览器侧和安全管理器侧的服务器,则从一个关联的接口(接口1)就返回一个状态码{0,1,2},其中0表示没有下载软件,1表示可以一键安装下载,2表示可以高速下载。并且安全管理器为该软件的安装和下载会启动一个执行任务,并设置该任务的ID,并将该任务ID返回给浏览器侧的下载工具。建立的一个或多个ID对应着可执行的下载任务。In step S1511, the safety manager checks, for example: use the ifsupport (url) function to determine whether the process of the safety manager judges whether it supports the download of the download software (Storm2011-3.11.09.26), and then returns the download status code and its url after checking. Create one or more task IDs (entry information) to the browser side, for example: if there is no Storm2011-3.11.09.26 software that can be downloaded on the security manager side (eg: not supported), it is assumed that there are two interfaces, such as interface 1 and the interface 2 (interface 221, 321 and interface 222, 322) are in contact with the server on the browser side and the security manager side, then a status code {0,1,2} is returned from an associated interface (interface 1), Among them, 0 means no download software, 1 means one-click installation and download, and 2 means high-speed download. And the security manager will start an execution task for the installation and download of the software, set the task ID, and return the task ID to the download tool on the browser side. One or more IDs established correspond to executable download tasks.
在步骤S1513,浏览器侧根据状态码更新其下载界面,其接收用户的点击命令(如对更新界面上按钮的选取),发送任务ID给安全管理器,于是,步骤S1515,安全管理器依据任务ID执行一键安装/高速下载/一键升级等任务ID对应的下载功能/操作的步骤(执行对应ID的任务),例如:下载任务将由相应的下载命令触发(用户选取按钮产生的选择指令)。接口1能用于返回该状态码和任务ID完成浏览器和安全管理器的交互。In step S1513, the browser side updates its download interface according to the status code, and it receives the user's click command (such as selecting a button on the update interface), and sends the task ID to the security manager. Then, in step S1515, the security manager ID executes one-key installation/high-speed download/one-key upgrade and other download function/operation steps corresponding to the task ID (execute the task corresponding to the ID), for example: the download task will be triggered by the corresponding download command (the selection command generated by the user selecting the button) . Interface 1 can be used to return the status code and task ID to complete the interaction between the browser and the security manager.
步骤S1509-S1513,如上述本发明具体实施方式步骤S103、S107及其采用的各种具体方式。完成下载安装任务后则结束该web浏览器下载过程。Steps S1509-S1513 are the steps S103, S107 and various specific ways adopted in the specific implementation manner of the present invention described above. After the download and installation task is completed, the web browser download process ends.
由本发明的方案可以看出,如果下载的文件是软件,那么将会查询安全管理器是否有相同的文件(软件),如果有相同的文件(软件),那么会推荐用户使用(调用)安全管理器的下载功能(如一键安装、一键升级等功能),快且安全;安全管家可以自成服务器方通过接口被浏览器调用,也可以作为插件安装在浏览器侧通过接口完成程序处理,可以通过接口获取来自浏览器的信息。浏览器侧获取下载地址refer信息进行判断为使用安全管理器对下载请求的软件进行预判(先确定URL,之后再检查请求下载的软件)。因此,在浏览器下载中整合了软件下载的安全管理技术,以及快捷下载安装技术,保证了通过浏览器下载软件的安全性,进而还提高了下载安装的效率。As can be seen from the solution of the present invention, if the downloaded file is software, then the security manager will be inquired whether there is the same file (software), if there is the same file (software), then the user can be recommended to use (call) the security management The download function of the browser (such as one-key installation, one-key upgrade, etc.), is fast and safe; the security manager can be called by the browser through the interface on the server side, or can be installed as a plug-in on the browser side to complete the program processing through the interface. Get information from the browser through the interface. The browser side obtains the refer information of the download address and judges as using the security manager to pre-judge the software requested for download (determine the URL first, and then check the software requested for download). Therefore, the safety management technology of software download and the quick download and installation technology are integrated in the browser download, which ensures the safety of software downloaded through the browser, and further improves the efficiency of download and installation.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the device according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本文公开了A1.一种浏览器进行软件下载的方法,包括:依据URL发起浏览器侧的软件下载请求,并查询所述URL是否是安全管理器包含的软件下载地址;若是,则所述浏览器侧的软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息;接收用户对所述入口信息的选择指令,从所述安全管理器侧下载请求下载的软件。A2.如A1所述的方法,其特征在于,所述安全管理器包括:安全管理库,所述安全管理器包含的软件下载地址在所述安全管理库中。A3.如A1所述的方法,其特征在于,查询所述URL是否是安全管理器包含的软件下载地址,包括:根据所述URL的所述软件下载地址依据HTTP协议获取refer信息;根据refer信息中的网址信息与安全管理器包含的网址信息进行匹配,如果匹配成功,表示所述URL是安全管理器包含的软件下载地址,则判断为是;如果匹配不成功,表示所述URL不是安全管理器包含的软件下载地址,则判断为否。A4.如A3所述的方法,其特征在于,依据HTTP获取refer信息包括:通过refer信息获取函数进行,并能根据所述refer信息确认所述下载地址的来源。A5.如A1所述的方法,其特征在于,所述浏览器侧的软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息,包括:根据浏览器侧发送到所述安全管理器的所述URL,检查请求下载的软件,并由所述安全管理器返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,形成所述入口信息;浏览器侧根据所述软件下载状态码,更新下载界面。A6.如A5所述的方法,其特征在于,接收用户对所述入口信息的选择指令,从所述安全管理器侧下载所述请求下载的软件,包括:所述用户对所述入口信息的选择指令,形成下载命令;浏览器侧接收所述下载命令,将对应所述下载命令的所述任务ID发送到所述安全管理器,所述安全管理器根据所述任务ID下载请求下载的软件。A7.如A6所述的方法,其特征在于,浏览器侧根据所述软件下载状态码,更新下载界面,包括:在下载界面上形成一键安装、高速下载、更新、升级和一键升级中的一个或多个按钮;所述用户对所述入口信息的选择指令,形成下载命令包括:形成所述下载命令的选择指令为用户对所述一个或多个按钮中的一个的选中。A8.如A7所述的方法,其特征在于,根据浏览器侧发送到所述安全管理器的所述URL,检查请求下载的软件,并由所述安全管理器返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,包括:所述安全管理器判断是否支持所述URL指示的请求下载的所述软件,根据判断结果,返回相应的软件下载状态码;所述软件下载状态码包括:是否支持/是否具有请求下载的软件、是否能支持一键安装功能、是否支持高速下载功能的信息;所述安全管理器为请求下载的软件的下载,启动相应的执行任务,并设置所述执行任务的ID,从而建立一个或多个任务ID。A9.如A8所述的方法,其特征在于,进一步包括:所述安全管理器,是通过一个或多个接口返回所述软件下载状态码和其建立的一个或多个任务ID;所述浏览器侧,是通过一个或多个接口发送URL和/或对应所述下载命令的所述任务ID到所述安全管理器。A10.如A8所述的方法,其特征在于,浏览器侧根据所述软件下载状态码,更新下载界面,包括:当所述浏览器侧所在的本地未安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键安装的按钮,从而更新下载界面;如果请求下载的软件不支持一键安装功能时,浏览器侧根据所述软件下载状态码,在下载界面上形成高速下载的按钮以替换一键安装的按钮,从而更新下载界面;当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面。A11.如A8所述的方法,其特征在于,浏览器侧根据所述软件下载状态码,更新下载界面,包括:当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述安全管理器支持所述URL指示的请求下载的软件时,如果请求下载的软件支持一键升级功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面;如果请求下载的软件不支持一键升级功能时,浏览器侧根据所述入口信息中的软件下载状态码,在下载界面上形成升级的按钮,从而更新下载界面。A12.A10或A11所述的方法,其特征在于,接收用户对所述一个或多个按钮中的一个的选中,包括:如果用户选中一键安装,则直接将请求下载的软件安全检测并安装,无需逐步提示安装;如果用户选中高速下载,则将请求下载的软件安全检测并直接下载后运行安装;如果用户选中一键升级,则直接将请求下载的软件安全检测并升级,无需逐步提示;如果当用户选中更新或升级,则将请求下载的软件安全检测并逐步运行更新或升级操作。A13.如A8所述的方法,其特征在于,所述安全管理器为请求下载的软件的下载,启动相应的执行任务,包括:所述请求下载的软件的下载对应所述下载命令,并启动相应的执行任务;所述执行任务包括任何种类的安装、升级、更新和/或下载方式的一个或多个。This paper discloses A1. A method for a browser to download software, including: initiating a software download request on the browser side according to the URL, and inquiring whether the URL is the software download address contained in the security manager; Load the entry information of the software download address contained in the security manager into the software download interface on the side of the device; receive the user's selection instruction for the entry information, and download the requested software from the side of the security manager. A2. The method according to A1, wherein the security manager includes: a security management library, and the software download address included in the security manager is in the security management library. A3. The method as described in A1, wherein, inquiring whether the URL is a software download address contained in a security manager comprises: obtaining refer information according to the HTTP protocol according to the software download address of the URL; according to the refer information The URL information in is matched with the URL information contained in the security manager. If the match is successful, it means that the URL is the software download address contained in the security manager, and the judgment is yes; if the match is unsuccessful, it means that the URL is not a security manager. If the software download address contained in the device is not included, the judgment is no. A4. The method as described in A3, wherein obtaining the refer information according to HTTP includes: performing through a refer information obtaining function, and confirming the source of the download address according to the refer information. A5. The method as described in A1, wherein the software download interface on the browser side loads the entry information of the software download address contained in the security manager, including: The URL of the browser, check the software that is requested to download, and return the software download status code and one or more task IDs established by the security manager by the security manager to form the entry information; the browser side according to the The above software download status code, update the download interface. A6. The method as described in A5, characterized in that, receiving a user's selection instruction for the entry information, and downloading the software requested to be downloaded from the security manager side includes: the user's selection of the entry information Select an instruction to form a download command; the browser side receives the download command, sends the task ID corresponding to the download command to the security manager, and the security manager downloads the software requested for download according to the task ID . A7. The method as described in A6, wherein the browser side updates the download interface according to the software download status code, including: forming one-key installation, high-speed download, update, upgrade and one-key upgrade on the download interface One or more buttons; the user's selection instruction for the entry information, and forming the download command includes: forming the download command selection instruction is the user's selection of one of the one or more buttons. A8. The method as described in A7, characterized in that, according to the URL sent to the security manager by the browser side, check the software that is requested to be downloaded, and return the software download status code and the One or more task IDs set up by the security manager include: the security manager judges whether to support the downloaded software indicated by the URL, and returns a corresponding software download status code according to the judgment result; The status code includes: whether it supports/has the software requested to be downloaded, whether it can support the one-key installation function, and whether it supports the high-speed download function; the safety manager starts the corresponding execution task for the download of the software requested to be downloaded, and Set the ID of the execution task, so as to establish one or more task IDs. A9. The method as described in A8, further comprising: the security manager returns the software download status code and one or more task IDs established by it through one or more interfaces; On the server side, the URL and/or the task ID corresponding to the download command are sent to the security manager through one or more interfaces. A10. The method as described in A8, wherein the browser side updates the download interface according to the software download status code, including: when the old version of the software requested to be downloaded is not installed locally where the browser side is located, The download interface on the browser side has a button to open directly, and when the security manager supports the software requested to be downloaded indicated by the URL: if the software requested to be downloaded supports a one-click installation function, the browser side downloads the software according to the software. The status code forms a one-click installation button on the download interface, thereby updating the download interface; if the software requested for download does not support the one-click installation function, the browser side forms a high-speed download on the download interface according to the software download status code button to replace the button for one-click installation, thereby updating the download interface; when the old version of the software requested to be downloaded is installed locally on the browser side, the download interface on the browser side has a button to open directly, and the When the security manager supports the software requested to be downloaded indicated by the URL: if the software requested to be downloaded supports the one-key installation function, the browser side forms a one-key upgrade button on the download interface according to the software download status code, thereby updating Download interface. A11. The method as described in A8, wherein the browser side updates the download interface according to the software download status code, including: when an old version of the software requested to be downloaded is installed locally where the browser side is located, the When the security manager supports the software requested to be downloaded indicated by the URL, if the software requested to be downloaded supports the one-key upgrade function, the browser side forms a one-key upgrade button on the download interface according to the software download status code, thereby Update the download interface; if the software requested for download does not support the one-key upgrade function, the browser side forms an upgrade button on the download interface according to the software download status code in the entry information, thereby updating the download interface. The method described in A12.A10 or A11 is characterized in that receiving the user’s selection of one of the one or more buttons includes: if the user selects one-key installation, directly detect and install the software requested for download , without step-by-step prompts for installation; if the user selects high-speed download, the requested software will be checked for security and installed directly after downloading; if the user selects one-key upgrade, the requested software will be checked for security and upgraded without step-by-step prompts; If the user chooses to update or upgrade, the downloaded software will be requested for security checks and the update or upgrade operation will be run step by step. A13. The method as described in A8, wherein the safety manager starts a corresponding execution task for the download of the software requested to be downloaded, including: the download of the software requested to be downloaded corresponds to the download command, and starts A corresponding execution task; the execution task includes one or more of any kind of installation, upgrade, update and/or download.
本文公开了B14.一种进行软件下载的浏览器,包括:请求查询模块装置,配置为:依据URL发起软件下载请求,并查询所述URL是否是安全管理器包含的软件下载地址;判断处理装置,配置为:查询为若是,则在软件下载界面中加载所述安全管理器包含的软件下载地址的入口信息;接收指令装置,配置为:接收用户对所述入口信息的选择指令,从所述安全管理器侧下载请求下载的软件。B15.如B14所述的浏览器,其特征在于,判断处理装置包括:检查返回装置,配置为:根据来自所述安全管理器根据所述URL检查请求下载的软件,并返回软件下载状态码以及所述安全管理器建立的一个或多个任务ID,而形成所述入口信息;更新装置,配置为:根据所述软件下载状态码,更新下载界面。B16.如B15所述的浏览器,其特征在于,接收指令装置包括:命令生成装置,配置为:所述用户对所述入口信息的选择指令,形成下载命令;命令发送装置,配置为:接收所述下载命令、将对应所述下载命令的所述任务ID发送到所述安全管理器,以便所述安全管理器根据所述任务ID下载请求下载的软件的装置。B17.如B16所述的浏览器,其特征在于,更新装置包括:界面生成装置,配置为:在下载界面上形成一键安装、高速下载、更新、升级和一键升级中的一个或多个按钮;命令生成装置,包括:选中装置,配置为:形成所述下载命令的选择指令为所述用户对所述一个或多个按钮中的一个的选中。B18.如B17所述的浏览器,其特征在于,进一步包括:一个或多个接口,配置为:浏览器通过所述一个或多个接口,发送URL和/或对应所述下载命令的所述任务ID到所述安全管理器。B19.如B17所述的浏览器,其特征在于,更新装置,包括:所述软件下载状态码包括:是否支持/是否具有请求下载的软件、是否能支持一键安装功能、是否支持高速下载功能的信息;按钮生成装置,配置为:当所述浏览器侧所在的本地未安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键安装的按钮,从而更新下载界面;如果请求下载的软件不支持一键安装功能时,浏览器侧根据所述软件下载状态码,在下载界面上形成高速下载的按钮以替换一键安装的按钮,从而更新下载界面;当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述浏览器侧的下载界面具有直接打开的按钮,所述安全管理器支持所述URL指示的请求下载的软件时:如果请求下载的软件支持一键安装功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面。B20.如B17所述的浏览器,其特征在于,更新装置包括:按钮生成装置配置为:当所述浏览器侧所在的本地安装有请求下载的软件的旧版本,所述安全管理器支持所述URL指示的请求下载的软件时,如果请求下载的软件支持一键升级功能,浏览器侧根据所述软件下载状态码,在下载界面上形成一键升级的按钮,从而更新下载界面;如果请求下载的软件不支持一键升级功能时,浏览器侧根据所述入口信息中的软件下载状态码,在下载界面上形成升级的按钮,从而更新下载界面。B21.如B19或B20所述的浏览器,其特征在于,选中装置包括:第一安装装置,配置为:如果用户选中一键安装,则直接将请求下载的软件安全检测并安装,无需逐步提示安装;第二安装装置,配置为:如果用户选中高速下载,则将请求下载的软件安全检测并直接下载后运行安装;第三安装装置,配置为:如果用户选中一键升级,则直接将请求下载的软件安全检测并升级,无需逐步提示;第四安装装置,配置为:如果当用户选中更新或升级,则将请求下载的软件安全检测并逐步运行更新或升级操作。This paper discloses B14. A browser for software download, comprising: a request query module device, configured to: initiate a software download request according to the URL, and inquire whether the URL is a software download address included in the security manager; determine the processing device , configured to: if the query is yes, then load the entry information of the software download address included in the security manager in the software download interface; the receiving instruction device is configured to: receive a user's selection instruction for the entry information, from the The security manager side downloads the software requested to be downloaded. B15. the browser as described in B14, it is characterized in that, judging processing device comprises: check return device, be configured to: according to the software that checks request download according to described URL from described security manager, and return software download status code and One or more task IDs established by the security manager form the entry information; the updating device is configured to: update the download interface according to the software download status code. B16. The browser as described in B15, wherein the receiving instruction device includes: an order generating device configured to: the user's selection instruction to the entry information forms a download command; the command sending device is configured to: receive The download command sends the task ID corresponding to the download command to the security manager, so that the security manager downloads the device requesting to download the software according to the task ID. B17. The browser as described in B16, wherein the update device includes: an interface generating device configured to: form one or more of one-key installation, high-speed download, update, upgrade and one-key upgrade on the download interface A button; a command generation device, comprising: a selection device configured to: form the selection instruction of the download command as the user's selection of one of the one or more buttons. B18. The browser as described in B17, is characterized in that, further comprises: one or more interfaces, is configured to: browser sends URL and/or described corresponding to described download command through described one or more interfaces Task ID to the security manager. B19. The browser as described in B17, it is characterized in that the update device includes: the software download status code includes: whether it supports/whether it has the software requested to download, whether it can support the one-key installation function, whether it supports the high-speed download function information; the button generation device is configured to: when the old version of the software requested to be downloaded is not installed locally where the browser side is located, the download interface of the browser side has a button to be opened directly, and the security manager supports When requesting to download the software indicated by the URL: if the software requested to download supports the one-key installation function, the browser side forms a one-key installation button on the download interface according to the software download status code, thereby updating the download interface; if When the software requested to be downloaded does not support the one-key installation function, the browser side forms a high-speed download button on the download interface to replace the one-key installation button according to the software download status code, thereby updating the download interface; An old version of the software requested to be downloaded is installed locally on the side where the browser is located, the download interface on the browser side has a button to be opened directly, and when the security manager supports the software requested to be downloaded indicated by the URL: if the software requested to be downloaded The one-key installation function is supported, and the browser side forms a one-key upgrade button on the download interface according to the software download status code, thereby updating the download interface. B20. The browser as described in B17, wherein the update device includes: the button generation device is configured to: when the old version of the software requested to be downloaded is installed locally at the browser side, the security manager supports all When requesting to download the software indicated by the above URL, if the requested software supports the one-key upgrade function, the browser side will form a one-key upgrade button on the download interface according to the software download status code, thereby updating the download interface; When the downloaded software does not support the one-key upgrade function, the browser side forms an upgrade button on the download interface according to the software download status code in the entry information, thereby updating the download interface. B21. The browser as described in B19 or B20, characterized in that the selected device includes: a first installation device configured to: if the user selects one-key installation, the software that is requested to be downloaded will be directly detected and installed without prompting step by step installation; the second installation device is configured as follows: if the user selects high-speed download, then the software security check that is requested to be downloaded is directly downloaded and then installed; the third installation device is configured as: if the user selects one-key upgrade, the request is directly downloaded Downloaded software security checks and upgrades without step-by-step prompts; the fourth installation device is configured as follows: if the user selects update or upgrade, it will request the downloaded software for security checks and perform update or upgrade operations step by step.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610170105.0ACN105657062A (en) | 2012-11-01 | 2012-11-01 | Browser software downloading method and browser |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610170105.0ACN105657062A (en) | 2012-11-01 | 2012-11-01 | Browser software downloading method and browser |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210431824.5ADivisionCN102970346B (en) | 2012-11-01 | 2012-11-01 | Method for downloading software by browser and browser |
| Publication Number | Publication Date |
|---|---|
| CN105657062Atrue CN105657062A (en) | 2016-06-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610170105.0APendingCN105657062A (en) | 2012-11-01 | 2012-11-01 | Browser software downloading method and browser |
| Country | Link |
|---|---|
| CN (1) | CN105657062A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106528248A (en)* | 2016-11-30 | 2017-03-22 | 惠州Tcl移动通信有限公司 | Downloading method and system of mobile terminal based on software integrity |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7526730B1 (en)* | 2003-07-01 | 2009-04-28 | Aol Llc | Identifying URL target hostnames |
| CN102333122A (en)* | 2011-09-28 | 2012-01-25 | 奇智软件(北京)有限公司 | A download resource providing method, device and system |
| CN102419808A (en)* | 2011-09-28 | 2012-04-18 | 奇智软件(北京)有限公司 | Method, device and system for detecting security of download link |
| CN102571846A (en)* | 2010-12-23 | 2012-07-11 | 北京启明星辰信息技术股份有限公司 | Method and device for forwarding hyper text transport protocol (HTTP) request |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7526730B1 (en)* | 2003-07-01 | 2009-04-28 | Aol Llc | Identifying URL target hostnames |
| CN102571846A (en)* | 2010-12-23 | 2012-07-11 | 北京启明星辰信息技术股份有限公司 | Method and device for forwarding hyper text transport protocol (HTTP) request |
| CN102333122A (en)* | 2011-09-28 | 2012-01-25 | 奇智软件(北京)有限公司 | A download resource providing method, device and system |
| CN102419808A (en)* | 2011-09-28 | 2012-04-18 | 奇智软件(北京)有限公司 | Method, device and system for detecting security of download link |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106528248A (en)* | 2016-11-30 | 2017-03-22 | 惠州Tcl移动通信有限公司 | Downloading method and system of mobile terminal based on software integrity |
| CN106528248B (en)* | 2016-11-30 | 2021-06-22 | 惠州Tcl移动通信有限公司 | A software integrity-based downloading method and system for a mobile terminal |
| Publication | Publication Date | Title |
|---|---|---|
| CN102970346B (en) | Method for downloading software by browser and browser | |
| US8554732B2 (en) | Version management for application execution environment | |
| CN102427481B (en) | System for managing cloud computing service and cloud computing management method | |
| US8375381B1 (en) | Management user interface for application execution environment | |
| CN108170740A (en) | Data migration method, system and computer readable storage medium | |
| CN104583945B (en) | An application upgrade method and device | |
| US20090037835A1 (en) | Application Tracking for Application Execution Environment | |
| CN102945182B (en) | App update method and device | |
| CN107391115B (en) | A kind of method, apparatus and computer equipment for realizing pop-up alternative events | |
| CN103023894B (en) | A kind of method and browser carrying out Web bank's login | |
| CN102801755A (en) | Application management method and application platform | |
| WO2016008256A1 (en) | Method for terminal to update operating system, terminal and system | |
| US8418164B2 (en) | Image install of a network appliance | |
| JP6880633B2 (en) | Information processing equipment, information processing systems and programs | |
| CN102981880A (en) | Method and device for realizing application program updating | |
| US20150039515A1 (en) | Interactive product improvement through the use of variants and data gathering reports in a system that can be updated on the fly | |
| CN103001960B (en) | Browser and Web bank's login method | |
| CN107193609A (en) | Functional module call method and device, electronic equipment in | |
| CN105740027A (en) | Application program updating method and device | |
| CN118170431B (en) | Cross-operating system service migration method and device and electronic equipment | |
| CN109240733A (en) | A kind of method and terminal updating advertisement SDK based on Android system | |
| US20150326435A1 (en) | Parameter setting system, program management apparatus, and information processing apparatus | |
| CN102984205A (en) | Safety manager capable of assisting browser to perform software downloading | |
| CN104375831A (en) | Method, device and system realizing communication between webpage and applications on terminal equipment | |
| CN103530155A (en) | Method and device for installing application program |
| 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 | Application publication date:20160608 | |
| RJ01 | Rejection of invention patent application after publication |