CN103645912A - Method for loading browser extensions and/or plugins and browser - Google Patents

Method for loading browser extensions and/or plugins and browser Download PDF

Info

Publication number
CN103645912A
CN103645912A CN201310553704.7A CN201310553704A CN103645912A CN 103645912 A CN103645912 A CN 103645912A CN 201310553704 A CN201310553704 A CN 201310553704A CN 103645912 A CN103645912 A CN 103645912A
Authority
CN
China
Prior art keywords
plug
browser
recommendation
unit
recommended
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
Application number
CN201310553704.7A
Other languages
Chinese (zh)
Inventor
王国涛
史志奇
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310553704.7A priority Critical patent/CN103645912A/en
Publication of CN103645912A publication Critical patent/CN103645912A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种加载浏览器扩展和/或插件的方法及浏览器,该方法包括:在浏览器侧设置扩展和/或插件安全引擎以及供该引擎调用的扩展和/或插件安全配置文件,其中扩展和/或插件安全配置文件包括浏览器扩展和/或插件的安全描述信息;在浏览器侧加载扩展和/或插件时,扩展和/或插件安全引擎调用扩展和/或插件安全配置文件,并依据扩展和/或插件的安全描述信息判断要被加载的扩展和/或插件的安全性;将判断为安全的扩展和/或插件在浏览器侧进行加载。通过本发明的实施例能够有效提高浏览器扩展和/或插件的安全性审核的效率。

Figure 201310553704

The invention discloses a method for loading browser extensions and/or plug-ins and a browser. The method includes: setting an extension and/or plug-in security engine on the browser side and an extension and/or plug-in security configuration file called by the engine , where the extension and/or plug-in security configuration file includes the security description information of the browser extension and/or plug-in; when the browser side loads the extension and/or plug-in, the extension and/or plug-in security engine invokes the extension and/or plug-in security configuration file, and judge the security of the extension and/or plug-in to be loaded according to the security description information of the extension and/or plug-in; load the extension and/or plug-in judged to be safe on the browser side. The embodiment of the present invention can effectively improve the security audit efficiency of browser extensions and/or plug-ins.

Figure 201310553704

Description

一种加载浏览器扩展和/或插件的方法及浏览器Method and browser for loading browser extension and/or plug-in

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种加载浏览器扩展和/或插件的方法及浏览器。The invention relates to the technical field of computers, in particular to a method for loading browser extensions and/or plug-ins and a browser.

背景技术Background technique

对于提供在浏览器中的扩展组件,目前主要有三类:第一类、浏览器开发方提供的扩展(即官方扩展);第二类、浏览器的合作伙伴开发的扩展;第三类、第三方提供到浏览器的扩展中心平台上的扩展组件。For the extension components provided in the browser, there are currently three main categories: the first category, extensions provided by the browser developer (that is, official extensions); the second category, extensions developed by browser partners; the third category, the third category Three parties provide extension components to the browser extension center platform.

对于由第三方提供到浏览器的扩展中心平台上的扩展组件,通常用户通过浏览器的扩展中心平台中提供的扩展的安装入口,进行浏览器扩展的安装。目前对于浏览器扩展和/或插件的推荐方案多是广告的方案,而由浏览器方进行推荐后加载浏览器扩展和/或插件的方案并不多。For extension components provided by a third party on the browser extension center platform, usually the user installs the browser extension through the extension installation portal provided in the browser extension center platform. At present, most of the recommendation schemes for browser extensions and/or plug-ins are advertisement schemes, but there are not many schemes for browser extensions and/or plug-ins to be loaded after being recommended by the browser side.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种加载浏览器扩展和/或插件的方法及浏览器,实现对浏览器扩展和/或插件的更加精准的推荐。In view of the above problems, the present invention is proposed in order to provide a method for loading browser extensions and/or plug-ins and a browser that overcome the above problems or at least partially solve the above problems, so as to achieve more browser extensions and/or plug-ins. Accurate recommendation.

依据本发明的一个方面,提供了一种加载浏览器扩展和/或插件的方法,包括:在浏览器侧设置扩展和/或插件的推荐配置表,其中所述推荐配置表包含至少一个网页URL与推荐的扩展和/或插件之间的匹配项;加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表;将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件;在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息;以及接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。According to one aspect of the present invention, a method for loading browser extensions and/or plug-ins is provided, including: setting a recommended configuration table for extensions and/or plug-ins on the browser side, wherein the recommended configuration table includes at least one webpage URL Matching items with recommended extensions and/or plug-ins; loading the webpage requested by the user to obtain the URL of the webpage and the recommended configuration table; matching the URL of the webpage with the matching items in the recommended configuration table Matching, obtaining matching recommended browser extensions and/or plug-ins; displaying a recommendation box on the browser side, and loading entry information of the matched recommended browser extensions and/or plug-ins in the recommendation box; Matching the selection instruction of the recommended browser extension and/or plug-in, loading the selected recommended browser extension and/or plug-in to the browser side.

可选地,在本发明的实施例中,所述推荐配置表中的匹配项包括下列中的一个或多个:主机名匹配项,其表示某一类网站的URL地址的主机名与推荐浏览器扩展和/或插件匹配;域名匹配项,其表示某一类特定网站的URL地址的域名与推荐浏览器扩展和/或插件匹配;和全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。Optionally, in an embodiment of the present invention, the matching items in the recommended configuration table include one or more of the following: a host name matching item, which represents the host name of a URL address of a certain type of website and the recommended browsing browser extension and/or plug-in match; domain name match, which indicates that the domain name of the URL address of a certain type of website matches with the recommended browser extension and/or plug-in; and full match, which indicates the regular expression of the URL address of a certain website The expression matches recommended browser extensions and/or plug-ins.

可选地,在本发明的实施例中,在浏览器侧显示推荐框的步骤之前,进行如下一个或多个条件的判断:浏览器当前没有要推荐的浏览器扩展和/或插件;当天推荐框没有弹出;在用户所在的客户端记录在第一预定时间内访问该类URL至少N次,其中N是自然数;在当前浏览器的显示推荐框的位置没有其它推荐框出现;当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录;当前浏览器的推荐配置表中没有在第二预定时间内不提示安装推荐浏览器扩展和/或插件的记录;和用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量。Optionally, in an embodiment of the present invention, before the step of displaying the recommendation box on the browser side, one or more of the following conditions are judged: the browser currently has no browser extensions and/or plug-ins to be recommended; The box does not pop up; the client where the user is located records at least N visits to this type of URL within the first predetermined time, where N is a natural number; no other recommendation box appears at the position where the recommendation box is displayed in the current browser; the current browser's There is no record of not prompting to install the recommended browser extension and/or plug-in in the recommended configuration table; there is no record of not prompting to install the recommended browser extension and/or plug-in within the second predetermined time in the recommended configuration table of the current browser; and the number of recommended browser extensions and/or plug-ins installed by the user is less than a predetermined number.

依据本发明的另一个方面,提供了一种浏览器,包括:设置模块,适于设置并存储扩展和/或插件的推荐配置表,该推荐配置表中包含至少一个网页URL与推荐的扩展和/或插件之间的匹配项;获取模块,适于加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表;匹配模块,适于将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件;推荐模块,适于根据所述匹配模块的匹配结果,在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息;以及加载模块,适于接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。According to another aspect of the present invention, a browser is provided, including: a setting module, adapted to set and store a recommended configuration table for extensions and/or plug-ins, the recommended configuration table includes at least one web page URL and recommended extensions and /or matching items between plug-ins; the acquisition module is adapted to load the webpage requested by the user to obtain the URL of the webpage and the recommended configuration table; the matching module is adapted to combine the URL of the webpage with the recommended configuration table Match the matching items in the matching item to obtain the matching recommended browser extension and/or plug-in; the recommendation module is adapted to display a recommendation box on the browser side according to the matching result of the matching module, and load the recommended box in the recommendation box. The entry information of the matched recommended browser extension and/or plug-in; and the loading module, adapted to receive a selection instruction from the user for the matched recommended browser extension and/or plug-in, and load the selected recommended browser extension and/or plug-in Loaded to the browser side.

可选地,在本发明的实施例中,所述推荐配置表中的匹配项包括下列中的一个或多个:主机名匹配项,其表示某一类网站的URL地址的主机名与推荐浏览器扩展和/或插件的匹配;域名匹配项,其表示某一类特定网站的URL地址的域名与推荐浏览器扩展和/或插件匹配;和全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。Optionally, in an embodiment of the present invention, the matching items in the recommended configuration table include one or more of the following: a host name matching item, which represents the host name of a URL address of a certain type of website and the recommended browsing browser extensions and/or plug-ins; domain name matches, which represent a domain name match of a URL address of a particular website with recommended browser extensions and/or plug-ins; and full matches, which represent a URL address of a certain website The regular expression matches recommended browser extensions and/or plugins.

可选地,在本发明的实施例中,所述推荐模块在如下的一个或多个条件下,在浏览器侧显示推荐框:浏览器当前没有要推荐的浏览器扩展和/或插件;当天推荐框没有弹出;在用户所在的客户端记录在第一预定时间内访问该类URL至少N次,其中N是自然数;在当前浏览器的显示推荐框的位置没有其它推荐框出现;当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录;当前浏览器的推荐配置表中没有在第二预定时间内不提示安装推荐浏览器扩展和/或插件的记录;用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量。Optionally, in an embodiment of the present invention, the recommendation module displays a recommendation box on the browser side under one or more of the following conditions: the browser currently has no browser extensions and/or plug-ins to be recommended; The recommendation box does not pop up; the client where the user is located records at least N visits to this type of URL within the first predetermined time, where N is a natural number; no other recommendation box appears at the location where the recommendation box is displayed in the current browser; the current browser There is no record of not prompting to install the recommended browser extension and/or plug-in in the recommended configuration table of the current browser; there is no record of not prompting to install the recommended browser extension and/or plug-in within the second predetermined time in the recommended configuration table of the current browser ; The number of recommended browser extensions and/or plug-ins installed by the user is less than the predetermined number.

利用本发明,能够实现基于网页的浏览器扩展和/或插件的精准化推荐加载,可以实现个性化的弹窗推荐,有良好的用户体验。Utilizing the present invention, it is possible to realize precise recommendation loading of webpage-based browser extensions and/or plug-ins, realize personalized pop-up recommendation, and provide good user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。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 components. In the attached picture:

图1示出了根据本发明的实施例的一种加载浏览器扩展和/或插件的方法的流程图;FIG. 1 shows a flowchart of a method for loading browser extensions and/or plug-ins according to an embodiment of the present invention;

图2示出了本发明的推荐配置表的一个实例;Fig. 2 shows an example of the recommended configuration table of the present invention;

