Method for constructing lightweight webpage dynamic view

A dynamic view, lightweight technology, applied in instrumentation, computing, electrical digital data processing, etc., can solve problems such as large time cost and system cost, and achieve the effect of small system cost and low time cost

Inactive Publication Date: 2010-06-30
PEKING UNIV
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, a highly interactive method can be used to obtain the dynamic view of the webpage, that is, to monitor the behavior of the browser when b

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 for constructing lightweight webpage dynamic view
  • Method for constructing lightweight webpage dynamic view
  • Method for constructing lightweight webpage dynamic view

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

br>[0040] The following combination is attached Fig. 2, the method in the present invention is described in detail, a specific implementation uses the instance set of data structure 1 as the structured representation of the dynamic view of the webpage,

[ 0041] struct node_link{

[0042] Node_Type child_type;

[0043] string parentURL ;

[0044] string childURL;

[0045]}

[0046] Data structure 1 definition

[0047] where enum Node_Type{InlineScript, InlinePage...}[0048] The steps of this embodiment are as follows:

[0049] (1) Simulate with JavaScript scripting language The various DOM APIs provided by the browser to the script, put the code into the defineDOMAPI.js file, where:

[0050]a) define window.open(), Output the url in the parameter through print;

[0051] b) define document.write(), which calls the callback function to further analyze the content of its parameters, and parses The script content is executed immediately in the current context by executing the eval function, and the parsed...

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 for constructing a lightweight webpage dynamic view, and belongs to the technical field of computer application. The method comprises the steps of: 1) extracting a local script and a static embedded link of a webpage to be analyzed; 2) extracting a static embedded script from the static embedded link; 3) executing the local script and the static embedded script dynamically by utilizing a script executing engine to recognize a dynamic embedded link of the webpage; 4) constructing an embedded document set by a document pointed by the dynamic embedded link and a document pointed by the static embedded link; 5) extracting a quoting-quoted relation of the webpage and the document in the embedded document set; and 6) respectively taking the recognized static embedded webpage and dynamic embedded webpage as webpages to be analyzed, repeating the steps from 1) to 5), and establishing the webpage dynamic view according to the embedded document set acquired every time and the quoting-quoted relation. In the method, the webpage dynamic view is constructed at small system cost in less time.

Description

technical field [0001] The invention belongs to the technical field of computer applications, and in particular relates to a method for quickly constructing low-interaction dynamic webpage views by combining static analysis of pages and dynamic execution of scripts. Background technique [0002] Early web pages simply included some text and pictures. With the development of web technology in recent years, web page writers often use some embedded links and combined scripts to run more active pages in a way that does not require user interaction. Elements and more exciting content are displayed on the page. [0003] Embedded links are a special form of hyperlinks with src attributes in HTML pages. Its characteristic is that when a browser accesses a page with an embedded link, the content pointed to by the link will be automatically loaded without the user clicking. , such as with the src attribute <iframe>, <frame> points to an embedded page, and the src of <...

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
IPC IPC(8): G06F17/30
Inventor 张慧琳诸葛建伟宋程昱韩心慧龚晓锐邹维
Owner PEKING UNIV
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