Application program starting method, computer equipment, storage medium and product

By predicting the list of applications and preloading resources in memory, the problem of slow application startup speed is solved, which improves response efficiency and reduces memory usage, thereby improving system performance.

CN121636069APending Publication Date: 2026-03-10ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, the application startup speed is slow, which leads to increased system resource consumption and affects the overall system performance.

Method used

By predicting the list of applications, a list of resources to be loaded is obtained, and resources are preloaded in memory. The target application is launched only after a launch operation is received.

Benefits of technology

It improves application responsiveness and startup speed while reducing memory usage and enhancing overall system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636069A_ABST
    Figure CN121636069A_ABST
Patent Text Reader

Abstract

The invention relates to an application program starting method, computer equipment, a storage medium and a product, and relates to the technical field of computers. The method comprises the following steps: predicting an application program list; obtaining a to-be-loaded resource list corresponding to each to-be-started application program in the application program list, wherein the to-be-loaded resource list comprises a first resource file of the to-be-started application program; the first resource file is a resource file meeting a preloading condition in resource files corresponding to the application program; performing resource preloading in a memory based on the to-be-loaded resource list corresponding to each to-be-started application program; and after a starting operation on any target application program in the application program list is received, starting the target application program based on a first resource file of the target application program preloaded in the memory. By means of the method, the response efficiency of the application program and the starting speed of the application program can be improved, meanwhile, excessive occupation of a memory can be reduced, and therefore the overall performance of a system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an application startup method, computer device, storage medium, and product. Background Technology

[0002] Currently, applications installed on terminals require more and more system resources, and the startup speed of applications slows down as the required resources increase, resulting in slower application response speeds.

[0003] In related technologies, to improve application response speed, the entire application is typically pre-started. After startup, the application is placed in the background with lower priority to improve its responsiveness when selected, thus enhancing the user experience. However, this approach requires allocating more memory space for already started applications. As the number of applications running in the background increases, memory consumption also increases, leading to a reduction in available system resources and impacting overall system performance. Summary of the Invention

[0004] This application provides an application startup method, a computer device, a storage medium, and a product, which can improve application response efficiency and startup speed while reducing excessive memory usage, thereby improving overall system performance. The technical solution is as follows:

[0005] On the one hand, an application launch method is provided, the method including:

[0006] Predict a list of applications, which contains at least one application to be launched;

[0007] Obtain the list of resources to be loaded corresponding to each application to be launched in the application list. The list of resources to be loaded includes the first resource file of the application to be launched. The first resource file is a resource file in the resource file corresponding to the application that meets the preloading conditions.

[0008] Resources are preloaded in memory based on the list of resources to be loaded for each application to be launched.

[0009] Upon receiving a launch operation for the target application, the target application is launched based on the first resource file of the target application preloaded in memory; the target application is any application in the application list.

[0010] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the above-described application launch method.

[0011] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer program, which is loaded and executed by a processor to implement the above-described application startup method.

[0012] On the other hand, a computer program product is provided, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to execute to implement the application launch method provided in the various optional implementations described above.

[0013] The application startup method provided in this application provides a method for predicting an application list, which includes at least one application to be launched. It then obtains a list of resources to be loaded for each application to be launched, which includes a first resource file in the application that meets the preloading conditions. Resources are preloaded in memory based on the resource lists of each application to be launched. When an application with preloaded first resource files receives a startup operation, it can start the application based on the preloaded first resource files. By preloading some resources of the predicted applications to be launched into memory, the amount of resources required to start the application after receiving a startup operation can be reduced, thereby improving the application's response efficiency. Simultaneously, it can also reduce excessive memory resource consumption and improve the overall system performance.

[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0016] Figure 1 A flowchart of an application startup method provided in an exemplary embodiment of this application is shown;

[0017] Figure 2 A schematic diagram of the system architecture of a computer device provided in an exemplary embodiment of this application is shown;

[0018] Figure 3A flowchart of an application startup method provided in an exemplary embodiment of this application is shown;