图3示出了在浏览器当前网页上显示的推荐框的一个例子;Fig. 3 shows an example of the recommendation box displayed on the current webpage of the browser;

图4示出了本发明的推荐配置表的另一个实例;以及Fig. 4 shows another example of the recommended configuration table of the present invention; and

图5示出了在浏览器当前网页上显示的推荐框的另一个例子;以及Fig. 5 shows another example of the recommendation box displayed on the current web page of the browser; and

图6示出了根据本发明的实施例的一种浏览器的结构示意图。Fig. 6 shows a schematic structural diagram of a browser according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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示出了根据本发明的实施例的加载浏览器扩展和/或插件的方法100的流程图。Fig. 1 shows a flowchart of a method 100 for loading browser extensions and/or plug-ins according to an embodiment of the present invention.

如图1所示,该方法100始于步骤S110,在步骤S110,在浏览器侧设置扩展和/或插件的推荐配置表,其中所述推荐配置表包含网页URL与推荐的扩展和/或插件之间的至少一个匹配项。As shown in Figure 1, the method 100 starts at step S110, and at step S110, a recommended configuration table for extensions and/or plug-ins is set on the browser side, wherein the recommended configuration table includes webpage URLs and recommended extensions and/or plug-ins At least one match between .

在本发明的实施例中,上述浏览器可以是火狐浏览器(Firefox)、谷歌浏览器(Google Chrome)、360安全浏览器等,当然可以理解的是,在本发明的实施例中并不限定浏览器的具体类型。In the embodiment of the present invention, the above-mentioned browser may be a Firefox browser (Firefox), a Google browser (Google Chrome), a 360 safe browser, etc., of course, it can be understood that it is not limited in the embodiment of the present invention The specific type of browser.

在本发明的实施例中,插件(Plugins)的功能就是将第三方提供的功能通过embed、object标签在页面中应用起来,比如Flash插件,Silverlight插件,Quicktime插件。扩展(Extensions)是能够给浏览器增加一些新功能的附加软件。在浏览器中,比如微薄扩展程序、邮件扩展程序、云盘扩展程序、游戏扩展程序等,这些扩展程序可以是增加一些浏览器上的窗口或者按钮,来扩展浏览器的功能。In the embodiment of the present invention, the function of the plug-in (Plugins) is to apply the functions provided by the third party in the page through the embed and object tags, such as Flash plug-ins, Silverlight plug-ins, and Quicktime plug-ins. Extensions are additional software that can add some new features to the browser. In the browser, such as Weibo extension program, email extension program, cloud disk extension program, game extension program, etc., these extension programs can add some windows or buttons on the browser to extend the functionality of the browser.

可选地,所述推荐配置表中所包含的匹配项可以包括下列中的一个或多个:Optionally, the matching items included in the recommended configuration table may include one or more of the following:

(1)主机名匹配项,其表示某一类网站的URL(统一资源定位符)地址的主机名与推荐浏览器扩展和/或插件匹配。(1) Hostname matching item, which indicates that the hostname of a URL (Uniform Resource Locator) address of a certain type of website matches the recommended browser extension and/or plug-in.

(2)域名匹配项,其表示某一类特定网站的的URL地址的域名与推荐浏览器扩展和/或插件匹配;和(2) domain name matches, which means that the domain name of the URL address of a certain type of website matches the recommended browser extension and/or plug-in; and

(3)全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。(3) Full match item, which means that the regular expression of the URL address of a certain website matches the recommended browser extension and/or plug-in.

图2示出了本发明的推荐配置表的一个实例。如图2所示,其给出了推荐配置表中一些网站的URL与推荐的扩展和/或插件之间的对应关系的例子。其中,“各大电商网站”的URL地址的域名对应于推荐浏览器扩展和/或插件“比价插件”,其采用域名匹配项的匹配规则。即,当用户访问了推荐配置表中所列举的各大电商网站中的一个或多个电商网站的情况下,浏览器会向用户主动推荐“比价插件”组件。这时,主要是通过检测用户访问的网站URL地址的域名来实现的。Fig. 2 shows an example of the recommended configuration table of the present invention. As shown in FIG. 2 , it gives an example of the corresponding relationship between URLs of some websites and recommended extensions and/or plug-ins in the recommended configuration table. Wherein, the domain name of the URL address of the "major e-commerce websites" corresponds to the recommended browser extension and/or plug-in "Price Comparison Plug-in", which adopts the matching rules of domain name matching items. That is, when the user visits one or more of the major e-commerce websites listed in the recommended configuration table, the browser will actively recommend the "price comparison plug-in" component to the user. At this time, it is mainly realized by detecting the domain name of the URL address of the website visited by the user.

在图2中还示出了“12306”的URL地址对应于推荐浏览器扩展和/或插件“抢票王”,其采用全匹配项的匹配规则。即,当用户通过网上购买火车票时,会将用户访问的网站URL地址与推荐配置表中的各匹配项进行比照,当发现用户访问了“12306-铁道部火车票网上订票,唯一官网”这一网站时,会通过正则表达式的匹配方式将用户访问的网站的URL的正则表达式与推荐配置表中的URL地址的正则表达式进行匹配,如果匹配,则浏览器向用户推荐扩展组件“抢票王”。It is also shown in FIG. 2 that the URL address of "12306" corresponds to the recommended browser extension and/or plug-in "Ticket Grabbing King", which adopts the matching rule of all matching items. That is, when a user purchases a train ticket online, the URL address of the website visited by the user will be compared with the matching items in the recommended configuration table. When selecting a website, the regular expression of the URL of the website visited by the user will be matched with the regular expression of the URL address in the recommended configuration table through the regular expression matching method. If it matches, the browser will recommend the extension component to the user. "Ticket King".

再如图2中所示,在推荐配置表中列出如下主机名:“mail.163.com”、“mail.qq.com”、“mail.126.com”、“mail.sina.com.cn”、“mail.google.com”、“mail.10086.com”、“mail.sohu.com”、以及“mail.sogou.com”,这些主机名对应的推荐浏览器扩展和/或插件为“360邮件通”。当用户访问推荐配置表中所列的任何一个邮箱服务器URL地址时,则浏览器会向用户推荐扩展组件“360邮件通”。As shown in Figure 2, the following host names are listed in the recommended configuration table: "mail.163.com", "mail.qq.com", "mail.126.com", "mail.sina.com. cn", "mail.google.com", "mail.10086.com", "mail.sohu.com", and "mail.sogou.com", the recommended browser extensions and/or plug-ins for these hostnames are "360 mail pass". When the user visits any URL address of the mailbox server listed in the recommended configuration table, the browser will recommend the extension component "360 Mail Communication" to the user.

通过在浏览器侧设置扩展和/或插件的推荐配置表,使一些网站与一些推荐的扩展和/或插件建立起对应关系,从而浏览器可以根据用户访问的网站而有选择地向用户推荐相关的扩展和/或插件,这通常会符合用户的喜好或者需要,不会造成对用户的干扰,有良好用户体验。By setting the recommended configuration table of extensions and/or plug-ins on the browser side, some websites can be associated with some recommended extensions and/or plug-ins, so that the browser can selectively recommend relevant extensions and/or plug-ins to users according to the websites they visit. Extensions and/or plug-ins, which usually meet the user's preferences or needs, will not cause interference to the user, and have a good user experience.

随后,在步骤S120,加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表。例如当用户请求访问“京东商场”时,浏览器会加载“京东商场”的网页,获取“京东商场”的URL http://www.jd.com/,另外,还获取在步骤S110中设置的推荐配置表。Subsequently, in step S120, the webpage requested by the user is loaded, and the URL of the webpage and the recommended configuration table are acquired. For example, when the user requests to visit "Jingdong Shopping Mall", the browser will load the webpage of "Jingdong Shopping Mall" to obtain the URL http://www.jd.com/ of "Jingdong Shopping Mall", and also obtain the URL set in step S110. Recommended configuration table.

接下来,在步骤S130,将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件。以前面所述的例子为例,将用户访问的“京东商场”的URL http://www.jd.com/与图2中的推荐配置表中的匹配项进行匹配,先对用户访问的网页的URL进行检测分析。Next, in step S130, the URL of the web page is matched with matching items in the recommended configuration table to obtain matching recommended browser extensions and/or plug-ins. Taking the example mentioned above as an example, match the URL http://www.jd.com/ of the "Jingdong Mall" visited by the user with the matching items in the recommended configuration table in Figure 2, and first check the webpage visited by the user URL for detection and analysis.

URL由三部分组成:协议类型,主机名(hostname),和路径及文件名。其中协议类型是指指定的传输协议,例如,ftp(文件传送协议)、http(超文本传送协议)、Telnet协议等等;主机名(hostname)是指存放资源的服务器的域名系统(DNS)主机名或IP地址;路径由零或多个“/”符号隔开的字符串,一般用来表示主机上的一个目录或文件地址。例如在网页的URL地址http://netlab.nankai.edu.cn/student/network.html中,其中http表示协议类型,netlab.nankai.edu.cn是主机名,student/network.html表示路径及文件名。URL consists of three parts: protocol type, host name (hostname), and path and file name. The protocol type refers to the specified transmission protocol, for example, ftp (file transfer protocol), http (hypertext transfer protocol), Telnet protocol, etc.; the host name (hostname) refers to the domain name system (DNS) host of the server storing resources name or IP address; the path is a string separated by zero or more "/" symbols, generally used to indicate a directory or file address on the host. For example, in the URL address of the webpage http://netlab.nankai.edu.cn/student/network.html , where http indicates the protocol type, netlab.nankai.edu.cn is the host name, student/network.html indicates the path and file name.

根据用户访问的网页的URL的组成,可以对URL进行不同检测,例如,对URL的主机名进行检测、对URL的域名进行检测、或者通过正则表达式对URL进行检测,并根据检测结果与推荐配置表中的各匹配项进行匹配。例如,对用户访问的“京东商场”的URLhttp://www.jd.com/进行检测,并与图2中的推荐配置表进行匹配,得到其域名与推荐配置表中的“各大电商网站”中的一个网站的域名匹配。从图2中的推荐配置表可知,与“各大电商网站”对应的推荐的扩展和/或插件为“比价插件”,由此获得与用户访问的的“京东商场”的URL匹配的推荐浏览器扩展和/或插件“比价插件”。According to the composition of the URL of the web page visited by the user, different detections can be performed on the URL, for example, detection of the host name of the URL, detection of the domain name of the URL, or detection of the URL through regular expressions, and according to the detection results and recommendations Each matching item in the configuration table is matched. For example, the URL http://www.jd.com/ of "Jingdong Shopping Mall" accessed by the user is detected, and matched with the recommended configuration table in Figure 2, and its domain name and the "major e-commerce site" in the recommended configuration table are obtained. The domain name of a website in "Business Website". From the recommended configuration table in Figure 2, it can be seen that the recommended extensions and/or plug-ins corresponding to the "major e-commerce websites" are "price comparison plug-ins", thus obtaining recommendations that match the URL of the "Jingdong Mall" visited by the user Browser extensions and/or plug-ins "Price Comparison Plug-ins".

