Unified OS Upgrade Package via Dynamic Partition Merging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing operating system upgrade methods struggle to efficiently upgrade systems with different old versions to the latest version, leading to a high number of required upgrade packages and increased workload for package release.
Innovation Solution
The proposed method involves creating a virtual dynamic partition to store update data, modifying the startup sequence, and merging update data into the dynamic partition, allowing for cross-version operating system upgrades without the need for multiple upgrade packages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If separate upgrade packages are provided for each version transition (e.g., 1.1→1.2, 1.2→1.3), then users can upgrade to the latest version, but the number of required upgrade packages increases significantly
Solution Approach 1:
The patent combines multiple upgrade packages into a single unified upgrade package that contains upgrade information for all version transitions. Instead of providing separate packages for 1.1→1.2 and 1.2→1.3, the system creates one package with consolidated upgrade data that can serve all version requirements, thereby reducing the total number of packages needed while maintaining full upgrade compatibility.
Solution Approach 2:
The upgrade package is designed with universal functionality to handle multiple version transition scenarios simultaneously. The package contains upgrade information that is applicable across different version ranges, allowing a single package to serve users regardless of their starting version (1.1, 1.2, or other previous versions), thus eliminating the need for version-specific packages.
2Adaptability or versatility
If multiple upgrade packages are provided for different version transitions, then all version upgrade requirements are met, but the workload for releasing upgrade packages increases
Solution Approach 1:
The patent merges the work of creating multiple separate upgrade packages into a single unified package creation process. By consolidating upgrade information from all version transitions into one package, the release workload is significantly reduced while still covering all necessary version upgrade scenarios, thereby improving release efficiency without sacrificing version coverage.
Solution Approach 2:
The system performs preliminary consolidation of upgrade information during the package preparation stage, combining all version transition data into a unified structure before release. This preliminary action eliminates the need for separate package creation and release operations for each version transition, thereby reducing overall release workload and improving productivity.
3Productivity
If a unified upgrade package is used for all versions, then the number of packages and release workload are reduced, but the complexity of handling different version upgrades increases
Solution Approach 1:
The patent segments the upgrade information within the unified package by version ranges, organizing upgrade data into distinct sections or metadata structures that correspond to different version transitions (e.g., 1.1→1.2, 1.2→1.3). This segmentation allows the system to process and apply the appropriate upgrade information based on the user's current version, thereby managing complexity through structured organization while maintaining the benefits of a unified package structure.
Solution Approach 2:
The system uses version parameters to dynamically determine which upgrade information should be applied. By checking the user's current version against predefined version ranges stored in the unified package, the system automatically selects and applies the correct upgrade data without manual intervention. This parameter-based approach simplifies the processing logic while maintaining comprehensive version coverage, thereby reducing perceived complexity despite the unified package structure.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application provides an operating system upgrade method, a device, a storage medium, and a computer program product. The method includes: running a first operating system; obtaining a first system upgrade installation package that includes first update data and a second system upgrade installation package that includes second update data; storing the first update data and the second update data in a user data partition; restarting an electronic device; loading data in a basic partition and a second static partition; loading first dynamic partition data to run a third operating system, where second dynamic partition data corresponds to a result of superposition of third dynamic partition data and the second update data, and the third dynamic partition data corresponds to a result of superposition of data in a dynamic partition and the first update data; and merging the first update data and the second update data into the dynamic partition. According to the method in this application, upgrade requirements of operating systems with different versions in an operating system upgrade scenario can be met.