[0019] Figure 4 A schematic diagram of an application determination process provided in an exemplary embodiment of this application is shown;

[0020] Figure 5 This illustration shows a schematic diagram of updating the list of resources to be loaded based on the application lifecycle, provided in an exemplary embodiment of this application.

[0021] Figure 6 This illustration shows a schematic diagram of the preloading determination process performed by the preloading system provided in an exemplary embodiment of this application;

[0022] Figure 7 A structural block diagram of a computer device illustrated in an exemplary embodiment of this application is shown;

[0023] Figure 8 A structural block diagram of a computer device illustrated in an exemplary embodiment of this application is shown. Detailed Implementation

[0024] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0025] During application startup, some necessary library files, images, and other resources are loaded. If these resource files are numerous or large, the read and write operations during startup will be time-consuming, leading to a longer application startup time. If some time-consuming or necessary resources are pre-read / loaded into memory before the application is opened and used, the total resource loading time can be reduced when the application is officially started, based on the pre-read / loaded resources, thereby improving the application startup efficiency. Figure 1 This application illustrates a flowchart of an exemplary embodiment of an application launch method, which can be executed by a computer device, such as a server or a terminal. Figure 1 As shown, the application launch method may include the following steps:

[0026] Step 110: Predict the application list, which contains at least one application to be launched.

[0027] In one possible implementation, the computer device can predict the types of applications that need to be launched in advance and the timing of preloading to obtain a list of such applications; that is, the predicted list of applications includes a preloading timing for each application to be launched.

[0028] Step 120: Obtain the list of resources to be loaded for each application to be launched in the application list. The list of resources to be loaded contains the first resource file of the application to be launched. The first resource file is the resource file in the resource file corresponding to the application that meets the preloading conditions.

[0029] Each application to be launched in the application list has its own corresponding list of resources to be loaded. The first resource file that meets the preloading conditions is a part of the total resource files of the corresponding application. The preloading conditions can be set based on attributes such as the size, access frequency and importance of the resource file. The preloading conditions are used to filter out the bottleneck resources of the application.

[0030] Step 130: Preload resources in memory based on the list of resources to be loaded for each application to be launched.

[0031] In one possible implementation, the computer device can obtain and preload the corresponding resource files into system memory based on the list of resources to be loaded for each application to be launched; further, the computer device can preload the resource files indicated by the list of resources to be loaded into system memory based on the preloading timing corresponding to the application to be launched. This system memory can refer to Page Cache memory.

[0032] In one possible implementation, the computer device releases the resource files of the application to be launched that are preloaded in memory when the preloading time for a certain application to be launched is determined to be completed, so as to reduce the occupation of memory resources.

[0033] Step 140: Upon receiving a launch operation for the target application, launch the target application based on the first resource file of the target application preloaded in memory; the target application is any application in the application list.

[0034] By preloading some resources of the target application, the system can avoid reloading the preloaded resources when the user starts the target application, thus saving the loading time of this part of the resources and improving the startup efficiency of the application.

[0035] In the above process, only a portion of the application's resources are loaded into memory. The preloading process does not start the application; it only performs dynamic resource loading and unloading in memory. Compared to related technologies that pre-start the entire application, the solution provided in this application avoids the problem of excessive memory resource consumption caused by pre-starting too many applications. Furthermore, after loading some resources into memory, since the read / write rate of resources in the memory region is usually much higher than the read / write rate of resources in the Flash storage device, preloading some application resources into memory can reduce the time consumption required for resource access. This allows the solution provided in this application to improve application response efficiency while reducing excessive memory usage, thereby improving the overall performance of the system.

[0036] In summary, the application startup method provided in this application provides a method that predicts an application list containing at least one application to be launched, obtains a list of resources to be loaded for each application to be launched, and includes a first resource file in the application that meets the preloading conditions. Resources are preloaded in memory based on the resource lists of each application to be launched. When an application with preloaded first resource files receives a startup operation, it can start the program based on the preloaded first resource files. By preloading some resources of the predicted applications to be launched into memory, the amount of resources required to start the application after receiving a startup operation can be reduced, thereby improving the application's response efficiency and startup speed. Simultaneously, it can also reduce excessive memory resource consumption and improve the overall system performance.

