Method for accelerating start of application program, computing device and computer storage medium

By pre-initializing the first part of the application's initialization items when the atomic component starts and performing the second part of initialization when the startup request is received, the problem of slow application startup speed in computing devices is solved, thereby accelerating application startup and improving user experience.

CN115629812BActive Publication Date: 2026-08-25ZHANGYUE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210995689.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2026-08-25
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

In computing devices containing atomic components and applications, excessive memory usage can slow down application startup and negatively impact user experience.

Method used

During the startup process of the atomic component, the first part of the initialization items is initialized in advance, including registering application-level broadcasts, initializing the deployment system, advertising program development kit, computing device account program development kit, etc. Then, the second part of the initialization process is performed upon receiving the application startup request, thus achieving a warm start of the application.

Benefits of technology

By implementing phased initialization, the application's startup speed was improved, achieving an acceleration effect of over 30% and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115629812B_ABST
    Figure CN115629812B_ABST
Patent Text Reader

Abstract

The application discloses an application program acceleration starting method, a computing device and a computer storage medium, and the method comprises the following steps: in the starting process of an atomic component, a first part initialization item used for supporting the running of the atomic component is initialized; wherein the atomic component is used for pulling information to be presented through an application program; a starting request of the application program is received, a second part initialization item of the application program is initialized, and the application program is accelerated to start; wherein the first part initialization item and the second part initialization item are used for supporting the running of the application program. Through the above method, since the first part initialization item has been initialized when the atomic component of the application program starts, when the application program starts, as long as the second part initialization item of the application program is initialized, the application program can be started, the starting speed of the application program is improved, and the warm starting of the application program is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology, and more specifically to a method for accelerating the startup of applications, a computing device, and a computer storage medium. Background Technology

[0002] In Android's OriginOS, atomic components restructure content display and interaction methods, allowing application functions to be showcased within small desktop areas of 1×2, 2×1, 2×2, or 1×3 pixels. Users can directly control and operate the application through these components without having to enter the application itself, reducing many cumbersome steps. Currently, atomic components have begun to form a digital life service system encompassing services such as audio-visual entertainment, transportation, social networking, shopping, finance, and learning. This maximizes desktop utilization, simplifies usage steps, and helps users obtain the services and information they need with a single click, thus improving the human-computer interaction experience. For example, one display method of atomic components on the desktop is as follows... Figure 8 As shown, in this display mode, the atomic component view interface is located at the top of the desktop, and the application icon is located at the bottom of the desktop. The atomic component icon is generally larger than the application icon and has a richer display style.

[0003] However, for computing devices loaded with atomic components and applications, excessive memory usage can lead to sluggish performance, especially for single applications with many startup items. The longer startup time for these applications negatively impacts the user experience. Therefore, improving application startup speed so that users can access the application immediately has become a pressing issue. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed to provide a method, computing device and computer storage medium for accelerating application startup to overcome the above problems or at least partially solve the problem of slow application startup speed.

[0005] According to one aspect of the present invention, a method for accelerating the startup of an application is provided, the method comprising:

[0006] During the startup process of an atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application.

[0007] The system receives the application's startup request and initializes the second part of the application's initialization items to accelerate the application's startup; wherein the first part of the initialization items and the second part of the initialization items are used to support the application's operation.

[0008] According to another aspect of the present invention, a computing device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus;

[0009] The memory is used to store at least one executable instruction, which causes the processor to perform the following operations:

[0010] During the startup process of the atomic component, the first part of the initialization items of the application corresponding to the atomic component is initialized; wherein, the atomic component is used to retrieve information to be presented through the application;

[0011] The system receives the application's startup request and initializes the second part of the application's initialization items to accelerate the application's startup; wherein the first part of the initialization items and the second part of the initialization items are used to support the application's operation.

[0012] According to another aspect of the present invention, a computer storage medium is provided, the storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the accelerated startup method of the above-described application.

[0013] The application acceleration startup scheme provided by the embodiments of the present invention first initializes the first part of the initialization items for the application corresponding to the atomic component during the startup process of the atomic component, and then warmly starts the application according to the startup request of the application. Its beneficial effect is that since the first part of the initialization items has already been initialized when the atomic component of the application starts, when the application starts, only the second part of the initialization items of the application needs to be initialized again to start the application. In other words, it is not necessary to repeatedly initialize the first part of the initialization items during the application startup process, reducing this initialization process, improving the startup speed of the application, and realizing warm startup of the application.

