# US 10,956,280 B2 · Data backup method, electronic device, and storage medium

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

- Number: US 10,956,280 B2
- Document ID: US10956280B2
- Status: Granted
- Kind: B2
- Application number: 16/339,721
- Filed: 2017-07-18
- Published: 2019-10-17
- Granted: 2021-03-23
- Earliest claimed: 2016-10-25
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Zhifeng Ma
- Web page: https://patentgrep.com/patent/US10956280B2

## CPC

- G06F 11/1461: {Backup scheduling policy}
- G06F 11/1464: {for networked environments}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided are a data backup method, electronic device, and storage medium, the data backup method including: acquiring application data to be backed up and update frequencies of the application data in the terminal; generating backup priorities based on the update frequencies; transmitting the application data to be backed up to a server based on the backup priorities.

## Claims

### Claim 1

A data backup method in a terminal, comprising:
acquiring application data to be backed up and update frequencies and data changes of the application data in the terminal;
generating backup priorities based on the update frequencies and data changes by querying an association table with correspondence between data changes, update frequencies and backup priorities; and
transmitting the application data to be backed up to a server based on the backup priorities;
wherein transmitting the application data to be backed up to the server based on the backup priorities comprises:
transmitting the application data to be backed up corresponding to a current priority to the server;
detecting whether the application data to be backed up corresponding to the current priority is completely transmitted; and
transmitting the application data to be backed up corresponding to a next priority to the server, in response to detecting that the application data to be backed up corresponding to the current priority is completely transmitted, wherein the current priority is higher than the next priority;
wherein, in response to detecting that the application data to be backed up corresponding to the current priority is not completely transmitted, the method further comprises:
detecting whether a current network connection state of the terminal is in a disconnection state; and
recording backup progress information of the application data to be backed up corresponding to the current priority, in response to detecting that the current network connection state of the terminal is in the disconnection state;
wherein recording the backup progress information of the application data to be backed up corresponding to the current priority comprises:
acquiring an initial amount of the application data to be backed up corresponding to the current priority and a backup amount of the application data to be backed up corresponding to the current priority;
calculating a ratio of the backup amount to the initial amount to acquire a backup proportion; and
recording the backup proportion as the backup progress information.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
continuing to detect whether the application data to be backed up corresponding to the current priority is completely transmitted, in response to detecting that the current network connection state of the terminal is not in the disconnection state.

### Claim 3 (depends on 1)

The method of claim 1, wherein, generating the backup priorities based on the update frequencies comprises:
ranking the update frequencies based on a predetermined rule; and
determining the backup priorities based on ranked update frequencies.

### Claim 4 (depends on 1)

The method of claim 1, wherein, acquiring the application data to be backed up comprises:
acquiring initial application data of an application in the terminal;
acquiring current application data of the application after detecting a change of the initial application data of the application in the terminal; and
acquiring the application data to be backed up based on the initial application data and the current application data.

### Claim 5 (depends on 4)

The method of claim 4, wherein, acquiring the application data to be backed up based on the initial application data and the current application data comprises:
acquiring difference between the initial application data and the current application data and determining the difference between the initial application data and the current application data as the application data to be backed up.

### Claim 6 (depends on 1)

The method of claim 1, wherein acquiring the update frequencies of the application data comprises:
acquiring an update count of the application data of an application within a predetermined time period; and
dividing the update count by the predetermined time period to acquire the update frequency of the application data of the application.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the backup priorities based on the update frequencies comprises:
acquiring a change amount of the application data of an application within a predetermined time period; and
generating the backup priority of the application data based on the change amount and the update frequency of the application data of the application.

### Claim 8

A non-transitory computer-readable storage medium, having a plurality of instructions stored therein, wherein the plurality of instructions are suitable to be loaded by a processor, so as to cause the processor to perform a data backup method in a terminal comprising:
acquiring application data to be backed up and update frequencies and data changes of the application data in the terminal;
generating backup priorities based on the update frequencies and data changes by querying an association table with correspondence between data changes, update frequencies and backup priorities; and
transmitting the application data to be backed up to a server based on the backup priorities;
wherein transmitting the application data to be backed up to the server based on the backup priorities comprises:
transmitting the application data to be backed up corresponding to a current priority to the server;
detecting whether the application data to be backed up corresponding to the current priority is completely transmitted; and
transmitting the application data to be backed up corresponding to a next priority to the server, in response to detecting that the application data to be backed up corresponding to the current priority is completely transmitted, wherein the current priority is higher than the next priority;
wherein, in response to detecting that the application data to be backed up corresponding to the current priority is not completely transmitted, the method further comprises:
detecting whether a current network connection state of the terminal is in a disconnection state; and
recording backup progress information of the application data to be backed up corresponding to the current priority, in response to detecting that the current network connection state of the terminal is in the disconnection state;
wherein recording the backup progress information of the application data to be backed up corresponding to the current priority comprises:
acquiring an initial amount of the application data to be backed up corresponding to the current priority and a backup amount of the application data to be backed up corresponding to the current priority;
calculating a ratio of the backup amount to the initial amount to acquire a backup proportion; and
recording the backup proportion as the backup progress information.

