Server-Side Application Package Segmentation for Download Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current installation-free applications face challenges in providing a 'tap-to-use' experience for large applications due to lengthy download times, as they typically require downloading the entire application package at once, which affects user experience and storage space.
Innovation Solution
A method where the server splits the application into a main package and subpackages, prioritizing the download of necessary information for the home page and subpages with the highest association degree, allowing for incremental downloading and reducing the size of each package to meet user requirements and improve download speed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the entire application package is downloaded at once, then the application can be run without installation, but the download time becomes too long for large applications
Solution Approach 1:
The application package is divided into multiple subpackages based on page association degrees. The server performs initial splitting to create a main package and subpackages, then performs secondary splitting based on user access sequences and association degrees. This segmentation allows the terminal to download only essential content first (main package + high-association subpackages), enabling the application to run with core functionality while reducing initial download time.
2Loss of time
If the application package size is limited to meet tap-to-use requirements, then download time is reduced, but the application functionality may be incomplete
Solution Approach 1:
The server performs preliminary actions by analyzing user access sequences and calculating page association degrees before packaging. It identifies which pages are most likely to be accessed and pre-prepares the main package with high-association subpackages. This preliminary analysis ensures that the initial download includes the most essential functionality, while other features remain accessible in subpackages that can be downloaded on-demand.
Solution Approach 2:
The system dynamically adjusts package content based on user behavior patterns. The server collects access sequences from multiple terminals, calculates association degrees dynamically, and adjusts which pages are included in the main package versus subpackages. This dynamic approach ensures the application adapts to actual usage patterns, providing complete functionality while optimizing download efficiency.
3Adaptability or versatility
If all application content is sent to the terminal, then the application can be fully functional, but storage space is wasted
Solution Approach 1:
The application content is segmented into a main package and multiple subpackages based on page association degrees. Only the main package and selected high-association subpackages are initially downloaded and stored on the terminal. Less frequently accessed content remains on the server in subpackages, reducing terminal storage requirements while maintaining full application functionality through on-demand downloading.
4Productivity
If the application package is split into multiple parts, then download efficiency is improved, but the system complexity increases
Solution Approach 1:
The server implements feedback mechanisms by collecting access sequences from terminals and using this information to calculate page association degrees. This feedback loop allows the system to automatically optimize package splitting without manual intervention. The server adjusts which pages are grouped together in subpackages based on actual usage patterns, simplifying the overall system while maintaining high download efficiency.
Data Source
Figure 1~2
Figure 3~4
AI summary
A method and an apparatus for downloading an installation-free application are provided. In the method, after receiving a request sent by a terminal for downloading an installation-free application, a server sends, to the terminal, necessary information for running the application, home page information of the application, and information about a subpage that has a highest association degree with the home page. The server determines the foregoing association degree based on an obtained access sequence of a plurality of terminals to pages included in the application. According to the foregoing method, the server does not need to send all content of the application to the terminal at a time, but first sends the necessary information for running the application, the home page information, and the information about a subpage that has a highest association degree with the home page, to shorten an initial download time while ensuring that the terminal can normally run the application. In addition, the subpage that has a highest association degree with the home page, that is, a page that a user is more likely to continue to access after accessing the home page is determined, and information about the subpage is sent to the terminal, to help reduce a quantity of times for which the terminal subsequently downloads the information about the subpage.