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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com