CN106200866B - 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
CN106200866B
CN106200866B CN201610496841.5A CN201610496841A CN106200866B CN 106200866 B CN106200866 B CN 106200866B CN 201610496841 A CN201610496841 A CN 201610496841A CN 106200866 B CN106200866 B CN 106200866B
Authority
CN
China
Prior art keywords
application
mobile terminal
mapping relations
identities
operating current
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.)
Expired - Fee Related
Application number
CN201610496841.5A
Other languages
Chinese (zh)
Other versions
CN106200866A (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

Abstract

The embodiment of the invention discloses a kind of application freezing method and mobile terminal, method therein includes:Detect whether mobile terminal enters battery saving mode;If detecting, the mobile terminal enters battery saving mode, obtains the remaining capacity of the mobile terminal to prestore the remaining capacity current with the mapping relations for the application identities for waiting freezing application and the mobile terminal;It remaining capacity based on the mobile terminal and waits freezing the mapping relations of the application identities of application and the current remaining capacity of the mobile terminal, determines the application identities for waiting freezing application;Freeze the corresponding application of the application identities.The embodiment of the invention also discloses corresponding mobile terminals.Technical solution provided in an embodiment of the present invention can promote mobile terminal application and freeze intelligent, extend the cruise duration of mobile terminal.

Description

A kind of application freezing method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of application freezing method and mobile terminal.
Background technology
Many application programs usually can be installed in the terminal, an application program part for these installations is mobile terminal It is carried in system, a part is that the third party service provider is preassembled in the terminal, and a part, which is user, subsequently to be made With what is oneself installed in the process, for example, desktop tool, QQ, game etc. in system.
Currently, user can manually stop some application program in the application program management interface of mobile terminal, so And this mode operates and bothers very much, especially when the number of applications opened from the background in mobile terminal is very more, Freeze application program manually and operate not only cumbersome, but also efficiency is very low.However if the application of these prepackages is not stopped Program, the pre-installed applications program of a large amount of running backgrounds can occupy the resource of very multi-mobile-terminal, and it is a large amount of to consume mobile terminal Electricity, bring great waste to user.
Invention content
An embodiment of the present invention provides a kind of application freezing method and mobile terminals, to be promoted using the intelligence freezed Property.
The offer of first aspect of the embodiment of the present invention is a kind of using freezing method, including:
Detect whether mobile terminal enters battery saving mode;
If detecting, the mobile terminal enters battery saving mode, obtain the remaining capacity of the mobile terminal to prestore with Wait freezing the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current;
It remaining capacity based on the mobile terminal and waits freezing the mapping relations of the application identities of application and the shifting The current remaining capacity of dynamic terminal, determines the application identities for waiting freezing application;
Freeze the corresponding application of the application identities.
With reference to first aspect, in some possible realization methods, the residue for obtaining the mobile terminal to prestore With before the mapping relations for the application identities for waiting freezing application, the method further includes electricity:
Obtain the mapping relations of the application identities and operating current of each application of the mobile terminal installation to prestore;
It is each in the application identities of each application and the mapping relations of operating current based on mobile terminal installation The operating current of application determines the remaining capacity of the mobile terminal and waits freezing the mapping relations of the application identities of application.
With reference to first aspect, in some possible realization methods, the residue for obtaining the mobile terminal to prestore With before the mapping relations for the application identities for waiting freezing application, the method further includes electricity:
Obtain each application of the mobile terminal installation of user setting freezes priority;
Priority is freezed in each application based on mobile terminal installation, determines the remaining capacity of the mobile terminal With the mapping relations for the application identities for waiting freezing application.
With reference to first aspect, described to obtain what the mobile terminal to prestore was installed in some possible realization methods The application identities of each application and the mapping relations of operating current, including:
Obtain the mapping relations of the application identities and operating current of the default application that prestore, wherein the default application is The application pre-installed when the mobile terminal manufacture;
The operating current of acquisition installation application, and the mapping for establishing application identities and operating current that the installation is applied is closed System, wherein the installation application is the application that the mobile terminal is installed after manufacture;
The application of the mapping relations of application identities and operating current based on the default application and the installation application Mark and the mapping relations of operating current obtain the application identities and operating current of each application of the mobile terminal installation Mapping relations, wherein each application of the mobile terminal installation includes the default application and installation application.
With reference to first aspect, in some possible realization methods, whether the detection mobile terminal enters battery saving mode, Including:
Whether the remaining capacity for detecting the mobile terminal is less than preset power threshold, if so, determining the movement Terminal enters battery saving mode;Or
It detects whether to receive and sets the operating mode of the mobile terminal to battery saving mode, if so, described in determining Mobile terminal enters battery saving mode.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Detection unit, for detecting whether mobile terminal enters battery saving mode;
If acquiring unit obtains the movement to prestore eventually for detecting that the mobile terminal enters battery saving mode The remaining capacity at end and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current;
First determination unit, for reflecting for remaining capacity and the application identities that wait freezing application based on the mobile terminal Relationship and the current remaining capacity of the mobile terminal are penetrated, determines the application identities for waiting freezing application;
Freezing unit, for freezing the corresponding application of the application identities.
In conjunction with second aspect, in some possible realization methods, the acquiring unit, described in prestoring for acquisition The remaining capacity of mobile terminal is additionally operable to obtain the shifting to prestore with before the mapping relations for the application identities for waiting freezing application The mapping relations of the application identities and operating current of each application of dynamic terminal installation;
The mobile terminal further includes:
Second determination unit, the application identities of each application for being installed based on the mobile terminal and operating current The operating current of each application in mapping relations determines the remaining capacity of the mobile terminal and waits that the application for freezing application is marked The mapping relations of knowledge.
In conjunction with second aspect, in some possible realization methods, the acquiring unit, described in prestoring for acquisition The remaining capacity of mobile terminal is additionally operable to obtain the institute of user setting with before the mapping relations for the application identities for waiting freezing application That states each application of mobile terminal installation freezes priority;
The mobile terminal further includes:
Priority is freezed in third determination unit, each application for being installed based on the mobile terminal, determine described in The remaining capacity of mobile terminal and the mapping relations for waiting freezing the application identities of application.
In conjunction with second aspect, in some possible realization methods, the acquiring unit, described in prestoring for acquisition When the application identities of each application of mobile terminal installation and the mapping relations of operating current, specifically for obtain prestore it is default The application identities of application and the mapping relations of operating current, wherein the default application is that the mobile terminal is pacified in advance when dispatching from the factory The application of dress;The operating current of acquisition installation application, and establish the mapping of the application identities and operating current of the installation application Relationship, wherein the installation application is the application that the mobile terminal is installed after manufacture;Application based on the default application Mark and the mapping relations of operating current and the mapping relations of the application identities and operating current of the installation application, obtain institute State the mapping relations of the application identities and operating current of each application of mobile terminal installation, wherein the mobile terminal installation Each application include it is described it is default application and the installation apply.
In conjunction with second aspect, in some possible realization methods, the detection unit is specifically used for detecting the movement Whether the remaining capacity of terminal is less than preset power threshold, if so, determining that the mobile terminal enters battery saving mode;Or Person, detects whether to receive and sets the operating mode of the mobile terminal to battery saving mode, if so, determine it is described it is mobile eventually End enters battery saving mode.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow diagram using freezing method that first embodiment of the invention provides;
Fig. 2 is a kind of flow diagram using freezing method that second embodiment of the invention provides;
Fig. 3 is a kind of flow diagram using freezing method that third embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for mobile terminal that fourth embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram for mobile terminal that fifth embodiment of the invention provides.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is this hair Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having There is the every other embodiment obtained under the premise of making creative work, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " in description and claims of this specification and above-mentioned attached drawing, " Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, " comprising " and " having " and they appoint What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process of series of steps or unit, method, system, production The step of product or equipment are not limited to list or unit, but further include the steps that optionally do not list or unit, or Further include optionally for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram using freezing method that first embodiment of the invention provides, such as Shown in Fig. 1, including the following steps using freezing method in the embodiment of the present invention:
Whether S101, detection mobile terminal enter battery saving mode.
Detect whether communication terminal can be used into battery saving mode by the remaining capacity or detection for detecting communication terminal Whether family opens the battery saving mode of terminal to determine whether communication terminal is battery saving mode.For example, when the residue of communication terminal It when electricity is less than a lower threshold value, then can determine that communication terminal enters battery saving mode, need to save electricity consumption.
If S102, detecting that the mobile terminal enters battery saving mode, the residue of the mobile terminal to prestore is obtained Electricity and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current.
Specifically, it is previously stored with the remaining capacity of the mobile terminal in the mobile terminal and waits freezing answering for application With the mapping relations of mark, the remaining capacity of above-mentioned mobile terminal and the mapping relations for the application identities for waiting freezing application can be Determined according to the operating current of each application program of mobile terminal installation, can also be according to setting to freeze priority true It is fixed.
S103, the remaining capacity based on the mobile terminal and the mapping relations and the institute that wait freezing the application identities of application The current remaining capacity of mobile terminal is stated, determines the application identities for waiting freezing application.
S104, freeze the corresponding application of the application identities.
Optionally, described to obtain the remaining capacity of the mobile terminal to prestore and wait freezing in some embodiments of the invention Before the mapping relations for tying the application identities of application, following operation can also be performed in the mobile terminal:
Obtain the mapping relations of the application identities and operating current of each application of the mobile terminal installation to prestore;
It is each in the application identities of each application and the mapping relations of operating current based on mobile terminal installation The operating current of application determines the remaining capacity of the mobile terminal and waits freezing the mapping relations of the application identities of application.
Wherein, the application identities of each application for obtaining the mobile terminal installation to prestore and reflecting for operating current Penetrating the specific implementation of relationship can be:
Obtain the mapping relations of the application identities and operating current of the default application that prestore, wherein the default application is The application pre-installed when the mobile terminal manufacture;
The operating current of acquisition installation application, and the mapping for establishing application identities and operating current that the installation is applied is closed System, wherein the installation application is the application that the mobile terminal is installed after manufacture;
The application of the mapping relations of application identities and operating current based on the default application and the installation application Mark and the mapping relations of operating current obtain the application identities and operating current of each application of the mobile terminal installation Mapping relations, wherein each application of the mobile terminal installation includes the default application and installation application.
Optionally, described to obtain the remaining capacity of the mobile terminal to prestore and wait freezing in some embodiments of the invention Before the mapping relations for tying the application identities of application, following operation can also be performed in the mobile terminal:
Obtain each application of the mobile terminal installation of user setting freezes priority;
Priority is freezed in each application based on mobile terminal installation, determines the remaining capacity of the mobile terminal With the mapping relations for the application identities for waiting freezing application.
Optionally, in some embodiments of the invention, whether the detection mobile terminal enters the specific implementation of battery saving mode Mode can be:
Whether the remaining capacity for detecting the mobile terminal is less than preset power threshold, if so, determining the movement Terminal enters battery saving mode;Or
It detects whether to receive and sets the operating mode of the mobile terminal to battery saving mode, if so, described in determining Mobile terminal enters battery saving mode.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram using freezing method that second embodiment of the invention provides, such as Shown in Fig. 2, including the following steps using freezing method in the embodiment of the present invention:
The mapping relations of the application identities and operating current of the default application that S201, acquisition for mobile terminal prestore, wherein institute It is the application pre-installed when mobile terminal manufacture to state default application.
Wherein, it is before mobile terminal dispatches from the factory, to pass through early period to preset the application identities of application and the mapping relations of operating current Experiment test obtain, and the application identities for the default application tested early period and the mapping relations of operating current are stored In the internal memory of mobile terminal.For example, by testing battery current when presetting using work, it is pre- that part can be obtained 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 services 500mA
Display screen default luminance works 300mA
Display screen low-light level works 150mA
The operating current that S202, mobile terminal acquisition installation are applied, and establish the application identities and work of the installation application Make the mapping relations of electric current, wherein the installation application is the application that the mobile terminal is installed after manufacture.
Specifically, mobile terminal has battery voltage acquisition or detection function module, and voltage is controlled by mobile terminal CPU Detection function module, electric current and voltage of the acquisition battery under concrete application.
What S203, the mapping relations of the application identities based on the default application and operating current and the installation were applied The mapping relations of application identities and operating current obtain the application identities and work electricity of each application of the mobile terminal installation The mapping relations of stream.
Wherein, each application of the mobile terminal installation includes the default application and installation application.
Specifically, the application identities and work for the application that the mobile terminal of the mobile terminal based on acquisition is installed after manufacture The mapping relations for making electric current correct the mapping relations of the application identities and operating current of the default application to prestore, meanwhile, addition is deposited The application identities for the application that the mobile terminal is installed after manufacture and the mapping relations of operating current are stored up, for example, XX plays, 700mA;Instant message applications (QQ, wechat or microblogging etc.), 500mA etc..
In S204, the application identities of each application and the mapping relations of operating current based on mobile terminal installation The operating current of each application determines the remaining capacity of the mobile terminal and waits that the mapping for freezing the application identities of application is closed System.
Specifically, the application identities of each application and reflecting for operating current that mobile terminal is installed based on the mobile terminal The operating current for penetrating each application in relationship determines the remaining capacity of the mobile terminal and waits freezing the application identities of application Mapping relations, for example, when battery capacity be 30% when, freeze the first application;When battery capacity is 20%, freezes first and answer With, second application;When battery capacity is 10%, freeze the first application, the second application and third application, wherein described the The operating current of third application described in the operating current < of second application described in the operating current < of one application, and described first answers It is current just in the running background of mobile terminal with, the second application and third application.
Whether S205, detection mobile terminal enter battery saving mode.
If S206, detecting that the mobile terminal enters battery saving mode, mobile terminal obtains the movement to prestore eventually The remaining capacity at end and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current.
S207, the remaining capacity based on the mobile terminal and the mapping relations and the institute that wait freezing the application identities of application The current remaining capacity of mobile terminal is stated, mobile terminal determines the application identities for waiting freezing application.
S208, mobile terminal freeze the corresponding application of the application identities.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram using freezing method that third embodiment of the invention provides, such as Shown in Fig. 3, including the following steps using freezing method in the embodiment of the present invention:
Priority is freezed in each application for the mobile terminal installation that S301, acquisition for mobile terminal are arranged.
Specifically, the priority of freezing of each application of the mobile terminal installation can be demand of the user according to oneself Be arranged, can also be mobile terminal according to user being determined using number/duration of each application in preset time.
Priority is freezed in each application that S302, mobile terminal are installed based on the mobile terminal, determines the movement The remaining capacity of terminal and the mapping relations for waiting freezing the application identities of application.
Specifically, it is that user sets according to the demand of oneself with the priority of freezing of each application of mobile terminal installation For setting, for example, the case where user uses each application according to oneself, be arranged application to freeze priority as shown in table 2:
Table 2
Application identities Freeze priority
High-definition camera Level Four
XX plays Three-level
4G network data services Two poles
Address list Level-one
Whether S303, detection mobile terminal enter battery saving mode.
If S304, detecting that the mobile terminal enters battery saving mode, mobile terminal obtains the movement to prestore eventually The remaining capacity at end and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current.
S305, remaining capacity of the mobile terminal based on the mobile terminal and the mapping pass for waiting freezing the application identities of application System and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application.
Specifically, the mapping of remaining capacity of the mobile terminal based on the mobile terminal and the application identities for waiting freezing application Relationship and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, for example, when battery capacity is When 30%, freeze the high-definition camera that priority is level Four;When battery capacity is 20%, freezes the high definition that priority is level Four and take the photograph As playing for the XX of three-level with priority;When battery capacity is 10%, it is the high-definition camera of level Four, priority to freeze priority Network data service for the XX game and the 4G that priority is two poles of three-level freezes priority when battery capacity is 10% For the network data service and priority of XX game, the 4G that priority is two poles that the high-definition camera of level Four, priority are three-level For the address list of level-one, wherein the high-definition camera, XX game, 4G network data services and address list be it is current The running background of mobile terminal.
S306, mobile terminal freeze the corresponding application of the application identities.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing the method for the present invention embodiment one to two The method of realization is illustrated only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details for convenience of description , please refer to the embodiment of the present invention one and embodiment two.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram for mobile terminal that fourth embodiment of the invention provides, such as Fig. 4 institutes Show, the mobile terminal in the embodiment of the present invention includes with lower unit:
Detection unit 401, for detecting whether mobile terminal enters battery saving mode;
If acquiring unit 402 obtains the movement to prestore for detecting that the mobile terminal enters battery saving mode The remaining capacity of terminal and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current;
First determination unit 403 freezes the application identities of application for the remaining capacity and waiting based on the mobile terminal Mapping relations and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application;
Freezing unit 404, for freezing the corresponding application of the application identities.
Optionally, in some embodiments of the invention, the acquiring unit 402, for obtaining the movement to prestore eventually The remaining capacity at end is additionally operable to obtain the mobile terminal to prestore with before the mapping relations for the application identities for waiting freezing application The mapping relations of the application identities and operating current of each application of installation;
The mobile terminal further includes:
Second determination unit 405, application identities and the work electricity of each application for being installed based on the mobile terminal The operating current of each application in the mapping relations of stream, determines the remaining capacity of the mobile terminal and waits freezing answering for application With the mapping relations of mark.
Optionally, in some embodiments of the invention, the acquiring unit 402, for obtaining the movement to prestore eventually The remaining capacity at end is additionally operable to obtain the movement of user setting with before the mapping relations for the application identities for waiting freezing application Priority is freezed in each application of terminal installation;
The mobile terminal further includes:
Third determination unit 406, each application for being installed based on the mobile terminal are freezed priority, determine institute It states the remaining capacity of mobile terminal and waits freezing the mapping relations of the application identities of application.
Optionally, in some embodiments of the invention, the acquiring unit 402, for obtaining the movement to prestore eventually Hold each application of installation application identities and operating current mapping relations when, specifically for obtaining the default application to prestore The mapping relations of application identities and operating current, wherein what the default application pre-installed when dispatching from the factory for the mobile terminal answers With;The operating current of acquisition installation application, and the mapping relations of the application identities and operating current of the installation application are established, In, the installation application is the application that the mobile terminal is installed after manufacture;Application identities based on the default application with The mapping relations of the mapping relations of operating current and the application identities and operating current of the installation application, obtain the movement The mapping relations of the application identities and operating current of each application of terminal installation, wherein the mobile terminal is installed each Using including the default application and installation application.
Optionally, in some embodiments of the invention, the detection unit 401 is specifically used for detecting the mobile terminal Whether remaining capacity is less than preset power threshold, if so, determining that the mobile terminal enters battery saving mode;Alternatively, detection Whether receive and set the operating mode of the mobile terminal to battery saving mode, if so, determining that the mobile terminal enters Battery saving mode.
Specifically, the specific implementation of above-mentioned each unit can refer to retouching for correlation step in Fig. 1 to Fig. 3 corresponding embodiments It states, this will not be repeated here.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram for mobile terminal that fifth embodiment of the invention provides.Such as Fig. 5 institutes Show, the mobile terminal in the embodiment of the present invention includes:At least one processor 501, such as CPU, at least one receiver 503, At least one processor 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 components.Wherein, the receiver 503 of device and transmitter 505 can be in the embodiment of the present invention Wired sending port, or wireless device, such as including antenna assembly, for other node devices carry out signaling or The communication of data.Memory 504 can be high-speed RAM memory, can also be non-labile memory (non- Volatilememory), a for example, at least magnetic disk storage.Memory 504 optionally can also be at least one and be located at far Storage device from aforementioned processor 501.Batch processing code is stored in memory 504, and the processor 501 can be by logical Believe bus 502, calls the code stored in memory 504 to execute relevant function.
The processor 501, for detecting whether mobile terminal enters battery saving mode;If detect the mobile terminal into Enter battery saving mode, then obtain the remaining capacity of the mobile terminal to prestore and waits freezing the mapping relations of the application identities of application And the remaining capacity that the mobile terminal is current;Remaining capacity based on the mobile terminal is marked with the application for freezing application is waited The mapping relations of knowledge and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application;Freeze described The corresponding application of application identities.
Optionally, in some embodiments of the invention, the processor 501, for obtaining the mobile terminal to prestore Remaining capacity and the waiting application identities of freezing application mapping relations before, it is mobile eventually to can be also used for obtaining prestore described Hold the mapping relations of the application identities and operating current of each application of installation;Each application based on mobile terminal installation Application identities and operating current mapping relations in each application operating current, determine the mobile terminal residue electricity Measure and wait the mapping relations for the application identities for freezing to apply.
Optionally, in some embodiments of the invention, the processor 501, for obtaining the mobile terminal to prestore Remaining capacity and the waiting application identities of freezing application mapping relations before, can be also used for the shifting for obtaining user setting Priority is freezed in each application of dynamic terminal installation;Priority is freezed in each application based on mobile terminal installation, It determines the remaining capacity of the mobile terminal and waits freezing the mapping relations of the application identities of application.
Optionally, in some embodiments of the invention, the processor 501, for obtaining the mobile terminal to prestore The mapping relations of the application identities and operating current of each application of installation, specifically for obtaining the application of the default application to prestore The mapping relations of mark and operating current, wherein the default application is the application pre-installed when the mobile terminal dispatches from the factory;It adopts The operating current of collection installation application, and establish the mapping relations of the application identities and operating current of the installation application, wherein institute It is the application that the mobile terminal is installed after manufacture to state installation application;Application identities based on the default application and work electricity The mapping relations of the mapping relations of stream and the application identities and operating current of the installation application obtain the mobile terminal peace The mapping relations of the application identities and operating current of each application of dress, wherein each application packet of the mobile terminal installation Include the default application and installation application.
Optionally, in some embodiments of the invention, the processor 501, for detecting whether mobile terminal enters province When power mode, whether the remaining capacity for being specifically used for detecting the mobile terminal is less than preset power threshold, if so, determining The mobile terminal enters battery saving mode;Or it detects whether to receive and sets the operating mode of the mobile terminal to power saving Pattern, if so, determining that the mobile terminal enters battery saving mode.
Specifically, the specific implementation of above-mentioned each unit can refer to retouching for correlation step in Fig. 1 to Fig. 3 corresponding embodiments It states, this will not be repeated here.
As can be seen that in technical solution of the embodiment of the present invention, mobile terminal detects whether to enter battery saving mode, if detecting Into battery saving mode, then obtains the remaining capacity of the mobile terminal to prestore and wait that the mapping for freezing the application identities of application is closed System and the current remaining capacity of the mobile terminal, remaining capacity based on the mobile terminal and the application for waiting freezing application The mapping relations of mark and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application, freeze institute State the corresponding application of application identities.As it can be seen that mobile terminal is when detecting into battery saving mode, it is electric by the residue for obtaining current The corresponding application program of automatic stay is measured, mobile terminal application is improved and freezes intelligent, extend the continuation of the journey of mobile terminal Time.
The embodiment of the present invention also provides a kind of computer storage media, wherein the computer storage media can be stored with journey Sequence, the program include the part or complete of the monitoring method of any type service processes described in above method embodiment when executing Portion's step.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and unit are not necessarily of the invention It is necessary.
The step of method of the embodiment of the present invention, sequentially can be adjusted, merges or delete according to actual needs.This hair The unit of the terminal of bright embodiment can be integrated, further divide or delete according to actual needs.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, device embodiment described above is schematical, for example, the unit division, be a kind of logic function It divides, formula that in actual implementation, there may be another division manner, such as multiple units or component may be combined or can be integrated into Another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling or Direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be electricity Property or other form.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to 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 It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English Text:Random Access Memory, referred to as:RAM), disk or CD etc..
It is provided for the embodiments of the invention a kind of application freezing method above and mobile terminal is described in detail, this Specific case is applied in text, and principle and implementation of the present invention are described, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the present invention.

