CN103793508A - Method, device and system for loading recommend information and detecting websites - Google Patents

Method, device and system for loading recommend information and detecting websites Download PDF

Info

Publication number
CN103793508A
CN103793508A CN201410040400.5A CN201410040400A CN103793508A CN 103793508 A CN103793508 A CN 103793508A CN 201410040400 A CN201410040400 A CN 201410040400A CN 103793508 A CN103793508 A CN 103793508A
Authority
CN
China
Prior art keywords
information
loading
recommendation
browser
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410040400.5A
Other languages
Chinese (zh)
Other versions
CN103793508B (en
Inventor
田新超
杨晓兵
张敏仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410040400.5A priority Critical patent/CN103793508B/en
Publication of CN103793508A publication Critical patent/CN103793508A/en
Priority to US15/114,770 priority patent/US20160342689A1/en
Priority to PCT/CN2014/095849 priority patent/WO2015109928A1/en
Application granted granted Critical
Publication of CN103793508B publication Critical patent/CN103793508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, device and system for loading recommend information and detecting websites. The method for loading recommend information comprises the steps that a loading request of a current webpage is initiated on the browser side; a website security component in a computer system where the browser is placed is received according to a recommend information loading identification sent by the loading request, wherein the recommend information loading identification is generated when it is judged by the website security component that the loading request meets a preset condition; recommend information is requested to a recommend server corresponding to the browser according to the webpage state information of the current webpage; the recommend information which is requested from the recommend server is loaded in a browser window of the current webpage on the browser side. By means of the method, device and system for loading recommend information and detecting websites, the efficiency for obtaining the information which a user is interested in is improved, meanwhile, due to the fact that the operating steps of the user are reduced, resource consumption of the browser and resource consumption of the server are also lowered, and the occupancy of network resources is lowered as well.

Description

Method, device and system for loading recommendation information and detecting website
Technical Field
The invention relates to the technical field of information loading, in particular to a method for loading recommended information, a method for detecting a website, a device for loading recommended information, a device for detecting the website, a browser and a system for loading the recommended information.
Background
With the rapid development of the internet technology, people are brought into the information society and the network economy era, and the development of enterprises and personal life are deeply influenced.
A browser is one of the most commonly used client programs, and people are used to obtain web page information on the internet through the browser. A browser is an application that displays files on a web server or file system and allows a user to interact with the files. It is used to display text, images and other information within the world wide web or local area network, etc. These words or images can be hyperlinks to other web sites, and the user can browse various information quickly and easily. Most web pages are in HTML format, and some web pages require a specific browser to be displayed correctly.
Meanwhile, the excessive information on the internet prevents people from efficiently acquiring the required part from the information, and the use efficiency of the information is reduced.
The user continuously searches the interested webpage information in the search engine through the browser, the search engine needs to search, compare, screen and the like for mass information to obtain related webpage information, the user operation is more complicated, the user time is consumed, resources and network bandwidths of the browser, the client and the search engine are greatly occupied, the search efficiency is very low, and unnecessary resource occupation and waste are caused.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a method for loading recommendation information, a method for website detection and a corresponding device for loading recommendation information, a device for website detection and a browser, a system for loading recommendation information, which overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method of loading recommendation information, including:
initiating a loading request of a current webpage at a browser side;
receiving the recommended information loading identification sent by the website security component in the computer system where the browser is located aiming at the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
Optionally, the preset condition includes:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
Optionally, the webpage state information includes one or more of the following:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
Optionally, the extension information includes one or more of:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
Optionally, the step of requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage includes:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
Optionally, the recommendation information includes entry data and display attribute data;
the step of loading the recommendation information requested from the recommendation server in the browser window of the current webpage on the browser side includes:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
Optionally, the browser side has a recommendation information identifier corresponding to the current recommendation information, which is established with the recommendation server side;
the step of receiving the item data sent by the recommendation server comprises:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
Optionally, the entry data comprises one or more of:
text information, picture information, audio information, video information, and Flash information.
Optionally, corresponding recommendation information is stored in each webpage window on the browser side.
Optionally, the method further comprises:
when the recommendation information is triggered, initiating a search request to the search engine by adopting the recommendation information;
and loading a search result obtained by searching the search engine by adopting the recommendation information according to the search request.
According to another aspect of the present invention, there is provided a method for web site detection, including:
monitoring that a browser in a computer system where a website security component is located initiates a loading request of a current webpage at a website security component side;
judging whether the loading request meets a preset condition or not; if yes, generating a recommended information loading identifier;
sending the recommendation information loading identification to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
Optionally, the preset condition includes:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
and the current webpage corresponding to the loading request is a specified webpage.
Optionally, before the step of determining whether the loading request meets a preset condition, the method further includes:
extracting the website information of the current webpage from the loading request;
and adopting the website information to carry out security check on the current webpage, and judging that the current webpage is a safe webpage.
According to another aspect of the present invention, there is provided an apparatus for loading recommendation information, including:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
Optionally, the preset condition includes:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
Optionally, the webpage state information includes one or more of the following:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
Optionally, the extension information includes one or more of:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
Optionally, the recommendation information request module is further adapted to:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
Optionally, the recommendation information includes entry data and display attribute data;
the recommendation information loading module is further adapted to:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
Optionally, the browser side has a recommendation information identifier corresponding to the current recommendation information, which is established with the recommendation server side;
the recommendation information loading module is further adapted to:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
Optionally, the entry data comprises one or more of:
text information, picture information, audio information, video information, and Flash information.
Optionally, corresponding recommendation information is stored in each webpage window on the browser side.
Optionally, the method further comprises:
the search request initiating module is suitable for initiating a search request to the search engine by adopting the recommendation information when the recommendation information is triggered;
and the search result loading module is suitable for loading the search result obtained by the search engine by searching according to the search request by adopting the recommendation information.
According to another aspect of the present invention, there is provided an apparatus for web site detection, including:
the monitoring module is suitable for monitoring that a browser in a computer system where the website security component is located initiates a loading request of a current webpage at the website security component side;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
Optionally, the preset condition includes:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
and the current webpage corresponding to the loading request is a specified webpage.
Optionally, the method further comprises:
the website information extracting module is suitable for extracting the website information of the current webpage from the loading request;
and the verification module is suitable for adopting the website information to carry out security verification on the current webpage and judging the current webpage to be a safe webpage.
According to another aspect of the present invention, there is provided a browser including:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
According to another aspect of the present invention, a system for loading recommendation information is provided, which includes a browser, a website security device, and a recommendation server; wherein,
the browser comprises a device for loading recommendation information, and the device for loading recommendation information comprises:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
the recommendation information loading module is suitable for loading recommendation information requested by the recommendation server in a browser window of the current webpage at a browser side;
the website security device comprises a website detection device, and the website detection device comprises:
the monitoring module is suitable for initiating a loading request of a current webpage in a browser in a computer system where the website security component is monitored;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser;
the recommendation server stores one or more pieces of recommendation information, and comprises:
and the recommendation module is suitable for searching recommendation information corresponding to the webpage state information of the current webpage when a request of the recommendation information sent by the browser side is received.
When the current webpage is requested to be loaded, the recommendation information loading identification is received, the recommendation information is requested to the recommendation server and loaded in the browser window, and the recommendation information is obtained according to the webpage loading action requested by the user, so that the coverage rate of the recommendation information is improved, the requirements of the user are met, and the practicability is high. The recommendation information can reflect the personalized interests of the user, the matching rate of the interests of the user and the recommendation information is improved by pushing the information, the user obtains the interested recommendation information without manually searching and filtering the information, the operation steps of searching, comparing, screening and the like for obtaining the interested information are reduced, the efficiency of obtaining the interested information by the user is improved, and meanwhile, the resource consumption of a browser and a server is reduced and the network resource occupation is also reduced due to the fact that the operation steps of the user are reduced.
According to the method and the device, the loading request is judged according to the preset condition, the request recommendation information is not allowed for the loading request which does not accord with the preset condition, and the request recommendation information is allowed for the loading request which accords with the preset condition, so that the quantity of recommendation information requests for the recommendation server is greatly reduced, and the resource occupation of the recommendation server is greatly reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
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 embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating steps of an embodiment of a method for loading recommendation information, according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of an embodiment of a method for web site detection according to the present invention;
FIG. 3 is a block diagram illustrating an embodiment of a website address detection apparatus according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating an embodiment of a website address detection apparatus according to the present invention;
FIG. 5 shows a block diagram of an embodiment of a browser, according to an embodiment of the invention; and
fig. 6 is a block diagram illustrating an embodiment of a loading system for recommendation information according to an 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. While 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 to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for loading recommendation information according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, initiating a loading request of a current webpage at a browser side;
the loading request of the current webpage may refer to an instruction issued by the user to load a certain webpage. For example, a user may open a web page by clicking on a link, or enter a web address in an address bar, etc. When a user clicks an instruction of a certain link, the instruction is equivalent to the instruction that the user loads the webpage; similarly, when a web address is entered in the address bar and a decision button is clicked or an enter key is pressed, it is equivalent to receiving an instruction from the user to load a web page.
102, receiving the recommended information loading identifier sent by the website security component in the computer system where the browser is located aiming at the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
by applying the embodiment of the invention, when monitoring that the browser requests to load the webpage, the website security component can judge the preset condition of the webpage requested to be loaded, and when judging that the preset condition is met, generates the recommended information loading identifier and returns the recommended information loading identifier to the browser. And when the judgment result shows that the webpage does not meet the preset condition, the recommended information loading identification cannot be generated, and the browser loads the webpage normally.
The recommendation information loading identifier may be a basis for requesting recommendation information from a corresponding recommendation server by a browser. When the recommendation information loading identification exists, the browser can request recommendation information from the recommendation server, and the recommendation server returns corresponding recommendation information.
In practical applications, the preset conditions may include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
the preset condition may be that a user inputs a search keyword in a search engine, the search engine queries related web page information, one or more search result items are returned in a search result page, and the user requests to open a page corresponding to one of the search result items;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
the predetermined condition may be that the user requests to load a specified web page, such as a shopping website, a sports website, a military website, etc.
And/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
The preset condition may be that the website security component performs security verification on the webpage and verifies the webpage as a secure webpage. And when the current webpage is the verification dangerous webpage, the recommended information loading identification is not returned.
And after the browser receives the recommendation information loading identification, the browser can request the recommendation server to load the recommendation information.
103, requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
in a specific implementation, the webpage state information may include one or more of the following:
refer information corresponding to a current webpage URL (Uniform Resource Locator), website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage can be information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage can be information of a URL of the current webpage which is requested to be loaded and recorded;
the title information may be information recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information may be information identifying computer hardware where the browser is located;
the extension information may include information recording setting parameters when other recommended information is loaded last time.
For example, a user inputs a search keyword "cell phone" in a search engine, and opens a page of "XX encyclopedia" in a search result page item, at which time, the browser may send the following web page status information to the server:
refer information (which may be expressed as "Refer") of the current web page:
http://so.***.cn/sie=utf-8&src=hao_search&q=%E6%89%8B%E6%9C%BA#product-title;
web address information (which may be expressed as "Url") of the current web page:
http://baike.***.com/doc/5339213.html#5339213-5574654-0;
title information (which may be expressed as "Title"):
cell phone _ XX encyclopedia;
computer hardware identification information (which may be denoted as "mid"):
the hardware information of the computer where the browser is located, such as the unique identification number of a browser hardware device calculated by adopting an MAC address, is generated by an algorithm to ensure a unique value;
extended information (which may be expressed in "KV", i.e., Key-Value pair, Key-Value):
it can be used by extended functions of the browser.
In an optional example of the embodiment of the present invention, the extension information may include one or more of the following:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters can be parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter can be a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter can be a parameter which is manually closed or not closed when the recommendation information is loaded;
the recommendation information identifier may be a session established between the browser and the recommendation server when the recommendation information is loaded.
For example, the extension information (which may be expressed in "KV", i.e., a Key-Value pair) includes:
presentation parameters (which can be expressed in "Show"):
0 may indicate that presentation is not occurring, 1 may indicate that presentation is occurring;
turn on parameter (which may be denoted "Open"):
1 can indicate that the recommendation information is automatically started, and 2 can indicate that the recommendation information is manually started;
close parameter (which may be expressed as "Close"):
1 may indicate that the recommendation information is manually turned off;
recommendation information identification (which may be represented as "Sid"):
the unique ID of the recommendation information may be assigned by the recommendation server, such as 1001.
In practical application, the browser can send the information of the setting parameters for recording the last time of loading other recommendation information to the recommendation server through the extension information; the recommendation server may be configured to count the user behavior information by using the extended information, and return corresponding recommendation information to the browser side that requests the recommendation information according to the user behavior information. For example, if some recommendation information is often manually turned off by a user, the recommendation server may remove the recommendation information from the preset conditions and does not recommend the recommendation information.
The embodiment of the invention determines which information is recommended and which information is not recommended according to the user behavior information, thereby meeting the user behavior habit, meeting the user requirements and improving the utilization rate of the recommendation server, the browser and the bandwidth. In a preferred embodiment of the present invention, step 103 may comprise the following sub-steps:
substep S11, when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least including website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
in the substep S11, the recommendation server may obtain the parent pages layer by layer according to the URL of the current web page, then extract the tags of the pages at each level, extract the keywords, and finally search for corresponding recommendation information according to the keywords;
for example, the URL of the current webpage is http:// www. is. com/flash/72550.htm, the webpage label is three kingdoms town, and the current webpage is a flash game, and the parent page of the current webpage is http:// www. is. com/special/1.htm, the webpage label is double mini-game big and the parent page of the parent page is http:// www. com/, the current webpage is a website webpage, and the label is a webpage game platform. Extracting keywords as flash mini-games, and then searching recommendation information corresponding to the flash mini-games, wherein N is a positive integer, for example, the first N flash mini-games which are most popular in the current network.
And/or the presence of a gas in the gas,
substep S12, when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by using the webpage state information at least including the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
in sub-step S12, the browser may search for a title tag < title > in an HTML (hypertext markup language) document, where < title > may tell the user what the subject of the article is, extract the title in the web page article in < title > and then send it to the recommendation server, which may search for recommendation information related thereto.
And/or the presence of a gas in the gas,
substep S13, when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least including Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
In a specific implementation, many search engines are based on GET request, i.e. with a string of parameters after the URL, while different search engines may have different search key information identifications, e.g. the search key information identifications may be "wd =", "q =", "hl =", etc.
For example, searching a certain search keyword obtains the following information in the URL of the search result page:
the URL of the search result page of search engine a is:
http://www.AAA.cn/searchsourceid=navclient&hl=zh-CN&ie=UTF-8&rlz=1T4GGLL_zh-CN___CN352&q=%e7%a7%8b%e5%af%92%e5%8d%9a%e5%ae%a2
the URL of the search result page of search engine B is:
http://www.BBB.com/swd=%C7%EF%BA%AE%B2%A9%BF%CD
the URL of the search result page of search engine C is:
http://cn.bing.com/searchq=%E7%A7%8B%E5%AF%92%E5%8D%9A%E5%AE%A2&form=QBLH&filt=all
the "q =% E7% a7%8B% E5% AF 92% E5%8D%9A% E5% AE% a 2" in the URL of the search result page of search engine a, "wd =% C7% EF% BA% AE% B2% a9% BF% CD" in the URL of the search result page of search engine B, and the "q =% E7% a7%8B% E5% AF%92% E5%8D%9A 5% AE% a 2" portion in the URL of the search result page of search engine C are search keys. Other search engines are also roughly the same, and it can be seen by URL which keyword field is, and then the search keyword can be extracted by regular expression.
That is, the recommendation server may abstract the regular expression of the search keyword in advance, and extract the search keyword information in the URL of the current web page by using the regular expression of the search keyword.
An example of a regular expression for a index key is as follows:
(?:yahoo.+?[\?|&]p=|openfind.+?query=|google.+?q=|lycos.+?query=|onseek.+?keyword=|search\.tom.+?word=|search\.qq\.com.+?word=|zhongsou\.com.+?word=|search\.msn\.com.+?q=|yisou\.com.+?p=|sina.+?word=|sina.+?query=|sina.+?_searchkey=|sohu.+?word=|sohu.+?key_word=|sohu.+?query=|163.+?q=|baidu.+?wd=|baidu.+?kw=|baidu.+?word=|3721\.com.+?p=|Alltheweb.+?q=|soso.+?w=|115.+?q=|youdao.+?q=|sogou.+?query=|bing.+?q=|114.+?kw=)([^&]*)
in practical applications, after the same character is encoded by different page encoding rules (charset), the generated codes are different, that is, the search results A, B, C have different search keyword information in the URL of the search result page.
For example, the page encoding rules may include UTF-8 and GB2312, among others.
UTF-8 generates UTF-8 encoding by default, UTF-8 decoding by default, and GB2312 and other page encoding rules are the same.
For the decoding of UTF-8 and GB2312, the page coding rules can be judged by the search engine, and the page coding rules applied by each search engine need to be collected in advance.
In addition, in the search keyword information,% xx% xx format is URL encoding (UTF-8 or GB 2312); in GB2312, two groups of% xx are used for forming a Chinese character, and three groups of% xx are used for forming a Chinese character in UTF-8; scrambling occurs if the encoding of GB2312 is decoded using UTF-8 decoding.
Since UTF-8 consists of three groups of% XX and GB2312 consists of two groups of% XX, the length of the decoded character will be shortened if GB2312 is decoded successfully by UTF-8. For example: the four characters coded by GB2312URL are "% C7% EF% BA% AE% B2% A9% BF% CD", and if the decoding is carried out by using a UTF-8 coding mode, the length of the decoded character is 2 half Chinese characters if the decoding is successful. If the decoding fails, the page coding rule is a GB2312 coding mode.
Thus, the recommendation server may identify the page coding rule of the URL using the following steps:
1. acquiring search keyword information; in the step, the URL escape and English of non-Chinese characters need to be removed;
2. acquiring the number (x) of groups of search keyword information;
for example: search key information "q =% C7% EF% BA% AE% B2% a9% BF% CD" 8 groups;
3. decoding the obtained code string by using a UTF-8 decoding mode;
4. skipping to step 8 if decoding fails (e.g., program error);
5. if the decoding is successful, the length (y) of the decoded character string is obtained and compared with the group number of the comprehensive search keyword information divided by 3;
6. jump to step 8 if x! = y;
7. if x = y, the resulting character string is the search key;
8. decoding by a GB2312 mode, and taking the obtained character string as a search keyword.
It should be noted that any one or more of the sub-step S11, the sub-step S12, and the sub-step S13 may be applied to the embodiment of the present invention, and the embodiment of the present invention is not limited thereto. For example, before the current webpage is loaded, the website information of the current webpage may be sent to the recommendation server, and after the current webpage is loaded, the title information may be continuously sent to the recommendation server. For another example, the website information of the current webpage and the Refer information of the current webpage may be sent to the recommendation server.
In practical application, when a recommendation server receives a request of recommendation information sent by a browser side, the recommendation server searches recommendation information corresponding to the webpage state information of the current webpage;
in order to increase user viscosity, many platforms push a variety of information, that is, push servers for recommending information are already deployed.
In the embodiment of the invention, the recommendation server can be a server which is independently deployed, or an independent transfer server can be deployed, and the existing push server is reused, so that the recommendation server has multiple purposes, a brand new recommendation server is prevented from being independently deployed, and the cost is greatly reduced.
Specifically, the transit server may receive the webpage state information sent by the browser, perform statistics on user behavior information, and send an http request NLP (Natural language processing) service to the push server, where interaction between the transit server and the push server uses a preset format (e.g., proto) for information interaction, and the transit server may decrypt the recommendation information request and add information (e.g., request IP) that is not submitted by the browser but is required by the push server to the request for use by the push server. The push server searches the recommendation information by adopting an NLP technology and returns the recommendation information to the browser through the transfer server.
For example, the information of the preset format proto may include one or more of run information (message StringPair), URL information (message URL), a message Request body (message ReqBody), a message feedback body (message RespBody), a Request message (message Request), and a feedback message (message response). Wherein,
including the run information (message StringPair) may document the required key bytes and optional byte values. For example:
Figure BDA0000463099650000181
the URL information (message URL) may record information of a URL of a web page transmitted by a browser, such as a bytecode (charset), a type of the web page (type), a URL itself (URL), a server identifier (host), a path of a hyperlink (uniurl), a title of the web page (title), and the like. Specific examples are as follows:
the message request body (message ReqBody) may include a request message identification (e.g., ID), a URL type (page _ URL) of the current web page, a Refer information type (page _ Refer) of the current web page, and the like. Examples of which may be as follows:
Figure BDA0000463099650000192
the message feedback body (message RespBody) may include a feedback message identification (e.g., ID), a recommendation information identification (sid), display data of a presentation window, and the like. Examples of which may be as follows:
Figure BDA0000463099650000201
Figure BDA0000463099650000211
and 104, loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
In a specific implementation, the recommendation information may include entry data and display attribute data; the item data may be an HMTL document conforming to the browser definition specification, which is the substantive content of the recommendation information, and the display attribute data may be parameter data of a presentation window for loading the item data, which is set by the recommendation server according to the current browser and the item data.
In a preferred embodiment of the present invention, step 104 may comprise the following sub-steps:
substep S21, generating a display window in the browser window of the current webpage at the browser side according to the display attribute data;
in a particular implementation, the display attribute data may be represented in the form of a Key-Value pair. The display attribute data may include a position, a height, a width of the presentation window, a position of the entry data in the presentation window, a position of a function key of the presentation window in the presentation window, and the like.
For example, the display data may include height:97, which means that the height of the display window is 97px (pixels). In practical application, the presentation window can be generated under the current webpage, with a height of 97px, a width consistent with the width of the browser main window, a dividing line with a height of 3px on the display window, an item data left side 20px away from the browser border, and the like.
The function keys of the display window may include a close key and a set key. In a life cycle of the recommendation information, after the user clicks the closing button, the display window is closed and can not be displayed any more. In the setting key, the user can select whether the setting display window is automatically opened or manually opened.
Substep S22, receiving the item data sent by the recommendation server;
in a preferred example of the embodiment of the present invention, the browser side may have a recommendation information identifier corresponding to current recommendation information, which is established with the recommendation server side;
in this example, step S22 may further include the following sub-steps:
and a substep S221 of receiving entry data sent by the recommendation server for the display window and the recommendation information flag corresponding to the current recommendation information.
The recommendation information identifier (sid) may be an identifier of a session established between the recommendation server and the browser, that is, a unique session identifier is provided between the display window in each browser and the recommendation server, so that the recommendation server can transmit recommendation information in the session with the specified display window.
A substep S23 of displaying the item data in the presentation window.
In a specific implementation, the loading may be performed according to a position of entry data preset by the display attribute data.
It should be noted that, before the HTML text of the current web page is loaded, the presentation window may be set as a hidden attribute, and the function keys included in the hidden attribute are in an un-clickable state. After the HTML text of the current webpage is loaded, when a mouse wheel rolling event in the current webpage is monitored and the recommendation information is set to be actively started, a display window can be directly popped up to display the item data.
The presentation window may vary with the width of the browser's main window, while the height may be constant, and the entry data is gradually adapted according to the browser width, e.g. increasing the entry data as the width increases and decreasing the entry data as the width decreases.
In a preferred example of the embodiment of the present invention, the entry data may include one or more of the following:
text information, picture information, audio information, video information, and Flash information.
Specifically, the entry data may be one or more. For example, text information such as "sun", "moon" and the like on the left side of the display window corresponds to picture information; the ' Halley comet ' and ' the ' Earth satellite 6 ' on the right side of the display window only have text information.
Of course, the above entry data is only an example, and when implementing the embodiment of the present invention, other entry data may be set according to actual situations, which is not limited in the embodiment of the present invention.
By applying the embodiment of the invention, the corresponding recommendation information can be stored in each webpage window at the browser side. The browser can be provided with a plurality of Tab (label) page windows, and if the webpage loaded in each Tab page window meets the preset condition, the recommendation information corresponding to the current webpage can be loaded.
In a preferred embodiment of the present invention, the method may further include the steps of:
step 105, when the recommendation information is triggered, adopting the recommendation information to send a search request to the search engine;
in a specific implementation, a trigger point may be embedded in the entry data, and when a user selects a certain entry data by clicking a mouse or pressing a specific function key, a search request is initiated by searching a text information box corresponding to the entry data.
And 106, loading a search result obtained by searching the search engine by adopting the recommendation information according to the search request.
In a specific implementation, the browser may newly open a page window and load a search result returned by the search engine.
In the embodiment of the invention, the URL corresponding to each search result Page initiated by the recommendation information may have a uniform src identifier to identify that the search is initiated by the recommendation information, and a search engine may count corresponding user behavior information such as UV (unique viewer, which refers to different natural people accessing and browsing the web Page through the internet), PV (Page View, i.e., Page browsing amount or click amount, and the user is recorded for 1 time per 1 access to each web Page in the website), and then send the user behavior information to the recommendation server, and the recommendation server has the corresponding recommendation information returned to the browser side requesting the recommendation information according to the user behavior information. For example, the URL of a search result page initiated by the recommendation information is:
http://www.***.com/ssrc=se_related&q=%E8%81%94%E9%80%9A%E4%B8%8A%E8%B0%83%E9%87%91%E9%93%B6iPhone%205s%E5%90%88%E7%BA%A6%E4%BB%B7
where "src = se _ related" is src identification.
When the current webpage is requested to be loaded, the recommendation information loading identification is received, the recommendation information is requested to the recommendation server and loaded in the browser window, and the recommendation information is obtained according to the webpage loading action requested by the user, so that the coverage rate of the recommendation information is improved, the requirements of the user are met, and the practicability is high. The recommendation information can reflect the personalized interests of the user, so that the news information is pushed, the matching rate of the interests of the user and the recommendation information is improved, the user obtains the interested recommendation information without manually searching and filtering the information, the operation steps of searching, comparing, screening and the like for obtaining the interested information are reduced, the efficiency of obtaining the interested information by the user is improved, and meanwhile, the resource consumption of a browser and a server is reduced and the network resource occupation is also reduced due to the reduction of the operation steps of the user.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a method for detecting a website according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 201, monitoring that a browser in a computer system where a website security component is located initiates a loading request of a current webpage at a website security component side;
step 202, extracting the website information of the current webpage from the loading request;
in a specific implementation, the website security component may monitor the webpage loading request through a designated response event interface. For example, by implementing a specified response event interface of a standard plug-in mechanism, the URL of the web page corresponding to the website requested to be accessed by the browser is acquired, which indicates that it is monitored that the browser initiates a loading request of the current web page. For example, in a Browser of the Trident kernel, such as an ie (internet explorer) Browser, a Browser Helper Object (BHO) plug-in mechanism may be used, and the URL of the web page currently loaded by the Browser may be obtained by responding to the "beforevirtual 2" event. In a browser of a Webkit kernel, for example, a Chrome browser, a Netscape plug-in Application Programming Interface (NPAPI) plug-in mechanism may be used to obtain a URL currently loaded by the browser.
Alternatively, when the browser loads a request for a web page, the browser may first send the request for loading the web page to the website security component.
Step 203, adopting the website information to carry out security check on the current webpage, and judging that the current webpage is a safe webpage;
in the embodiment of the present invention, the current webpage corresponding to the loading request may be verified as the secure webpage.
In practical applications, the website security component may first perform a normalization process on the URL of the current webpage. For example, the letters of the URL are unified, including information such as protocol, host name, path name, file name, and parameters, and redundant path characters and parameters are removed from the URL.
For example, the URL of the current web page is: HTTp:// www.A.com// aBc/abc.PhpA = l;
unifying upper and lower case letters into lower case: http:// www.a.com// abc/abc.phpa =: l;
removing redundant pathsymbols where repeated: http:// www.a.com/abc/abc.phpa = l;
then, the website security component may extract a website ciphertext corresponding to the current webpage URL. For the URL, the URL itself (URL), the host name (host) of the URL, and the first domain name field (domain) of the URL are three pieces of key information.
Specifically, the host name may be a host part after information such as a path identifier, a protocol header, and a port number in the URL is removed, and the first domain name segment may be traced back from right to left in a stepwise manner according to the host name of the URL. Optionally, when the first domain name segment is obtained, grade 7 is traced from right to left highest.
And if the first-level root domain name of the host name of the URL of the current webpage from right to left is the international top-level domain name, the first domain name section of the URL of the current webpage is the first-level sub-domain name of the host name of the URL of the current webpage. The international top-level domain name may refer to common top-level domain names such as "com", "net", "org", "edu", "gov", and the like. For example, the host name of the URL of the current web page is www.a.com, its first level root domain name from right to left is "com", and then its first level sub-domain name "a.com" is extracted as the first domain field of the URL of the current web page.
If the first-level root domain name of the host name of the URL of the current webpage from right to left is the top-level domain name of the country region, and the first-level sub-domain name comprises the international top-level domain name, the first domain name section of the URL of the current webpage is the second-level sub-domain name of the host name of the URL of the current webpage. The top-level domain name of the country region can refer to special top-level domain names such as "cn", "hk", and the like. For example, the host name of the URL of the current web page is www.a.com.cn, its first level root domain name from right to left is "cn", and the first level sub-domain name is "com.
If the host name of the URL of the current webpage uses the dynamic domain name, the first domain name section of the URL of the current webpage is the next-level sub-domain name extracted from the dynamic domain name to the right of the host name of the URL of the current webpage. The dynamic domain names refer to secondary or tertiary dynamic domain names, such as dynamic domain names of "3322. org", "s.3322. nct", and the like. For example, the host name of the URL of the current web page is www.a.3322.org, which uses the dynamic domain name "3322. org", then the next-level sub-domain name "a.3322. org" is extracted to the right from the dynamic domain name as the first domain name segment of the URL of the current web page.
In the embodiment of the present invention, after the current webpage URL is obtained, a feature value of any one or more combinations of three pieces of information, namely, the host name of the URL and the first domain name field, may be extracted as a ciphertext. Optionally, the characteristic value may be a hash value. In particular, the feature value may be a hash value calculated according to a Message Digest Algorithm fifth edition (md 5), or a sia 1 code, a Cyclic Redundancy Check (CRC) code, or other feature codes that can uniquely identify the original information (url, host, domain). In the following example, the characteristic value is a 32-bit md5 hash value.
For example, the URL of the current web page is: http:// www.a.com/abc/abc.phpa = l; according to the method, the host name of the URL of the current webpage is acquired as follows: www.a.com; the first domain name segment for acquiring the URL of the current webpage is as follows: com.
Calculating the hash value of the URL of the current webpage with 32-bit md5 as follows:
md5(http://www.a.com/abc/abc.phpa=l,32)=e2a6b69ffl5c6a8c276f089250ab3f7d
calculating the hash value of 32-bit md5 of the host name of the URL of the current web page as:
md5(www.a.com,32)=30f4a7bbefe70d75616707c80921a7c8
calculating the hash value of the 32-bit md5 of the first domain name segment of the URL of the current web page as: .
md5(a.com,32)=b3655bd7aad56513fcdacbd4254ed6b7
The calculated 32-bit md5 hash value of the URL of the current web page, the 32-bit md5 hash value of the host name of the URL of the current web page, and the 32-bit md5 hash value of the first domain name segment of the URL of the current web page are the website cryptograph of the URL of the current web page.
The URL of the current web page is: in the example of http:// www.a.com/abc/abc.phpa = l, a set of website cryptograms of the URL of the current webpage are obtained as follows:
domain|host|url
a.com|www.a.com|http://www.a.com/abc/abc.phpa=l
b3655bd7aad56513fcdacbd4254ed6b7|
30f4a7bbefe70d75616707c80921a7c8|e2a6b69ffl5c6a8e276f089250ab3f7d
then, the website security component matches the website ciphertext corresponding to the current webpage URL in the ciphertext database, and if the website ciphertext corresponding to the current webpage URL matches the ciphertext marked as a malicious website stored in the ciphertext database, the current webpage is judged to be a dangerous webpage; and if the website cipher text corresponding to the URL of the current webpage is matched with the cipher text marked as the safe website stored in the cipher text database, judging that the current webpage is the safe webpage.
It should be noted that the ciphertext database stores in advance ciphertexts marked as malicious websites and/or secure websites, and the ciphertexts may be obtained according to a large number of URLs of known malicious websites and/or secure websites. Optionally, the data key values in the ciphertext database may be stored according to feature values of three key information, namely, a website url, a website host, and a website domain, and the key values of the three key information may be respectively marked according to a safe website and a malicious website. Specifically, the ciphertext marked as the malicious website may include one or more of the following information: the characteristic value of the malicious URL, the characteristic value of the host name of the malicious URL and the characteristic value of the first domain name segment of the malicious URL. The ciphertext tagged as a secure web address may include one or more of the following information: a characteristic value of the secure URL, a characteristic value of a hostname of the secure URL, and a characteristic value of a first domain field of the secure URL.
The ciphertext database may be stored locally at the website security component or may be stored in a designated ciphertext server.
By applying the embodiment of the invention, the ciphertext server can send the information in the ciphertext database to the website security component for updating the local ciphertext database at preset time (such as 6 am every day, 12 pm every saturday and the like).
It should be noted that, in the embodiment of the present invention, a combination of any one or more of the three preset conditions may be applied, for example, the current web page is a page corresponding to a search result item in a search result page of a search engine and is a secure web page, and for example, the current web page is a designated page and is a secure web page, and the like, which is not limited in this embodiment of the present invention.
Step 204, judging whether the loading request meets a preset condition or not; if yes, go to step 205;
in practical applications, the preset conditions may include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
in practical application, the website security component may perform structural analysis on a URL of a current webpage, extract search keyword information in the URL, decode the search keyword information according to a preset page coding rule, and when the decoding is successful, determine that the current webpage is a page corresponding to a search result item in a search result page of a search engine.
And/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
in practical application, the URL of the specified webpage may be collected in advance, then a specified webpage URL list is generated and stored at the specified location, and the website security component may match the URL of the specified webpage in the current webpage URL list, and when matching is successful, the current webpage corresponding to the loading request is indicated as the specified webpage.
Of course, the preset conditions are only examples, and when the embodiment of the present invention is implemented, other preset conditions may be set according to actual situations, which is not limited in the embodiment of the present invention. In addition, besides the preset conditions, a person skilled in the art may also adopt other preset conditions according to actual needs, and the embodiment of the present invention is not limited thereto.
Step 205, generating a recommendation information loading identifier;
for example, the information generated by the website security component for the load request of the current webpage includes:
{v:0}{ot:1369125047}{st:20}{ch:0}{wd.info:c2M9MTAw}{trust.info:e2Q6MzYwLmNufXt6OjZ9e3Q6MTAwNH17bTo4NWUwNjg0MzBjODcyM2VkYTczYjdhYjYzMTFiYTU2YX17bjozNjDlrpjnvZF9e2k6MX17YzoyfQ==}{child.info:bGV2ZWw9d2hpdGU=}{icp.info:e2Q6MzYwLmNufXt0OjEwMDR9e3Y6MS4wfXtwOip9}{xf.info:MAkxMzY5MTI5ODc1CTEwMg==}{yx.info:e2g6MzYwLmNufXtjOjQwNDZ9e2U6MTcxfXtnczo4OH17czE6Mzc3NH17czI6MTc3fXtzMzo0NDd9e2kxOjc2N317aTI65a6J5YWoXzczNDB8fOawuOi/nOaUr+aMgTM2MF82OTA3fHzlhY3otLlfNjE2NXx85p2A5q+SXzQ1MDZ9}{tip.info:cmVxPTE=}
info is an information field returned by judging a preset condition for a loading request of a current webpage aimed at by the website security component, and if req =1, an identifier is loaded for recommended information, which indicates that the recommended information is allowed to be requested to a recommendation server; if req =0, it indicates that the request of the recommendation information to the recommendation server is not allowed. Of course, there may be situations such as req =2 and req =3 in the embodiments of the present invention, for example, it is determined that loading of a certain web page by using existing data allows requesting recommendation information from a recommendation server, but there are situations such as network instability or attack on the web page currently, and the website security component may configure req =2 temporarily for the loading request of the web page without modifying existing data, which indicates that the recommendation information is not allowed to be requested from the recommendation server, and after a special situation is eliminated, determine the loading request of the web page according to existing data.
According to the method and the device, the loading request is judged according to the preset condition, the request recommendation information is not allowed for the loading request which does not accord with the preset condition, and the request recommendation information is allowed for the loading request which accords with the preset condition, so that the quantity of recommendation information requests for the recommendation server is greatly reduced, and the resource occupation of the recommendation server is greatly reduced.
Step 206, sending the recommended information loading identifier to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
And the website security component sends the generated information at least comprising the recommended information loading identification to the browser, and the browser decrypts according to a preset rule and then performs subsequent loading operation according to the decrypted indication.
It should be noted that, because the method embodiment of website detection and the method embodiment of loading recommendation information may be corresponding, description is relatively simple, and relevant points may refer to partial description of the method embodiment of loading recommendation information, which is not described in detail herein.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of an apparatus for loading recommendation information according to an embodiment of the present invention is shown, which may specifically include the following modules:
a loading request initiating module 301, adapted to initiate a loading request of a current web page at a browser side;
a recommended information loading identifier receiving module 302, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located for the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
a recommendation information request module 303, adapted to request recommendation information from a recommendation server corresponding to the browser according to the web page state information of the current web page;
and a recommendation information loading module 304, adapted to load recommendation information requested from the recommendation server in a browser window of the current web page on the browser side.
In a preferred embodiment of the present invention, the preset condition may include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
In a preferred embodiment of the present invention, the webpage status information may include one or more of the following:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
In a preferred embodiment of the present invention, the extension information may include one or more of the following:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
In a preferred embodiment of the present invention, the recommendation information requesting module 303 may be further adapted to:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
In a preferred embodiment of the present invention, the recommendation information may include entry data and display attribute data;
the recommendation information loading module 304 may be further adapted to:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
In a preferred embodiment of the present invention, the browser side may have a recommendation information identifier corresponding to the current recommendation information, which is established by the recommendation server side;
the recommendation information loading module 304 may be further adapted to:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
In a preferred embodiment of the invention, the entry data may include one or more of the following:
text information, picture information, audio information, video information, and Flash information.
In a preferred embodiment of the present invention, each web page window on the browser side may have corresponding recommendation information stored therein.
In a preferred embodiment of the present invention, the following modules may be specifically included:
the search request initiating module is suitable for initiating a search request to the search engine by adopting the recommendation information when the recommendation information is triggered;
and the search result loading module is suitable for loading the search result obtained by the search engine by searching according to the search request by adopting the recommendation information.
Referring to fig. 4, a block diagram of a structure of an embodiment of a device for web site detection according to an embodiment of the present invention is shown, which may specifically include the following modules:
the detection module 401 is adapted to monitor, at a website security component side, that a browser in a computer system where the website security component is located initiates a loading request of a current webpage;
a judging module 402, adapted to judge whether the loading request meets a preset condition; if yes, calling a recommended information loading identifier generation module 403;
a recommended information loading identifier generating module 403, adapted to generate a recommended information loading identifier;
a recommended information loading identifier sending module 404, adapted to send the recommended information loading identifier to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
In a preferred embodiment of the present invention, the preset condition may include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
and the current webpage corresponding to the loading request is a specified webpage.
In a preferred embodiment of the present invention, the following modules may be further included:
the website information extracting module is suitable for extracting the website information of the current webpage from the loading request;
and the verification module is suitable for adopting the website information to carry out security verification on the current webpage and judging the current webpage to be a safe webpage.
Referring to fig. 5, a block diagram of a browser according to an embodiment of the present invention is shown, which may specifically include the following modules: the method specifically comprises the following modules:
a loading request initiating module 501, adapted to initiate a loading request of a current webpage at a browser side;
a recommended information loading identifier receiving module 502, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located for the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
a recommendation information request module 503, adapted to request recommendation information from a recommendation server corresponding to the browser according to the web page state information of the current web page;
a recommendation information loading module 504, adapted to load recommendation information requested from the recommendation server in a browser window of the current web page on the browser side.
In a preferred embodiment of the present invention, the preset condition may include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
In a preferred embodiment of the present invention, the webpage status information may include one or more of the following:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
In a preferred embodiment of the present invention, the extension information may include one or more of the following:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
In a preferred embodiment of the present invention, the recommendation information requesting module 503 may be further adapted to:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
In a preferred embodiment of the present invention, the recommendation information may include entry data and display attribute data;
the recommendation information loading module 504 may be further adapted to:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
In a preferred embodiment of the present invention, the browser side may have a recommendation information identifier corresponding to the current recommendation information, which is established by the recommendation server side;
the recommendation information loading module 504 may be further adapted to:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
In a preferred embodiment of the invention, the entry data may include one or more of the following:
text information, picture information, audio information, video information, and Flash information.
In a preferred embodiment of the present invention, each web page window on the browser side may have corresponding recommendation information stored therein.
In a preferred embodiment of the present invention, the following modules may be specifically included:
the search request initiating module is suitable for initiating a search request to the search engine by adopting the recommendation information when the recommendation information is triggered;
and the search result loading module is suitable for loading the search result obtained by the search engine by searching according to the search request by adopting the recommendation information.
Referring to fig. 6, a block diagram of an embodiment of a loading system for recommendation information according to an embodiment of the present invention is shown, which may include a browser 61, a website security device 62, and a recommendation server 63; wherein,
the browser 61 may load the recommendation information device 610, and the recommendation information device 610 may include the following modules:
a loading request initiating module 611, adapted to initiate a loading request of a current web page at a browser side;
a recommended information loading identifier receiving module 612, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located for the loading request;
a recommendation information request module 613, adapted to request recommendation information from a recommendation server corresponding to the browser according to the web page state information of the current web page;
a recommendation information loading module 614, adapted to load recommendation information requested from the recommendation server in a browser window of the current web page on the browser side;
the website security device 62 may comprise a website detecting device 620, and the website detecting device 620 may comprise the following modules:
the monitoring module 621 is adapted to initiate a loading request of a current webpage in a browser in the computer system where the website security component is monitored;
a determining module 622, adapted to determine whether the loading request meets a preset condition; if yes, a recommendation information loading identifier generation module 623 is called;
a recommended information loading identifier generation module 623 adapted to generate a recommended information loading identifier;
a recommended information loading identifier sending module 624, adapted to send the recommended information loading identifier to the browser.
The functions and operation states of the related modules are not described herein again, please refer to the related contents of the above embodiments;
the recommendation server 63 may store one or more pieces of recommendation information, and the recommendation server 63 may include the following modules:
the recommending module 631 is adapted to search recommendation information corresponding to the web page state information of the current web page when receiving a request for recommendation information sent by the browser side.
It should be noted that the website security device and the browser may be provided in the same computer (computer) device.
For the device, browser and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, 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 an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed 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 will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any 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 appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of 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.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the recommendation information loading apparatus, the web site detection apparatus, and the like, in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or 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 may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
An embodiment of the invention discloses a1, a method for loading recommendation information, comprising:
initiating a loading request of a current webpage at a browser side;
receiving the recommended information loading identification sent by the website security component in the computer system where the browser is located aiming at the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
A2, the method as in A1, the preset conditions comprising:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
A3, the method as in A1 or A2, the web page status information comprising one or more of:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
A4, the method of A3, the extension information comprising one or more of:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
A5, the method of A3, wherein the step of requesting recommendation information from a recommendation server corresponding to the browser according to the web page status information of the current web page includes:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
A6, the method as described in A1 or A2 or A4 or A5, the recommendation information including item data and display attribute data;
the step of loading the recommendation information requested from the recommendation server in the browser window of the current webpage on the browser side includes:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
A7, the method as A6, the browser side having a recommendation information identifier corresponding to the current recommendation information established by the recommendation server side;
the step of receiving the item data sent by the recommendation server comprises:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
A8, the method of A6, the entry data comprising one or more of:
text information, picture information, audio information, video information, and Flash information.
A9, the method as A1 or A2 or A4 or A5 or A7 or A8, stores the corresponding recommendation information in each webpage window on the browser side.
A10, the method of any one of a1 or a2 or a4 or a5 or a7 or A8, further comprising:
when the recommendation information is triggered, initiating a search request to the search engine by adopting the recommendation information;
and loading a search result obtained by searching the search engine by adopting the recommendation information according to the search request.
An embodiment of the invention also discloses B11, a method for detecting the website, which comprises the following steps:
monitoring that a browser in a computer system where a website security component is located initiates a loading request of a current webpage at a website security component side;
judging whether the loading request meets a preset condition or not; if yes, generating a recommended information loading identifier;
sending the recommendation information loading identification to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
B12, the method as described in B11, the preset conditions include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
and the current webpage corresponding to the loading request is a specified webpage.
The method according to B13, as described in B11 or B12, further comprising, before the step of determining whether the load request meets a preset condition:
extracting the website information of the current webpage from the loading request;
and adopting the website information to carry out security check on the current webpage, and judging that the current webpage is a safe webpage.
An embodiment of the present invention further discloses C14, an apparatus for loading recommendation information, including:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
C15, the device as C14, the preset conditions include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
C6, the device as described in C14 or C15, the web page status information including one or more of:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
C17, the apparatus as in C16, the extension information comprising one or more of:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
C18, the apparatus of C16, the recommendation information request module further adapted to:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
C19, the device as described in C14 or C15 or C17 or C18, the recommendation information including item data and display attribute data;
the recommendation information loading module is further adapted to:
generating a display window in a browser window of the current webpage at the browser side according to the display attribute data;
receiving entry data sent by the recommendation server;
displaying the item data in the presentation window.
C20, the device according to C19, the browser side has the recommendation information identification corresponding to the current recommendation information established by the recommendation server side;
the recommendation information loading module is further adapted to:
and receiving entry data sent by the recommendation server aiming at the display window and a recommendation information mark corresponding to the current recommendation information.
C21, the apparatus of C19, the entry data including one or more of:
text information, picture information, audio information, video information, and Flash information.
The device according to any one of C22, such as C14, C15, C17, C18, C20 and C21, stores corresponding recommendation information in each web page window on the browser side.
C23, the device of any one of C14 or C15 or C17 or C18 or C20 or C21, further comprising:
the search request initiating module is suitable for initiating a search request to the search engine by adopting the recommendation information when the recommendation information is triggered;
and the search result loading module is suitable for loading the search result obtained by the search engine by searching according to the search request by adopting the recommendation information.
One embodiment of the present invention further discloses D24, a device for detecting a website, comprising:
the monitoring module is suitable for monitoring that a browser in a computer system where the website security component is located initiates a loading request of a current webpage at the website security component side;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
D25, the apparatus of D24, the preset conditions comprising:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
and the current webpage corresponding to the loading request is a specified webpage.
D26, the apparatus of D24 or D25, further comprising:
the website information extracting module is suitable for extracting the website information of the current webpage from the loading request;
and the verification module is suitable for adopting the website information to carry out security verification on the current webpage and judging the current webpage to be a safe webpage.
An embodiment of the invention also discloses E27, a browser, comprising:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
The embodiment of the invention also discloses F28, a loading system of recommendation information, which comprises a browser, website safety equipment and a recommendation server; wherein,
the browser comprises a device for loading recommendation information, and the device for loading recommendation information comprises:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
the recommendation information loading module is suitable for loading recommendation information requested by the recommendation server in a browser window of the current webpage at a browser side;
the website security device comprises a website detection device, and the website detection device comprises:
the monitoring module is suitable for initiating a loading request of a current webpage in a browser in a computer system where the website security component is monitored;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser;
the recommendation server stores one or more pieces of recommendation information, and comprises:
and the recommendation module is suitable for searching recommendation information corresponding to the webpage state information of the current webpage when a request of the recommendation information sent by the browser side is received.
F29, the system of F28, the browser including the apparatus for loading recommendation information of any one of claims C15-C23.
F30, the system according to F28, wherein the website security device comprises the website detecting apparatus according to any one of claims D24-D26.

Claims (10)

1. A method of loading recommendation information, comprising:
initiating a loading request of a current webpage at a browser side;
receiving the recommended information loading identification sent by the website security component in the computer system where the browser is located aiming at the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
2. The method of claim 1, wherein the preset conditions include:
the current webpage corresponding to the loading request is a page corresponding to a search result item in a search result page of a search engine;
and/or the presence of a gas in the gas,
the current webpage corresponding to the loading request is a designated webpage;
and/or the presence of a gas in the gas,
and checking the current webpage corresponding to the loading request as a safe webpage.
3. The method of claim 1 or 2, wherein the web page status information comprises one or more of:
refer information of a current webpage, website information of the current webpage, title information, computer hardware identification information and extension information; wherein,
the Refer information of the current webpage is information of a URL corresponding to a search result page obtained by submitting search keywords in the search engine;
the website information of the current webpage is information for recording the URL of the current webpage requested to be loaded;
the title information is information for recording a title corresponding to the current webpage requested to be loaded;
the computer hardware identification information is information for identifying computer hardware where the browser is located;
the extended information includes information recording setting parameters when other recommended information is loaded last time.
4. The method of claim 3, wherein the extension information comprises one or more of:
displaying parameters, opening parameters, closing parameters and recommendation information identification; wherein,
the display parameters are parameters which are displayed or not displayed when the recommendation information is loaded;
the starting parameter is a parameter for recording manual starting or automatic starting loading recommendation information;
the closing parameter is a parameter which is manually closed or not closed when the recommended information is recorded and loaded;
the recommendation information identification is a session established between the browser and the recommendation server when the recommendation information is loaded.
5. The method of claim 3, wherein the step of requesting recommendation information from a recommendation server corresponding to the browser according to the web page state information of the current web page comprises:
when the current webpage is a designated webpage, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the website information of the current webpage; the server is used for searching recommendation information corresponding to the website information of the current webpage according to the request;
and/or the presence of a gas in the gas,
when the current webpage is loaded, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising the title information; the server is used for searching recommendation information corresponding to the title information according to the request;
and/or the presence of a gas in the gas,
when the current webpage is a search result page of a search engine, requesting recommendation information from a recommendation server corresponding to the browser by webpage state information at least comprising Refer information of the current webpage; the server is used for carrying out URL structure analysis by adopting Refer information of the current webpage according to the request, extracting search keyword information in the URL of the current webpage, decoding the search keyword information according to a preset page coding rule to obtain a search keyword, and searching recommendation information corresponding to the search keyword.
6. A web site detection method comprises the following steps:
monitoring that a browser in a computer system where a website security component is located initiates a loading request of a current webpage at a website security component side;
judging whether the loading request meets a preset condition or not; if yes, generating a recommended information loading identifier;
sending the recommendation information loading identification to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
7. An apparatus for loading recommendation information, comprising:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
8. An apparatus for web site detection, comprising:
the monitoring module is suitable for monitoring that a browser in a computer system where the website security component is located initiates a loading request of a current webpage at the website security component side;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser; the browser is used for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage, and loading the recommendation information requested from the recommendation server in a browser window of the current webpage on the browser side.
9. A browser, comprising:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request; the recommended information loading identifier is a recommended information loading identifier generated when the website security component judges that the loading request meets a preset condition;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
and the recommendation information loading module is suitable for loading recommendation information requested from the recommendation server in a browser window of the current webpage at the browser side.
10. A loading system of recommendation information comprises a browser, website safety equipment and a recommendation server; wherein,
the browser comprises a device for loading recommendation information, and the device for loading recommendation information comprises:
the loading request initiating module is suitable for initiating a loading request of the current webpage at the browser side;
a recommended information loading identifier receiving module, adapted to receive the recommended information loading identifier sent by the website security component in the computer system where the browser is located in response to the loading request;
the recommendation information request module is suitable for requesting recommendation information from a recommendation server corresponding to the browser according to the webpage state information of the current webpage;
the recommendation information loading module is suitable for loading recommendation information requested by the recommendation server in a browser window of the current webpage at a browser side;
the website security device comprises a website detection device, and the website detection device comprises:
the monitoring module is suitable for initiating a loading request of a current webpage in a browser in a computer system where the website security component is monitored;
the judging module is suitable for judging whether the loading request meets a preset condition or not; if yes, calling a recommendation information loading identification generation module;
the recommendation information loading identifier generation module is suitable for generating a recommendation information loading identifier;
the recommended information loading identifier sending module is suitable for sending the recommended information loading identifier to the browser;
the recommendation server stores one or more pieces of recommendation information, and comprises:
and the recommendation module is suitable for searching recommendation information corresponding to the webpage state information of the current webpage when a request of the recommendation information sent by the browser side is received.
CN201410040400.5A 2014-01-27 2014-01-27 A kind of loading recommendation information, the methods, devices and systems of network address detection Active CN103793508B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201410040400.5A CN103793508B (en) 2014-01-27 2014-01-27 A kind of loading recommendation information, the methods, devices and systems of network address detection
US15/114,770 US20160342689A1 (en) 2014-01-27 2014-12-31 Method, device and system for loading recommendation information and detecting web address
PCT/CN2014/095849 WO2015109928A1 (en) 2014-01-27 2014-12-31 Method, device and system for loading recommendation information and detecting url

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410040400.5A CN103793508B (en) 2014-01-27 2014-01-27 A kind of loading recommendation information, the methods, devices and systems of network address detection

Publications (2)

Publication Number Publication Date
CN103793508A true CN103793508A (en) 2014-05-14
CN103793508B CN103793508B (en) 2017-04-05

Family

ID=50669174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410040400.5A Active CN103793508B (en) 2014-01-27 2014-01-27 A kind of loading recommendation information, the methods, devices and systems of network address detection

Country Status (1)

Country Link
CN (1) CN103793508B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015109928A1 (en) * 2014-01-27 2015-07-30 北京奇虎科技有限公司 Method, device and system for loading recommendation information and detecting url
CN105912546A (en) * 2015-12-15 2016-08-31 乐视网信息技术(北京)股份有限公司 Method and device for processing recommendation information
CN106302317A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 The generation method and apparatus of logon web page
CN110750720A (en) * 2019-10-21 2020-02-04 上海嵩恒网络科技股份有限公司 Scene individual recommendation method and system based on PC (personal computer) terminal
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN112445967A (en) * 2019-08-30 2021-03-05 腾讯科技(深圳)有限公司 Information push method and device, readable storage medium and information push system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163196A (en) * 2010-02-22 2011-08-24 中国联合网络通信集团有限公司 Implementation method and system thereof for intelligent browser of mobile terminal
CN102663052A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for providing search results of search engine
CN102737183A (en) * 2012-06-12 2012-10-17 腾讯科技(深圳)有限公司 Method and device for webpage safety access

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163196A (en) * 2010-02-22 2011-08-24 中国联合网络通信集团有限公司 Implementation method and system thereof for intelligent browser of mobile terminal
CN102663052A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for providing search results of search engine
CN102737183A (en) * 2012-06-12 2012-10-17 腾讯科技(深圳)有限公司 Method and device for webpage safety access

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015109928A1 (en) * 2014-01-27 2015-07-30 北京奇虎科技有限公司 Method, device and system for loading recommendation information and detecting url
CN106302317A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 The generation method and apparatus of logon web page
CN105912546A (en) * 2015-12-15 2016-08-31 乐视网信息技术(北京)股份有限公司 Method and device for processing recommendation information
CN112445967A (en) * 2019-08-30 2021-03-05 腾讯科技(深圳)有限公司 Information push method and device, readable storage medium and information push system
CN112445967B (en) * 2019-08-30 2023-09-26 腾讯科技(深圳)有限公司 Information pushing method and device, readable storage medium and information pushing system
CN110750720A (en) * 2019-10-21 2020-02-04 上海嵩恒网络科技股份有限公司 Scene individual recommendation method and system based on PC (personal computer) terminal
CN110750720B (en) * 2019-10-21 2023-04-28 上海嵩恒网络科技股份有限公司 PC-based scene individual recommendation method and system
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN112269959B (en) * 2020-11-19 2024-05-24 北京有竹居网络技术有限公司 Control method and device for display content, readable medium and electronic equipment

Also Published As

Publication number Publication date
CN103793508B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN103810268B (en) Search result recommendation information loading method, device and system and URL detection method, device and system
US10164988B2 (en) External link processing
CN103793508B (en) A kind of loading recommendation information, the methods, devices and systems of network address detection
CN102129528B (en) WEB page tampering identification method and system
US20220030085A1 (en) Method, client, server, and system for sharing content
WO2015109928A1 (en) Method, device and system for loading recommendation information and detecting url
CN102333122B (en) Downloaded resource provision method, device and system
US9614862B2 (en) System and method for webpage analysis
US8438642B2 (en) Method of detecting potential phishing by analyzing universal resource locators
US8972412B1 (en) Predicting improvement in website search engine rankings based upon website linking relationships
US9584580B2 (en) URL rescue by identifying information related to an item referenced in an invalid URL
US8438279B2 (en) Identifying content that is responsive to a request for an invalid URL
CN101895516B (en) Method and device for positioning cross-site scripting attack source
US20080228928A1 (en) Multimedia content filtering
WO2013097742A1 (en) Methods and devices for identifying tampered webpage and identifying hijacked website
CN102694772A (en) Apparatus, system and method for accessing internet web pages
CN108574686B (en) Method and device for previewing file online
CN103647767A (en) Website information display method and apparatus
CN103617278A (en) Control method and device for address bar searching
CN104023046B (en) Mobile terminal recognition method and device
CN102033926B (en) Page content processing method and device
CN111143722A (en) Method, device, equipment and medium for detecting webpage hidden link
JP2007323225A (en) System, terminal, server and dynamic information providing method
Fatt et al. Phishdentity: Leverage website favicon to offset polymorphic phishing website
CN102937982B (en) A kind of method and system collecting content generation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right