Adaptive Incremental Upgrade for Low Memory Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing incremental upgrade methods are inefficient for devices with low memory resources, as they require significant memory usage, while devices with sufficient memory do not need to sacrifice upgrade time, necessitating an adaptive solution.
Innovation Solution
A method and device that receive an incremental update package comprising an incremental and differential file, assess idle memory resources, and choose an upgrade process based on the maximum resource requirement to optimize the upgrade process, restoring and installing the target-version file efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If incremental update package is used, then upgrade data volume is reduced, but memory resource requirement increases
Solution Approach 1:
The patent segments the upgrade process into multiple phases based on memory availability. When memory is sufficient, it uses the incremental update package (segmented approach) to reduce data volume. When memory is constrained, it switches to a different segment of the upgrade process that doesn't require high memory usage, thus resolving the contradiction between reducing upgrade data volume and managing memory resource requirements.
2Reliability
If incremental upgrade is used on device with low memory, then memory resource usage is reduced, but upgrade time increases
Solution Approach 1:
The patent implements a dynamic upgrade mechanism that adapts the upgrade process based on real-time memory resource detection. The system dynamically switches between different upgrade strategies: using incremental update when memory is abundant (faster), and alternative methods when memory is constrained (slower but feasible). This dynamic adaptation resolves the contradiction by allowing upgrade time to increase only when necessary for low-memory devices, while maintaining efficiency for high-memory devices.
3Quantity of substance
If incremental upgrade is used, then data transmission volume is reduced, but device adaptability decreases
Solution Approach 1:
The patent creates a universal upgrade system that can perform multiple functions based on device conditions. The same upgrade mechanism universally supports both incremental updates (for devices with sufficient memory) and alternative update methods (for devices with limited memory). This multi-functional design resolves the contradiction by maintaining device adaptability while still utilizing incremental updates to reduce data transmission volume for compatible devices.
Data Source
AI summary
A method for incremental upgrade is provided. The method is used in a device and includes: receiving an incremental update package corresponding to an application, wherein the incremental update package at least includes an incremental and differential file and the size of a target-version file; obtaining idle resource of a memory in the device and a current-version file corresponding to the application; comparing the idle resource of the memory with a maximum upgrade resource requirement to choose an upgrade process for upgrading the application, wherein the maximum upgrade resource requirement is a capacity sum of the size of the current-version file, the size of the incremental and differential file, and the size of the target-version file; and restoring the target-version file according to the upgrade process, and installing the target-version file.