接下来,在步骤S140,在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息。具体地,当在步骤S130中获得了匹配的推荐浏览器扩展和/或插件之后,在浏览器侧会显示一个推荐框,该推荐框可以位于网页的工具栏的下方,也可以是一个弹出的窗口,或者以其它的形式显示于用户访问的网页上。在该推荐框中,加载所匹配的推荐浏览器扩展和/或插件的入口信息,用户通过点击该入口信息,即可以链接到该推荐浏览器扩展和/或插件的地址,选择是否进行安装。如图3所示,推荐框位于网页工具栏的下方、且以类似工具栏的形式显示,其中显示了推荐的插件“adblock”(一种广告过滤器)的入口信息,即在该推荐框中显示的按钮“立刻安装adblock”。Next, in step S140, a recommendation box is displayed on the browser side, and the matching recommended browser extension and/or plug-in entry information is loaded into the recommendation box. Specifically, after the matching recommended browser extension and/or plug-in is obtained in step S130, a recommendation box will be displayed on the browser side, and the recommendation box can be located at the bottom of the toolbar of the webpage, or it can be a pop-up window, or displayed in other forms on the webpage visited by the user. In the recommendation box, the entry information of the matched recommended browser extension and/or plug-in is loaded, and the user can click on the entry information to link to the address of the recommended browser extension and/or plug-in, and choose whether to install it. As shown in Figure 3, the recommendation box is located at the bottom of the web page toolbar and displayed in a toolbar-like form, which displays the entry information of the recommended plug-in "adblock" (an advertisement filter), that is, in the recommendation box The button "Install adblock now" is displayed.

可选地,当有多个浏览器扩展和/或插件要向用户推荐时,在执行步骤S140之前,还可以执行步骤:对所述多个浏览器扩展和/或插件进行优先级设定,以避免在浏览器侧向用户推荐时产生冲突。可选地,各推荐的浏览器扩展和/或插件的优先级可以作为推荐配置表中的一个记录项而记录在其中。Optionally, when there are multiple browser extensions and/or plug-ins to be recommended to the user, before performing step S140, a step may also be performed: prioritizing the multiple browser extensions and/or plug-ins, In order to avoid conflicts when the browser recommends to the user. Optionally, the priority of each recommended browser extension and/or plug-in may be recorded as a record item in the recommended configuration table.

可选地,为了使得在浏览器侧显示的推荐框尽可能少地影响用户的良好体验,避免不同推荐框的显示产生冲突,在浏览器侧显示推荐框前,考虑如下的一个或多个条件下:Optionally, in order to make the recommendation box displayed on the browser side affect the user's good experience as little as possible and avoid conflicts between the display of different recommendation boxes, one or more of the following conditions should be considered before displaying the recommendation box on the browser side Down:

A.当前浏览器没有该要推荐的浏览器扩展和/或插件。设置该条件,可以避免同一扩展和/或插件被重复提醒。A. The current browser does not have the recommended browser extensions and/or plug-ins. Setting this condition can prevent the same extension and/or plug-in from being reminded repeatedly.

B.当天该推荐框没有弹出。设置该条件,可以避免同一推荐框向该用户一天内推荐多次。B. The recommendation box did not pop up that day. Setting this condition can prevent the same recommendation box from recommending to the user multiple times in one day.

C.在用户所在的客户端记录有在第一预定时间(例如7日)内访问该类URL至少N次(例如3次),其中N是自然数。通过该条件,可以知道用户对该类URL的感兴趣程度。C. It is recorded in the client where the user resides that the URL of this type has been accessed at least N times (eg 3 times) within the first predetermined time period (eg 7 days), where N is a natural number. Through this condition, it can be known how interested the user is in this type of URL.

D.在当前浏览器的显示推荐框的位置没有其它推荐框(例如默认浏览器的推荐框、恢复历史的推荐框等等)出现。设置该条件是为了避免与其它的扩展/或插件的推荐框出现冲突。当有多个推荐框可以被弹出时,优先级高的扩展/或插件的推荐框首先被显示。D. There are no other recommendation boxes (such as the recommendation box of the default browser, the recommendation box of restoring history, etc.) appearing in the position where the recommendation box is displayed in the current browser. This condition is set to avoid conflicts with recommendation boxes of other extensions and/or plugins. When there are multiple recommendation boxes that can be popped up, the recommendation boxes of extensions/plugins with higher priority are displayed first.

E.当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录。如果用户曾经对该推荐浏览器扩展和/或插件的推荐框选择“不再提示”,则说明该用户对该推荐浏览器扩展和/或插件不感兴趣,因此,以后可以不再向该用户推荐该浏览器扩展和/或插件,以免对用户造成干扰。如果用户未曾选择过“不再提示”,则可以向该用户显示该推荐浏览器扩展和/或插件的推荐框。E. There is no record in the recommended configuration table of the current browser that no longer prompts to install the recommended browser extension and/or plug-in. If the user has selected "Don't Prompt Again" in the recommendation box of the recommended browser extension and/or plug-in, it means that the user is not interested in the recommended browser extension and/or plug-in, so the user can no longer recommend it to the user in the future browser extensions and/or plug-ins so as not to cause disruption to the user. If the user has not selected "don't prompt again," the recommendation box for the recommended browser extension and/or plug-in may be displayed to the user.

F.当前浏览器的推荐配置表中没有在第二预定时间(例如一个月)内不提示安装推荐浏览器扩展和/或插件的记录。该条件的设置与条件F的功能类似。F. There is no record in the recommended configuration table of the current browser that there is no prompt to install the recommended browser extension and/or plug-in within the second predetermined time (for example, one month). The setting of this condition is similar to the function of condition F.

G.用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量(例如10个)。该条件的设置可以在一定程度上知道该用户是否对推荐浏览器扩展和/或插件感兴趣。如果向该用户推荐了很多浏览器扩展和/或插件,但是该用户大部分都没有安装,则说明该用户对推荐浏览器扩展和/或插件不感兴趣。另一方面,通过该条件还可以知道该用户安装的浏览器扩展和/或插件并不多,还可以向该用户推荐更多的浏览器扩展和/或插件。G. The number of recommended browser extensions and/or plug-ins installed by the user is less than a predetermined number (eg, 10). The setting of this condition can know to a certain extent whether the user is interested in recommending browser extensions and/or plug-ins. If many browser extensions and/or plug-ins are recommended to the user, but most of them are not installed by the user, it means that the user is not interested in recommending browser extensions and/or plug-ins. On the other hand, based on the condition, it can also be known that the user has not installed many browser extensions and/or plug-ins, and more browser extensions and/or plug-ins can be recommended to the user.

在本发明的实施例中,可以设置在满足上述7个条件或其中的一个或几个条件的情况下,才在浏览器侧显示推荐框。In the embodiment of the present invention, it can be set that the recommendation box is displayed on the browser side only when the above seven conditions or one or more conditions are met.

另外,与上述这些条件相关的信息可以记录在推荐配置表中,如表4所示,相比于表2增加了记录项:次数、扩展提示状态、当前浏览器扩展数。其中记录项“次数”,其以天为单位,记录一天中将对应的扩展和/或插件向用户推荐的次数,每7天刷新重计,该记录项可以对应于上述的条件D。记录项“扩展提示状态”,其可以包括“不再提示”(可以包含计数)、“待提示”和“已提示”的状态,用于记录对应的推荐的扩展和/或插件是否已经向用户提示过了,以及在显示“不再提示”状态时,可以同时显示之前用户点击“不再提示”按钮的次数,例如,可以设置当用户点击“不再提示”超过3次时记录当时时间,一个月以内不再提示,而在一个月后再重新计数。记录项“扩展提示状态”可以对应于前面的条件F和条件G。记录项“当前浏览器扩展数”可以用于记录当前浏览器已经安装的推荐的扩展和/或插件的数量,该记录项可以对应于前的条件H。表4的推荐配置表只给出一个例子,实际上,可以根据需要在推荐配置表再加入其它的记录项,比如弹窗类型、优先级(用于记录每个推荐的扩展和/或插件的优先级)等。In addition, the information related to the above conditions can be recorded in the recommended configuration table, as shown in Table 4, compared with Table 2, the record items are added: times, extension prompt status, and current number of browser extensions. The record item "times" records the number of times the corresponding extension and/or plug-in is recommended to the user in a day in units of days, and is refreshed and recalculated every 7 days. This record item may correspond to the above condition D. The record item "Extended Prompt Status", which may include the states of "No Prompt" (can include count), "Waiting for Prompt" and "Prompted", is used to record whether the corresponding recommended extension and/or plug-in has been sent to the user After the prompt, and when the "Never Prompt" status is displayed, the number of times the previous user clicked the "Never Prompt" button can be displayed at the same time. For example, it can be set to record the current time when the user clicks "Never Prompt" more than 3 times. No more reminders within one month, and restart counting after one month. The record item "Extended Prompt State" may correspond to the preceding condition F and condition G. The record item "Number of current browser extensions" may be used to record the number of recommended extensions and/or plug-ins installed in the current browser, and this record item may correspond to the previous condition H. The recommended configuration table in Table 4 only gives an example. In fact, other record items can be added to the recommended configuration table as needed, such as pop-up window type, priority (used to record the name of each recommended extension and/or plug-in priority), etc.

另外,在根据本发明的方法的上述实施例中,可选地,还可以包括步骤:每隔一段时间更新一次所述推荐配置表。由表4所示可知,在推荐配置表中的一些记录项的内容会随着时间而变化,另外,向用户推荐的扩展和/或插件也可能会增加,因此,每隔一预定时间可以更新一次所述推荐配置表,例如,每隔6小时获取一次推荐配置表。In addition, in the above-mentioned embodiment of the method according to the present invention, optionally, a step may also be included: updating the recommended configuration table at intervals. As can be seen from Table 4, the content of some record items in the recommended configuration table will change with time, and in addition, the extensions and/or plug-ins recommended to users may also increase, so it can be updated every predetermined time The recommended configuration table is obtained once, for example, the recommended configuration table is obtained every 6 hours.

