Application activation method and apparatus

US10871973B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10871973-B2
Application numberUS-201816046540-A
CountryUS
Kind codeB2
Filing dateJul 26, 2018
Priority dateMay 9, 2016
Publication dateDec 22, 2020
Grant dateDec 22, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An application activation method is provided. The method includes obtaining a first compressed file, where the first compressed file contains activation information of an application and compressed content of a code package of the application. The method also includes extracting the compressed content from the first compressed file; generating a second compressed file by using the compressed content without decompressing the compressed content; and loading the second compressed file, and activating the application according to the activation information in the first compressed file.

First claim

Opening claim text (preview).

What is claimed is: 1. An application activation method, comprising: obtaining a first compressed file, the first compressed file containing activation information of an application and compressed content of a code package of the application, the activation information comprising a code main-package, and the main- package comprising at least one activation entry program in a decompressed state; extracting the compressed content from the first compressed file, the compressed content being a code sub-package in the first compressed file; generating a second compressed file by using the compressed content without decompressing the compressed content; activating the main-package and displaying an activation interface that changes a current screen; loading the second compressed file asynchronously after displaying the activation interface; and activating the application according to the activation information in the first compressed file, including: executing the at least one activation entry program in the main-package, and displaying a main interface of the application upon detecting that the second compressed file is completely loaded; wherein the sub-package comprises a non-activation entry program; and the non-activation entry program allocated in the sub-package in the first compressed file and the activation entry program allocated in the main-package in the first compressed file are obtained according to a preset classification rule during installation and compiling of the application. 2. The method according to claim 1 , wherein the first compressed file is an Android package (APK) file, and the second compressed file is a zip compressed file. 3. The method according to claim 2 , wherein the generating a second compressed file by using the compressed content comprises: copying the compressed content; and writing zip header information into the copied compressed content. 4. The method according to claim 1 , wherein the generating a second compressed file by using the compressed content comprises: generating header information of the second compressed file according to file header information of the compressed content in the first compressed file; and generating core directory information of the second compressed file according to core directory information of the compressed content in the first compressed file. 5. The method according to claim 1 , wherein the obtaining a first compressed file comprises: obtaining the first compressed file when a broadcast package broadcasted by a system and used to notify that the application is completely installed is detected. 6. The method according to claim 1 , wherein the activating the application according to the activation information in the first compressed file comprises: activating the application according to the activation information in the first compressed file when an activation instruction for activating the application is detected. 7. The method according to claim 1 , wherein the activation interface is invoked upon detecting that the application is installed and activated for the first time. 8. The method according to claim 7 , wherein the main-package includes an outer shell component, and the method further comprises: when a normal entry of the application is detected, determining whether the normal entry is a first time activation; and invoking the activation interface by using the outer shell component. 9. A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform: obtaining a first compressed file, the first compressed file containing activation information of an application and compressed content of a code package of the application, the activation information comprising a code main-package, and the main- package comprising at least one activation entry program in a decompressed state; extracting the compressed content from the first compressed file, the compressed content being a code sub-package in the first compressed file; generating a second compressed file by using the compressed content without decompressing the compressed content; activating the main-package and displaying an activation interface that changes a current screen; loading the second compressed file asynchronously after displaying the activation interface; and activating the application according to the activation information in the first compressed file, including: executing the at least one activation entry program in the main-package, and displaying a main interface of the application upon detecting that the second compressed file is completely loaded; wherein the sub-package comprises a non-activation entry program; and the non-activation entry program allocated in the sub-package in the first compressed file and the activation entry program allocated in the main-package in the first compressed file are obtained according to a preset classification rule during installation and compiling of the application. 10. The non-transitory computer-readable storage medium according to claim 9 , wherein the first compressed file is an Android package (APK) file, and the second compressed file is a zip compressed file. 11. The method according to claim 10 , wherein the generating a second compressed file by using the compressed content comprises: copying the compressed content; and writing zip header information into the copied compressed content. 12. The non-transitory computer-readable storage medium according to claim 9 , wherein the generating a second compressed file by using the compressed content comprises: generating header information of the second compressed file according to file header information of the compressed content in the first compressed file; and generating core directory information of the second compressed file according to core directory information of the compressed content in the first compressed file. 13. The non-transitory computer-readable storage medium according to claim 9 , wherein the obtaining a first compressed file comprises: obtaining the first compressed file when a broadcast package broadcasted by a system and used to notify that the application is completely installed is detected. 14. The non-transitory computer-readable storage medium according to claim 9 , wherein the activating the application according to the activation information in the first compressed file comprises: activating the application according to the activation information in the first compressed file when an activation instruction for activating the application is detected. 15. An application activation apparatus, comprising: a memory; and a processor coupled to the memory and configured to perform: obtaining a first compressed file, the first compressed file containing activation information of an application and compressed content of a code package of the application, the activation information comprising a code main-package, and the main-package comprising at least one activation entry program in a decompressed state; extracting the compressed content from the first compressed file, the compressed content being a code sub-package in the first compressed file; generating a second compressed file by using the compressed content without decompressing the compressed content; activating the main-package and displaying an activation interface that changes a current screen; loading the second compressed file asynchronously after displaying the activation interface; and activating the application according to the activation information in the first compressed file, incl

Assignees

Inventors

Classifications

  • G06F8/61Primary

    Installation · CPC title

  • Conversion to or from non-linear codes, e.g. companding · CPC title

  • Software · CPC title

  • G06F9/445Primary

    Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57) · CPC title

  • Compilation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10871973B2 cover?
An application activation method is provided. The method includes obtaining a first compressed file, where the first compressed file contains activation information of an application and compressed content of a code package of the application. The method also includes extracting the compressed content from the first compressed file; generating a second compressed file by using the compressed co…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F8/61. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 22 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).