[0037] In this embodiment, the computer device may include a prediction system, a resource management system, and a preloading system. The computer device implements the application startup method based on the above-mentioned systems. Figure 2 A schematic diagram of the system architecture of a computer device provided in an exemplary embodiment of this application is shown, such as... Figure 2 As shown, the computer device includes a prediction system 210, a resource management system 220, and a preloading system 230;

[0038] The prediction system 210 can be an artificial intelligence (AI) prediction system. The prediction system 210 is used to predict the user's application list, that is, to predict one or more applications that the user is most likely to open next. After the prediction system 210 predicts the application list, it sends the application list to the preloading system 230, which performs a resource preloading process based on the application list.

[0039] The resource management system 220 is used to monitor and manage the resource files of each application in real time in the background, and to determine the list of resources to be loaded for each application and manage the list of resources to be loaded. The resource management system 220 provides the determined list of resources to be loaded for each application to the preloading system 230. The preloading system 230 preloads the resource files of the applications in the application list based on the list of resources to be loaded for each application.

[0040] The preloading system 230 loads the resource files in the application's resource list into memory before the application is officially started, provided that the application list predicted by the prediction system 210 is not empty and the corresponding application's resource list provided by the resource management system 220 is also not empty. This reduces startup time and improves startup speed when the application is officially opened and used.

[0041] In one possible implementation, the preloading system 230 may also send resource update instructions to the resource management system 220, for example, by periodically sending resource update instructions, or by sending resource update instructions after receiving the application list sent by the prediction system 210, to determine that the list of resources to be loaded for the application to be launched is up-to-date and adapted to the application to be launched.

[0042] Based on such Figure 2 The system architecture of the computer device shown is as follows. Figure 3 This application illustrates a flowchart of an exemplary embodiment of an application launch method, which can be executed by a computer device, such as a server or a terminal. Figure 3 As shown, the application launch method may include the following steps:

[0043] Step 310: Predict the application list, which contains at least one application to be launched.

[0044] In this embodiment of the application, the computer device predicts a list of applications through a prediction system. This list may include applications that the user is predicted to launch, i.e., applications to be launched.

[0045] In one possible implementation, when predicting the application list, for capacitive touchscreen devices, since the working principle of capacitive touchscreens is to determine the touch position by detecting the capacitance change between the user's finger and the screen, the capacitance value on the touchscreen is stable when no finger is touching or near the touchscreen. The closer the user's finger is to the touchscreen, the greater the capacitance between the user's finger and the screen. The computer device can predict the touch position that the user may operate based on the capacitance change between the user's finger and the screen. That is, before the user's finger touches the touchscreen, the touch position is predicted based on the capacitance change between the user's finger and the touchscreen, and then the application corresponding to the touch position is predicted as the application to be launched. This process can be implemented as follows:

[0046] Acquire capacitance information between the user's finger and the touchscreen;

[0047] Predict the touch position of the user's finger on the touchscreen based on capacitance information;

[0048] Add the application corresponding to the touch location to the application list.

[0049] During this process, even if the user's finger has not yet touched the touchscreen, the computer device can predict the touch position by using the touchscreen controller based on the change in capacitance information between the user's finger and the touchscreen. This allows the device to capture the position the user is about to click in advance, and then determine the application to be launched based on the coordinate layout of each application in the Launcher (main screen application). In other words, it determines the application to be launched and adds it to the application list.

