CN106200866A - A kind of application freezing method and mobile terminal - Google Patents

A kind of application freezing method and mobile terminal Download PDF

Info

Publication number
CN106200866A
CN106200866A CN201610496841.5A CN201610496841A CN106200866A CN 106200866 A CN106200866 A CN 106200866A CN 201610496841 A CN201610496841 A CN 201610496841A CN 106200866 A CN106200866 A CN 106200866A
Authority
CN
China
Prior art keywords
application
mobile terminal
described mobile
mapping relations
freeze
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.)
Granted
Application number
CN201610496841.5A
Other languages
Chinese (zh)
Other versions
CN106200866B (en
Inventor
宋玉喜
叶林军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610496841.5A priority Critical patent/CN106200866B/en
Priority to PCT/CN2016/092498 priority patent/WO2018000504A1/en
Publication of CN106200866A publication Critical patent/CN106200866A/en
Application granted granted Critical
Publication of CN106200866B publication Critical patent/CN106200866B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of application freezing method and mobile terminal, method therein includes: whether detection mobile terminal enters battery saving mode;If detecting, described mobile terminal enters battery saving mode, then the dump energy obtaining the described mobile terminal prestored and the mapping relations waiting to freeze the application identities of application and the dump energy that described mobile terminal is current;Dump energy based on described mobile terminal with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current, determine the application identities waiting to freeze application;Freeze the application that described application identities is corresponding.The embodiment of the invention also discloses corresponding mobile terminal.The embodiment of the present invention provide technical scheme can promote mobile terminal application freeze intelligent, extend mobile terminal cruising time.

Description

A kind of application freezing method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of application freezing method and mobile terminal.
Background technology
Generally can install a lot of application program in the terminal, these application program parts installed are mobile terminals Carrying in system, a part is that the third party service provider is the most preassembled, and a part is that user makes follow-up During with, oneself is installed, such as, and desktop tool in system, QQ, game etc..
At present, certain application program of stopping that user can be manual in the application program management interface of mobile terminal, so And this mode operates and bothers very much, when the number of applications especially opened when backstage in mobile terminal is the most, Manually freeze application program and operate the most loaded down with trivial details, and efficiency is the lowest.If but not stopping the application of these prepackages Program, the pre-installed applications program of a large amount of running backgrounds can take the resource of very multi-mobile-terminal, can consume mobile terminal a large amount of Electricity, bring greatly waste to user.
Summary of the invention
Embodiments provide a kind of application freezing method and mobile terminal, to promoting the intelligence that application is freezed Property.
Embodiment of the present invention first aspect provides one application freezing method, including:
Whether detection mobile terminal enters battery saving mode;
If detecting, described mobile terminal enters battery saving mode, then obtain the dump energy of the described mobile terminal prestored with Wait to freeze the mapping relations of the application identities of application and the dump energy that described mobile terminal is current;
Dump energy based on described mobile terminal with wait to freeze the mapping relations of application identities of application and described shifting The dump energy that dynamic terminal is current, determines the application identities waiting to freeze application;
Freeze the application that described application identities is corresponding.
In conjunction with first aspect, in the implementation that some are possible, the residue of the described mobile terminal that described acquisition prestores Before electricity and the mapping relations of the application identities waiting to freeze application, described method also includes:
Obtain the application identities of each application that the described mobile terminal prestored is installed and the mapping relations of operating current;
Based on each in each application identities applied mapping relations with operating current that described mobile terminal is installed The operating current of application, determines the dump energy of described mobile terminal and the mapping relations waiting to freeze the application identities of application.
In conjunction with first aspect, in the implementation that some are possible, the residue of the described mobile terminal that described acquisition prestores Before electricity and the mapping relations of the application identities waiting to freeze application, described method also includes:
Obtain user setup described mobile terminal install each application freeze priority;
Each application installed based on described mobile terminal freeze priority, determine the dump energy of described mobile terminal Mapping relations with the application identities waiting to freeze application.
In conjunction with first aspect, in the implementation that some are possible, the described mobile terminal that described acquisition prestores is installed The application identities of each application and the mapping relations of operating current, including:
Obtaining the application identities of the default application prestored and the mapping relations of operating current, wherein, described default application is The application of pre-installation when described mobile terminal dispatches from the factory;
Gather the operating current installing application, and the mapping setting up the described application identities and operating current installing application is closed System, wherein, described installation applies the application installed after dispatching from the factory for described mobile terminal;
Based on the described application identities of default application and the mapping relations of operating current and the application of described installation application Mark and the mapping relations of operating current, obtain application identities and the operating current of each application that described mobile terminal is installed Mapping relations, wherein, each application that described mobile terminal is installed includes described default application and described installation application.
In conjunction with first aspect, in the implementation that some are possible, whether described detection mobile terminal enters battery saving mode, Including:
Whether the dump energy detecting described mobile terminal is less than the power threshold preset, if, it is determined that described movement Terminal enters battery saving mode;Or
Detect whether that receiving the mode of operation by described mobile terminal is set to battery saving mode, if, it is determined that described Mobile terminal enters battery saving mode.
Embodiment of the present invention second aspect provides a kind of mobile terminal, including:
Detector unit, is used for detecting whether mobile terminal enters battery saving mode;
Acquiring unit, if for detecting that described mobile terminal enters battery saving mode, then obtains the described movement prestored eventually The dump energy of end with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current;
First determines unit, for reflecting of dump energy based on described mobile terminal and the application identities waiting to freeze application Penetrate relation and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application;
Freezing unit, for freezing the application that described application identities is corresponding.
In conjunction with second aspect, in the implementation that some are possible, described acquiring unit, described in prestoring for acquisition Before the dump energy of mobile terminal and the mapping relations of the application identities waiting to freeze application, it is additionally operable to obtain the described shifting prestored The application identities of each application that dynamic terminal is installed and the mapping relations of operating current;
Described mobile terminal also includes:
Second determines unit, for each application identities applied and the operating current installed based on described mobile terminal The operating current of each application in mapping relations, determines the dump energy of described mobile terminal and the application mark waiting to freeze application The mapping relations known.
In conjunction with second aspect, in the implementation that some are possible, described acquiring unit, described in prestoring for acquisition Before the dump energy of mobile terminal and the mapping relations of the application identities waiting to freeze application, it is additionally operable to obtain the institute of user setup State mobile terminal install each application freeze priority;
Described mobile terminal also includes:
3rd determines unit, freezes priority for what each installed based on described mobile terminal was applied, determines described The mapping relations of the dump energy of mobile terminal and the application identities waiting to freeze application.
In conjunction with second aspect, in the implementation that some are possible, described acquiring unit, described in prestoring for acquisition During the mapping relations of application identities and the operating current of each application that mobile terminal is installed, specifically for obtaining presetting of prestoring The mapping relations of application identities and the operating current of application, wherein, described default application is that described mobile terminal is pacified when dispatching from the factory in advance The application of dress;Gather the operating current installing application, and set up the described application identities installing application and the mapping of operating current Relation, wherein, described installation applies the application installed after dispatching from the factory for described mobile terminal;Application based on described default application The application identities of mark and the mapping relations of operating current and described installation application and the mapping relations of operating current, obtain institute Stating the application identities of each application that mobile terminal is installed and the mapping relations of operating current, wherein, described mobile terminal is installed Each application include described default application and described installation application.
In conjunction with second aspect, in the implementation that some are possible, described detector unit, specifically for detecting described movement Whether the dump energy of terminal is less than the power threshold preset, if, it is determined that described mobile terminal enters battery saving mode;Or Person, detects whether that receiving the mode of operation by described mobile terminal is set to battery saving mode, if, it is determined that described mobile whole End enters battery saving mode.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to These accompanying drawings obtain other accompanying drawing.
Fig. 1 is a kind of schematic flow sheet applying freezing method that first embodiment of the invention provides;
Fig. 2 is a kind of schematic flow sheet applying freezing method that second embodiment of the invention provides;
Fig. 3 is a kind of schematic flow sheet applying freezing method that third embodiment of the invention provides;
Fig. 4 is the structural representation of a kind of mobile terminal that fourth embodiment of the invention provides;
Fig. 5 is the structural representation of a kind of mobile terminal that fifth embodiment of the invention provides.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is this Bright a part of embodiment rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd ", " Four " it is etc. for distinguishing different object rather than for describing particular order.Additionally, " including " and " having " and they appoint What deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product Product or equipment are not limited to step or the unit listed, but the most also include step or the unit do not listed, or The most also include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description occurs that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly being understood by, embodiment described herein can combine with other embodiments.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet applying freezing method that first embodiment of the invention provides, as Shown in Fig. 1, the application freezing method in the embodiment of the present invention comprises the following steps:
Whether S101, detection mobile terminal enter battery saving mode.
Whether detection communication terminal enters battery saving mode can be used by the dump energy of detection communication terminal or detection Whether family opens the battery saving mode of terminal to determine that whether communication terminal is as battery saving mode.Such as, when the residue of communication terminal When electricity is less than a relatively low threshold value, then may determine that communication terminal enters battery saving mode, need to save electricity consumption.
If S102 detects that described mobile terminal enters battery saving mode, then obtain the residue of the described mobile terminal prestored Electricity with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current.
Specifically, described mobile terminal is previously stored with the dump energy of described mobile terminal with wait to freeze application should By the mapping relations of mark, the dump energy of above-mentioned mobile terminal with waiting the mapping relations freezing the application identities of application can be The operating current of each application program installed according to mobile terminal determines, it is also possible to be according to arrange to freeze priority true Fixed.
S103, dump energy based on described mobile terminal and the mapping relations of application identities and the institute waiting to freeze application State the dump energy that mobile terminal is current, determine the application identities waiting to freeze application.
S104, freeze the application that described application identities is corresponding.
Optionally, in some embodiments of the invention, the dump energy of the described mobile terminal that described acquisition prestores with wait to freeze Before the mapping relations of the application identities of knot application, described mobile terminal can also carry out following operation:
Obtain the application identities of each application that the described mobile terminal prestored is installed and the mapping relations of operating current;
Based on each in each application identities applied mapping relations with operating current that described mobile terminal is installed The operating current of application, determines the dump energy of described mobile terminal and the mapping relations waiting to freeze the application identities of application.
Wherein, the application identities of each application that the described mobile terminal that described acquisition prestores is installed and reflecting of operating current The specific implementation penetrating relation may is that
Obtaining the application identities of the default application prestored and the mapping relations of operating current, wherein, described default application is The application of pre-installation when described mobile terminal dispatches from the factory;
Gather the operating current installing application, and the mapping setting up the described application identities and operating current installing application is closed System, wherein, described installation applies the application installed after dispatching from the factory for described mobile terminal;
Based on the described application identities of default application and the mapping relations of operating current and the application of described installation application Mark and the mapping relations of operating current, obtain application identities and the operating current of each application that described mobile terminal is installed Mapping relations, wherein, each application that described mobile terminal is installed includes described default application and described installation application.
Optionally, in some embodiments of the invention, the dump energy of the described mobile terminal that described acquisition prestores with wait to freeze Before the mapping relations of the application identities of knot application, described mobile terminal can also carry out following operation:
Obtain user setup described mobile terminal install each application freeze priority;
Each application installed based on described mobile terminal freeze priority, determine the dump energy of described mobile terminal Mapping relations with the application identities waiting to freeze application.
Optionally, in some embodiments of the invention, whether described detection mobile terminal enters implementing of battery saving mode Mode may is that
Whether the dump energy detecting described mobile terminal is less than the power threshold preset, if, it is determined that described movement Terminal enters battery saving mode;Or
Detect whether that receiving the mode of operation by described mobile terminal is set to battery saving mode, if, it is determined that described Mobile terminal enters battery saving mode.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow sheet applying freezing method that second embodiment of the invention provides, as Shown in Fig. 2, the application freezing method in the embodiment of the present invention comprises the following steps:
The application identities of the default application that S201, acquisition for mobile terminal prestore and the mapping relations of operating current, wherein, institute State and preset the application of pre-installation when application is dispatched from the factory for described mobile terminal.
Wherein, presetting the application identities of application with the mapping relations of operating current is, before mobile terminal dispatches from the factory, to pass through early stage Experiment test obtain, and the mapping relations storage of the application identities of the default application that early stage test is obtained and operating current In the internal memory of mobile terminal.Such as, battery current during application work is preset by test, it is possible to obtain part is pre- If the operating current of application is as described in Table 1:
Table 1
Application identities Operating current
High-definition camera 800mA
SD images 600mA
4G network data service 500mA
Display screen default luminance works 300mA
Display screen low-light level works 150mA
S202, mobile terminal collection are installed the operating current applied, and are set up the described application identities installing application and work Making the mapping relations of electric current, wherein, described installation applies the application installed after dispatching from the factory for described mobile terminal.
Specifically, mobile terminal has battery voltage acquisition or detection functional module, controls voltage by mobile terminal CPU Detection functional module, gathers battery electric current under concrete application and voltage.
S203, based on the described application identities of default application and the mapping relations of operating current and described installation application Application identities and the mapping relations of operating current, obtain application identities and the work electricity of each application that described mobile terminal is installed The mapping relations of stream.
Wherein, each application that described mobile terminal is installed includes described default application and described installation application.
Specifically, mobile terminal is installed after dispatching from the factory based on the described mobile terminal gathered the application identities of application and work Making the mapping relations of electric current, the application identities of the default application that correction prestores and the mapping relations of operating current, meanwhile, interpolation is deposited Storing up the application identities of the application that described mobile terminal is installed after dispatching from the factory and the mapping relations of operating current, such as, XX plays, 700mA;MSN (QQ, wechat or microblogging etc.), 500mA etc..
In S204, the application identities of each application installed based on described mobile terminal and the mapping relations of operating current The operating current of each application, determines the dump energy of described mobile terminal and waits to freeze the mapping pass of the application identities of application System.
Specifically, mobile terminal is installed based on described mobile terminal application identities of each application and reflecting of operating current Penetrate each operating current applied in relation, determine the dump energy of described mobile terminal and wait to freeze the application identities of application Mapping relations, such as, when battery electric quantity is 30%, freeze the first application;When battery electric quantity is 20%, freezing first should With, second application;When battery electric quantity is 10%, freeze the first application, the second application and the 3rd application, wherein, described the One application operating current < described in second application operating current < described in the 3rd application operating current, and described first should It is current just at the running background of mobile terminal with, the second application and the 3rd application.
Whether S205, detection mobile terminal enter battery saving mode.
If S206 detects that described mobile terminal enters battery saving mode, mobile terminal then obtains the described movement prestored eventually The dump energy of end with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current.
S207, dump energy based on described mobile terminal and the mapping relations of application identities and the institute waiting to freeze application Stating the dump energy that mobile terminal is current, mobile terminal determines the application identities waiting to freeze application.
S208, mobile terminal freeze the application that described application identities is corresponding.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
Referring to Fig. 3, Fig. 3 is a kind of schematic flow sheet applying freezing method that third embodiment of the invention provides, as Shown in Fig. 3, the application freezing method in the embodiment of the present invention comprises the following steps:
S301, acquisition for mobile terminal arrange described mobile terminal install each application freeze priority.
Specifically, the priority of freezing of each application that described mobile terminal is installed can be user's demand according to oneself Arrange, it is also possible to being mobile terminal determines according to number of times/duration using each application in Preset Time of user.
Each application that S302, mobile terminal are installed based on described mobile terminal freeze priority, determine described movement The mapping relations of the dump energy of terminal and the application identities waiting to freeze application.
Specifically, the priority of freezing of each application installed with described mobile terminal is that user sets according to the demand of oneself As a example by putting, such as, user according to oneself using each situation about applying, arrange application to freeze priority as shown in table 2:
Table 2
Application identities Freeze priority
High-definition camera Level Four
XX plays Three grades
4G network data service Two poles
Address list One-level
Whether S303, detection mobile terminal enter battery saving mode.
If S304 detects that described mobile terminal enters battery saving mode, mobile terminal then obtains the described movement prestored eventually The dump energy of end with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current.
S305, mobile terminal dump energy based on described mobile terminal closes with the mapping of the application identities waiting to freeze application System and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application.
Specifically, the mapping of mobile terminal dump energy based on described mobile terminal and the application identities waiting to freeze application Relation and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, such as, when battery electric quantity is When 30%, freeze the high-definition camera that priority is level Four;When battery electric quantity is 20%, freezes the high definition that priority is level Four and take the photograph As playing with the XX that priority is three grades;When battery electric quantity is 10%, freezing priority is the high-definition camera of level Four, priority It is XX game and the network data service of the 4G that priority is two poles of three grades, when battery electric quantity is 10%, freezes priority Network data service and priority for 4G that XX game that the high-definition camera of level Four, priority are three grades, priority are two poles For the address list of one-level, wherein, described high-definition camera, XX game, 4G network data service and address list are all the most The running background of mobile terminal.
S306, mobile terminal freeze the application that described application identities is corresponding.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
Being apparatus of the present invention embodiment below, apparatus of the present invention embodiment is used for performing the inventive method embodiment one to two The method realized, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, and concrete ins and outs do not disclose , refer to the embodiment of the present invention one and embodiment two.
Refer to the structural representation that Fig. 4, Fig. 4 are a kind of mobile terminals that fourth embodiment of the invention provides, such as Fig. 4 institute Showing, the mobile terminal in the embodiment of the present invention includes with lower unit:
Detector unit 401, is used for detecting whether mobile terminal enters battery saving mode;
Acquiring unit 402, if for detecting that described mobile terminal enters battery saving mode, then obtaining the described movement prestored The dump energy of terminal with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current;
First determines unit 403, the application identities being used for dump energy based on described mobile terminal with waiting to freeze application Mapping relations and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application;
Freezing unit 404, for freezing the application that described application identities is corresponding.
Optionally, in some embodiments of the invention, described acquiring unit 402, described mobile whole prestore for acquisition Before the dump energy of end and the mapping relations of the application identities waiting to freeze application, it is additionally operable to obtain the described mobile terminal prestored The application identities of each application installed and the mapping relations of operating current;
Described mobile terminal also includes:
Second determines unit 405, and the application identities of each application for installing based on described mobile terminal is electric with work Operating current of each application in the mapping relations of stream, determine the dump energy of described mobile terminal with wait to freeze application should Mapping relations by mark.
Optionally, in some embodiments of the invention, described acquiring unit 402, described mobile whole prestore for acquisition Before the dump energy of end and the mapping relations of the application identities waiting to freeze application, it is additionally operable to obtain the described movement of user setup Terminal install each application freeze priority;
Described mobile terminal also includes:
3rd determines unit 406, freezes priority for what each installed based on described mobile terminal was applied, determines institute State the dump energy of mobile terminal and the mapping relations waiting to freeze the application identities of application.
Optionally, in some embodiments of the invention, described acquiring unit 402, described mobile whole prestore for acquisition During the mapping relations of application identities and the operating current of each application that end is installed, specifically for obtaining the default application that prestores The mapping relations of application identities and operating current, wherein, described default application be described mobile terminal when dispatching from the factory pre-installation should With;Gather the operating current installing application, and set up the described application identities installing application and the mapping relations of operating current, its In, described installation applies the application installed after dispatching from the factory for described mobile terminal;Application identities based on described default application with The application identities of the mapping relations of operating current and described installation application and the mapping relations of operating current, obtain described movement The mapping relations of application identities and the operating current of each application that terminal is installed, wherein, described mobile terminal install each Application includes described default application and described installation application.
Optionally, in some embodiments of the invention, described detector unit 401, specifically for detecting described mobile terminal Whether dump energy is less than the power threshold preset, if, it is determined that described mobile terminal enters battery saving mode;Or, detection Whether receive and the mode of operation of described mobile terminal is set to battery saving mode, if, it is determined that described mobile terminal enters Battery saving mode.
Concrete, the implementing of above-mentioned unit refers to retouching of correlation step in Fig. 1 to Fig. 3 correspondence embodiment State, be not repeated herein.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
Refer to the structural representation that Fig. 5, Fig. 5 are a kind of mobile terminals that fifth embodiment of the invention provides.Such as Fig. 5 institute Showing, the mobile terminal in the embodiment of the present invention includes: at least one processor 501, such as CPU, at least one receptor 503, At least one memorizer 504, at least one transmitter 505, at least one communication bus 502.Wherein, communication bus 502 is used for Realize the connection communication between these assemblies.Wherein, in the embodiment of the present invention, receptor 503 and the transmitter 505 of device are permissible Wired transmission port, it is also possible to for wireless device, such as, include antenna assembly, for other node devices carry out signaling or The communication of data.Memorizer 504 can be high-speed RAM memorizer, it is also possible to be non-labile memorizer (non- Volatilememory), for example, at least one disk memory.Memorizer 504 optionally can also is that at least one is positioned at far Storage device from aforementioned processor 501.Memorizer 504 stores batch processing code, and described processor 501 can be by logical Letter bus 502, calls the function that in memorizer 504, the code of storage is correlated with execution.
Described processor 501, is used for detecting whether mobile terminal enters battery saving mode;If detecting, described mobile terminal enters Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and the mapping relations waiting to freeze the application identities of application And the dump energy that described mobile terminal is current;Dump energy based on described mobile terminal and the application mark waiting to freeze application The mapping relations known and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application;Freeze described The application that application identities is corresponding.
Optionally, in some embodiments of the invention, described processor 501, for obtaining the described mobile terminal prestored Dump energy and the mapping relations of the application identities waiting to freeze application before, it is also possible to for obtain prestore described mobile eventually The application identities of each application that end is installed and the mapping relations of operating current;Each application installed based on described mobile terminal Application identities and operating current mapping relations in operating current of each application, determine the residue electricity of described mobile terminal The mapping relations measured and wait to freeze the application identities of application.
Optionally, in some embodiments of the invention, described processor 501, for obtaining the described mobile terminal prestored Dump energy and the mapping relations of the application identities waiting to freeze application before, it is also possible to for obtaining the described shifting of user setup Each application that dynamic terminal is installed freeze priority;Each application installed based on described mobile terminal freeze priority, Determine the dump energy of described mobile terminal and the mapping relations waiting to freeze the application identities of application.
Optionally, in some embodiments of the invention, described processor 501, for obtaining the described mobile terminal prestored The application identities of each application installed and the mapping relations of operating current, specifically for obtaining the application of the default application prestored Mark and the mapping relations of operating current, wherein, described default application is the application of pre-installation when dispatching from the factory of described mobile terminal;Adopt The operating current of application installed by collection, and sets up the described application identities installing application and the mapping relations of operating current, wherein, institute State and the application that application is installed for described mobile terminal after dispatching from the factory is installed;Application identities based on described default application and work electricity The application identities of the mapping relations of stream and described installation application and the mapping relations of operating current, obtain described mobile terminal peace The application identities of each application of dress and the mapping relations of operating current, wherein, each application bag that described mobile terminal is installed Include described default application and described installation application.
Optionally, in some embodiments of the invention, described processor 501, detects whether mobile terminal enters province being used for During power mode, specifically for detecting whether the dump energy of described mobile terminal is less than the power threshold preset, if, it is determined that Described mobile terminal enters battery saving mode;Or detect whether that receiving the mode of operation by described mobile terminal is set to power saving Pattern, if, it is determined that described mobile terminal enters battery saving mode.
Concrete, the implementing of above-mentioned unit refers to retouching of correlation step in Fig. 1 to Fig. 3 correspondence embodiment State, be not repeated herein.
It can be seen that in embodiment of the present invention technical scheme, mobile terminal detects whether to enter battery saving mode, if detecting Enter battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze the mapping pass of the application identities of application System and the current dump energy of described mobile terminal, dump energy based on described mobile terminal with wait to freeze the application of application The mapping relations of mark and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application, freeze institute State the application that application identities is corresponding.Visible, mobile terminal is when entrance battery saving mode being detected, by obtaining current residue electricity Amount the corresponding application program of automatic stay, improve mobile terminal application freeze intelligent, extend the continuation of the journey of mobile terminal Time.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can store journey Sequence, this program includes the part of the monitoring method of any service processes described in said method embodiment or full when performing Portion's step.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the unit not necessarily present invention Necessary.
The sequence of steps of the method for the embodiment of the present invention can be adjusted according to actual needs, merges or delete.This The unit of the terminal of bright embodiment can carry out integrating according to actual needs, Further Division or delete.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is schematic, the division of the most described unit, for a kind of logic function Divide, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into Another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or Direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electricity Property or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be for personal computer, server or the network equipment etc.) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code Medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that flash disk, read only memory (English: Read-Only Memory, ROM), random access device (English be called for short: RAM), disk or CD etc. literary composition: Random Access Memory, is called for short:.
A kind of application freezing method provided the embodiment of the present invention above and mobile terminal are described in detail, this Applying specific case in literary composition to be set forth principle and the embodiment of the present invention, the explanation of above example is only intended to Help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the think of of the present invention Thinking, the most all will change, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (10)

