CN109324883A - The EMS memory management process and system of intelligent terminal - Google Patents

The EMS memory management process and system of intelligent terminal Download PDF

Info

Publication number
CN109324883A
CN109324883A CN201810997470.8A CN201810997470A CN109324883A CN 109324883 A CN109324883 A CN 109324883A CN 201810997470 A CN201810997470 A CN 201810997470A CN 109324883 A CN109324883 A CN 109324883A
Authority
CN
China
Prior art keywords
application program
intelligent terminal
priority
application
threshold value
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.)
Pending
Application number
CN201810997470.8A
Other languages
Chinese (zh)
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201810997470.8A priority Critical patent/CN109324883A/en
Publication of CN109324883A publication Critical patent/CN109324883A/en
Pending legal-status Critical Current

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/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
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Abstract

The invention discloses a kind of EMS memory management process of intelligent terminal and systems, are related to the memory management field of terminal device, method includes the following steps: preset knowledge permissions list, stores the mapping relations from message to priority;Application priorities list is established, according to the application priorities of default, records the application name being currently running;When application program sends the message of adjustment priority, the corresponding priority of the message is searched in message authority list, adjusts application priorities list;When intelligent terminal free memory is lower than preset threshold value, application program is closed according to application priorities.The EMS memory management process of intelligent terminal is adapted dynamically application priorities in the present invention.

Description