[0050] In one possible implementation, the computer device can identify the application closest to the touch location as the application to be launched; alternatively, in another possible implementation, the computer device can identify multiple applications near the touch location as applications to be launched after predicting the touch location; wherein, the applications near the touch location can refer to the applications closest to the touch location in each direction centered on the touch location. Figure 4 The illustration shows a schematic diagram of an application determination process provided in an exemplary embodiment of this application, such as... Figure 4 As shown, if the touch position 410 is predicted based on the capacitance information between the user's finger and the touch screen, the computer device can determine the application 420 closest to the touch position 410 as the application to be launched. Alternatively, the computer device can also determine the applications 430 closest to the touch position 410 in each direction around the touch position 410 as the applications to be launched.

[0051] In another possible implementation, the computer device can predict the user's likely next action based on the user's historical behavior data, thereby determining the application to launch; this process can be implemented as follows:

[0052] Obtain the user's historical behavior data; this historical behavior data includes historical time periods and historical application launch behavior information;

[0053] Statistical results are obtained by analyzing user behavior patterns based on historical behavioral data.

[0054] List of predictive applications based on statistical results.

[0055] When conducting user behavior pattern statistics, on one hand, computer devices can determine the primary correlation between application launch behavior and time periods based on historical behavior data. Specifically, if historical behavior data determines that a user consistently launches a certain application within a fixed time period, then a correlation is established between the application launch behavior and that time period. For example, if historical behavior data shows that a user opens the first application at 9 PM for 10 consecutive days, then a primary correlation can be established between 9 PM and launching the first application, allowing the first application to be added to the application list for a period before 9 PM thereafter. The division of time periods can be set according to needs, such as dividing a time period into 10-minute intervals, or 5-minute intervals, etc., and this application does not impose any restrictions on this.

[0056] On the other hand, computer devices can determine a second correlation between the startup behaviors of various programs based on historical behavior data; wherein, if it is determined based on historical behavior data that the proportion of a user launching a second application after launching a first application exceeds a certain threshold, then a correlation is determined between launching the first application and launching the second application; illustratively, if a user opens application 1 10 times and the next application opened is application 2 more than 8 times, then application 2 can be added to the application list as a program to be launched after exiting application 1.

[0057] Step 320: Obtain the list of resources to be loaded for each application to be launched in the application list. The list of resources to be loaded contains the first resource file of the application to be launched. The first resource file is the resource file in the resource file corresponding to the application that meets the preloading conditions.

[0058] In this embodiment of the application, the computer device can manage the list of resources to be loaded for each application in the resource management system, and thus, in the preloading scenario, obtain the list of resources to be loaded for each application to be launched in the application list.

[0059] In this embodiment of the application, the computer device determines resource files that meet the preloading conditions of the application as first resource files and adds them to the list of resources to be loaded, wherein the preloading conditions include at least one of the following:

[0060] The file size of the resource file is greater than the first file size threshold;

[0061] The number of times the resource file was accessed exceeded the threshold for the first access;

[0062] The number of times the historical read / write operation rate of the resource file exceeds the rate threshold exceeds the second threshold; this rate threshold is determined based on the average read / write operation rate of the corresponding resource file.

[0063] The values ​​of each threshold can be set based on actual needs, and this application does not impose any restrictions on them. The aforementioned preloading conditions can be applied at different times:

[0064] First, when the resource management system starts for the first time, kernel tracing technology can be used to count all files accessed during the startup process of each application. Based on a first file size threshold, resource files with larger file sizes can be selected, or resource files with more accesses can be selected based on a first number threshold. The number of accesses to a resource file can be the number of times the resource file is accessed during a single application startup. These resource files are then used as the first resource files of the corresponding application and added to the list of resources to be loaded.

[0065] Afterwards, the resource management system can maintain the list of resources to be loaded. That is, when the application's historical data reaches a certain amount, the resource management system can count the historical read and write rates of each resource file and determine the rate threshold. Then, the resource file whose historical read and write operation rate exceeds the rate threshold more than the second threshold is regarded as the first resource file of the corresponding application and added to the list of resources to be loaded.

