Method and device for detecting re-orientation of page in search engine

A search engine and redirection technology, which is applied in the field of network communication, can solve problems that affect user experience, security risks, and undetectable page redirection, and achieve the effect of improving user experience, security and efficiency

Active Publication Date: 2009-11-25
SHENZHEN TENCENT COMP SYST CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the search engine in the prior art scheme is based on the detection mechanism of static page analysis, it is impossible to detect the page redirection achieved by dynamic scripts, so that a lot of redirection garbage is generated, so that the redirection garbage pages are listed in the search results. Shown in , the security risks brought to the user's search process have affected the user's experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting re-orientation of page in search engine
  • Method and device for detecting re-orientation of page in search engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Embodiment 1: In order to better describe the embodiment of the present invention, the specific embodiment of the present invention will be described in conjunction with the accompanying drawings, such as figure 1 Shown is a schematic flowchart of a method for detecting page redirection in a search engine provided in Embodiment 1 of the present invention, and the method includes:

[0044] Step 11: Parse the original page to create an original DOM tree.

[0045] In this step 11, the original page is parsed, and a DOM tree is created that stores the content of each scripting language node of the original page. Specifically, the HTML source code of the original page hypertext markup language can be input first, and then the HTML source code of the original page is parsed to create a DOM tree storing the content of each script language node of the original page.

[0046]Step 12: traverse each script language node in the DOM tree, and execute the external dynamic script lan...

Embodiment 2

[0065] Embodiment 2: Embodiment 2 of the present invention provides a detection device for page redirection in a search engine, such as figure 2 Shown is a schematic structural diagram of the device provided in Embodiment 2, the device includes a static parsing unit, a script parsing unit and a redirection analyzing unit, wherein:

[0066] The static parsing unit is used for parsing the original page, and creating a document object model DOM tree storing the content of each script language node of the original page.

[0067] The script parsing unit is used to traverse each scripting language node in the DOM tree created by the static parsing unit, if there is a node referencing an external dynamic scripting language, execute the external dynamic scripting language, and update the DOM tree. For a specific way of parsing and updating, refer to the description in Embodiment 1 of the above method.

[0068] The redirection analysis unit is used to determine whether there is an i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention provides a method and a device for detecting the re-orientation of page in the search engine. Firstly the original page is analyzed for establishing a document object model DOM tree which is stored with each scripting language node content of the original page. Then each scripting language node in the DOM tree is traversed. If the node which quotes the outer dynamic scripting language exists, the outer dynamic scripting language is executed and the DOM tree is updated. Then whether one element selected from the current page address property, the time-delay execution function, the page loading initializing function, the meta-information property and the new window opening function is generated with re-orientation is determined sequentially according to the updated DOM tree. If the re-orientation exists, the re-orientation of the page is determined to exist. Through the application of the technical solution, the detecting to the re-orientation of the page can be detected based on the prior static page analysis thereby increasing the safety degree and the efficiency of the searching and improving the using experience of the subscriber.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and device for detecting page redirection in a search engine. Background technique [0002] At present, in the application process of web search engines, there is generally a problem of redirection spam. The so-called redirection spam refers to the search engine building an index by providing false content, but when the user actually visits the index to provide page, the page will automatically redirect to another page. For example: when a user visits page A provided by the index, the page is immediately redirected to page B, and this page B is likely to be a problematic page, which brings security risks to the user's search process. [0003] In the prior art, search engines generally create indexes based on the analysis of static pages, so that users can quickly find the information they need when searching for keywords; and for the problem of page redirection, sea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 张海清林世飞马杰李佳
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products