CN105677472A - Control method of running memory of mobile terminal and mobile terminal - Google Patents

Control method of running memory of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN105677472A
CN105677472A CN201610026589.1A CN201610026589A CN105677472A CN 105677472 A CN105677472 A CN 105677472A CN 201610026589 A CN201610026589 A CN 201610026589A CN 105677472 A CN105677472 A CN 105677472A
Authority
CN
China
Prior art keywords
running memory
mobile terminal
background application
threshold value
takies
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
CN201610026589.1A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610026589.1A priority Critical patent/CN105677472A/en
Publication of CN105677472A publication Critical patent/CN105677472A/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
    • 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/5061Partitioning or combining of resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention belongs to the field of mobile terminals, and provides a control method of the running memory of a mobile terminal and the mobile terminal. By obtaining the total running memory occupied by background applications of the mobile terminal and the number of the background applications, judging whether the total running memory occupied by the background applications of the mobile terminal reaches a preset running memory threshold value or not, and adjusting and controlling the running memory of the mobile terminal according to the judgment result and the number of the background applications, the running memory occupied by the background applications can be effectively controlled by the mobile terminal, so the system runs smoothly without being stuck, and use experience is improved for users.

Description

The control method of a kind of running of mobile terminal internal memory and mobile terminal
Technical field
The invention belongs to field of mobile terminals, particularly relate to control method and the mobile terminal of a kind of running of mobile terminal internal memory.
Background technology
Mobile terminal has the history of decades as simple communication equipment with Mobile Communication Development. Starting from 2007, intellectuality has caused mobile terminal gene mutation, fundamentally changes the terminal tradition location as mobile network's tip. Mobile intelligent terminal is almost changed into crucial entrance and the main innovation platform of Internet service between a flash, new media, ecommerce and information service platform, the most important hinge of Internet resources, mobile network resource and environmental interaction resource, its operating system and processor chips even become the strategic high ground of current whole ICT industry. The prelude having opened mobile Internet industry development is changed in the subversiveness that mobile intelligent terminal causes, and opens a new technical industry cycle. Along with the sustainable development of mobile intelligent terminal, its power of influence will shoulder to shoulder radio, TV and the Internet (PC), become in human history the 4th infiltration extensively, universal rapidly, affect huge, deeply to the end product of human society life every aspect.
But, along with the intelligentized development of mobile terminal, installation to be applied in the running memory that backstage takies also increasing, cause the card of system to pause, have a strong impact on the experience of user.
Summary of the invention
It is an object of the invention to provide the control method of a kind of running of mobile terminal internal memory, it is intended to solve current mobile terminal and be applied in backstage and take too much running memory and cause what system card paused problem.
In order to solve above-mentioned technical problem, the present invention is achieved in that the control method of a kind of running of mobile terminal internal memory, said method comprising the steps of:
Obtain the number of total running memory of taking of mobile terminal background application and background application;
Judge whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value;
The running memory of described mobile terminal is adjusted controlling by the number according to judged result and described background application.
Further, before the total running memory taken in described acquisition mobile terminal background application and the step of the number of background application, also include:
Detect the default running memory of described mobile terminal;
Described default running memory threshold value is set according to user setup.
Further, whether the described total running memory judging that described mobile terminal background application takies reaches to preset the step of running memory threshold value, including:
Total running memory that the background application of described acquisition is taken and described default running memory threshold comparison;
If total running memory that the background application of described acquisition takies is more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies reaches described default running memory threshold value;
If total running memory that the background application of described acquisition takies is not more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies is not up to described default running memory threshold value.
Further, the running memory of described mobile terminal is adjusted the step controlled by the described number according to judged result and described background application, including:
The running memory control constant k1 of described mobile terminal is calculated according to following formula;
;
Described running memory control constant k1 more than preset constant k2 (k21), time, close described mobile terminal backstage and take the application that running memory is maximum;
When described running memory control constant k1 is less than or equal to described preset constant k2, the number of the application maintaining described mobile terminal backstage is constant;
Wherein, x1 represents total running memory that described mobile terminal background application takies, and x2 represents default running memory threshold value, and y1 represents the number of described mobile terminal background application, and y2 represents the number threshold value of described mobile terminal background application.
Further, described preset constant k2 is 1/3.
The purpose of the embodiment of the present invention also resides in a kind of mobile terminal of offer, and described mobile terminal includes:
Acquiring unit, for obtaining the number of total running memory that mobile terminal background application takies and background application;
Judging unit, for judging whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value;
Control unit, for being adjusted controlling to the running memory of described mobile terminal according to the number of judged result and described background application.
Further, described mobile terminal also includes:
Detection unit, for detecting the default running memory of described mobile terminal;
Unit is set, for setting described default running memory threshold value according to user setup.
Further, described judging unit specifically for:
Total running memory that the background application of described acquisition is taken and described default running memory threshold comparison;
If total running memory that the background application of described acquisition takies is more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies reaches described default running memory threshold value;
If total running memory that the background application of described acquisition takies is not more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies is not up to described default running memory threshold value.
Further, described control unit specifically for:
The running memory control constant k1 of described mobile terminal is calculated according to following formula;
;
Described running memory control constant k1 more than preset constant k2 (k21), time, close described mobile terminal backstage and take the application that running memory is maximum;
When described running memory control constant k1 is less than or equal to described preset constant k2, the number of the application maintaining described mobile terminal backstage is constant;
Wherein, x1 represents total running memory that described mobile terminal background application takies, and x2 represents default running memory threshold value, and y1 represents the number of described mobile terminal background application, and y2 represents the number threshold value of described mobile terminal background application.
Further, described preset constant k2 is 1/3.
In embodiments of the present invention, the total running memory taken by acquisition mobile terminal background application and the number of background application, and judge whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value, then it is adjusted controlling to the running memory of described mobile terminal according to the number of judged result and described background application, mobile terminal is made can effectively to control the running memory that background application takies, and then the system smoothness of making do not block time, promote the experience of user.
Accompanying drawing explanation
Fig. 1 is the flow chart of the control method of the running of mobile terminal internal memory that the embodiment of the present invention provides;
Fig. 2 is the flow chart of the control method of the running of mobile terminal internal memory that the preferred embodiment of the present invention provides;
Fig. 3 is the frame construction drawing of the mobile terminal that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with specific embodiment, implementing of the present invention is described in detail:
Fig. 1 illustrates the flow process of the control method of the running of mobile terminal internal memory that the embodiment of the present invention provides, and for the ease of illustrating, only listing the part relevant to the embodiment of the present invention, details are as follows:
The control method of the running of mobile terminal internal memory that the embodiment of the present invention provides, comprises the following steps:
Step S30, obtains the number of total running memory of taking of mobile terminal background application and background application. In embodiments of the present invention, running memory and RAM, whether obtain total running memory of taking of mobile terminal background application to be easy to the system of monitoring mobile terminal and block time, system card too much can be caused to pause when running memory takies, the number obtaining background application is then easy to control the quantity of background application.
Step S40, it is judged that whether total running memory that this mobile terminal background application takies reaches to preset running memory threshold value.
In embodiments of the present invention, it is judged that whether total running memory that mobile terminal background application takies reaches to preset running memory threshold value is then the condition triggering and whether controlling running memory. Specifically, the embodiment of step S40 is:
A1. the total running memory background application of this acquisition taken and this default running memory threshold comparison;
If total running memory that a2. background application of this acquisition takies is more than this default running memory threshold value, then judge that total running memory that this mobile terminal background application takies reaches this default running memory threshold value;
If total running memory that a3. background application of this acquisition takies is not more than this default running memory threshold value, then judge that total running memory that this mobile terminal background application takies is not up to this default running memory threshold value.
Step S50, is adjusted controlling to the running memory of this mobile terminal according to the number of judged result and this background application.
In embodiments of the present invention, the detailed description of the invention of step S50 is:
The running memory control constant k1 of this mobile terminal is calculated according to following formula;
;
This running memory control constant k1 more than preset constant k2 (k21), time, close this mobile terminal backstage and take the application that running memory is maximum, until k1 is more than k2;
When this running memory control constant k1 is less than or equal to this preset constant k2, the number of the application maintaining this mobile terminal backstage is constant;Namely background application is not turned off
Wherein, x1 represents total running memory that this mobile terminal background application takies, and x2 represents default running memory threshold value, y1 represents the number of this mobile terminal background application, y2 represents the number threshold value of this mobile terminal background application, it is preferable that this preset constant k2 is 1/3.
Fig. 2 illustrates the flow process of the control method of the running of mobile terminal internal memory that the preferred embodiment of the present invention provides, and for the ease of illustrating, only listing the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the present invention, before step S30, also include:
Step S10, detects the default running memory of this mobile terminal;
Step S20, sets this default running memory threshold value according to user setup.
In embodiments of the present invention, the default running memory of mobile terminal and the total running memory of mobile terminal, for hardware parameter, can not in change, and after have detected total running memory, user can arrange a running memory threshold value according to demand, namely preset running memory threshold value.
In embodiments of the present invention, the total running memory taken by acquisition mobile terminal background application and the number of background application, and judge whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value, then it is adjusted controlling to the running memory of described mobile terminal according to the number of judged result and described background application, mobile terminal is made can effectively to control the running memory that background application takies, and then the system smoothness of making do not block time, promote the experience of user.
Fig. 3 illustrates the frame construction drawing of the mobile terminal that the embodiment of the present invention provides, and for the ease of illustrating, only listing the part relevant to the embodiment of the present invention, details are as follows:
The mobile terminal that the embodiment of the present invention provides, including detection unit 100, arranges unit 200, acquiring unit 300, judging unit 400 and control unit 500;
Detection unit 100 is for detecting the default running memory of this mobile terminal; Unit 200 is set for setting this default running memory threshold value according to user setup; Total running memory that acquiring unit 300 takies for obtaining mobile terminal background application and the number of background application; Judging unit 400 is for judging whether total running memory that this mobile terminal background application takies reaches to preset running memory threshold value; Control unit 500 is for being adjusted controlling to the running memory of this mobile terminal according to the number of judged result and this background application.
As one embodiment of the present invention, it is judged that unit 400 specifically for:
Total running memory that the background application of this acquisition is taken and this default running memory threshold comparison;
If total running memory that the background application of this acquisition takies is more than this default running memory threshold value, then judge that total running memory that this mobile terminal background application takies reaches this default running memory threshold value;
If total running memory that the background application of this acquisition takies is not more than this default running memory threshold value, then judge that total running memory that this mobile terminal background application takies is not up to this default running memory threshold value.
As one embodiment of the present invention, control unit 500 specifically for:
The running memory control constant k1 of this mobile terminal is calculated according to following formula;
;
This running memory control constant k1 more than preset constant k2 (k21), time, close this mobile terminal backstage and take the application that running memory is maximum;
When this running memory control constant k1 is less than or equal to this preset constant k2, the number of the application maintaining this mobile terminal backstage is constant;
Wherein, x1 represents total running memory that this mobile terminal background application takies, and x2 represents default running memory threshold value, and y1 represents the number of this mobile terminal background application, and y2 represents the number threshold value of this mobile terminal background application.
As one embodiment of the present invention, this preset constant k2 is 1/3.
The mobile terminal that the embodiment of the present invention provides is corresponding with the embodiment of the control method of above-mentioned running of mobile terminal internal memory, and its operation principle and mode are all corresponding to be suitable for, and just repeats no more here.
In embodiments of the present invention, the total running memory taken by acquisition mobile terminal background application and the number of background application, and judge whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value, then it is adjusted controlling to the running memory of described mobile terminal according to the number of judged result and described background application, mobile terminal is made can effectively to control the running memory that background application takies, and then the system smoothness of making do not block time, promote the experience of user.
It will be appreciated by those skilled in the art that the unit included for above-described embodiment is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as being capable of corresponding function; It addition, the concrete title of each functional unit is also only to facilitate mutually distinguish, it is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, realize all or part of step in above-described embodiment method to can be by the hardware that program carrys out instruction relevant and complete, described program can in being stored in a computer read/write memory medium, described storage medium, including ROM/RAM, disk, CD etc.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (10)