[0014] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0015] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0016] Figure 1 A flowchart of an application acceleration startup method according to an embodiment of the present invention is shown;

[0017] Figure 2 A flowchart illustrating the overall operation of an atomic component provided in one embodiment of the present invention is shown.

[0018] Figure 3 An example view interface diagram of an atomic component provided in one embodiment of the present invention is shown;

[0019] Figure 4 An example view interface diagram of an atomic component provided in another embodiment of the present invention is shown;

[0020] Figure 5 A flowchart of an application acceleration startup method provided in another embodiment of the present invention is shown;

[0021] Figure 6 A flowchart of an application acceleration startup method provided in another embodiment of the present invention is shown;

[0022] Figure 7 A schematic diagram of the structure of a computing device provided in one embodiment of the present invention is shown;

[0023] Figure 8 This diagram illustrates a graphical interface for a computing device desktop provided by the prior art. Detailed Implementation

[0024] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0025] Figure 1 A flowchart illustrating an embodiment of an application acceleration launch method according to the present invention is shown. This method is applied to a computing device. The computing device includes various smart terminals, such as mobile phones, laptops, tablets, or desktop computers. Figure 1 As shown, the method includes the following steps:

[0026] Step 110: During the startup process of the atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application.

[0027] Atomic components, also known as widgets, are primarily used to display portions of information or functionality from an application within a new visual control, offering an inherent advantage in terms of ease of use. Currently, operating systems like OriginOS employ a symbolic design language, using innovative design to improve the efficiency of information display and interactive operations. This characteristic is reflected in the new atomic component system. Besides displaying content, atomic components can also achieve "zero-level operation," allowing users to access the core functions of many applications directly on the desktop, improving desktop utilization and making the interactive experience more intuitive and efficient.

[0028] Taking a notification-type atomic component as an example, it combines with time information to intelligently prioritize and display the user's most urgent notifications. For instance, if a user has a meeting in the morning and a flight in the afternoon, the atomic component will display the most important information at the appropriate time, ensuring the user doesn't miss any important information. Another example is a "ride-hailing" atomic component, which allows users to hail a ride with a single click, view estimated prices, and preview license plate numbers—all without opening the application, completing the entire ride-hailing experience on the desktop. Simultaneously, when a user hails a ride using the application, order status and other information are automatically updated to the desktop atomic component, providing quick access to driver distance, license plate number, and other details, making driver and passenger information readily available.

[0029] See Figure 2 The overall operation flow of the atomic components is illustrated below. Taking an e-book as an example, the user first operates on the computing device, sending a request to add the e-book atomic component to the desktop through swiping and clicking. The desktop of the computing device sends an add request to the atomic component platform based on this request, obtains the installation package from the atomic component platform, and then the business-side atomic component sends an installation and run request to the business side. Based on the specific content and display controls of the developed atomic component, the business side returns the corresponding program and data to the business-side atomic component, and performs view initialization and display update processing at the business-side atomic component node. Then, the business-side atomic component returns the view to the atomic component platform, and the atomic component platform refreshes and displays the view on the desktop for the user to see.

[0030] In one specific implementation, on the desktop of certain computing devices acting as clients, the steps for a user to actually add an atomic component to an ebook include: first, swiping up on any blank area of ​​the desktop to reveal the drawer; second, clicking the atomic component button to enter the atomic component selection page; and third, selecting the atomic component and dragging it to the desktop. Additionally, the atomic component's style can be customized by dragging and dropping it, for example, changing a 1×1 component to a 1×2, 2×1, or 3×1 component.

[0031] Atomic components and applications can be displayed in columns or split-screen mode. Preferably, this is achieved by displaying atomic component and application buttons separately at the top left of the desktop, allowing users to choose which desktop to view. Users can then select to view only atomic components or applications. Since users typically only focus on or browse certain functions of frequently used applications, such as WeChat chat, WeChat Moments, weather, notifications, ride-hailing, and music playback, they can view only atomic components during regular browsing of smartphones and other smart devices. This is because what they are interested in is already displayed using atomic components, and they only need to open the application to browse or operate it if further operations are required.

