An upgrade method and terminal
A terminal and upgrade package technology, applied in the field of mobile communications, can solve the problems of file verification failure, OTA failure, and prolonging the emergency system bug repair cycle.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] An upgrading method provided by the present invention includes the following steps:
[0059] Before upgrading the system through the patch upgrade package, back up the system files in the preset backup area, so that the system files in the backup area can be verified during the OTA upgrade of the system to complete the OTA upgrade of the system;
[0060] "Verify system files in the backup area" is specifically:
[0061] Obtain the OTA upgrade package required for system upgrade;
[0062] Obtain the hash value in the OTA upgrade package to obtain the first hash value;
[0063] Obtain the hash value in the system file in the backup area to obtain a second hash value;
[0064] Verifying the second hash value with the first hash value.
[0065] After "Check the system files in the backup area", it also includes:
[0066] The OTA upgrade package includes a differential file between the current version of the system and the target version;
[0067] If the verification of t...
Embodiment 2
[0072] Please refer to figure 1 , the second embodiment of the present invention is:
[0073] Before upgrading the system through the patch upgrade package, first copy the system files in the system partition of the terminal to the preset backup area for backup, install the patch upgrade package, and modify the system during the patch upgrade process, and the system will be completed after restarting patch upgrade;
[0074] If the system needs to be upgraded by OTA, all system files in the system partition of the terminal will be verified. Since the system has been upgraded through patches in advance, the verification of the system text will fail. At this time, the system files will be read from the backup area for verification. , the verification process is as follows: Obtain the OTA upgrade package required for system upgrade. Before obtaining the OTA upgrade package required for system upgrade, it also includes making the OTA upgrade package. difference file, and obtain t...
Embodiment 3
[0075] Please refer to figure 2 , Embodiment three of the present invention is:
[0076] An upgrade terminal provided by the present invention includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the following steps are implemented:
[0077] Before upgrading the system through the patch upgrade package, back up the system files in the preset backup area, so that the system files in the backup area can be verified during the OTA upgrade of the system to complete the OTA upgrade of the system;
[0078] "Verify system files in the backup area" is specifically:
[0079] Obtain the OTA upgrade package required for system upgrade;
[0080] Obtain the hash value in the OTA upgrade package to obtain the first hash value;
[0081] Obtain the hash value in the system file in the backup area to obtain a second hash value;
[0082] Verifying the second hash value with the first hash value. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com