Claims (4)

1. a kind of applying freezing method, which is characterized in that including:
Detect whether mobile terminal enters battery saving mode;
If detecting, the mobile terminal enters battery saving mode, obtains the remaining capacity of the mobile terminal to prestore and waits freezing Tie the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current;
Remaining capacity based on the mobile terminal and wait freezing the application identities of application mapping relations and it is described it is mobile eventually Current remaining capacity is held, determines the application identities for waiting freezing application;
Freeze the corresponding application of the application identities;
It is described obtain the mapping relations that the remaining capacity of the mobile terminal to prestore and waiting freezes the application identities of application before, The method further includes:
Obtain the mapping relations of the application identities and operating current of the default application to prestore, wherein the default application is described The application that mobile terminal pre-installs when dispatching from the factory;
The operating current of acquisition installation application, and the mapping relations of the application identities and operating current of the installation application are established, Wherein, the installation application is the application that the mobile terminal is installed after manufacture;
The mapping relations of application identities and operating current based on the installation application, correct the application identities of the default application With the mapping relations of operating current, and the application identities of the default application and work electricity are updated based on the mapping relations after correction The mapping relations of stream;
The mapping relations of application identities and operating current based on the default application and the application identities of the installation application With the mapping relations of operating current, the mapping of the application identities and operating current of each application of the mobile terminal installation is obtained Relationship, wherein each application of the mobile terminal installation includes the default application and installation application;
Each application in the application identities of each application and the mapping relations of operating current based on mobile terminal installation Operating current, determine that the remaining capacity and waiting of the mobile terminal freezes the mapping relations of the application identities of application.
2. the method as described in claim 1, which is characterized in that whether the detection mobile terminal enters battery saving mode, including:
Whether the remaining capacity for detecting the mobile terminal is less than preset power threshold, if so, determining the mobile terminal Into battery saving mode;Or
It detects whether to receive and sets the operating mode of the mobile terminal to battery saving mode, if so, determining the movement Terminal enters battery saving mode.
3. a kind of mobile terminal, which is characterized in that including:
Detection unit, for detecting whether mobile terminal enters battery saving mode;
If acquiring unit obtains the mobile terminal to prestore for detecting that the mobile terminal enters battery saving mode Remaining capacity and waiting freezes the mapping relations of the application identities of application and the remaining capacity that the mobile terminal is current;
First determination unit, the mapping pass for remaining capacity and the application identities for waiting freezing application based on the mobile terminal System and the current remaining capacity of the mobile terminal, determine the application identities for waiting freezing application;
Freezing unit, for freezing the corresponding application of the application identities;
The acquiring unit, in the application identities for freezing application for obtaining the remaining capacity and waiting of the mobile terminal to prestore Mapping relations before, be additionally operable to obtain the mapping relations of the application identities and operating current of the default application that prestore, wherein institute It is the application pre-installed when mobile terminal manufacture to state default application;The operating current of acquisition installation application, and described in foundation The mapping relations of the application identities and operating current of application are installed, wherein the installation application is that the mobile terminal is dispatching from the factory The application installed afterwards;The mapping relations of application identities and operating current based on the installation application, correct the default application Application identities and operating current mapping relations, and based on the mapping relations after correction update the default application application mark Know the mapping relations with operating current;Mapping relations of application identities and operating current based on the default application and described The mapping relations for installing the application identities and operating current of application obtain the application mark of each application of the mobile terminal installation Know and the mapping relations of operating current, wherein each application of the mobile terminal installation includes the default application and described Installation application;
The mobile terminal further includes:
Second determination unit, the mapping of the application identities and operating current of each application for being installed based on the mobile terminal The operating current of each application in relationship determines the remaining capacity of the mobile terminal and waits freezing the application identities of application Mapping relations.
4. the mobile terminal as described in claim 3, which is characterized in that
Whether the detection unit, the remaining capacity for being specifically used for detecting the mobile terminal are less than preset power threshold, if It is, it is determined that the mobile terminal enters battery saving mode;Alternatively, detecting whether to receive the operating mode of the mobile terminal It is set as battery saving mode, if so, determining that the 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 CN106200866A (en) 2016-12-07
CN106200866B true 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)