[0032] Of course, atomic components and applications can also be displayed together, allowing users to browse them by swiping and flipping through the screen. In this case, users can combine atomic components and applications according to their preferences. For example, applications of a certain type can be placed on the same screen. If a user is interested in the content of an atomic component of that type and needs to view it further, they can easily click on the application's icon to proceed. Furthermore, there may be situations where the atomic component view and the corresponding application icon are not on the same screen. In this case, if a user is interested in the content of an atomic component and needs to perform further actions, they can swipe and flip through the screen to find the corresponding application.

[0033] In cases where various atomic components and applications coexist on the desktop, especially when there are a large number of atomic components and applications (e.g., a typical user might install dozens of applications and dozens of atomic components), the startup speed of some applications with many startup items will be slow, affecting the user experience.

[0034] In step 110 of this embodiment, in order to solve the above-mentioned problem, when refreshing and displaying a certain atomic component, in addition to obtaining the information that needs to be pulled through the application, the computing device also preloads the first part of the initialization items that support the operation of the atomic component, thereby reducing the startup time of the application corresponding to the atomic component when it is officially launched.

[0035] Specifically, the first part of the initialization items includes initialization items that directly support the operation of the atomic component, and may also include other items that indirectly support the operation of the atomic component or even the application. As for which initialization items to select, the selection can be determined by comprehensively considering the startup loading time of the initialization items, the memory usage of the computing device, and the CPU consumption, so as to establish a balance between the speed of the subsequent formal startup of the application and the impact of starting these initialization items on the computing device.

[0036] Therefore, this embodiment not only obtains the corresponding information to support the normal display of the atomic component when refreshing the atomic component view on the desktop, but also reduces the time and overhead when the application is launched in the subsequent formal launch by preloading the first part of the initialization items.

[0037] The information to be displayed mentioned above refers to the necessary information for the atomic components to show. For example, for ebooks, this could be the user's reading time statistics within a certain period, a ranking of books the user has recently read, or books recommended to the user based on their past reading history. It should be noted that this information can generally be obtained from the local client or server via a path request. For instance, the information to be displayed can be obtained by the application requesting the server via a URL network link.

[0038] See Figure 3 The atomic component for reading time in the e-book application shown displays the user's reading time and ranking within the application. It should be noted that this information can be retrieved either locally or from the server.

[0039] Step 120: Receive the application's startup request, initialize the second part of the application's initialization items, and accelerate the startup of the application; wherein, the first part of the initialization items and the second part of the initialization items are used to support the operation of the application.

[0040] Specifically, when atomic components and applications are displayed in split-screen or column-based modes, the first part of the initialization items has already been loaded if the atomic components have been displayed previously. At this point, if the user is interested in specific content, they can search for the corresponding application icon by viewing different columns or screens and click to enter the application. Alternatively, if the content displayed in some atomic components requires a click operation and is only available after the application is launched, the atomic component can launch the application from the background. In either of these scenarios, since the atomic component has already been launched and the first part of the initialization has been loaded, as long as the corresponding process or thread is still running, only the second part of the initialization items needs to be loaded to open the application. Therefore, the goal of accelerating application launch is achieved.

[0041] Similarly, in the case of mixed display of atomic components and applications, as long as the atomic component has been displayed on the desktop, that is, the corresponding information has been viewed through the atomic component, the computing device background has already completed the loading of the first part of the initialization items. If the user still needs to load the corresponding application, the purpose of quickly launching the application can be achieved regardless of whether the application icon and the atomic component are on the same screen.

[0042] Through step 120, after receiving the application's startup request, the application is warm-started based on the first part of the initialization items that have already been started and the second part of the initialization items that are initialized after the request. This can speed up the process by more than 30% compared to a regular cold start.

[0043] In summary, this embodiment of the present invention achieves a warm start of the application by starting the thread or process of the first part of the initialization item of the application corresponding to the atomic component when the atomic component is displayed, and keeping the thread or process running. When the application needs to be officially launched, it improves the user experience.

[0044] In a preferred embodiment, the first part of the initialization items includes, but is not limited to: registering some application-level broadcasts, initializing the deployment system, initializing the advertising program development kit, initializing the computing device account program development kit, initializing device information, starting and initializing the database, initializing the task distribution system, initializing the network framework, initializing the information acquisition path of some functions in the application, initializing plugin configuration items and / or main page bottom display control configuration items.

