CN112527407A - Application starting method, terminal and computer readable storage medium - Google Patents

Application starting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112527407A
CN112527407A CN202011420083.1A CN202011420083A CN112527407A CN 112527407 A CN112527407 A CN 112527407A CN 202011420083 A CN202011420083 A CN 202011420083A CN 112527407 A CN112527407 A CN 112527407A
Authority
CN
China
Prior art keywords
application
loaded
loading
memory
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011420083.1A
Other languages
Chinese (zh)
Other versions
CN112527407B (en
Inventor
范思越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202011420083.1A priority Critical patent/CN112527407B/en
Publication of CN112527407A publication Critical patent/CN112527407A/en
Application granted granted Critical
Publication of CN112527407B publication Critical patent/CN112527407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application starting method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring an application priority list and a system operation memory threshold; judging whether the current system environment meets the condition of loading the application or not according to the system operation memory threshold value; when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list; and acquiring application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources. The method and the device determine whether the current system environment meets the condition of loading the application by acquiring the system operation memory threshold, select the application with high priority from the application priority list when the condition is met, and load the application and the function commonly used by the user into the memory under the condition of ensuring the normal use of the terminal, thereby accelerating the starting speed of the commonly used application and the function of the user.

Description

Application starting method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal applications, and in particular, to an application starting method, a terminal, and a computer-readable storage medium.
Background
With the development of artificial intelligence technology, consumer electronics products such as smart televisions, smart mobile devices, and smart wearable devices are increasingly popularized, and diversified, intelligent, and multi-scene functions and services are provided for people.
However, limited by the application scenario and body size, such electronic products need to configure limited system resources, such as: the configured Flash and DDR resources are limited; moreover, as more applications and services are installed and needed, the memory resource of the system meets the requirements of more applications and services, so that the speed of starting the application or system functions is slower and slower, and the use experience of the user is greatly influenced.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide an application starting method, a terminal and a computer readable storage medium to solve the technical problem of slow application starting in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, the present invention provides an application starting method, where the application starting method includes the following steps:
acquiring an application priority list and a system operation memory threshold;
judging whether the current system environment meets the condition of loading the application or not according to the system operation memory threshold value;
when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list;
and acquiring application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources.
In one embodiment, the obtaining the application priority list and the system operating memory threshold previously includes:
acquiring user use data, and generating the application priority list according to the user use data; wherein the user usage data comprises: the method comprises the following steps of (1) applying a name, application using times and an application memory occupation value; the priority in the application priority list corresponds to the number of times the application is used.
In one embodiment, the obtaining the application priority list and the system operating memory threshold further includes:
acquiring input threshold data, and setting a system operation memory threshold according to the threshold data.
In an embodiment, the determining whether the current system environment meets the condition for loading the application according to the system running memory threshold specifically includes:
acquiring a current idle memory value of a system;
calculating a residual memory value according to the current idle memory value of the system and the system operation memory threshold value;
and judging whether the current system environment meets the condition of loading the application or not according to the residual memory value.
In an embodiment, the determining whether the current system environment meets the condition for loading the application according to the remaining memory value specifically includes:
judging whether the residual memory value is larger than a preset value or not;
when the residual memory value is larger than the preset value, judging that the current system environment meets the condition of loading application;
and when the residual memory value is less than or equal to the preset value, judging that the current system environment does not meet the condition of loading the application.
In an embodiment, when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list specifically includes:
when the current system environment meets the conditions for loading the applications, sequentially judging whether the applications which are not loaded in the application priority list meet the loaded conditions or not according to the priority;
and when the application which is not loaded in the application priority list meets the loaded condition, selecting the application which meets the loaded condition as the application to be loaded.
In an embodiment, the obtaining of the application resource corresponding to the application to be loaded and loading the application to be loaded according to the application resource specifically include:
acquiring application resources corresponding to the application to be loaded;
loading the application to be loaded according to the application resources;
and identifying that the application to be loaded is loaded into the memory in the application priority list, and updating a system idle memory value.
In an embodiment, the obtaining of the application resource corresponding to the application to be loaded and loading the application to be loaded according to the application resource further include:
monitoring the current idle memory value of the system in real time, and judging whether the current idle memory value is increased or not;
when the current free memory value is increased, determining the application to be loaded according to the current system environment and the application priority list;
and loading the determined application to be loaded and updating the idle memory value of the system.
In a second aspect, the present invention further provides a terminal, including: a processor and a memory, the memory storing an application start-up program, the application start-up program when executed by the processor for implementing the application start-up method according to the first aspect.
In a third aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores an application start program, and the application start program is used for implementing the application start method according to the first aspect when executed by a processor.
The invention adopts the technical scheme and has the following effects:
the method and the device determine whether the current system environment meets the condition of loading the application by acquiring the system operation memory threshold, select the application with high priority from the application priority list when the condition is met, and load the application and the function commonly used by the user into the memory under the condition of ensuring the normal use of the terminal, thereby accelerating the starting speed of the commonly used application and the function of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flow chart of an application startup method in one implementation of the invention.
FIG. 2 is a flow diagram of application loading during an initialization phase in one implementation of the invention.
FIG. 3 is a flow diagram of application loading during normal operation in one implementation of the invention.
FIG. 4 is a flow diagram of application priority updating in one implementation of the invention.
Fig. 5 is a functional schematic of a terminal in one implementation of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Most of the existing intelligent devices can provide more functions so as to meet the use requirements of users in different application scenes or meet the requirements of users with different preferences; however, the hardware resources of the device are limited, and all applications and services cannot be loaded while the use requirements or preference requirements of the user are met.
The inventor provides an application starting method aiming at the problems, the application starting method is applied to a terminal, a user common use scene is known through learning user use habits, starting speeds of related applications and services are improved aiming at real application requirements or common functions of the user, the current situation that intelligent equipment is used more and more slowly at present is changed, and use experience of the applications and the services is improved.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides an application starting method, where the application starting method is applied to a terminal, where the terminal includes, but is not limited to: electronic equipment such as a mobile terminal, a smart television and wearable equipment, wherein the application starting method comprises the following steps:
step S100, an application priority list and a system operation memory threshold are obtained.
In this embodiment, the user usage data needs to be obtained in the local database of the terminal to determine the usage preference of the user according to the user usage data. Wherein the user usage data comprises: the method comprises the following steps of (1) applying a name, application using times and an application memory occupation value; the priority in the application priority list corresponds to the number of times the application is used.
Specifically, before recording the user use data, a use log can be established in a local database of the terminal, so as to record the applications and functions used by the user in the daily use process through the use log; when the use condition of the application and the function is recorded, the use state of each application and function can be monitored, and when the application and the function are in the starting state, the application name and the occupied system memory size are recorded through the use log, and the use times of the application are accumulated. When the number of usage times of an application is accumulated, the number of usage times of the application on the day may be accumulated.
Further, after the usage log records corresponding user usage data, the terminal may obtain the usage log in the local database for a certain period of time, for example: usage logs over a week or month; then, carrying out statistics according to the obtained use logs to determine the used condition of each application within a certain time; when the applications are counted, the applications recorded in the usage log can be ranked according to the usage times from most to least, and a ranking list is obtained.
After the ranking list is obtained, the terminal can acquire the top M applications from the ranking list according to a set numerical value, and accordingly an application priority list is generated; for example: selecting the applications with the top 10 ranks, and generating an application priority list; in the priority list, the priority level of each application corresponds to the ranking of the application in the ranking list; the priority list may include data such as application name, number of uses, memory footprint size, and rank.
In addition, when the priority list is set, the terminal also acquires threshold data input by a user, and then sets the system operation memory threshold according to the input threshold data; the system operation memory threshold value is the lowest memory value which can normally operate, can normally respond to user operation and can normally support the functions selected by the user; for example, the system operating memory threshold may be set to 2 GB.
That is, in an implementation manner of the present embodiment, the step 100 includes the following steps before:
001, acquiring user use data, and generating the application priority list according to the user use data;
and 002, acquiring input threshold data, and setting the system operating memory threshold according to the threshold data.
In this embodiment, in order to accelerate the start-up speed of the application, the terminal may load the application in the application priority list at a power-on initialization stage, then monitor a change condition of a system memory in a normal operation process, and load the application that is not loaded in the application priority list under the condition that an increase in a system idle memory is monitored; in addition, no matter the loading is in the initialization stage or the normal operation stage, after each loading, the terminal updates the application priority list in real time so as to ensure the accuracy of the data in the application priority list.
Specifically, in a startup initialization stage of the terminal, the system first reads an application priority list and a system running memory threshold, then determines a remaining memory value of the system according to the system running memory threshold after completing an initialization process of the system, and finally selects an application with a high priority level from the application priority list according to the remaining memory value of the system so as to load the selected application in the initialization stage of the system.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the application starting method further includes the following steps:
and step S200, judging whether the current system environment meets the condition of loading the application or not according to the system operation memory threshold value.
In this embodiment, after the system running memory threshold is obtained, the terminal determines whether the current system environment meets the condition of loading the application according to the system running memory threshold, so as to determine whether the remaining memory of the current system can load the application that is not loaded in the application priority list.
Specifically, a current idle memory value of the system needs to be obtained, wherein the current idle memory value is an idle memory value after the system runs a necessary thread; after the current idle memory value of the system is determined, a residual memory value can be calculated according to the current idle memory value of the system and a system operating memory threshold value, wherein the residual memory value is a numerical value obtained by subtracting the system operating memory threshold value from the current idle memory value of the system.
For example, if the total memory (i.e., RAM) of the system has 8G, and the memory occupied by the current system resources is 3G, the current idle memory value of the system is 5G; at this time, if the preset system operation memory threshold is 2G, the remaining memory value is 3G; therefore, in the initialization stage, when judging whether the current system environment meets the condition of loading the application, the remaining 3G memory value can be used as the judgment standard.
That is, in an implementation manner of this embodiment, the step S200 specifically includes the following steps:
step S201, acquiring a current idle memory value of the system;
step S202, calculating a residual memory value according to the current idle memory value of the system and the running memory threshold value of the system;
step S203, determining whether the current system environment meets the condition of loading the application according to the remaining memory value.
Specifically, when judging whether the current system environment meets the condition of loading the application, whether the residual memory value is larger than a preset value can be judged; wherein the preset value can be set to 0; when the residual memory value is larger than the preset value, judging that the current system environment meets the condition of loading the application; otherwise, judging that the current system environment does not meet the condition for loading the application.
In other words, after subtracting the system running memory threshold from the current idle memory value of the system, judging whether a residual memory value exists, and if so, judging that the current system environment meets the condition of loading the application; otherwise, judging that the current system environment does not meet the condition for loading the application.
That is, in an implementation manner of this embodiment, the step S203 specifically includes the following steps:
step S2031, judging whether the residual memory value is larger than a preset value;
step S2032, when the residual memory value is larger than the preset value, judging that the current system environment meets the condition of loading application;
step S2033, when the remaining memory value is less than or equal to the preset value, determining that the current system environment does not satisfy the condition for loading the application.
In this embodiment, by calculating the remaining memory value, it may be determined whether the current system environment meets the condition for loading the application before each application is loaded, so that the applications to be loaded are sequentially obtained from the application priority list when the condition is met.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the application starting method further includes the following steps:
and step S300, when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list.
In this embodiment, when the current system environment meets the condition of loading the application, the terminal determines the application to be loaded according to the obtained application priority list; when the application to be loaded is determined, whether the application which is not loaded in the application priority list meets the loaded condition or not can be sequentially judged according to the priority; when judging whether the unloaded application meets the loaded condition, sequentially judging whether the unloaded occupied memory value is larger than the current residual memory value, if so, judging that the current unloaded application does not meet the loaded condition, and at the moment, selecting the next unloaded application for judgment; and if the current residual memory value is less than or equal to the current residual memory value, judging that the application which is not loaded currently meets the loading condition, and selecting the current application as the application to be loaded at the moment.
For example, when the system environment meets the condition of loading the application, whether the remaining memory values can load the application with high priority and not loaded can be sequentially judged according to the sequence of the use times from the most to the least in the application priority list, if the application can be loaded, the current application is selected and taken as the application to be loaded; if the loading is impossible, judging the next application until no memory is left or all the applications in the list are traversed.
That is, in an implementation manner of this embodiment, the step S300 specifically includes the following steps:
step S301, when the current system environment meets the condition of loading the application, sequentially judging whether the application which is not loaded in the application priority list meets the loaded condition according to the priority level;
step S302, when the application not loaded in the application priority list satisfies the loaded condition, selecting the application satisfying the loaded condition as the application to be loaded.
In this embodiment, by sequentially determining whether the applications in the application priority list satisfy the loaded condition, the applications with high priority and memory occupation satisfying the condition in the list can be loaded preferentially, so as to improve the starting speed of the applications.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the application starting method further includes the following steps:
step S400, obtaining application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources.
In this embodiment, after determining the application to be loaded, the application resource corresponding to the application to be loaded may be obtained, and then the application to be loaded is loaded according to the application resource.
After the corresponding application is loaded, the terminal identifies in the application priority list that the application which has just been loaded has been loaded into the memory, and updates the system idle memory value according to the occupied memory value of the application which has just been loaded.
When the loaded application is identified, the terminal also updates the corresponding application times in the application priority list, namely, the application use times which are just loaded are accumulated and added by one, so that the application ranking and the application times in the application priority list are updated in real time.
That is, in an implementation manner of this embodiment, the step S400 specifically includes the following steps:
step S401, obtaining application resources corresponding to the application to be loaded;
step S402, loading the application to be loaded according to the application resource,
step S403, identify in the application priority list that the application to be loaded has been loaded into the memory, and update a system idle memory value.
As shown in fig. 2, in the actual application of this embodiment, in the initial boot stage of the terminal, the loading process of the application includes the following steps:
step S11, starting the equipment;
step S12, the equipment software system enters the initialization phase of starting up;
step S13, reading the application priority list and the system operation memory threshold;
step S14, completing the initialization phase of the device software system;
step S15, judging whether the system running environment meets the loading condition; if yes, go to step S16; if not, go to step S20;
step S16, determine whether the free memory is enough to load the unloaded application; if yes, go to step S17; if not, go to step S20;
step S17, loading the application into the memory;
step S18, identifying that the application has been loaded to the memory in the application priority list;
step S19, updating the spare memory data of the system;
step S20, loading any unloaded application in the application priority list when the current free memory is insufficient; or all applications in the application priority table are loaded;
step S21, the application loading process in the startup initialization phase is completed.
In the practical application of this embodiment, a device (i.e., a terminal) runs a boot process, and in the process of running the boot process, a device software system enters a boot initialization stage; in the process of initialization, the equipment reads an application priority list and a system operation memory threshold value for an application loading process of starting up; and after the reading is finished, finishing the initialization stage of the equipment software system.
After the system initialization is finished, entering an application loading process of starting up; in the process, whether the system operation environment meets the loading condition needs to be judged, namely whether a spare memory exists after the spare memory of the system is subtracted by a system operation memory threshold value is judged; if the spare memories exist, sequentially judging whether the spare memories are enough to load the applications which are not loaded at present according to the sequence from high to low of the priorities in the application priority list; if the loading is enough, loading the application into the memory, and marking the application loaded into the memory in the application priority list so as to update the spare memory data; if no free memory exists or the loading is insufficient, displaying that the current free memory is insufficient to load any unloaded application in the application priority table, or that all the applications in the application priority table are loaded; and finishing the application loading process in the starting initialization stage.
In this embodiment, after the application loading process of the startup initialization is completed, the terminal enters a normal use stage; in a normal use stage, the system continuously monitors the change of the idle memory of the system, and when the idle memory is increased (for example, a user closes some functions/applications), the terminal determines the applications to be loaded according to the current system environment and the application priority list; when determining the application to be loaded, the system can judge whether the application which is not loaded in the application priority list can be dynamically loaded into the DDR, wherein when judging, whether the application in the application priority list meets the selected condition is judged in sequence according to the priority; after determining the application to be loaded, the terminal loads the determined application to be loaded and updates the system idle memory value.
In addition to continuously monitoring the change of the free memory of the system, in the using process of the terminal, each time a user starts a function or an application, the system updates the using times of the corresponding application in the application priority list, and rearranges the application priority according to the updated using times so as to update the application priority list in the system in real time.
That is, in an implementation manner of this embodiment, the step S400 further includes the following steps:
step S501, monitoring the current idle memory value of the system in real time, and judging whether the current idle memory value is increased;
step S502, when the current free memory value is increased, determining the application to be loaded according to the current system environment and the application priority list;
step S503, load the determined application to be loaded, and update the system idle memory value.
As shown in fig. 3, in an actual application, in a normal operation stage of the terminal, a loading flow of the application may include the following steps:
step S31, the system runs after the equipment is started;
step S32, judging whether the idle memory of the system is increased; if yes, go to step S33; if not, go to step S39;
step S33, reading the application priority list and the system operation memory threshold;
step S34, judging whether the system running environment meets the loading condition; if yes, go to step S35; if not, go to step S39;
step S35, determine whether the free memory is enough to load the unloaded application; if yes, go to step S36; if not, go to step S39;
step S36, loading the application into the memory;
step S37, identifying that the application has been loaded to the memory in the application priority list;
step S38, updating the spare memory data of the system;
step S39, loading any unloaded application in the application priority list when the current free memory is insufficient; or all applications in the application priority table have been loaded.
In the practical application of the embodiment, after the equipment is started, the system enters a normal operation stage; in the normal operation stage, the device monitors the state of the idle memory, for example, compares the current idle memory with the idle memory in a preset time period (for example, 10 minutes ago), and determines whether the idle memory of the system is increased; if the system memory is increased, reading the application priority list and the system running memory threshold, and then sequentially judging whether the idle memory is enough to load the application which is not loaded at present according to the sequence from high to low of the priority in the application priority list; if the loading is enough, loading the application into the memory, and marking the application loaded into the memory in the application priority list so as to update the spare memory data; if the system memory is not increased or is not enough to be loaded, displaying that the current free memory is not enough to load any unloaded application in the application priority table, or that all the applications in the application priority table are loaded; and finishing the application loading process in the system running process.
As shown in fig. 4, in the actual application, the update process of the application priority list may include the following steps:
step S51, the system runs after the equipment is started;
step S52, reading the application priority list;
step S53, the user starts the application;
step S54, determining whether the application is already in the application priority list; if yes, go to step S55; if not, go to step S56;
step S55, adding 1 to the application use times;
step S56, adding the application into the application priority list, and setting the use times as 1;
step S57, rearranging the priority order of application according to the application use times;
step S58, the updated application priority list is saved.
In the actual application of the embodiment, after the equipment is started and the system enters the normal operation stage, the equipment can also update the application priority list in real time; when the application priority list is updated, the device reads the application priority list in real time, when it is monitored that a user starts a certain application, whether the application is in the application priority list is judged firstly, if the application is in the application priority list, the use times of the application are accumulated and increased by one, the application priority sequence is rearranged according to the updated use times, and the updated priority list is stored; if the application is not in the application priority list, the application is added to the application priority list, and the number of times of use of the application is set to 1.
When the system enters a normal operation stage and the list of the application priorities is updated, the update may be performed in a staged updating manner, for example, at regular intervals (for example, one day), so as to ensure that the number of times of use of each application can be updated in real time.
Therefore, the method and the device can determine whether the current system environment meets the condition for loading the application or not by obtaining the system operation memory threshold, select the application with high priority from the application priority list when the condition is met, and load the application and the function commonly used by the user into the memory under the condition of ensuring the normal use of the terminal, thereby accelerating the starting speed of the application and the function commonly used by the user.
Exemplary device
Based on the above embodiments, the present invention further provides a terminal, and a schematic block diagram thereof may be as shown in fig. 5.
The terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus; wherein the processor of the terminal is configured to provide computing and control capabilities; the memory of the terminal comprises a nonvolatile storage medium and an internal memory; the non-volatile storage medium stores an operating system and a computer program; the internal memory provides an environment for the operation of an operating system and a computer program in the nonvolatile storage medium; the network interface of the terminal is used for connecting and communicating with an external terminal through a network.
The computer program is for implementing an application launching method when executed by a processor.
It will be understood by those skilled in the art that the block diagram of fig. 5 is a block diagram of only a portion of the structure associated with the inventive arrangements and is not intended to limit the terminals to which the inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a terminal is provided, which includes: a processor and a memory, the memory storing an application startup program, the application startup program when executed by the processor for implementing the application startup method as described above.
In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an application startup program, which when executed by a processor, is used to implement the application startup method as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory.
In summary, the present invention provides an application starting method, a terminal and a computer-readable storage medium, wherein the method includes: acquiring an application priority list and a system operation memory threshold; judging whether the current system environment meets the condition of loading the application or not according to the system operation memory threshold value; when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list; and acquiring application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources. The method and the device determine whether the current system environment meets the condition of loading the application by acquiring the system operation memory threshold, select the application with high priority from the application priority list when the condition is met, and load the application and the function commonly used by the user into the memory under the condition of ensuring the normal use of the terminal, thereby accelerating the starting speed of the commonly used application and the function of the user.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. An application starting method, characterized in that the application starting method comprises the following steps:
acquiring an application priority list and a system operation memory threshold;
judging whether the current system environment meets the condition of loading the application or not according to the system operation memory threshold value;
when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list;
and acquiring application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources.
2. The application launching method according to claim 1, wherein the obtaining of the application priority list and the system running memory threshold previously comprises:
acquiring user use data, and generating the application priority list according to the user use data; wherein the user usage data comprises: the method comprises the following steps of (1) applying a name, application using times and an application memory occupation value; the priority in the application priority list corresponds to the number of times the application is used.
3. The application starting method according to claim 1, wherein the obtaining of the application priority list and the system running memory threshold further comprises:
acquiring input threshold data, and setting a system operation memory threshold according to the threshold data.
4. The application starting method according to claim 1, wherein the determining whether the current system environment meets the condition for loading the application according to the system running memory threshold specifically comprises:
acquiring a current idle memory value of a system;
calculating a residual memory value according to the current idle memory value of the system and the system operation memory threshold value;
and judging whether the current system environment meets the condition of loading the application or not according to the residual memory value.
5. The application starting method according to claim 4, wherein the determining whether the current system environment meets the condition for loading the application according to the remaining memory value specifically includes:
judging whether the residual memory value is larger than a preset value or not;
when the residual memory value is larger than the preset value, judging that the current system environment meets the condition of loading application;
and when the residual memory value is less than or equal to the preset value, judging that the current system environment does not meet the condition of loading the application.
6. The application starting method according to claim 1, wherein when the current system environment meets an application loading condition, determining an application to be loaded according to the application priority list specifically includes:
when the current system environment meets the conditions for loading the applications, sequentially judging whether the applications which are not loaded in the application priority list meet the loaded conditions or not according to the priority;
and when the application which is not loaded in the application priority list meets the loaded condition, selecting the application which meets the loaded condition as the application to be loaded.
7. The application starting method according to claim 6, wherein the obtaining of the application resource corresponding to the application to be loaded and the loading of the application to be loaded according to the application resource specifically include:
acquiring application resources corresponding to the application to be loaded;
loading the application to be loaded according to the application resources;
and identifying that the application to be loaded is loaded into the memory in the application priority list, and updating a system idle memory value.
8. The application starting method according to claim 1, wherein the obtaining of the application resource corresponding to the application to be loaded and the loading of the application to be loaded according to the application resource further comprise:
monitoring the current idle memory value of the system in real time, and judging whether the current idle memory value is increased or not;
when the current free memory value is increased, determining the application to be loaded according to the current system environment and the application priority list;
and loading the determined application to be loaded and updating the idle memory value of the system.
9. A terminal, comprising: a processor and a memory, the memory storing an application startup program, the application startup program when executed by the processor for implementing the application startup method of any one of claims 1-8.
10. A computer-readable storage medium storing an application startup program, which when executed by a processor is configured to implement the application startup method according to any one of claims 1 to 8.
CN202011420083.1A 2020-12-07 2020-12-07 Application starting method, terminal and computer readable storage medium Active CN112527407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011420083.1A CN112527407B (en) 2020-12-07 2020-12-07 Application starting method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011420083.1A CN112527407B (en) 2020-12-07 2020-12-07 Application starting method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112527407A true CN112527407A (en) 2021-03-19
CN112527407B CN112527407B (en) 2023-09-22

Family

ID=74998021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011420083.1A Active CN112527407B (en) 2020-12-07 2020-12-07 Application starting method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112527407B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934519A (en) * 2021-08-10 2022-01-14 荣耀终端有限公司 Application scheduling method and electronic equipment

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050243760A1 (en) * 2004-04-14 2005-11-03 Nec Corporation Mobile communication terminal and application starting control method thereof
US20070124613A1 (en) * 2005-11-25 2007-05-31 Toshikazu Morisawa Information processing apparatus and system control method
CN102479108A (en) * 2010-11-26 2012-05-30 中国科学院声学研究所 Terminal resource management system for multi-application process embedded system and method
CN102521347A (en) * 2011-12-11 2012-06-27 西北工业大学 Pattern matching intermediate result management method based on priority
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
US20140208328A1 (en) * 2013-01-05 2014-07-24 Tencent Technology (Shenzhen) Company Limited Method for terminal acceleration, terminal and storage medium
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
CN104850415A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for loading pages
US20150339134A1 (en) * 2013-06-05 2015-11-26 Tencent Technology (Shenzhen) Co., Ltd. Program startup method, apparatus and terminal
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
CN107133097A (en) * 2017-04-16 2017-09-05 努比亚技术有限公司 Memory Optimize Method and device
US20180013913A1 (en) * 2016-07-07 2018-01-11 Ricoh Company, Ltd. Information processing system, information processing apparatus, and method for processing information
CN108307236A (en) * 2018-02-01 2018-07-20 深圳创维-Rgb电子有限公司 A kind of method, storage medium and the smart television of smart television memory optimization
CN108932140A (en) * 2018-07-13 2018-12-04 重庆邮电大学 The method of cleaning background application based on Android user behavior habit
CN109062625A (en) * 2018-06-21 2018-12-21 北京小米移动软件有限公司 The method, apparatus and readable storage medium storing program for executing of application program load
CN109656722A (en) * 2019-01-04 2019-04-19 Oppo广东移动通信有限公司 Memory Optimize Method, device, mobile terminal and storage medium
CN109683949A (en) * 2018-12-13 2019-04-26 深圳创维-Rgb电子有限公司 Pre-installed applications management method, device and storage medium
CN110515721A (en) * 2018-05-22 2019-11-29 中兴通讯股份有限公司 A kind of application management method, device, terminal and computer storage medium
CN111880928A (en) * 2020-07-06 2020-11-03 Oppo广东移动通信有限公司 Method for selecting process to release and terminal equipment

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050243760A1 (en) * 2004-04-14 2005-11-03 Nec Corporation Mobile communication terminal and application starting control method thereof
US20070124613A1 (en) * 2005-11-25 2007-05-31 Toshikazu Morisawa Information processing apparatus and system control method
CN102479108A (en) * 2010-11-26 2012-05-30 中国科学院声学研究所 Terminal resource management system for multi-application process embedded system and method
CN102521347A (en) * 2011-12-11 2012-06-27 西北工业大学 Pattern matching intermediate result management method based on priority
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
US20140208328A1 (en) * 2013-01-05 2014-07-24 Tencent Technology (Shenzhen) Company Limited Method for terminal acceleration, terminal and storage medium
US20150339134A1 (en) * 2013-06-05 2015-11-26 Tencent Technology (Shenzhen) Co., Ltd. Program startup method, apparatus and terminal
CN104850415A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for loading pages
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources
US20180013913A1 (en) * 2016-07-07 2018-01-11 Ricoh Company, Ltd. Information processing system, information processing apparatus, and method for processing information
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
CN107133097A (en) * 2017-04-16 2017-09-05 努比亚技术有限公司 Memory Optimize Method and device
CN108307236A (en) * 2018-02-01 2018-07-20 深圳创维-Rgb电子有限公司 A kind of method, storage medium and the smart television of smart television memory optimization
CN110515721A (en) * 2018-05-22 2019-11-29 中兴通讯股份有限公司 A kind of application management method, device, terminal and computer storage medium
CN109062625A (en) * 2018-06-21 2018-12-21 北京小米移动软件有限公司 The method, apparatus and readable storage medium storing program for executing of application program load
CN108932140A (en) * 2018-07-13 2018-12-04 重庆邮电大学 The method of cleaning background application based on Android user behavior habit
CN109683949A (en) * 2018-12-13 2019-04-26 深圳创维-Rgb电子有限公司 Pre-installed applications management method, device and storage medium
CN109656722A (en) * 2019-01-04 2019-04-19 Oppo广东移动通信有限公司 Memory Optimize Method, device, mobile terminal and storage medium
CN111880928A (en) * 2020-07-06 2020-11-03 Oppo广东移动通信有限公司 Method for selecting process to release and terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934519A (en) * 2021-08-10 2022-01-14 荣耀终端有限公司 Application scheduling method and electronic equipment
CN113934519B (en) * 2021-08-10 2022-08-02 荣耀终端有限公司 Application scheduling method and electronic equipment

Also Published As

Publication number Publication date
CN112527407B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN109992310B (en) Application program keep-alive method, device, computer equipment and storage medium
CN107609198B (en) Recommendation method and device and computer readable storage medium
CN109857551B (en) Service resource scheduling method and device based on cloud computing and electronic equipment
CN109857548B (en) Storage space optimization method, storage space optimization device, computer equipment and storage medium
US11048681B2 (en) Application suggestion features
CN107832100A (en) A kind of loading method and its terminal of APK plug-in units
CN107368343B (en) Terminal starting method based on android system, terminal and storage medium
CN106960054B (en) Data file access method and device
CN110933178A (en) Method for adjusting node configuration in cluster system and server
CN116167463A (en) Model training method and device, storage medium and electronic equipment
CN112527407B (en) Application starting method, terminal and computer readable storage medium
CN112307381A (en) Page loading method and device, storage medium and electronic equipment
CN106470351B (en) Page display method and page display device
EP4345654A1 (en) Data processing method, apparatus and device and storage medium
CN108363582B (en) Method and device for upgrading homepage of intelligent terminal
CN113992784B (en) Audio and video call method, device, computer equipment and storage medium
CN113721936A (en) Application management method, intelligent terminal, device and storage medium
CN112925478B (en) Camera storage space control method, intelligent terminal and computer readable storage medium
CN114756362A (en) Resource quota management method and system, intelligent terminal and storage medium
CN109542521B (en) Method for optimizing television starting speed
CN114173199A (en) Video output method and device, intelligent equipment and storage medium
CN112099858A (en) System data processing logic updating method and device and data processing system
CN111385610B (en) Method and device for controlling advertisement duration
CN113268266B (en) Multi-version coexistence management method, system and medium for applet rendering framework
CN113890872B (en) Data set uploading method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant