Web Page Service Packaging via Segmentation and Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing service packaging systems for web pages are inefficient, as they require significant manual effort and technical expertise to extract and package data, limiting developer productivity and data acquisition efficiency.

Innovation Solution

A service packaging method based on web page segmentation and search algorithms, which includes dynamic and static packaging stages, allowing users to parse and tag web pages with minimal input, generating structured data and crawler rules to create a service that can be called with a few clicks, using tools like Selenium, BeautifulSoup, and Pyquery for crawling and image processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual data extraction and packaging is performed, then data acquisition accuracy can be maintained, but the time consumption and operational complexity increase significantly

Engineering Contradiction:
Improvedata extraction accuracyVSAvoidpackaging time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system enables self-service automated packaging by allowing users to define extraction rules once, after which the system automatically parses web pages, extracts data, and generates services without requiring manual intervention for each packaging task

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary analysis of web page structures to pre-identify extraction patterns and data fields, so that when packaging is needed, the extraction process can proceed efficiently using pre-established rules and templates

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If complex packaging processes are used to handle various web page formats, then adaptability improves, but the system complexity and difficulty of operation increase

Engineering Contradiction:
Improveweb page format compatibilityVSAvoidpackaging operation simplicity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system segments web pages into standardized data blocks using automated parsing, dividing complex page structures into manageable, uniformly formatted units that can be easily processed and packaged regardless of the original page complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system creates a universal packaging framework that can handle multiple web page formats and structures through a single standardized interface, allowing one system to serve multiple packaging needs without requiring format-specific complex procedures

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If automated parsing is implemented, then packaging efficiency increases, but the initial system setup and rule definition complexity increases

Engineering Contradiction:
Improvepackaging efficiencyVSAvoidsystem configuration complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system uses template copying where standard packaging templates and extraction rules can be replicated and adapted for similar web page structures, reducing the need to create complex configurations from scratch for each new packaging task

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12050652B2Service packaging method based on web page segmentation and search algorithm
Publication Date: 2024.07.30 ZHEJIANG UNIV
  • US12050652B2 patent drawing
  • US12050652B2 patent drawing

AI summary

The present invention provides a service packaging method based on web page segmentation and search algorithm, comprising the following steps: a service extraction stage, comprising dynamic packaging and/or static packaging; for dynamic packaging, parsing a dynamic web page, tagging forms that possibly exist in parsed dynamic form information, and tagging and defining, by a user, desired forms among the forms that possibly exist; for static packaging, parsing a static web page, blocking and tagging parsed static forms, and selecting and defining, by the user, desired blocks, and filling in a name, description information and an extraction rule of a service; and a service calling stage, comprising inputting, by the user, related information for calling a service, and generating, by a back end system, a corresponding service according to the received related information for calling the service and according to the extraction rule, and returning the corresponding service to a front end. The present invention greatly increases the efficiency of acquiring data by a user.