[0045] In this context, a broadcast refers to sending a message to an application or a component within an application, indicating that a certain event has changed. Broadcasts can be broadly divided into two types: system-level broadcasts (such as the broadcast sent by the system after a phone boots up) and application-defined broadcasts (such as message communication between different components within the same application). In this embodiment, the application-level broadcast initialization in the registration section refers to the initialization and loading of the application-level broadcasts required for the corresponding application registration when the atomic component is loaded and displayed. After normal startup, the application-level broadcast function can be used.

[0046] A point-of-sight system is a system used to obtain data such as user clicks and error rates by setting up dedicated interfaces. The point-of-sight system mainly consists of preset data acquisition interfaces and generally needs to be initialized when the application starts.

[0047] In this embodiment, the advertising application development kit (SDK) is a software development toolkit that helps the application integrate advertising and realize advertising monetization. As needed, this type of SDK needs to be set in the application and the initialization process is completed when the application starts.

[0048] In addition, task distribution systems are used in applications that continuously generate tasks and need to process them as quickly as possible. A task distribution system typically consists of three parts: task distribution, a delayed queue, and a distributed lock. A task distribution system can distribute certain types of tasks to servers or components more suitable for handling those tasks, and supports parallel task processing, load balancing, and multi-language calls.

[0049] Initializing the information retrieval path for certain functions in an application refers to initializing the retrieval path or application request link (such as a URL) for the information that an atomic component needs to present, so that it can quickly obtain the information to be presented. For example, initializing the reading time system in an e-book to obtain the reading time information.