[0066] When performing read / write operation rate statistics, the resource management system can use I / O (Input / Output) performance monitoring tools or techniques to determine the time consumed by reading or writing a specific resource file. For example, these monitoring tools could be eBPF (Extended Berkeley Packet Filter) I / O performance monitoring tools such as vfsstat, filetop, and fsslowe. At the VFS (Virtual File System) / FileSystem level, timestamps are added at the start and end times of file read / write operations, and the time difference is calculated to determine the time consumed by the read / write operation. By collecting statistics on the time and number of read / write operations of each resource file during application startup, the resource management system can calculate the read / write operation rate of each resource file during that startup process. Combined with historical read / write operation rates from the history records, and using an average management algorithm, the average read / write operation rate of each resource file can be calculated. If the current read / write operation rate exceeds a rate threshold determined based on the average read / write operation rate, the current read / write operation rate is determined to be slow, and the count is incremented by one. This operation rate can be equal to the average read / write operation rate, or it can be a multiple of the average read / write operation rate. This multiple can be set based on actual needs, for example, it can be 0.9, or it can be 1.3, etc. This application does not impose any restrictions on this. If the number of times the resource file's read / write rate is determined to be slow exceeds a second count threshold, then the resource file is determined to need to be preloaded, and the resource file is added to the list of resources to be loaded.

[0067] Furthermore, as an application's lifecycle changes, its resource requirements may also change. Therefore, in order to keep the list of resources to be loaded consistent with the application, computer devices can monitor the application's lifecycle through a resource management system. This application lifecycle includes installation, updates, and uninstallation.

[0068] Update the first resource file in the target application's list of resources to be loaded based on changes in the application's lifecycle.

[0069] By updating the list of resources to be loaded as the application lifecycle changes, the target application can be started with the updated list of resources to be loaded. This ensures the matching between the preloaded resources and the target resources, thereby improving the application startup efficiency.

[0070] As an illustration, when an application is updated or upgraded, the resource files previously added to the application's list of resources to be loaded may no longer exist or may have changed in size. Therefore, the computer device can delete the resource files from the application's list of resources to be loaded, and then filter the resource files of the new version of the application based on the above preloading conditions, adding the new first resource file selected to the list of resources to be loaded.

[0071] When an application is uninstalled, its resource files become invalid. Therefore, there is no need to maintain a list of resources to be loaded for that application, and the computer device can delete that list.

[0072] Figure 5 This illustration shows a schematic diagram of updating the list of resources to be loaded based on the application lifecycle, as provided in an exemplary embodiment of this application. Figure 5 As shown, the process includes:

[0073] S501, the resource management system monitors the lifecycle status of applications;

[0074] S502: Determine if a new application has been installed. If so, execute S507; otherwise, do nothing.

[0075] S503: Determine whether to update the application. If yes, execute S504; otherwise, do not perform any operation.

[0076] S504, delete the original resource files from the application's list of resources to be loaded, and then execute S507;

[0077] S505: Determine whether to delete the application. If yes, proceed to S506; otherwise, do nothing.

[0078] S506, Remove the application's list of resources to be loaded;

[0079] S507, retrieves all resource files during the application startup process;

[0080] S508 filters out the larger resource files and the resource files with the most accesses;

[0081] S509, added to the list of resources to be loaded for this application.

[0082] Step 330: If the memory resource utilization rate is determined to be less than the maximum utilization rate threshold, preload resources in memory based on the list of resources to be loaded for each application to be started.

[0083] Before preloading resources, the system performance environment must be considered. If the current system performance environment is poor, it will affect the normal operation of applications in the system. Therefore, before preloading resources, the system's memory resource utilization rate needs to be judged. If the resource utilization rate is less than the maximum utilization rate threshold, it is determined that the memory resources are relatively sufficient, and the resource preloading process is carried out under this condition.

[0084] If the memory resource utilization rate is determined to be greater than or equal to the maximum utilization rate threshold, the resource preloading process is not performed; furthermore, if there are already preloaded resource files and the memory resource utilization rate is determined to be greater than or equal to the maximum utilization rate threshold, the memory resources occupied by the already preloaded resource files are released.

