Dynamic DOM Tree Detection for Web Media Download Filtering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing browser technologies, such as 'sniffing,' are inadequate for accurately detecting and downloading media files from web pages, often missing dynamic changes, downloading irrelevant content like advertisements, and failing to provide clear file names, leading to reduced user experience and inefficient network usage.

Innovation Solution

A resource downloading method and device that performs dynamic detection on a web page's DOM tree, filters out advertisement data, and prompts users to download relevant media files with clear naming, utilizing real-time detection and advertisement intercepting data to ensure accurate and user-friendly media file acquisition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional sniffing method is used to detect media files, then downloading capability is provided, but detection accuracy is low leading to missed or false detection

Engineering Contradiction:
Improvedetection accuracyVSAvoiddownload reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent implements dynamic detection by continuously monitoring the DOM tree during page loading and execution phases. The detection mechanism transitions from static post-loading analysis to dynamic real-time monitoring, adjusting detection timing and scope based on page state changes. This resolves the contradiction by maintaining high detection accuracy while ensuring reliable download of dynamically loaded media files.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system employs feedback mechanisms by monitoring detection results and adjusting detection strategies accordingly. When media files are detected during page execution, the system provides feedback to update the download list and notify users. This feedback loop ensures that detection accuracy improves over time while maintaining download reliability through continuous validation.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If conventional sniffing detects all URL resources, then comprehensive detection is achieved, but advertisement data is incorrectly included

Engineering Contradiction:
Improvedetection completenessVSAvoidadvertisement interference
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent extracts and separates advertisement data from legitimate media files by analyzing URL patterns, domain characteristics, and content metadata. The system specifically extracts ad URLs identified through keyword matching and domain blacklisting, then excludes them from the download list. This resolves the contradiction by maintaining comprehensive detection of all media resources while removing harmful advertisement data.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system applies different quality filters to different URL resources based on their characteristics. Legitimate media files receive standard detection treatment, while URLs suspicious of being advertisements undergo stricter verification including domain checking, keyword analysis, and user feedback validation. This localized quality control ensures comprehensive detection without including advertisement data.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If download list includes all detected files, then user choice is provided, but file identification becomes difficult

Engineering Contradiction:
Improveuser selection flexibilityVSAvoidfile name information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The system performs preliminary file naming and organization before presenting the download list to users. Media files are pre-labeled with descriptive names extracted from page content, metadata, or URL analysis. This preliminary action ensures users have flexible selection capability while maintaining clear file identification, as files are already named meaningfully before user review.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary processing layer between detection and user presentation that enriches file information. This intermediary layer extracts meaningful names from various sources (page titles, metadata, URL paths) and attaches them as descriptors to each detected file. This resolves the contradiction by providing both user selection flexibility and clear file identification through enhanced metadata.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10262341B2Resource downloading method and device
Publication Date: 2019.04.16 ZTE CORP
  • US10262341B2 patent drawing
  • US10262341B2 patent drawing
  • US10262341B2 patent drawing

AI summary

The present invention discloses a resource downloading method and device. The above method includes: performing a dynamic detection on a DOM tree of a web page where resources to be downloaded are located, acquiring a plurality of URL resources; filtering out a part of URL resources corresponding to advertisement data from the plurality of URL resources; and prompting a user to download remaining URL resources after the advertisement data are filtered out. With the technical solution provided by the present invention, a user can acquire media files which the user is interested in from web pages that provide online playing only at will, thereby greatly improving user experience.