接下来,在步骤S170,接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。当在浏览器的当前网页页面上显示了推荐框时,例如如图3所示的推荐框,用户根据自己的需要或者喜好可以选择是否安装,当用户点击了按钮“立刻安装adblock”,则可以将该插件“adblock”加载到浏览器侧。Next, in step S170, a user's selection instruction for the matched recommended browser extension and/or plug-in is received, and the selected recommended browser extension and/or plug-in is loaded to the browser side. When the recommendation box is displayed on the current web page of the browser, such as the recommendation box shown in Figure 3, the user can choose whether to install it according to his needs or preferences. When the user clicks the button "Install adblock immediately", then Load the plug-in "adblock" to the browser side.

另外,可选地,在前面所述的步骤S130之后,还可以包括如下步骤S131。在步骤S131,向浏览器对应的服务器侧发起请求以获取该匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,其中所述请求中至少包括所述用户访问的网页URL、所述匹配到的推荐浏览器扩展和/或插件、以及使用所述匹配到的推荐浏览器扩展和/或插件的网页中的内容信息。通过请求中所包含的信息,可以需要向请求访问哪个网页的用户推荐浏览器扩展和/或插件,可以定位到所述匹配到的推荐浏览器扩展和/或插件所在的服务器的位置,并从所述服务器获得所述匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,该网络侧反馈信息可以包括使用所述匹配到的推荐浏览器扩展和/或插件的实例描述信息等等。例如,当匹配到的推荐浏览器扩展和/或插件是“比价的购物袋”的扩展时,则到放置该“比价的购物袋”的扩展的服务器获取使用该扩展的一些实例展现信息,例如,某产品当前价格3288元,并告知这里能便宜100多。相应地,在步骤S140中,在所述推荐框中显示的内容可以包括所述推荐浏览器扩展和/或插件的安装按钮(即对应于其入口信息)、所述推荐浏览器扩展和/或插件的网络侧反馈信息、和/或所述推荐浏览器扩展和/或插件的描述信息。例如,如图5所示,当匹配到的推荐浏览器扩展和/或插件是“比价的购物袋”的扩展时,在推荐框中可以显示关于“比价的购物袋”的扩展的描述性信息:“钱钱钱,购物袋帮你网购省钱,全网比价,不坑爹”,从该描述可以让用户知道该扩展的功能。另外,还可以显示获得的网络侧反馈信息,图5所示的推荐框中给出了一个从服务器侧获得的实例信息:某产品当前价格3288元,并告知这里能便宜100多,从而说明“比价的购物袋”这个扩展很好用,从而进一步向用户展示该扩展非常好用。In addition, optionally, after the aforementioned step S130, the following step S131 may also be included. In step S131, a request is initiated to the server side corresponding to the browser to obtain the network-side feedback information of the matched recommended browser extension and/or plug-in, wherein the request includes at least the URL of the webpage visited by the user, the The matched recommended browser extension and/or plug-in, and the content information in the webpage using the matched recommended browser extension and/or plug-in. According to the information contained in the request, it may be necessary to recommend browser extensions and/or plug-ins to the user requesting to visit which webpage, and the location of the server where the matched recommended browser extensions and/or plug-ins are located may be located, and from The server obtains the network-side feedback information of the matched recommended browser extension and/or plug-in, and the network-side feedback information may include instance description information using the matched recommended browser extension and/or plug-in, etc. . For example, when the matched recommended browser extension and/or plug-in is an extension of "Price Comparison Shopping Bag", then the server where the "Price Comparison Shopping Bag" extension is placed obtains some instance display information using the extension, such as , the current price of a certain product is 3288 yuan, and told that it can be more than 100 cheaper here. Correspondingly, in step S140, the content displayed in the recommendation box may include the installation button of the recommended browser extension and/or plug-in (that is, corresponding to its entry information), the recommended browser extension and/or Feedback information on the network side of the plug-in, and/or description information of the recommended browser extension and/or plug-in. For example, as shown in FIG. 5 , when the matched recommended browser extension and/or plug-in is an extension of "Price Comparison Shopping Bag", descriptive information about the extension of "Price Comparison Shopping Bag" may be displayed in the recommendation box : "Money, money, shopping bag to help you save money in online shopping, compare prices on the whole network, no cheating", from this description, users can know the function of this extension. In addition, the feedback information obtained from the network side can also be displayed. The recommendation box shown in Figure 5 shows an example information obtained from the server side: the current price of a product is 3288 yuan, and it is informed that it can be more than 100 cheaper here, thus explaining " Compare Prices Shopping Bags" extension works well to further show users how useful the extension is.

另外,可选地,在所述推荐框中还可以包含表示不再提示该推荐浏览器扩展和/或插件的“不再提示”按钮和表示推荐其它浏览器扩展和/或插件的“显示其它浏览器扩展和/或插件”的按钮中的一个或二者。为了避免多次向用户推荐其不感兴趣的浏览器扩展和/或插件,可以在推荐框中添加一个按钮“不再提示”,以供用户进行选择点击,如表4所示。另外,在该推荐框中虽然不能同时显示多个推荐浏览器扩展和/或插件,但是可以设置一个按钮“显示其它浏览器扩展和/或插件”,而将其它推荐的浏览器扩展和/或插件以列表的形式列在其中,供用户点击选择,如表4所示。其中在所述列表中所列的多个推荐的浏览器扩展和/或插件可以按预先设定的优先级顺序进行排列,该优先级顺序可以根据该浏览器扩展和/或插件的被点击安装的次数的多少而设定,也可以根据其它标准而设定。In addition, optionally, the recommendation box may also include a "Never Prompt" button indicating that the recommended browser extension and/or plug-in is no longer prompted, and a "Show Other" button indicating that other browser extensions and/or plug-ins are recommended. One or both of the buttons for browser extensions and/or plug-ins. In order to avoid repeatedly recommending browser extensions and/or plug-ins that the user is not interested in, a button "don't prompt again" can be added in the recommendation box for the user to choose to click, as shown in Table 4. In addition, although multiple recommended browser extensions and/or plug-ins cannot be displayed at the same time in the recommendation box, a button "Show other browser extensions and/or plug-ins" can be set to display other recommended browser extensions and/or plug-ins Plug-ins are listed in the form of a list for users to click and select, as shown in Table 4. The multiple recommended browser extensions and/or plug-ins listed in the list may be arranged in a preset priority order, and the priority order may be installed according to the clicked installation of the browser extensions and/or plug-ins. It can be set according to the number of times, or it can be set according to other standards.

另外,可选地,在本发明的上述实施例中,还可以包括如下步骤S150和S160。其中,在步骤S150,浏览器渲染进程获取当前网页的背景图片,并接收浏览器主程序发送来的推荐框的用户界面的图片显示区域的位置信息和尺寸信息,将当前网页的背景图片中属于推荐框的用户界面的图片显示区域的图片信息发送给浏览器主程序。接下来,在步骤S160,浏览器主程序接收浏览器渲染进程返回的图片信息在推荐框的用户界面的图片显示区域进行其背景图片的渲染。通过采用步骤S150和S160,可以使得在浏览器的当前网页上显示的推荐框的背景与当前网页的背景一致,外观比较美观,不会显得比较突兀,与网页本身不协调。可选地,步骤S150和S160也可以步骤S140之前实施。In addition, optionally, in the above embodiments of the present invention, the following steps S150 and S160 may also be included. Wherein, in step S150, the browser rendering process obtains the background picture of the current web page, and receives the position information and size information of the picture display area of the user interface of the recommendation box sent by the main program of the browser, and converts the background picture of the current web page into the The picture information of the picture display area of the user interface of the recommendation box is sent to the browser main program. Next, in step S160, the browser main program receives the image information returned by the browser rendering process to render the background image in the image display area of the user interface of the recommendation box. By adopting steps S150 and S160, the background of the recommendation box displayed on the current webpage of the browser can be consistent with the background of the current webpage, and the appearance is more beautiful, and it will not appear abrupt and inconsistent with the webpage itself. Optionally, steps S150 and S160 may also be implemented before step S140.

利用本发明的加载浏览器扩展和/或插件的方法,可以实现基于网页的浏览器扩展的精准地推荐,实现个性化的弹窗的展现。By using the method for loading browser extensions and/or plug-ins of the present invention, accurate recommendation of browser extensions based on webpages can be realized, and the display of personalized pop-up windows can be realized.

另外,本发明还提供一种浏览器,如图6所示,其示出了根据本发明的实施例的浏览器600,其包括:设置模块610、获取模块620、匹配模块630、推荐模块640、和加载模块650。In addition, the present invention also provides a browser, as shown in FIG. 6 , which shows a browser 600 according to an embodiment of the present invention, which includes: a setting module 610, an acquisition module 620, a matching module 630, and a recommendation module 640 , and load module 650.

其中,设置模块610适于在浏览器侧设置并存储扩展和/或插件的推荐配置表,该推荐配置表中包含至少一个网页URL与推荐的扩展和/或插件之间的匹配项。可选地,所述推荐配置表中的匹配项可以包括下列中的一个或多个:Wherein, the setting module 610 is adapted to set and store a recommended configuration table of extensions and/or plug-ins on the browser side, and the recommended configuration table includes matching items between at least one web page URL and the recommended extensions and/or plug-ins. Optionally, the matching items in the recommended configuration table may include one or more of the following:

(1)主机名匹配项,其表示某一类网站的URL地址的主机名与推荐浏览器扩展和/或插件的匹配。(1) Host name matching item, which indicates the matching between the host name of the URL address of a certain type of website and the recommended browser extension and/or plug-in.

(2)域名匹配项,其表示某一类特定网站的URL地址的域名与推荐浏览器扩展和/或插件匹配;和(2) a domain name match, which indicates that the domain name of the URL address of a particular type of website matches the recommended browser extension and/or plug-in; and

(3)全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。(3) Full match item, which means that the regular expression of the URL address of a certain website matches the recommended browser extension and/or plug-in.

图2示出了本发明的推荐配置表的一个实例,具体参见前面关于方法的步骤S110中的描述。为了简洁起见,这里不再重复描述。Fig. 2 shows an example of the recommended configuration table of the present invention, for details, refer to the description in step S110 of the method above. For the sake of brevity, the description will not be repeated here.

通过在浏览器侧设置扩展和/或插件的推荐配置表,使一些网站与一些推荐的扩展和/或插件建立起对应关系,从而浏览器可以根据用户访问的网站而有选择地向用户推荐相关的扩展和/或插件,这通常会符合用户的喜好或者需要,不会造成对用户的干扰,有良好用户体验。By setting the recommended configuration table of extensions and/or plug-ins on the browser side, some websites can be associated with some recommended extensions and/or plug-ins, so that the browser can selectively recommend relevant extensions and/or plug-ins to users according to the websites they visit. Extensions and/or plug-ins, which usually meet the user's preferences or needs, will not cause interference to the user, and have a good user experience.

