CN112527407B - 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
CN112527407B
CN112527407B CN202011420083.1A CN202011420083A CN112527407B CN 112527407 B CN112527407 B CN 112527407B CN 202011420083 A CN202011420083 A CN 202011420083A CN 112527407 B CN112527407 B CN 112527407B
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.)
Active
Application number
CN202011420083.1A
Other languages
Chinese (zh)
Other versions
CN112527407A (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

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 running memory threshold; judging whether the current system environment meets the condition of loading the application according to the system running 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 invention determines whether the current system environment meets the condition of loading the application by acquiring the system running memory threshold value, and when the current system environment meets the condition, selects the application with high priority from the application priority list, and loads 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.

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 electronic products such as intelligent televisions, intelligent mobile devices and intelligent wearable devices are increasingly popular, and diversified, intelligent and multi-scene functions and services are provided for people.
However, such electronic products need to be configured with 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 resources of the system have met the needs of more applications and services, resulting in slower and slower speeds when starting applications or system functions, which greatly affects the user experience.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention aims to solve the technical problem that the application starting method, the terminal and the computer readable storage medium are used for solving the technical problem that the application starting is too slow in the prior art.
The technical scheme adopted for solving the technical problems 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 running memory threshold;
judging whether the current system environment meets the condition of loading the application according to the system running 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 acquiring the application priority list and the system running memory threshold value includes:
acquiring user use data, and generating the application priority list according to the user use data; wherein the user usage data includes: application name, application use times, application memory occupation value; the priority in the application priority list corresponds to the application use times.
In one embodiment, the acquiring the application priority list and the system running memory threshold value further includes:
and acquiring input threshold data, and setting the system operation memory threshold according to the threshold data.
In one embodiment, the determining, according to the system running memory threshold, whether the current system environment meets the condition of loading the application 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 running 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 one embodiment, the determining, according to the remaining memory value, whether the current system environment meets a condition of loading an application 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 the application;
and when the residual memory value is smaller than or equal to the preset value, judging that the current system environment does not meet the condition of loading the application.
In one 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 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;
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 one embodiment, the obtaining an application resource corresponding to the application to be loaded, and loading the application to be loaded according to the application resource specifically includes:
acquiring application resources corresponding to the application to be loaded;
loading the application to be loaded according to the application resource;
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 one embodiment, the obtaining the application resource corresponding to the application to be loaded, and loading the application to be loaded according to the application resource further includes:
monitoring a current idle memory value of a system in real time, and judging whether the current idle memory value is increased or not;
when the current idle memory value is increased, determining an 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 storing an application start program which when executed by the processor is adapted to carry out the application start method according to the first aspect.
In a third aspect, the present invention also provides a computer readable storage medium, wherein the computer readable storage medium stores an application start program, which when executed by a processor is configured to implement the application start method according to the first aspect.
The technical scheme adopted by the invention has the following effects:
the invention determines whether the current system environment meets the condition of loading the application by acquiring the system running memory threshold value, and when the current system environment meets the condition, selects the application with high priority from the application priority list, and loads 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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an application launch method in one implementation of the invention.
FIG. 2 is an application loading flow diagram of an initialization phase in one implementation of the invention.
FIG. 3 is a flow chart of application loading during normal operation in one implementation of the invention.
FIG. 4 is a flow chart 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 achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Most of the existing intelligent devices can provide more functions so as to meet the use needs of users in different application scenes or meet the requirements of different preferences of the users; however, the hardware resources of the device are limited, and loading all applications and services cannot be achieved while satisfying the user's use requirements or preference requirements.
The inventor provides an application starting method aiming at the problems, the application starting method is applied to a terminal, the common use scene of a user is known through learning the use habit of the user, the starting speed of related applications and services is improved aiming at the real application requirements or common functions of the user, the current situation that the intelligent equipment is used more slowly at present is changed, and the 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, and the terminal includes, but is not limited to: the application starting method comprises the following steps of:
step S100, an application priority list and a system running memory threshold are obtained.
In this embodiment, user usage data needs to be acquired in a local database of the terminal to determine a user's usage preference according to the user usage data. Wherein the user usage data includes: application name, application use times, application memory occupation value; the priority in the application priority list corresponds to the application use times.
Specifically, before recording the user usage data, a usage log can be established in a local database of the terminal, so that the application and the function used by the user in the daily use process can be recorded through the usage log; and when the application and the function are in a 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. Wherein, when the use times of the application are accumulated, the use times of the application in the same day can be accumulated.
Further, after recording the usage log to the corresponding user usage data, the terminal may obtain the usage log in the local database for a certain period of time, for example: a log of usage over a week or month; then, counting according to the acquired use log to determine the used condition of each application in a certain time; when the applications are counted, the applications recorded in the use log can be ranked according to the number of times of use from more to less, so that a ranking list is obtained.
After the ranking list is obtained, the terminal can obtain the top M applications from the ranking list according to the set numerical value, and generate an application priority list according to the top M applications; for example: selecting the application with the top ranking of 10, and generating an application priority list; wherein, in the priority list, the priority of each application corresponds to the ranking of each 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 running memory threshold of the system according to the input threshold data; the system operation memory threshold is the lowest memory value which can normally operate, normally respond to user operation and normally support the function selected by the user; for example, the system run memory threshold may be set to 2GB.
That is, in one implementation of this embodiment, the step 100 includes the following steps before:
step 001, obtaining user use data, and generating the application priority list according to the user use data;
step 002, obtaining input threshold data, and setting the system operation memory threshold according to the threshold data.
In this embodiment, in order to accelerate the starting speed of an application, the terminal may load the application in the application priority list in a startup initialization stage, then monitor a change condition of a system memory in a normal operation process, and load an application that is not loaded in the application priority list under a condition that an increase of a system idle memory is monitored; and whether the loading is in an initialization stage or in a normal operation stage, after each loading, the terminal updates the application priority list in real time so as to ensure the accuracy of data in the application priority list.
Specifically, in the startup initialization stage of the terminal, the system firstly reads the application priority list and the system running memory threshold, then determines the residual memory value of the system according to the system running memory threshold after completing the initialization flow of the system, and finally selects the application with high priority from the application priority list according to the residual 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 one implementation manner of the embodiment of the present invention, the application starting method further includes the following steps:
step 200, judging whether the current system environment meets the condition of loading the application according to the system running memory threshold.
In this embodiment, after the system running memory threshold is obtained, the terminal determines, according to the system running memory threshold, whether the current system environment meets the condition of loading the application, 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 acquired, wherein the current idle memory value is the idle memory value of the system after the system runs the necessary thread; after determining the current idle memory value of the system, calculating a residual memory value according to the current idle memory value of the system and a system operation memory threshold value, wherein the residual memory value is a value obtained by subtracting the system operation memory threshold value from the current idle memory value of the system.
For example, assuming that 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 rest 3G memory value can be used as a judgment standard.
That is, in one implementation manner of this embodiment, the step S200 specifically includes the following steps:
step S201, obtaining the 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;
and step 203, judging whether the current system environment meets the condition of loading the application according to the residual memory value.
Specifically, when judging whether the current system environment meets the condition of loading the application, judging whether the residual memory value is larger than a preset value; wherein the preset value may be set to 0; when the residual memory value is larger than a preset value, judging that the current system environment meets the condition of loading the application; otherwise, it is determined that the current system environment does not satisfy the condition of loading the application.
In other words, after subtracting the system running memory threshold value from the current idle memory value of the system, judging whether a residual memory value exists, if so, judging that the current system environment meets the condition of loading the application; otherwise, it is determined that the current system environment does not satisfy the condition of loading the application.
That is, in one implementation manner of this embodiment, the step S203 specifically includes the following steps:
step S2031, determining whether the remaining memory value is greater than a preset value;
step S2032, when the remaining memory value is greater than the preset value, determining that the current system environment meets a condition of loading an 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 of loading the application.
According to the embodiment, by calculating the residual memory value, whether the current system environment meets the condition of loading the application or not can be determined before each application is loaded, so that the application to be loaded is sequentially acquired from the application priority list under the condition that the condition is met.
As shown in fig. 1, in one 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 acquired application priority list; when determining the application to be loaded, whether the application which is not loaded in the application priority list meets the loaded condition can be sequentially judged according to the priority level; 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; if the current residual memory value is smaller than or equal to the current residual memory value, judging that the application which is not loaded currently meets the loading condition, and at the moment, selecting the current application as the application to be loaded.
For example, when the system environment satisfies the condition of loading the application, it may be sequentially determined whether the remaining memory value can load the application with high priority and not loaded according to the order of from more to less times in the application priority list, if so, the current application is selected and is used as the application to be loaded; if the application can not be loaded, the next application is judged until no memory remains or all applications in the list are traversed.
That is, in one 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, judging whether the application which is not loaded in the application priority list meets the loaded condition according to the priority level in sequence;
in step S302, when the application that is not loaded in the application priority list meets the loaded condition, selecting the application that meets the loaded condition as the application to be loaded.
According to the embodiment, whether the applications in the application priority list meet the loaded condition is judged sequentially, so that the applications with high priority and memory occupation meeting the condition in the list can be loaded preferentially, and the starting speed of the applications is improved.
As shown in fig. 1, in one 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 that the application which is just loaded is loaded into the memory in the application priority list, and updates the idle memory value of the system according to the occupied memory value of the application which is just loaded.
When the loaded application is identified, the terminal also updates the corresponding application times in the application priority list, namely, the application using times which are just loaded are accumulated and added with one process, so that the application ranking and the application times in the application priority list are updated in real time.
That is, in one 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,
in step S403, the application to be loaded is identified in the application priority list as being loaded into the memory, and the idle memory value of the system is updated.
As shown in fig. 2, in the actual application of the present embodiment, in the initial startup phase of the terminal, the loading flow of the application includes the following steps:
step S11, starting up equipment;
step S12, the equipment software system enters a startup initialization stage;
step S13, reading an application priority list and a system running memory threshold;
step S14, completing the initialization stage of the equipment software system;
step S15, judging whether the system running environment meets the loading condition; if yes, go to step S16; if not, executing step S20;
step S16, judging whether the free memory is enough to load the unloaded application; if yes, go to step S17; if not, executing step S20;
step S17, loading the application into the memory;
step S18, the application is marked in the application priority list to be loaded into the memory;
step S19, updating the system spare memory data;
step S20, any unloaded application in the application priority table is not loaded enough in the current idle memory; or all applications in the application priority table are loaded;
step S21, the application loading flow of the startup initialization stage is completed.
In the practical application of the embodiment, the device (i.e., the terminal) operates a boot process, and in the process of operating the boot process, the device software system enters a boot initialization stage; in the process of initialization, the equipment reads an application priority list and a system running memory threshold value so as to be used for an application loading flow of starting; after the reading is completed, the initialization stage of the device software system is completed.
After the system initialization is completed, entering an application loading flow of starting up; in the process, whether the system operation environment meets the loading condition or not needs to be judged, namely whether the system operation memory is free or not after the system operation memory threshold value is subtracted from the free memory of the system is judged; if the free memory exists, judging whether the free memory is enough to load the application which is not loaded at present according to the priority in the application priority list from high to low in sequence; if the application is sufficiently loaded, loading the application into the memory, and marking that the application is loaded into the memory in an application priority list so as to update the spare memory data; if the free memory is not available or is insufficient to load, 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; thus, the application loading flow of the startup initialization stage is completed.
In this embodiment, after completing an application loading process of startup initialization, 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 certain functions/applications), the terminal determines an application to be loaded according to the current system environment and an application priority list; when determining an application to be loaded, the system judges whether an unloaded application can be dynamically loaded into the DDR in an application priority list, wherein when judging, the system sequentially judges whether the application of the application priority list meets a selected condition according to the priority level; after determining the application to be loaded, the terminal loads the determined application to be loaded and updates the idle memory value of the system.
In addition to continuously monitoring the change of the idle memory of the system, in the use process of the terminal, each time a user starts a function or application, the system updates the use times of the corresponding application in the application priority list, and rearranges the application priority according to the updated use times so as to update the application priority list in the system in real time.
That is, in one 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 or not;
step S502, when the current idle memory value is increased, determining an application to be loaded according to the current system environment and the application priority list;
step S503, loading the determined application to be loaded, and updating the idle memory value of the system.
As shown in fig. 3, in the actual application, in the normal operation stage of the terminal, the loading flow of the application may include the following steps:
step S31, the system operates 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, executing step S39;
step S33, reading an application priority list and a system running memory threshold;
step S34, judging whether the system running environment meets the loading condition; if yes, go to step S35; if not, executing step S39;
step S35, judging whether the idle memory is enough to load the unloaded application; if yes, go to step S36; if not, executing step S39;
step S36, loading the application into the memory;
step S37, the application is marked in the application priority list to be loaded into the memory;
step S38, updating the system spare memory data;
step S39, any unloaded application in the application priority list is not loaded enough in the current idle memory; or all applications in the application priority table have been loaded.
In the practical application of the embodiment, after 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, before 10 minutes), and judges whether the idle memory of the system is increased; if the system memory is increased, reading an application priority list and a system running memory threshold value, and then sequentially judging whether the idle memory is enough to load the application which is not loaded at present according to the priority in the application priority list from high to low; if the application is sufficiently loaded, loading the application into the memory, and marking that the application is loaded into the memory in an application priority list so as to update the spare memory data; if the system memory is not increased or is insufficient to load, displaying that the current idle 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; so far, the application loading flow in the system running process is completed.
As shown in fig. 4, in actual application, the update flow of the application priority list may include the following steps:
step S51, the system operates after the equipment is started;
step S52, reading an application priority list;
step S53, the user starts the application;
step S54, judging whether the application is already in the application priority list; if yes, go to step S55; if not, executing step S56;
step S55, adding 1 to the application use times;
step S56, adding the application to an application priority list, and setting the use times to be 1;
step S57, rearranging the application priority order 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, the equipment also updates the application priority list in real time when the system enters a normal operation stage; when updating an application priority list, the device reads the application priority list in real time, when monitoring that a user starts a certain application, firstly judging whether the application is in the application priority list, if the application is in the application priority list, accumulating the use times of the application by one, rearranging the application priority order according to the updated use times, and storing the updated priority list; 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 updates the list aiming at the application priority, a stage type updating mode can be adopted for updating, for example, the system is updated at regular intervals (for example, one day) so as to ensure that the use times of each application can be updated in real time.
Therefore, the invention determines whether the current system environment meets the condition of loading the application by acquiring the system running memory threshold value, and selects the application with high priority from the application priority list when the current system environment meets the condition, so that the application and the function commonly used by the user are loaded into the memory under the condition of ensuring the normal use of the terminal, and the starting speed of the application and the function commonly used by the user is accelerated.
Exemplary apparatus
Based on the above embodiment, the present invention also provides a terminal, and a functional block diagram thereof may be 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 the operating system and computer programs in the non-volatile storage media; the network interface of the terminal is used for communicating with an external terminal through a network connection.
The computer program is for implementing an application start method when executed by a processor.
It will be appreciated by those skilled in the art that the functional block diagram shown in fig. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements may be applied, and that a particular terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a terminal is provided, including: a processor and a memory storing an application start program which when executed by the processor is adapted to carry out the application start method as described above.
In one embodiment, a computer readable storage medium is provided, wherein the computer readable storage medium stores an application launcher program for implementing the application launch method as described above when executed by a processor.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium 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 running memory threshold; judging whether the current system environment meets the condition of loading the application according to the system running 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 invention determines whether the current system environment meets the condition of loading the application by acquiring the system running memory threshold value, and when the current system environment meets the condition, selects the application with high priority from the application priority list, and loads 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.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (8)

