Web Crawler Trap Detection via Date Pattern Regular Expressions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional web crawlers face inefficiencies and increased storage and load issues due to the collection of unnecessary web pages caused by infinite hyperlink loops in web-based calendar pages, leading to poor performance and resource consumption.

Innovation Solution

A method and system that cluster URLs based on predetermined standards, generate regular expressions from date patterns, and identify web traps by analyzing clustering results to detect and delete unnecessary web pages, thereby preventing infinite linking and optimizing web crawler operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If web crawlers collect all hyperlinks from web-based calendar pages, then comprehensive web page collection is achieved, but storage space is consumed and performance deteriorates due to infinite hyperlink loops

Engineering Contradiction:
Improveamount of collected web pagesVSAvoidweb crawler performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent applies preliminary action by generating regular expressions from date patterns before the web crawling process. These pre-generated patterns are used to identify and filter out calendar-related hyperlinks in advance, preventing the crawler from entering infinite loops and collecting unnecessary pages, thus improving performance while maintaining comprehensive collection of legitimate web pages

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts and removes the harmful component (calendar-related hyperlinks) from the web page collection process. By using regular expressions to identify and exclude URLs matching calendar date patterns, the system separates useful web pages from harmful infinite loop links, resolving the contradiction between comprehensive collection and performance

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If web-based calendar pages include hyperlinks to previous and subsequent months and years, then navigation functionality is improved, but infinite hyperlink loops are generated causing web traps

Engineering Contradiction:
Improvecalendar navigation functionalityVSAvoidweb trap and infinite linking
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent converts the harmful infinite hyperlink loops into a detectable pattern. By analyzing the structure of calendar hyperlinks and generating regular expressions from their date patterns, the system transforms the previously harmful navigation links into identifiable targets that can be filtered out, while preserving the legitimate navigation functionality for users

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Manufacturing precision

If conventional web crawlers process all collected web pages, then complete indexing is achieved, but load on search engine increases due to unnecessary pages

Engineering Contradiction:
Improveindexing completenessVSAvoidsearch engine load
Core Design Contradiction:
Manufacturing precisionVSLoss of energy

Solution Approach 1:

The patent applies preliminary filtering by integrating regular expression-based calendar trap detection into the web crawling process itself. This preliminary action identifies and excludes calendar-related URLs before they are processed by the search engine, ensuring complete indexing of legitimate pages while reducing search engine load by preventing processing of unnecessary calendar pages

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9141697B2Method, system and computer-readable storage medium for detecting trap of web-based perpetual calendar and building retrieval database using the same
Publication Date: 2015.09.22 NHN CORP
  • US9141697B2 patent drawing
  • US9141697B2 patent drawing
  • US9141697B2 patent drawing

AI summary

The present disclosure relates to a method, system and software executable by a processor associated with non-transitory computer-readable storage medium for detecting a trap of web-based calendar pages and building a retrieval database. According to an aspect of the disclosure, detecting a trap of web-based calendar pages includes clustering, by a clustering module, URLs corresponding to web pages stored in a database according to a predetermined standard, generating a regular expression by analyzing a date pattern included in a clustering result, and detecting, a cluster suspected of being a trap of web-based perpetual calendar pages using the generated regular expression.