# US 2017/0286092 A1 · Terminal device and version upgrading method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0286092 A1
- Document ID: US20170286092A1
- Status: Published application
- Kind: A1
- Application number: 15/220,977
- Filed: 2016-07-27
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: Hisense Mobile Communications Technology Co., Ltd.; Hisense USA Corporation; Hisense International Co., Ltd.
- Applicants: Hisense Mobile Communications Technology Co., Ltd.; Hisense USA Corporation; Hisense International Co.,Ltd.
- Inventors: Xiaoliang ZHU; Zimin SHI; Minglin ZHONG
- Web page: https://patentgrep.com/patent/US20170286092A1

## CPC

- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 11/1451: {by selection of backup contents}
- G06F 11/1469: {Backup restoration techniques}
- G06F 16/258: {Data format conversion from or to a database}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/45512: {Command shells}
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Some embodiments of this disclosure provide a terminal device and a version upgrading method. The method includes: partitioning a user data partition of the terminal device into a formatted partition and a data retention partition upon reception of an upgrade instruction to upgrade a current version of a software system of the terminal device; backuping user data in the formatted partition into the data retention partition; formatting the formatted partition; obtaining an upgrade package corresponding to a target version of the software system, and upgrading the current version of the software system of the terminal device to the target version using the upgrade package; and processing compatibility of user data in the data retention partition using the target version so that processed user data are compatible with the target version, and storing the processed user data into the formatted partition.

## Claims

### Claim 1

A terminal device, comprising a nonvolatile memory and one or more processors, wherein one or more computer readable program codes are stored in the memory, and the one or more processors are configured to execute the one or more computer readable program codes for:
partitioning a user data partition of the terminal device into a formatted partition and a data retention partition upon reception of an upgrade instruction to upgrade a current version of a software system of the terminal device; backuping user data in the formatted partition into the data retention partition; formatting the formatted partition to delete the user data in the formatted partition; obtaining an upgrade package corresponding to a target version of the software system, and upgrading the current version of the software system of the terminal device to the target version using the upgrade package; and processing compatibility of user data in the data retention partition using the target version so that processed user data are compatible with the target version, and storing the processed user data into the formatted partition.

### Claim 2 (depends on 1)

The terminal device according to claim 1, wherein the backuping the user data in the formatted partition into the data retention partition comprises: obtaining at least one type of data stored in the formatted partition; displaying the at least one type of data on a display interface of the terminal device; receiving a selection operation by a user on the at least one type of data, and obtaining user data corresponding to a type of data selected by the user; and backuping the user data corresponding to the type of data selected by the user into the data retention partition.

### Claim 3 (depends on 1)

The terminal device according to claim 1, wherein the backuping the user data in the formatted partition into the data retention partition comprises: obtaining preset types of data to be backed up; determining the user data to be backed up, in the formatted partition according to the types of data to be backed up; and backuping the user data to be backed up, into the data retention partition.

### Claim 4 (depends on 1)

The terminal device according to claim 1, wherein the formatting the formatted partition to delete the user data in the formatted partition comprises: obtaining path information of the formatted partition; and formatting the user data partition according to the path information of the formatted partition to delete the user data in the formatted partition.

### Claim 5 (depends on 1)

The terminal device according to claim 1, wherein the processing the user data in the data retention partition using the target version comprises: determining a data format of user data to be processed in compatibility, which are any user data in the data retention partition; determining a database corresponding to the user data to be processed in compatibility, in the target version of the software system according to the data format; and extracting a keyword from the user data to be processed in compatibility, and inserting the keyword into the database in a format of the database.

### Claim 6 (depends on 1)

The terminal device according to claim 1, wherein the one or more processors are further configured to execute the one or more computer readable program codes for deleting the user data in the data retention partition after the processed data are stored into the formatted partition.

### Claim 7

