Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for acquiring webpage address

A technology of web page address and acquisition method, which is applied in the field of Internet security, can solve the problems of high program development and maintenance costs, slow running speed, high error rate, etc., and achieve the goal of reducing program development and maintenance costs, increasing success rate, and fast running speed Effect

Active Publication Date: 2012-02-08
北龙中网(北京)科技有限责任公司
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] As mentioned above, there are various methods for introducing webpages, and the programming method is not uniform, which makes it difficult to obtain all webpage addresses (such as 2.html and 3.html) recursively called between the source webpage and the destination webpage. ), have to traverse to find all keywords or web page elements, which makes the following common defects in the existing keyword search method and page element method:
[0007] (1) The cost of program development and maintenance is high: when a new method of introducing web pages appears, the program cannot automatically identify and capture them immediately, and the program needs to be redeveloped to add new keywords or web page element types;
[0008] (2) High error rate: the existing methods for introducing webpages lack standardized programming methods, so that the program cannot correctly identify the webpage addresses introduced by non-standard programming methods, and there may be missed and misjudgment situations, such as making the original reference The page was not found, and the non-referenced page was misjudged as an imported page;
[0009] (3) Slow running speed: With the increase of new methods for introducing web pages, more and more keywords need to be traversed, which leads to slower and slower processing speed of the program; , all content of the web page is loaded into the memory, so when the web page is large, the recognition speed of the program will become very slow

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 acquiring webpage address
  • Method and device for acquiring webpage address
  • Method and device for acquiring webpage address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The serial numbers of the following embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

[0029] figure 1 It is a flowchart of a method for obtaining a webpage address provided by Embodiment 1 of the present invention. like figure 1 The methods show...

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

The invention discloses a method and device for acquiring a webpage address. The method comprises the following steps of: initializing a browser embedded insert preliminarily embedded in a browser, and registering a callback function pointer of the browser embedded insert in the browser in the process of initializing the browser embedded insert; when the browser triggers an operation event corresponding to an opened webpage every time, writing a webpage address quoted or skipped by the operation event into a corresponding parameter of a callback function through calling the callback function pointed by the callback function pointer by the browser, and analyzing the callback function through the browser embedded insert and recording an analysis result until the analysis result meets a preset ending condition, wherein the analysis result comprises the webpage address triggered every time and quoted or skipped by the operation event corresponding to the opened webpage and a recursion call relationship among webpage addresses recorded many times. By using the method and device for acquiring the webpage address in the invention, the cost for acquiring the webpage address is reduced, and the efficiency of acquiring the webpage address is increased.

Description

technical field [0001] The invention relates to Internet security technology, in particular to a method and device for obtaining a web page address. Background technique [0002] With the continuous improvement of Internet webpage production technology, other webpages can be introduced and presented to users in the same webpage through various methods. Commonly used methods for introducing web pages include: an iframe method, an include method, a browser download (IE: Download) method, an object, and the like. The writing methods of these methods are different, and browsers such as IE do not have strict requirements on the format of these programming writing methods. Browsers can recognize and process these programs, thus ensuring the compatibility of web pages. In addition, the citation method also supports recursive nested citations of web pages, for example: citing "2.html" in "1.html", citing "3.html" in 2.html, and citing "3.html" in "3.html" Refer to "4.html", and s...

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 北龙中网(北京)科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products