The EMS memory management process and system of intelligent terminal
Technical field
The present invention relates to the memory management fields of terminal device, and in particular to a kind of memory management side of intelligent terminal Method and system.
Background technique
With greatly developing for network construction, videoconferencing service increases substantially, especially using Android as operating system Intelligent terminal, for example set-top box and Convergence gateway have been introduced into numerous domestic consumers.User is enjoying intelligent terminal While bring is convenient, more functional requirements also are proposed to intelligent terminal.Then it can be mounted on intelligent terminal various The application program of various kinds different function.Since the physical memory of intelligent terminal is limited, current on the market set-top box and melt The equipment physical memory for closing terminal is 1GB.User installation using more and more, video definition, page clarity are all more next Higher, the use for memory is also great increase.Equipment is while meeting user using business demand, it is also desirable to equipment Memory do effective management.
Android system itself carries the memory management mechanism of low memory killer, and this mechanism is using journey Sequence defines priority at the beginning of installing.In the case that Out of Memory is used, the sequence by background program from low to high according to priority is killed Fall.But under this mechanism, the priority of application program is can not changing for fixation, causes this scheme inflexible.For example it rises Grade program, in running background, is interacted with platform at regular intervals when not having upgrading task, at this time preferential Grade is lower.When having upgrading task, very important upgrade package is being downloaded, priority is even higher than answering for foreground at this time Use program.At present under mechanism, different priority can not be set to this application program different conditions.In addition there are also a kind of Situation: application program is to operate normally, it is likely that can rely on other processes as it and provide service.Such as IPTV (interactive net Network TV) application program and probe attendant application be two application programs.When IPTV program is in front stage operation, need to visit Needle service routine reports platform in backstage statistical data, and by the data of statistics.Low memory killer mechanism can not be handled This incidence relation, when occur memory it is low when, due to probe service department backstage, then be likely to be fallen by kill.This feelings Even if IPTV is not on foreground by kill under condition, but the data reporting functions of probe service are just abnormal, statistics platform without Method receives normal data, will also result in influence to the playing function of IPTV.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide one kind, to be adapted dynamically application program excellent The EMS memory management process of the intelligent terminal of first grade.
To achieve the above objectives, the technical solution adopted by the present invention is that:
A kind of EMS memory management process of intelligent terminal, method includes the following steps:
Preset knowledge permissions list stores the mapping relations from message to priority;
Application priorities list is established, according to the application priorities of default, records the application being currently running Program name;
When application program sends the message of adjustment priority, it is corresponding preferential that the message is searched in message authority list Grade adjusts application priorities list;
When intelligent terminal free memory be lower than preset threshold value when, according to application priorities to application program into Row is closed.
Based on the above technical solution, when intelligent terminal free memory is lower than preset threshold value, according to answering Application program is closed with program priority, further comprising the steps of:
When intelligent terminal free memory is lower than preset threshold value, according to application priorities and each application Incidence relation between program, closing does not have associated application program with current shielded application program, until intelligent terminal Equipment free memory is higher than preset threshold value.
Based on the above technical solution, when intelligent terminal free memory is lower than preset threshold value, according to answering With the incidence relation between program priority and each application program, closes and be not associated with current shielded application program Application program, until intelligent terminal free memory be higher than preset threshold value, comprising the following steps:
When intelligent terminal free memory is lower than preset threshold value, closed according to the association between each application program It is, repeatedly inquiry application priority list, according to the sequence of priority from low to high, the application program minimum from priority Start, judges whether it is relevant with current shielded application program, close and do not closed with current shielded application program The application program of connection, until intelligent terminal free memory is higher than preset threshold value.
Based on the above technical solution, when intelligent terminal free memory is lower than preset threshold value, according to each Incidence relation between a application program, inquiry application priority list repeatedly, according to the sequence of priority from low to high, Since the minimum application program of priority, judges whether it is relevant with current shielded application program, close and current Shielded application program does not have associated application program, until intelligent terminal free memory is higher than preset threshold value, packet Include following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, according to application priorities list, inquiry The minimum application name of priority;
C. read the corresponding associated with of the application program, judge the application program whether with it is current shielded using journey There is association in sequence;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes the application program, execute step E;
D. relative to the application program, Query priority is identical or the higher leveled other applications title of priority, holds Row step C;
E. judge whether intelligent terminal free memory is higher than preset threshold value, if so, terminating process;If it is not, executing Step D, until intelligent terminal free memory is higher than preset threshold value.
Based on the above technical solution, judge whether the application program exists with current shielded application program to close Connection, comprising the following steps:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, Wherein the application program of the highest priority is in running background.
At the same time, it is another object of the present invention to provide a kind of intelligence for being adapted dynamically application priorities The internal storage management system of terminal device.
To achieve the above objectives, the technical solution adopted by the present invention is that:
A kind of internal storage management system of intelligent terminal, comprising:
Message authority list preset module is used for preset knowledge permissions list, stores the mapping from message to priority Relationship;
Application priorities list creating module is used to establish application priorities list, the application program Priority list records the application name being currently running according to the application priorities of default;
Priority adjusts module, when being used for the message of application program transmission adjustment priority, in message authority list The corresponding priority of the message is searched, application priorities list is adjusted;
Low memory management module, is used for: when intelligent terminal free memory is lower than preset threshold value, according to application Program priority closes application program.
Based on the above technical solution, described low when intelligent terminal free memory is lower than preset threshold value Memory management module closes application program according to application priorities, detailed process are as follows:
When intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to application program Incidence relation between priority and each application program, closing does not have associated application with current shielded application program Program, until intelligent terminal free memory is higher than preset threshold value.
Based on the above technical solution, described low when intelligent terminal free memory is lower than preset threshold value Memory management module according to the incidence relation between application priorities and each application program, close with it is currently protected Application program there is no associated application program, until intelligent terminal free memory be higher than preset threshold value, detailed process Are as follows:
When intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to each application Incidence relation between program, inquiry application priority list repeatedly, according to the sequence of priority from low to high, from preferential The minimum application program of grade starts, and judges whether it relevant with current shielded application program, close with it is currently protected Application program there is no associated application program, until intelligent terminal free memory be higher than preset threshold value.
Based on the above technical solution, described low when intelligent terminal free memory is lower than preset threshold value Memory management module is according to the incidence relation between each application program, inquiry application priority list repeatedly, according to excellent The sequence of first grade from low to high judges that it is with current shielded application program since the minimum application program of priority No relevant, closing does not have associated application program with current shielded application program, until in intelligent terminal residue It deposits and is higher than preset threshold value, comprising the following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to using journey Sequence priority list, the minimum application name of Query priority;
C. the low memory management module reads the corresponding associated with of the application program, judge the application program whether with There is association in current shielded application program;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes this using journey Sequence executes step E;
D. relative to the application program, the low memory management module Query priority is identical or priority it is higher leveled its His application name executes step C;
E. the low memory management module judges whether intelligent terminal free memory is higher than preset threshold value, if so, Terminate process;If it is not, step D is executed, until intelligent terminal free memory is higher than preset threshold value.
Based on the above technical solution, the low memory management module judge the application program whether with currently protected There is association, detailed process in the application program of shield are as follows:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, Wherein the application program of the highest priority is in running background.
Compared with the prior art, the advantages of the present invention are as follows:
(1) EMS memory management process of intelligent terminal of the invention, application program permission can be adjusted dynamically: be answered With program priority can be dynamically adjusted according to the service condition of itself.It is no longer impacted because of the priority of stationary applications program, Also whether unrelated on foreground with application program.On the other hand, it when can also realize the low memory of equipment, is closed by priority adjusted Close application program releasing memory.
(2) EMS memory management process of intelligent terminal of the invention, the association established between each application program are closed System, and the form of associated with is stored in the system of intelligent terminal.Due to designating each application in associated with The incidence relation of program, then can guarantee that pent application program will not when low memory needs to close application program Influence the business for the application program being associated.
Detailed description of the invention
Fig. 1 is the flow chart of application program permission dynamic adjustment in the embodiment of the present invention;
Fig. 2 is the flow chart for carrying out memory management in the embodiment of the present invention by Application Status and relevance;
Fig. 3 is the structural block diagram of the internal storage management system of intelligent terminal in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
Embodiment 1:
The present embodiment provides a kind of EMS memory management process of intelligent terminal, method includes the following steps:
Preset knowledge permissions list stores the mapping relations from message to priority;
Message authority list realizes that the mapping from message to priority refers to: multiple message can correspond to one preferentially Grade, can also with the corresponding priority of message, but cannot a message correspond to multiple priority.Similar to reflecting in mathematics Relationship is penetrated, i.e., each message can find unique priority and be corresponding to it.
Application priorities list is established, according to the application priorities of default, records the application being currently running Program name;
In the present embodiment, the application name being currently running is recorded by the way of from high to low using priority.
When application program sends the message of adjustment priority, it is corresponding preferential that the message is searched in message authority list Grade adjusts application priorities list;
For example, when not having upgrading task, priority is lower for upgrade procedure;When there is upgrading task, upgrading Program will download upgrade package on backstage, and priority should be highest at this time.Therefore be at this moment be not intended to because memory is too low and Upgrade procedure is closed, upgrade procedure can send the message of adjustment priority at this time, then corresponding excellent according to the message First grade (upgrade procedure is highest priority at this time), is adjusted application priorities list, after the adjustment, just will not It goes to close upgrade procedure.
When intelligent terminal free memory be lower than preset threshold value when, according to application priorities to application program into Row is closed.
Shown in Figure 1, detailed process is as follows for the adjustment of application program permission dynamic in the present embodiment:
S100. application program launching;
S101. application priorities list is added in the default priority of this application program;
S102. judge whether application program sends the message of adjustment priority;
If S103. sending, message authority list, if not sent, return step S102 are searched according to message;
S104. according to the corresponding priority of message, application priorities list is adjusted.
In the present embodiment, application program permission can be adjusted dynamically: i.e. application program can be moved according to the service condition of itself State adjusts priority.It is no longer impacted because of the priority of stationary applications program, it is also whether unrelated on foreground with application program.Separately On the one hand, when can also realize the low memory of equipment, application program releasing memory is closed by priority adjusted.
Embodiment 2:
As a preferable optional way, on the basis of embodiment 1, when intelligent terminal free memory is lower than pre- If threshold value when, application program is closed according to application priorities, it is further comprising the steps of:
When intelligent terminal free memory is lower than preset threshold value, according to application priorities and each application Incidence relation between program, closing does not have associated application program with current shielded application program, until intelligent terminal Equipment free memory is higher than preset threshold value.
Specifically, when intelligent terminal free memory is lower than preset threshold value, according between each application program Incidence relation, inquiry application priority list, minimum from priority according to the sequence of priority from low to high repeatedly Application program starts, and judges whether it is relevant with current shielded application program, closes and apply journey with currently shielded Sequence does not have associated application program, until intelligent terminal free memory is higher than preset threshold value.
Embodiment 3:
As a preferable optional way, on the basis of embodiment 2, when intelligent terminal free memory is lower than pre- If threshold value when, according to the incidence relation between each application program, inquiry application priority list repeatedly, according to preferential Grade sequence from low to high, since the minimum application program of priority, judge its with current shielded application program whether Relevant, closing does not have associated application program with current shielded application program, until intelligent terminal free memory Higher than preset threshold value, comprising the following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, according to application priorities list, inquiry The minimum application name of priority;
C. read the corresponding associated with of the application program, judge the application program whether with it is current shielded using journey There is association in sequence;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes the application program, execute step E;
D. relative to the application program, Query priority is identical or the higher leveled other applications title of priority, holds Row step C;
E. judge whether intelligent terminal free memory is higher than preset threshold value, if so, terminating process;If it is not, executing Step D, until intelligent terminal free memory is higher than preset threshold value.
The identical other applications title of Query priority first in step D, when not having identical other of priority to answer When with program, then the higher leveled other applications title of Query priority.
Further, judge whether the application program exists with current shielded application program to be associated with, including following step It is rapid:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, Wherein the application program of the highest priority is in running background.
Message authority list, associated in the present embodiment in addition to can when version out it is preset other than, can be with By IPTV service platform or network management platform, good format, is handed down to intelligent terminal through consultation, can remotely be changed with realizing The instruction of associated with.
It is shown in Figure 2, the detailed process of memory management is carried out in the present embodiment by Application Status and relevance It is as follows:
S201: determine that intelligent terminal free memory is lower than preset threshold value;I.e. at this time intelligent terminal memory compared with It is low;
S202: application priorities list is read, the minimum application name of priority is found out;
S203: associated with is read, judges whether to be associated with the application program of highest priority;
S204: application program is not closed if association, enters step S207;
S205: closing application program if not being associated with, and enters step S206;
S206: judging whether intelligent terminal free memory is higher than preset threshold value, if so, terminating;If it is not, then into Enter step S207;
S207: reading application priorities list, find out the identical and higher leveled application name of priority, enters Step S203.
Current shielded application program not only includes current foreground program in the present embodiment, it is also contemplated that highest is preferential The program of grade may be the program of running background.
Current shielded application program is the program of running background, and when highest priority, such as upgrade procedure, It when there is no upgrading task, in running background, is interacted at regular intervals with platform, priority at this time is lower. When having upgrading task, very important upgrade package is being downloaded, priority is even higher than the application program on foreground at this time, Priority is adjusted to highest when executing upgrading task.In this way, for the related application program of upgrade procedure, work as intelligence When terminal device free memory is lower than preset threshold value, after the method for the present embodiment, upgrade procedure and its associated program are not Releasing memory can preferentially be closed.
When current shielded application program is current foreground program, specifically, such as: probe service routine is rear Platform counts the data of foreground IPTV application program, and priority is judged as low.But probe server program and IPTV application program Has relevance.When memory is lower than preset threshold value, due to IPTV application priorities highest, even if probe program Priority is low, is also unlikely to be closed.
By the above-mentioned means, can guarantee core application and its associated program, foreground application and its association journey Sequence is not released.
In conclusion in the present embodiment, due to establishing the incidence relation between each application program, and associated with Form be stored in the system of intelligent terminal.After intelligent terminal starting, intelligent terminal residue is detected Memory lower than threshold value need to close application program carry out releasing memory when, it is minimum that inquiry application priority list finds out priority Application name, read associated with, and judge whether the minimum application program of priority shielded answers with current Use program.If can be closed without incidence relation.Otherwise the higher leveled process of priority is required to look up, is recycled above-mentioned Process.Due to designating the incidence relation of each application program in associated with, then needing to close application program in low memory When, it can guarantee that pent application program does not interfere with the business for the application program being associated.
Embodiment 4:
Shown in Figure 3, the present embodiment provides a kind of internal storage management systems of intelligent terminal, comprising:
Message authority list preset module is used for preset knowledge permissions list, stores the mapping from message to priority Relationship;
Application priorities list creating module is used to establish application priorities list, the application program Priority list records the application name being currently running according to the application priorities of default;
Priority adjusts module, when being used for the message of application program transmission adjustment priority, in message authority list The corresponding priority of the message is searched, application priorities list is adjusted;
Low memory management module, is used for: when intelligent terminal free memory is lower than preset threshold value, according to application Program priority closes application program.
The effect of priority adjustment module is the message for receiving each application program and sending over, and is arranged according to message authority Table searches the corresponding priority of message that application program is sent, and adjusts application priorities list.Application program is according to itself Service condition sends message to priority adjustment module, adjusts the priority of application program itself.So far it can realize according to application Program state, dynamic adjust the priority of application program.And when can realize the low memory of equipment, answered by priority adjusted closing With program releasing memory.
Embodiment 5:
As a preferable optional way, on the basis of embodiment 4, when intelligent terminal free memory is lower than pre- If threshold value when, the low memory management module closes application program according to application priorities, detailed process are as follows:
When intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to application program Incidence relation between priority and each application program, closing does not have associated application with current shielded application program Program, until intelligent terminal free memory is higher than preset threshold value.
Specifically, when intelligent terminal free memory is lower than preset threshold value, the low memory management module root According to the incidence relation between each application program, inquiry application priority list repeatedly, from low to high according to priority Sequentially, since the minimum application program of priority, judge whether it relevant with current shielded application program, close with Current shielded application program does not have associated application program, until intelligent terminal free memory is higher than preset threshold Value.
Further, the low memory management module judges whether the application program deposits with current shielded application program It is being associated with, detailed process are as follows:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, Wherein the application program of the highest priority is in running background.
Embodiment 6:
As a preferable optional way, on the basis of embodiment 5, when intelligent terminal free memory is lower than pre- If threshold value when, the low memory management module is according to the incidence relation between each application program, inquiry application repeatedly Priority list, according to the sequence of priority from low to high, since the minimum application program of priority, judge its with currently by Whether the application program of protection is relevant, and closing does not have associated application program with current shielded application program, until intelligence Energy terminal device free memory is higher than preset threshold value, comprising the following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to using journey Sequence priority list, the minimum application name of Query priority;
C. the low memory management module reads the corresponding associated with of the application program, judge the application program whether with There is association in current shielded application program;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes this using journey Sequence executes step E;
D. relative to the application program, the low memory management module Query priority is identical or priority it is higher leveled its His application name executes step C;
E. the low memory management module judges whether intelligent terminal free memory is higher than preset threshold value, if so, Terminate process;If it is not, step D is executed, until intelligent terminal free memory is higher than preset threshold value.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of EMS memory management process of intelligent terminal, which is characterized in that method includes the following steps:
Preset knowledge permissions list stores the mapping relations from message to priority;
Application priorities list is established, according to the application priorities of default, records the application program being currently running Title;
When application program sends the message of adjustment priority, the corresponding priority of the message is searched in message authority list, is adjusted Whole application priorities list;
When intelligent terminal free memory is lower than preset threshold value, application program is closed according to application priorities It closes.
2. the EMS memory management process of intelligent terminal as described in claim 1, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, application program is closed according to application priorities, further comprising the steps of:
When intelligent terminal free memory is lower than preset threshold value, according to application priorities and each application program Between incidence relation, closing does not have associated application program with current shielded application program, until intelligent terminal Free memory is higher than preset threshold value.
3. the EMS memory management process of intelligent terminal as claimed in claim 2, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, according to the incidence relation between application priorities and each application program, close There is no associated application program with current shielded application program, until intelligent terminal free memory is higher than preset threshold Value, comprising the following steps:
When intelligent terminal free memory is lower than preset threshold value, according to the incidence relation between each application program, instead Application priorities list is ask in check, according to the sequence of priority from low to high, since the minimum application program of priority, Judge whether it is relevant with current shielded application program, closing does not have associated answer with current shielded application program With program, until intelligent terminal free memory is higher than preset threshold value.
4. the EMS memory management process of intelligent terminal as claimed in claim 3, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, according to the incidence relation between each application program, inquiry application priority repeatedly List, according to the sequence of priority from low to high, since the minimum application program of priority, judge its with it is current shielded Whether application program is relevant, and closing does not have associated application program with current shielded application program, until intelligent terminal Equipment free memory is higher than preset threshold value, comprising the following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, according to application priorities list, inquiry is preferential The minimum application name of grade;
C. the corresponding associated with of the application program is read, judges whether the application program deposits with current shielded application program It is being associated with;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes the application program, execute step E;
D. relative to the application program, Query priority is identical or the higher leveled other applications title of priority, executes step Rapid C;
E. judge whether intelligent terminal free memory is higher than preset threshold value, if so, terminating process;If it is not, executing step D, until intelligent terminal free memory is higher than preset threshold value.
5. the EMS memory management process of intelligent terminal as claimed in claim 4, which is characterized in that judge that the application program is It is no to be associated with current shielded application program presence, comprising the following steps:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, wherein The application program of the highest priority is in running background.
6. a kind of internal storage management system of intelligent terminal characterized by comprising
Message authority list preset module is used for preset knowledge permissions list, stores the mapping relations from message to priority;
Application priorities list creating module, is used to establish application priorities list, and the application program is preferential Grade list records the application name being currently running according to the application priorities of default;
Priority adjusts module, when being used for the message of application program transmission adjustment priority, searches in message authority list The corresponding priority of the message adjusts application priorities list;
Low memory management module, is used for: when intelligent terminal free memory is lower than preset threshold value, according to application program Priority closes application program.
7. the internal storage management system of intelligent terminal as claimed in claim 6, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, the low memory management module closes application program according to application priorities It closes, detailed process are as follows:
When intelligent terminal free memory is lower than preset threshold value, the low memory management module is preferential according to application program Incidence relation between grade and each application program, closing do not have associated using journey with current shielded application program Sequence, until intelligent terminal free memory is higher than preset threshold value.
8. the internal storage management system of intelligent terminal as claimed in claim 7, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, the low memory management module according to application priorities and each application program it Between incidence relation, closing does not have associated application program with current shielded application program, until intelligent terminal is surplus Remaining memory is higher than preset threshold value, detailed process are as follows:
When intelligent terminal free memory is lower than preset threshold value, the low memory management module is according to each application program Between incidence relation, inquiry application priority list repeatedly, according to the sequence of priority from low to high, most from priority Low application program starts, and judges whether it is relevant with current shielded application program, closes and answer with currently shielded There is no associated application program with program, until intelligent terminal free memory is higher than preset threshold value.
9. the internal storage management system of intelligent terminal as claimed in claim 8, which is characterized in that when intelligent terminal is surplus When remaining memory is lower than preset threshold value, the low memory management module is according to the incidence relation between each application program, repeatedly Inquiry application priority list is sentenced since the minimum application program of priority according to the sequence of priority from low to high Breaking, whether it is relevant with current shielded application program, and closing does not have associated application with current shielded application program Program, until intelligent terminal free memory is higher than preset threshold value, comprising the following steps:
A. the incidence relation between preset each application program, and stored in the form of associated with;
B. when intelligent terminal free memory is lower than preset threshold value, the low memory management module is excellent according to application program First grade list, the minimum application name of Query priority;
C. the low memory management module reads the corresponding associated with of the application program, judge the application program whether with currently There is association in shielded application program;It is associated with if it exists, executes step D;It is associated with if it does not exist, then closes the application program, Execute step E;
D. relative to the application program, the low memory management module Query priority is identical or higher leveled other of priority are answered With program name, step C is executed;
E. the low memory management module judges whether intelligent terminal free memory is higher than preset threshold value, if so, terminating Process;If it is not, step D is executed, until intelligent terminal free memory is higher than preset threshold value.
10. the internal storage management system of intelligent terminal as claimed in claim 9, which is characterized in that the low memory management Module judges whether the application program is associated with current shielded application program presence, detailed process are as follows:
Judge whether the application program exists with the application program of current foreground program and/or highest priority to be associated with, wherein The application program of the highest priority is in running background.
CN201810997470.8A 2018-08-29 2018-08-29 The EMS memory management process and system of intelligent terminal Pending CN109324883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810997470.8A CN109324883A (en) 2018-08-29 2018-08-29 The EMS memory management process and system of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810997470.8A CN109324883A (en) 2018-08-29 2018-08-29 The EMS memory management process and system of intelligent terminal

