Resource Downloading Method Using Predictive Index for Micro-Client Loading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network application clients employing micro-client technology face slow resource loading speeds and long delays due to complex dependency relationships between resources, leading to inefficient use of downloading threads.
Innovation Solution
A resource downloading method that intercepts access requests, uses a resource relationship index file to identify dependent resources not locally available, and allocates threads for concurrent downloading of predicted resources, thereby reducing the number of required downloads and optimizing thread utilization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If micro-client technology is used to reduce initial download size, then download time is reduced, but resource loading speed becomes slow due to complex dependency relationships
Solution Approach 1:
The patent applies preliminary action by predicting resources that will be needed in the future based on dependency relationships, and downloading them in advance before they are actually requested. This prevents the sequential downloading problem where resources are downloaded one by one as they are needed, thereby improving resource loading speed without increasing initial download time.
Solution Approach 2:
The patent implements dynamics by dynamically adjusting the downloading process based on runtime conditions. The system monitors resource access patterns, updates predictions, and adaptively downloads resources concurrently when conditions permit (available network bandwidth, idle threads), thus optimizing resource loading speed while maintaining the benefits of micro-client technology.
2Device complexity
If resources are downloaded sequentially as requested, then thread utilization is simple, but downloading threads are wasted and loading delays increase
Solution Approach 1:
The patent applies feedback by continuously monitoring resource access patterns and using this information to update predictions about future resource needs. The system feeds back into the downloading process by adjusting which resources to download concurrently based on observed usage patterns, thereby improving thread utilization efficiency without excessive complexity.
Solution Approach 2:
The system implements self-service by autonomously managing thread allocation and resource downloading based on predicted needs. The downloading mechanism automatically identifies which threads should be used for downloading predicted resources, eliminating the need for complex manual thread management while improving productivity.
3Speed
If all resources are downloaded in advance to ensure fast loading, then resource loading speed improves, but initial download time and network resource occupation increase
Solution Approach 1:
The patent applies partial action by downloading only the predicted resources that are likely to be needed soon, rather than downloading all possible resources in advance. This selective approach improves resource loading speed for critical resources while avoiding the overhead of downloading unnecessary resources, thus maintaining fast loading without excessive initial download time.
Data Source
AI summary
Embodiments of the present invention provide a resource downloading method and apparatus. The method includes: intercepting an access request for current resources; finding, through a resource relationship index file, resources which have dependency relationships with the current resources and do not exist locally on the client as predicted resources, wherein the resource relationship index file is generated in advance according to dependency relationships between individual resources in the full client of a network application; and allocating a first thread from unoccupied threads available for downloading the predicted resources, and downloading the predicted resources locally to the client using the first thread. In addition, embodiments of the present invention provide a resource downloading apparatus.


