Nothing Special   »   [go: up one dir, main page]

CN108519916A - Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process - Google Patents

Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process Download PDF

Info

Publication number
CN108519916A
CN108519916A CN201810345874.9A CN201810345874A CN108519916A CN 108519916 A CN108519916 A CN 108519916A CN 201810345874 A CN201810345874 A CN 201810345874A CN 108519916 A CN108519916 A CN 108519916A
Authority
CN
China
Prior art keywords
application
clean
application process
clear
terminal
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
CN201810345874.9A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810345874.9A priority Critical patent/CN108519916A/en
Publication of CN108519916A publication Critical patent/CN108519916A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • 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/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a kind of processing method of terminal clean up process, the described method comprises the following steps:It obtains the original application of default setting and/or the application of self-defined reservation and generates reservation list;Before clearing up application process, the memory information of present terminal is obtained;According to the memory information, judge whether to need to clear up application process;When needing to clear up application process, based on preset cleaning rule and the application in the reservation list, the application process for needing to clear up is determined, and generate cleaning notification information, for asking the user whether to determine clean up process;When receiving the operational order for confirming clean up process, the application process cleared up is needed described in positive closing.The invention also discloses a kind of mobile terminal and readable storage medium storing program for executing.The present invention can realize that the application process by unreasonable committed memory resource discharges, and then ensure the fluency and cruising ability of terminal operating, and reduce the operation of user, and then improve the usage experience of user.