Families Citing this family (3)

* 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
CN111796735B (en) * 2020-06-29 2023-02-03 维沃移动通信(杭州)有限公司 Application program control method and device and electronic equipment
CN112162623A (en) * 2020-09-30 2021-01-01 重庆长安汽车股份有限公司 Method for prolonging standing service life of storage battery of fuel vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 clearing background application programs
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201405423A (en) * 2012-07-19 2014-02-01 Hon Hai Prec Ind Co Ltd Portable wireless communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 clearing background application programs
CN105094282A (en) * 2015-07-22 2015-11-25 深圳市金立通信设备有限公司 Management method for application programs and terminal

Also Published As

Publication number Publication date
CN106200866A (en) 2016-12-07
WO2018000504A1 (en) 2018-01-04

Similar Documents

Publication Publication Date Title
CN105824664B (en) Application program launching monitoring method, device and terminal device
CN102369647B (en) Power supply managment method and device of mobile terminal
CN106060909B (en) A kind of method for connecting network and mobile terminal
CN103176842B (en) background process management method and mobile terminal thereof
CN104581646B (en) A kind of dynamic broadcast method and device of bluetooth equipment
CN111800462B (en) Micro service instance processing method, micro service instance processing device, computer equipment and storage medium
CN106250092B (en) A kind of terminal screen switching method and device
CN106200866B (en) A kind of application freezing method and mobile terminal
CN110493892B (en) Network connection method and device, storage medium and communication terminal
CN106102141A (en) A kind of processing method and processing device based on packet
CN108540568A (en) Computing capability sharing method and smart machine
CN106096450A (en) A kind of application program freezing method and mobile terminal
CN107209716A (en) Memory management apparatus and method
CN105052178A (en) System information processing method, apparatus and communication system
WO2014194704A1 (en) A grouping processing method and system
CN114675983A (en) Business data processing method and device, storage medium and electronic equipment
CN104837187A (en) Energy-saving method and device of wireless access equipment
CN105262890A (en) Information update control system and method for applications on portable electronic device
CN106126011A (en) The resource occupation method for information display of a kind of application program and mobile terminal
CN110061882A (en) The method of License dynamic adjustment
CN105138107A (en) Mobile terminal downloading method and device and mobile terminal
CN109765986A (en) Power-saving control method, terminal device and computer readable storage medium
CN103324526A (en) Method for calling sensor
US10419939B2 (en) Resource partition aggregating method and device
CN108551429A (en) Flow control methods, electronic device and the computer readable storage medium of application program

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