Supercharge Your Innovation With Domain-Expert AI Agents!

Method for incrementally capturing webpage contents

A web content and incremental technology, applied in the computer field, can solve problems such as low efficiency and reduced value, and achieve the effect of reducing the workload of crawling and improving the efficiency of update.

Inactive Publication Date: 2015-03-04
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF9 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the era of rapid Internet development, the update speed of webpage information is also extremely fast. In this case, due to the requirements for timeliness, freshness and other indicators, the value of the existing webpage content information resource library is reduced, which cannot meet the corresponding requirements. need
The existing incremental crawling method usually traverses all web pages and extracts web page information with higher freshness compared with existing resources. This method is very inefficient and has relatively high requirements for time, space and network bandwidth. High, in this case, an efficient method of incremental web page content crawling is particularly important

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 incrementally capturing webpage contents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The method for incrementally capturing webpage content in the present invention is to extract the URL of the webpage in the state of changing and updating on the basis of establishing the webpage content resource library, and then grab the content metadata from the downloaded webpage and add Mass update the corresponding content in the resource library, or insert web page content that does not exist in the original resource library.

[0013] The incremental update of the basic resource library in the present invention includes the update of existing webpage content information and the addition of webpage content information under a brand new URL.

[0014] Such as figure 1 Shown, the inventive method comprises the steps:

[0015] Step S101, establishing a webpage content basic resource library:

[0016] Firstly, traverse all webpages meeting the requirement definition under the seed URL in a global search and traversal manner, download these webpages and analyze them a...

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 incrementally capturing webpage contents. The method comprises the steps of establishing a webpage content basic resource library in a global search traversal manner, next, extracting URLs of webpage contents in a changing update status, adding the URLs and corresponding webpage analysis rules to a distributed task queue, downloading the webpages and creating webpage DOM objects, extracting webpage content metadata according to the analysis rules, and replacing the updated information after comparing the extracted metadata with the webpage contents in the original basic library, or inserting the webpage content information to URLs completely nonexistent in the basic resource library. The method for incrementally capturing the webpage contents does not need to traverse the webpage contents of all the URLs while checking update of the whole resource library, and only needs to traverse the webpage contents under the URLs having update change identifiers, and therefore, incremental capture on the webpage contents is realized, the capture workload is reduced and the update efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an incremental webpage content grabbing method. Background technique [0002] At present, crawler technology is widely used in crawling webpage content. Massive webpage information is usually obtained through a greedy and carpet-like web crawler method and a corresponding resource library is established. However, in the era of rapid Internet development, the update speed of webpage information is also extremely fast. In this case, due to the requirements for timeliness, freshness and other indicators, the value of the existing webpage content information resource library is reduced, which cannot meet the corresponding requirements. need. The existing incremental crawling method usually traverses all web pages and extracts web page information with higher freshness compared with existing resources. This method is very inefficient and has relatively high requirements for time, 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
IPC IPC(8): G06F17/30
CPCG06F16/9566G06F16/951
Inventor 康钟荣李强
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More