[0085] Furthermore, after the prediction system predicts the application most likely to be launched next (i.e., the application to be launched), if the application to be launched is already running in the background, there is no need to preload resources; if the total resource file of the application to be launched is small, the launch speed is also fast without preloading, so there is no need to preload resources. Therefore, this application provides a whitelist mechanism, in which the computer device preloads resources in memory based on the list of resources to be loaded for the target application when it determines that the target application is in the whitelist.

[0086] Specifically, if the target application is not running in the background and the total file size of the target application's resource files is greater than or equal to the second file size threshold, the target application is determined to be in the whitelist.

[0087] Figure 6 This illustration shows a schematic diagram of the preloading determination process performed by the preloading system provided in an exemplary embodiment of this application, such as... Figure 6 As shown, the process includes:

[0088] S601, The preloading system receives the application list sent by the prediction system;

[0089] S602, determine if there is a next program in the application list; if yes, execute S603; otherwise, end the determination process.

[0090] S603, determine if the system memory is sufficient; if yes, execute S605; otherwise, execute S604.

[0091] S604, release the loaded resource files;

[0092] S605: Determine whether the extracted application is in the whitelist. If so, execute S606; otherwise, do not preload.

[0093] S606, preloads resources in memory based on the application's list of resources to be loaded.

[0094] Step 340: Upon receiving a launch operation for the target application, launch the target application based on the first resource file of the target application preloaded in memory; the target application is any application in the application list.

[0095] In summary, the application startup method provided in this application provides a method that predicts an application list containing at least one application to be launched, obtains a list of resources to be loaded for each application to be launched, and includes a first resource file in the application that meets the preloading conditions. Resources are preloaded in memory based on the resource lists of each application to be launched. When an application with preloaded first resource files receives a startup operation, it can start the application based on the preloaded first resource files. By preloading some resources of the predicted applications to be launched into memory, the amount of resources required to start the application after receiving a startup operation can be reduced, thereby improving the application's response efficiency and startup speed. Simultaneously, it can also reduce excessive memory resource consumption and improve the overall system performance.

[0096] In addition, before resource preloading, it is determined whether the application to be launched is in the whitelist. If it is in the whitelist, the corresponding resource preloading operation is performed; otherwise, resource preloading is not performed to avoid the impact of resource preloading on the overall system performance and ensure system stability.

[0097] Figure 7 A structural block diagram of a computer device 700 illustrated in an exemplary embodiment of this application is shown. This computer device can be implemented as a server as described above in this application. The computer device 700 includes a processor (e.g., a central processing unit (CPU)) 701, a system memory 704 including random access memory (RAM) 702 and read-only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the processor 701.

[0098] The computer device 700 also includes a mass storage device 706 for storing an operating system 709, application programs 710, and other program modules 711. Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage media are not limited to the above-mentioned types. The system memory 704 and mass storage device 706 described above can be collectively referred to as memory.

[0099] According to various embodiments of this application, the computer device 700 can also be connected to a remote computer on a network, such as the Internet. That is, the computer device 700 can be connected to a network 708 via a network interface unit 707 connected to the system bus 705, or it can use the network interface unit 707 to connect to other types of networks or remote computer systems (not shown).

[0100] The memory also stores at least one computer program, which the processor 701 executes to implement all or part of the steps in the application startup method shown in the above embodiments.

[0101] Figure 8A structural block diagram of a computer device 800 illustrated in an exemplary embodiment of this application is shown. The computer device 800 can be implemented as the aforementioned terminal. For example, the computer device can be an Android terminal device; typically, the computer device 800 includes a processor 801 and a memory 802. The memory 802 may include one or more computer-readable storage media for storing at least one instruction, which is executed by the processor 801 to implement all or part of the steps in the data processing result verification method shown in the method embodiments of this application. In some embodiments, the computer device 800 may also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, memory 802, and peripheral device interface 803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 808. In some embodiments, the computer device 800 also includes one or more sensors 809. The one or more sensors 809 include, but are not limited to: an accelerometer 810, a gyroscope 811, a pressure sensor 812, an optical sensor 813, and a proximity sensor 814. Those skilled in the art will understand that... Figure 8 The structure shown does not constitute a limitation on the computer device 800, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0102] In one exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor to implement all or part of the steps in the application startup method described above. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.