A terminal device, comprising:
a partitioning module configured to partition a user data partition of the terminal device into a formatted partition and a data retention partition upon reception of an upgrade instruction to upgrade a current version of a software system of the terminal device;
a backup module configured to backup user data in the formatted partition into the data retention partition;
a formatting module configured to format the formatted partition to delete the user data in the formatted partition, after the user data in the formatted partition are backed up into the data retention partition;
an upgrading module configured to obtain an upgrade package corresponding to a target version of the software system, and to upgrade the current version of the software system of the terminal device to the target version using the upgrade package after the user data in the formatted partition are deleted; and
a compatibility-processing module configured to process compatibility of user data in the data retention partition using the target version so that processed user data are compatible with the target version, and to store the processed user data into the formatted partition.

### Claim 8 (depends on 7)

The terminal device according to claim 7, wherein the backup module configured to backup the user data in the formatted partition into the data retention partition is configured:
to obtain at least one type of data stored in the formatted partition;
to display the at least one type of data on a display interface of the terminal device for selection by a user;
to receive a selection operation by the user on the at least one type of data, and to obtain user data corresponding to a type of data selected by the user; and
to backup the user data corresponding to the type of data selected by the user into the data retention partition.

### Claim 9 (depends on 7)

The terminal device according to claim 7, wherein the backup module configured to backup the user data in the formatted partition into the data retention partition is configured:
to obtain preset types of data to be backed up;
to determine the user data to be backed up, in the formatted partition according to the types of data to be backed up; and
to back up the user data to be backed up, into the data retention partition.

### Claim 10 (depends on 7)

The terminal device according to claim 7, wherein the formatting module configured to format the formatted partition is configured:
to obtain path information of the formatted partition; and
to format the formatted partition according to the path information of the formatted partition to delete the user data in the formatted partition.

### Claim 11 (depends on 7)

The terminal device according to claim 7, wherein the compatibility-processing module configured to process compatibility of the user data in the data retention partition is configured:
to determine a data format of user data to be processed in compatibility, which are any user data in the data retention partition;
to determine a database corresponding to the user data to be processed in compatibility, in the target version of the software system according to the data format; and
to extract a keyword from the user data to be processed in compatibility, and to insert the keyword into the database in a format of the database.

### Claim 12 (depends on 7)

The terminal device according to claim 7, further comprising:
a deleting module configured to delete the user data in the data retention partition after the processed data are stored into the formatted partition.

### Claim 13

A version upgrading method applicable to a terminal device, the method comprises:
partitioning a user data partition of the terminal device into a formatted partition and a data retention partition upon reception of an upgrade instruction to upgrade a current version of a software system of the terminal device, wherein the user data partition is configured to store user data;
backuping user data in the formatted partition into the data retention partition, and formatting the formatted partition to delete the user data in the formatted partition;
obtaining an upgrade package corresponding to a target version of the software system, and upgrading the current version of the software system of the terminal device to the target version using the upgrade package; and
processing compatibility of the user data in the data retention partition using the target version so that processed user data are compatible with the target version, and storing the processed user data into the formatted partition.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the backuping the user data in the formatted partition into the data retention partition comprises:
obtaining at least one type of data stored in the formatted partition;
displaying the at least one type of data on a display interface of the terminal device;
receiving a selection operation by a user on the at least one type of data, and obtaining user data corresponding to a type of data selected by the user; and
backuping the user data corresponding to the type of data selected by the user into the data retention partition.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the backuping the user data in the formatted partition into the data retention partition comprises:
obtaining preset types of data to be backed up;
determining the user data to be backed up, in the formatted partition according to the types of data to be backed up; and
backuping the user data to be backed up, into the data retention partition.

### Claim 16 (depends on 13)

The method according to claim 13, wherein the formatting the formatted partition so that the user data in the formatted partition are deleted comprises:
obtaining path information of the formatted partition; and
formatting the formatted partition according to the path information of the formatted partition to delete the user data in the formatted partition.

### Claim 17 (depends on 13)

The method according to claim 13, wherein the processing compatibility of the user data in the data retention partition using the target version comprises:
determining a data format of the user data to be processed in compatibility, which are any user data in the data retention partition;
determining a database corresponding to the user data to be processed in compatibility, in the target version of the software system according to the data format; and
extracting a keyword from the user data to be processed in compatibility, and inserting the keyword into the database in a format of the database.

### Claim 18 (depends on 13)

The method according to claim 13, wherein after the processed data are stored into the formatted partition, the method further comprises:
deleting the user data in the data retention partition.