1. the control method of a running of mobile terminal internal memory, it is characterised in that said method comprising the steps of:
Obtain the number of total running memory of taking of mobile terminal background application and background application;
Judge whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value;
The running memory of described mobile terminal is adjusted controlling by the number according to judged result and described background application.
2. method according to claim 1, it is characterised in that before the total running memory taken in described acquisition mobile terminal background application and the step of the number of background application, also include:
Detect the default running memory of described mobile terminal;
Described default running memory threshold value is set according to user setup.
3. method according to claim 1, it is characterised in that whether the described total running memory judging that described mobile terminal background application takies reaches to preset the step of running memory threshold value, including:
Total running memory that the background application of described acquisition is taken and described default running memory threshold comparison;
If total running memory that the background application of described acquisition takies is more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies reaches described default running memory threshold value;
If total running memory that the background application of described acquisition takies is not more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies is not up to described default running memory threshold value.
4. method according to claim 1, it is characterised in that the running memory of described mobile terminal is adjusted the step controlled by the described number according to judged result and described background application, including:
The running memory control constant k1 of described mobile terminal is calculated according to following formula;
;
Described running memory control constant k1 more than preset constant k2 (k21), time, close described mobile terminal backstage and take the application that running memory is maximum;
When described running memory control constant k1 is less than or equal to described preset constant k2, the number of the application maintaining described mobile terminal backstage is constant;
Wherein, x1 represents total running memory that described mobile terminal background application takies, and x2 represents default running memory threshold value, and y1 represents the number of described mobile terminal background application, and y2 represents the number threshold value of described mobile terminal background application.
5. method according to claim 4, it is characterised in that described preset constant k2 is 1/3.
6. a mobile terminal, it is characterised in that described mobile terminal includes:
Acquiring unit, for obtaining the number of total running memory that mobile terminal background application takies and background application;
Judging unit, for judging whether total running memory that described mobile terminal background application takies reaches to preset running memory threshold value;
Control unit, for being adjusted controlling to the running memory of described mobile terminal according to the number of judged result and described background application.
7. mobile terminal according to claim 6, it is characterised in that described mobile terminal also includes:
Detection unit, for detecting the default running memory of described mobile terminal;
Unit is set, for setting described default running memory threshold value according to user setup.
8. mobile terminal according to claim 6, it is characterised in that described judging unit specifically for:
Total running memory that the background application of described acquisition is taken and described default running memory threshold comparison;
If total running memory that the background application of described acquisition takies is more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies reaches described default running memory threshold value;
If total running memory that the background application of described acquisition takies is not more than described default running memory threshold value, then judge that total running memory that described mobile terminal background application takies is not up to described default running memory threshold value.
9. mobile terminal according to claim 6, it is characterised in that described control unit specifically for:
The running memory control constant k1 of described mobile terminal is calculated according to following formula;
;
Described running memory control constant k1 more than preset constant k2 (k21), time, close described mobile terminal backstage and take the application that running memory is maximum;
When described running memory control constant k1 is less than or equal to described preset constant k2, the number of the application maintaining described mobile terminal backstage is constant;
Wherein, x1 represents total running memory that described mobile terminal background application takies, and x2 represents default running memory threshold value, and y1 represents the number of described mobile terminal background application, and y2 represents the number threshold value of described mobile terminal background application.
10. mobile terminal according to claim 9, it is characterised in that described preset constant k2 is 1/3.
CN201610026589.1A 2016-01-17 2016-01-17 Control method of running memory of mobile terminal and mobile terminal Pending CN105677472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610026589.1A CN105677472A (en) 2016-01-17 2016-01-17 Control method of running memory of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610026589.1A CN105677472A (en) 2016-01-17 2016-01-17 Control method of running memory of mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN105677472A true CN105677472A (en) 2016-06-15

