IP Library Granted Patent US 9,317,299
Granted Patent B2
US 9,317,299 · App. 13/808,584 · Granted Apr 19, 2016

Method and device for cold starting android mobile terminal

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,317,299
App. No.
13/808,584
Granted
Apr 19, 2016
Kind
B2
Abstract

A method and a device for cold starting an Android mobile terminal are disclosed. The method includes: the mobile terminal in standby state backs up data needing to be saved to a non-volatile storage device and then is powered off after a power supply of the mobile terminal is turned off in a fast cold starting mode; after the mobile terminal is restarted, the data backed up in the non-volatile storage device is restored to a corresponding physical memory. The advantage of the technical solution is that: by backing up the data needing to be saved, such as used pages, the efficiency of data backup and recovery is improved, and the time for cold starting of the Android mobile terminal is significantly shortened.

Claims (22)

1. A method for cold starting an Android mobile terminal, comprising:

in a fast cold starting mode, backing up, by the mobile terminal in standby state, data needing to be saved to a non-volatile storage device after a power supply of the mobile terminal is turned off, and then powering off the mobile terminal; and

restoring the data backed up in the non-volatile storage device to a corresponding physical memory after the mobile terminal is restarted,

wherein backing up, by the mobile terminal in standby state, the data needing to be saved to the non-volatile storage device specifically comprises:

when it is determined that there is a fast coldboot file denoting a fast cold staring state variable in a file system of a mobile operating system in the non-volatile storage device, saving a physical address of a variable containing layout information of physical memory to a specified physical memory, running a guidance system of the mobile terminal; wherein the layout information of physical memory is used for making the guidance system to get a usage condition of each page in the physical memory, which comprises: page usage condition mapping table, starting page number of program memory, and ending page number of program memory; and

after the guidance system finds out that the fast cold starting mode is set up, analyzing information of each page in the physical memory, only backing up data of used pages and physical addresses of the used pages in a program memory to the non-volatile storage device, setting up a logo of successful backup, and powering off the mobile terminal.

2. The method according to claim 1 , further comprising: before the power supply of the mobile terminal is turned off, setting up or triggering the fast cold starting mode of the mobile terminal, generating and saving a corresponding fast cold starting state variable.

3. The method according to claim 1 , wherein restoring the data backed up in the non-volatile storage device to a corresponding physical memory specifically comprises: restoring, by a guidance system, the physical addresses of used pages in a program memory in the last standby state, the Android kernel, and the root file system to the corresponding physical memory, and removing a logo of fast cold starting mode and a logo of successful backup.

4. The method according to claim 1 , further comprising: after restoring the data backed up in the non-volatile storage device to the corresponding physical memory, waking up, by the guidance system, the mobile terminal and making the mobile terminal recover to a page before standby and enter an operable state.

5. A device for cold starting an Android mobile terminal, comprising: a standby saving module and a data recovery module; wherein

the standby saving module is configured to, in a fast cold starting mode, make the mobile terminal in standby state back up data needing to be saved to a non-volatile storage device after a power supply of the mobile terminal is turned off, and then power off the mobile terminal; and

the data recovery module is configured to restore the data backed up in the non-volatile storage device to a corresponding physical memory after the mobile terminal is restarted,

wherein backing up, by the standby saving module, the data needing to be saved to the non-volatile storage device specifically comprises:

when it is determined that there is a fast coldboot file denoting a fast cold starting state variable in a file system of a mobile operating system in the non-volatile storage device, saving a physical address of a variable containing layout information of physical memory to a specified physical memory, running a guidance system of the mobile terminal; wherein the layout information of physical memory is used for making the guidance system to get a usage condition of each page in the physical memory, which comprises: page usage condition mapping table, starting page number of program memory, and ending page number of program memory; and

after the guidance system finds out that the fast cold starting mode is set up, analyzing information of each page in the physical memory, only backing up data of used pages and physical addresses of the used pages in a program memory to the non-volatile storage device, setting up a logo of successful backup, and powering off the mobile terminal.

6. The device according to claim 5 , further comprising a state variable generation module configured to generate and save a corresponding fast cold starting state variable by setting up or triggering the fast cold starting mode of the mobile terminal.

7. The device according to claim 5 , wherein restoring, by the data recovery module, the data backed up in the non-volatile storage device to the corresponding physical memory specifically comprises: restoring the physical addresses of used pages in a program memory in the last standby state, the Android kernel, and the root file system to the corresponding physical memory, and removing a logo of fast cold starting mode and a logo of successful backup.

8. The device according to claim 5 , further comprising a wake-up module configured to wake up the mobile terminal and make the mobile terminal recover to a page before standby and enter an operable state.

9. The method according to claim 2 , further comprising: after restoring the data backed up in the non-volatile storage device to the corresponding physical memory, waking up, by the guidance system, the mobile terminal and making the mobile terminal recover to a page before standby and enter an operable state.

10. The method according to claim 3 , further comprising: after restoring the data backed up in the non-volatile storage device to the corresponding physical memory, waking up, by the guidance system, the mobile terminal and making the mobile terminal recover to a page before standby and enter an operable state.

11. The device according to claim 6 , further comprising a wake-up module configured to wake up the mobile terminal and make the mobile terminal recover to a page before standby and enter an operable state.

12. The device according to claim 7 , further comprising a wake-up module configured to wake up the mobile terminal and make the mobile terminal recover to a page before standby and enter an operable state.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 27, 2022
From: ZTE CORPORATION
To: EIGHT DEER VENTURES, LLC
Reel/Frame 060641/0036 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 10, 2016
From: ZTE CORPORATION
To: XI'AN ZTE NEW SOFTWARE COMPANY LIMITED
Reel/Frame 040300/0133 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 8, 2013
From: ZENG, HUIPENG
To: ZTE CORPORATION
Reel/Frame 029591/0143 →