1. An application starting method, characterized in that the application starting method comprises the following steps:
in a startup initialization stage, an application priority list and a system running memory threshold value are obtained;
judging whether the current system environment meets the condition of loading the application according to the system running 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;
acquiring application resources corresponding to the application to be loaded, and loading the application to be loaded according to the application resources;
when the current system environment meets the condition of loading the application, determining the application to be loaded according to the application priority list, wherein the method specifically comprises the following steps:
when the current system environment meets the condition of loading the application, sequentially judging whether the unloaded application in the application priority list meets the loaded condition according to the priority level, wherein the loaded condition is that the occupied memory value of the unloaded application is smaller than or equal to the current residual memory value;
when the unloaded application in the application priority list meets the loaded condition, selecting the application meeting the loaded condition as the application to be loaded;
when the unloaded application in the application priority list does not meet the loaded condition, selecting the next loaded application to judge until the residual memory is insufficient or all the applications in the application priority list are traversed;
the method comprises the steps of obtaining application resources corresponding to the application to be loaded, loading the application to be loaded according to the application resources, and then further comprising:
in a normal use stage, monitoring a current idle memory value of a system in real time, and judging whether the current idle memory value is increased or not;
when the current idle memory value is increased, determining an 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.
2. The method for starting an application according to claim 1, wherein the acquiring the application priority list and the system running memory threshold value comprises:
acquiring user use data, and generating the application priority list according to the user use data; wherein the user usage data includes: application name, application use times, application memory occupation value; the priority in the application priority list corresponds to the application use times.
3. The method for starting an application according to claim 1, wherein the acquiring the application priority list and the system running memory threshold value further comprises:
and acquiring input threshold data, and setting the system operation memory threshold according to the threshold data.
4. The method for starting an application according to claim 1, wherein the determining whether the current system environment meets the condition of loading the application according to the system running memory threshold value 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 running 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 method for starting an application according to claim 4, wherein the determining whether the current system environment meets the condition of 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 the application;
and when the residual memory value is smaller than or equal to the preset value, judging that the current system environment does not meet the condition of loading the application.
6. The method for starting an application according to claim 1, wherein the obtaining an application resource corresponding to the application to be loaded, and loading the application to be loaded according to the application resource, specifically includes:
acquiring application resources corresponding to the application to be loaded;
loading the application to be loaded according to the application resource;
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.
7. A terminal, comprising: a processor and a memory storing an application start-up program which when executed by the processor is adapted to carry out the application start-up method according to any one of claims 1-6.
8. A computer readable storage medium storing an application start-up program which when executed by a processor is adapted to carry out the application start-up method according to any one of claims 1-6.
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 CN112527407A (en) 2021-03-19
CN112527407B true 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)