Description

Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of processing method of terminal clean up process, movements eventually End and readable storage medium storing program for executing.
Background technology
With the continuous development of electronic technology and mobile terminal becomes increasingly popular, and existing terminal can install a variety of applications Program, social software, player, map, game etc..Application process is the running example of application program, needs consumption one Fixed memory source, and memory is limited.
During mobile terminal use, application process is active in system background for a long time, greatly consumes memory source so that Terminal operating is susceptible to the phenomenon that interim card, and then the strong influence fluency of terminal operating and the continuation of the journey energy of terminal Power thereby reduces the experience of user's using terminal.
Invention content
The main purpose of the present invention is to provide a kind of processing method, mobile terminal and the readable storages of terminal clean up process Medium, it is intended to solving application process in the prior art excessively leads to low memory, and then influence terminal operating fluency and The technical issues of cruising ability.
To achieve the above object, the processing method of a kind of terminal clean up process provided by the invention, the terminal clear up into The processing method of journey includes the following steps:
It obtains the original application of default setting and/or the application of self-defined reservation and generates reservation list;
Before clearing up application process, the memory information of present terminal is obtained;
According to the memory information, judge whether to need to clear up application process;
When needing to clear up application process, based on preset cleaning rule and the application in the reservation list, determines and need The application process of cleaning, and cleaning notification information is generated, for asking the user whether to determine clean up process;
When receiving the operational order for confirming clean up process, the application process cleared up is needed described in positive closing.
Preferably, the memory information includes:Memory occupied by initial or self-defined free memory amount, operation application process Used amount of ram.
Preferably, described according to the memory information, judge whether that needing to clear up application process includes:
According to the free memory amount and it is described used amount of ram, calculate remaining available quantity;
Judge whether the remaining available quantity is less than or equal to predetermined threshold value;
When the remaining available quantity is less than or equal to predetermined threshold value, determines and need to clear up application process.
Preferably, described when needing to clear up application process, based on preset cleaning rule and answering in the reservation list With, the determining application process for needing to clear up, and cleaning notification information is generated, for asking the user whether to determine clean up process packet It includes:
When needing to clear up application process, the application retained in list is read, and obtain all of running background and answer Use process;
In each application process of operation, rejects and, using consistent application process, obtained in the reservation list Need the application process cleared up;
Selection window is popped up after generating cleaning notification information based on the application process for needing to clear up, so that user selects It selects and whether determines clean up process.
Preferably, described in each application process of operation, reject with it is described retain list in using consistent Application process, after obtaining the application process for needing to clear up, the processing method of the terminal clean up process further includes:
Based on the operation information of the application process for needing to clear up, judge whether to be greater than or equal to preset duration not The application used;
When not used in application, determining that the application process of the application is final needs in the presence of preset duration is greater than or equal to The application process of cleaning.
Preferably, the processing method of the terminal clean up process further includes:
It when receiving the control instruction of clean up process, determines and needs to clear up application process, and execute described based on preset Cleaning rule determines the application process for needing to clear up, and generates the operation of cleaning notification information.
Preferably, it needs to clear up when receiving the operational order for confirming clean up process, described in positive closing described After application process, the processing method of the terminal clean up process further includes:
It needs the application process cleared up to be added to forbid in self-operating list by described, and forbids described needing that clears up to answer It is run with process self-starting.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes:Memory, Processor and be stored in the clean up process processing routine that can be run on the memory and on the processor, it is described clear up into It is realized such as the processing method of the terminal clean up process as described in any one of above-mentioned when journey processing routine is executed by the processor Step.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with clean up process processing routine on storage medium, is realized as above-mentioned when the clean up process processing routine is executed by processor Any one of described in terminal clean up process processing method the step of.
The present invention is to obtain the original application of default setting and/or the application of self-defined reservation and generate reservation row first Table obtains the memory information of present terminal then before clearing up application process, according to memory information, judges whether to need to clear up Application process.When needing to clear up application process, need to clear up with the application in list, determination is retained based on preset cleaning rule Application process avoid closing the application that uses of user to retain the application process without cleaning.Determining what needs were cleared up When application process, also generate cleaning notification information, for ask the user whether determine clean up process, to avoid clearing up automatically into The bad experience of Cheng Zaocheng user.When receiving the operational order for confirming clean up process, positive closing needs the application cleared up Process discharges the application process of unreasonable committed memory resource to realize, and then ensures the fluency of terminal operating And cruising ability, and reduce the operation of user, and then improve the usage experience of user.
Description of the drawings
A kind of hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of one embodiment of processing method of terminal clean up process of the present invention;
Fig. 4 is the refinement flow diagram of mono- embodiments of Fig. 3 steps S30;
Fig. 5 is the refinement flow diagram of mono- embodiments of step S40 in Fig. 3;
Fig. 6 is the refinement flow diagram of another embodiments of step S40 in Fig. 3.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, Tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), just Prompt formula media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer Deng.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.In the present invention, the memory of mobile terminal 100 It is stored with using fast starting sequence in 109.Memory 109 can include mainly storing program area and storage data field, wherein deposit Store up program area can storage program area, (for example sound-playing function, image play work(to the application program needed at least one function Energy is equal) etc.;Storage data field can be stored uses created data (such as audio data, phone directory etc.) etc. according to mobile phone. Can also include nonvolatile memory in addition, memory 109 may include high-speed random access memory, for example, at least one A disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In the present invention, processor 110 is configured to execute clean up process processing routine to execute operations described below:Manufacture is obtained to set The application of the original application and/or self-defined reservation set simultaneously generates reservation list;Before clearing up application process, present terminal is obtained Memory information;According to the memory information, judge whether to need to clear up application process;When needing to clear up application process, base In preset cleaning rule and the application in the reservation list, the application process for needing to clear up is determined, and generate cleaning notice letter Breath, for asking the user whether to determine clean up process;When receiving the operational order for confirming clean up process, described in positive closing Need the application process cleared up.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although being not shown in Fig. 1, mobile terminal 100 can also be no longer superfluous herein including bluetooth module etc. in the present invention It states.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, the processing of terminal clean up process of the present invention is proposed The each embodiment of method.
It is the flow diagram of one embodiment of processing method of terminal clean up process of the present invention with reference to Fig. 3, Fig. 3.
In the present embodiment, the processing method of terminal clean up process includes the following steps:
Step S10 obtains the original application of default setting and/or the application of self-defined reservation and generates reservation list;
In the present embodiment, since terminal is in manufacture, advance installation system and application program, to support the base of terminal This utilization, user can use and additionally install other application on this basis, and preassembled application program, run Process ensures the realizability of terminal operating, thus can retain in clean up process, thus the application initially installed is enumerated simultaneously It generates and retains list.Further, user carries out self-defined setting to the application process that needs retain, to which this need to be cleared up Process remains, and meets different demands of the user to different application.
Step S20 obtains the memory information of present terminal before clearing up application process;
In the present embodiment, application program refer in order to complete a certain or a few particular task and by developing operation in operation Computer program on system.Application process is the running example of application program, is a Dynamic Execution of application program.When As soon as when operation program, a process is started.Obviously, program is dead (static), and process is living (dynamic).It is interior It is one of the ost important components in computer to deposit, it is the bridge linked up with CPU.The operation of all programs is all in computer It carries out in memory, therefore influence of the performance of memory to computer is very big.The also referred to as interior storage of memory (Memory) Device, effect are and the data exchanged with external memories such as hard disks for temporarily storing the operational data in CPU.As long as In operation, CPU will carry out operation to computer needing the data of operation to be transferred in memory, and CPU again will after the completion of operation As a result it sends out, the operation of memory also determines the stable operation of computer.Therefore each process is required to consume centainly Memory source, and terminal system memory is limited.Before system clears up application process automatically, the interior of present terminal is obtained first Information is deposited, to judge whether to need clean up process, to realize intelligent releasing memory space.
Further, memory information includes:Memory occupied by initial or self-defined free memory amount, operation application process Amount of ram has been used, can also include remaining free memory amount etc..Memory size is fixed value, can be 8G, 4G, 32M etc., specific root It is configured according to actual needs.In use, interior save as of system and the run occupancy of application program has used memory, not Free memory is saved as in occupied.In general, terminal, by the advance installation system of producer and application program, removes this in manufacture The memory that part occupies, remaining as initial free memory amount, i.e., initial free memory amount is when user does not install other application Pure state is the maximum value of free memory.Self-defined free memory amount, as the term suggests for the available interior of User Defined setting Deposit size, value range is zero to initial free memory amount.Remaining free memory amount subtracts system and application for memory size Run the value of the amount of ram of consumption.
Step S30 judges whether to need to clear up application process according to memory information;
Step S40, based on preset cleaning rule and the application in reservation list, is determined when needing to clear up application process The application process cleared up is needed, and generates cleaning notification information, for asking the user whether to determine clean up process;
In the present embodiment, by the memory information of acquisition, judge whether to need clean up process.When need clear up application process When, that is, releasing memory space is needed, to ensure the fluency of system operation.Preset cleaning rule is the rule pre-set Then, the application process cleared up to determining needs, that is, determine the application process of unreasonable committed memory.In using terminal When, exist simultaneously multiple processes, and consume a large amount of memory source, while for when avoiding clean up process by the process of reasonable employment It clears up together, the situation for causing user that application is used to interrupt, specifically, according to preset cleaning rule, filters out what needs were cleared up Application process such as process A, B, C, D, and generates cleaning notification information, that is, to ask the user whether to determine cleaning A, B, C, D processes, unwitting in user to avoid, the automatic clean up process of system causes the bad experience of user.
Step S50, when receiving the operational order for confirming clean up process, positive closing needs the application process cleared up.
In the present embodiment, the operational order for confirming clean up process is received, that is, user is viewing cleaning notice letter When breath, confirmation clean up process is selected or input, to execute cleaning operation, i.e. positive closing needs the application process cleared up.By force Closing process processed, that is, terminate the operation of process, to releasing memory space.It should be further noted that positive closing Be to need the application process cleared up, while retaining the application process that need not be cleared up.Without user in numerous application processes, It manually selects individual application processes to be cleared up, and then convenient and efficient, improves the usage experience of user.
It is the memory information of present terminal to be obtained, then according to memory before clearing up application process first in the present embodiment Information judges whether to need to clear up application process.When needing to clear up application process, it is based on preset cleaning rule, determines and needs The application process of cleaning avoids closing the application that user uses to retain the application process without cleaning.It is needed clearly determining When the application process of reason, cleaning notification information is also generated, it is automatic clear to avoid for asking the user whether to determine clean up process Reason process causes the bad experience of user.When receiving the operational order for confirming clean up process, positive closing needs are cleared up Application process discharges the application process of unreasonable committed memory resource to realize, and then ensures the stream of terminal operating Smooth property and cruising ability, and reduce the operation of user, and then improve the usage experience of user.
It is the refinement flow diagram of mono- embodiments of Fig. 3 steps S30 with reference to Fig. 4, Fig. 4.
Based on above-described embodiment, in the present embodiment, above-mentioned steps S30 judges whether to need to clear up to answer according to memory information With process, including:
Step S31 according to free memory amount and has used amount of ram, calculates remaining available quantity;
Step S32, judges whether remaining available quantity is less than or equal to predetermined threshold value;
Step S33 is determined when remaining available quantity is less than or equal to predetermined threshold value and is needed to clear up application process.
In the present embodiment, memory size size is fixed, for example, install in save as 16G or 8G etc., and run process reality Committed memory is to have used memory, and what fixed memory size subtracted practical committed memory has used amount of ram, you can is calculated available Amount of ram.Free memory amount is big, then can increase or support more processes, and keep operation more smooth.Predetermined threshold value is advance The critical value set is herein the minimum of remaining available quantity.Predetermined threshold value can be 5,8, the concrete numerical values such as 10M, also may be used Think the variates such as the ratio of initial free memory amount.When the value of the available amount of ram of residue of calculating is less than or equal to predetermined threshold value When, illustrate that the consumption of terminal memory source is excessive, terminal operating has some setbacks or even occur Caton phenomenon rather, and triggering cleaning is unreasonable The mechanism of the application process of committed memory resource, that is, present terminal determine the operation for needing to carry out clean up process.
It is the refinement flow diagram of mono- embodiments of step S40 in Fig. 3 with reference to Fig. 5, Fig. 5.
Based on above-described embodiment, in the present embodiment, above-mentioned steps S40, when needing to clear up application process, based on preset clear Reason rule and the application in reservation list, determine the application process for needing to clear up, and generate cleaning notification information, so that inquiry is used Whether family determines clean up process, including:
Step S41 reads the application retained in list, and obtain the institute of running background when needing to clear up application process There is application process;
Step S42, in each application process of operation, reject in reservation list using consistent application process, Obtain the application process for needing to clear up;
Step S43 pops up selection window based on the application process cleared up of needs after generating cleaning notification information, for Family chooses whether to determine clean up process.
In the present embodiment, since multiple application processes can be run simultaneously, it should however be clear that each application corresponds to one at runtime and answers Use process.If all processes are closed together in cleaning, certainly will be currently in use by user or the application that is commonly used also close It closes, while the process needed for normal operation system is also switched off, thus needs to screen each application process, determination needs to clear up And the application process retained is needed, to achieve the purpose that safer form clean up process, realization do not influence other processes While, the purpose of releasing memory resource.The process of operation can be generally divided into foreground process and background process.In foreground Process always only there are one and user's normal use application process, and background process can be it is one or more, thus When needing clean up process, all application processes of running background are obtained.Reservation list is stored with to be needed in self-cleaning process The list of the application of reservation.In all application processes of running background, the application process for needing to retain is rejected, you can needed The application process to be cleared up.The application process for such as obtaining running background includes 1.2.3.4.5.6.7.8.9, with retain list in Include 3.4.7.9 using corresponding application process, obtains needing the application process cleared up after rejecting including 1.2.5.6.8.
In the present embodiment, based on each application process that needs are cleared up, cleaning notification information is generated, and pop up selection window Mouthful, realization is interacted with user information, is authorized to obtain user and is closed process.It is logical that user can view cleaning on a display screen Know information, which application process is learnt specifically has will be closed, to selectively determine whether clean up process.Further, User can recognize the state of terminal operating, that is, low memory when viewing cleaning notification information.Specifically, it protects It may include the application of terminal advance installation system in manufacture to stay the application in list, can also include that User Defined is arranged Application.
It is the refinement flow diagram of another embodiments of step S40 in Fig. 3 with reference to Fig. 6, Fig. 6.
Based on above-described embodiment, in the present embodiment, further include after above-mentioned steps S42:
Step S44, based on the operation information for the application process for needing to clear up, when judging whether to be greater than or equal to default Long not used application;
Step S45, when not used in application, determining that the application process of the application is in the presence of preset duration is greater than or equal to Finally need the application process cleared up.
In the present embodiment, each application process that can be cleared up needs is further screened again, is had to retain some Application process further meets the different use demands of different user.Operation information include from open or it is manually opened, open Open time, access times, operation duration etc..More than or equal to preset duration such as more than 3 days, 15 days or one month with first-class, It can be that producer is pre-set, can also be User Defined setting, be configured with specific reference to actual conditions.
In the present embodiment, according to operation information, when judging whether each application for needing to clear up is greater than or equal to default one by one Long not used application, and then determine that this using corresponding application process is finally to need the application process cleared up.Briefly, It is exactly by the operation information of each application process, the application process cleared up needs does further screening, and it is super such as to filter out user Cross the process for the application being not suitable for for 3 days, 15 days or one month or more and after the application of unreasonable committed memory, that is, screening Finally to need the process cleared up.Specifically, according to the application process for finally needing to clear up, cleaning notification information is generated, is informed User, and rear positive closing to be determined finally needs the application process cleared up.
Further, in an alternative embodiment of the invention, the processing method of terminal clean up process further includes:It is clear when receiving It is determining to need to clear up application process when the control instruction of reason process, and execute and be based on preset cleaning rule, determine what needs were cleared up Application process, and generate the operation of cleaning notification information.The control instruction of clean up process is received, that is, when terminal is not automatic When starting clean up process operation, user manually clears up running extra process, with releasing memory.User was using Cheng Zhong can trigger the operation of clean up process manually whenever and wherever possible.When receiving the control instruction of clean up process, response user behaviour Make, the extra process of terminal operating is cleared up, that is, determine and currently need to clear up application process, and executes cleaning application The concrete operations of process, that is, execute and be based on preset cleaning rule, determine the application process for needing to clear up, and it is logical to generate cleaning Know the operation of information.
Further, in an alternative embodiment of the invention, after step S50, the processing method of terminal clean up process is also Including:Forbid needing the application process cleared up to be added in self-operating list, and forbids that the application process cleared up is needed to open certainly Dynamic operation.The third-party application software being commonly installed is in voluntarily launching process from the background so that after current clean up process, lower a moment is again Start operation, and committed memory resource, that is, cleaning effect be not notable, and then to improve cleaning intensity, is answered what is be cleaned Forbidden in self-operating list with being added to, and is respectively applied in backstage self-starting in banned list.Specifically, by forbid using into Journey self-starting is run, and application program is made not start from the background and run automatically, sordid to solve the problems, such as to clear up from the background, And then reach thorough cleaning process and releasing memory, while the safety and reliability of terminal system operation is improved, it ensures Terminal fluency in the long-term use and cruising ability.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, on the computer readable storage medium It is stored with clean up process processing routine, following operation is realized when the clean up process processing routine is executed by processor 110:
It obtains the original application of default setting and/or the application of self-defined reservation and generates reservation list;
Before clearing up application process, the memory information of present terminal is obtained;
According to the memory information, judge whether to need to clear up application process;
When needing to clear up application process, based on preset cleaning rule and the application in the reservation list, determines and need The application process of cleaning, and cleaning notification information is generated, for asking the user whether to determine clean up process;
When receiving the operational order for confirming clean up process, the application process cleared up is needed described in positive closing.
Each step in through this embodiment, it can be achieved that the application process of unreasonable committed memory resource is discharged, into And ensure the fluency and cruising ability of terminal operating, when and reducing the operation of user, while avoiding automatic clean up process The application that user uses is closed, so that user is generated bad experience, and then improve the usage experience of user.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
The memory information includes:Memory has used occupied by initial or self-defined free memory amount, operation application process Amount of ram.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
According to the free memory amount and it is described used amount of ram, calculate remaining available quantity;
Judge whether the remaining available quantity is less than or equal to predetermined threshold value;
When the remaining available quantity is less than or equal to predetermined threshold value, determines and need to clear up application process.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
When needing to clear up application process, the application retained in list is read, and obtain all of running background and answer Use process;
In each application process of operation, rejects and, using consistent application process, obtained in the reservation list Need the application process cleared up;
Selection window is popped up after generating cleaning notification information based on the application process for needing to clear up, so that user selects It selects and whether determines clean up process.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
Based on the operation information of the application process for needing to clear up, judge whether to be greater than or equal to preset duration not The application used;
When not used in application, determining that the application process of the application is final needs in the presence of preset duration is greater than or equal to The application process of cleaning.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
It when receiving the control instruction of clean up process, determines and needs to clear up application process, and execute described based on preset Cleaning rule determines the application process for needing to clear up, and generates the operation of cleaning notification information.
Further, following operation is also realized when the clean up process processing routine is executed by processor 110:
It needs the application process cleared up to be added to forbid in self-operating list by described, and forbids described needing that clears up to answer It is run with process self-starting.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (9)

1. a kind of processing method of terminal clean up process, which is characterized in that the processing method of the terminal clean up process include with Lower step:
It obtains the original application of default setting and/or the application of self-defined reservation and generates reservation list;
Before clearing up application process, the memory information of present terminal is obtained;
According to the memory information, judge whether to need to clear up application process;
When needing to clear up application process, based on preset cleaning rule and the application in the reservation list, determination needs to clear up Application process, and cleaning notification information is generated, for asking the user whether to determine clean up process;
When receiving the operational order for confirming clean up process, the application process cleared up is needed described in positive closing.
2. the processing method of terminal clean up process as described in claim 1, which is characterized in that the memory information includes:Just Memory has used amount of ram occupied by beginning or self-defined free memory amount, operation application process.
3. the processing method of terminal clean up process as claimed in claim 2, which is characterized in that described to be believed according to the memory Breath judges whether that needing to clear up application process includes:
According to the free memory amount and it is described used amount of ram, calculate remaining available quantity;
Judge whether the remaining available quantity is less than or equal to predetermined threshold value;
When the remaining available quantity is less than or equal to predetermined threshold value, determines and need to clear up application process.
4. the processing method of terminal clean up process as described in claim 1, which is characterized in that it is described when need clear up application into Cheng Shi determines the application process for needing to clear up, and generate cleaning based on preset cleaning rule and the application in the reservation list Notification information, for ask the user whether determine clean up process include:
When need clear up application process when, read it is described retain list in application, and obtain running background it is all apply into Journey;
In each application process of operation, rejects and, using consistent application process, needed in the reservation list The application process of cleaning;
Selection window is popped up, is for selection by the user after generating cleaning notification information based on the application process for needing to clear up No determining clean up process.
5. the processing method of terminal clean up process as claimed in claim 4, which is characterized in that in each application in operation In process, reject in the reservation list using consistent application process, after obtaining the application process that needs are cleared up, The processing method of the terminal clean up process further includes:
Based on the operation information of the application process for needing to clear up, judge whether to be not used more than or equal to preset duration Application;
When not used in application, determining that the application process of the application is finally to need to clear up in the presence of preset duration is greater than or equal to Application process.
6. the processing method of terminal clean up process as described in claim 1, which is characterized in that the place of the terminal clean up process Reason method further includes:
It when receiving the control instruction of clean up process, determines and needs to clear up application process, and execute described based on preset cleaning Rule determines the application process for needing to clear up, and generates the operation of cleaning notification information.
7. such as the processing method of terminal clean up process according to any one of claims 1 to 6, which is characterized in that work as described When receiving the operational order for confirming clean up process, after needing the application process cleared up described in positive closing, the terminal is clear The processing method of reason process further includes:
Need the application process cleared up to be added to forbid in self-operating list by described, and forbid the application for needing to clear up into Journey self-starting is run.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the clean up process processing routine that can run on the processor, the clean up process processing routine is by the processor The step of processing method of the terminal clean up process as described in any one of claim 1 to 7 is realized when execution.
9. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium clear up into Journey processing routine is realized when the clean up process processing routine is executed by processor as described in any one of claim 1 to 7 The step of processing method of terminal clean up process.
CN201810345874.9A 2018-04-16 2018-04-16 Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process Pending CN108519916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810345874.9A CN108519916A (en) 2018-04-16 2018-04-16 Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810345874.9A CN108519916A (en) 2018-04-16 2018-04-16 Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process

Publications (1)

Publication Number Publication Date
CN108519916A true CN108519916A (en) 2018-09-11

Family

ID=63428794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810345874.9A Pending CN108519916A (en) 2018-04-16 2018-04-16 Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process

Country Status (1)

Country Link
CN (1) CN108519916A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388947A (en) * 2018-10-30 2019-02-26 努比亚技术有限公司 A kind of back-stage management method, equipment and computer readable storage medium
CN110324715A (en) * 2019-07-04 2019-10-11 深圳市康冠技术有限公司 Application management method, device and computer readable storage medium
CN111104180A (en) * 2019-12-11 2020-05-05 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
CN111596971A (en) * 2020-05-14 2020-08-28 Oppo广东移动通信有限公司 Application cleaning method and device, storage medium and electronic equipment
CN111966425A (en) * 2020-08-19 2020-11-20 惠州Tcl云创科技有限公司 Process cleaning method and device, storage medium and mobile terminal
CN112346824A (en) * 2020-10-26 2021-02-09 努比亚技术有限公司 Screen projection application control method and device and computer readable storage medium
CN114895771A (en) * 2021-12-23 2022-08-12 孔智科技(徐州)有限公司 Management method and device for application programs of mobile terminal
CN111443926B (en) * 2020-04-22 2023-10-13 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for cleaning data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371913A (en) * 2015-07-21 2017-02-01 赤子城网络技术(北京)有限公司 Memory cleaning method and apparatus
CN106844026A (en) * 2017-01-03 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for clearing up terminal device process
CN107436779A (en) * 2017-05-22 2017-12-05 努比亚技术有限公司 A kind of application management method, equipment and computer-readable recording medium
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment
CN107861812A (en) * 2017-10-30 2018-03-30 江西博瑞彤芸科技有限公司 A kind of internal memory method for cleaning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371913A (en) * 2015-07-21 2017-02-01 赤子城网络技术(北京)有限公司 Memory cleaning method and apparatus
CN106844026A (en) * 2017-01-03 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for clearing up terminal device process
CN107436779A (en) * 2017-05-22 2017-12-05 努比亚技术有限公司 A kind of application management method, equipment and computer-readable recording medium
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment
CN107861812A (en) * 2017-10-30 2018-03-30 江西博瑞彤芸科技有限公司 A kind of internal memory method for cleaning

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388947A (en) * 2018-10-30 2019-02-26 努比亚技术有限公司 A kind of back-stage management method, equipment and computer readable storage medium
CN110324715A (en) * 2019-07-04 2019-10-11 深圳市康冠技术有限公司 Application management method, device and computer readable storage medium
CN111104180A (en) * 2019-12-11 2020-05-05 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
CN111104180B (en) * 2019-12-11 2021-08-03 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
CN111443926B (en) * 2020-04-22 2023-10-13 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for cleaning data
CN111596971A (en) * 2020-05-14 2020-08-28 Oppo广东移动通信有限公司 Application cleaning method and device, storage medium and electronic equipment
CN111596971B (en) * 2020-05-14 2023-07-14 Oppo广东移动通信有限公司 Application cleaning method and device, storage medium and electronic equipment
CN111966425A (en) * 2020-08-19 2020-11-20 惠州Tcl云创科技有限公司 Process cleaning method and device, storage medium and mobile terminal
CN112346824A (en) * 2020-10-26 2021-02-09 努比亚技术有限公司 Screen projection application control method and device and computer readable storage medium
CN112346824B (en) * 2020-10-26 2023-03-21 努比亚技术有限公司 Screen projection application control method and device and computer readable storage medium
CN114895771A (en) * 2021-12-23 2022-08-12 孔智科技(徐州)有限公司 Management method and device for application programs of mobile terminal

Similar Documents

Publication Publication Date Title
CN108519916A (en) Processing method, mobile terminal and the readable storage medium storing program for executing of terminal clean up process
CN108664329A (en) A kind of resource allocation method, terminal and computer readable storage medium
CN108769784A (en) screen recording method, mobile terminal and storage medium
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN108664338A (en) Scene of game message treatment method, mobile terminal and readable storage medium storing program for executing
CN109521925A (en) Icon arrangement method, mobile terminal and computer readable storage medium
CN108683806A (en) A kind of anti-method, mobile terminal and computer readable storage medium bothered
CN108196750A (en) The method, apparatus and computer readable storage medium of screen interface sectional drawing
CN109453523A (en) A kind of game picture display processing method, terminal and computer readable storage medium
CN110177177A (en) Message back method, mobile terminal and computer readable storage medium
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN108628430A (en) A kind of game electricity-saving control method, terminal and computer readable storage medium
CN109783223A (en) A kind of memory method for cleaning, terminal and computer readable storage medium
CN108553896A (en) A kind of status information display control method, terminal and computer readable storage medium
CN107102878A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN108762861A (en) A kind of application interface display methods, terminal and computer readable storage medium
CN110069333A (en) Backstage management-control method, mobile terminal and the computer readable storage medium of application
CN108965602A (en) Application program display methods, mobile terminal and computer readable storage medium
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN108322609A (en) A kind of notification information regulation and control method, equipment and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN108536383A (en) A kind of game control method, equipment and computer readable storage medium
CN108733424A (en) Using wake-up control method, equipment and computer-readable storage media

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: 20180911