Dynamic Partition Upgrades for Flexible OS Version Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current operating system upgrading solutions for customized systems require combined upgrade packages for all parts, leading to inefficient management and increased version packages, which is not conducive to flexible version management by terminal device suppliers.
Innovation Solution
An operating system upgrading method that allows for the flexible upgrade of multiple sub-partitions by using separate upgrade installation packages for each sub-partition, merging manifest data to identify which sub-partitions need upgrading, and creating an index to ensure accurate data loading, while allowing for partial or complete upgrades based on specific requirements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a combined upgrade package is released to upgrade any part of the customized operating system, then the operating system can be upgraded, but the device complexity and number of version packages increase significantly
Solution Approach 1:
The operating system is divided into multiple independent partitions (first partition, second partition, third partition, etc.), each capable of being upgraded separately. The upgrade package is segmented to include only the specific partition data that needs upgrading, rather than requiring a combined package for all partitions. This segmentation allows the terminal device to manage multiple smaller version packages instead of one large combined package, reducing overall complexity.
2Reliability
If a combined upgrade package is released for complete system upgrade, then all parts are updated, but the productivity of version management decreases
Solution Approach 1:
The upgrade process extracts and updates only the specific partition data that requires upgrading, rather than extracting and updating all partition data. The upgrade package is constructed to include only the necessary partition information, allowing selective upgrading of individual partitions while leaving others unchanged. This extraction approach enables efficient version management by updating only what is needed.
Solution Approach 2:
Instead of performing a complete system upgrade (excessive action), the solution applies partial action by upgrading only the specific partition that needs updating. This partial upgrade approach maintains system completeness while improving version management productivity, as suppliers can release smaller, more targeted update packages.
3Adaptability or versatility
If separate upgrade packages are used for each sub-partition, then flexible management is achieved, but data loading accuracy may be compromised
Solution Approach 1:
A partition table is introduced as an intermediary data structure to manage and track the state of each partition. The partition table stores information about which partitions have been upgraded and which have not, enabling the system to accurately load only the necessary partition data during the upgrade process. This intermediary structure ensures data loading accuracy while maintaining the flexibility of separate upgrade packages.
Data Source
AI summary
A method includes: obtaining a first upgrade installation package and a second upgrade installation package, where the first upgrade installation package includes—partition information of a first sub-partition, the second upgrade installation package includes—partition information of a second sub-partition; obtaining a plurality of third description groups based on third data and a plurality of second description groups, where the third data includes the partition information of the first sub-partition and the partition information of the second sub-partition, and the plurality of third description groups include description groups respectively corresponding to the first sub-partition, the second sub-partition, and a third sub-partition; and restarting an electronic device, loading data in a dynamic partition based on values of the address entries in the plurality of third description groups.