1. an application freezing method, it is characterised in that including:
Whether detection mobile terminal enters battery saving mode;
If detecting, described mobile terminal enters battery saving mode, then obtain the dump energy of the described mobile terminal prestored and wait to freeze Tie the mapping relations of the application identities of application and the dump energy that described mobile terminal is current;
Dump energy based on described mobile terminal with wait to freeze application application identities mapping relations and described mobile eventually Hold current dump energy, determine the application identities waiting to freeze application;
Freeze the application that described application identities is corresponding.
2. the method for claim 1, it is characterised in that the dump energy of the described mobile terminal that described acquisition prestores with Before the mapping relations of the application identities waiting to freeze application, described method also includes:
Obtain the application identities of each application that the described mobile terminal prestored is installed and the mapping relations of operating current;
The application identities of each application installed based on described mobile terminal and each application in the mapping relations of operating current Operating current, determine that the dump energy and treating of described mobile terminal freezes the mapping relations of the application identities of application.
3. the method for claim 1, it is characterised in that the dump energy of the described mobile terminal that described acquisition prestores with Before the mapping relations of the application identities waiting to freeze application, described method also includes:
Obtain user setup described mobile terminal install each application freeze priority;
Each application installed based on described mobile terminal freeze priority, determine the dump energy of described mobile terminal and treat Freeze the mapping relations of the application identities of application.
4. method as claimed in claim 2, it is characterised in that each of the described mobile terminal installation that described acquisition prestores should The mapping relations of application identities and operating current, including:
Obtaining the application identities of the default application prestored and the mapping relations of operating current, wherein, described default application is described The application of pre-installation when mobile terminal dispatches from the factory;
Gather the operating current installing application, and set up the described application identities installing application and the mapping relations of operating current, Wherein, described installation applies the application installed after dispatching from the factory for described mobile terminal;
Based on the described application identities of default application and the mapping relations of operating current and the application identities of described installation application With the mapping relations of operating current, obtain the application identities of each application that described mobile terminal is installed and the mapping of operating current Relation, wherein, each application that described mobile terminal is installed includes described default application and described installation application.
5. the method as described in any one of Claims 1-4, it is characterised in that whether described detection mobile terminal enters power saving Pattern, including:
Whether the dump energy detecting described mobile terminal is less than the power threshold preset, if, it is determined that described mobile terminal Enter battery saving mode;Or
Detect whether that receiving the mode of operation by described mobile terminal is set to battery saving mode, if, it is determined that described movement Terminal enters battery saving mode.
6. a mobile terminal, it is characterised in that including:
Detector unit, is used for detecting whether mobile terminal enters battery saving mode;
Acquiring unit, if for detecting that described mobile terminal enters battery saving mode, then obtaining the described mobile terminal that prestores Dump energy with wait to freeze the mapping relations of application identities of application and the dump energy that described mobile terminal is current;
First determines unit, is used for dump energy based on described mobile terminal and waits that the mapping freezing the application identities of application is closed System and the current dump energy of described mobile terminal, determine the application identities waiting to freeze application;
Freezing unit, for freezing the application that described application identities is corresponding.
7. mobile terminal as claimed in claim 6, it is characterised in that
Described acquiring unit, for obtaining the dump energy of the described mobile terminal prestored and the application identities waiting to freeze application Mapping relations before, be additionally operable to obtain application identities and operating current of each application that the described mobile terminal prestored is installed Mapping relations;
Described mobile terminal also includes:
Second determines unit, for each application identities applied installed based on described mobile terminal and the mapping of operating current The operating current of each application in relation, the dump energy determining described mobile terminal and the application identities waiting to freeze application Mapping relations.
8. mobile terminal as claimed in claim 6, it is characterised in that
Described acquiring unit, for obtaining the dump energy of the described mobile terminal prestored and the application identities waiting to freeze application Mapping relations before, be additionally operable to obtain user setup described mobile terminal install each application freeze priority;
Described mobile terminal also includes:
3rd determines unit, freezes priority for what each installed based on described mobile terminal was applied, determines described movement The mapping relations of the dump energy of terminal and the application identities waiting to freeze application.
9. mobile terminal as claimed in claim 7, it is characterised in that
Described acquiring unit, at application identities and work electricity for obtaining each application that the described mobile terminal prestored is installed During the mapping relations flowed, the mapping relations of application identities with operating current specifically for obtaining the default application prestored, wherein, Described default application is the application of pre-installation when dispatching from the factory of described mobile terminal;Gather the operating current installing application, and set up institute Stating the mapping relations of application identities and the operating current installing application, wherein, described installation applies going out for described mobile terminal The application installed after factory;Based on the described application identities of default application and the mapping relations of operating current and described installation application The mapping relations of application identities and operating current, obtain application identities and work of each application that described mobile terminal is installed The mapping relations of electric current, wherein, each application that described mobile terminal is installed includes described default application and described installation application.
10. the mobile terminal as described in any one of claim 6 to 9, it is characterised in that
Described detector unit, specifically for detecting whether the dump energy of described mobile terminal is less than the power threshold preset, if It is, it is determined that described mobile terminal enters battery saving mode;Or, detect whether to receive the mode of operation of described mobile terminal It is set to battery saving mode, if, it is determined that described mobile terminal enters battery saving mode.
CN201610496841.5A 2016-06-28 2016-06-28 A kind of application freezing method and mobile terminal Expired - Fee Related CN106200866B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610496841.5A CN106200866B (en) 2016-06-28 2016-06-28 A kind of application freezing method and mobile terminal
PCT/CN2016/092498 WO2018000504A1 (en) 2016-06-28 2016-07-30 Application freezing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610496841.5A CN106200866B (en) 2016-06-28 2016-06-28 A kind of application freezing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106200866A true CN106200866A (en) 2016-12-07
CN106200866B CN106200866B (en) 2018-09-07

