技术领域technical field
本发明涉及互联网技术领域,具体涉及一种浏览器中进行消息推送的方法和一种浏览器终端。The invention relates to the technical field of the Internet, in particular to a method for pushing messages in a browser and a browser terminal.
背景技术Background technique
随着互联网的发展,网络已经成为人们获取信息的重要途径之一,而浏览器则是人们使用网络,浏览网络中各种不同的页面的必要工具。With the development of the Internet, the network has become one of the important ways for people to obtain information, and the browser is a necessary tool for people to use the network and browse various pages in the network.
用户在浏览页面时,往往会接收到电商或其他服务提供商推送的一些推送消息。目前,常用的推送消息的方式是:收集用户在浏览页面时输入的搜索关键字,和/或收集用户当前浏览的页面上的页面关键字;然后,根据收集到的搜索关键字和/或页面关键字,匹配得到推送消息;最后将推送消息推送给用户。When users browse the page, they often receive some push messages from e-commerce or other service providers. At present, the commonly used method of pushing messages is to: collect the search keywords entered by the user when browsing the page, and/or collect the page keywords on the page currently browsed by the user; then, according to the collected search keywords and/or page Keyword, match to get the push message; finally push the push message to the user.
上述推送消息方式的缺点在于,根据搜索关键字和/或页面关键字得到的推送消息精准度低,如,用户当前正在浏览苹果手机,此时根据页面关键字“苹果”得到的推送消息可能是关于苹果这一水果的推送消息,使得推送消息与用户的访问行为不相适应。而且,当用户接收到不喜欢的网络信息时,容易造成用户的逆反心理,用户不会进一步去查看推送消息的具体内容,造成资源浪费。The disadvantage of the above push message method is that the push message obtained according to the search keyword and/or page keyword has low accuracy. The push message about the apple fruit makes the push message incompatible with the user's access behavior. Moreover, when the user receives network information that he does not like, it is easy to cause the user's rebellious psychology, and the user will not further check the specific content of the push message, resulting in waste of resources.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种浏览器中进行消息推送的方法和相应的一种浏览器终端。In view of the above problems, the present invention is proposed to provide a method for pushing messages in a browser and a corresponding browser terminal that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种浏览器中进行消息推送的方法,包括:According to one aspect of the present invention, a method for pushing messages in a browser is provided, including:
确定当前浏览页面与预设的页面结构样式相匹配;Determine that the currently browsed page matches the preset page structure style;
提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值;Extracting the key content information in the matching page and the URL feature value in the URL corresponding to the matching page;
获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。Acquiring push messages matching the key information of the content and/or the feature value of the URL.
根据本发明的另一方面,提供了一种浏览器终端,包括:According to another aspect of the present invention, a browser terminal is provided, including:
确定模块,用于确定当前浏览页面与预设的页面结构样式相匹配;A determining module, configured to determine that the currently browsed page matches a preset page structure style;
提取模块,用于提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值;An extraction module, configured to extract the key content information in the matching page and the URL feature value in the URL corresponding to the matching page;
获取模块,用于获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。An acquisition module, configured to acquire push messages matching the content key information and/or the URL characteristic value.
本发明提供的一种浏览器中进行消息推送的方法和一种浏览器终端,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再提取当前浏览页面的内容关键信息和URL特征值,进而得到与当前浏览页面的内容关键信息和/或URL特征值相匹配的推送消息。通过当前浏览页面的结构样式,可以确定用户当前浏览的页面是否是用户常用的或偏好的页面;通过当前浏览页面的内容关键信息和/或URL特征值,能够明确确定用户当前浏览的内容,从而使得匹配得到的推送消息精准度高,且与用户访问行为相适应,满足用户需求,避免了资源浪费。A method for pushing messages in a browser and a browser terminal provided by the present invention first determine the structural style of the current browsing page, and then extract the current browsing page after confirming that the current browsing page matches the preset page structural style. The content key information and URL characteristic value of the page, and then obtain the push message matching the content key information and/or URL characteristic value of the currently browsed page. Through the structural style of the currently browsed page, it can be determined whether the page currently browsed by the user is a page frequently used or preferred by the user; through the content key information and/or URL characteristic value of the currently browsed page, the content currently browsed by the user can be clearly determined, thereby The matched push message has high accuracy and is compatible with the user's access behavior to meet the user's needs and avoid resource waste.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。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 is a flow chart of a method for pushing messages in a browser in the first embodiment of the present invention;
图2是本发明第二实施例中一种浏览器中进行消息推送的方法的流程图;Fig. 2 is a flow chart of a method for pushing messages in a browser in the second embodiment of the present invention;
图3是本发明第三实施例中一种浏览器中进行消息推送的方法的流程图;3 is a flow chart of a method for pushing messages in a browser in the third embodiment of the present invention;
图4是本发明第四实施例中一种浏览器终端的结构框图;Fig. 4 is a structural block diagram of a browser terminal in a fourth embodiment of the present invention;
图5是本发明第五实施例中一种浏览器终端的结构框图;Fig. 5 is a structural block diagram of a browser terminal in a fifth embodiment of the present invention;
图6是本发明第六实施例中一种浏览器终端的结构框图。Fig. 6 is a structural block diagram of a browser terminal in the sixth embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
参照图1,示出了本发明第一实施例中一种浏览器中进行消息推送的方法的流程图。在本实施例中,所述浏览器中进行消息推送的方法可以包括:Referring to FIG. 1 , it shows a flow chart of a method for pushing messages in a browser in the first embodiment of the present invention. In this embodiment, the method for pushing messages in the browser may include:
步骤102,确定当前浏览页面与预设的页面结构样式相匹配。In step 102, it is determined that the currently browsed page matches the preset page structure style.
不同的网页页面根据其展现的内容不同,其页面结构样式也不同。例如:针对一个小说页面,所述小说页面对应的页面结构样式适用于文字展现;针对一个图片页面,所述图片页面对应的页面结构样式适用于图片展现。由此可见,用户通过浏览器浏览的页面,其页面结构样式可以相同,也可以是不同的。在本实施例中,预设的页面结构样式可以是对用户往期浏览的页面进行收集和分析后,设定的页面结构样式。其中,对用户往期浏览的页面的收集和分析可以采用传统的任意适当方式实现。Different web pages have different page structure styles according to the content they display. For example: for a novel page, the page structure style corresponding to the novel page is suitable for text display; for a picture page, the page structure style corresponding to the picture page is suitable for picture display. It can be seen that, the page structure styles of the pages browsed by the user through the browser may be the same or different. In this embodiment, the preset page structure style may be a page structure style set after collecting and analyzing pages browsed by the user in the past. Wherein, the collection and analysis of the pages browsed by the user in the past may be implemented in any appropriate traditional manner.
步骤104,提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值。Step 104, extracting the key content information in the matching page and the URL feature value in the URL corresponding to the matching page.
在本实施例中,所述内容关键信息包括但不限于:用户在浏览器地址栏输入的搜索词,和/或用户在浏览器搜索栏中输入的搜索词,和/或用户在打开的搜索网站中输入的搜索词,和/或用户通过点击或选择操作输入的搜索词。In this embodiment, the key content information includes but is not limited to: the search term entered by the user in the address bar of the browser, and/or the search term entered by the user in the search bar of the browser, and/or the search term entered by the user in the opened search Search terms entered into the site, and/or entered by users through clicks or selections.
进一步地,在本实施例中除了要提取所述相匹配页面(即当前浏览页面)中的内容关键信息外,还要提取所述相匹配页面对应的网址中的URL(Uniform Resource Locator,统一资源定位符)特征值。其中,所述URL特征值可以是用于指示页面类型的值和用于指示网页种类的值。所述页面类型可以包括文字页面、图片页面和视频页面中的一种;所述网页种类可以包括:新闻类、军事类、财经类、体育类、娱乐类、科技类、房产类、汽车类、教育类、人物类和游戏类中的至少一种。例如:可以从网址“http://news.163.com/13/1224/02/9GQVBO4O00014AED.html?201312”中提取出“news”作为所述网址的URL特征值;其中,通过所述“news”可以确定所述页面是一个新闻类页面。Further, in this embodiment, in addition to extracting the content key information in the matching page (i.e. the currently browsed page), it is also necessary to extract the URL (Uniform Resource Locator, Uniform Resource Locator) in the URL corresponding to the matching page. locator) feature value. Wherein, the URL characteristic value may be a value indicating a page type and a value indicating a type of a webpage. The page type may include one of a text page, a picture page, and a video page; the web page type may include: news, military, financial, sports, entertainment, technology, real estate, automobile, At least one of Education, Character and Game. For example: "news" can be extracted from the URL "http://news.163.com/13/1224/02/9GQVBO4O00014AED.html?201312" as the URL characteristic value of the URL; wherein, through the "news " It can be determined that the page is a news page.
这里需要说明的是,优选地,提取得到的内容关键信息和URL特征值都可以经过加密处理之后再进行传递的,以提高信息传递的安全性。It should be noted here that, preferably, the extracted content key information and URL feature values can be encrypted before being transmitted, so as to improve the security of information transmission.
步骤106,获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。Step 106, acquiring a push message matching the key information of the content and/or the feature value of the URL.
在本实施例中,浏览器可以从一个或多个数据服务器中获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。当所述推送消息是从多个数据服务器中获取的与所述内容关键信息和/或所述URL特征值相匹配的消息时,所述推送消息的种类可以是多种,如:所述推送消息可以是网页文字消息、网页图片消息、网页视频消息、微博话题、微博评论、贴吧消息、论坛话题和论坛评论中的至少一种。例如,当所述推送消息是从微博数据服务器中获取的时,所述推送消息可以是微博话题和/或微博评论;当所述推送消息是从论坛数据服务器中获取的时,所述推送消息可以是论坛话题和/或论坛评论。In this embodiment, the browser may obtain push messages matching the content key information and/or the URL feature value from one or more data servers. When the push message is a message obtained from multiple data servers that matches the content key information and/or the URL feature value, the type of the push message may be multiple, such as: the push The message may be at least one of webpage text message, webpage picture message, webpage video message, microblog topic, microblog comment, post bar message, forum topic and forum comment. For example, when the push message is obtained from a microblog data server, the push message may be a microblog topic and/or a microblog comment; when the push message is obtained from a forum data server, the The push message mentioned above may be a forum topic and/or a forum comment.
综上所述,本实施例提供的浏览器中进行消息推送的方法,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再提取当前浏览页面的内容关键信息和URL特征值,进而得到与当前浏览页面的内容关键信息和/或URL特征值相匹配的推送消息。通过当前浏览页面的结构样式,可以确定用户当前浏览的页面是否是用户常用的或偏好的页面;通过当前浏览页面的内容关键信息和/或URL特征值,能够明确确定用户当前浏览的内容,从而使得匹配得到的推送消息精准度高,且与用户访问行为相适应,满足用户需求,避免了资源浪费。To sum up, the method for pushing messages in the browser provided by this embodiment first determines the structural style of the current browsing page, and then extracts the structural style of the current browsing page after confirming that the current browsing page matches the preset page structural style. Content key information and URL feature value, and then obtain a push message matching the content key information and/or URL feature value of the currently browsed page. Through the structural style of the currently browsed page, it can be determined whether the page currently browsed by the user is a page frequently used or preferred by the user; through the content key information and/or URL characteristic value of the currently browsed page, the content currently browsed by the user can be clearly determined, thereby The matched push message has high accuracy and is compatible with the user's access behavior to meet the user's needs and avoid resource waste.
参照图2,示出了本发明第二实施例中一种浏览器中进行消息推送的方法的流程图。在本实施例中,所述浏览器中进行消息推送的方法可以包括:Referring to FIG. 2 , it shows a flow chart of a method for pushing messages in a browser in the second embodiment of the present invention. In this embodiment, the method for pushing messages in the browser may include:
步骤202,浏览器确定当前浏览页面与预设的页面结构样式相匹配。In step 202, the browser determines that the currently browsed page matches the preset page structure style.
较佳地,在本实施例中,浏览器确定当前浏览页面与预设的页面结构样式相匹配的方法如下:Preferably, in this embodiment, the method for the browser to determine that the currently browsed page matches the preset page structure style is as follows:
第一步,浏览器预设至少一个页面结构样式匹配设置,具体方法可以为:In the first step, the browser presets at least one page structure style matching setting, the specific method can be:
浏览器可以建立一个匹配设置文件并将所述至少一个页面结构样式匹配设置保存在所述匹配设置文件中。其中,所述匹配设置文件中包括至少一个网站节点,每个网站节点中包括至少一种网页节点,至少部分所述网页节点中设有两个以上的匹配设置描述节点,每个匹配设置描述节点对应一个页面结构样式匹配设置,至少两个所述页面结构样式的匹配设置中分别包括对相同类型页面结构样式的不同匹配设置项。The browser can create a matching setting file and save the at least one page structure style matching setting in the matching setting file. Wherein, the matching setting file includes at least one website node, each website node includes at least one kind of web page node, at least some of the web page nodes are provided with more than two matching setting description nodes, and each matching setting description node Corresponding to one page structure style matching setting, at least two matching settings of the page structure style include different matching setting items for the same type of page structure style.
第二步,浏览器下载所述当前浏览页面,获取所述当前浏览页面的页面结构样式。In the second step, the browser downloads the current browsing page, and acquires the page structure style of the current browsing page.
第三步,浏览器将所述当前浏览页面的页面结构样式与所述页面结构样式匹配设置进行匹配,直至所述页面结构样式匹配成功。In the third step, the browser matches the page structure style of the currently browsed page with the page structure style matching setting until the page structure style matches successfully.
在本实施例中,首先,浏览器可以在所述匹配设置文件中查找所述当前浏览页面的页面结构样式对应的网站节点及网页节点。In this embodiment, firstly, the browser may search the matching setting file for the website node and the webpage node corresponding to the page structure style of the currently browsed page.
然后,浏览器在查找到的网页节点下,将所述当前浏览页面的页面结构样式与该网页节点中的第一匹配设置描述节点中的匹配设置项依次进行匹配。Then, under the found web page node, the browser sequentially matches the page structure style of the currently browsed page with the matching setting items in the first matching setting description node in the web page node.
最后,对匹配成功的匹配设置项,浏览器根据所述匹配成功的匹配设置项,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配;对匹配失败的匹配设置项,浏览器在该网页节点中除第一匹配设置描述节点之外的匹配设置描述节点中查找与该匹配失败的匹配设置项相对应的匹配设置项,将查找到的匹配设置项与所述当前浏览页面的页面结构样式进行匹配,直至查找到的匹配设置项与所述当前浏览页面的页面结构样式匹配成功,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配。Finally, for the matching setting items that match successfully, the browser determines that the page structure style of the currently browsed page matches the preset page structure style according to the matching setting items that match successfully; for the matching setting items that fail to match, the browser Find the matching setting item corresponding to the matching setting item that fails to match in the matching setting description node except the first matching setting description node in the web page node, and combine the found matching setting item with the current browsing page The page structure style is matched until the found matching setting item matches the page structure style of the currently browsed page successfully, and it is determined that the page structure style of the currently browsed page matches the preset page structure style.
步骤204,浏览器根据所述相匹配页面对应的URL的结构,判断所述相匹配页面的页面级别。Step 204, the browser judges the page level of the matching page according to the structure of the URL corresponding to the matching page.
其中,所述相匹配页面即当前浏览页面。在本实施例中,可以将页面级别分为首页级、标题页级和内容详情页级三个级别。进一步地,还可以通过对页面的网址URL的结构的分析,判断出页面的页面级别。Wherein, the matching page is the currently browsed page. In this embodiment, the page levels can be divided into three levels: the home page level, the title page level and the content details page level. Furthermore, the page level of the page can also be determined by analyzing the URL structure of the page.
例如,首先,用户在浏览器地址栏中输入“www.baidu.com”打开一个初始页面,根据“www.baidu.com”的URL结构可以判断所述初始页面的页面级别为首页级。For example, first, the user enters "www.baidu.com" in the address bar of the browser to open an initial page, and according to the URL structure of "www.baidu.com", it can be judged that the page level of the initial page is the home page level.
然后,用户在所述初始页面中输入一个搜索词“成龙”可以得到一个网址为“http://www.baidu.com/s?wd=%E6%88%90%E9%BE%99&rsv_bp=0&ch=&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=17&rsv_sug1=16&rsv_sug4=1049&rsv_sug=0&inputT=12871”的搜索结果页面,根据所述搜索结果页面的URL结构可以判断所述搜索结果页面的页面级别为标题页级,其中所述搜索结果页面中有多个搜索链接。Then, the user enters a search term "Jackie Chan" in the initial page to obtain a URL as "http://www.baidu.com/s?wd=%E6%88%90%E9%BE%99&rsv_bp=0&ch =&tn=baidu&bar=&rsv_spt=3&ie=utf-8&rsv_sug3=17&rsv_sug1=16&rsv_sug4=1049&rsv_sug=0&inputT=12871", according to the URL structure of the search result page, it can be judged that the page level of the search result page is the title page level, where there are multiple search links in said search results page.
最后,用户点击所述搜索结果页面中的某一个搜索链接,可以得到一个网址为“http://baike.baidu.com/subview/3539/10605302.htm?toSubview=1&fromId=3539&from=rdtself”的详细内容页面,根据所述详细内容页面的URL结构可以判断所述详细内容页面的页面级别为内容详情页级。Finally, the user clicks on a certain search link in the search result page, and can obtain a detailed website with the URL "http://baike.baidu.com/subview/3539/10605302.htm?toSubview=1&fromId=3539&from=rdtself" For the content page, according to the URL structure of the detailed content page, it can be determined that the page level of the detailed content page is the content detail page level.
步骤206,当所述相匹配页面的页面级别为所述内容详情页级时,浏览器确定所述相匹配页面为有效页面。Step 206, when the page level of the matching page is the content detail page level, the browser determines that the matching page is a valid page.
在本实施例中,可以在页面级别判断结果为所述相匹配页面的页面级别为所述内容详情页级时,将所述相匹配页面确定为有效页面。这里需要说明的是,所述有效页面可以包括但不仅限于是内容详情页级,当某一页面中包括具体的实质内容信息时,即可将所述某一页面确定为一个有效页面。In this embodiment, when the page level judgment result is that the page level of the matching page is the content detail page level, the matching page may be determined as a valid page. It should be noted here that the effective page may include but not limited to content details page level, and when a certain page includes specific substantive content information, the certain page can be determined as an effective page.
在本实施例中,在浏览器确定所述相匹配页面为有效页面之后,继续执行步骤208,在浏览器确定所述相匹配页面不是有效页面时,则返回步骤204继续判断所述相匹配页面的页面级别。In this embodiment, after the browser determines that the matching page is a valid page, continue to execute step 208, and when the browser determines that the matching page is not a valid page, then return to step 204 to continue judging the matching page page level.
步骤208,浏览器提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值。Step 208, the browser extracts the key content information in the matching page and the URL feature value in the URL corresponding to the matching page.
在本实施例中,步骤208中的浏览器提取所述相匹配页面中的内容关键信息步骤,可以通过以下方法实现:In this embodiment, the step of the browser in step 208 extracting the key content information in the matching page can be implemented by the following methods:
第一步,获取所述相匹配页面中的网页元素信息。The first step is to obtain the webpage element information in the matching webpage.
第二步,根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息;和/或,提取所述相匹配页面对应的标题的标题关键字。In the second step, extracting the picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the web page element information; and/or, extracting the corresponding Title keyword that matches the corresponding title of the page.
在根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息时,较佳地,可以根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息,以及,相对应的图片描述信息、和/或视频描述信息、和/或音频描述信息。When extracting the picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the webpage element information, preferably, according to the webpage element extract the picture information, and/or video file information, and/or audio file information, and the corresponding picture description information, and/or video description information, and and/or audio description information.
然后,根据所述图片描述信息、和/或视频描述信息、和/或音频描述信息,判断相对应的所述图片信息指示的图片、和/或视频文件信息指示的视频、和/或音频文件信息指示的音频是否满足设定的内容关键信息标准;若是,则将满足标准的所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息;若否,则放弃将所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息。Then, according to the picture description information, and/or video description information, and/or audio description information, determine the corresponding picture indicated by the picture information, and/or the video and/or audio file indicated by the video file information Whether the audio indicated by the information satisfies the set content key information standard; if yes, then extract the picture information, and/or video file information, and/or audio file information that meets the standard as content key information; if not, then give up Extracting the picture information, and/or video file information, and/or audio file information as content key information.
步骤210,浏览器获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。Step 210, the browser obtains a push message matching the content key information and/or the URL characteristic value.
在本实施例中,所述步骤210可以包括:In this embodiment, the step 210 may include:
子步骤2102,浏览器获取与所述内容关键信息和/或所述URL特征值相匹配的候选推送消息。In sub-step 2102, the browser acquires candidate push messages matching the content key information and/or the URL characteristic value.
子步骤2104,浏览器按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息。In sub-step 2104, the browser selects a preset number of messages from the candidate push messages as push messages according to the set push rules.
在本实施例中,所述浏览器按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息的步骤可以通过如下方法中的任意一种实现:In this embodiment, the step of the browser selecting a preset number of messages from the candidate push messages as push messages according to the set push rules may be implemented by any of the following methods:
方法一method one
第一步,浏览器获取用于接收所述推送消息的终端设备的信息。In the first step, the browser obtains the information of the terminal device used to receive the push message.
第二步,浏览器从所述候选推送消息中选取预置数量的、且满足所述终端设备的信息的消息作为推送消息。In the second step, the browser selects a preset number of messages satisfying the information of the terminal device from the candidate push messages as push messages.
所述满足所述终端设备的信息的消息可以包括:所述推送消息对应的页面结构样式满足所述终端设备支持浏览的页面结构样式;其中,所述终端设备包括:手机、个人计算机PC、平板电脑Pad和智能电视中的至少一种。例如,当根据获取的终端设备的信息确定终端设备为手机时,则从候选推送消息中选取预置数量的、且支持在手机中浏览的消息作为推送消息。或者,当根据获取的终端设备的信息确定终端设备为Pad时,则从候选推送消息中选取预置数量的、且支持在Pad中浏览的消息作为推送消息。The message that satisfies the information of the terminal device may include: the page structure style corresponding to the push message meets the page structure style that the terminal device supports browsing; wherein, the terminal device includes: a mobile phone, a personal computer PC, a tablet At least one of computer pad and smart TV. For example, when it is determined that the terminal device is a mobile phone according to the acquired information of the terminal device, a preset number of messages that support browsing in the mobile phone are selected from the candidate push messages as push messages. Or, when it is determined that the terminal device is a Pad according to the acquired information of the terminal device, a preset number of messages that support browsing in the Pad are selected from the candidate push messages as push messages.
方法二Method Two
第一步,浏览器确定所述候选推送消息的推送级别。In the first step, the browser determines the push level of the candidate push message.
在本实施例中可以将根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别;将根据所述内容关键信息匹配得到的候选推送消息的推送级别确定为第二推送级别;将根据所述URL特征值匹配得到的候选推送消息的推送级别确定为第三推送级别;其中,第一推送级别高于第二推送级别,第二推送级别高于第三推送级别。In this embodiment, the push level of the candidate push message obtained by matching the content key information and the URL feature value may be determined as the first push level; the push level of the candidate push message obtained by matching the content key information The level is determined as the second push level; the push level of the candidate push message obtained according to the URL characteristic value matching is determined as the third push level; wherein, the first push level is higher than the second push level, and the second push level is higher than The third push level.
进一步地,还可以对所述第一推送级别中的候选推送消息的推送级别作进一步限定,如:当所述内容关键信息中的关键字和所述URL特征值中的关键字重合时,则将根据重合的所述关键字匹配得到的候选推送消息的推送级别确定为所述第一推送级别中的最高推送级别。Further, the push level of the candidate push message in the first push level can be further limited, for example: when the keyword in the content key information coincides with the keyword in the URL feature value, then Determining the push level of the candidate push messages obtained according to the coincident keyword matching as the highest push level in the first push level.
第二步,浏览器按照所述推送级别由高到底的顺序依次选取预置数量的消息作为推送消息。In the second step, the browser sequentially selects a preset number of messages as push messages in descending order of the push levels.
浏览器优选选择第一推送级别中的最高推送级别的消息作为推送消息;当第一推送级别中的最高推送级别的消息数量不满足所述预置数量时,选择第一推送级别中除最高推送级别外的其它级别的消息作为推送消息;当第一推送级别的消息的数量不满足所述预置数量时,选择第二推送级别的消息作为推送消息;当第一推送级别的消息和第二推送级别的消息的数量之和仍然不满足所述预置数量时,选择第三推送级别的消息作为推送消息。The browser preferably selects the message of the highest push level in the first push level as the push message; Messages of other levels outside the level are used as push messages; when the number of messages of the first push level does not meet the preset number, messages of the second push level are selected as push messages; when messages of the first push level and the second When the sum of the quantity of messages of the push level still does not satisfy the preset quantity, the message of the third push level is selected as the push message.
方法三method three
第一步,浏览器获取每个候选推送消息的发布时间。In the first step, the browser obtains the publishing time of each candidate push message.
第二步,浏览器按照所述发布时间的先后顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息;In the second step, the browser sequentially selects messages satisfying the preset number from the candidate push messages as push messages in the order of the publishing time;
在本实施例中,浏览器还可以将从数据服务器中获取最新信息直接作为推送消息推送给用户。其中,所述最新信息是指通过数据服务器动态更新得到的、与当前时间最接近的信息。In this embodiment, the browser may also directly push the latest information obtained from the data server to the user as a push message. Wherein, the latest information refers to the information closest to the current time which is dynamically updated by the data server.
方法四Method Four
第一步,获取每个候选推送消息的点击率。The first step is to obtain the click-through rate of each candidate push message.
第二步,按照所述点击率由高到低的顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息。In the second step, according to the order of the click-through rates from high to low, sequentially select messages satisfying the preset number from the candidate push messages as push messages.
方法五Method five
第一步,根据所述相匹配页面对应的浏览器用户的历史行为,确定所述浏览器用户的偏好。The first step is to determine the preference of the browser user according to the historical behavior of the browser user corresponding to the matching page.
其中,所述浏览器用户的历史行为包括:浏览器用户访问过的页面、浏览器用户使用过的搜索词和浏览器用户浏览次数中的至少一种。Wherein, the historical behavior of the browser user includes: at least one of pages visited by the browser user, search terms used by the browser user, and browsing times of the browser user.
第二步,从所述候选推送消息中选取预置数量的且与所述浏览器用户的偏好相匹配的消息作为推送消息。In the second step, a preset number of messages matching the browser user's preference are selected from the candidate push messages as push messages.
这里需要说明的是,在本实施例中,由于所述候选推送消息的发布时间、和/或所述候选推送消息的点击率都是在不断更新变化的,因此,在不同的时间段,浏览器针对同一用户选择的推送消息是不完全相同的。例如,在12:00时浏览器从候选推送消息中选取了A、B、C、D四条信息作为推送消息推送给用户张三;在13:00时,浏览器则从候选推送消息中选取了B、C、D、E四条信息作为推送消息推送给用户张三。两次选取的推送消息是不完全相同的。It should be noted here that, in this embodiment, since the release time of the candidate push message and/or the click-through rate of the candidate push message are constantly updated and changed, in different time periods, browsing The push messages selected by the server for the same user are not exactly the same. For example, at 12:00, the browser selects four pieces of information A, B, C, and D from the candidate push messages as push messages and pushes them to user Zhang San; at 13:00, the browser selects four pieces of information from the candidate push messages Four pieces of information B, C, D, and E are pushed to user Zhang San as push messages. The two selected push messages are not exactly the same.
步骤212,浏览器在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送;和/或,浏览器加载一个新窗口,并在所述新窗口中加载所述推送消息,将所述推送消息进行推送。Step 212, the browser loads an embedded page in the matching page, and pushes the push message through the embedded page; and/or, the browser loads a new window, and in the new window Load the push message, and push the push message.
所述内嵌页面可以是在所述相匹配页面中加载一个Web页面,所述加载的Web页面即一个内嵌页面。The embedded page may be a web page loaded in the matching page, and the loaded web page is an embedded page.
步骤214,浏览器确定所述相匹配页面对应的父级搜索页面。Step 214, the browser determines the parent search page corresponding to the matching page.
所述相匹配页面的父级搜索页面可以是所述相匹配页面的上一级页面,也可以是所述相匹配页面的上N级页面;其中N为大于等于2的整数。The parent search page of the matching page may be the upper level page of the matching page, or the upper N level page of the matching page; where N is an integer greater than or equal to 2.
步骤216,浏览器获取所述父级搜索页面根据用户输入的查询词搜索得到的搜索结果。其中,所述搜索结果包括所述相匹配页面。In step 216, the browser acquires the search results obtained from the parent search page based on the query words input by the user. Wherein, the search result includes the matching page.
用户在父级搜索页面中输入查询词,触发搜索操作,所述父级搜索页面根据所述查询词得到多个搜索结果,其中,所述相匹配页面是根据所述多个搜索结果中的其中一个得到的。The user inputs query words in the parent search page to trigger a search operation, and the parent search page obtains multiple search results according to the query words, wherein the matching page is based on one of the multiple search results one gets.
步骤218,浏览器在所述相匹配页面中,推送所述获取的搜索结果中的除所述相匹配页面外的其它搜索结果。Step 218, the browser pushes other search results in the obtained search results except the matched page in the matched page.
在本申请中,可以在所述相匹配页面中加载一个用于推送所述其它搜索结果的内嵌页来推送所述其它搜索结果;也可以加载一个新窗口用来推送所述其它搜索结果。In this application, an embedded page for pushing the other search results may be loaded in the matching page to push the other search results; a new window may also be loaded for pushing the other search results.
综上所述,本实施例提供的浏览器中进行消息推送的方法,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再得到与所述内容关键信息和/或所述URL特征值相匹配的推送消息,得到的推送消息不仅要满足预设的页面结构样式同时还要与所述内容关键信息和/或所述URL特征值相匹配,因此得到的推送消息精准度高。而且,针对同一用户,在不同时间,根据获取的内容关键信息和/或所述URL特征值的不同,推送的推送消息也是不同的,推送消息是实时更新的,进一步地提高了推送的推送消息的精准度。To sum up, the method for pushing messages in the browser provided by this embodiment first determines the structural style of the current browsing page, and after confirming that the current browsing page matches the preset page structural style, then obtains the information corresponding to the content. The key information and/or the push message matching the URL feature value, the obtained push message must not only meet the preset page structure style but also match the content key information and/or the URL feature value, so The accuracy of the push messages obtained is high. Moreover, for the same user, at different times, according to the key information of the content obtained and/or the URL feature value, the push messages to be pushed are also different, and the push messages are updated in real time, which further improves the quality of the push messages. the accuracy.
在进行所述推送消息的推送时,则是按照设定推送规则选取适合当前用户的消息进行推送,提高了推送的推送消息与用户访问行为的匹配度,满足用户需求,避免了资源浪费。When pushing the push message, the message suitable for the current user is selected and pushed according to the set push rules, which improves the matching degree between the pushed message and the user's access behavior, meets the needs of the user, and avoids waste of resources.
进一步地,所述推送消息是由浏览器侧从一个或多个数据服务器中匹配得到的,推送消息的来源不再局限于某一电商或者某一服务提供方的数据。推送消息的来源更加广泛,得到的匹配的推送消息的种类更加繁多,满足不同用户的不同需求。Further, the push message is obtained by matching from one or more data servers on the browser side, and the source of the push message is no longer limited to the data of a certain e-commerce company or a certain service provider. The sources of push messages are more extensive, and the types of matching push messages obtained are more diverse, so as to meet different needs of different users.
参照图3,示出了本发明第三实施例中一种浏览器中进行消息推送的方法的流程图。在本实施例中,所述浏览器中进行消息推送的方法可以包括:Referring to FIG. 3 , it shows a flow chart of a method for pushing messages in a browser in a third embodiment of the present invention. In this embodiment, the method for pushing messages in the browser may include:
步骤302,浏览器确定当前浏览页面与预设的页面结构样式相匹配。In step 302, the browser determines that the currently browsed page matches the preset page structure style.
步骤304,浏览器根据所述相匹配页面上的当前内容,确定所述相匹配页面上的当前操作行为。Step 304, the browser determines the current operation behavior on the matching page according to the current content on the matching page.
例如,当所述相匹配页面上的当前内容是关于财经类的文字内容时,根据所述相匹配页面上的当前内容确定的用户的当前操作行为可以是:用户正在阅读财经类的新闻;当所述相匹配页面上的当前内容是关于游戏类的视频内容时,根据所述相匹配页面上的当前内容确定的用户的当前操作行为可以是:用户正在观看游戏类的视频。For example, when the current content on the matching page is about financial text content, the current operation behavior of the user determined according to the current content on the matching page may be: the user is reading financial news; When the current content on the matching page is about game video content, the user's current operation behavior determined according to the current content on the matching page may be: the user is watching a game video.
步骤306,浏览器根据确定的当前操作行为,生成指示所述浏览器用户类型的标签标识ID。Step 306, the browser generates a tag ID indicating the browser user type according to the determined current operation behavior.
浏览器可以将上述正在阅读财经类新闻的用户确定为财经类用户,生成一个指示所述用户为财经类用户的标签标识001;将所述正在观看游戏类视频的用户确定为游戏类的用户,生成一个指示所述用户为游戏类用户的标签标识002。The browser can determine the above-mentioned user who is reading financial news as a financial user, and generate a label identification 001 indicating that the user is a financial user; determine the user who is watching a game video as a game user, A tag identifier 002 indicating that the user is a game user is generated.
这里需要说明的是,在本实施例中,由于在不同时刻用户通过页面浏览的类容并不完全相同,因此,同一用户对应的用户类型标签标识ID可以是一个或多个;进一步地,同一用户的用户类型标签标识ID会根据时间的变化而改变。What needs to be explained here is that in this embodiment, since the categories that users browse through pages at different times are not exactly the same, therefore, the user type label ID corresponding to the same user can be one or more; further, the same The user type tag ID of the user will change according to the change of time.
步骤308,浏览器提取所述标签标识ID和所述相匹配页面对应的网址中的URL特征值。Step 308, the browser extracts the tag ID and the URL feature value in the URL corresponding to the matching page.
步骤310,浏览器获取与所述标签标识ID和/或所述URL特征值相匹配的推送消息。Step 310, the browser obtains the push message matching the tag ID and/or the URL characteristic value.
在本实施例中,浏览器中还可以设置有一个推送消息选择选项。当所述推送消息选择选项的选择项为否时,则终止操作;当所述推送消息选择选项的选择项为是时,则继续执行步骤312。In this embodiment, a push message selection option may also be set in the browser. When the selection item of the push message selection option is No, the operation is terminated; when the selection item of the push message selection option is Yes, continue to execute step 312 .
步骤312,浏览器在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送。Step 312, the browser loads an embedded page in the matching page, and pushes the push message through the embedded page.
综上所述,本实施例提供的浏览器中进行消息推送的方法,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再得到与所述标签标识ID和/或所述URL特征值相匹配的推送消息,通过当前浏览页面的结构样式,可以确定用户当前浏览的页面是否是用户常用的或偏好的页面,通过所述标签标识ID和/或所述URL特征值可以确定用户的兴趣爱好和用户当前浏览的内容,获取的推送消息与用户访问行为相适应,从而提高了获取的推送消息精准度,满足用户需求。To sum up, the method for pushing messages in the browser provided by this embodiment first determines the structural style of the current browsing page, and after confirming that the current browsing page matches the preset page structural style, then obtains the information related to the label. The identification ID and/or the push message matching the URL characteristic value can determine whether the page currently browsed by the user is the user's commonly used or preferred page through the structural style of the currently browsed page, and identify the ID and/or The URL feature value can determine the user's interests and hobbies and the content currently browsed by the user, and the obtained push message is adapted to the user's access behavior, thereby improving the accuracy of the obtained push message and meeting the user's needs.
进一步地,在本实施例中,浏览器中设置有一个推送消息选择选项。当所述推送消息选择选项的选择项为否时不进行消息推送,满足用户需求,避免造成用户的逆反心理,同时避免了资源浪费。当将所述推送消息选择选项的选择项由否更改为是时,可以快速将将获取的推送消息推送给用户,提高了消息推送效率。Further, in this embodiment, a push message selection option is set in the browser. When the selection option of the push message selection option is No, the message push is not performed, which meets the needs of the user, avoids rebellious psychology of the user, and avoids waste of resources at the same time. When the selection item of the push message selection option is changed from No to Yes, the obtained push message can be quickly pushed to the user, which improves the message push efficiency.
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.
基于与上述浏览器中进行消息推送的方法同一发明构思,参照图4,示出了本发明第四实施例中一种浏览器终端的结构框图。在本实施例中,所述浏览器终端可以包括:Based on the same inventive concept as the above-mentioned method for pushing messages in a browser, referring to FIG. 4 , a structural block diagram of a browser terminal in a fourth embodiment of the present invention is shown. In this embodiment, the browser terminal may include:
确定模块402,用于确定当前浏览页面与预设的页面结构样式相匹配。The determining module 402 is configured to determine that the currently browsed page matches a preset page structure style.
提取模块404,用于提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值。The extracting module 404 is configured to extract the key content information in the matching page and the URL feature value in the URL corresponding to the matching page.
在本实施例中,所述URL特征值可以包括:指示页面类型的值和指示网页种类的值;其中,所述页面类型包括:文字页面、图片页面和视频页面中的一种;所述网页种类包括:军事类、财经类、体育类、娱乐类、科技类、房产类、汽车类、教育类、人物类和游戏类中的至少一种。In this embodiment, the characteristic value of the URL may include: a value indicating the type of the page and a value indicating the type of the web page; wherein, the type of the page includes: one of a text page, a picture page and a video page; the web page The category includes: at least one of military, financial, sports, entertainment, technology, real estate, automobile, education, character and game.
获取模块406,用于获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。The acquiring module 406 is configured to acquire push messages matching the content key information and/or the URL characteristic value.
较佳地,所述获取模块406,可以具体用于从一个或多个数据服务器中获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。Preferably, the obtaining module 406 may be specifically configured to obtain push messages matching the content key information and/or the URL feature value from one or more data servers.
在本实施例中,所述推送消息可以包括:网页文字消息、网页图片消息、网页视频消息、微博话题、微博评论、贴吧消息、论坛话题和论坛评论中的至少一种。In this embodiment, the push message may include: at least one of webpage text messages, webpage picture messages, webpage video messages, microblog topics, microblog comments, post bar messages, forum topics, and forum comments.
综上所述,本实施例提供的浏览器终端,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再提取当前浏览页面的内容关键信息和URL特征值,进而得到与当前浏览页面的内容关键信息和/或URL特征值相匹配的推送消息。通过当前浏览页面的结构样式,可以确定用户当前浏览的页面是否是用户常用的或偏好的页面;通过当前浏览页面的内容关键信息和/或URL特征值,能够明确确定用户当前浏览的内容,从而使得匹配得到的推送消息精准度高,且与用户访问行为相适应,满足用户需求,避免了资源浪费。To sum up, the browser terminal provided by this embodiment first determines the structural style of the current browsing page, and then extracts the content key information and URL of the current browsing page after confirming that the current browsing page matches the preset page structural style. feature value, and then obtain a push message matching the content key information and/or URL feature value of the currently browsed page. Through the structural style of the currently browsed page, it can be determined whether the page currently browsed by the user is a page frequently used or preferred by the user; through the content key information and/or URL characteristic value of the currently browsed page, the content currently browsed by the user can be clearly determined, thereby The matched push message has high accuracy and is compatible with the user's access behavior to meet the user's needs and avoid resource waste.
参照图5,示出了本发明第五实施例中一种浏览器终端的结构框图。在本实施例中,所述浏览器终端可以包括:Referring to FIG. 5 , it shows a structural block diagram of a browser terminal in a fifth embodiment of the present invention. In this embodiment, the browser terminal may include:
确定模块502,用于确定当前浏览页面与预设的页面结构样式相匹配。A determining module 502, configured to determine that the currently browsed page matches a preset page structure style.
在本实施例中,所述确定模块502可以包括:In this embodiment, the determining module 502 may include:
预设子模块5022,用于在浏览器侧预设至少一页面结构样式匹配设置。其中,所述预设子模块5022可以包括:保存子单元50222,用于建立一匹配设置文件并将所述至少一页面结构样式匹配设置保存在所述匹配设置文件中。其中,所述匹配设置文件中包括至少一个网站节点,每个网站节点中包括至少一种网页节点,至少部分所述网页节点中设有两个以上的匹配设置描述节点,每个匹配设置描述节点对应一页面结构样式匹配设置,至少两个所述页面结构样式的匹配设置中分别包括对相同类型页面结构样式的不同匹配设置项。The preset sub-module 5022 is configured to preset at least one page structure style matching setting on the browser side. Wherein, the preset submodule 5022 may include: a saving subunit 50222, configured to create a matching setting file and save the at least one page structure style matching setting in the matching setting file. Wherein, the matching setting file includes at least one website node, each website node includes at least one kind of web page node, at least some of the web page nodes are provided with more than two matching setting description nodes, and each matching setting description node Corresponding to a page structure style matching setting, the matching settings of at least two page structure styles respectively include different matching setting items for the same type of page structure style.
页面结构样式获取子模块5024,用于在浏览器侧进行所述当前浏览页面下载,获取所述当前浏览页面的页面结构样式。The page structure style acquisition sub-module 5024 is configured to download the current browsing page on the browser side, and acquire the page structure style of the current browsing page.
匹配子模块5026,用于将所述当前浏览页面的页面结构样式与所述页面结构样式匹配设置进行匹配,直至所述页面结构样式匹配成功。其中,所述匹配子模块5026可以包括:The matching sub-module 5026 is configured to match the page structure style of the currently browsed page with the page structure style matching setting until the page structure style matches successfully. Wherein, the matching submodule 5026 may include:
查找子单元50262,用于在所述匹配设置文件中查找所述当前浏览页面的页面结构样式对应的网站节点及网页节点。The search subunit 50262 is configured to search for the website node and web page node corresponding to the page structure style of the currently browsed page in the matching setting file.
第一匹配子单元50264,用于在查找到的网页节点下,将所述当前浏览页面的页面结构样式与该网页节点中的第一匹配设置描述节点中的匹配设置项依次进行匹配。The first matching subunit 50264 is configured to sequentially match the page structure style of the currently browsed page with the matching setting items in the first matching setting description node in the found web page node.
匹配结果确定子单元50266,用于对匹配成功的匹配设置项,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配。The matching result determining subunit 50266 is configured to determine that the page structure style of the currently browsed page matches the preset page structure style for the matching setting items that are successfully matched.
第二匹配子单元50268,用于对匹配失败的匹配设置项,在该网页节点中除第一匹配设置描述节点之外的匹配设置描述节点中查找与该匹配失败的匹配设置项相对应的匹配设置项,将查找到的匹配设置项与所述当前浏览页面的页面结构样式进行匹配,直至查找到的匹配设置项与所述当前浏览页面的页面结构样式匹配成功,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配。The second matching subunit 50268 is used to search for matching setting items corresponding to the matching setting items that fail to match in the matching setting description nodes in the web page node except the first matching setting description node. Setting items, matching the found matching setting items with the page structure style of the current browsing page until the found matching setting items match the page structure style of the current browsing page successfully, and determining the page structure of the current browsing page The styles match the preset page structure styles.
页面级别判断模块504,用于根据所述相匹配页面对应的URL的结构,判断所述相匹配页面的页面级别。其中,所述页面级别包括:首页级、标题页级和内容详情页级。The page level judging module 504 is configured to judge the page level of the matching page according to the structure of the URL corresponding to the matching page. Wherein, the page levels include: home page level, title page level and content details page level.
有效页面确定模块506,用于当所述相匹配页面的页面级别为所述内容详情页级时,确定所述相匹配页面为有效页面,执行提取模块508。The effective page determining module 506 is configured to determine that the matching page is a valid page when the page level of the matching page is the content detail page level, and execute the extracting module 508 .
当确定的所述相匹配页面不是有效页面时,则返回页面级别判断模块504继续判断所述相匹配页面的页面级别。When the determined matching page is not a valid page, return to the page level judging module 504 to continue judging the page level of the matching page.
提取模块508,用于提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值。An extracting module 508, configured to extract the key content information in the matching page and the URL feature value in the URL corresponding to the matching page.
较佳地,所述提取模块508在提取所述相匹配页面中的内容关键信息时,可以获取所述相匹配页面中的网页元素信息;根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息;和/或,提取所述相匹配页面对应的标题的标题关键字。Preferably, when the extraction module 508 extracts the content key information in the matching page, it can obtain the webpage element information in the matching page; extract from the matching page according to the webpage element information Image information, and/or video file information, and/or audio file information in the matching page; and/or, extracting a title keyword of a title corresponding to the matching page.
进一步地,所述提取模块508在根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息时,可以根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息,以及,相对应的图片描述信息、和/或视频描述信息、和/或音频描述信息;然后,根据所述图片描述信息、和/或视频描述信息、和/或音频描述信息,判断相对应的所述图片信息指示的图片、和/或视频文件信息指示的视频、和/或音频文件信息指示的音频是否满足设定的内容关键信息标准;若是,则将满足标准的所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息;若否,则放弃将所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息。Further, when the extracting module 508 extracts the picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the webpage element information, it may according to The web page element information extracts the picture information, and/or video file information, and/or audio file information, and the corresponding picture description information, and/or video file information in the matching page from the matching page description information, and/or audio description information; then, according to the picture description information, and/or video description information, and/or audio description information, determine the corresponding picture and/or video file indicated by the picture information Whether the video indicated by the information and/or the audio indicated by the audio file information meet the set key content information standard; if so, the picture information, and/or video file information, and/or audio file information that meets the standard are extracted is the key content information; if not, abandon extracting the picture information, and/or video file information, and/or audio file information as content key information.
获取模块510,用于获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。The obtaining module 510 is configured to obtain push messages matching the content key information and/or the URL characteristic value.
在本实施例中,所述获取模块510,可以包括:In this embodiment, the acquiring module 510 may include:
候选推送消息获取子模块5102,用于获取与所述内容关键信息和/或所述URL特征值相匹配的候选推送消息。The candidate push message acquiring submodule 5102 is configured to acquire candidate push messages matching the content key information and/or the URL characteristic value.
选取子模块5104,用于按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息。The selection sub-module 5104 is configured to select a preset number of messages from the candidate push messages as push messages according to a set push rule.
在本实施例中,所述选取子模块5104可以通过以下任意一种方案中的子单元来具体实现:In this embodiment, the selecting submodule 5104 may be implemented by subunits in any of the following schemes:
方案一Option One
信息获取子单元,用于获取用于接收所述推送消息的终端设备的信息。The information acquiring subunit is configured to acquire the information of the terminal equipment used to receive the push message.
第一选取子单元,用于从所述候选推送消息中选取预置数量的、且满足所述终端设备的信息的消息作为推送消息。其中,所述满足所述终端设备的信息的消息,包括:所述推送消息对应的页面结构样式满足所述终端设备支持浏览的页面结构样式;其中,所述终端设备包括:手机、个人计算机PC、平板电脑Pad和智能电视中的至少一种。The first selection subunit is configured to select a preset number of messages from the candidate push messages and satisfy the information of the terminal device as push messages. Wherein, the message that satisfies the information of the terminal device includes: the page structure style corresponding to the push message meets the page structure style that the terminal device supports browsing; wherein, the terminal device includes: a mobile phone, a personal computer PC , Tablet PC Pad and Smart TV at least one.
方案二Option II
推送级别确定子单元,用于确定所述候选推送消息的推送级别;其中,根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别;根据所述内容关键信息匹配得到的候选推送消息的推送级别确定为第二推送级别;根据所述URL特征值匹配得到的候选推送消息的推送级别确定为第三推送级别;其中,第一推送级别高于第二推送级别,第二推送级别高于第三推送级别。The push level determination subunit is configured to determine the push level of the candidate push message; wherein, the push level of the candidate push message obtained by matching the content key information and the URL feature value is determined as the first push level; according to the The push level of the candidate push message obtained by matching the content key information is determined as the second push level; the push level of the candidate push message obtained by matching the URL feature value is determined as the third push level; wherein, the first push level is higher than The second push level, the second push level is higher than the third push level.
较佳地,所述推送级别确定子单元在将根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别时:当所述内容关键信息中的关键字和所述URL特征值中的关键字重合时,则将根据重合的所述关键字匹配得到的候选推送消息的推送级别确定为所述第一推送级别中的最高推送级别。Preferably, when the push level determination subunit determines the push level of the candidate push message obtained by matching the content key information and the URL feature value as the first push level: when the content key information contains When the keyword coincides with the keyword in the URL feature value, the push level of the candidate push message obtained according to the coincident keyword matching is determined as the highest push level in the first push level.
第二选取子单元,用于按照所述推送级别由高到底的顺序依次选取预置数量的消息作为推送消息。The second selection subunit is configured to sequentially select a preset number of messages as push messages in descending order of the push levels.
方案三third solution
时间获取子单元,用于获取每个候选推送消息的发布时间。The time obtaining subunit is used to obtain the publishing time of each candidate push message.
第三选取子单元,用于按照所述发布时间的先后顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息。The third selecting subunit is configured to sequentially select messages satisfying the preset number from the candidate push messages as push messages according to the order of release time.
方案四Option four
点击率获取子单元,用于获取每个候选推送消息的点击率。The click rate obtaining subunit is used to obtain the click rate of each candidate push message.
第四选取子单元,用于按照所述点击率由高到低的顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息。The fourth selection subunit is configured to sequentially select messages satisfying the preset number from the candidate push messages as push messages in descending order of the click-through rate.
方案五Option five
偏好获取子单元,用于根据所述相匹配页面对应的浏览器用户的历史行为,确定所述浏览器用户的偏好;其中,所述浏览器用户的历史行为包括:浏览器用户访问过的页面、浏览器用户使用过的搜索词和浏览器用户浏览次数中的至少一种。A preference acquisition subunit, configured to determine the preference of the browser user according to the historical behavior of the browser user corresponding to the matching page; wherein, the historical behavior of the browser user includes: pages visited by the browser user , at least one of the search terms used by the browser user and the browsing times of the browser user.
第五选取子单元,用于从所述候选推送消息中选取预置数量的且与所述浏览器用户的偏好相匹配的消息作为推送消息。The fifth selecting subunit is configured to select a preset number of messages matching the preference of the browser user as push messages from the candidate push messages.
内嵌页加载模块512,用于在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送。The embedded page loading module 512 is configured to load an embedded page in the matching page, and push the push message through the embedded page.
窗口加载模块514,用于在所述相匹配页面对应的浏览器中加载新窗口,并在所述新窗口中加载所述推送消息,将所述推送消息进行推送。The window loading module 514 is configured to load a new window in the browser corresponding to the matching page, load the push message in the new window, and push the push message.
搜索页面确定模块516,用于确定所述相匹配页面对应的父级搜索页面。The search page determining module 516 is configured to determine the parent search page corresponding to the matching page.
搜索结果获取模块518,用于获取所述父级搜索页面根据用户输入的查询词搜索得到的搜索结果。其中,所述搜索结果包括所述相匹配页面。The search result obtaining module 518 is configured to obtain the search results obtained by searching the parent search page according to the query word input by the user. Wherein, the search result includes the matching page.
搜索结果推送模块520,用于在所述相匹配页面中,推送所述获取的搜索结果中的除所述相匹配页面外的其它搜索结果。The search result pushing module 520 is configured to push, in the matching page, other search results in the obtained search results except the matching page.
综上所述,本实施例提供的浏览器终端,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再得到与所述内容关键信息和/或所述URL特征值相匹配的推送消息,得到的推送消息精准度高。在进行所述推送消息的推送时,则是按照设定推送规则选取适合当前用户的消息进行推送,提高了推送的推送消息与用户访问行为的匹配度,满足用户需求,避免了资源浪费。To sum up, the browser terminal provided by this embodiment first determines the structural style of the current browsing page, and then obtains the key information and/or The push message that matches the characteristic value of the URL can obtain a push message with high accuracy. When pushing the push message, the message suitable for the current user is selected and pushed according to the set push rules, which improves the matching degree between the pushed message and the user's access behavior, meets the needs of the user, and avoids waste of resources.
参照图6,示出了本发明第六实施例中一种浏览器终端的结构框图。在本实施例中,所述浏览器终端可以包括:Referring to FIG. 6 , it shows a structural block diagram of a browser terminal in the sixth embodiment of the present invention. In this embodiment, the browser terminal may include:
确定模块602,用于确定当前浏览页面与预设的页面结构样式相匹配。A determining module 602, configured to determine that the currently browsed page matches a preset page structure style.
提取模块604,用于提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值。An extracting module 604, configured to extract key content information in the matching page and URL feature values in the URL corresponding to the matching page.
较佳地,所述提取模块604在提取所述相匹配页面中的内容关键信息时,根据所述相匹配页面上的当前内容,确定所述相匹配页面上的当前操作行为;根据确定的当前操作行为,生成指示所述浏览器用户类型的标签标识ID;提取所述标签标识ID。Preferably, the extraction module 604 determines the current operation behavior on the matching page according to the current content on the matching page when extracting the key content information in the matching page; according to the determined current The operation behavior is to generate a tag ID indicating the browser user type; and extract the tag ID.
获取模块606,用于获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。The obtaining module 606 is configured to obtain push messages matching the key information of the content and/or the feature value of the URL.
较佳地,当所述提取模块604在提取所述相匹配页面中的内容关键信息时,提取到所述标签标识ID后,所述获取模块606,具体可以用于获取与所述标签标识ID和/或所述URL特征值相匹配的推送消息。Preferably, when the extraction module 604 extracts the content key information in the matching page, after extracting the tag identification ID, the acquisition module 606 can specifically be used to obtain the tag identification ID and/or push messages matching the URL characteristic value.
内嵌页加载模块608,用于在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送。The embedded page loading module 608 is configured to load an embedded page in the matching page, and push the push message through the embedded page.
综上所述,本实施例提供的浏览器中进行消息推送的方法,先确定当前浏览页面的结构样式,在确定当前浏览页面与预设的页面结构样式相匹配后,再提取当前浏览页面的内容关键信息和URL特征值,进而得到与当前浏览页面的内容关键信息和/或URL特征值相匹配的推送消息。通过当前浏览页面的结构样式,可以确定用户当前浏览的页面是否是用户常用的或偏好的页面;通过当前浏览页面的内容关键信息和/或URL特征值,能够明确确定用户当前浏览的内容,从而使得匹配得到的推送消息精准度高,且与用户访问行为相适应,满足用户需求,避免了资源浪费。To sum up, the method for pushing messages in the browser provided by this embodiment first determines the structural style of the current browsing page, and then extracts the structural style of the current browsing page after confirming that the current browsing page matches the preset page structural style. Content key information and URL feature value, and then obtain a push message matching the content key information and/or URL feature value of the currently browsed page. Through the structural style of the currently browsed page, it can be determined whether the page currently browsed by the user is a page frequently used or preferred by the user; through the content key information and/or URL characteristic value of the currently browsed page, the content currently browsed by the user can be clearly determined, thereby The matched push message has high accuracy and is compatible with the user's access behavior to meet the user's needs and avoid resource waste.
对于上述装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the above-mentioned device embodiments, because they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to part of the description of the method embodiments.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种浏览器终端的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in a browser terminal device according to an 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. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种浏览器中进行消息推送的方法,包括:The invention discloses A1, a method for pushing messages in a browser, including:
确定当前浏览页面与预设的页面结构样式相匹配;Determine that the currently browsed page matches the preset page structure style;
提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值;Extracting the key content information in the matching page and the URL feature value in the URL corresponding to the matching page;
获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。Acquiring push messages matching the key information of the content and/or the feature value of the URL.
A2、如A1所述的方法,在所述提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值步骤之前,所述方法还包括:A2. The method as described in A1, before the step of extracting the key content information in the matching page and the URL feature value in the URL corresponding to the matching page, the method also includes:
根据所述相匹配页面对应的URL的结构,判断所述相匹配页面的页面级别;其中,所述页面级别包括:首页级、标题页级和内容详情页级;According to the URL structure corresponding to the matching page, determine the page level of the matching page; wherein, the page level includes: home page level, title page level and content details page level;
当所述相匹配页面的页面级别为所述内容详情页级时,确定所述相匹配页面为有效页面,执行所述提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值的步骤。When the page level of the matching page is the content details page level, it is determined that the matching page is a valid page, and the process of extracting key content information in the matching page and corresponding to the matching page is performed. Steps for the URL characteristic value in the URL.
A3、如A1所述的方法,A3. The method described in A1,
所述提取所述相匹配页面中的内容关键信息,包括:根据所述相匹配页面上的当前内容,确定所述相匹配页面上的当前操作行为;根据确定的当前操作行为,生成指示所述浏览器用户类型的标签标识ID;提取所述标签标识ID;The extracting the content key information in the matching page includes: determining the current operation behavior on the matching page according to the current content on the matching page; The tag ID of the browser user type; extract the tag ID;
所述获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息包括:获取与所述标签标识ID和/或所述URL特征值相匹配的推送消息。The acquiring the push message matching the content key information and/or the URL feature value includes: acquiring the push message matching the tag ID and/or the URL feature value.
A4、如A1所述的方法,所述获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息,包括:A4. The method as described in A1, the acquisition of the push message matching the key information of the content and/or the characteristic value of the URL includes:
获取与所述内容关键信息和/或所述URL特征值相匹配的候选推送消息;Acquiring candidate push messages matching the key information of the content and/or the characteristic value of the URL;
按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息。According to the set push rule, a preset number of messages are selected from the candidate push messages as push messages.
A5、如A4所述的方法,所述按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息,包括:A5. The method as described in A4, wherein according to the set push rules, a preset number of messages are selected from the candidate push messages as push messages, including:
获取用于接收所述推送消息的终端设备的信息;Acquiring information about the terminal device used to receive the push message;
从所述候选推送消息中选取预置数量的、且满足所述终端设备的信息的消息作为推送消息。Selecting a preset number of messages satisfying the information of the terminal device from the candidate push messages as push messages.
A6、如A5所述的方法,所述满足所述终端设备的信息的消息,包括:A6. The method as described in A5, the message satisfying the information of the terminal device includes:
所述推送消息对应的页面结构样式满足所述终端设备支持浏览的页面结构样式;其中,所述终端设备包括:手机、个人计算机PC、平板电脑Pad和智能电视中的至少一种。The page structure style corresponding to the push message satisfies the page structure style supported by the terminal device for browsing; wherein, the terminal device includes: at least one of a mobile phone, a personal computer PC, a tablet computer Pad, and a smart TV.
A7、如A4所述的方法,所述按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息,包括:A7. The method as described in A4, wherein according to the set push rules, a preset number of messages are selected from the candidate push messages as push messages, including:
确定所述候选推送消息的推送级别;其中,将根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别;将根据所述内容关键信息匹配得到的候选推送消息的推送级别确定为第二推送级别;将根据所述URL特征值匹配得到的候选推送消息的推送级别确定为第三推送级别;其中,第一推送级别高于第二推送级别,第二推送级别高于第三推送级别;Determine the push level of the candidate push message; wherein, determine the push level of the candidate push message obtained according to the matching of the content key information and the URL feature value as the first push level; match the content key information according to the obtained The push level of the candidate push message is determined as the second push level; the push level of the candidate push message obtained according to the URL characteristic value matching is determined as the third push level; wherein, the first push level is higher than the second push level, The second pushing level is higher than the third pushing level;
按照所述推送级别由高到底的顺序依次选取预置数量的消息作为推送消息。A preset number of messages are sequentially selected as push messages in descending order of the push levels.
A8、如A7所述的方法,所述将根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别,包括:A8. The method as described in A7, wherein the determination of the push level of the candidate push message obtained according to the matching of the content key information and the URL feature value as the first push level includes:
当所述内容关键信息中的关键字和所述URL特征值中的关键字重合时,则将根据重合的所述关键字匹配得到的候选推送消息的推送级别确定为所述第一推送级别中的最高推送级别。When the keyword in the content key information coincides with the keyword in the URL feature value, the push level of the candidate push message obtained according to the overlapped keyword match is determined as the push level of the first push level The highest push level.
A9、如A1所述的方法,在所述获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息步骤之后,所述方法还包括:A9. The method as described in A1, after the step of obtaining the push message matching the content key information and/or the URL characteristic value, the method further includes:
确定所述相匹配页面对应的父级搜索页面;determining the parent search page corresponding to the matching page;
获取所述父级搜索页面根据用户输入的查询词搜索得到的搜索结果;其中,所述搜索结果包括所述相匹配页面;Obtain the search results obtained by searching the parent search page according to the query words input by the user; wherein, the search results include the matching pages;
在所述相匹配页面中,推送所述获取的搜索结果中的除所述相匹配页面外的其它搜索结果。In the matching page, other search results in the acquired search results except the matching page are pushed.
A10、如A1所述的方法,所述提取所述相匹配页面中的内容关键信息,包括:A10, the method as described in A1, the extraction of the key content information in the matching page includes:
获取所述相匹配页面中的网页元素信息;Obtaining webpage element information in the matching webpage;
根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息;Extracting picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the webpage element information;
和/或,and / or,
提取所述相匹配页面对应的标题的标题关键字。A title keyword of a title corresponding to the matching page is extracted.
A11、如A10所述的方法,所述根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息,包括:A11. The method as described in A10, wherein the picture information, and/or video file information, and/or audio file information in the matching page are extracted from the matching page according to the webpage element information, including :
根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息,以及,相对应的图片描述信息、和/或视频描述信息、和/或音频描述信息;Extracting picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the web page element information, and corresponding picture description information, and/or Video description information, and/or audio description information;
根据所述图片描述信息、和/或视频描述信息、和/或音频描述信息,判断相对应的所述图片信息指示的图片、和/或视频文件信息指示的视频、和/或音频文件信息指示的音频是否满足设定的内容关键信息标准;According to the picture description information, and/or video description information, and/or audio description information, determine the corresponding picture indicated by the picture information, and/or the video indicated by the video file information, and/or the audio file information indicated Whether the audio of the audio meets the set content key information standards;
若是,则将满足标准的所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息;If yes, then extract the picture information, and/or video file information, and/or audio file information that meet the standard as content key information;
若否,则放弃将所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息。If not, give up extracting the picture information, and/or video file information, and/or audio file information as content key information.
A12、如A1所述的方法,所述确定当前浏览页面与预设的页面结构样式相匹配,包括:A12, the method as described in A1, said determining that the current browsing page matches the preset page structure style, including:
在浏览器侧预设至少一页面结构样式匹配设置;Preset at least one page structure style matching setting on the browser side;
在浏览器侧进行所述当前浏览页面下载,获取所述当前浏览页面的页面结构样式;downloading the current browsing page at the browser side, and obtaining the page structure style of the current browsing page;
将所述当前浏览页面的页面结构样式与所述页面结构样式匹配设置进行匹配,直至所述页面结构样式匹配成功。Matching the page structure style of the currently browsed page with the page structure style matching setting until the page structure style matches successfully.
A13、如A12所述的方法,所述在浏览器侧预设至少一页面结构样式匹配设置,包括:A13. The method as described in A12, wherein at least one page structure style matching setting is preset on the browser side, including:
建立一匹配设置文件并将所述至少一页面结构样式匹配设置保存在所述匹配设置文件中;Create a matching setting file and save the at least one page structure style matching setting in the matching setting file;
其中,所述匹配设置文件中包括至少一个网站节点,每个网站节点中包括至少一种网页节点,至少部分所述网页节点中设有两个以上的匹配设置描述节点,每个匹配设置描述节点对应一页面结构样式匹配设置,至少两个所述页面结构样式的匹配设置中分别包括对相同类型页面结构样式的不同匹配设置项。Wherein, the matching setting file includes at least one website node, each website node includes at least one kind of web page node, at least some of the web page nodes are provided with more than two matching setting description nodes, and each matching setting description node Corresponding to a page structure style matching setting, the matching settings of at least two page structure styles respectively include different matching setting items for the same type of page structure style.
A14、如A13所述的方法,所述将所述当前浏览页面的页面结构样式与所述页面结构样式匹配设置进行匹配,直至所述页面结构样式匹配成功,包括:A14. The method as described in A13, wherein the page structure style of the currently browsed page is matched with the page structure style matching setting until the page structure style matches successfully, including:
在所述匹配设置文件中查找所述当前浏览页面的页面结构样式对应的网站节点及网页节点;Find the website node and web page node corresponding to the page structure style of the currently browsed page in the matching setting file;
在查找到的网页节点下,将所述当前浏览页面的页面结构样式与该网页节点中的第一匹配设置描述节点中的匹配设置项依次进行匹配;Under the found web page node, match the page structure style of the currently browsed page with the matching setting items in the first matching setting description node in the web page node;
对匹配成功的匹配设置项,根据所述匹配成功的匹配设置项,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配;For the matching setting items that match successfully, according to the matching setting items that match successfully, determine that the page structure style of the currently browsed page matches the preset page structure style;
对匹配失败的匹配设置项,在该网页节点中除第一匹配设置描述节点之外的匹配设置描述节点中查找与该匹配失败的匹配设置项相对应的匹配设置项,将查找到的匹配设置项与所述当前浏览页面的页面结构样式进行匹配,直至查找到的匹配设置项与所述当前浏览页面的页面结构样式匹配成功,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配。For the matching setting item that fails to match, search for the matching setting item corresponding to the matching setting item that fails to match in the matching setting description node except the first matching setting description node in the webpage node, and search for the matching setting item that is found Items are matched with the page structure style of the currently browsed page until the found matching setting item matches the page structure style of the currently browsed page successfully, and it is determined that the page structure style of the currently browsed page is consistent with the preset page structure style match.
A15、如A4所述的方法,所述按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息,包括:A15. The method as described in A4, wherein according to the set push rules, a preset number of messages are selected from the candidate push messages as push messages, including:
获取每个候选推送消息的发布时间;Obtain the publishing time of each candidate push message;
按照所述发布时间的先后顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息;Selecting the messages satisfying the preset number from the candidate push messages in sequence according to the order of the release time as the push messages;
或者,or,
获取每个候选推送消息的点击率;Obtain the click-through rate of each candidate push message;
按照所述点击率由高到低的顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息;According to the order of the click rate from high to low, sequentially select messages satisfying the preset number from the candidate push messages as push messages;
或者,or,
根据所述相匹配页面对应的浏览器用户的历史行为,确定所述浏览器用户的偏好;其中,所述浏览器用户的历史行为包括:浏览器用户访问过的页面、浏览器用户使用过的搜索词和浏览器用户浏览次数中的至少一种;According to the historical behavior of the browser user corresponding to the matching page, the preference of the browser user is determined; wherein, the historical behavior of the browser user includes: pages visited by the browser user, pages used by the browser user At least one of search terms and browser user views;
从所述候选推送消息中选取预置数量的且与所述浏览器用户的偏好相匹配的消息作为推送消息。Selecting a preset number of messages matching the preferences of the browser user from the candidate push messages as push messages.
A16、如A1-A15任一项所述的方法,在所述获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息步骤之后,所述方法还包括:A16. The method according to any one of A1-A15, after the step of obtaining a push message matching the content key information and/or the URL characteristic value, the method further includes:
在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送;和/或,Load an embedded page in the matching page, and push the push message through the embedded page; and/or,
在所述相匹配页面对应的浏览器中加载新窗口,并在所述新窗口中加载所述推送消息,将所述推送消息进行推送。A new window is loaded in the browser corresponding to the matching page, and the push message is loaded in the new window, and the push message is pushed.
A17、如A1-A15任一项所述的方法,所述获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息,包括:A17. The method according to any one of A1-A15, the acquiring the push message matching the content key information and/or the URL characteristic value includes:
从一个或多个数据服务器中获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。A push message matching the content key information and/or the URL feature value is acquired from one or more data servers.
A18、如A1-A15任一项所述的方法,所述URL特征值包括:指示页面类型的值和指示网页种类的值;其中,A18. The method according to any one of A1-A15, the URL feature value includes: a value indicating the type of the page and a value indicating the type of the webpage; wherein,
所述页面类型包括:文字页面、图片页面和视频页面中的一种;The page type includes: one of a text page, a picture page and a video page;
所述网页种类包括:新闻类、军事类、财经类、体育类、娱乐类、科技类、房产类、汽车类、教育类、人物类和游戏类中的至少一种。The types of web pages include: at least one of news, military, financial, sports, entertainment, science and technology, real estate, automobiles, education, people and games.
A19、如A1-A15任一项所述的方法,所述推送消息包括:网页文字消息、网页图片消息、网页视频消息、微博话题、微博评论、贴吧消息、论坛话题和论坛评论中的至少一种。A19, the method as described in any one of A1-A15, the push message includes: webpage text message, webpage picture message, webpage video message, microblog topic, microblog comment, post bar message, forum topic and forum comment at least one.
本发明还公开了B20、一种浏览器终端,包括:The present invention also discloses B20, a browser terminal, comprising:
确定模块,用于确定当前浏览页面与预设的页面结构样式相匹配;A determining module, configured to determine that the currently browsed page matches a preset page structure style;
提取模块,用于提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值;An extraction module, configured to extract the key content information in the matching page and the URL feature value in the URL corresponding to the matching page;
获取模块,用于获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。An acquisition module, configured to acquire push messages matching the content key information and/or the URL characteristic value.
B21、如B20所述的浏览器终端,所述浏览器终端还包括:B21, the browser terminal as described in B20, the browser terminal also includes:
页面级别判断模块,用于在所述提取模块提取所述相匹配页面中的内容关键信息和所述相匹配页面对应的网址中的URL特征值之前,根据所述相匹配页面对应的URL的结构,判断所述相匹配页面的页面级别;其中,所述页面级别包括:首页级、标题页级和内容详情页级;A page level judging module, configured to, according to the structure of the URL corresponding to the matching page, before the extracting module extracts the key content information in the matching page and the URL feature value in the URL corresponding to the matching page , judging the page level of the matching page; wherein, the page level includes: home page level, title page level and content details page level;
有效页面确定模块,用于当所述相匹配页面的页面级别为所述内容详情页级时,确定所述相匹配页面为有效页面,进入所述提取模块执行。A valid page determining module, configured to determine that the matching page is a valid page when the page level of the matching page is the content detail page level, and enter the extraction module for execution.
B22、如B20所述的浏览器终端,B22, the browser terminal as described in B20,
所述提取模块在提取所述相匹配页面中的内容关键信息时,根据所述相匹配页面上的当前内容,确定所述相匹配页面上的当前操作行为;根据确定的当前操作行为,生成指示所述浏览器用户类型的标签标识ID;提取所述标签标识ID;When the extracting module extracts the content key information in the matching page, according to the current content on the matching page, determine the current operation behavior on the matching page; according to the determined current operation behavior, generate an instruction The label identification ID of described browser user type; Extract described label identification ID;
所述获取模块,用于获取与所述标签标识ID和/或所述URL特征值相匹配的推送消息。The acquiring module is configured to acquire push messages matching the tag ID and/or the URL characteristic value.
B23、如B20所述的浏览器终端,所述获取模块,包括:B23, the browser terminal as described in B20, the acquisition module includes:
候选推送消息获取子模块,用于获取与所述内容关键信息和/或所述URL特征值相匹配的候选推送消息;A candidate push message obtaining submodule, configured to obtain a candidate push message matching the content key information and/or the URL characteristic value;
选取子模块,用于按照设定推送规则,从所述候选推送消息中选取预置数量的消息作为推送消息。The selection sub-module is used to select a preset number of messages from the candidate push messages as push messages according to a set push rule.
B24、如B23所述的浏览器终端,所述选取子模块,包括:B24, the browser terminal as described in B23, the described selection submodule includes:
信息获取子单元,用于获取用于接收所述推送消息的终端设备的信息;an information acquisition subunit, configured to acquire information of a terminal device for receiving the push message;
第一选取子单元,用于从所述候选推送消息中选取预置数量的、且满足所述终端设备的信息的消息作为推送消息。The first selection subunit is configured to select a preset number of messages from the candidate push messages and satisfy the information of the terminal device as push messages.
B25、如B24所述的浏览器终端,所述满足所述终端设备的信息的消息,包括:B25. The browser terminal as described in B24, the message satisfying the information of the terminal device includes:
所述推送消息对应的页面结构样式满足所述终端设备支持浏览的页面结构样式;其中,所述终端设备包括:手机、个人计算机PC、平板电脑Pad和智能电视中的至少一种。The page structure style corresponding to the push message satisfies the page structure style supported by the terminal device for browsing; wherein, the terminal device includes: at least one of a mobile phone, a personal computer PC, a tablet computer Pad, and a smart TV.
B26、如B23所述的浏览器终端,所述选取子模块,包括:B26, the browser terminal as described in B23, the described selection submodule includes:
推送级别确定子单元,用于确定所述候选推送消息的推送级别;其中,根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别;根据所述内容关键信息匹配得到的候选推送消息的推送级别确定为第二推送级别;根据所述URL特征值匹配得到的候选推送消息的推送级别确定为第三推送级别;其中,第一推送级别高于第二推送级别,第二推送级别高于第三推送级别;The push level determination subunit is configured to determine the push level of the candidate push message; wherein, the push level of the candidate push message obtained by matching the content key information and the URL feature value is determined as the first push level; according to the The push level of the candidate push message obtained by matching the content key information is determined as the second push level; the push level of the candidate push message obtained by matching the URL feature value is determined as the third push level; wherein, the first push level is higher than a second push level, the second push level is higher than the third push level;
第二选取子单元,用于按照所述推送级别由高到底的顺序依次选取预置数量的消息作为推送消息。The second selection subunit is configured to sequentially select a preset number of messages as push messages in descending order of the push levels.
B27、如B26所述的浏览器终端,所述推送级别确定子单元在将根据所述内容关键信息和所述URL特征值匹配得到的候选推送消息的推送级别确定为第一推送级别时:B27. The browser terminal as described in B26, when the push level determining subunit determines the push level of the candidate push message obtained by matching the content key information and the URL feature value as the first push level:
当所述内容关键信息中的关键字和所述URL特征值中的关键字重合时,则将根据重合的所述关键字匹配得到的候选推送消息的推送级别确定为所述第一推送级别中的最高推送级别。When the keyword in the content key information coincides with the keyword in the URL feature value, the push level of the candidate push message obtained according to the overlapped keyword match is determined as the push level of the first push level The highest push level.
B28、如B20所述的浏览器终端,所述浏览器终端还包括:B28, browser terminal as described in B20, described browser terminal also includes:
搜索页面确定模块,用于在所述获取模块获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息之后,确定所述相匹配页面对应的父级搜索页面;A search page determination module, configured to determine the parent search page corresponding to the matching page after the acquisition module acquires a push message matching the content key information and/or the URL feature value;
搜索结果获取模块,用于获取所述父级搜索页面根据用户输入的查询词搜索得到的搜索结果;其中,所述搜索结果包括所述相匹配页面;A search result acquisition module, configured to acquire the search results obtained by searching the parent search page according to the query words input by the user; wherein, the search results include the matching pages;
搜索结果推送模块,用于在所述相匹配页面中,推送所述获取的搜索结果中的除所述相匹配页面外的其它搜索结果。A search result pushing module, configured to push other search results in the obtained search results except the matching page in the matching page.
B29、如B20所述的浏览器终端,所述提取模块在提取所述相匹配页面中的内容关键信息时:B29. The browser terminal as described in B20, when the extraction module extracts key content information in the matching page:
获取所述相匹配页面中的网页元素信息;根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息;Obtaining webpage element information in the matching page; extracting picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the webpage element information;
和/或,and / or,
提取所述相匹配页面对应的标题的标题关键字。A title keyword of a title corresponding to the matching page is extracted.
B30、如B29所述的浏览器终端,所述提取模块在根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息时:B30, the browser terminal as described in B29, the extraction module extracts the picture information and/or video file information in the matching page from the matching page according to the webpage element information, and/or When audio file information:
根据所述网页元素信息从所述相匹配页面中提取所述相匹配页面中的图片信息、和/或视频文件信息、和/或音频文件信息,以及,相对应的图片描述信息、和/或视频描述信息、和/或音频描述信息;Extracting picture information, and/or video file information, and/or audio file information in the matching page from the matching page according to the web page element information, and corresponding picture description information, and/or Video description information, and/or audio description information;
根据所述图片描述信息、和/或视频描述信息、和/或音频描述信息,判断相对应的所述图片信息指示的图片、和/或视频文件信息指示的视频、和/或音频文件信息指示的音频是否满足设定的内容关键信息标准;According to the picture description information, and/or video description information, and/or audio description information, determine the corresponding picture indicated by the picture information, and/or the video indicated by the video file information, and/or the audio file information indicated Whether the audio of the audio meets the set content key information standards;
若是,则将满足标准的所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息;若否,则放弃将所述图片信息、和/或视频文件信息、和/或音频文件信息提取为内容关键信息。If so, then extract the picture information, and/or video file information, and/or audio file information that meet the standard as content key information; if not, then abandon the picture information, and/or video file information, and /or audio file information is extracted as content key information.
B31、如B20所述的浏览器终端,所述确定模块包括:B31, the browser terminal as described in B20, said determining module includes:
预设子模块,用于在浏览器侧预设至少一页面结构样式匹配设置;The preset submodule is used to preset at least one page structure style matching setting on the browser side;
页面结构样式获取子模块,用于在浏览器侧进行所述当前浏览页面下载,获取所述当前浏览页面的页面结构样式;The page structure style acquisition submodule is used for downloading the current browsing page on the browser side, and acquiring the page structure style of the current browsing page;
匹配子模块,用于将所述当前浏览页面的页面结构样式与所述页面结构样式匹配设置进行匹配,直至所述页面结构样式匹配成功。The matching submodule is configured to match the page structure style of the currently browsed page with the page structure style matching setting until the page structure style matches successfully.
B32、如B31所述的浏览器终端,所述预设子模块包括:B32, browser terminal as described in B31, described preset submodule comprises:
保存子单元,用于建立一匹配设置文件并将所述至少一页面结构样式匹配设置保存在所述匹配设置文件中;A saving subunit, configured to create a matching setting file and save the at least one page structure style matching setting in the matching setting file;
其中,所述匹配设置文件中包括至少一个网站节点,每个网站节点中包括至少一种网页节点,至少部分所述网页节点中设有两个以上的匹配设置描述节点,每个匹配设置描述节点对应一页面结构样式匹配设置,至少两个所述页面结构样式的匹配设置中分别包括对相同类型页面结构样式的不同匹配设置项。Wherein, the matching setting file includes at least one website node, each website node includes at least one kind of web page node, at least some of the web page nodes are provided with more than two matching setting description nodes, and each matching setting description node Corresponding to a page structure style matching setting, the matching settings of at least two page structure styles respectively include different matching setting items for the same type of page structure style.
B33、如B32所述的浏览器终端,所述匹配子模块包括:B33, browser terminal as described in B32, described matching submodule comprises:
查找子单元,用于在所述匹配设置文件中查找所述当前浏览页面的页面结构样式对应的网站节点及网页节点;A search subunit is used to search for the website node and webpage node corresponding to the page structure style of the currently browsed page in the matching setting file;
第一匹配子单元,用于在查找到的网页节点下,将所述当前浏览页面的页面结构样式与该网页节点中的第一匹配设置描述节点中的匹配设置项依次进行匹配;The first matching subunit is used to sequentially match the page structure style of the currently browsed page with the matching setting items in the first matching setting description node in the webpage node under the found webpage node;
匹配结果确定子单元,用于对匹配成功的匹配设置项,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配;The matching result determination subunit is used to determine that the page structure style of the currently browsed page matches the preset page structure style for the matching setting item that matches successfully;
第二匹配子单元,用于对匹配失败的匹配设置项,在该网页节点中除第一匹配设置描述节点之外的匹配设置描述节点中查找与该匹配失败的匹配设置项相对应的匹配设置项,将查找到的匹配设置项与所述当前浏览页面的页面结构样式进行匹配,直至查找到的匹配设置项与所述当前浏览页面的页面结构样式匹配成功,确定当前浏览页面的页面结构样式与预设的页面结构样式相匹配。The second matching subunit is used to search for matching settings corresponding to the matching setting items that fail to match in the matching setting description nodes other than the first matching setting description node in the web page node item, match the found matching setting item with the page structure style of the current browsing page until the found matching setting item matches the page structure style of the current browsing page successfully, and determine the page structure style of the current browsing page Match the preset page structure style.
B34、如B23所述的浏览器终端,B34. The browser terminal as described in B23,
所述选取子模块包括:The selected sub-modules include:
时间获取子单元,用于获取每个候选推送消息的发布时间;A time acquisition subunit, configured to acquire the publishing time of each candidate push message;
第三选取子单元,用于按照所述发布时间的先后顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息;The third selection subunit is configured to sequentially select messages satisfying the preset number from the candidate push messages as push messages according to the order of release time;
或者,所述选取子模块包括:Or, the selection submodule includes:
点击率获取子单元,用于获取每个候选推送消息的点击率;The click-through rate obtaining subunit is used to obtain the click-through rate of each candidate push message;
第四选取子单元,用于按照所述点击率由高到低的顺序,从所述候选推送消息中依次选取满足所述预置数量的消息作为推送消息;The fourth selection subunit is used to sequentially select messages satisfying the preset number from the candidate push messages as push messages in the order of the click-through rate from high to low;
或者,所述选取子模块包括:Or, the selection submodule includes:
偏好获取子单元,用于根据所述相匹配页面对应的浏览器用户的历史行为,确定所述浏览器用户的偏好;其中,所述浏览器用户的历史行为包括:浏览器用户访问过的页面、浏览器用户使用过的搜索词和浏览器用户浏览次数中的至少一种;A preference acquisition subunit, configured to determine the preference of the browser user according to the historical behavior of the browser user corresponding to the matching page; wherein, the historical behavior of the browser user includes: pages visited by the browser user , at least one of the search terms used by the browser user and the number of browsing times by the browser user;
第五选取子单元,用于从所述候选推送消息中选取预置数量的且与所述浏览器用户的偏好相匹配的消息作为推送消息。The fifth selecting subunit is configured to select a preset number of messages matching the preference of the browser user as push messages from the candidate push messages.
B35、如B20-B34任一项所述的浏览器终端,所述浏览器终端还包括:B35, the browser terminal as described in any one of B20-B34, described browser terminal also includes:
内嵌页加载模块,用于在所述获取模块获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息之后,在所述相匹配页面中加载内嵌页面,通过所述内嵌页面将所述推送消息进行消息推送;和/或,An embedded page loading module, configured to load an embedded page in the matching page after the acquiring module acquires a push message matching the key information of the content and/or the characteristic value of the URL, through the The embedded page pushes the push message; and/or,
窗口加载模块,用于在所述获取模块获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息之后,在所述相匹配页面对应的浏览器中加载新窗口,并在所述新窗口中加载所述推送消息,将所述推送消息进行推送。The window loading module is used to load a new window in the browser corresponding to the matching page after the obtaining module obtains the push message matching the content key information and/or the URL characteristic value, and The push message is loaded in the new window, and the push message is pushed.
B36、如B20-B34任一项所述的浏览器终端,B36, the browser terminal as described in any one of B20-B34,
所述获取模块,用于从一个或多个数据服务器中获取与所述内容关键信息和/或所述URL特征值相匹配的推送消息。The acquiring module is configured to acquire push messages matching the content key information and/or the URL feature value from one or more data servers.
B37、如B20-B34任一项所述的浏览器终端,所述URL特征值包括:指示页面类型的值和指示网页种类的值;其中,B37. The browser terminal as described in any one of B20-B34, said URL feature value includes: a value indicating a page type and a value indicating a web page category; wherein,
所述页面类型包括:文字页面、图片页面和视频页面中的一种;The page type includes: one of a text page, a picture page and a video page;
所述网页种类包括:军事类、财经类、体育类、娱乐类、科技类、房产类、汽车类、教育类、人物类和游戏类中的至少一种。The category of the webpage includes: at least one of military, financial, sports, entertainment, technology, real estate, automobile, education, character and game.
B38、如B20-B34任一项所述的浏览器终端,所述推送消息包括:网页文字消息、网页图片消息、网页视频消息、微博话题、微博评论、贴吧消息、论坛话题和论坛评论中的至少一种。B38, the browser terminal as described in any one of B20-B34, described push message comprises: webpage text message, webpage picture message, webpage video message, microblog topic, microblog comment, post bar message, forum topic and forum comment at least one of the
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710084130.1ACN106709073A (en) | 2013-12-30 | 2013-12-30 | Browser notification pushing method and browser terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710084130.1ACN106709073A (en) | 2013-12-30 | 2013-12-30 | Browser notification pushing method and browser terminal |
| CN201310745269.8ACN103699669B (en) | 2013-12-30 | 2013-12-30 | A method for pushing messages in a browser and a browser terminal |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310745269.8ADivisionCN103699669B (en) | 2013-12-30 | 2013-12-30 | A method for pushing messages in a browser and a browser terminal |
| Publication Number | Publication Date |
|---|---|
| CN106709073Atrue CN106709073A (en) | 2017-05-24 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310745269.8AActiveCN103699669B (en) | 2013-12-30 | 2013-12-30 | A method for pushing messages in a browser and a browser terminal |
| CN201710084130.1APendingCN106709073A (en) | 2013-12-30 | 2013-12-30 | Browser notification pushing method and browser terminal |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310745269.8AActiveCN103699669B (en) | 2013-12-30 | 2013-12-30 | A method for pushing messages in a browser and a browser terminal |
| Country | Link |
|---|---|
| CN (2) | CN103699669B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103699669B (en)* | 2013-12-30 | 2017-03-15 | 北京奇虎科技有限公司 | A method for pushing messages in a browser and a browser terminal |
| CN104980464B (en)* | 2014-04-08 | 2019-07-23 | 北京奇虎科技有限公司 | A kind of network request processing method, network server and network system |
| CN104239455B (en)* | 2014-09-02 | 2017-10-10 | 百度在线网络技术(北京)有限公司 | The acquisition methods and device of a kind of search result |
| CN106033419B (en)* | 2015-03-10 | 2020-11-06 | 深圳市腾讯计算机系统有限公司 | Method, device and system for pushing messages in real time |
| CN104796434A (en)* | 2015-05-08 | 2015-07-22 | 集怡嘉数码科技(深圳)有限公司 | Message pushing method and message server |
| CN105022810A (en)* | 2015-06-30 | 2015-11-04 | 广东欧珀移动通信有限公司 | A method and device for displaying page location browsing information |
| CN106598993B (en)* | 2015-10-16 | 2019-02-12 | 珠海豹趣科技有限公司 | A kind of information-pushing method and device |
| CN107623624B (en)* | 2016-07-15 | 2021-03-16 | 阿里巴巴集团控股有限公司 | Method and device for providing notification message |
| CN106446009A (en)* | 2016-08-23 | 2017-02-22 | 盛玉伟 | Method and system for recommending house to user in agency app |
| WO2018035700A1 (en)* | 2016-08-23 | 2018-03-01 | 盛玉伟 | Method and system for recommending house to user in agent app |
| CN106649799A (en)* | 2016-12-28 | 2017-05-10 | 北京金山安全软件有限公司 | Content promotion method and device and electronic equipment |
| CN108512879A (en)* | 2017-02-28 | 2018-09-07 | 阿里巴巴集团控股有限公司 | A kind of information-pushing method and device |
| CN108596662B (en)* | 2018-04-20 | 2022-02-01 | 上海东方报业有限公司 | Information pushing method and equipment |
| CN111611470B (en)* | 2019-02-22 | 2024-12-17 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
| CN110688453B (en)* | 2019-08-23 | 2023-09-08 | 上海市研发公共服务平台管理中心 | Scenario application methods, systems, media and equipment based on information classification |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060184869A1 (en)* | 2005-02-17 | 2006-08-17 | International Business Machines Corporation | System and method for dynamically updating web page displays |
| CN101882162A (en)* | 2010-06-29 | 2010-11-10 | 北京搜狗科技发展有限公司 | Method and system for transmitting network information |
| CN101968802A (en)* | 2010-09-30 | 2011-02-09 | 百度在线网络技术(北京)有限公司 | Method and equipment for recommending content of Internet based on user browse behavior |
| CN102402539A (en)* | 2010-09-15 | 2012-04-04 | 倪毅 | Design technology for object-level personalized vertical search engine |
| CN102591971A (en)* | 2011-12-31 | 2012-07-18 | 北京百度网讯科技有限公司 | Method and device for extracting webpage information |
| CN102984270A (en)* | 2012-12-12 | 2013-03-20 | 北京奇虎科技有限公司 | Message push server and method |
| CN102999576A (en)* | 2012-11-13 | 2013-03-27 | 北京百度网讯科技有限公司 | Method and equipment for confirming page description information corresponding to target pages |
| CN103699669A (en)* | 2013-12-30 | 2014-04-02 | 北京奇虎科技有限公司 | A method for pushing messages in a browser and a browser terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20110041342A (en)* | 2009-10-15 | 2011-04-21 | 삼성전자주식회사 | Content recommendation device and method |
| CN102916867B (en)* | 2012-10-12 | 2019-05-28 | 北京百度网讯科技有限公司 | A kind of information push method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060184869A1 (en)* | 2005-02-17 | 2006-08-17 | International Business Machines Corporation | System and method for dynamically updating web page displays |
| CN101882162A (en)* | 2010-06-29 | 2010-11-10 | 北京搜狗科技发展有限公司 | Method and system for transmitting network information |
| CN102402539A (en)* | 2010-09-15 | 2012-04-04 | 倪毅 | Design technology for object-level personalized vertical search engine |
| CN101968802A (en)* | 2010-09-30 | 2011-02-09 | 百度在线网络技术(北京)有限公司 | Method and equipment for recommending content of Internet based on user browse behavior |
| CN102591971A (en)* | 2011-12-31 | 2012-07-18 | 北京百度网讯科技有限公司 | Method and device for extracting webpage information |
| CN102999576A (en)* | 2012-11-13 | 2013-03-27 | 北京百度网讯科技有限公司 | Method and equipment for confirming page description information corresponding to target pages |
| CN102984270A (en)* | 2012-12-12 | 2013-03-20 | 北京奇虎科技有限公司 | Message push server and method |
| CN103699669A (en)* | 2013-12-30 | 2014-04-02 | 北京奇虎科技有限公司 | A method for pushing messages in a browser and a browser terminal |
| Publication number | Publication date |
|---|---|
| CN103699669A (en) | 2014-04-02 |
| CN103699669B (en) | 2017-03-15 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103699669B (en) | A method for pushing messages in a browser and a browser terminal | |
| JP6708717B2 (en) | News recommendation method and device | |
| CN107172151B (en) | Method and device for pushing information | |
| CN104462262B (en) | A kind of method for realizing phonetic search, device and browser client | |
| CN103577597B (en) | Keyword search system based on current browse webpage | |
| CN102591942B (en) | Method and device for automatic application recommendation | |
| CN103577596B (en) | Keyword search method and device based on current browsing page | |
| CN103577595B (en) | Keyword method for pushing and device based on current browse webpage | |
| CN104063454A (en) | Search push method and device for mining user demands | |
| CN103577392B (en) | Keyword method for pushing and device based on current browse webpage | |
| CN102880694B (en) | The browser client of load classification channel and method in new Shipping Options Page | |
| US11423096B2 (en) | Method and apparatus for outputting information | |
| CN103428076A (en) | Method and device for transmitting information to multi-type terminals or applications | |
| CN104050286B (en) | Method and device for providing search result integration | |
| CN103488788A (en) | Method and device for recommending applications automatically | |
| CN106407361A (en) | Method and device for pushing information based on artificial intelligence | |
| US20160306887A1 (en) | Methods, apparatuses and systems for linked and personalized extended search | |
| CN102955850A (en) | Method and device for loading sequencing website | |
| CN107562847B (en) | Information processing methods and related products | |
| JP5249415B2 (en) | Method and apparatus for providing data statistics | |
| CN103530385A (en) | Method and device for searching for information based on vertical searching channels | |
| CN104536974B (en) | The method and browser client of information are searched in a browser | |
| CN103955473A (en) | Method and device for searching | |
| CN104715067A (en) | Method, device and system for making key words on web page and browser client | |
| US20160210335A1 (en) | Server and service searching method of the server |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170524 |