Publications (1)

Publication Number Publication Date
CN109324883A true CN109324883A (en) 2019-02-12

Family

ID=65263848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810997470.8A Pending CN109324883A (en) 2018-08-29 2018-08-29 The EMS memory management process and system of intelligent terminal

Country Status (1)

Country Link
CN (1) CN109324883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076193A (en) * 2021-03-26 2021-07-06 北京车和家信息技术有限公司 Memory optimization method and device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550035A (en) * 2015-12-04 2016-05-04 小米科技有限责任公司 Background process control method and device
US20160306657A1 (en) * 2015-04-20 2016-10-20 Hisense Usa Corp. Dynamic priority queue
CN107423127A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Management-control method, device, storage medium and the electronic equipment of application program
CN107463403A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment
CN107463436A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment
CN107589994A (en) * 2017-08-16 2018-01-16 深圳市爱培科技术股份有限公司 Method, equipment, system and the storage medium of application process priority management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160306657A1 (en) * 2015-04-20 2016-10-20 Hisense Usa Corp. Dynamic priority queue
CN105550035A (en) * 2015-12-04 2016-05-04 小米科技有限责任公司 Background process control method and device
CN107423127A (en) * 2017-07-31 2017-12-01 广东欧珀移动通信有限公司 Management-control method, device, storage medium and the electronic equipment of application program
CN107463403A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment
CN107463436A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment
CN107589994A (en) * 2017-08-16 2018-01-16 深圳市爱培科技术股份有限公司 Method, equipment, system and the storage medium of application process priority management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076193A (en) * 2021-03-26 2021-07-06 北京车和家信息技术有限公司 Memory optimization method and device and computer readable storage medium
CN113076193B (en) * 2021-03-26 2024-03-26 北京车和家信息技术有限公司 Memory optimization method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108495195B (en) Network live broadcast ranking list generation method, device, equipment and storage medium
CN105354492B (en) Communication terminal and its message informing control method and device
CN106911502B (en) A kind of upgrade method and system of intelligent home gateway equipment
US20080137569A1 (en) Method and system for distributing mobile broadcast service and mobile terminal
CN109688097A (en) Website protection method, website protective device, website safeguard and storage medium
CN103473502A (en) Method and system for acquiring Root rights of android-based mobile terminal
CN102694873B (en) A kind of address pool distribution system and method
CN101227398B (en) Method and system for automatic adjusting application of network address conversion
CN103684880A (en) Alarming control method and alarming device
EP4084415A1 (en) Data management method and system, associated subsystem and computer readable medium
CN105897461A (en) Multi-system OTA upgrading method and multi-system device
CN110519306A (en) A kind of the equipment access control method and device of Internet of Things
CN102388575B (en) Dynamic DSL line bandwidth management method, system and equipment in subscriber's agreement situation
CN111954009B (en) Video data push system crossing network domains
CN103259869B (en) A kind of concentration approaches to IM based on Distributed Storage
CN109324883A (en) The EMS memory management process and system of intelligent terminal
US8396057B2 (en) Method and apparatus for traffic regulation in a communication network
CN105812843A (en) Method and system of intelligent TV upgrade
EP2385726B1 (en) Apparatus and method for controlling amount of concurrent calls
CN106791992A (en) Signal source method for pushing and system
CN105163336B (en) Optimize the method and system of wireless network stability
CN110868608A (en) Live broadcast service scheduling method, device and storage medium
CN108287793A (en) The way to play for time and server of response message
CN110309477A (en) Page access path acquisition method
CN115134356A (en) Method, system and medium for distributing monitoring node downloads for central node

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212