获取模块620适于加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表。The acquiring module 620 is adapted to load the webpage requested by the user, and acquire the URL of the webpage and the recommended configuration table.

匹配模块630适于将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件。匹配模块630在匹配过程中,会根据对用户访问的网页的URL进行不同的检测,如前所述,例如,对URL的主机名进行检测、对URL的域名进行检测、或者通过正则表达式对URL进行检测,然后根据检测结果,与推荐配置表中的各匹配项进行匹配。具体描述参见前面在步骤S130中的描述。The matching module 630 is adapted to match the web page URL with matching items in the recommended configuration table to obtain matching recommended browser extensions and/or plug-ins. During the matching process, the matching module 630 will perform different detections according to the URL of the webpage accessed by the user. The URL is detected, and then according to the detection result, it is matched with each matching item in the recommended configuration table. For specific description, refer to the description in step S130 above.

推荐模块640适于根据匹配模块630所得到的匹配结果,在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息。具体地,在匹配模块630获得匹配的推荐浏览器扩展和/或插件时,推荐模块640会在浏览器侧显示一个推荐框,该推荐框可以位于网页的工具栏的下方,也可以是一个弹出的窗口,或者以其它的形式显示于用户访问的网页上。在该推荐框中,加载所匹配的推荐浏览器扩展和/或插件的入口信息,用户通过点击该入口信息,即可以链接到该推荐浏览器扩展和/或插件的地址,选择是否进行安装。如图3所示,推荐框位于网页工具栏的下方、且以类似工具栏的形式显示,其中显示了推荐的插件“adblock”(一种广告过滤器)的入口信息,即在该推荐框中显示的按钮“立刻安装adblock”。The recommendation module 640 is adapted to display a recommendation box on the browser side according to the matching result obtained by the matching module 630, and load the matching recommended browser extension and/or plug-in entry information into the recommendation box. Specifically, when the matching module 630 obtains a matching recommended browser extension and/or plug-in, the recommendation module 640 will display a recommendation box on the browser side. window, or displayed in other forms on the web pages visited by users. In the recommendation box, the entry information of the matched recommended browser extension and/or plug-in is loaded, and the user can click on the entry information to link to the address of the recommended browser extension and/or plug-in, and choose whether to install it. As shown in Figure 3, the recommendation box is located at the bottom of the web page toolbar and displayed in a toolbar-like form, which displays the entry information of the recommended plug-in "adblock" (an advertisement filter), that is, in the recommendation box The button "Install adblock now" is displayed.

另外,可选地,本发明的浏览器还可以包括优先级设定模块。该优先级设定模块适于当匹配模块630获得多个匹配的推荐浏览器扩展和/或插件时,对所述多个匹配的推荐浏览器扩展和/或插件进行优先级设定,以避免在浏览器侧向用户推荐时产生冲突。可选地,也可以在推荐配置表中设置一个记录项,设定不同的推荐浏览器扩展和/或插件的优先级,如前面的表4中所示。相应地,推荐模块640依据优先级设定模块对所述多个匹配的推荐浏览器扩展和/或插件的优先级设定,在浏览器侧的推荐框中显示优先级最高的推荐浏览器扩展和/或插件。In addition, optionally, the browser of the present invention may also include a priority setting module. The priority setting module is adapted to perform priority setting on the multiple matching recommended browser extensions and/or plug-ins when the matching module 630 obtains multiple matching recommended browser extensions and/or plug-ins, so as to avoid A conflict arises when the browser side recommends to the user. Optionally, a record item may also be set in the recommended configuration table to set priorities of different recommended browser extensions and/or plug-ins, as shown in Table 4 above. Correspondingly, the recommendation module 640 displays the recommended browser extension with the highest priority in the recommendation box on the browser side according to the priority setting of the multiple matching recommended browser extensions and/or plug-ins by the priority setting module and/or plugins.

可选地,为了使得在浏览器侧显示的推荐框尽可能少地影响用户的良好体验,避免不同推荐框的显示产生冲突,推荐模块640在浏览器侧显示推荐框前,考虑如下的一个或多个条件下:Optionally, in order to make the recommendation box displayed on the browser side affect the user's good experience as little as possible, and to avoid conflicts in the display of different recommendation boxes, the recommendation module 640 considers one or more of the following before displaying the recommendation box on the browser side Under multiple conditions:

A.当前浏览器没有该要推荐的浏览器扩展和/或插件。设置该条件,可以避免同一扩展和/或插件被重复提醒。A. The current browser does not have the recommended browser extensions and/or plug-ins. Setting this condition can prevent the same extension and/or plug-in from being reminded repeatedly.

B.当天该推荐框没有弹出。设置该条件,可以避免同一推荐框向该用户一天内推荐多次。B. The recommendation box did not pop up that day. Setting this condition can prevent the same recommendation box from recommending to the user multiple times in one day.

C.在用户所在的客户端记录有在第一预定时间(例如7日)内访问该类URL至少N次(例如3次),其中N是自然数。通过该条件,可以知道用户对该类URL的感兴趣程度。C. It is recorded in the client where the user resides that the URL of this type has been accessed at least N times (eg 3 times) within the first predetermined time period (eg 7 days), where N is a natural number. Through this condition, it can be known how interested the user is in this type of URL.

D.在当前浏览器的显示推荐框的位置没有其它推荐框(例如默认浏览器的推荐框、恢复历史的推荐框等等)出现。设置该条件是为了避免与其它的扩展/或插件的推荐框出现冲突。当有多个推荐框可以被弹出时,优先级高的扩展/或插件的推荐框首先被显示。D. There are no other recommendation boxes (such as the recommendation box of the default browser, the recommendation box of restoring history, etc.) appearing in the position where the recommendation box is displayed in the current browser. This condition is set to avoid conflicts with recommendation boxes of other extensions and/or plugins. When there are multiple recommendation boxes that can be popped up, the recommendation boxes of extensions/plugins with higher priority are displayed first.

E.当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录。如果用户曾经对该推荐浏览器扩展和/或插件的推荐框选择“不再提示”,则说明该用户对该推荐浏览器扩展和/或插件不感兴趣,因此,以后可以不再向该用户推荐该浏览器扩展和/或插件,以免对用户造成干扰。如果用户未曾选择过“不再提示”,则可以向该用户显示该推荐浏览器扩展和/或插件的推荐框。E. There is no record in the recommended configuration table of the current browser that no longer prompts to install the recommended browser extension and/or plug-in. If the user has selected "Don't Prompt Again" in the recommendation box of the recommended browser extension and/or plug-in, it means that the user is not interested in the recommended browser extension and/or plug-in, so the user can no longer recommend it to the user in the future browser extensions and/or plug-ins so as not to cause disruption to the user. If the user has not selected "don't prompt again," the recommendation box for the recommended browser extension and/or plug-in may be displayed to the user.

F.当前浏览器的推荐配置表中没有在第二预定时间(例如一个月)内不提示安装推荐浏览器扩展和/或插件的记录。该条件的设置与条件F的功能类似。F. There is no record in the recommended configuration table of the current browser that there is no prompt to install the recommended browser extension and/or plug-in within the second predetermined time (for example, one month). The setting of this condition is similar to the function of condition F.

G.用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量(例如10个)。该条件的设置可以在一定程度上知道该用户是否对推荐浏览器扩展和/或插件感兴趣。如果向该用户推荐了很多浏览器扩展和/或插件,但是该用户大部分都没有安装,则说明该用户对推荐浏览器扩展和/或插件不感兴趣。另一方面,通过该条件还可以知道该用户安装的浏览器扩展和/或插件并不多,还可以向该用户推荐更多的浏览器扩展和/或插件。G. The number of recommended browser extensions and/or plug-ins installed by the user is less than a predetermined number (eg, 10). The setting of this condition can know to a certain extent whether the user is interested in recommending browser extensions and/or plug-ins. If many browser extensions and/or plug-ins are recommended to the user, but most of them are not installed by the user, it means that the user is not interested in recommending browser extensions and/or plug-ins. On the other hand, based on the condition, it can also be known that the user has not installed many browser extensions and/or plug-ins, and more browser extensions and/or plug-ins can be recommended to the user.

在本发明的实施例中,推荐模块640可以在满足上述7个条件或其中的一个或几个条件的情况下,才在浏览器侧显示推荐框。In the embodiment of the present invention, the recommendation module 640 may display the recommendation box on the browser side only when the above seven conditions or one or several conditions are met.

另外,与上述这些条件相关的信息可以记录在推荐配置表中,如表4所示,相比于表2增加了记录项:次数、扩展提示状态、当前浏览器扩展数。关于表4的具体解释参见前面描述的方法中关于表4的具体解释说明,为了简洁起见,这里就不再重复描述。In addition, the information related to the above conditions can be recorded in the recommended configuration table, as shown in Table 4, compared with Table 2, the record items are added: times, extension prompt status, and current number of browser extensions. For the specific explanation of Table 4, please refer to the specific explanation of Table 4 in the method described above, and for the sake of brevity, the description will not be repeated here.

另外,可选地,设置模块610可以每隔一预定时间更新一次所述推荐配置表。由表4所示的推荐配置表可知,其中的一些记录项的内容可能会随时间而变化,另外,向用户推荐的扩展和/或插件也可能会增加,因此,每隔一预定时间可以更新一次所述推荐配置表,例如,每隔6小时获取一次推荐配置表。这里的预定时间可以根据需要而设定。In addition, optionally, the setting module 610 may update the recommended configuration table every predetermined time. From the recommended configuration table shown in Table 4, it can be seen that the content of some of the record items may change over time, and the extensions and/or plug-ins recommended to users may also increase, so they can be updated every predetermined time The recommended configuration table is obtained once, for example, the recommended configuration table is obtained every 6 hours. The predetermined time here can be set according to needs.

加载模块650适于接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。当推荐模块640在浏览器的当前网页页面上显示了推荐框时,例如如图3所示的推荐框,用户根据自己的需要或者喜好可以选择是否安装,当用户点击了按钮“立刻安装adblock”,则加载模块650可以将该插件“adblock”加载到浏览器侧。The loading module 650 is adapted to receive a user's selection instruction for a matched recommended browser extension and/or plug-in, and load the selected recommended browser extension and/or plug-in to the browser side. When the recommendation module 640 displays a recommendation box on the current web page of the browser, such as the recommendation box shown in Figure 3, the user can choose whether to install it according to his needs or preferences. When the user clicks the button "install adblock immediately" , the loading module 650 can load the plug-in "adblock" to the browser side.