Family

ID=56300822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610026589.1A Pending CN105677472A (en) 2016-01-17 2016-01-17 Control method of running memory of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN105677472A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354561A (en) * 2016-08-24 2017-01-25 刘勇 Method for controlling running memory of mobile terminal and mobile terminal
CN106528296A (en) * 2016-11-21 2017-03-22 滁州职业技术学院 Control method for running memory of mobile terminal, and mobile terminal
CN106649046A (en) * 2016-12-30 2017-05-10 刘超 Temperature control method and mobile terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094936A (en) * 2015-09-24 2015-11-25 广东小天才科技有限公司 Background application program cleaning method and device applied to mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094936A (en) * 2015-09-24 2015-11-25 广东小天才科技有限公司 Background application program cleaning method and device applied to mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354561A (en) * 2016-08-24 2017-01-25 刘勇 Method for controlling running memory of mobile terminal and mobile terminal
CN106354561B (en) * 2016-08-24 2020-01-24 禄可科技集团有限公司 Control method for running memory of mobile terminal and mobile terminal
CN106528296A (en) * 2016-11-21 2017-03-22 滁州职业技术学院 Control method for running memory of mobile terminal, and mobile terminal
CN106528296B (en) * 2016-11-21 2019-05-14 滁州职业技术学院 A kind of control method of running of mobile terminal memory
CN109992088A (en) * 2016-11-21 2019-07-09 滁州职业技术学院 A kind of mobile terminal
CN106649046A (en) * 2016-12-30 2017-05-10 刘超 Temperature control method and mobile terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal

