Server-Side Application Package Segmentation for Download Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The large size of application packages in installation-free applications leads to increased download and installation times, affecting user experience and device performance.
Innovation Solution
A server splits the application package based on device information, retaining only necessary resources for the electronic device, reducing the package size and enabling parallel installation of home and function page packages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the application package includes all resources for comprehensive functionality, then the application can run fully on the electronic device, but the package size increases and download time increases
Solution Approach 1:
The application package is segmented into multiple sub-packages based on resource types (e.g., home page resources, function page resources, common resources). The server then selectively transmits only the necessary sub-packages to the electronic device based on device information, reducing overall download time while maintaining application functionality.
Solution Approach 2:
Different sub-packages are created with specific qualities tailored to different device types. The server determines device information (e.g., device type, capabilities) and transmits only the relevant sub-packages, optimizing the package size for each specific device while ensuring proper functionality.
2Speed
If the application package is compressed to reduce size, then download speed increases, but the installation process becomes more complex
Solution Approach 1:
The application package is divided into multiple sub-packages that can be independently compressed and transmitted. This segmentation allows the server to optimize compression for each sub-package while maintaining simpler installation procedures, as each sub-package can be installed independently without complex decompression operations.
3Adaptability or versatility
If the server transmits the complete application package, then the electronic device has all resources available, but storage space is wasted and device performance is reduced
Solution Approach 1:
The server determines device information (device type, capabilities, requirements) and transmits only the relevant sub-packages tailored to that specific device. This local quality approach ensures the electronic device receives only the resources it needs, optimizing storage space utilization while maintaining necessary functionality.
Solution Approach 2:
Instead of transmitting the complete application package, the server performs partial action by transmitting only the necessary sub-packages based on device information. This partial transmission approach reduces storage space requirements while providing sufficient resources for the device to function properly.
Data Source
AI summary
An application download method, a server, an electronic device, and a system. The method includes receiving, by a server, a first application download request sent by an electronic device, where the first application download request carries device information of the electronic device and information about a first application that is requested to be downloaded, determining, based on the information about the first application, a first application package corresponding to the first application, performing, by the server, unpacking processing on the first application package based on the device information, splitting an entry package in the first application package into a basic package and another resource package, where the basic package comprises a set of resources for running the first application by the electronic device, and sending the basic package to the electronic device.