[0050] Additionally, initialization can also be performed on the computing device (e.g., mobile phone) account program development kit, the device (e.g., mobile phone) information, the startup and initialization of the database (e.g., a database directly related to the application), the initialization of plugin configuration items and / or the configuration items of the main page bottom display controls (e.g., the application's tabs). The above initialization items are merely examples; all items initialized as needed are within the scope of protection of this embodiment.

[0051] It should be noted that the first part of the initialization items, in addition to those directly supporting the operation of atomic components, may also include other initialization items that indirectly support the startup of atomic components or are related to the startup of atomic components, which are required for application startup. Specifically, when determining the first part of the initialization items, factors such as the number of processes on the computing device, memory and CPU usage, and the impact of each initialization item on application startup can also be considered, thereby achieving a balance between the overall operating load of the computing device and the speed of application startup.

[0052] In summary, in the examples of the first part of initialization items above, the information acquisition path of some functions in the application is initialized to obtain the display content of the atomic components. Other initialization items, such as application-level broadcasting, deployment system, advertising application development kit (SDK), application development kit (SDK) of the computing device account, device information, database, etc., can be selected and determined according to the needs of atomic components and application startup, based on the different situations of each computing device. That is, the selection of the first part of initialization items can vary depending on the different settings of the computing device and the different requirements for application startup, and may also include other initialization items not mentioned in the above examples.

[0053] In one or more embodiments, the method further includes: after the atomic component is started, using the display control of the atomic component to present the information to be presented.

[0054] Combination Figure 3 As shown, after the atomic component is displayed and launched on the computing device desktop, information such as the user's reading time and ranking will be automatically displayed.

[0055] For example, combining Figure 4 As shown, the tab control of the atomic component can display recently read books and also retrieve certain information from the server. For example, it can recommend books to the user based on their past data using a corresponding algorithm, and present this information in the "You May Like" tab control. Specifically, the "You May Like" component sends the user's account ID to the server. The server then performs big data analysis on the user's past reading history, purchase history, and likes / interaction data based on the account ID. Using preset algorithms such as similarity calculation, it determines the books, journals, or magazines that the user might like, and then returns this information to the client and displays it in the corresponding tab control of the atomic component.

[0056] Figure 5 A flowchart of another embodiment of the application acceleration startup method of the present invention is shown, as follows: Figure 5 As shown, the method includes the following steps:

[0057] Step 510: During the startup process of the atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application.

[0058] The first part of the initialization items includes registering application-level broadcasts, initializing the deployment system, initializing the advertising program development kit, initializing the computing device account program development kit, initializing device information, starting and initializing the database, initializing the task distribution system, initializing the network framework, initializing the information acquisition path of some functions in the application, initializing plugin configuration items and / or the main page bottom display control configuration items, etc. In addition to supporting the operation and information display of atomic components, it can also accelerate the formal startup of the application by initializing in advance.

[0059] It should be noted that if an application corresponds to multiple atomic components, in addition to the necessary initialization items for each atomic component, other first-part initialization items can be distributed among these atomic components according to a preset ratio or preset order, so that they are loaded separately at startup. This ensures that each atomic component displays correctly and also accelerates the subsequent application startup. Of course, in some cases, even if all or part of the first-part initialization items fail to start first, the application still has the ability to load the first and second-part initialization items on its own and achieve normal startup.

[0060] Step 520: Receive user's operation request for the display control of the atomic component.

[0061] For example, with Figure 4 Taking the tab display control in the text as an example, it includes two functional components: "You May Like" and "Recently Reading". When the user clicks "You May Like", the computing device, as a client, receives the user's operation request for the display control of the atomic component. The client then sends a request to the server to obtain "You May Like" through its corresponding e-book application. At this time, it can be set that the application must be fully launched to obtain the corresponding information. Of course, in other implementations, it can also be set to obtain the information without launching the application.

[0062] Furthermore, after the book information in "You May Like" is returned and displayed in the display control, if the user wants to click to view the details page of the first recommended book, they can click on the book's cover. At this point, the computing device receives an operation request to open the book in the display control of the atomic component, and then the corresponding application is launched in the background to obtain the corresponding book content.

[0063] Step 530: Initialize the second part of the application's initialization items to speed up the application startup.

[0064] Since the aforementioned operation request requires the application to perform a startup operation, the computing device initializes the second part of the application's initialization items. This second part of the initialization items consists of the remaining initialization items after subtracting the first part from the complete initialization items required to start the application. Once the second part of the initialization items is also loaded, the application starts faster than a typical cold start, achieving a warm start effect, because the first part of the initialization items was already loaded when the atomic components were started.

[0065] Step 540: Utilize the application to respond to the operation request and present the page corresponding to the operation request.

[0066] For example, if the request is to display "Books I Like," the first few recommended books are shown in the "Books I Like" tab. If the request is to display the details page of the first book, the book's details page is displayed to the user through the application's "Open Book Content" function component after the application starts normally.

[0067] In some cases, requests to atomic components require the application to be started in the background before the corresponding service can be obtained. Specifically, if... Figure 3 In the "Recently Reading" display control shown, if you want to continue reading a book by clicking on it, this request is also a request to launch the application. At this time, the background will initialize the second part of the initialization items to speed up the launch of the application.

[0068] After the application is launched using the accelerated method, the application then responds to the operation request. For example, to achieve the goal of opening the specific content of the book, it is necessary to retrieve the detailed content of the book from the corresponding server after the application is opened for the user to read.

[0069] Figure 6 A flowchart of another embodiment of the application acceleration startup method of the present invention is shown, as follows: Figure 6 As shown, the method includes the following steps:

[0070] Step 610: During the startup process of the atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application.

[0071] The activation condition for an atomic component is generally that it is displayed for the first time after the phone boots up. At the same time, the user can view information within the atomic component, such as reading time and ranking information in an e-book. Information retrieved by the application can be stored locally or on a server.

[0072] Step 620: Receive user requests to manipulate the application's icon.

[0073] In this embodiment, the user's operation request on the application icon is received as an application launch request.

[0074] Within a certain period of time after the atomic component starts, as long as the thread of the first part of the initialization items is not recycled, the user can send an operation request to enter the application by clicking the application icon. At this time, it does not affect the use of the pre-loaded first part of the initialization items at startup, regardless of whether the application is on the same screen or a different screen as the atomic component, or whether it is in the same column or a different column.

[0075] Step 630: Initialize the second part of the application's initialization items to speed up the application startup.

[0076] After receiving an application launch request, the computing device initializes the second part of the application's initialization items. This second part consists of the remaining initialization items after subtracting the first part from the complete initialization items required for application launch. Once the second part of the initialization items is loaded, the application starts faster than a cold start because the first part was already loaded during the initialization process. This achieves a warm start for the application.

[0077] Step 640: Present the application's main page.

[0078] Just like opening an application normally, clicking will bring up the application's main page, such as opening the main page of an e-book. Since the initialization items have been loaded in stages, the startup can be accelerated when needed.

[0079] In summary, this embodiment of the present invention achieves a warm start of the application by starting the thread of the first part of the initialization item of the application corresponding to the atomic component when the atomic component is displayed and keeping the thread running. When the application needs to be officially launched, the application is launched, thus improving the user experience.

[0080] After displaying the retrieved information through an atomic component, even if that atomic component is no longer displayed on the desktop, or even if the thread of the corresponding functional component has been closed, as long as the other initialization items in the first part may still exist, if the user wants to enter the application through the application icon, they can still use the aforementioned first initialization items to achieve accelerated startup. At this time, the computing device, by receiving the user's operation request for the application icon, initiates the initialization operation of the second part of the initialization items, and then officially launches the application.

[0081] In one or more embodiments, after accelerating the launch of the application, the method further includes: the application loading the retrieved information to be presented. Optionally, the information to be presented may also be stored locally on the computing device for a preset time, so that the application can load the information to be presented after launch.

[0082] Specifically, taking the "You May Like" component obtained from the e-book as an example, if the user still needs to open the "You May Like" component after the application is officially launched, there is no need to send an application to the server again, because the data has already been obtained in the atomic component and stored locally on the computing device. The data can simply be used for display.

[0083] In one or more embodiments, after initializing the first portion of the initialization items used to support the operation of the atomic component, the method further includes: receiving a push message sent by the server using a background thread activated by the initialization process.

[0084] To facilitate receiving push notifications, after the initialization of the first part of the atomic component initialization, a preset background thread can be started. This thread receives push notifications sent by the server and displays them on the desktop of the computing device in real time.

[0085] Specifically, normally an application will not receive application-level push messages if it is not started. However, in this embodiment, by pre-setting a thread when the atomic component starts, the thread receives application-level or even system-level push messages. Thus, by utilizing the startup of the atomic component, push messages that can only be obtained after the application is started under normal operation are realized.

[0086] In one or more embodiments, after initializing the first portion of the initialization items used to support the operation of the atomic components, the method further includes: determining whether the reclamation conditions are met based on memory usage; if so, reclaiming the first portion of the initialization items.

[0087] To avoid the impact of the accelerated startup method on the overall operation of the computing device, the first part of the initialization items can be reclaimed when the overall memory load reaches a preset threshold. This setting avoids the impact on the entire system caused by the atomic component being started but the application remaining inactive for an extended period, and also protects the application. Alternatively, the computing device system itself can reclaim the first part of the initialization items, for example, by using the mobile phone's operating system based on preset system conditions. Furthermore, the information to be presented in the atomic component can be refreshed. It should be noted that this refresh is generally done when the display control is in an interactive state, for example, according to... Figure 4It is known that the atomic component of an e-book typically displays "You May Also Like" by default. If a user enters this atomic component and clicks the "Recently Reading" button, the display control for "Recently Reading" becomes interactive, and the information to be presented is refreshed, i.e., the content in "Recently Reading" is updated. Specifically, the information to be presented is refreshed when the user switches the display control in the atomic component. For example, when the user first or later swipes to a screen on the desktop and the display control of this atomic component is displayed, the information to be presented is forcibly retrieved from the local machine or the server and refreshed. Alternatively, the information to be presented is refreshed when the desktop of the computing device is active, such as when the user returns to the desktop from an application, and the update of the information to be presented in the atomic component begins.

[0088] Specifically, if in Figure 4 When the "Recently Reading" display control is active, if a user clicks on a second book and browses it, the reading time for the second book and the total reading time will accumulate. If the reading time for the second book is greater than that for the first book, the data will be refreshed when the user re-enters the "Recently Reading" display control, and the second book will be at the top. If the user refreshes the desktop at this time, then... Figure 3 The reading time data will also be updated.

[0089] In a preferred embodiment, several interfaces can be set on the view interface of the atomic component to place points on the atomic component, obtain click data of the atomic component or information input through the set interface, and then use the interface to receive the user input information and pass it through to the application corresponding to the atomic component. Then, the application can use the application to upload the information to the server in a timely manner.

[0090] Specifically, taking e-books as an example, a point-based system can be set up to collect data. Figure 4 The system collects data such as the number of times users click on "You May Like" or "Recently Read," the number of times they click on the bookshelf or book cover, or the position number of the book cover. In this embodiment, the aforementioned exposure data or user operation data of the atomic components are collected for subsequent big data analysis.

[0091] In summary, the solution provided by the above embodiments of the present invention initializes the first part of the initialization items of the application corresponding to the atomic component during the startup process of the atomic component; then, it receives the startup request of the application and initializes the second part of the initialization items of the application, thereby accelerating the startup of the application. The present invention can utilize the initialization items during the startup of the atomic component to accelerate the startup of the application, thus improving the user experience.

[0092] Figure 7The diagram shows a structural schematic of an embodiment of the computing device of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computing device.

[0093] like Figure 7 As shown, the computing device may include: a processor 702, a communications interface 704, a memory 706, and a communications bus 708.

[0094] The processor 702, communication interface 704, and memory 706 communicate with each other via communication bus 708. Communication interface 704 is used to communicate with other network elements such as clients or other servers. The processor 702 executes program 710, specifically performing the relevant steps in the above-described embodiment of the accelerated startup method for applications on computing devices.

[0095] Specifically, program 710 may include program code that includes computer operation instructions.

[0096] The processor 702 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0097] Memory 706 is used to store program 710. Memory 706 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0098] Specifically, program 710 can be used to cause processor 702 to perform the following operations:

[0099] During the startup process of the atomic component, the first part of the initialization items of the application corresponding to the atomic component is initialized; wherein, the atomic component is used to retrieve information to be presented through the application;

[0100] The system receives the application's startup request and initializes the second part of the application's initialization items to accelerate the application's startup; wherein the first part of the initialization items and the second part of the initialization items are used to support the application's operation.

[0101] In one or more embodiments, the first part of the initialization items includes: registering part of the application-level broadcast, initializing the deployment system, initializing the advertising program development kit, initializing the computing device account program development kit, initializing device information, starting and initializing the database, initializing the task distribution system, initializing the network framework, initializing the information acquisition path of some functions in the application, initializing the plugin configuration items and / or the main page bottom display control configuration items.

[0102] In one or more embodiments, program 710 may specifically be used to cause processor 702 to perform the following operations:

[0103] After the atomic component is started, the information to be presented is displayed using the display control of the atomic component.

[0104] In one or more embodiments, program 410 may specifically be used to cause processor 402 to perform the following operations:

[0105] Receive user operation requests for the display controls of the atomic components as a startup request for the application;

[0106] After the application is launched at an accelerated speed, the application is used to respond to the operation request.

[0107] In one or more embodiments, program 710 may specifically be used to cause processor 702 to perform the following operations:

