Virtualization Platform for Creating, Deploying, Modifying, and Relocating Applications
US-2019095186-A1 · Mar 28, 2019 · US
US12093726B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12093726-B2 |
| Application number | US-202117230737-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 14, 2021 |
| Priority date | Oct 15, 2018 |
| Publication date | Sep 17, 2024 |
| Grant date | Sep 17, 2024 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This application provides a method and an apparatus, for accelerating cold startup of an application. The method includes after identifying an event that instructs an operating system of a terminal to cold start up an application, obtaining, from a plurality of dimensions, current status information related to the cold startup of the application, where the current status information includes a hardware configuration of the terminal, current load of the operating system of the terminal, resource overheads for cold starting up the application, and duration corresponding to each of a plurality of tasks in a process of cold starting up the application. The method also includes determining, by analyzing the current status information, a plurality of objects that need to be optimized in the current process of cold starting up the application; and then obtaining, based on the determined objects.
Opening claim text (preview).
What is claimed is: 1. A method for cold starting up an application, comprising: collecting, by a terminal, current status information based on a detected startup event, wherein the startup event instructs an operating system of the terminal to cold start up an application, and the current status information comprises a hardware configuration of the terminal, current load of the operating system, resource overheads for cold starting up the application, and duration corresponding to each of a plurality of tasks in a process of cold starting up the application; determining, based on the current status information, a group of acceleration items corresponding to the application that indicate at least one resource and at least one task that are to be optimized in the current process of cold starting up the application, wherein when the hardware configuration of the terminal is of a first level, the operating system is currently in first level load, the application is of a first resource overheads type, and a long-time-consuming task in the cold startup belongs to a first group of tasks, the application is currently corresponding to a first group of acceleration items; or when the hardware configuration of the terminal is of a second level, the operating system is currently in second level load, the application is of a second resource overheads type, and the long-time-consuming task in the cold startup belongs to a second group of tasks, the application is currently corresponding to a second group of acceleration items; determining one or more optimization policies corresponding to the group of acceleration items, wherein the one or more optimization policies comprise one or more of a first optimization policy, a second optimization policy, or a combination thereof, and the first optimization policy instructs an adjustment of a resource allocated by the operating system to the cold startup, and the second optimization policy accelerates a task in the cold startup; and executing the one or more determined optimization policies in the process of cold starting up the application. 2. The method according to claim 1 , wherein the determining, based on the current status information, the group of acceleration items comprises: analyzing the current status information to obtain evaluation information currently corresponding to the application, wherein the evaluation information currently corresponding to the application comprises the level of the hardware configuration of the terminal, the degree of the current load of the operating system, the type of the resource overheads of the application, and the long-time-consuming task in the cold startup; and determining, based on the evaluation information currently corresponding to the application and a correspondence between evaluation information and an acceleration item, the group of acceleration items currently corresponding to the application. 3. The method according claim 1 , wherein the determining the one or more optimization policies corresponding to the group of acceleration items comprises: determining, based on the group of acceleration items corresponding to the application and a correspondence between an acceleration item and an optimization policy, the plurality of optimization policies corresponding to the group of acceleration items. 4. The method according to claim 1 , wherein the current load of the operating system indicates current usage of a hardware resource of the terminal that is used by the operating system, and the hardware resource comprises at least one of a processing resource, a storage resource, or a network resource; and the resource overheads for cold starting up the application indicate usage of at least one of a processor, a memory, a disk, or network bandwidth of the terminal in the cold startup. 5. The method according to claim 4 , wherein the first optimization policy comprises adjusting the at least one of the processing resource, the storage resource, or the network resource that are allocated to the cold startup. 6. The method according to claim 1 , wherein in the process of cold starting up the application, the plurality of tasks comprise at least one first task and at least one second task, and the duration corresponding to the plurality of tasks comprises respective duration for performing the at least one first task and respective duration for waiting for performing the at least one second task. 7. The method according to claim 1 , wherein the first optimization policy comprises at least one of: boosting an operating frequency of a central processing unit (CPU) of the terminal, prolonging a time of the CPU frequency boost of the terminal, adjusting an energy consumption parameter of the CPU of the terminal, migrating the process of cold starting up the application to a kernel of another CPU for execution, releasing memory space corresponding to the cold startup process of the application in advance, freezing or clearing at least one another process, or adjusting read/write bandwidth or network bandwidth that is allocated to the at least one another process, wherein the at least one another process is a process of at least one application, other than the application, that is run in the operating system; and the second optimization policy comprises at least one of the following optimization policies: enabling a Nagle algorithm on a transmission control protocol (TCP) connection corresponding to the application, using the processing resource by a thread having a greater importance than one or more other threads in the process corresponding to the cold startup, reading a file page required for cold starting up the application in advance, performing class verification in advance, decoding a picture in advance, or loading a basic database in advance. 8. A terminal for cold starting up an application, comprising: a processing circuit; and a storage medium, storing an instruction, wherein the processing circuit is configured to run the instruction stored in the storage medium, to implement operations, comprising: collecting, current status information based on a detected startup event, wherein the startup event instructs an operating system of the terminal to cold start up an application, and the current status information comprises a hardware configuration of the terminal, current load of the operating system, resource overheads for cold starting up the application, and duration corresponding to each of a plurality of tasks in a process of cold starting up the application, determining, based on the current status information, a group of acceleration items corresponding to the application that indicate at least one resource and at least one task that are to be optimized in the current process of cold starting up the application, wherein when the hardware configuration of the terminal is of a first level, the operating system is currently in first level load, the application is of a first resource overheads type, and a long-time-consuming task in the cold startup belongs to a first group of tasks, the application is currently corresponding to a first group of acceleration items; or when the hardware configuration of the terminal is of a second level, the operating system is currently in second level load, the application is of a second resource overheads type, and the long-time-consuming task in the cold startup belongs to a second group of tasks, the application is currently corresponding to a second group of acceleration items; determining one or more optimization policies corresponding to the group of acceleration items, wherein the one or more optimization policies comprise one or more of a first optimization policy, a second optimization policy, or a combination thereof, and the first optimi
via adapters, e.g. between incompatible applications · CPC title
considering hardware capabilities · CPC title
Configuring for program initiating, e.g. using registry, configuration files · CPC title
using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12) · CPC title
Object-oriented method invocation or resolution · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.