CN107315634A - Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing - Google Patents

Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107315634A
CN107315634A CN201710544845.0A CN201710544845A CN107315634A CN 107315634 A CN107315634 A CN 107315634A CN 201710544845 A CN201710544845 A CN 201710544845A CN 107315634 A CN107315634 A CN 107315634A
Authority
CN
China
Prior art keywords
anything
application
attending
strategy
priority level
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.)
Withdrawn
Application number
CN201710544845.0A
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.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless 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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710544845.0A priority Critical patent/CN107315634A/en
Publication of CN107315634A publication Critical patent/CN107315634A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence

Landscapes

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

Abstract

Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing the invention discloses one kind, the application strategy processing method of attending to anything else comprises the following steps:The remaining free memory capacity of mobile terminal is monitored with interval preset time;When the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal;When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain the corresponding processing strategy of the priority level;The application of attending to anything else is handled according to the processing strategy.The present invention can attend to anything else using handling, releasing memory, the situation that other operations can not be carried out by preventing interim card and user occurs in remaining free memory off-capacity according to the corresponding processing strategy of the priority level for application of attending to anything else to this.

Description

Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing
Technical field
Attend to anything else application strategy processing method, movement eventually the present invention relates to the technical field of mobile terminal, more particularly to one kind End and readable storage medium storing program for executing.
Background technology
With the development of technology, the species and form of the application on mobile terminal are more next more, and many applications turn into people An indispensable part, is that user brings preferable experience in life, work and amusement.Various demands of the user to application Also it is more and more.Start multiple identical application software on same mobile terminal, realize the same of multiple same application softwares When use, for example, on mobile terminals start three wechat applications, to log in three different wechat accounts.
At present, many extractions of root of application software, mainly attend to anything else using the former application of copy, then realized by changing bag name , when open simultaneously it is multiple attend to anything else apply when, larger memory headroom can be taken, it is not enough to be easily caused Installed System Memory, blocks Pause and user can not carry out the situation of other operations.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide one kind to attend to anything else application strategy processing method, mobile terminal and readable storage medium Matter, it is intended to solve many extractions of root of existing application software, larger memory headroom can be taken, be easily caused Installed System Memory not Foot, the technical problem of other operations can not be carried out by interim card and user occur.
To achieve the above object, the present invention provides one kind and attended to anything else application strategy processing method, at the application strategy of attending to anything else Reason method comprises the following steps:
The remaining free memory capacity of mobile terminal is monitored with interval preset time;
When the remaining free memory capacity is less than default memory size, answered in detection mobile terminal with the presence or absence of attending to anything else With;
When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain institute State the corresponding processing strategy of priority level;
The application of attending to anything else is handled according to the processing strategy.
Alternatively, attend to anything else described in the determination priority level of application, and obtain the corresponding processing plan of the priority level Slightly the step of, includes:
The identification information of the application of attending to anything else is obtained, and the priority for application of attending to anything else according to identification information determination Not;
Processing strategy corresponding with the priority level is obtained from the level policy table of comparisons.
Alternatively, attend to anything else described in the determination priority level of application, and obtain the corresponding processing plan of the priority level Slightly the step of, also includes:
Attend to anything else described in being obtained from default storage region the frequency of use of application;
Attend to anything else according to being determined the frequency of use priority level of application;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table.
Alternatively, it is described to be attended to anything else according to the processing strategy to described before applying the step of handling, it is described to attend to anything else Application strategy processing method also includes:
Whether judge the priority level is that pre-set priority is other;
If the priority level is that pre-set priority is other, perform described tactful to the application of attending to anything else according to the processing The step of being handled;
If the priority level not, is attended to anything else at not for pre-set priority according to default processing strategy to described Reason.
Alternatively, after in the detection mobile terminal with the presence or absence of the step of applying of attending to anything else, the application strategy of attending to anything else Processing method also includes:
When being applied in detecting mobile terminal in the absence of attending to anything else, the data that data type is preset data type are obtained;
The storage duration of the data is obtained, and deletes the data that the storage duration exceedes preset duration.
Alternatively, after in the detection mobile terminal with the presence or absence of the step of applying of attending to anything else, the application strategy of attending to anything else Processing method also includes:
When being applied in detecting mobile terminal in the absence of attending to anything else, running background application is obtained;
Judge whether running background application applies group in default, and in the rear platform operation application in it is default should With group when, close the running background application.
Alternatively, the application strategy processing method of attending to anything else also includes:
The strategy setting request of the application of attending to anything else of external trigger is received, and display strategy sets interface;
Receive the priority level inputted based on the strategy setting interface and processing strategy;
By the priority level and processing strategy distribution to the application of attending to anything else, and by the priority level and the processing The strategy write-in level policy table of comparisons.
Alternatively, the application strategy processing method of attending to anything else also includes:
The application for receiving the main application of external trigger is attended to anything else request, and is set up the master according to application request of attending to anything else and answered Attend to anything else application;
Rule is set to attend to anything else to described using distribution priority level according to default priority level;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table, and strategy distribution is handled by described To the application of attending to anything else.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the application strategy processing routine of attending to anything else that is stored on the memory and can run on the processor, described point Following steps are realized when body application strategy processing routine is by the computing device:
The remaining free memory capacity of mobile terminal is monitored with interval preset time;
When the remaining free memory capacity is less than default memory size, answered in detection mobile terminal with the presence or absence of attending to anything else With;
When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain institute State the corresponding processing strategy of priority level;
The application of attending to anything else is handled according to the processing strategy.
The present invention, which also provides to be stored with a kind of computer-readable recording medium, the computer-readable recording medium, to attend to anything else Application strategy processing routine, the application strategy processing routine of attending to anything else realizes following steps when being executed by processor:
The remaining free memory capacity of mobile terminal is monitored with interval preset time;
When the remaining free memory capacity is less than default memory size, answered in detection mobile terminal with the presence or absence of attending to anything else With;
When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain institute State the corresponding processing strategy of priority level;
The application of attending to anything else is handled according to the processing strategy.
The present invention monitors the remaining free memory capacity of mobile terminal with interval preset time, and when the remaining free memory When capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal, then in mobile terminal is detected When being applied in the presence of attending to anything else, the priority level of the application of attending to anything else is determined, and obtains the corresponding processing strategy of the priority level, last root This is attended to anything else using handling according to the processing strategy, this programme by monitoring the remaining free memory capacity of mobile terminal, During remaining free memory off-capacity, this is attended to anything else at according to the corresponding processing strategy of the priority level for application of attending to anything else Reason, releasing memory realizes the automatic release of internal memory, and the situation that other operations can not be carried out by preventing interim card and user occurs, and improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of application strategy processing method first embodiment of the invention of attending to anything else;
Fig. 3 be determined described in Fig. 2 described in attend to anything else the priority level of application, and obtain the corresponding processing of the priority level The refinement schematic flow sheet of strategy step;
Fig. 4 is the priority level that the application of attending to anything else is determined described in second embodiment of the invention, and obtain it is described preferentially The refinement schematic flow sheet of the corresponding processing strategy step of rank;
Fig. 5 is the schematic flow sheet of application strategy processing method 3rd embodiment of the invention of attending to anything else;
Fig. 6 is the schematic flow sheet of application strategy processing method fourth embodiment of the invention of attending to anything else;
Fig. 7 is the schematic flow sheet of application strategy processing method the 5th embodiment of the invention of attending to anything else;
Fig. 8 is the schematic flow sheet of application strategy processing method sixth embodiment of the invention of attending to anything else;
Fig. 9 is the schematic flow sheet of application strategy processing method the 7th embodiment of the invention of attending to anything else.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
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.
The primary solutions of the embodiment of the present invention are:The remaining free memory of mobile terminal is monitored with interval preset time Capacity, and when the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal, Then when being applied in detecting mobile terminal in the presence of attending to anything else, the priority level of the application of attending to anything else is determined, and obtain the priority Not corresponding processing strategy, this, which is attended to anything else, to apply finally according to the processing strategy is handled.
Due to many extractions of root of existing application software, mainly attend to anything else using the former application of copy, then by changing bag name Realize, when simultaneously open it is multiple attend to anything else apply when, larger memory headroom can be taken, therefore be easily caused Installed System Memory not Foot, the situation of other operations can not be carried out by interim card and user occur.
To solve the above problems, the present invention provides a solution, this programme can by monitoring the residue of mobile terminal With memory size, in remaining free memory off-capacity, according to the corresponding processing strategy of the priority level for application of attending to anything else to this Attend to anything else using being handled, releasing memory realizes the automatic release of internal memory, prevents interim card and user from can not carry out other operations Situation occurs, and improves Consumer's Experience.
As shown in figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, pocket computer etc. with aobvious Show the packaged type terminal device of function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity transducer can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axles) acceleration, quiet Size and the direction of gravity are can detect that when only, application (such as horizontal/vertical screen switching, correlation available for identification mobile terminal posture Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, be will not be repeated here.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, leading to as operating system, network can be included in a kind of memory 1005 of computer-readable storage medium Believe module, Subscriber Interface Module SIM and application strategy processing routine of attending to anything else.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used in connection client (user terminal), and row data communication is entered with client;And processor 1001 can be used for calling the application strategy processing routine of attending to anything else stored in memory 1005, and perform following steps:
The remaining free memory capacity of mobile terminal is monitored with interval preset time;
When the remaining free memory capacity is less than default memory size, answered in detection mobile terminal with the presence or absence of attending to anything else With;
When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain institute State the corresponding processing strategy of priority level;
The application of attending to anything else is handled according to the processing strategy.
Further, attend to anything else described in the determination priority level of application, and obtain the corresponding processing of the priority level The step of strategy includes:
The identification information of the application of attending to anything else is obtained, and the priority for application of attending to anything else according to identification information determination Not;
Processing strategy corresponding with the priority level is obtained from the level policy table of comparisons.
Further, attend to anything else described in the determination priority level of application, and obtain the corresponding processing of the priority level The step of strategy also includes:
Attend to anything else described in being obtained from default storage region the frequency of use of application;
Attend to anything else according to being determined the frequency of use priority level of application;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table.
Further, processor 1001 can call the application strategy processing routine of attending to anything else stored in memory 1005, also Perform following steps:
Whether judge the priority level is that pre-set priority is other;
If the priority level is that pre-set priority is other, perform described tactful to the application of attending to anything else according to the processing The step of being handled;
If the priority level not, is attended to anything else at not for pre-set priority according to default processing strategy to described Reason.
Further, processor 1001 can call the application strategy processing routine of attending to anything else stored in memory 1005, also Perform following steps:
When being applied in detecting mobile terminal in the absence of attending to anything else, the data that data type is preset data type are obtained;
The storage duration of the data is obtained, and deletes the data that the storage duration exceedes preset duration.
Further, processor 1001 can call the application strategy processing routine of attending to anything else stored in memory 1005, also Perform following steps:
When being applied in detecting mobile terminal in the absence of attending to anything else, running background application is obtained;
Judge whether running background application applies group in default, and in the rear platform operation application in it is default should With group when, close the running background application.
Further, processor 1001 can call the application strategy processing routine of attending to anything else stored in memory 1005, also Perform following steps:
The strategy setting request of the application of attending to anything else of external trigger is received, and display strategy sets interface;
Receive the priority level inputted based on the strategy setting interface and processing strategy;
By the priority level and processing strategy distribution to the application of attending to anything else, and by the priority level and the processing The strategy write-in level policy table of comparisons.
Further, processor 1001 can call the application strategy processing routine of attending to anything else stored in memory 1005, also Perform following steps:
The application for receiving the main application of external trigger is attended to anything else request, and is set up the master according to application request of attending to anything else and answered Attend to anything else application;
Rule is set to attend to anything else to described using distribution priority level according to default priority level;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table, and strategy distribution is handled by described To the application of attending to anything else.
The specific embodiment of mobile terminal of the present invention and each specific embodiment base of following application strategy processing methods of attending to anything else This is identical, and therefore not to repeat here.
The present invention provides one kind and attended to anything else application strategy processing method.
Reference picture 2, Fig. 2 is the schematic flow sheet of application strategy processing method first embodiment of the invention of attending to anything else.
In the present embodiment, the application strategy processing method of attending to anything else includes:
Step S101, the remaining free memory capacity of mobile terminal is monitored with interval preset time;
Step S102, when the remaining free memory capacity is less than default memory size, in detection mobile terminal whether In the presence of application of attending to anything else;
The application strategy processing method of attending to anything else is applied to mobile terminal, and the mobile terminal includes smart mobile phone and tablet personal computer Deng.The mobile terminal possesses using multiple identical application software can be started in the terminal by opening function, i.e. user more, such as exists Start four wechat applications in mobile terminal, respectively wechat, wechat is attended to anything else to attend to anything else to attend to anything else using 2 and wechat using 1, wechat and answered With 3.
User can set the priority level and corresponding processing strategy of each application of attending to anything else manually, for example, wechat has 3 Attend to anything else application, respectively wechat, which attends to anything else to attend to anything else to attend to anything else using 2 and wechat using 1, wechat, applies 3, wechat is attended to anything else using 1, micro- Letter attends to anything else to attend to anything else using 2 and wechat is respectively set to priority level A, priority level B and priority level C using 3 priority level, And priority level A it is corresponding processing strategy be close wechat attend to anything else using 1, priority level B it is corresponding processing strategy be close it is micro- Letter, which is attended to anything else, applies 2, and removes the data of all cachings (or reception), and the video such as received, word, priority level C are corresponding Processing strategy is attended to anything else for unloading wechat applies 3, and delete the wechat attend to anything else using 3 all data.The processing strategy can basis The demand of user is configured.
User manually set priority level and processing strategy when, then give tacit consent to according to the frequency of use of each application of attending to anything else come Setting priority level, (during the use of each application of attending to anything else, mobile terminal is recorded respectively to attend to anything else with interval preset time and answered Frequency of use), and the other processing strategy of different priorities is set according to default rank processing Policy Table automatically, for example, Wechat, which is attended to anything else, attends to anything else that to attend to anything else using 2 and wechat using 3 frequency of use be respectively 1 day 50 times, 1 day 30 times and 1 using 1, wechat It 20 times, then it can determine that wechat attends to anything else to attend to anything else using 1, wechat and attend to anything else respectively excellent using 3 priority level using 2 and wechat First rank A, priority level B and priority level C.
In specific implementation, when user sets the priority level of each application of attending to anything else of certain main application and corresponding place manually After reason strategy, the level policy table of comparisons of the main application, and the dividing as other main applications using the level policy table of comparisons are generated The sample for reference of body application.The level policy table of comparisons includes attend to anything else application identification information, priority level and processing strategy etc..
The mobile terminal monitors the remaining free memory capacity of mobile terminal with interval preset time, and available in the residue When memory size is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal.Specially travel through mobile terminal In each application, with the presence or absence of attending to anything else mark in detection application, if there is mark of attending to anything else, then can be determined that the application is to attend to anything else Using if there is no mark of attending to anything else, then can be determined that the application is not application of attending to anything else.
Step S103, when being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, And obtain the corresponding processing strategy of the priority level;
When being applied in detecting mobile terminal in the presence of attending to anything else, the priority level of the application of attending to anything else is determined, and it is excellent to obtain this First rank is corresponding to handle strategy, and the priority level and processing strategy of the application of attending to anything else of different main applications are different.
Specifically, reference picture 3, Fig. 3 is the refinement schematic flow sheet of step S103 described in Fig. 2, and step S103 includes:
Step S1031, obtains the identification information of the application of attending to anything else, and attends to anything else according to being determined the identification information and answer Priority level;
Step S1032, obtains processing strategy corresponding with the priority level from the level policy table of comparisons.
The mobile terminal detect attend to anything else apply when, obtain the identification information of the application of attending to anything else, and believe according to the mark Breath determines the priority level of the application of attending to anything else, and processing plan corresponding with the priority level is then obtained from the level policy table of comparisons Slightly, the identification information has corresponding relation with the priority level, and the priority level has corresponding relation with the processing strategy.
Step S104, is handled the application of attending to anything else according to the processing strategy.
The mobile terminal is attended to anything else using handling according to the processing strategy to this, and the processing strategy can be this point of closing Body application, or close the application of attending to anything else, and remove all cachings (or reception) data of the application of attending to anything else, as received Video, word etc., can also be to unload the application of attending to anything else, and deletes all data of the application of attending to anything else.
In the present embodiment, the present invention monitors the remaining free memory capacity of mobile terminal with interval preset time, and works as When the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal, then in inspection Measure to exist in mobile terminal and attend to anything else when applying, determine the priority level of the application of attending to anything else, and it is corresponding to obtain the priority level Processing strategy, attends to anything else using handling finally according to the processing strategy to this, and this programme is by monitoring the residue of mobile terminal Free memory capacity, it is right according to the corresponding processing strategy of the priority level for application of attending to anything else in remaining free memory off-capacity This is attended to anything else using being handled, and releasing memory realizes the automatic release of internal memory, prevents interim card and user from can not carry out other operations Situation occur, improve Consumer's Experience.
Further, reference picture 4, based on above-mentioned first embodiment, propose application strategy processing method of the invention of attending to anything else Second embodiment, the difference with previous embodiment is that step S103 also includes:
Step S1033, obtained from default storage region described in attend to anything else the frequency of use of application;
Step S1034, the priority level for application of attending to anything else according to being determined the frequency of use;
Step S1035, obtains the corresponding processing strategy of the priority level from default processing Policy Table.
Mobile terminal detect attend to anything else apply when, the frequency of use of the application of attending to anything else is obtained from default storage region, Then the priority level of the application of attending to anything else is determined according to the frequency of use, and the priority level is obtained from default processing Policy Table Corresponding processing strategy.The level policy table of comparisons includes attend to anything else application identification information, priority level and processing strategy etc..
In the present embodiment, the present invention is when attending to anything else using priority level and processing strategy is not provided with, according to application of attending to anything else Frequency of use determine priority level, while determining processing strategy according to the priority level, realization is attended to anything else using priority and place The automatic setting of strategy is managed, Consumer's Experience is pointed out.
Further, reference picture 5, based on above-mentioned first or second embodiments, propose that the present invention attends to anything else application strategy processing The 3rd embodiment of method, the difference with previous embodiment is, before step S104, the application strategy processing method of attending to anything else Also include:
Whether step S105, it is that pre-set priority is other to judge the priority level;
If the priority level is that pre-set priority is other, step S104 is performed, i.e., according to the processing strategy to described Attend to anything else to apply and handled;
Step S106, if the priority level is not other for pre-set priority, attends to anything else according to default processing strategy to described Using being handled.
The mobile terminal is after the priority level of application it is determined that this is attended to anything else, and whether judge the priority level is pre-set priority Not, if the priority level is that pre-set priority is other, this is attended to anything else using handling, if this is excellent according to the processing strategy First rank not, is then attended to anything else using handling, the pre-set priority is other not for pre-set priority according to default processing strategy to this Can be other for limit priority, or lowest priority is other.At the default processing strategy is applied not attend to anything else to this Reason, i.e., this, which attends to anything else to apply, keeps normal condition.
In the present embodiment, the present invention is other by pre-set priority so that mobile terminal is default preferential to priority level Attending to anything else using being handled for rank, selectively handles application of attending to anything else, lifts Consumer's Experience.
Further, reference picture 6, based on above-mentioned first, second or third embodiment, propose that the present invention attends to anything else application strategy The fourth embodiment of processing method, the difference with previous embodiment is, after step S102, the application strategy processing of attending to anything else Method also includes:
Step S107, when being applied in detecting mobile terminal in the absence of attending to anything else, acquisition data type is preset data class The data of type;
Step S108, obtains the storage duration of the data, and it is described more than preset duration to delete the storage duration Data.
The mobile terminal, which is not detected by, attends to anything else when applying, and obtains data type and is the data of preset data type, and obtains The storage duration of the data, then deletes the data that the storage duration exceedes preset duration.The preset data type is caching number According to, text data and video data, the preset duration can be 1 month, 2 months or 3 months etc..
In the present embodiment, the present invention is automatically deleted in remaining free memory off-capacity, and when being applied in the absence of attending to anything else The data that duration exceedes the preset data type of preset duration are stored, with releasing memory capacity, realize that the automatic of memory size is released Put.
Further, reference picture 7, based on above-mentioned first, second, third or fourth embodiment, proposing that the present invention attends to anything else should With the 5th embodiment of tactful processing method, the difference with previous embodiment is, after step S102, and this, which is attended to anything else, applies plan Slightly processing method also includes:
Step S109, when being applied in detecting mobile terminal in the absence of attending to anything else, obtains running background application;
Step S110, judges whether the running background application applies group, and platform operation application in the rear in default During in default application group, the running background application is closed.
The mobile terminal, which is not detected by, attends to anything else when applying, and obtains running background application, and judge that the running background application is It is no to apply group in default, if the running background is applied applies group in default, running background application is closed, if after this Platform operation application, which is not at presetting, applies group, then retains the running background application.
In the present embodiment, the present invention realizes memory size by closing in default application group running background application Automatic release.
Further, reference picture 8, based on above-mentioned first, second, third, fourth or the 5th embodiment, propose the present invention point The sixth embodiment of body application strategy processing method, the difference with previous embodiment is, the application strategy processing method of attending to anything else Also include:
Step S111, receives the strategy setting request of the application of attending to anything else of external trigger, and display strategy sets interface;
Step S112, receives the priority level inputted based on the strategy setting interface and processing strategy;
Step S113, by the priority level and processing strategy distribution to the application of attending to anything else, and by the priority level With the processing strategy write-in level policy table of comparisons.
The mobile terminal receives the strategy setting request of the application of attending to anything else of external trigger, and display strategy sets interface, and The priority level inputted based on the strategy setting interface and processing strategy are received, then by the priority level and processing strategy distribution The level policy table of comparisons is write to the application of attending to anything else, and by the priority level and the processing strategy.
In the present embodiment, the present invention sets interface by display strategy, is easy to user to set the priority for application of attending to anything else It is user-friendly not with processing strategy.
Further, reference picture 9, based on above-mentioned first, second, third, fourth or the 5th embodiment, propose the present invention point The sixth embodiment of body application strategy processing method, the difference with previous embodiment is, the application strategy processing method of attending to anything else Also include:
Step S114, the application for receiving the main application of external trigger is attended to anything else request, and is built according to application request of attending to anything else Stand the application of attending to anything else of the main application;
Step S115, attends to anything else using distribution priority level according to the setting of default priority level rule to described;
Step S116, obtains the corresponding processing strategy of the priority level from default processing Policy Table, and by the place Reason strategy distributes to the application of attending to anything else.
The application that the mobile terminal receives the main application of external trigger is attended to anything else request, and is attended to anything else according to the application and asked foundation The application of attending to anything else of the main application, then pre-set priority is other sets rule to attend to anything else to described using distribution priority level, and from The corresponding processing strategy of the priority level is obtained in default processing Policy Table, is answered while the processing strategy is distributed into this and attended to anything else With.
In the present embodiment, the present invention is after application is attended to anything else in foundation, according to the setting of default priority level rule and in advance If processing Policy Table attends to anything else using the setting for carrying out automatic priority level and alignment processing strategy to foundation, now set up in fact Attend to anything else while apply, priority level and processing strategy are set, reduce user and set manually.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with application strategy processing routine of attending to anything else, following walk is realized when the application strategy processing routine of attending to anything else is executed by processor Suddenly:
The remaining free memory capacity of mobile terminal is monitored with interval preset time;
When the remaining free memory capacity is less than default memory size, answered in detection mobile terminal with the presence or absence of attending to anything else With;
When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain institute State the corresponding processing strategy of priority level;
The application of attending to anything else is handled according to the processing strategy.
Further, attend to anything else described in the determination priority level of application, and obtain the corresponding processing of the priority level The step of strategy includes:
The identification information of the application of attending to anything else is obtained, and the priority for application of attending to anything else according to identification information determination Not;
Processing strategy corresponding with the priority level is obtained from the level policy table of comparisons.
Further, attend to anything else described in the determination priority level of application, and obtain the corresponding processing of the priority level The step of strategy also includes:
Attend to anything else described in being obtained from default storage region the frequency of use of application;
Attend to anything else according to being determined the frequency of use priority level of application;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table.
Further, when the application strategy processing routine of attending to anything else is executed by processor, following steps are also realized:
Whether judge the priority level is that pre-set priority is other;
If the priority level is that pre-set priority is other, perform described tactful to the application of attending to anything else according to the processing The step of being handled;
If the priority level not, is attended to anything else at not for pre-set priority according to default processing strategy to described Reason.
Further, when the application strategy processing routine of attending to anything else is executed by processor, following steps are also realized:
When being applied in detecting mobile terminal in the absence of attending to anything else, the data that data type is preset data type are obtained;
The storage duration of the data is obtained, and deletes the data that the storage duration exceedes preset duration.
Further, when the application strategy processing routine of attending to anything else is executed by processor, following steps are also realized:
When being applied in detecting mobile terminal in the absence of attending to anything else, running background application is obtained;
Judge whether running background application applies group in default, and in the rear platform operation application in it is default should With group when, close the running background application.
Further, when the application strategy processing routine of attending to anything else is executed by processor, following steps are also realized:
The strategy setting request of the application of attending to anything else of external trigger is received, and display strategy sets interface;
Receive the priority level inputted based on the strategy setting interface and processing strategy;
By the priority level and processing strategy distribution to the application of attending to anything else, and by the priority level and the processing The strategy write-in level policy table of comparisons.
Further, when the application strategy processing routine of attending to anything else is executed by processor, following steps are also realized:
The application for receiving the main application of external trigger is attended to anything else request, and is set up the master according to application request of attending to anything else and answered Attend to anything else application;
Rule is set to attend to anything else to described using distribution priority level according to default priority level;
The corresponding processing strategy of the priority level is obtained from default processing Policy Table, and strategy distribution is handled by described To the application of attending to anything else.
The specific embodiment of computer-readable recording medium of the present invention and each tool of above-mentioned application strategy processing method of attending to anything else Body embodiment is essentially identical, and therefore not to repeat here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. The application strategy processing method 1. one kind is attended to anything else, it is characterised in that the application strategy processing method of attending to anything else includes following step Suddenly:
    The remaining free memory capacity of mobile terminal is monitored with interval preset time;
    When the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal;
    When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain described excellent First rank is corresponding to handle strategy;
    The application of attending to anything else is handled according to the processing strategy.
  2. 2. application strategy processing method as claimed in claim 1 of attending to anything else, it is characterised in that application of attending to anything else described in the determination Priority level, and obtain the priority level it is corresponding processing strategy step include:
    The identification information of the application of attending to anything else is obtained, and the priority level for application of attending to anything else according to identification information determination;
    Processing strategy corresponding with the priority level is obtained from the level policy table of comparisons.
  3. 3. application strategy processing method as claimed in claim 1 of attending to anything else, it is characterised in that application of attending to anything else described in the determination Priority level, and obtain the priority level it is corresponding processing strategy step also include:
    Attend to anything else described in being obtained from default storage region the frequency of use of application;
    Attend to anything else according to being determined the frequency of use priority level of application;
    The corresponding processing strategy of the priority level is obtained from default processing Policy Table.
  4. 4. application strategy processing method as claimed in claim 1 of attending to anything else, it is characterised in that described right according to the processing strategy Described to attend to anything else before applying the step of being handled, the application strategy processing method of attending to anything else also includes:
    Whether judge the priority level is that pre-set priority is other;
    If the priority level be pre-set priority not, perform it is described according to it is described processing strategy to it is described attend to anything else using carry out The step of processing;
    If the priority level for pre-set priority not, attended to anything else according to default processing strategy to described using handling.
  5. 5. as claimed in claim 1 application strategy processing method of attending to anything else, it is characterised in that in the detection mobile terminal whether After the step of applying of attending to anything else, the application strategy processing method of attending to anything else also includes:
    When being applied in detecting mobile terminal in the absence of attending to anything else, the data that data type is preset data type are obtained;
    The storage duration of the data is obtained, and deletes the data that the storage duration exceedes preset duration.
  6. 6. as claimed in claim 1 application strategy processing method of attending to anything else, it is characterised in that in the detection mobile terminal whether After the step of applying of attending to anything else, the application strategy processing method of attending to anything else also includes:
    When being applied in detecting mobile terminal in the absence of attending to anything else, running background application is obtained;
    Judge that whether the running background application applies group, and platform operation application applies group in default in the rear in default When, close the running background application.
  7. 7. the application strategy processing method of attending to anything else as any one of claim 1-6, it is characterised in that the application of attending to anything else Tactful processing method also includes:
    The strategy setting request of the application of attending to anything else of external trigger is received, and display strategy sets interface;
    Receive the priority level inputted based on the strategy setting interface and processing strategy;
    By the priority level and processing strategy distribution to the application of attending to anything else, and by the priority level and the processing strategy Write the level policy table of comparisons.
  8. 8. the application strategy processing method of attending to anything else as any one of claim 1-6, it is characterised in that the application of attending to anything else Tactful processing method also includes:
    The application for receiving the main application of external trigger is attended to anything else request, and is attended to anything else according to the application and asked to set up the main application Attend to anything else application;
    Rule is set to attend to anything else to described using distribution priority level according to default priority level;
    The corresponding processing strategy of the priority level is obtained from default processing Policy Table, and the processing strategy is distributed into institute State application of attending to anything else.
  9. 9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the application strategy processing routine of attending to anything else that can run on the processor, the application strategy processing routine of attending to anything else is by institute Following steps are realized when stating computing device:
    The remaining free memory capacity of mobile terminal is monitored with interval preset time;
    When the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal;
    When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain described excellent First rank is corresponding to handle strategy;
    The application of attending to anything else is handled according to the processing strategy.
  10. 10. a kind of computer-readable recording medium, it is characterised in that be stored with to attend to anything else on the computer-readable recording medium and answer Tactful processing routine is used, the application strategy processing routine of attending to anything else realizes following steps when being executed by processor:
    The remaining free memory capacity of mobile terminal is monitored with interval preset time;
    When the remaining free memory capacity is less than default memory size, with the presence or absence of application of attending to anything else in detection mobile terminal;
    When being applied in detecting mobile terminal in the presence of attending to anything else, it is determined that the priority level of the application of attending to anything else, and obtain described excellent First rank is corresponding to handle strategy;
    The application of attending to anything else is handled according to the processing strategy.
CN201710544845.0A 2017-07-05 2017-07-05 Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing Withdrawn CN107315634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710544845.0A CN107315634A (en) 2017-07-05 2017-07-05 Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710544845.0A CN107315634A (en) 2017-07-05 2017-07-05 Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107315634A true CN107315634A (en) 2017-11-03

Family

ID=60181013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710544845.0A Withdrawn CN107315634A (en) 2017-07-05 2017-07-05 Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107315634A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032686A (en) * 2018-06-07 2018-12-18 北京小米移动软件有限公司 Data processing method and device
CN109614221A (en) * 2018-10-30 2019-04-12 北京技德终端技术有限公司 A kind of application framework and its method of real time operating system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032686A (en) * 2018-06-07 2018-12-18 北京小米移动软件有限公司 Data processing method and device
CN109614221A (en) * 2018-10-30 2019-04-12 北京技德终端技术有限公司 A kind of application framework and its method of real time operating system
CN109614221B (en) * 2018-10-30 2024-01-09 北京技德系统技术有限公司 Application framework of real-time operating system and method thereof

Similar Documents

Publication Publication Date Title
CN107608785A (en) Process management method, mobile terminal and readable storage medium
CN107577706B (en) User behavior data processing method, device and computer readable storage medium
CN108494947B (en) Image sharing method and mobile terminal
CN108377289B (en) Sent information modification method and device and computer readable storage medium
CN108616448B (en) Information sharing path recommendation method and mobile terminal
US10712798B2 (en) Sensor processing method of mobile terminal, storage medium, and electronic device
WO2017206915A1 (en) Method for determining kernel running configuration in processor and related product
CN108924452A (en) Part record screen method, apparatus and computer readable storage medium
CN108874352A (en) A kind of information display method and mobile terminal
CN107864066A (en) Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN106504050A (en) A kind of information comparison device and method
CN110209331A (en) Information cuing method and terminal
CN105893268A (en) Cached image processing method and device
CN109215640A (en) Audio recognition method, intelligent terminal and computer readable storage medium
CN107315634A (en) Attend to anything else application strategy processing method, mobile terminal and readable storage medium storing program for executing
KR102340251B1 (en) Method for managing data and an electronic device thereof
CN108391253A (en) A kind of recommendation method of application program, mobile terminal
CN108572777A (en) A kind of terminal object method for sorting, terminal and computer readable storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN107864268B (en) Expression information processing method, mobile terminal and computer readable storage medium
CN111314206B (en) Information processing method and electronic equipment
CN108881596A (en) A kind of photographing information processing method, device and terminal
CN109309762A (en) Message treatment method, device, mobile terminal and storage medium
CN108196746A (en) A kind of document presentation method and terminal, storage medium
CN107491353A (en) Method for recovering internal storage, device and computer-readable recording medium

Legal Events

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

Application publication date: 20171103