Families Citing this family (1)

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

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301791A (en) * 2004-04-14 2005-10-27 Nec Corp Mobile communication terminal and application start control method of mobile communication terminal
JP2007148633A (en) * 2005-11-25 2007-06-14 Toshiba Corp Information processor and system control method
CN103914322A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Terminal acceleration method and terminal
CN103309740B (en) * 2013-06-05 2016-12-28 腾讯科技(深圳)有限公司 Program starts method, device and equipment
US10136017B2 (en) * 2016-07-07 2018-11-20 Ricoh Company, Ltd. Information processing system, information processing apparatus, and method for processing information

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Also Published As

Publication number Publication date
CN112527407A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US9776078B2 (en) Application state backup and restoration across multiple devices
US20210390087A1 (en) Application suggestion features
US9600552B2 (en) Proximity based application state synchronization
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
US20120144392A1 (en) Resource Manager for Managing Hardware Resources
CN110933178A (en) Method for adjusting node configuration in cluster system and server
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN110888658B (en) Method and device for dynamically changing function modules in application program and storage medium
CN112527407B (en) Application starting method, terminal and computer readable storage medium
CN111258952B (en) Data storage control method, device and storage medium
CN110825509A (en) Application management method, device, equipment and readable storage medium
CN108363582B (en) Method and device for upgrading homepage of intelligent terminal
CN116700816A (en) Resource management method and electronic equipment
CN113721936A (en) Application management method, intelligent terminal, device and storage medium
CN112291799B (en) Method and device for determining download network speed, user equipment and storage medium
CN115098128A (en) Software updating method, device, equipment and storage medium
CN114466365A (en) Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium
CN112925478A (en) Camera storage space control method, intelligent terminal and computer readable storage medium
CN111385610B (en) Method and device for controlling advertisement duration
CN111190654A (en) Loading method and device of functional module, storage medium and electronic device
CN112861041B (en) Media content display method and device, electronic equipment and storage medium
CN110677731A (en) Application quick starting method and system
CN116820619A (en) Data loading method and electronic equipment
CN113268266B (en) Multi-version coexistence management method, system and medium for applet rendering framework

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