IP Library › Granted Patent US 9,454,356
Granted Patent B2
US 9,454,356 · App. 14/547,624 · Granted Sep 27, 2016

Method of and terminal for updating library file in system application

Inventor: Shurong Qin (Shandong, CN)
Assignees: HISENSE BROADBAND MULTIMEDIA TECHNOLOGIES CO., LTD.; HISENSE USA CORPORATION; HISENSE INTERNATIONAL CO., LTD.
G06F8/65G06F9/445H04L67/34
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,454,356
App. No.
14/547,624
Granted
Sep 27, 2016
Kind
B2
Abstract

The invention discloses a method of upgrading a library the of a system application and a terminal, where when it is determined that the package name of an upgrade installation package is recorded in system properties, a user partition is searched by the package name of the upgrade installation package for an upgraded library file corresponding to the upgrade installation package, where the package name of the upgrade installation package is recorded in the system properties when it is determined that an application corresponding to the upgrade installation package is a system application; an original library file stored in a system partition is replaced with the found upgraded library file; and the package name of the upgrade installation package recorded in the system properties is deleted.

Claims (32)

1. A method of upgrading a library file of a system application, comprising:

when it is determined that the package name of an upgrade installation package is recorded in system properties, to search a user partition by the package name of the upgrade installation package for an upgraded library file corresponding to the upgrade installation package, wherein the package name of the upgrade installation package is recorded in the system properties when it is determined that an application corresponding to the upgrade installation package is a system application;

replacing an original library file stored in a system partition with the upgraded library file, found in the user partition, in a process, privileged to modify a file in the system partition, among existing processes; and

deleting the package name of the upgrade installation package recorded in the system properties.

2. A method of upgrading a library file of a system application, comprising:

when it is determined that the package name of an upgrade installation package is recorded in system properties, to search a user partition by the package name of the upgrade installation package for an upgraded library file corresponding to the upgrade installation package, wherein the package name of the upgrade installation package is recorded in the system properties when it is determined that an application corresponding to the upgrade installation package is a system application;

replacing an original library file stored in a system partition with the upgraded library file found in the user partition; and

deleting the package name of the upgrade installation package recorded in the system properties.

3. The method of claim 2 , wherein before it is determined that the package name of an upgrade installation package is recorded in the system properties, the method further comprises:

inquiring an application upgrade server periodically, wherein there is a network connection established between a terminal and the application upgrade server; and

downloading the upgrade installation package when the upgrade installation package is found, wherein the upgrade installation package is an installation package corresponding to a new version of the application in the application upgrade server.

4. The method of claim 3 , wherein afler downloading the upgrade installation package, the method further comprises:

invoking a system service program interface to install the upgrade installation package, wherein the upgraded library file corresponding to the upgrade installation package is stored in the user partition; and

detecting the upgrade installation package and recording the package name of the upgrade installation package in the system properties when it is determined that the application corresponding to the upgrade installation package is a system application.

5. The method of claim 4 , wherein the detecting the upgrade installation package and recording the package name of the upgrade installation package in the system properties when it is determined that the application corresponding to the upgrade installation package is a system application comprises:

detecting the upgrade installation package, obtaining the name of the upgrade installation package, reading an identification of the application corresponding to the upgrade installation package, and when the identification corresponds to a system application, determining that the application corresponding to the upgrade installation package is a system application, and recording the obtained package name of the upgrade installation package in the system properties.

6. The method of claim 2 , wherein before replacing the original library file with the upgraded library file, the method further comprises:

judging whether the upgraded library file is consistent with the original upgrade installation package stored in the system partition, and if so, then terminating upgrading of the library file; otherwise, replacing the original library file with the upgraded library file.

7. A terminal, comprising a memory and one or more processors, wherein the memory has one or more computer readable program codes stored therein, and the one or more processors are configured to perform the one or more computer readable program codes to implement:

when it is determined that the package name of an upgrade installation package is recorded in system properties, to search a user partition by the package name of the upgrade installation package for an upgraded library file corresponding to the upgrade installation package, wherein the package name of the upgrade installation package is recorded in the system properties when it is determined that an application corresponding to the upgrade installation package is a system application;

to replace an original library file stored in a system partition with the upgraded library file found in the user partition; and

to delete the package name of the upgrade installation package recorded in the system properties.

8. The terminal of claim 7 , wherein the one or more processors are further configured to perform the one or more computer readable program codes to implement:

to inquire an application upgrade server periodically, wherein there is a network connection established between the terminal and the application upgrade server; and

to download the upgrade installation package when the upgrade installation package is found, wherein the upgrade installation package is an installation package corresponding to a new version of the application in the application upgrade server.

9. The terminal of claim 8 , wherein the one or more processors are further configured to perform the one or more computer readable program codes:

to invoke a system service program interface to install the upgrade installation package, wherein the upgraded library file corresponding to the upgrade installation package is stored in the user partition; and

to detect the upgrade installation package and to record the package name of the upgrade installation package in the system properties when it is determined that the application corresponding to the upgrade installation package is a system application.

10. The terminal of claim 9 , wherein the detecting the upgrade installation package and recording the package name of the upgrade installation package in the system properties when it is determined that the application corresponding to the upgrade installation package is a system application comprises:

detecting the upgrade installation package, obtaining the name of the upgrade installation package, reading an identification of the application corresponding to the upgrade installation package, and when the identification corresponds to a system application, determining that the application corresponding to the upgrade installation package is a system application, and recording the obtained package name of the upgrade installation package in the system properties.

11. The terminal of claim 7 , wherein the one or more processors are further configured to perform the one or more computer readable program codes to implement:

to judge whether the upgraded library file is consistent with the original upgrade installation package stored in the system partition, and if so, to terminate upgrading of the library file; otherwise, to replace the original library file with the upgraded library file and to load the upgraded library file.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2014
From: QIN, SHURONG
To: HISENSE BROADBAND MULTIMEDIA TECHNOLOGIES CO., LTD.; HISENSE USA CORPORATION; HISENSE INTERNATIONAL CO., LTD.
Reel/Frame 034210/0506 →
Priority Claims (1)
CN 2014 1 0412964 · Aug 20, 2014 · national
Continuity (1)
Related Publication 20160054990A1 · Feb 25, 2016