Dynamic Web Resource Loading for Embedded Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In embedded systems with limited bandwidth and hardware resources, traditional browsers download all web-page resources, leading to slow speeds, memory waste, and inefficient resource usage, ruining the original web-page design.
Innovation Solution
A method dynamically determines which web resources to load by analyzing web-page requirements, obtaining content-lengths, and downloading only resources with content-lengths below a predetermined threshold or estimated download time within acceptable limits, using a browser core processing module and network resource management loading module.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the browser downloads all web-page resources, then the web-page layout is complete, but the downloading speed is slow and memory is wasted
Solution Approach 1:
The browser performs partial downloading by selectively loading only those web resources whose content-length is below a predetermined threshold. This partial action approach downloads sufficient resources to maintain acceptable web-page layout while avoiding the performance penalties of downloading all resources.
Solution Approach 2:
The system changes the parameter of resource selection by introducing a content-length threshold criterion. Resources are evaluated based on their content-length parameter, and only those meeting the threshold criterion are downloaded, transforming the all-or-nothing downloading approach into a selective parameter-based approach.
2Reliability
If the browser downloads all web-page resources, then the web-page is complete, but memory space is excessively consumed
Solution Approach 1:
The system extracts only the necessary portion of web resources by checking content-length against a threshold. Instead of taking all resources into memory, only those with content-length below the threshold are extracted and loaded, reducing memory space consumption while maintaining essential web-page functionality.
Solution Approach 2:
The browser performs partial downloading by selectively loading only those web resources whose content-length is below a predetermined threshold. This partial action approach downloads sufficient resources to maintain acceptable web-page layout while avoiding the performance penalties of downloading all resources.
3Quantity of substance
If the browser downloads only pure text files, then memory usage is reduced, but the original web-page design is ruined
Solution Approach 1:
The system changes the selection criterion from file type (pure text only) to a parameter-based approach (content-length threshold). This allows selective downloading of various resource types based on their size parameter, maintaining web-page layout integrity while controlling memory usage through parameter-based filtering.
Solution Approach 2:
The browser performs partial downloading by selectively loading only those web resources whose content-length is below a predetermined threshold. This partial action approach downloads sufficient resources to maintain acceptable web-page layout while avoiding the performance penalties of downloading all resources.
4Reliability
If the browser downloads resources without checking content-length, then all resources are loaded, but network bandwidth is wasted
Solution Approach 1:
The system performs preliminary action by checking the content-length of resources before initiating full download. This preliminary check prevents wasteful network bandwidth consumption by identifying and excluding large resources that would consume excessive bandwidth, while still allowing essential smaller resources to be loaded.
Solution Approach 2:
The system extracts only the necessary portion of web resources by checking content-length against a threshold. Instead of taking all resources into memory, only those with content-length below the threshold are extracted and loaded, reducing memory space consumption while maintaining essential web-page functionality.
Data Source
AI summary
A method for dynamically determining web resource to be loaded and saving space is provided which determines whether to download a network resource according to a current network bandwidth and available memory space. When a user uses an embedded device in a wireless network environment to download a web-page, the browser only downloads a small part of the network resource to present, and if the user desires to download all network resources, he or she can select to download all network resources, so as to save the download time.