[0103] In one exemplary embodiment, a computer program product is also provided, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the above-described actions. Figure 1 or Figure 3 All or part of the steps of the embodiments shown in any of the embodiments.

[0104] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.

[0105] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. An application program startup method characterized by comprising: The method comprises: predicting an application program list, the application program list comprising at least one application program to be started; obtaining a to-be-loaded resource list corresponding to each application program to be started in the application program list, the to-be-loaded resource list comprising a first resource file of the application program to be started; the first resource file is a resource file of the application program corresponding to a preloading condition; performing resource preloading in a memory based on the to-be-loaded resource list corresponding to each application program to be started; starting a target application program based on the first resource file of the target application program preloaded in the memory after receiving a starting operation on the target application program; the target application program is any one of the application programs in the application program list.

2. The method of claim 1, wherein, The predicted application program list comprises: obtaining capacitance information between a user's finger and a touch screen; predicting a touch position of the user's finger on the touch screen based on the capacitance information; adding an application program corresponding to the touch position to the application program list.

3. The method of claim 1, wherein, The predicted application program list comprises: obtaining historical behavior data of a user; the historical behavior data comprises a historical time period and historical application program starting behavior information; performing user behavior regularity statistics based on the historical behavior data to obtain a statistical result; predicting the application program list based on the statistical result.

4. The method of claim 3, wherein, The performing user behavior regularity statistics based on the historical behavior data to obtain a statistical result comprises: determining a first association relationship between an application program starting behavior and a time period based on the historical behavior data; or determining a second association relationship between each application program starting behavior based on the historical behavior data.

5. The method of claim 1, wherein, The preloading condition comprises at least one of the following: a file size of a resource file is greater than a first file size threshold; an access frequency of a resource file is greater than a first frequency threshold; a number of times that a historical read-write operation rate of a resource file exceeds a rate threshold is greater than a second frequency threshold; the rate threshold is determined based on an average read-write operation rate of the corresponding resource file.

6. The method of claim 1, wherein, The method further comprises: monitoring an application life cycle of the target application program; the application life cycle comprises installation, update, and uninstallation; updating the first resource file in the to-be-loaded resource list of the target application program based on a change in the application life cycle of the target application program.

7. The method of claim 1, wherein, The performing resource preloading in a memory based on the to-be-loaded resource list corresponding to each application program to be started comprises: performing resource preloading in the memory based on the to-be-loaded resource list of the target application program in a case where it is determined that the target application program is in a whitelist.

8. The method of claim 7, wherein, The method further comprises: determining that the target application program is in the whitelist in a case where the target application program is not in a background running state and a file size of total resource files of the target application program is greater than or equal to a second file size threshold.

9. The method of claim 1, wherein, The performing resource preloading in a memory based on the to-be-loaded resource list corresponding to each application program to be started comprises: In a case where it is determined that the resource usage of the memory is less than the highest usage threshold, preloading resources in the memory based on a to-be-loaded resource list corresponding to each to-be-started application.

10. The method of claim 9, wherein, The method further includes: In a case where it is determined that the resource usage of the memory is greater than or equal to the highest usage threshold, releasing the memory resources occupied by the preloaded resource files.

11. A computer device, comprising: The computer device includes a processor and a memory, and the memory stores at least one computer program, which is loaded and executed by the processor to implement the application program starting method according to any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores at least one computer program, which is loaded and executed by the processor to implement the application program starting method according to any one of claims 1 to 10.

13. A computer program product, characterised in that, The computer program product includes a computer program stored on a non-transitory computer readable storage medium, and the computer program includes program instructions, which, when executed by a computer, cause the computer to perform the application program starting method according to any one of claims 1 to 10.