CN107832128A - Using freezing method and related product - Google Patents
Using freezing method and related product Download PDFInfo
- Publication number
- CN107832128A CN107832128A CN201710985958.4A CN201710985958A CN107832128A CN 107832128 A CN107832128 A CN 107832128A CN 201710985958 A CN201710985958 A CN 201710985958A CN 107832128 A CN107832128 A CN 107832128A
- Authority
- CN
- China
- Prior art keywords
- party application
- game
- backstage
- freezed
- freezing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/482—Application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/484—Precedence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/485—Resource constraint
Abstract
The embodiment of the invention discloses one kind to apply freezing method and Related product, and method includes:In the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is positive integer;M third-party application to be freezed is determined from N number of third-party application, the M is the positive integer no more than the N;Freeze the M third-party application.The embodiment of the present invention can be freezed in game mode to some third-party applications for operating in backstage, so as to reduce background activity, game can strive for more resources, ensure game environment, improve Consumer's Experience.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to one kind applies freezing method and Related product.
Background technology
With a large amount of popularization and applications of mobile terminal (mobile phone, tablet personal computer etc.), the application that mobile terminal can be supported is got over
Come more, function is stronger and stronger, and mobile terminal develops towards variation, personalized direction, and turning into can not in user's life
The appliance and electronic lacked.
At present, game uses a kind of important user's scene with game fighting mobile terminal.User for
Speed when game uses is paid much attention to performance, if user is using game constantly, game rate and performance, and network
State can not obtain the guarantee of abundant resource, then and user such as will experience interim card, go offline at the bad experience, such as:Game
Key scenes are stuck, go offline, situations such as causing war failure, battle failure, wherein, it is important that a reason be, a lot
Tripartite's application may carry out some activities from the background when user is using scene of game, rob and account for the money that foreground game uses
Source, making user, game resource cannot be ensured sufficiently when playing game, therefore, how realize the problem of reducing background activity
It is urgently to be resolved hurrily.
The content of the invention
The embodiments of the invention provide one kind to apply freezing method and Related product, it is possible to reduce background activity, to reach
Ensure the purpose of game environment.
In a first aspect, the embodiment of the present invention, which provides one kind, applies freezing method, including:
In the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is positive integer;
M third-party application to be freezed is determined from N number of third-party application, the M is no more than the N's
Positive integer;
Freeze the M third-party application.
Second aspect, the embodiments of the invention provide one kind to apply freezing plant, including:
Acquiring unit, under being in game mode in target game, the N number of third-party application for operating in backstage is obtained,
The N is positive integer;
Determining unit, for determining M third-party application to be freezed from N number of third-party application, the M is
No more than the positive integer of the N;
Freezing unit, for freezing the M third-party application.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, including:Processor and memory;And one
Or multiple programs, one or more of programs are stored in the memory, and it is configured to be held by the processor
OK, described program includes being used for such as the instruction of the part or all of step described in first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, it is described computer-readable
Storage medium is used to store computer program, wherein, the computer program causes computer to perform such as the embodiment of the present invention the
The instruction of part or all of step described in one side.
5th aspect, the embodiments of the invention provide a kind of computer program product, wherein, the computer program product
Non-transient computer-readable recording medium including storing computer program, the computer program are operable to make calculating
Machine is performed such as the part or all of step described in first aspect of the embodiment of the present invention.The computer program product can be one
Individual software installation bag.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that freezing method and Related product are applied described by the embodiments of the present invention, at target game
Under game mode, the N number of third-party application for operating in backstage is obtained, N is positive integer, is determined from N number of third-party application
M third-party application to be freezed, M are the positive integer no more than N, freeze M third-party application, it is thus possible in game mould
Formula, some third-party applications for operating in backstage are freezed, so as to reduce background activity, game can be striven for more
Resource, ensured game environment, improved Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet using freezing method disclosed in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet for applying freezing method disclosed in the embodiment of the present invention;
Fig. 3 is another schematic flow sheet for applying freezing method disclosed in the embodiment of the present invention;
Fig. 4 A are a kind of structural representations using freezing plant provided in an embodiment of the present invention;
Fig. 4 B are the structural representations of the acquiring unit using freezing plant described by Fig. 4 A provided in an embodiment of the present invention
Figure;
Fig. 4 C are the structural representations of the freezing unit using freezing plant described by Fig. 4 A provided in an embodiment of the present invention
Figure;
Fig. 4 D are the structural representations of the determining unit using freezing plant described by Fig. 4 A provided in an embodiment of the present invention
Figure;
Fig. 4 E are a kind of another structural representations using freezing plant provided in an embodiment of the present invention;
Fig. 4 F are a kind of another structural representations using freezing plant provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Embodiment
The embodiments of the invention provide one kind to apply freezing method and Related product, it is possible to reduce background activity, to reach
Ensure the purpose of game environment.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap
Include for other intrinsic steps of 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 wrap in conjunction with the embodiments
In 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.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function,
Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..
In concrete application, because third-party application operates in backstage, in the process of running, cached caused by third-party application
Data, in addition, can also be communicated with server, take certain Internet resources.For example, caching number caused by Video Applications B
According to if backstage tripartite applies, it is also possible to upgraded, the operation such as PUSH message, and then, it can also produce data cached.Generally
In the case of, as long as third-party application is not turned off, it can operate in backstage, so as to constantly produce data cached.In this way, this hair
Bright embodiment provides one kind and applies freezing method, including:
In the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is positive integer;
M third-party application to be freezed is determined from N number of third-party application, the M is no more than the N's
Positive integer;
Freeze the M third-party application.
As can be seen that applying freezing method described by the embodiments of the present invention, game mode is in target game
Under, the N number of third-party application for operating in backstage is obtained, N is positive integer, and M to be freezed are determined from N number of third-party application
Third-party application, M are positive integer no more than N, freeze M third-party application, it is thus possible in game mode, to operating in
Some third-party applications on backstage are freezed, so as to reduce background activity, game can strive for more resources, ensure
Game environment, improves Consumer's Experience.
Freezing method is applied to provided in an embodiment of the present invention below, and implements this and is carried out using the device of freezing method
Description:
Referring to Fig. 1, it is a kind of embodiment schematic flow sheet using freezing method provided in an embodiment of the present invention.This reality
Apply and apply freezing method described in example, it comprises the following steps:
101st, in the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is just
Integer.
Wherein, target game can voluntarily be set or system default by user.Certainly, target game can be to operate in
The game on foreground.Above-mentioned N number of third-party application can be whole third-party applications, or, part third-party application.Above-mentioned target
Game can also be online game or single-play game, more to network resource requirement if online game, and its needs is good
Good network environment, for example, whether network is unimpeded, and whether signal is stronger etc., and if single-play game, it has to cpu performance
Certain demand, for example, whether memory source meets, etc..
Alternatively, above-mentioned game mode can start game, into this process of game environment, or, game process
In, do not limit herein.
Alternatively, and not all game is under game mode, is required to freeze background application, after all, freezes backstage
If, also to a certain extent, the power consumption of mobile terminal can be increased, so, can be by user if above-mentioned target game
Voluntarily set, for example, game A, user can be arranged to target game as game A, then game A under game mode,
Mobile terminal can obtain the N number of third-party application for operating in backstage.
Alternatively, in above-mentioned steps 101, the N number of third-party application for operating in backstage is obtained, it may include following steps:
11st, P third-party application corresponding with the target game is determined, the P is the integer not less than the N;
12nd, Q third-party application for operating in backstage is obtained, the Q is the integer not less than the N;
13rd, the common factor between the P third-party application and the Q third-party application is determined, obtains the described N number of 3rd
Fang Yingyong.
Wherein, for different game, different third-party applications can be freezed, can be advance in the embodiment of the present invention
Mapping relations between storage game and third-party application, and then, it may be determined that P third party corresponding with target game should
With P is the integer not less than N, furthermore it is possible to obtain Q application for operating in backstage, Q is the integer not less than N, determines P
Common factor between third-party application and Q third-party application, obtain N number of third-party application.In this way, can be that each game is freezed
Different third-party application, in freezing process, due to the application of running background can only be freezed, therefore, if some application is not yet
Open, then can not freeze, if final, or from application to be freezed just is selected in the application of running background, by this
Mode, it can more targetedly determine to wait to freeze to apply.
102nd, M third-party application to be freezed is determined from N number of third-party application, the M is no more than institute
State N positive integer.
Wherein, because the third-party application for operating in backstage can all freeze, it is of course also possible to part is freezed, in this way,
M third-party application can be chosen from N number of third-party application to be freezed, M is the positive integer no more than N, the purpose freezed
Do not lie in and allow all third-party applications not work, simply ensure that game has individual running environment, therefore, more often,
Part can be taken to freeze, i.e. frozen fraction third-party application.
Alternatively, in above-mentioned steps 102, determine that M third party to be freezed should from N number of third-party application
With, it may include following steps:
21st, current time is obtained;
22nd, the X third-party application pre-set corresponding with the current time is determined, the X is more than the M's
Positive integer;
23rd, the common factor between the X third-party application and N number of third-party application is determined, obtains institute to be freezed
State M third-party application.
Wherein, current time can be obtained by the clock in mobile terminal.The different time, it can also correspond to different
Third-party application, for example, each third-party application has an active time section, it is not always active on backstage, if a certain 3rd
Fang Yingyong is inactive on backstage, then it can not be freezed.Therefore, period and third-party application collection can be pre-set
Between mapping relations, and then, determine target time section corresponding to current time (current time be target time section in one
Time point), determine the corresponding third party of target time section according to the mapping relations between above-mentioned period and third-party application collection
Using collection, X third-party application is obtained, X is the positive integer more than M.And then, it may be determined that above-mentioned X third-party application with it is N number of
Common factor between third-party application, obtain M third-party application to be freezed.In this way, third-party application can be directed on backstage
Active time section, determine to need frozen third-party application, more possess specific aim, and do not interfere with part backstage
The normal renewal of third-party application, while game environment is safeguarded, the interests of third-party application have been ensured to the full extent.
103rd, the M third-party application is freezed.
Wherein it is possible to freeze some behaviors of M third-party application, it is of course also possible to freeze the portion of M third-party application
Branch is, for example, upgrading behavior, downloads behavior, or, push behavior etc..
Alternatively, in above-mentioned steps 103, the M third-party application is freezed, it may include following steps:
31st, the background activity frequency of each application in the M third-party application is determined, obtains M background activity frequency
Value;
32nd, priority is freezed according to what the M background activity frequency values determined the M third-party application;
33rd, freeze priority according to and freeze the M third-party application.
Wherein, above-mentioned background activity frequency can be understood as in the number to be communicated from the background, different third-party applications
It is different in the background activity frequency of background activity, and certainly, same third-party application, in the different periods, its backstage is lived
Dynamic frequency may also be different, and therefore, above-mentioned each third-party application can be by each in the background activity frequency of running background
The history log of third-party application obtains, or, the number of activities of a period of time can also be counted, calculates every one the 3rd
Fang Yingyong backstage background activity frequency, and then, for M third-party application, M background activity frequency can be obtained
Value, freeze priority according to what M background activity frequency values determined M third-party application, for example, background activity frequency values are got over
Greatly, then it is higher to freeze priority, in this way, M third-party application can be freezed according to priority is freezed.
Alternatively, in above-mentioned steps 103, the M third-party application is freezed, it may include following steps:
Freeze operation is carried out to the M third-party application using parallel mode.
Wherein, for rapid Optimum game environment, parallel mode can be taken to freeze M third-party application, such as
This, can quickly reduce background activity, for example, freeze operation is carried out to M third-party application using M process or thread,
Wherein, the corresponding process of each third-party application either thread or, M third-party application can be divided into multiple groups,
Freezed for each group of third-party application using a thread or process, so, it is possible to achieve quick freezing backstage
The purpose of third-party application, ensure that game environment, improve Consumer's Experience.
Alternatively, after above-mentioned steps 103, can also comprise the following steps:
When the target game exits game mode, thaw the M third-party application.
Wherein, target game exits game mode, then illustrates that user is not desired to play, at this point it is possible to which M third party of thawing should
With.Certainly, the above-mentioned defrosting M third-party application, can implement as follows:
After predetermined time period, perform it is described defrosting the M third-party application the step of.
Wherein, above-mentioned predetermined time period can voluntarily be set by user, or, system default.User is possible to grasp by mistake
Game mode is exited, therefore, it is possible to can also be again introduced into game mode, therefore, a time span can be set.It is another
Aspect, because long-time is in game mode, this moment, the performance for game is best, and if CPU, battery, its temperature
It is also possible to higher, therefore, a predetermined time period is set, is advantageous to CPU, the temperature of battery is minimized, so as to drop
Wen Hou, cpu performance is more preferable, advantageously reduces the power consumption of mobile terminal and extends the life-span of mobile terminal.
Alternatively, after above-mentioned steps 103, can also comprise the following steps:
When the target game is in backstage, thaw the M third-party application.
Wherein, if target game is in backstage, illustrate that user does not play game for the time being, or, want to rest, therefore, at this moment
Wait the M third-party application that can thaw.
Alternatively, the above-mentioned defrosting M third-party application, can be operated as follows:
At least one third-party application to thaw in the M third-party application, or, according to freezing corresponding to priority
Sequentially thaw the M third-party application.
Wherein, if defrosting, can thaw one by one, after all, target game is possible to be switched to foreground in course of defrosting,
Therefore, it can one by one thaw, if being switched to foreground, not thaw, defrosting can be suspended.Or according to defrosting priority pair
If the order answered is thawed, it can ensure that defrosting is carried out successively.
As can be seen that applying freezing method described by the embodiments of the present invention, game mode is in target game
Under, the N number of third-party application for operating in backstage is obtained, N is positive integer, and M to be freezed are determined from N number of third-party application
Third-party application, M are positive integer no more than N, freeze M third-party application, it is thus possible in game mode, to operating in
Some third-party applications on backstage are freezed, so as to reduce background activity, game can strive for more resources, ensure
Game environment, improves Consumer's Experience.
Referring to Fig. 2, it is a kind of embodiment schematic flow sheet using freezing method provided in an embodiment of the present invention.This reality
Apply and apply freezing method described in example, comprise the following steps:
201st, in the case where target game is in game mode, judge whether the target game operates in foreground.
Wherein, in the case where target game is in game mode, then it can determine whether target game operates in foreground,
If operating in foreground, illustrate that user's needs operate to game, or, user has the consciousness operated to game, when
So, the game on foreground is operated in, it is also desirable to more resource, to maintain its game environment.
202nd, if so, obtaining the N number of third-party application for operating in backstage, the N is positive integer.
Wherein, if target game operates in foreground, the step for obtaining the N number of third-party application for operating in backstage can be performed
Suddenly.
Alternatively, if target game operates in backstage, the N number of third-party application for obtaining and operating in backstage can not be performed
The step of.
203rd, M third-party application to be freezed is determined from N number of third-party application, the M is no more than institute
State N positive integer.
204th, the M third-party application is freezed.
Wherein, the specific descriptions of above-mentioned steps 202- steps 204 can refer to the correspondence using freezing method described by Fig. 1
Step, it will not be repeated here.
Alternatively, after above-mentioned steps 204, can also comprise the following steps:
When the target game exits game mode, thaw the M third-party application.
Wherein, target game exits game mode, then illustrates that user is not desired to play, at this point it is possible to which M third party of thawing should
With.Certainly, the above-mentioned defrosting M third-party application, can implement as follows:
After predetermined time period, perform it is described defrosting the M third-party application the step of.
Wherein, above-mentioned predetermined time period can voluntarily be set by user, or, system default.User is possible to grasp by mistake
Game mode is exited, therefore, it is possible to can also be again introduced into game mode, therefore, a time span can be set.It is another
Aspect, because long-time is in game mode, this moment, the performance for game is best, and if CPU, battery, its temperature
It is also possible to higher, therefore, a predetermined time period is set, is advantageous to CPU, the temperature of battery is minimized, so as to drop
Wen Hou, cpu performance is more preferable, advantageously reduces the power consumption of mobile terminal and extends the life-span of mobile terminal.
Alternatively, after above-mentioned steps 204, can also comprise the following steps:
When the target game is in backstage, thaw the M third-party application.
Wherein, if target game is in backstage, illustrate that user does not play game for the time being, or, want to rest, therefore, at this moment
Wait the M third-party application that can thaw.
Alternatively, the above-mentioned defrosting M third-party application, can be operated as follows:
At least one third-party application to thaw in the M third-party application, or, according to freezing corresponding to priority
Sequentially thaw the M third-party application.
Wherein, if defrosting, can thaw one by one, after all, target game is possible to be switched to foreground in course of defrosting,
Therefore, it can one by one thaw, if being switched to foreground, not thaw, defrosting can be suspended.Or according to defrosting priority pair
If the order answered is thawed, it can ensure that defrosting is carried out successively.
As can be seen that applying freezing method described by the embodiments of the present invention, game mode is in target game
Under, judge whether target game operates in foreground, obtain the N number of third-party application for operating in backstage, N is positive integer, from N number of the
M third-party application to be freezed is determined in tripartite's application, M is the positive integer no more than N, freezes M third-party application, from
And some third-party applications for operating in backstage can be freezed in game mode, so as to reduce background activity, swim
Play can strive for more resources, ensured game environment, improved Consumer's Experience.
Referring to Fig. 3, it is a kind of embodiment schematic flow sheet using freezing method provided in an embodiment of the present invention.This reality
Apply and apply freezing method described in example, comprise the following steps:
301st, in the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is just
Integer.
302nd, M third-party application to be freezed is determined from N number of third-party application, the M is no more than institute
State N positive integer.
303rd, the M third-party application is freezed.
Wherein, the specific descriptions of above-mentioned steps 301- steps 303 can refer to the correspondence using freezing method described by Fig. 1
Step, it will not be repeated here.
304th, when the target game exits game mode, thaw the M third-party application.
Wherein, target game exits game mode, then illustrates that user is not desired to play, at this point it is possible to which M third party of thawing should
With.
Certainly, the above-mentioned defrosting M third-party application, can implement as follows:
After predetermined time period, perform it is described defrosting the M third-party application the step of.
Wherein, above-mentioned predetermined time period can voluntarily be set by user, or, system default.User is possible to grasp by mistake
Game mode is exited, therefore, it is possible to can also be again introduced into game mode, therefore, a time span can be set.It is another
Aspect, because long-time is in game mode, this moment, the performance for game is best, and if CPU, battery, its temperature
It is also possible to higher, therefore, a predetermined time period is set, is advantageous to CPU, the temperature of battery is minimized, so as to drop
Wen Hou, cpu performance is more preferable, advantageously reduces the power consumption of mobile terminal and extends the life-span of mobile terminal.
Alternatively, the above-mentioned defrosting M third-party application, can be operated as follows:
At least one third-party application to thaw in the M third-party application, or, according to freezing corresponding to priority
Sequentially thaw the M third-party application.
Wherein, if defrosting, can thaw one by one, after all, target game is possible to be switched to foreground in course of defrosting,
Therefore, it can one by one thaw, if being switched to foreground, not thaw, defrosting can be suspended.Or according to defrosting priority pair
If the order answered is thawed, it can ensure that defrosting is carried out successively.
As can be seen that applying freezing method described by the embodiments of the present invention, game mode is in target game
Under, the N number of third-party application for operating in backstage is obtained, N is positive integer, and M to be freezed are determined from N number of third-party application
Third-party application, M are the positive integer no more than N, freeze M third-party application, when target game exits game mode, are thawed
M third-party application, it is thus possible in game mode, some third-party applications for operating in backstage are freezed, so as to,
Background activity is reduced, game can strive for more resources, ensure game environment, improve Consumer's Experience, certainly, move back
Go out after game mode, can also thaw application, allow frozen application can be with normal use.
Fig. 4 A are referred to, Fig. 4 A are a kind of structural representations using freezing plant that the present embodiment provides.The application is frozen
Knot device is applied to mobile terminal, includes acquiring unit 401, determining unit 402 and freezing unit 403 using freezing plant, its
In,
Acquiring unit 401, under being in game mode in target game, N number of third party that acquisition operates in backstage should
With the N is positive integer;
Determining unit 402, it is described for determining M third-party application to be freezed from N number of third-party application
M is the positive integer no more than the N;
Freezing unit 403, for freezing the M third-party application.
Alternatively, if Fig. 4 B, Fig. 4 B are the detail knots of the acquiring unit 401 using freezing plant described by Fig. 4 A
Structure, the acquiring unit 401 may include:First determining module 4011, the first acquisition module 4012 and the second determining module 4013,
It is specific as follows:
First determining module 4011, for determining P third-party application corresponding with the target game, the P is not
Less than the integer of the N;
First acquisition module 4012, the Q third-party application on backstage is operated in for obtaining, and the Q is not less than the N
Integer;
Second determining module 4013, for determining the friendship between the P third-party application and the Q third-party application
Collection, obtains N number of third-party application.
Alternatively, if Fig. 4 C, Fig. 4 C are the detail knots of the freezing unit 403 using freezing plant described by Fig. 4 A
Structure, the freezing unit 403 may include:3rd determining module 4031 and freeze module 4032, it is specific as follows:
3rd determining module 4031, for determining the background activity frequency of each application in the M third-party application, obtain
To M background activity frequency values;And determine freezing for the M third-party application according to the M background activity frequency values
Priority;
Freeze module 4032, freeze the M third-party application for freezing priority according to.
Alternatively, if Fig. 4 D, Fig. 4 D are the detail knots of the determining unit 402 using freezing plant described by Fig. 4 A
Structure, the determining unit 402 may include:Second acquisition module 4021 and the 4th determining module 4022, it is specific as follows:
Second acquisition module 4021, for obtaining current time;
4th determining module 4022, for determining the X third-party application pre-set corresponding with the current time,
The X is the positive integer more than the M;And the friendship between the determination X third-party application and N number of third-party application
Collection, obtains the M third-party application to be freezed.
Alternatively, such as Fig. 4 E, modification structures using freezing plant of Fig. 4 E described by Fig. 4 A, it is compared with Fig. 4 A
Compared with may also include:Judging unit 404, it is specific as follows:
Judging unit 404, for judging whether the target game operates in foreground, if so, by the acquiring unit 401
Perform the step of acquisition operates in N number of third-party application on backstage.
Alternatively, such as Fig. 4 F, modification structures using freezing plant of Fig. 4 F described by Fig. 4 A, it is compared with Fig. 4 A
Compared with may also include:Defrosting unit 405, it is specific as follows:
Defrosting unit 405, for when the target game exits game mode, to thaw the M third-party application.
As can be seen that applying freezing plant described by the embodiments of the present invention, game mode is in target game
Under, the N number of third-party application for operating in backstage is obtained, N is positive integer, and M to be freezed are determined from N number of third-party application
Third-party application, M are positive integer no more than N, freeze M third-party application, it is thus possible in game mode, to operating in
Some third-party applications on backstage are freezed, so as to reduce background activity, game can strive for more resources, ensure
Game environment, improves Consumer's Experience.
It should be noted that described by apparatus of the present invention embodiment being to be in the form of functional unit using freezing plant
It is existing.Term " unit " used herein above should be understood to implication as most wide as possible, for realizing that each " unit " is described
The object of function for example can be integrated circuit ASIC, single circuit, for performing one or more softwares or firmware program
Its of above-mentioned function is realized in processor (shared, special or chipset) and memory, combinational logic circuit, and/or offer
His suitable component.
For example, above-mentioned acquiring unit 401, under being in game mode in target game, acquisition operates in backstage
N number of third-party application function can be as shown in Figure 5 mobile terminal realize, specifically can be passed through by processor 3000
The executable program code in memory 4000 is called, under game mode, in the case where target game is in game mode, obtains fortune
N number of third-party application of the row on backstage.
Referring to Fig. 5, it is a kind of example structure schematic diagram of mobile terminal provided in an embodiment of the present invention.The present embodiment
Described in mobile terminal, including:At least one input equipment 1000;At least one output equipment 2000;At least one place
Manage device 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and storage
Device 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high-speed RAM memory, or nonvolatile storage (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated
Go out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, perform following operation:
In the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is positive integer;
M third-party application to be freezed is determined from N number of third-party application, the M is no more than the N's
Positive integer;
Freeze the M third-party application.
Alternatively, above-mentioned processor 3000 obtains the N number of third-party application for operating in backstage, including:
It is determined that P third-party application corresponding with the target game, the P is the integer not less than the N;
Q third-party application for operating in backstage is obtained, the Q is the integer not less than the N;
The common factor between the P third-party application and the Q third-party application is determined, obtains N number of third party
Using.
Alternatively, above-mentioned processor 3000 freezes the M third-party application, including:
The background activity frequency of each application in the M third-party application is determined, obtains M background activity frequency values;
Freeze priority according to what the M background activity frequency values determined the M third-party application;
The M third-party application is freezed according to the priority of freezing.
Alternatively, above-mentioned processor 3000 determines that M third party to be freezed should from N number of third-party application
With, including:
Obtain current time;
It is determined that the X third-party application pre-set corresponding with the current time, the X is more than the M just
Integer;
The common factor between the X third-party application and N number of third-party application is determined, obtains the M to be freezed
Individual third-party application.
Alternatively, above-mentioned processor 3000, also particularly useful for:
Judge whether the target game operates in foreground, if so, performing the N number of third party for obtaining and operating in backstage
Using the step of.
Alternatively, above-mentioned processor 3000, also particularly useful for:
When the target game exits game mode, thaw the M third-party application.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, it is any as described in above-mentioned embodiment of the method that the computer program make it that computer performs
A kind of part or all of step using freezing method.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above
The part or all of step of any one application freezing method described in method embodiment.
It should be noted that for foregoing 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 steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have 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, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
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
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention;
Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change part, in summary, this specification content should not be construed as limiting the invention.
Claims (14)
1. one kind applies freezing method, it is characterised in that including:
In the case where target game is in game mode, the N number of third-party application for operating in backstage is obtained, the N is positive integer;
M third-party application to be freezed is determined from N number of third-party application, the M is just whole no more than the N
Number;
Freeze the M third-party application.
2. according to the method for claim 1, it is characterised in that described to obtain the N number of third-party application for operating in backstage, bag
Include:
It is determined that P third-party application corresponding with the target game, the P is the integer not less than the N;
Q third-party application for operating in backstage is obtained, the Q is the integer not less than the N;
The common factor between the P third-party application and the Q third-party application is determined, obtains N number of third-party application.
3. method according to claim 1 or 2, it is characterised in that it is described to freeze the M third-party application, including:
The background activity frequency of each application in the M third-party application is determined, obtains M background activity frequency values;
Freeze priority according to what the M background activity frequency values determined the M third-party application;
The M third-party application is freezed according to the priority of freezing.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described true from N number of third-party application
M third-party application to be freezed is made, including:
Obtain current time;
It is determined that the X third-party application pre-set corresponding with the current time, the X is the positive integer more than the M;
The common factor between the X third-party application and N number of third-party application is determined, obtains a M to be freezed the
Tripartite applies.
5. according to the method described in any one of Claims 1-4, it is characterised in that methods described also includes:
Judge whether the target game operates in foreground, if so, performing the N number of third-party application for obtaining and operating in backstage
The step of.
6. according to the method described in any one of claim 1 to 5, it is characterised in that methods described also includes:
When the target game exits game mode, thaw the M third-party application.
7. one kind applies freezing plant, it is characterised in that including:
Acquiring unit, under being in game mode in target game, obtain the N number of third-party application for operating in backstage, the N
For positive integer;
Determining unit, for determining M third-party application to be freezed from N number of third-party application, the M is little
In the positive integer of the N;
Freezing unit, for freezing the M third-party application.
8. device according to claim 7, it is characterised in that the acquiring unit includes:
First determining module, for determining P third-party application corresponding with the target game, the P is not less than the N
Integer;
First acquisition module, the Q third-party application on backstage is operated in for obtaining, and the Q is the integer not less than the N;
Second determining module, for determining the common factor between the P third-party application and the Q third-party application, obtain
N number of third-party application.
9. the device according to claim 7 or 8, it is characterised in that the freezing unit includes:
3rd determining module, for determining the background activity frequency of each application in the M third-party application, after obtaining M
Platform motion frequency value;And freeze priority according to what the M background activity frequency values determined the M third-party application;
Freeze module, freeze the M third-party application for freezing priority according to.
10. according to the device described in any one of claim 7 to 9, it is characterised in that the determining unit includes:
Second acquisition module, for obtaining current time;
4th determining module, for determining the X third-party application pre-set corresponding with the current time, the X is
More than the positive integer of the M;And the common factor between the determination X third-party application and N number of third-party application, obtain
The M third-party application to be freezed.
11. according to the device described in any one of claim 7 to 10, it is characterised in that described device also includes:
Judging unit, for judging whether the target game operates in foreground, if so, being obtained as described in performing the acquiring unit
The step of taking the N number of third-party application for operating in backstage.
12. according to the device described in any one of claim 7 to 11, it is characterised in that described device also includes:
Defrosting unit, for when the target game exits game mode, to thaw the M third-party application.
A kind of 13. mobile terminal, it is characterised in that including:Processor and memory;And one or more programs, described one
Individual or multiple programs are stored in the memory, and are configured to by the computing device, and described program includes using
In the instruction of such as any one of claim 1-6 methods.
A kind of 14. computer-readable recording medium, it is characterised in that it is used to store computer program, wherein, the computer
Program causes computer to perform the method as described in claim any one of 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985958.4A CN107832128A (en) | 2017-10-20 | 2017-10-20 | Using freezing method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985958.4A CN107832128A (en) | 2017-10-20 | 2017-10-20 | Using freezing method and related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107832128A true CN107832128A (en) | 2018-03-23 |
Family
ID=61648681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710985958.4A Pending CN107832128A (en) | 2017-10-20 | 2017-10-20 | Using freezing method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832128A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008085386A1 (en) * | 2007-01-07 | 2008-07-17 | Apple Inc. | Memory management methods and systems |
CN104331601A (en) * | 2014-09-30 | 2015-02-04 | 珠海市君天电子科技有限公司 | Method and device for optimizing game scenes |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
CN106020964A (en) * | 2016-06-30 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for freezing application, and terminal |
CN106126305A (en) * | 2016-07-05 | 2016-11-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application freezing method, device and mobile terminal |
CN106959874A (en) * | 2017-03-21 | 2017-07-18 | 联想(北京)有限公司 | The electronic equipment of application management method and application this method based on operating system |
-
2017
- 2017-10-20 CN CN201710985958.4A patent/CN107832128A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008085386A1 (en) * | 2007-01-07 | 2008-07-17 | Apple Inc. | Memory management methods and systems |
CN104331601A (en) * | 2014-09-30 | 2015-02-04 | 珠海市君天电子科技有限公司 | Method and device for optimizing game scenes |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
CN106020964A (en) * | 2016-06-30 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for freezing application, and terminal |
CN106126305A (en) * | 2016-07-05 | 2016-11-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application freezing method, device and mobile terminal |
CN106959874A (en) * | 2017-03-21 | 2017-07-18 | 联想(北京)有限公司 | The electronic equipment of application management method and application this method based on operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094936B (en) | Background application method for cleaning and device applied to mobile terminal | |
CN107803029A (en) | Display processing method and related product | |
US10044576B2 (en) | Estimation of power consumption of individual websites | |
CN107484190B (en) | Method for connecting network, mobile terminal and computer readable storage medium | |
CN107729062A (en) | Using freezing method and related product | |
CN109039843B (en) | Intelligent kitchen equipment control method and device based on event chain linkage strategy | |
CN105517123B (en) | A kind of the carrier aggregation mode setting method and communication terminal of communication terminal | |
CN107832127A (en) | Application control method and related product | |
CN109658934B (en) | Method and device for controlling multimedia app through voice | |
CN107807849A (en) | Using freezing method and related product | |
CN106302250A (en) | The method for controlling network flow of mobile terminal and device | |
CN110489177B (en) | Application control method and device, storage medium and terminal equipment | |
CN107832128A (en) | Using freezing method and related product | |
CN111865763A (en) | Message display method and device, electronic equipment and storage medium | |
CN108595238B (en) | Display control method and device of application interface | |
CN109992363B (en) | Application program processing method and device, electronic equipment and computer readable storage medium | |
CN107272991B (en) | Information display method and related product | |
CN105517162A (en) | Carrier aggregation function control method for communication terminal and communication terminal | |
CN105491649B (en) | A kind of the carrier aggregation mode setting method and communication terminal of communication terminal | |
CN105430727B (en) | A kind of the carrier aggregation mode setting method and communication terminal of communication terminal | |
CN106775748B (en) | Screen locking switching method and device and electronic equipment | |
CN110427092B (en) | Battery switching method, device, terminal and computer readable storage medium | |
CN107870671B (en) | Display processing method and related product | |
CN112988105A (en) | Playing state control method and device, electronic equipment and storage medium | |
CN107743144B (en) | Resource allocation method and Related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180323 |
|
RJ01 | Rejection of invention patent application after publication |