[0108] Receive user requests to interact with the application's icon, which are then used as a launch request for the application.

[0109] In one or more embodiments, program 710 may specifically be used to cause processor 702 to perform the following operations:

[0110] After the application is launched using the accelerated method, the application loads the fetched information to be presented.

[0111] In one or more embodiments, program 710 may specifically be used to cause processor 702 to perform the following operations:

[0112] After initializing the first set of initialization items used to support the operation of the atomic components, a background thread activated by the initialization process receives push messages sent by the server.

[0113] In one or more embodiments, program 710 may specifically be used to cause processor 702 to perform the following operations:

[0114] After initializing the first part of the initialization items used to support the operation of the atomic components, it is determined whether the reclamation conditions are met based on memory usage.

[0115] If so, the first part of the initialization items will be recycled.

[0116] This invention provides a non-volatile computer storage medium storing at least one executable instruction that can execute the application startup acceleration method in any of the above method embodiments.

[0117] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the content of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0118] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0119] Similarly, it should be understood that, in order to simplify the invention and aid in understanding one or more of the various inventive aspects, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0120] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0121] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0122] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such programs implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0123] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A method for accelerating the startup of an application, the method comprising: During the startup process of the atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application; wherein, several interfaces are set on the view interface of the atomic component, the atomic component is deployed, the click data of the atomic component or the information input through the set interface is obtained, the information input by the user is received through the interface and passed through to the application corresponding to the atomic component, and the application is used to upload the information to the server in a timely manner. The system receives the application's startup request and initializes the second part of the application's initialization items to accelerate the application's startup. The first and second parts of the initialization items support the application's operation. The second part of the initialization items is the remaining initialization items after subtracting the first part from the complete initialization items for the application's startup. The first part of the initialization items includes: registering some application-level broadcasts, initializing the deployment system, initializing the advertising program development kit, initializing the computing device account program development kit, initializing device information, starting and initializing the database, initializing the task distribution system, initializing the network framework, initializing the information acquisition paths for some functions in the application, initializing plugin configuration items, and initializing the main page bottom display control configuration items. In this case, after the information is displayed through the atomic component, even if the atomic component is no longer displayed on the desktop, or the thread of the corresponding functional component of the atomic component has been closed, as long as the other initialization items in the first part still exist, the user can still use the first initialization items to accelerate the startup if they want to enter the application through the application icon.