另外,可选地,本发明的浏览器还可以包括请求模块660,该请求模块660适于向浏览器对应的服务器侧发起请求以获取该匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,其中所述请求中至少包括所述用户访问的网页URL、所述匹配到的推荐浏览器扩展和/或插件、以及使用所述匹配到的推荐浏览器扩展和/或插件的网页中的内容信息。通过请求中所包含的信息,可以知道向请求访问哪个网页的用户推荐浏览器扩展和/或插件,可以定位到所述匹配到的推荐浏览器扩展和/或插件所在的服务器的位置,因为不同的扩展和/或插件可能会来自己不同的扩展和/或插件服务器700,并从定位于的扩展和/或插件服务器700获得所述匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,该网络侧反馈信息可以包括使用所述匹配到的推荐浏览器扩展和/或插件的实例描述信息等等。相应地,在推荐模块640在浏览器侧显示的推荐框中可以包含所述推荐浏览器扩展和/或插件的安装按钮(即对应于其入口信息)、所述推荐浏览器扩展和/或插件的网络侧反馈信息、和/或所述推荐浏览器扩展和/或插件的描述信息。具体例子参见前面关于图5的相关描述。In addition, optionally, the browser of the present invention may further include a request module 660, which is adapted to initiate a request to the corresponding server side of the browser to obtain the matched network side of the recommended browser extension and/or plug-in Feedback information, wherein the request at least includes the URL of the web page visited by the user, the matched recommended browser extension and/or plug-in, and the web page using the matched recommended browser extension and/or plug-in content information. Through the information contained in the request, it is possible to know which webpage to recommend to the user who requests to visit the browser extension and/or plug-in, and the location of the server where the matched recommended browser extension and/or plug-in is located can be located, because different The extension and/or plug-in may come from a different extension and/or plug-in server 700, and the network-side feedback of the matched recommended browser extension and/or plug-in is obtained from the extension and/or plug-in server 700 located at The network-side feedback information may include instance description information of using the matched recommended browser extension and/or plug-in, and the like. Correspondingly, the recommendation box displayed on the browser side by the recommendation module 640 may include an installation button of the recommended browser extension and/or plug-in (that is, corresponding to its entry information), the recommended browser extension and/or plug-in Feedback information on the network side, and/or description information of the recommended browser extension and/or plug-in. For a specific example, refer to the previous relevant description about FIG. 5 .

另外,可选地,在推荐模块640在浏览器侧显示的推荐框中还可以包含表示不再提示该推荐浏览器扩展和/或插件的“不再提示”按钮和表示推荐其它浏览器扩展和/或插件的“显示其它浏览器扩展和/或插件”的按钮中的一个或二者。为了避免多次向用户推荐其不感兴趣的浏览器扩展和/或插件,可以在推荐框中添加一个按钮“不再提示”,以供用户进行选择点击,如图4所示。另外,在该推荐框中虽然不能同时显示多个推荐浏览器扩展和/或插件,但是可以设置一个按钮“显示其它浏览器扩展和/或插件”,而将其它推荐的浏览器扩展和/或插件以列表的形式列在其中,供用户点击选择,如图4所示。其中在所述列表中所列的多个推荐的浏览器扩展和/或插件可以按预先设定的优先级顺序进行排列,该优先级顺序可以根据该浏览器扩展和/或插件的被点击安装的次数的多少而设定,也可以根据其它标准而设定。In addition, optionally, the recommendation box displayed by the recommendation module 640 on the browser side may also contain a "never prompt" button indicating that the recommended browser extension and/or plug-in is no longer prompted, and a button indicating that other browser extensions and plug-ins are recommended. One or both of the "Show other browser extensions and/or add-ons" button of the add-on. In order to avoid repeatedly recommending browser extensions and/or plug-ins that the user is not interested in, a button "don't prompt again" can be added in the recommendation box for the user to choose and click, as shown in Figure 4. In addition, although multiple recommended browser extensions and/or plug-ins cannot be displayed at the same time in the recommendation box, a button "Show other browser extensions and/or plug-ins" can be set to display other recommended browser extensions and/or plug-ins Plug-ins are listed in the form of a list for users to click and select, as shown in Figure 4. The multiple recommended browser extensions and/or plug-ins listed in the list may be arranged in a preset priority order, and the priority order may be installed according to the clicked installation of the browser extensions and/or plug-ins. It can be set according to the number of times, or it can be set according to other standards.

另外,可选地,本发明的上述浏览器还可以包括渲染模块670。该渲染模块670可以包括接收和发送单元和渲染单元。其中,接收和发送单元,其适于浏览器渲染进程获取当前网页的背景图片,并接收浏览器主程序发送来的推荐框的用户界面的图片显示区域的位置信息和尺寸信息,将当前网页的背景图片中属于的推荐框的用户界面的图片显示区域的图片信息发送给浏览器主程序。渲染单元,其适于浏览器主程序接收浏览器渲染进程返回的图片信息在推荐框的用户界面的图片显示区域进行其背景图片的渲染。可选地,渲染模块670可以设置与推荐模块640在浏览器侧展示推荐框之前,也可以设置于推荐模块640在浏览器侧展示推荐框之后,以实现对推荐框的展现的外观进行处理。通过采用渲染模块670,可以使得在浏览器的当前网页上显示的推荐框的背景与当前网页的背景一致,外观比较美观,不会显得比较突兀,与网页本身不协调。In addition, optionally, the above-mentioned browser of the present invention may further include a rendering module 670 . The rendering module 670 may include a receiving and sending unit and a rendering unit. Wherein, the receiving and sending unit is suitable for the browser rendering process to obtain the background picture of the current webpage, and receives the position information and size information of the picture display area of the user interface of the recommendation box sent by the browser main program, and converts the current webpage The picture information of the picture display area of the user interface of the recommendation box belonging to the background picture is sent to the browser main program. The rendering unit is suitable for the browser main program to receive the image information returned by the browser rendering process to render the background image in the image display area of the user interface of the recommendation box. Optionally, the rendering module 670 may be set before the recommendation module 640 displays the recommendation box on the browser side, or after the recommendation module 640 displays the recommendation box on the browser side, so as to process the displayed appearance of the recommendation box. By using the rendering module 670, the background of the recommendation box displayed on the current webpage of the browser can be consistent with the background of the current webpage, and the appearance is more beautiful, and it will not appear abrupt and inconsistent with the webpage itself.

图6的实施例示出了各模块独立于浏览器主程序设置的情形,实际上,并不限于这种情形,所述那些模块中的一个或多个或者全部也可以设置于浏览器主程序中。The embodiment of Fig. 6 shows the situation that each module is set independently of the main program of the browser, in fact, is not limited to this situation, one or more or all of said modules can also be set in the main program of the browser .

利用本发明的浏览器,可以实现基于网页的浏览器扩展的精准地推荐,实现个性化的弹窗的展现。By using the browser of the present invention, accurate recommendation of browser extensions based on webpages can be realized, and the display of personalized pop-up windows can be realized.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。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, any one of the embodiments claimed in the claims 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 browser client according to the embodiment 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. 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.

以上所述仅是本发明的具体实施方式,应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明精神的前提下,可以作出若干改进、修改、和变形,这些改进、修改、和变形都应视为落在本申请的保护范围内。The foregoing is only a specific embodiment of the present invention, and it should be pointed out that, for those of ordinary skill in the art, without departing from the spirit of the present invention, several improvements, modifications, and distortions can be made. These improvements, Modifications and deformations should be considered as falling within the scope of protection of this application.

本发明公开了A1、一种加载浏览器扩展和/或插件的方法,包括:The invention discloses A1, a method for loading browser extensions and/or plug-ins, including:

在浏览器侧设置扩展和/或插件的推荐配置表,其中所述推荐配置表包含至少一个网页URL与推荐的扩展和/或插件之间的匹配项;A recommended configuration table for extensions and/or plug-ins is set at the browser side, wherein the recommended configuration table includes at least one matching item between a webpage URL and the recommended extensions and/or plug-ins;

加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表;Loading the webpage requested by the user to access, obtaining the URL of the webpage and the recommended configuration table;

将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件;Matching the URL of the web page with the matching items in the recommended configuration table to obtain matching recommended browser extensions and/or plug-ins;

在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息;以及Displaying a recommendation box on the browser side, and loading the matching recommended browser extension and/or plug-in entry information in the recommendation box; and

接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。A user's selection instruction for the matched recommended browser extension and/or plug-in is received, and the selected recommended browser extension and/or plug-in is loaded to the browser side.

A2、根据A1所述的方法,其中,A2. The method according to A1, wherein,

所述推荐配置表中的匹配项包括下列中的一个或多个:The matching items in the recommended configuration table include one or more of the following:

主机名匹配项,其表示某一类网站的URL地址的主机名与推荐浏览器扩展和/或插件匹配;Hostname matching item, which means that the hostname of the URL address of a certain type of website matches the recommended browser extension and/or plug-in;

域名匹配项,其表示某一类特定网站的URL地址的域名与推荐浏览器扩展和/或插件匹配;和A domain name match, which indicates that the domain name of a URL address of a particular category of websites matches the recommended browser extension and/or plug-in; and

全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。Full match, which means that the regular expression of the URL address of a website matches the recommended browser extensions and/or plug-ins.

A3、根据A1或A2所述的方法,其中,A3. The method according to A1 or A2, wherein,

在浏览器侧显示推荐框的步骤之前,进行如下一个或多个条件的判断:Before the step of displaying the recommendation box on the browser side, judge one or more of the following conditions:

浏览器当前没有要推荐的浏览器扩展和/或插件;The browser does not currently have a browser extension and/or plug-in to recommend;

当天推荐框没有弹出;The recommendation box did not pop up that day;

在用户所在的客户端记录在第一预定时间内访问该类URL至少N次,其中N是自然数;The client where the user is located records accessing this type of URL at least N times within the first predetermined time, where N is a natural number;

在当前浏览器的显示推荐框的位置没有其它推荐框出现;No other recommendation boxes appear at the position where the recommendation box is displayed in the current browser;

当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录;There is no record in the recommended configuration table of the current browser that no longer prompts to install the recommended browser extension and/or plug-in;

当前浏览器的推荐配置表中没有在第二预定时间内不提示安装推荐浏览器扩展和/或插件的记录;和There is no record in the recommended configuration table of the current browser that does not prompt to install the recommended browser extension and/or plug-in within the second predetermined time; and

用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量。The number of recommended browser extensions and/or plug-ins installed by the user is less than a predetermined number.

A4、根据A1-A3中任何一项所述的方法,还包括:A4. The method according to any one of A1-A3, further comprising:

每隔一预定时间更新一次所述推荐配置表。The recommended configuration table is updated every predetermined time.

A5、根据A1-A3中任何一项所述的方法,其中,A5. The method according to any one of A1-A3, wherein,

