Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Active Publication Date: 2020-09-29
福建汇思博数字科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Modifying the files in the system partition will cause OTA upgrade, the modified file verification in the system partition will fail, resulting in OTA failure
[0006] 2. OTA upgrade needs to remake the version every time, generate the corresponding OTA upgrade package and release it, which will prolong the repair cycle of some emergency system bugs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An upgrade method and terminal
  • An upgrade method and terminal

Examples

Experimental program
Comparison scheme
Effect test

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. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of mobile communication, in particular to an upgrading method and terminal. The upgrading method comprises the following steps that: before a patch upgrade package upgrades a system, backing up a system file in a preset backup area; and therefore, when the system carries out OTA (Over-the-Air technology) upgrade, checking the system file of the backup area to finish the OTA upgrade of the system. By use of the method, the problem that the OTA fails in upgrading since the system file of a system partition is changed when the patch upgrade package is used for upgrading is solved; and meanwhile, the problem that the system has low safety since required time is long and certain bugs of the system can not be repaired in time since a version needs to be manufactured again when the OTA upgrade is carried out each time if the system is only subjected to the OTA upgrade can be solved.

Description

technical field [0001] The present invention relates to the technical field of mobile communication, in particular to an upgrading method and a terminal. Background technique [0002] With the rapid development of the Internet and the widespread use of the Android system, the firmware upgrade of the Android terminal is becoming more and more important. Currently, Google's original OTA upgrade technology is used. [0003] Some manufacturers introduce open-source pkg technology to perform patch upgrades, and combine Google's OTA upgrade technology to meet the underlying upgrade needs of various customers. [0004] The above technology has the following problems: [0005] 1. The pkg technology can theoretically update all files in each partition, similar to file replacement. In the process of customer use, it is inevitable that some files in the system partition of the system need to be upgraded through pkg technology to achieve the purpose of rapid upgrade. Modifying the fi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/65G06F11/14
CPCG06F8/65G06F11/1458
Inventor 黄有焱
Owner 福建汇思博数字科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products