A parallel vertical cross network data acquisition method and system

A vertical crossover and network data technology, applied in the Internet field, can solve problems such as server router paralysis, network server congestion, scheduling cost, resource occupation cost increase, etc., to achieve the effect of being easy to implement and understand, and reducing potential risks and costs

Active Publication Date: 2016-04-13
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF3 Cites 0 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 web pages is too single, which is not convenient for subsequent data analysis and processing; the defect of using multi-threads as the collection method is mainly that when the number of threads is too large, the scheduling , resource occupation costs, etc. will increase accordingly, and there is a high risk of thread deadlock

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
  • A parallel vertical cross network data acquisition method and system
  • A parallel vertical cross network data acquisition method and system
  • A parallel vertical cross network data acquisition method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[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 the normal URL list collection method, directly download the webpage data to be downloaded and its metadata according to the URL list. If it is the vertical cross collection method, use the cross keyword list to retrieve the page to be downloaded and download the web page data and its metadata;

[0057] S2, regular update task, scan and check all the webpages from the first layer to the current layer in the downloaded webpage, when the last modification time of the newly downloaded page is greater than the last modification time of the downloaded page, restart the newly downloaded page Collect data and update web data records.

[0058] Further, in said S1:

[0059] When the webpage to be downloaded is 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 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
Patent Type & Authority Patents(China)
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