How RSS and crawlers collect data

Source: Internet
Author: User
Before the value of data is mined, it is necessary to obtain comprehensive and accurate data through the collection, storage, analysis and calculation processes, which is the basis for data value mining. In this issue, the "big data story" of the CSDN Cloud Computing Club will start with the most common data collection method-RSS and search engine crawler. Abstract: before the value of data is mined, it is necessary to obtain comprehensive and accurate data through the collection, storage, analysis and calculation processes, which is the basis for data value mining. In this issue, the "big data story" of the CSDN Cloud Computing Club will start with the most common data collection method-RSS and search engine crawler.

On July 6, December 30, the CSDN Cloud Computing Club held a 3 W Coffee with the theme "RSS and crawlers: The Story of Big Data-how to collect data ". Before the value of data is mined, it is necessary to obtain comprehensive and accurate data through the collection, storage, analysis and calculation processes, which is the basis for data value mining. Maybe the current data cannot bring practical value to enterprises or organizations, but as a visionary decision maker, we should realize that data should be collected and stored as soon as possible, and data is wealth. This "big data Story" will start with the most common data collection methods-RSS and search engine crawlers.

Here, the first one is a sub-system of RSS/sitemap, followed by the scheduling system Webmain scheduler for web crawling, followed by a timeliness module Vertical Scheduler, and the leftmost DNS service, during crawling, there are usually dozens or even hundreds of grabbing clusters. if each of them is protected, the pressure on DNS is relatively high, therefore, a DNS service module is generally used as a global service. After data capturing is completed, subsequent data processing is generally performed.

Effective modules include the following:

RSS/sitemap system: the timeliness system uses RSS/sitemap to mine seeds, regularly crawl, parse the link release time, and preferentially crawl and index newer webpages.

Pan-crawling system: a well-designed pan-crawling system can improve the high coverage rate of time-sensitive web pages, but pan-crawling needs to shorten the scheduling cycle as much as possible.

Seed scheduling system: it is mainly a time-sensitive seed library. some information scheduling systems in this seed library will constantly scan the database and send it to the cluster to capture it, after the cluster is crawled, some extracted links are processed. then, these links are sent by category, and each vertical channel obtains time-sensitive data.

Seed mining: Involves page parsing or other mining methods. it can be built through site maps, navigation bars, and based on the page structure features and page change rules.

Seed update mechanism: records the capture history and follow link information of each seed, regularly updates features based on the seed's external links, and recalculates the seed update cycle.

Crawling system and JavaScript parsing: uses a browser to crawl and build a crawling cluster based on browser crawling. Or use open-source projects, such as Qtwebkit.

The above are RSS and crawlers. for details about how to collect data, refer to other related articles in the first PHP community!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.