在所述在浏览器侧显示推荐框的步骤之前,还可以包括步骤:当有多个浏览器扩展和/或插件要向用户推荐时,对所述多个浏览器扩展和/或插件进行优先级设定。Before the step of displaying the recommendation box on the browser side, the step may also be included: when there are multiple browser extensions and/or plug-ins to be recommended to the user, prioritizing the multiple browser extensions and/or plug-ins level settings.

A6、根据A1-A5中任何一项所述的方法,其中,A6. The method according to any one of A1-A5, wherein,

在所述获得匹配的推荐浏览器扩展和/或插件的步骤之后包括:After said step of obtaining matching recommended browser extensions and/or plug-ins includes:

向浏览器对应的服务器侧发起请求以获取该匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,其中所述请求中至少包括所述用户访问的网页URL、所述匹配到的推荐浏览器扩展和/或插件、以及使用所述匹配到的推荐浏览器扩展和/或插件的网页中的内容信息;Initiate a request to the server side corresponding to the browser to obtain the network-side feedback information of the matched recommended browser extension and/or plug-in, wherein the request includes at least the URL of the webpage visited by the user, the matched recommended Browser extensions and/or plug-ins, and content information on web pages that use the matched recommended browser extensions and/or plug-ins;

所述在浏览器侧显示推荐框且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息的步骤包括:The step of displaying the recommendation box on the browser side and loading the matched recommended browser extension and/or plug-in entry information in the recommendation box includes:

在所述推荐框中包含所述推荐浏览器扩展和/或插件的安装按钮、所述推荐浏览器扩展和/或插件的网络侧反馈信息、和/或所述推荐浏览器扩展和/或插件的描述信息。The recommendation box includes an install button of the recommended browser extension and/or plug-in, network-side feedback information of the recommended browser extension and/or plug-in, and/or the recommended browser extension and/or plug-in description information.

A7、根据A6所述的方法,其中,A7. The method according to A6, wherein,

所述推荐框中还包含表示不再提示该推荐浏览器扩展和/或插件的“不再提示”按钮和表示推荐其它浏览器扩展和/或插件的“显示其它浏览器扩展和/或插件”的按钮中的一个或二者。The recommendation box also includes a "no more prompt" button indicating that the recommended browser extension and/or plug-in is no longer prompted, and a "display other browser extension and/or plug-in" button indicating that other browser extensions and/or plug-ins are recommended one or both of the buttons.

A8、根据A1-A7中之一所述的方法,还包括:A8. According to the method described in one of A1-A7, further comprising:

浏览器渲染进程获取当前网页的背景图片,并接收浏览器主程序发送来的推荐框的用户界面的图片显示区域的位置信息和尺寸信息,将当前网页的背景图片中属于推荐框的用户界面的图片显示区域的图片信息发送给浏览器主程序;The browser rendering process obtains the background image of the current webpage, and receives the position information and size information of the image display area of the user interface of the recommendation box sent by the browser main program, and converts the background image of the current webpage that belongs to the user interface of the recommendation box The picture information in the picture display area is sent to the main program of the browser;

浏览器主程序接收浏览器渲染进程返回的图片信息在推荐框的用户界面的图片显示区域进行其背景图片的渲染。The browser main program receives the image information returned by the browser rendering process and renders the background image in the image display area of the user interface of the recommendation box.

本发明还公开了B1、一种浏览器,包括:The present invention also discloses B1, a browser, comprising:

设置模块,适于设置并存储扩展和/或插件的推荐配置表,该推荐配置表中包含至少一个网页URL与推荐的扩展和/或插件之间的匹配项;A setting module, adapted to set and store a recommended configuration table for extensions and/or plug-ins, where the recommended configuration table includes at least one matching item between a webpage URL and the recommended extension and/or plug-in;

获取模块,适于加载用户请求访问的网页,获取所述网页URL以及所述的推荐配置表;An acquisition module, adapted to load a webpage requested by a user, and acquire the URL of the webpage and the recommended configuration table;

匹配模块,适于将所述网页URL与所述推荐配置表中的匹配项进行匹配,获得匹配的推荐浏览器扩展和/或插件;A matching module, adapted to match the URL of the web page with the matching items in the recommended configuration table to obtain matching recommended browser extensions and/or plug-ins;

推荐模块,适于根据所述匹配模块的匹配结果,在浏览器侧显示推荐框,且在所述推荐框中加载所匹配的推荐浏览器扩展和/或插件的入口信息;以及The recommendation module is adapted to display a recommendation box on the browser side according to the matching result of the matching module, and load the matched recommended browser extension and/or plug-in entry information into the recommendation box; and

加载模块,适于接收用户对所匹配的推荐浏览器扩展和/或插件的选择指令,将所选择的推荐浏览器扩展和/或插件加载到浏览器侧。The loading module is adapted to receive a user's selection instruction for the matched recommended browser extension and/or plug-in, and load the selected recommended browser extension and/or plug-in to the browser side.

B2、根据B1所述的浏览器,其中,B2. The browser according to B1, wherein,

所述推荐配置表中的匹配项包括下列中的一个或多个:The matching items in the recommended configuration table include one or more of the following:

主机名匹配项,其表示某一类网站的URL地址的主机名与推荐浏览器扩展和/或插件的匹配;A hostname match, which represents a match between the hostname of a URL address of a certain type of website and a recommended browser extension and/or plug-in;

域名匹配项,其表示某一类特定网站的URL地址的域名与推荐浏览器扩展和/或插件匹配;和A domain name match, which indicates that the domain name of a URL address of a particular category of websites matches the recommended browser extension and/or plug-in; and

全匹配项,其表示某一网站的URL地址的正则表达式与推荐浏览器扩展和/或插件匹配。Full match, which means that the regular expression of the URL address of a website matches the recommended browser extensions and/or plug-ins.

B3、根据权利要求B1或B2所述的浏览器,其中,B3. The browser according to claim B1 or B2, wherein:

所述推荐模块在如下的一个或多个条件下,在浏览器侧显示推荐框:The recommendation module displays a recommendation box on the browser side under one or more of the following conditions:

浏览器当前没有要推荐的浏览器扩展和/或插件;The browser does not currently have a browser extension and/or plug-in to recommend;

当天推荐框没有弹出;The recommendation box did not pop up that day;

在用户所在的客户端记录在第一预定时间内访问该类URL至少N次,其中N是自然数;The client where the user is located records accessing this type of URL at least N times within the first predetermined time, where N is a natural number;

在当前浏览器的显示推荐框的位置没有其它推荐框出现;No other recommendation boxes appear at the position where the recommendation box is displayed in the current browser;

当前浏览器的推荐配置表中没有不再提示安装该推荐浏览器扩展和/或插件的记录;There is no record in the recommended configuration table of the current browser that no longer prompts to install the recommended browser extension and/or plug-in;

当前浏览器的推荐配置表中没有在第二预定时间内不提示安装推荐浏览器扩展和/或插件的记录;There is no record in the recommended configuration table of the current browser that the installation of recommended browser extensions and/or plug-ins is not prompted within the second predetermined time;

用户所安装的推荐浏览器扩展和/或插件的数量小于预定数量。The number of recommended browser extensions and/or plug-ins installed by the user is less than a predetermined number.

B4、根据B1-B3中任何一项所述的浏览器,其特征在于,B4. According to the browser described in any one of B1-B3, it is characterized in that,

所述设置模块每隔一预定时间更新一次所述推荐配置表。The setting module updates the recommended configuration table every predetermined time.

B5、根据B1-B3中任何一项所述的浏览器,其特征在于,还包括:B5. The browser according to any one of B1-B3, further comprising:

优先级设定模块,其适于当所述匹配模块获得多个匹配的推荐浏览器扩展和/或插件时,对所述多个匹配的推荐浏览器扩展和/或插件进行优先级设定;a prioritization module adapted to prioritize a plurality of matching recommended browser extensions and/or plug-ins when said matching module obtains said plurality of matching recommended browser extensions and/or plug-ins;

其中,所述推荐模块依据所述优先级设定模块对所述多个匹配的推荐浏览器扩展和/或插件的优先级设定,在浏览器侧的推荐框中显示优先级最高的推荐浏览器扩展和/或插件。Wherein, the recommendation module displays the recommended browser with the highest priority in the recommendation box on the browser side according to the priority setting of the plurality of matching recommended browser extensions and/or plug-ins by the priority setting module. extensions and/or plug-ins.

B6、根据权利要求B1-B5中任何一项所述的浏览器,其特征在于,还包括:B6. The browser according to any one of claims B1-B5, further comprising:

请求模块,其适于向浏览器对应的服务器侧发起请求以获取该匹配到的推荐浏览器扩展和/或插件的网络侧反馈信息,其中所述请求中至少包括所述用户访问的网页URL、所述匹配到的推荐浏览器扩展和/或插件、以及使用所述匹配到的推荐浏览器扩展和/或插件的网页中的内容信息;The request module is adapted to initiate a request to the server side corresponding to the browser to obtain the network-side feedback information of the matched recommended browser extension and/or plug-in, wherein the request includes at least the URL of the webpage visited by the user, The matched recommended browser extension and/or plug-in, and the content information in the webpage using the matched recommended browser extension and/or plug-in;

其中,在所述推荐模块的所述推荐框中包含所述推荐浏览器扩展和/或插件的安装按钮、所述推荐浏览器扩展和/或插件的网络侧反馈信息、和/或所述推荐浏览器扩展和/或插件的描述信息。Wherein, the recommendation box of the recommendation module includes the installation button of the recommended browser extension and/or plug-in, the network-side feedback information of the recommended browser extension and/or plug-in, and/or the recommended Description information for browser extensions and/or plug-ins.

B7、根据B6所述的浏览器,其特征在于,B7, according to the browser described in B6, it is characterized in that,

在所述推荐模块的所述推荐框中还包含表示不再提示该推荐浏览器扩展和/或插件的“不再提示”按钮和表示推荐其它浏览器扩展和/或插件的“显示其它浏览器扩展和/或插件”的按钮中的一个或二者。The recommendation box of the recommendation module also includes a button of "not prompting again" indicating that the recommended browser extension and/or plug-in is no longer prompted, and a button of "show other browsers" indicating that other browser extensions and/or plug-ins are recommended. One or both of the buttons for Extensions and/or Plugins.

B8、根据B1-B7中任何一项所述的浏览器,其特征在于,还包括渲染模块所述渲染模块包括:B8. According to the browser described in any one of B1-B7, it is characterized in that it also includes a rendering module. The rendering module includes:

