Unlock instant, AI-driven research and patent intelligence for your innovation.

A data upgrade method and mobile terminal

A mobile terminal and data technology, applied in the field of communication, can solve problems such as the failure of mobile terminals to operate normally, achieve the effect of avoiding incomplete firmware data and improving user experience

Active Publication Date: 2021-01-08
VIVO MOBILE COMM CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a data upgrade method and a mobile terminal to solve the problem that the existing data upgrade method causes the mobile terminal to fail to operate normally

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
  • A data upgrade method and mobile terminal
  • A data upgrade method and mobile terminal
  • A data upgrade method and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of the steps of a data upgrade method in Embodiment 1 of the present invention, the method is applied to a mobile terminal, and the mobile terminal includes a first data upgrade package and N upgrade instructions for upgrading the first data upgrade package , wherein, N≥1, the method may specifically include the following steps:

[0029] Step S10, obtaining at least one upgrade instruction and at least one reverse upgrade instruction from the N upgrade instructions.

[0030] First of all, it should be noted that the aforementioned mobile terminal may include terminals such as a mobile terminal and a tablet computer. The above-mentioned first data upgrade package may be firmware data to be upgraded in the mobile terminal. Wherein, the first data upgrade package may include a plurality of first upgrade data. The upgrade server can push an upgrade package to the mobile terminal through OTA technology. The upgrade package may include an upgra...

Embodiment 2

[0054] figure 2 It is a flow chart of the steps of a data upgrade method according to Embodiment 2 of the present invention, the method is applied to a mobile terminal, and the mobile terminal includes a first data upgrade package and N upgrade instructions for upgrading the first data upgrade package , wherein, N≥1, the method may specifically include the following steps:

[0055] Step S20, obtaining at least one upgrade instruction and at least one reverse upgrade instruction from the N upgrade instructions.

[0056] In practical applications, after receiving the OTA upgrade package pushed by the upgrade server through the OTA technology, the mobile terminal can acquire the data volume of the OTA upgrade package. Then acquire the storage capacity of the / data partition space in the mobile terminal, and determine whether the storage capacity of the / data partition space is sufficient to meet the data volume of the upgrade package. If it is satisfied, the upgrade package ca...

Embodiment 3

[0123] Figure 4It is a structural block diagram of a mobile terminal according to Embodiment 3 of the present invention. The mobile terminal 300 includes a first data upgrade package and N upgrade instructions for upgrading the first data upgrade package, wherein, N≥, the The mobile terminal 300 may specifically include the following modules:

[0124] An instruction acquiring module 301, configured to acquire at least one upgrade instruction and at least one reverse upgrade instruction from the N upgrade instructions;

[0125] An instruction execution and verification module 302, configured to execute the at least one upgrade instruction on the first data upgrade package, obtain a second data upgrade package, and verify the second data upgrade package;

[0126] The reverse upgrade instruction extraction module 303 is used to determine M upgrade instructions that have been executed in the N upgrade instructions if the verification fails, and extract M reverse upgrade instruct...

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

Embodiments of the invention disclose a data upgrading method and a mobile terminal. The method comprises the steps of obtaining at least one upgrading instruction and at least one reverse upgrading instruction from N upgrading instructions; for a first data upgrading package, executing the at least one upgrading instruction to obtain a second data upgrading package, and checking the second data upgrading package; if the check fails, determining M executed upgrading instructions in the N upgrading instructions, and extracting M reverse upgrading instructions from the obtained reverse upgradinginstructions; and for the second data upgrading package obtained by executing the M upgrading instructions, executing the M reverse upgrading instructions in sequence, thereby restoring the second data upgrading package obtained by executing the M upgrading instructions to the first data upgrading package before the M upgrading instructions are executed. According to the method, the problems thatfirmware data is incomplete and the mobile terminal cannot continue to normally run are avoided.

Description

technical field [0001] The embodiment of the present invention relates to the communication field, and in particular to a data upgrading method and a mobile terminal. Background technique [0002] At present, the mobile terminal adopts an OTA (Over-the-Air Technology, over-the-air technology) upgrade function to perform data upgrade on the firmware of the mobile terminal. When using OTA for data upgrade, usually the upgrade server pushes an upgrade package to the mobile terminal, and the upgrade package contains an upgrade instruction set and intermediate data. After the upgrade instructions in the upgrade instruction set are executed in sequence, the original data of the firmware will be upgraded using the upgrade data one by one. If successful, execute the next upgrade command. [0003] However, if a hardware failure occurs in the mobile terminal during the OTA update process, the verification will fail, and the entire OTA update process will be forcibly interrupted. If...

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/65H04W8/22
CPCG06F8/65H04W8/22
Inventor 缪强
Owner VIVO MOBILE COMM CO LTD