IP Library Granted Patent US 10,140,113
Granted Patent B2
US 10,140,113 · App. 15/394,750 · Granted Nov 27, 2018

Data processing method and device of preset application after upgrading

Inventor: Xin Li (Qingdao, CN)
Assignees: HISENSE ELECTRIC CO., LTD.; HISENSE USA CORPORATION; HISENSE INTERNATIONAL CO., LTD.
G06F8/65G06F17/30106G06F17/30117
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 10,140,113
App. No.
15/394,750
Granted
Nov 27, 2018
Kind
B2
Abstract

The present application provides a data processing method for a preset application, including: after upgrading the preset application, comparing a first application package of preset application after upgrading in a data partition with a second application package of preset application before upgrading in a system partition; deleting each file in the first application package which is identical with that in the second application package in accordance with a comparison result; after the deleting, adding reduction identification information in the first application package, wherein the reduction identification information is used for: when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

Claims (51)

1. A data processing method for a preset application in a terminal comprising a data partition and a system partition, comprising:

after upgrading the preset application, comparing a first application package of the preset application after upgrading in the data partition with a second application package of the preset application before upgrading in the system partition;

deleting each file in the first application package which is identical with that in the second application package in accordance with a comparison result;

after the deleting, adding reduction identification information in the first application package, wherein the reduction identification information is used for: when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

2. The method in accordance with claim 1 , wherein, before the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, the method further comprises:

decompressing the first application package, to acquire files of the first application package after decompressing;

decompressing the second application package, to acquire files of the second application package after decompressing;

wherein the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, comprises:

comparing the files of the first application package after decompressing with the files of the second application package after decompressing.

3. The method in accordance with claim 2 , wherein, the deleting each file in the first application package which is identical with that in the second application package in accordance with the comparison result comprises:

deleting each file in the first application package after decompressing which is identical with that in the second application package after decompressing in accordance with the comparison result.

4. The method in accordance with claim 3 , wherein, after the deleting each file in the first application package after decompressing which is identical with that in the second application package after decompressing in accordance with the comparison result, the method further comprises:

compressing remaining file of the first application package in the data partition, to acquire a third application package, and replacing the first application package after the deleting according to the third application package.

5. The method in accordance with claim 1 , wherein, before the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, the method further comprises:

determining whether the first application package contains the reduction identification information.

6. The method in accordance with claim 1 , further comprising:

determining whether the first application package contains the reduction identification information when the preset application after upgrading is started;

if the first application package does contain the reduction identification information, loading the program file from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

7. A terminal, comprising: a memory, configured to store instructions; and a processor, coupled with the memory and configured to execute the instructions stored in the memory, and configured to:

compare a first application package of the preset application after upgrading in a data partition with a second application package of the preset application before upgrading in a system partition, after upgrading the preset application, wherein the data partition and the system partition are comprised in the terminal;

delete each file in the first application package which is identical with that in the second application package in accordance with a comparison result; and

after the deleting, add reduction identification information in the first application package, wherein the reduction identification information is used for: when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

8. The terminal in accordance with claim 7 , wherein, the processor is further configured to:

decompress the first application package, to acquire files of the first application package after decompressing;

decompress the second application package, to acquire files of the second application package after decompressing;

compare the file of the first application package after decompressing with the file of the second application package after decompressing.

9. The terminal in accordance with claim 8 , wherein, the processor is further configured:

to compress remaining file of the first application package in the data partition, to acquire a third application package, and to replace the first application package after the deleting according to the third application package.

10. The terminal in accordance with claim 7 , wherein, the processor is further configured:

to determine whether the first application package contains the reduction identification information when the preset application after upgrading is started;

if the first application package does contain the reduction identification information, to load program file from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

11. A non-transitory computer readable medium, with a set of instructions stored thereon, enabling a machine to execute the data processing method of a preset application after upgrading when the set of instructions is executed, the method comprising:

after upgrading the preset application, comparing a first application package of the preset application after upgrading in a data partition with a second application package of the preset application before upgrading in a system partition, wherein the data partition and the system partition are comprised in a terminal;

deleting each file in the first application package which is identical with that in the second application package in accordance with a comparison result;

after the deleting, adding reduction identification information in the first application package, wherein the reduction identification information is used for: when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information.

12. The non-transitory computer readable medium in accordance with claim 11 , wherein, before the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, further comprises:

decompressing the first application package, to acquire files of the first application package after decompressing;

decompressing the second application package, to acquire files of the second application package after decompressing;

the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, comprises:

comparing the file of the first application package after decompressing with the file of the second application package after decompressing.

13. The non-transitory computer readable medium in accordance with claim 12 , wherein, the deleting the file in the first application package which is identical with that in the second application package in accordance with a comparison result, further comprises:

deleting a file in the first application package after decompressing which is identical with that in the second application package after decompressing in accordance with the comparison result.

14. The non-transitory computer readable medium in accordance with claim 13 , wherein, after the deleting the file in the first application package after decompressing which is identical with that in the second application package after decompressing in accordance with the comparison result, further comprises:

compressing remaining file of the first application package in the data partition, to acquire a third application package, and replacing the first application package after the deleting according to the third application package.

15. The non-transitory computer readable medium in accordance with claim 11 , wherein, before the comparing the first application package of the preset application after upgrading in the data partition with the second application package of the preset application before upgrading in the system partition, further comprises:

determining whether the first application package contains the reduction identification information.

16. The method in accordance with claim 1 , wherein, when a root permission is not acquired, data in the system partition is not permitted to be changed and data in the data partition is permitted to be changed when upgrading the preset application.

17. The terminal in accordance with claim 7 , wherein, when a root permission is not acquired, data in the system partition is not permitted to be changed and data in the data partition is permitted to be changed when upgrading the preset application.

18. The non-transitory computer readable medium in accordance with claim 11 , wherein, when a root permission is not acquired, data in the system partition is not permitted to be changed and data in the data partition is permitted to be changed when upgrading the preset application.

19. The method in accordance with claim 1 , wherein, when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information, resulting in releasing repeated occupation of storage space in the data partition.

20. The terminal in accordance with claim 7 , wherein, when the preset application after upgrading is started, a program file is loaded from the first application package after the deleting and the second application package, respectively, in accordance with the reduction identification information, resulting in releasing repeated occupation of storage space in the data partition.

Assignments (6)
CHANGE OF NAME Recorded Dec 3, 2021
From: MAXELL HOLDINGS, LTD.
To: MAXELL, LTD.
Reel/Frame 058666/0407 →
MERGER Recorded Nov 29, 2021
From: MAXELL, LTD.
To: MAXELL HOLDINGS, LTD.
Reel/Frame 058255/0579 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 25, 2021
From: HISENSE VISUAL TECHNOLOGY CO., LTD.
To: MAXELL, LTD.
Reel/Frame 056681/0441 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 27, 2021
From: HISENSE USA CORPORATION; HISENSE INTERNATIONAL CO., LTD.
To: HISENSE VISUAL TECHNOLOGY CO., LTD.
Reel/Frame 056371/0923 →
CHANGE OF NAME Recorded May 27, 2021
From: HISENSE ELECTRIC CO., LTD.
To: HISENSE VISUAL TECHNOLOGY CO., LTD.
Reel/Frame 056408/0336 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2016
From: LI, XIN
To: HISENSE ELECTRIC CO., LTD.; HISENSE USA CORPORATION; HISENSE INTERNATIONAL CO., LTD.
Reel/Frame 040807/0806 →
Priority Claims (1)
CN 2016 1 0262060 · Apr 25, 2016 · national
Continuity (1)
Related Publication 20170308369A1 · Oct 26, 2017
Cited By (1)
US 12,487,816