Family

ID=57463123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610496841.5A Expired - Fee Related CN106200866B (en) 2016-06-28 2016-06-28 A kind of application freezing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN106200866B (en)
WO (1) WO2018000504A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957771A (en) * 2017-11-20 2018-04-24 珠海市魅族科技有限公司 A kind of control method of application program, device, mobile terminal and storage medium
CN111796735A (en) * 2020-06-29 2020-10-20 维沃移动通信(杭州)有限公司 Application program control method and device and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162623A (en) * 2020-09-30 2021-01-01 重庆长安汽车股份有限公司 Method for prolonging standing service life of storage battery of fuel vehicle
CN114825553B (en) * 2022-05-25 2024-06-18 深圳市华云电源有限公司 Electric quantity balance control method and system for mobile power supply device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140024355A1 (en) * 2012-07-19 2014-01-23 Hon Hai Precision Industry Co., Ltd. Electronic device capable of controlling functionality depending on location
CN103905652A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Power supply management method and electronic device
CN104199538A (en) * 2014-08-26 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal power saving method and system and mobile terminal
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically cleaning background application program
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140024355A1 (en) * 2012-07-19 2014-01-23 Hon Hai Precision Industry Co., Ltd. Electronic device capable of controlling functionality depending on location
CN103905652A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Power supply management method and electronic device
CN104199538A (en) * 2014-08-26 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal power saving method and system and mobile terminal
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically cleaning background application program
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957771A (en) * 2017-11-20 2018-04-24 珠海市魅族科技有限公司 A kind of control method of application program, device, mobile terminal and storage medium
CN111796735A (en) * 2020-06-29 2020-10-20 维沃移动通信(杭州)有限公司 Application program control method and device and electronic equipment

