Upgrading method, device and mobile terminal
A mobile terminal and upgrade package technology, applied in the direction of program control device, generation of response errors, program loading/starting, etc., can solve problems such as the system cannot be started and used normally, and the image file is easily damaged.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 The implementation process of the upgraded method provided by Embodiment 1 of the present invention is shown, and the details are as follows:
[0048] In step S101, the image file is stored in the primary partition and the backup partition at the same time.
[0049] In the embodiment of the present invention, in order to prevent the system from being unable to start due to the damage of a certain image file, for each image file, a dual-partition mechanism is used to back up and store the image file, that is: except the preloader partition, lk partition, boot partition, system partition, userdata In addition to the primary partitions such as partitions and recovery partitions, each primary partition has a backup partition called preloader_backup partition, lk_backup partition, boot_backup partition, system_backup partition, userdata_backup partition, and recovery_backup partition. Each image file is stored in two partitions, for example, lk.bin exists in both t...
Embodiment 2
[0069] figure 2 A specific structural block diagram of the upgraded device provided by Embodiment 2 of the present invention is shown, and for convenience of description, only parts related to the embodiment of the present invention are shown. The upgraded device may be a software unit, a hardware unit or a combination of software and hardware built in the mobile terminal. The upgraded device 2 includes: a storage unit 21 and a loading unit 22 .
[0070] Wherein, the storage unit 21 is used to simultaneously store the image file in the primary partition and the backup partition;
[0071] The loading unit 22 is configured to load the image file from the backup partition when the image file in the primary partition is damaged.
[0072] Specifically, the loading unit 22 includes:
[0073] An allocation module, configured to allocate a marker bit to each primary partition;
[0074] The marking module is used to mark the marking bit of the corresponding primary partition when t...
Embodiment 3
[0086] image 3 A specific structural block diagram of the mobile terminal provided by Embodiment 3 of the present invention is shown, and for convenience of description, only parts related to the embodiment of the present invention are shown. The mobile terminal 3 is a smart phone or a tablet computer, and includes the upgraded device 2 described in the second embodiment, and the upgraded device 2 includes: a storage unit 21 and a loading unit 22 .
[0087] Wherein, the storage unit 21 is used to simultaneously store the image file in the primary partition and the backup partition;
[0088] The loading unit 22 is configured to load the image file from the backup partition when the image file in the primary partition is damaged.
[0089] Specifically, the loading unit 22 includes:
[0090] An allocation module, configured to allocate a marker bit to each primary partition;
[0091] The marking module is used to mark the marking bit of the corresponding primary partition whe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