Similar Documents

Publication Publication Date Title
CN103686663B (en) Network flow monitoring method and device
CN105677472A (en) Control method of running memory of mobile terminal and mobile terminal
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN105511594A (en) Mobile terminal and method for controlling temperatures thereof
CN102799489B (en) Method and device for controlling terminal, and terminal
CN103327184A (en) Function switching method and user terminal
CN105896657A (en) Method of charging mobile terminal and mobile terminal
CN104750520B (en) A kind of software installation method and terminal
CN105700663A (en) Background program cleaning method and system for mobile terminal
CN105096977A (en) Control method for multimedia playing and mobile terminal
CN104320536B (en) A kind of method and system of secret protection
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN103096385A (en) Method and device and terminal of flow control
CN104902526A (en) Method and device for switching network, and mobile terminal
CN105718284A (en) Application starting method and apparatus for communication terminal
CN104699502A (en) Application recommendation method and terminal
CN104991820B (en) The method and mobile terminal that a kind of mobile terminal application is switched fast
CN105759974A (en) Method for controlling screen luminance of mobile terminal and mobile terminal
CN105700664A (en) Mobile terminal power saving method and mobile terminal
CN106101077A (en) A kind of method and device limiting application online
CN104809046A (en) Application program networking control method and application program networking control device
CN104991700A (en) Mobile terminal application switching method and mobile terminal
CN112654957B (en) Suspended window control method and related products
CN105159772A (en) Control method for memory of mobile terminal and mobile terminal
CN106354561B (en) Control method for running memory of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160615