Also Published As

Publication number Publication date
WO2018000504A1 (en) 2018-01-04
CN106200866B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN103430151B (en) A kind of resource allocation method and device
CN106125896A (en) A kind of application program freezing method and mobile terminal
CN103176842B (en) background process management method and mobile terminal thereof
CN106200866A (en) A kind of application freezing method and mobile terminal
CN104503828A (en) Process management method and terminal
CN107209716A (en) Memory management apparatus and method
CN103188277A (en) Load energy consumption management system, method and server
CN106060909A (en) Network access method and mobile terminal
CN105700663A (en) Background program cleaning method and system for mobile terminal
CN103902333A (en) Method for automatically unloading application of mobile terminal and mobile terminal
CN104410543A (en) An automatic testing method and system based on cloud resource
CN105704785A (en) Network searching method, device and mobile terminal
CN103902357A (en) Application program management system and method
CN106155789A (en) A kind of application freezing method and mobile terminal
CN104461742A (en) Method and device for optimizing computing equipment
CN106250092A (en) A kind of terminal screen changing method and device
CN104572279A (en) Node binding-supporting virtual machine dynamic scheduling method
CN106227530A (en) A kind of configuration information pushes method and the mobile terminal of authority
CN104809046A (en) Application program networking control method and application program networking control device
CN106126011A (en) The resource occupation method for information display of a kind of application program and mobile terminal
CN107506286A (en) CPU and memory block automatically upper inserting method and system
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN106227569A (en) A kind of application upgrade method and terminal unit
CN112527615B (en) Equipment determination method and device, electronic equipment and storage medium
CN105700922A (en) Method and device for automatically cleaning memory when charging is carried out and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180907

Termination date: 20210628

CF01 Termination of patent right due to non-payment of annual fee