### Claim 9

An electronic device, comprising a processor and a memory, wherein the processor is coupled to the memory electrically, the memory is configured to store instructions and data, the processor is configured to perform:
acquiring application data to be backed up and update frequencies and data changes of the application data in the electronic device;
generating backup priorities based on the update frequencies and data changes by querying an association table with correspondence between data changes, update frequencies and backup priorities; and
transmitting the application data to be backed up to a server based on the backup priorities;
wherein transmitting the application data to be backed up to the server based on the backup priorities comprises:
transmitting the application data to be backed up corresponding to a current priority to the server;
detecting whether the application data to be backed up corresponding to the current priority is completely transmitted; and
transmitting the application data to be backed up corresponding to a next priority to the server, in response to detecting that the application data to be backed up corresponding to the current priority is completely transmitted, wherein the current priority is higher than the next priority;
wherein, in response to detecting that the application data to be backed up corresponding to the current priority is not completely transmitted, the processor is further configured to perform:
detecting whether a current network connection state of the electronic device is in a disconnection state; and
recording backup progress information of the application data to be backed up corresponding to the current priority, in response to detecting that the current network connection state of the electronic device is in the disconnection state;
wherein recording the backup progress information of the application data to be backed up corresponding to the current priority comprises:
acquiring an initial amount of the application data to be backed up corresponding to the current priority and a backup amount of the application data to be backed up corresponding to the current priority;
calculating a ratio of the backup amount to the initial amount to acquire a backup proportion; and
recording the backup proportion as the backup progress information.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein transmitting the application data to be backed up to the server based on the backup priorities comprises:
transmitting the application data to be backed up corresponding to a current priority to the server;
detecting whether the application data to be backed up corresponding to the current priority is completely transmitted; and
transmitting the application data to be backed up corresponding to a next priority to the server, in response to detecting that the application data to be backed up corresponding to the current priority is completely transmitted,
wherein the current priority is higher than the next priority.

### Claim 11 (depends on 10)

The electronic device of claim 10, wherein in response to detecting that the application data to be backed up corresponding to the current priority is not completely transmitted, the processor is further configured to perform:
detecting whether a current network connection state of the electronic device is in a disconnection state; and
recording backup progress information of the application data to be backed up corresponding to the current priority, in response to detecting that the current network connection state of the electronic device is in the disconnection state.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the processor is further configured to perform:
continuing to detect whether the application data to be backed up corresponding to the current priority is completely transmitted, in response to detecting that the current network connection state of the electronic device is not in the disconnection state.

### Claim 13 (depends on 9)

The electronic device of claim 9, wherein generating the backup priorities based on the update frequencies comprises:
ranking the update frequencies based on a predetermined rule; and
determining the backup priorities based on ranked update frequencies.

### Claim 14 (depends on 9)

The electronic device of claim 9, wherein, acquiring the application data to be backed up comprises:
acquiring initial application data of an application in the electronic device;
acquiring current application data of the application after detecting a change of the initial application data of the application in the electronic device; and
acquiring the application data to be backed up based on the initial application data and the current application data.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein, acquiring the application data to be backed up based on the initial application data and the current application data comprises:
acquiring difference between the initial application data and the current application data and determining the difference between the initial application data and the current application data as the application data to be backed up.

### Claim 16 (depends on 9)

The electronic device of claim 9, wherein acquiring the update frequencies of the application data comprises:
acquiring an update count of the application data of an application within a predetermined time period; and
dividing the update count by the predetermined time period to acquire the update frequency of the application data of the application.

### Claim 17 (depends on 9)

The electronic device of claim 9, wherein generating the backup priorities based on the update frequencies comprises:
acquiring a change amount of the application data of an application within a predetermined time period; and
generating the backup priority of the application data based on the change amount and the update frequency of the application data of the application.
