Method and system for parallel square crossing network data collection

A vertical cross, network data technology, applied in the Internet field, can solve the problems of network server blocking, server router paralysis, single page hierarchy, etc., to achieve the effect of reducing potential risks and costs, and being easy to implement and understand

Active Publication Date: 2013-08-21
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] Poor quality crawlers that may crash servers or routers, or try to download pages they cannot handle
[0020] Personal crawler, if too many people use it, it may be that the network or server is blocked
[0021] The disadvantage of using objects as the collection target is that the hierarchical structure of the collected we

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 system for parallel square crossing network data collection
  • Method and system for parallel square crossing network data collection
  • Method and system for parallel square crossing network data collection

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0055] Figure 1A It is a flow chart of the parallel vertical cross network data acquisition method of the present invention. Such as Figure 1A As shown, the method includes:

[0056] S1. Determine the collection method according to the configuration parameters. If it is a common URL list collection method, download the web page data and its metadata directly according to the URL list. If it is a vertical cross collection method, use the cross keyword list to retrieve the page to be downloaded and download it The web page data and its metadata;

[0057] S2, a regular update task, scan and check all the web pages from the first layer to the current layer in the downloaded web page. When the last modification time of the newly downloaded page is greater than the last modification time of the downloaded page, the newly downloaded page Perform data collection and update web data records.

[0058] Further, in the S1:

[0059] When the webpage to be downloaded is a text file in doc or pd...

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 provides a method and system for parallel square crossing network data collection. The method comprises the steps that S1 a collection method is determined, and S2 tasks are updated at regular time, wherein if a common URL list collection method is determined, data and metadata of a webpage to be downloaded are directly downloaded according to a URL list, and if a square crossing collection method is determined, a webpage to be downloaded is searched by utilizing a crossing keyword list, and data and metadata of the webpage is downloaded. Scanning inspection is carried out on all webpages from the first layer to the current layer in a downloaded webpage, and when the last modification time of a newly downloaded webpage is later than the last modification time of a downloaded webpage, data collection is carried out on the newly downloaded webpage, and webpage data records are updated. By means of the method and system for parallel square crossing network data collection, potential risks and cost in the multithreading technology are avoided, potential risks and cost in multithreading parallel collection are lowered, parallel collection of mass data can be carried out more stably and more efficiently, and data reading and inquiring efficiency is improved.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a parallel vertical cross network data collection method and system. Background technique [0002] A web crawler is a program that automatically extracts web pages. It downloads web pages from the World Wide Web for search engines and is an important component of search engines. Traditional crawlers start from the URL of one or several initial webpages, obtain the URLs on the initial webpage, and continuously extract new URLs from the current page and put them into the queue during the process of crawling webpages until a certain stop condition of the system is met. In addition, all the webpages crawled by the crawler will be stored by the system, analyzed, filtered, and indexed for later query and retrieval. [0003] A combination of four strategies is usually considered when designing a web crawler: [0004] Selection strategy: decide which pages to download; [0005] Revisit pol...

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 INST OF COMPUTING TECH CHINESE ACAD OF SCI
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