2. The method according to claim 1, characterized in that, The method further includes: After the atomic component is started, the information to be presented is displayed using the display control of the atomic component.

3. The method according to claim 2, characterized in that, Receiving the application's launch request further includes: receiving a user's operation request for the display control of the atomic component as the application's launch request; After accelerating the launch of the application, the method further includes: utilizing the application to respond to the operation request.

4. The method according to claim 1, characterized in that, Receiving the application's launch request further includes: Receive user requests to interact with the application's icon, which are then used as a launch request for the application.

5. The method according to any one of claims 1-4, characterized in that, After accelerating the launch of the application, the method further includes: The application loads the retrieved information to be presented.

6. The method according to any one of claims 1-4, characterized in that, After initializing the first portion of the initialization items used to support the operation of the atomic component, the method further includes: The background thread activated by the initialization process receives push messages sent by the server.

7. The method according to any one of claims 1-4, characterized in that, After initializing the first portion of the initialization items used to support the operation of the atomic component, the method further includes: Determine whether the conditions for memory reclamation are met based on memory usage; If so, the first part of the initialization items will be recycled.

8. A computing device, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the following operations: During the startup process of the atomic component, the first part of the initialization items used to support the operation of the atomic component are initialized; wherein, the atomic component is used to pull information to be presented through the application; wherein, several interfaces are set on the view interface of the atomic component, the atomic component is deployed, the click data of the atomic component or the information input through the set interface is obtained, the information input by the user is received through the interface and passed through to the application corresponding to the atomic component, and the application is used to upload the information to the server in a timely manner. The system receives the application's startup request and initializes the second part of the application's initialization items to accelerate the application's startup. The first and second parts of the initialization items support the application's operation. The second part of the initialization items is the remaining initialization items after subtracting the first part from the complete initialization items for the application's startup. The first part of the initialization items includes: registering some application-level broadcasts, initializing the deployment system, initializing the advertising program development kit, initializing the computing device account program development kit, initializing device information, starting and initializing the database, initializing the task distribution system, initializing the network framework, initializing the information acquisition paths for some functions in the application, initializing plugin configuration items, and initializing the main page bottom display control configuration items. In this case, after the information is displayed through the atomic component, even if the atomic component is no longer displayed on the desktop, or the thread of the corresponding functional component of the atomic component has been closed, as long as the other initialization items in the first part still exist, the user can still use the first initialization items to accelerate the startup if they want to enter the application through the application icon.

9. The computing device of claim 8, wherein the executable instructions cause the processor to perform the following operations: After the atomic component is started, the information to be presented is displayed using the display control of the atomic component.

10. The computing device of claim 9, wherein the executable instructions cause the processor to perform the following operations: Receive user operation requests for the display controls of the atomic components as a startup request for the application; After the application is launched at an accelerated speed, the application is used to respond to the operation request.

11. The computing device of claim 8, wherein the executable instructions cause the processor to perform the following operations: Receive user requests to interact with the application's icon, which are then used as a launch request for the application.

12. The computing device according to any one of claims 8-11, wherein the executable instructions cause the processor to perform the following operations: After the application is launched using the accelerated method, the application loads the fetched information to be presented.

13. The computing device according to any one of claims 8-11, wherein the executable instructions cause the processor to perform the following operations: After initializing the first set of initialization items used to support the operation of the atomic components, a background thread activated by the initialization process receives push messages sent by the server.

14. The computing device according to any one of claims 8-11, wherein the executable instructions cause the processor to perform the following operations: After initializing the first part of the initialization items used to support the operation of the atomic components, it is determined whether the reclamation conditions are met based on memory usage. If so, the first part of the initialization items will be recycled.

15. A computer storage medium storing at least one executable instruction that causes a processor to perform an operation corresponding to the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Application starting method, terminal and computer storage medium

    CN111857871A

  • Application program starting method, computer equipment and storage medium

    CN112506626A