IP Library Granted Patent US 9,778,935
Granted Patent B2
US 9,778,935 · App. 14/459,511 · Granted Oct 3, 2017

System and method for improving a startup speed of a wireless handheld device

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,778,935
App. No.
14/459,511
Granted
Oct 3, 2017
Kind
B2
Abstract

The present disclosure discloses a startup method and a wireless handheld device. The present disclosure relates to the field of communications technologies. The startup method includes: when a wireless handheld device is started, if it is detected that a K th Android installation package file in a data application directory is undergoing installation or updating, decompressing a library file of the K th Android installation package file to a preset subdirectory in the data application directory, where K is an integer greater than zero. A corresponding wireless handheld device is further provided. By adopting the present disclosure, a startup speed of the wireless handheld device can be improved.

Claims (31)

1. A method performed by a wireless device, comprising:

after the wireless device is turned on from being completely turned off or after a battery is reconnected to the wireless device from being disconnected, scanning a directory for system applications and a directory for data applications of the device when the wireless device is started;

reading a file name, a creation time, and a file size of a first application package (APK) and a second APK from one of the directory for system applications and the directory for data applications of the wireless device;

for the first APK, determining a record exists in a preset database that corresponds to the file name, the creation time, and the file size of the first APK, and obtaining attribute information of the first APK from the preset database, wherein the preset database is different from the directory for system applications and the directory for data applications, thereby avoiding parsing the first APK file;

for the second APK, determining that a record does not exist in the preset database that corresponds to the file name, the creation time, and the file size of the second APK, and obtaining attribute information of the second APK by parsing the second APK; and

adding the obtained attribute information of the first APK and the second APK into a package service list.

2. The method of claim 1 , wherein the obtaining attribute information of the first APK from the preset database comprises: obtaining the attribute information of the first APK from the record for the first APK from the preset database.

3. The method of claim 1 , further comprising:

saving the attribute information of the second APK into the preset database after the second APK is parsed.

4. The method of claim 3 , further comprising:

synchronizing the attribute information of the second APK in the preset data base in a case that the second APK is updated or deleted.

5. The method of claim 1 , further comprising:

updating the preset data base in a case a new APK is installed.

6. The method of claim 1 , wherein the attribute information of the first APK comprises at least one of: a provider of the first APK and permissions related to the first APK.

7. The method of claim 1 , further comprising:

for the third APK that is undergoing updating, decompressing a library file of the third APK to a preset subdirectory in the directory for data applications.

8. A wireless device, comprising:

a memory storing instructions; and

a processor coupled to the memory, wherein the processor is configured to execute the instructions stored in the memory to cause the wireless device to:

after the wireless device is turned on from being completely turned off or after a battery is reconnected to the wireless device from being disconnected, scan a directory for system applications and a directory for data applications of the wireless device when the wireless device is started;

read a file name, a creation time, and a file size of a first application package (APK) and a second APK from one of the directory for system applications and the directory for data applications of the wireless device;

for the first APK, determine a record exists in a preset database that corresponds to the file name, the creation time, and the file size of the first APK, and obtain attribute information of the first APK from the preset database, wherein the preset database is different from the directory for system applications and the directory for data applications, thereby avoiding parsing the first APK file;

for the second APK, determine that a record does not exist in the preset database that corresponds to the file name, the creation time, and the file size of the second APK, and obtain attribute information of the second APK by parsing the second APK; and

add the obtained attribute information of the first APK and the second APK into a package service list.

9. The method of claim 8 , wherein

obtaining the attribute information of the first APK from the preset database comprises: obtaining the attribute information of the first APK from the record for the first APK from the preset database.

10. The wireless device of claim 8 , wherein the attribute information of the second APK is saved into the preset database after the second APK is parsed.

11. The wireless device of claim 10 , wherein the attribute information of the second APK in the preset data base is synchronized in a case that the second APK is updated or deleted.

12. The wireless device of claim 8 , wherein the preset data base is updated in a case a new APK is installed.

13. The wireless device of claim 8 , wherein the attribute information of the first APK comprises at least one of: a provider of the first APK and permissions related to the first APK.

14. The wireless device of claim 8 , wherein, for the third APK that is undergoing updating, a library file of the third APK is decompressed to a preset subdirectory in the directory for data applications.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 27, 2016
From: ZHANG, XUEGANG
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 037600/0682 →