接收和发送单元,其适于浏览器渲染进程获取当前网页的背景图片,并接收浏览器主程序发送来的推荐框的用户界面的图片显示区域的位置信息和尺寸信息,将当前网页的背景图片中属于推荐框的用户界面的图片显示区域的图片信息发送给浏览器主程序;和The receiving and sending unit is suitable for the browser rendering process to obtain the background picture of the current web page, and receives the position information and size information of the picture display area of the user interface of the recommendation box sent by the browser main program, and converts the background picture of the current web page The picture information in the picture display area of the user interface belonging to the recommendation box is sent to the browser main program; and

渲染单元,其适于浏览器主程序接收浏览器渲染进程返回的图片信息在推荐框的用户界面的图片显示区域进行其背景图片的渲染。The rendering unit is suitable for the browser main program to receive the image information returned by the browser rendering process to render the background image in the image display area of the user interface of the recommendation box.

Claims (10)

1. a method that loads browser extension and/or plug-in unit, comprising:
The recommended configuration table of expansion and/or plug-in unit is set, the expansion that wherein said recommended configuration table comprises at least one webpage URL and recommendation and/or the occurrence between plug-in unit in browser side;
The webpage that loads user's request access, obtains described webpage URL and described recommended configuration table;
Described webpage URL is mated with the occurrence in described recommended configuration table, obtain recommendation browser extension and/or the plug-in unit of coupling;
In browser side, show and recommend frame, and in described recommendation frame, load mated recommendation browser extension and/or the entrance information of plug-in unit; And
Receive user to mated recommendation browser extension and/or the selection instruction of plug-in unit, selected recommendation browser extension and/or plug-in unit are loaded into browser side.
2. method according to claim 1, wherein,
Occurrence in described recommended configuration table comprises one or more in following:
Host name occurrence, its host name that represents the URL address of a certain class website is mated with recommending browser extension and/or plug-in unit;
Domain name occurrence, its domain name that represents the URL address of a certain class specific website is mated with recommending browser extension and/or plug-in unit; With
Full occurrence, its regular expression that represents the URL address of a certain website mates with recommending browser extension and/or plug-in unit.
3. method according to claim 1 and 2, wherein,
Before showing the step of recommending frame in browser side, carry out the judgement of following one or more conditions:
The current browser extension that will not recommend of browser and/or plug-in unit;
Recommended the same day frame not eject;
Client records at user place is accessed such URL at least N time within first schedule time, and wherein N is natural number;
In the demonstration of current browser, recommend the position of frame not have other to recommend frame to occur;
In the recommended configuration table of current browser, do not reresent the record that this recommendation browser extension and/or plug-in unit are installed;
In the recommended configuration table of current browser, within second schedule time, do not point out the record of recommending browser extension and/or plug-in unit is installed; With
The recommendation browser extension that user installs and/or the quantity of plug-in unit are less than predetermined quantity.
4. according to the method described in any one in claim 1-3, also comprise:
Every a schedule time, upgrade once described recommended configuration table.
5. according to the method described in any one in claim 1-3, wherein,
Described, before the step of frame is recommended in the demonstration of browser side, can also comprise step: when having a plurality of browser extension and/or plug-in unit to recommend to user, described a plurality of browser extension and/or plug-in unit are carried out to priority level initializing.
6. according to the method described in any one in claim 1-5, wherein,
After the recommendation browser extension of described acquisition coupling and/or the step of plug-in unit, comprise:
To server side corresponding to browser, initiate request to obtain the network side feedback information of this recommendation browser extension matching and/or plug-in unit, in wherein said request, at least comprise described user's access webpage URL, described in the recommendation browser extension and/or the plug-in unit that match and use described in content information in the webpage of the recommendation browser extension that matches and/or plug-in unit;
The described step of show recommending frame and load the entrance information of mated recommendation browser extension and/or plug-in unit in described recommendation frame in browser side comprises:
The network side feedback information of the button installation that comprises described recommendation browser extension and/or plug-in unit in described recommendation frame, described recommendation browser extension and/or plug-in unit and/or the descriptor of described recommendation browser extension and/or plug-in unit.
7. a browser, comprising:
Module is set, is suitable for the recommended configuration table of setting Memory Extension and/or plug-in unit, in this recommended configuration table, comprise the expansion of at least one webpage URL and recommendation and/or the occurrence between plug-in unit;
Acquisition module, is suitable for loading the webpage of user's request access, obtains described webpage URL and described recommended configuration table;
Matching module, is suitable for described webpage URL to mate with the occurrence in described recommended configuration table, obtains recommendation browser extension and/or the plug-in unit of coupling;
Recommending module, is suitable for the matching result according to described matching module, shows and recommends frame, and in described recommendation frame, load mated recommendation browser extension and/or the entrance information of plug-in unit in browser side; And
Load-on module, is suitable for receiving user to mated recommendation browser extension and/or the selection instruction of plug-in unit, and selected recommendation browser extension and/or plug-in unit are loaded into browser side.
8. browser according to claim 7, wherein,
Occurrence in described recommended configuration table comprises one or more in following:
Host name occurrence, it represents the host name of URL address and mating of recommendation browser extension and/or plug-in unit of a certain class website;
Domain name occurrence, its domain name that represents the URL address of a certain class specific website is mated with recommending browser extension and/or plug-in unit; With
Full occurrence, its regular expression that represents the URL address of a certain website mates with recommending browser extension and/or plug-in unit.
9. according to the browser described in claim 7 or 8, wherein,
Described recommending module, under following one or more conditions, shows and recommends frame in browser side:
The current browser extension that will not recommend of browser and/or plug-in unit;
Recommended the same day frame not eject;
Client records at user place is accessed such URL at least N time within first schedule time, and wherein N is natural number;
In the demonstration of current browser, recommend the position of frame not have other to recommend frame to occur;
In the recommended configuration table of current browser, do not reresent the record that this recommendation browser extension and/or plug-in unit are installed;
In the recommended configuration table of current browser, within second schedule time, do not point out the record of recommending browser extension and/or plug-in unit is installed;
The recommendation browser extension that user installs and/or the quantity of plug-in unit are less than predetermined quantity.
10. according to the browser described in any one in claim 7-9, it is characterized in that, also comprise:
Request module, it is suitable for initiating request to obtain the network side feedback information of this recommendation browser extension matching and/or plug-in unit to server side corresponding to browser, in wherein said request, at least comprise described user's access webpage URL, described in the recommendation browser extension and/or the plug-in unit that match and use described in content information in the webpage of the recommendation browser extension that matches and/or plug-in unit;
The network side feedback information of the button installation that wherein, comprises described recommendation browser extension and/or plug-in unit in the described recommendation frame of described recommending module, described recommendation browser extension and/or plug-in unit and/or the descriptor of described recommendation browser extension and/or plug-in unit.
CN201310553704.7A 2013-11-08 2013-11-08 Method for loading browser extensions and/or plugins and browser Pending CN103645912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310553704.7A CN103645912A (en) 2013-11-08 2013-11-08 Method for loading browser extensions and/or plugins and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310553704.7A CN103645912A (en) 2013-11-08 2013-11-08 Method for loading browser extensions and/or plugins and browser

Publications (1)

Publication Number Publication Date
CN103645912A true CN103645912A (en) 2014-03-19

Family

ID=50251135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310553704.7A Pending CN103645912A (en) 2013-11-08 2013-11-08 Method for loading browser extensions and/or plugins and browser

Country Status (1)

Country Link
CN (1) CN103645912A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995704A (en) * 2014-06-03 2014-08-20 北京金山安全软件有限公司 Function providing method and device for application program
CN104199650A (en) * 2014-08-25 2014-12-10 浪潮软件股份有限公司 Individualized customizable portal method based on open system
WO2017028636A1 (en) * 2015-08-18 2017-02-23 中兴通讯股份有限公司 Gateway side-based web page toolbar configuration method and device
CN107087230A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 Player plug-in loading method and its device
CN108334379A (en) * 2018-01-05 2018-07-27 北京明略软件系统有限公司 A kind of implementation method and realization device of page expansion function
CN110062195A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 A kind of video conference cut-in method and system
CN113791795A (en) * 2020-05-26 2021-12-14 北京奇虎科技有限公司 Plug-in installation method, device, system, equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995704A (en) * 2014-06-03 2014-08-20 北京金山安全软件有限公司 Function providing method and device for application program
CN104199650A (en) * 2014-08-25 2014-12-10 浪潮软件股份有限公司 Individualized customizable portal method based on open system
WO2017028636A1 (en) * 2015-08-18 2017-02-23 中兴通讯股份有限公司 Gateway side-based web page toolbar configuration method and device
CN106469161A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of Webpage toolbar collocation method based on gateway side and device
CN107087230A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 Player plug-in loading method and its device
CN108334379A (en) * 2018-01-05 2018-07-27 北京明略软件系统有限公司 A kind of implementation method and realization device of page expansion function
CN110062195A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 A kind of video conference cut-in method and system
CN113791795A (en) * 2020-05-26 2021-12-14 北京奇虎科技有限公司 Plug-in installation method, device, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8527504B1 (en) Data network content filtering using categorized filtering parameters
CN103645912A (en) Method for loading browser extensions and/or plugins and browser
JP5571091B2 (en) Providing search results
US8725585B1 (en) Automatic vetting of web applications to be listed in a marketplace for web applications
US20080177858A1 (en) Arranging dynamic bookmarks based on service provider inputs
CN102968487B (en) A kind of browser for realizing web page content review, server and method
CN102930058B (en) A kind of method and apparatus realizing searching in the address field of browser
US20120221411A1 (en) Apparatus and methods for determining user intent and providing targeted content according to intent
CA2867833C (en) Intelligent content and navigation
US20140095355A1 (en) Platform, Method, and Device for Managing Application
US8429015B2 (en) Method and apparatus for varying the amount of advertising content
WO2007070404A2 (en) Customized container document modules using preferences
US10621618B2 (en) System and method to connect a user of a product to contacts of the user who are promoters
WO2007070402A2 (en) Proxy server collection of data for module incorporation into a container document
WO2007070405A2 (en) Remote module incorporation into a container document
CN102970348B (en) Network application method for pushing, system and network application server
CN102708132A (en) Method and system for webpage recommendation
US20170192941A1 (en) Computer-Automated Generation of Application Deep Links
JP5572422B2 (en) Information system, program, and information processing method
WO2014108038A1 (en) Frequently-used website generation client terminal, server, system and method
US20130275275A1 (en) Digital content marketplace
US20140164380A1 (en) Method and apparatus for aggregating, extracting and presenting review and rating data
CN104463642A (en) Advertisement filtering processing method and device and browser client side
US20120203865A1 (en) Apparatus and methods for providing behavioral retargeting of content from partner websites
WO2015069964A1 (en) Mediation recommendation systems for multiple video advertisement demand sources

Legal Events

Date Code Title Description
PB01 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: 20140319

RJ01 Rejection of invention patent application after publication