CN107832127A - Application control method and related product - Google Patents
Application control method and related product Download PDFInfo
- Publication number
- CN107832127A CN107832127A CN201710985662.2A CN201710985662A CN107832127A CN 107832127 A CN107832127 A CN 107832127A CN 201710985662 A CN201710985662 A CN 201710985662A CN 107832127 A CN107832127 A CN 107832127A
- Authority
- CN
- China
- Prior art keywords
- object run
- instruction
- game
- run instruction
- target game
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- 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
Abstract
The embodiment of the invention discloses a kind of application control method and Related product, method to include:When target game operates in foreground, the operation conditions that backstage is respectively applied is monitored;If monitoring to be instructed by the object run of the intended application triggering of running background, judge whether the object run instruction belongs to preset instruction set;If the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.The embodiment of the present invention can be any limitation as when game running is on foreground to the certain operations of background application, the purpose within the specific limits, having reached game acceleration to ensure the bandwidth of game to keep, improve Consumer's Experience.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of application control 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, if for example, in download, or cached from the background
Operation, it will committed memory, cause foreground game memory resource allocation deficiency, cause interim card of playing, therefore, how to realize to rear
Platform application is controlled, urgently to be resolved hurrily the problem of to lift game rate.
The content of the invention
The embodiments of the invention provide a kind of application control method and Related product, it is possible to achieve to being carried out to background application
Control, to lift the purpose of game rate.
In a first aspect, the embodiment of the present invention provides a kind of application control method, methods described includes:
When target game operates in foreground, the operation conditions that backstage is respectively applied is monitored;
If monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run instruction is
It is no to belong to preset instruction set;
If the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
Second aspect, the embodiment of the present invention provide a kind of application control device, including:
Monitoring unit, for the operation conditions that when target game operates in foreground, monitoring backstage is respectively applied;
First judging unit, if for monitoring to be instructed by the object run of the intended application triggering of running background, judge
Whether the object run instruction belongs to preset instruction set;
Processing unit, if belonging to preset instruction set for object run instruction, limit the object run instruction pair
The operation answered.
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 in the embodiment of the present invention, when target game operates in foreground, the operation shape that backstage is respectively applied is monitored
Condition, if monitoring to be instructed by the object run of the intended application triggering of running background, judge whether object run instruction belongs to pre-
If instruction set, if object run instruction belongs to preset instruction set, operated corresponding to limited target operational order, it is thus possible to
Game running is any limitation as at foreground to the certain operations of background application, to ensure that the bandwidth of game is maintained at certain limit
It is interior, reach the purpose that game accelerates, improve 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 of application control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another application control method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another application control method disclosed in the embodiment of the present invention;
Fig. 4 A are a kind of structural representations of application control device provided in an embodiment of the present invention;
Fig. 4 B are the structural representations of the processing unit of the application control device described by Fig. 4 A provided in an embodiment of the present invention
Figure;
Fig. 4 C are another structural representations of the application control device described by Fig. 4 A 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
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..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
In the specific implementation, current android system, the scene for user using game is not special at this stage
Processing, scene of game is not carried out some ensure game resources sufficiently handle, such as ensure game network speed, internal memory, in
Central processor (Central Processing Unit, CPU), graphics processor (Graphics Processing Unit,
GPU), the resource such as input/output (Input/Output, IO).Many third-party applications may use scene of game in user
When carrying out some activities from the background, rob and account for the resource that uses of foreground game, make user play play when, game resource cannot
Sufficiently ensure.Such as:If these tripartites are applied in background activity, either it is downloaded or carries out backstage and take network
The behavior of resource, it will network bandwidth and Internet resources are taken, cause foreground gaming network bandwidth or Internet resources to distribute deficiency,
Cause interim card of playing.In this way, in order to solve the above problems, the embodiment of the present invention provides a kind of application control method, methods described
Including:
When target game operates in foreground, the operation conditions that backstage is respectively applied is monitored;
If monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run instruction is
It is no to belong to preset instruction set;
If the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
As can be seen that in the embodiment of the present invention, when target game operates in foreground, the operation shape that backstage is respectively applied is monitored
Condition, if monitoring to be instructed by the object run of the intended application triggering of running background, judge whether object run instruction belongs to pre-
If instruction set, if object run instruction belongs to preset instruction set, operated corresponding to limited target operational order, it is thus possible to
Game running is any limitation as at foreground to the certain operations of background application, to ensure that the bandwidth of game is maintained at certain limit
It is interior, reach the purpose that game accelerates, improve Consumer's Experience.
Certainly, although the embodiment of the present invention is for playing, if running into other situations, for example, some program is run, or
Person, download movies, or, vital document is transmitted, the thinking similar with the embodiment of the present invention can also be used, after limiting
Platform application, on the one hand ensure that foreground application influence on system operation is smaller, on the other hand, can also allow other background applications to have hair
The leeway waved, for example, you when downloading movies, can also receive the speech chat message of other people transmissions, improve user
Experience.
Referring to Fig. 1, it is a kind of embodiment schematic flow sheet of application control method provided in an embodiment of the present invention.This reality
The application control method described in example is applied, it comprises the following steps:
101st, when target game operates in foreground, the operation conditions that backstage is respectively applied is monitored.
Wherein, in the embodiment of the present invention, not background application is limited whenever and wherever possible, but it needs to meet necessarily
Trigger condition, just background application is limited.When target game operates in foreground, the fortune that backstage is respectively applied can be detected
Row situation, above-mentioned each application can be specified by user, or, system default.In addition, the operation conditions that monitoring backstage is respectively applied,
Such as, if a certain instruction is received, or, if a certain instruction is sent, or, if PUSH message, or, if generation
It is data cached etc..Mobile terminal can be in foreground just for target game and the target game, and it is each just to perform monitoring backstage
The step of operation conditions of application.
Alternatively, above-mentioned target game can voluntarily be set by user or system default, target game can be movement
Any game installed in terminal.Certainly, and not all game is under game mode, is required to limit background application
System, after all, if limiting background application, also to a certain extent, can increase the power consumption of mobile terminal, so, it is above-mentioned
If target game, can voluntarily it be set by user, for example, game A can be arranged to target game by game A, user, that
For game A under game mode, mobile terminal can monitor the operation conditions that backstage is respectively applied.
Alternatively, above-mentioned target game operates in foreground, is primarily referred to as target game in front stage operation, and in game mould
Under formula, above-mentioned game mode can start game, into this process of game environment, or, in game process, do not do herein
Limit.
If the 102, monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run refers to
Whether order belongs to preset instruction set.
Wherein, above-mentioned preset instruction set can voluntarily be set by user, or, system default.Above-mentioned intended application can be with
Voluntarily set by user, or, system default, can also be any third-party application in mobile terminal, specifically, target should
With can be following at least one:Video Applications, social networking application, pay application, be game application, news application, office application, clear
Device of looking at application, antivirus application etc..
Alternatively, above-mentioned preset instruction set can include following at least one:Upgrade command, download instruction, uploading instructions,
Instruction etc. is received, wherein, upgrade command is applied to be upgraded to application, certainly, in escalation process, can download AKU,
AKU is used to upgrade application, download instruction, for from network downloading data, for example, download pictures, more new web page,
Etc., uploading instructions, for uploading data to server, response message is applied for example, feeding back, data syn-chronization (e.g., cloud is synchronous),
Uploading pictures etc., instruction is received, the message sent for the reception server, for example, PUSH message, specifically, advertisement pushing,
Or video push etc..Certainly, above-mentioned preset instruction set also includes other operational orders, for example, push instruction, sometimes
When game, an application operates in backstage, if pushing some message to user, then may influence user's normal game,
So as to, if this kind of instruction, preset instruction set can also be arranged on, or, data cached generation instruction, this instruction
Words, then it is that generation is data cached using in the process of running, it is data cached to take certain internal memory money to a certain extent
Source, so as to, it is also possible to influence the normal game of user.
Alternatively, in above-mentioned steps 102, judge whether the object run instruction belongs to preset instruction set, it may include such as
Lower step:
21st, when object run instruction is expends the instruction of Internet resources class, the object run instruction pair is estimated
The resource occupying rate answered, when the resource occupying rate is more than the first predetermined threshold value, confirm that the object run refers to
Order belongs to the preset instruction set, when the resource occupying rate is less than or equal to first predetermined threshold value, confirms institute
State object run instruction and be not belonging to the preset instruction set;
22nd, when object run instruction is not to expend the instruction of Internet resources class, the object run instruction is confirmed
It is not belonging to the preset instruction set.
Wherein, the instruction of above-mentioned consuming Internet resources class is primarily referred to as needing the instruction for taking network bandwidth resources, for example,
Upgrade command, download instruction, uploading instructions, receive instruction (data that the reception server is sent, for example, picture, video etc.).
Above-mentioned first predetermined threshold value can voluntarily be set by user, or, system default.Certainly, for the finger of consuming Internet resources class
If order, resource occupying rate corresponding to object run instruction can be estimated, for example, can make by the history of intended application
The resource occupying rate of the intended application is determined with record.And then when resource occupying rate is more than the first predetermined threshold value,
Confirm that object run instruction belongs to preset instruction set, when resource occupying rate is less than or equal to the first predetermined threshold value, confirm
Object run instruction is not belonging to preset instruction set.Certainly, when object run instruction is not to expend the instruction of Internet resources class, really
Recognize object run instruction and be not belonging to preset instruction set.In this way, can be by the way that the networks of Internet resources may be taken corresponding to instruction
Resources occupation rate determines preset instruction set, largely, when can be played on foreground, still can carry out backstage some
Operation, ensure that the normal operation of background application, in the case where not influenceing user's game, improve Consumer's Experience.
Alternatively, in above-mentioned steps 102, judge whether the object run instruction belongs to preset instruction set, can be according to such as
Under type is implemented:
According to the corresponding relation between default game and instruction set, the default finger corresponding to the target game is determined
Order collection, and perform and described judge the object run instructs the step of whether belonging to preset instruction set.
Wherein, the corresponding relation between above-mentioned default game and instruction set can pre-save in the terminal.Enter
And preset instructions corresponding with target game can be determined with the corresponding relation between instruction set according to above-mentioned default game
Collection.Different game can correspond to different instruction set, in this way, more targetedly, can be neatly to the one of background application
A little operations are effectively limited, and in the case where not influenceing foreground game normal operation, also complete the operating of some background applications.
If the 103, the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
Wherein, can be with operation, example corresponding to limited target operational order if object run instruction belongs to preset instruction set
Such as, operation only under the game mode for exiting target game, can just be grasped with performance objective corresponding to limited target operational order
Instructed corresponding to making, or, operation corresponding to limited target operational order, just can be with only in target game when being located at backstage
Instructed corresponding to performance objective operation, or, the execution time that object run instructs directly is postponed, for example, at the appointed time
Duan Houcai can be with operation corresponding to performance objective operational order, and specified time section can voluntarily be set by user or system is write from memory
Recognize.
Alternatively, if object run instruction is not belonging to preset instruction set, can perform corresponding to the object run instruction
Operation.
Alternatively, in above-mentioned steps 103, limit and operated corresponding to the object run instruction, it may include following steps:
If the 31st, the target game is constantly in foreground, forbid operating corresponding to the object run instruction;
If the 32nd, the target game is switched to backstage, determine object run instruction corresponding to execution priority, press
The object run instruction is performed according to the execution priority.
Wherein, if target game is constantly in foreground, can forbid operating corresponding to object run instruction, even target
Game be in foreground, then illustrates that user is playing always, then can be to be operated corresponding to limited target operational order, in this way, can be with
Background activity is reduced, so as to save memory source, reach the purpose that game accelerates.If target game is switched to backstage,
It is believed that user is temporarily not desired to play, therefore, can not have to forbid to operate corresponding to object run instruction, in game process
In, how many possible confined instruction understands, hence, it can be determined that execution priority corresponding to object run instruction, according to this
Execution priority performance objective operational order, in this way, object run instruction can be kept to perform in order.
Alternatively, in above-mentioned steps 103, limit and operated corresponding to the object run instruction, it may include following steps:
33rd, user's operating frequency is obtained;
34th, when user's operating frequency is more than three predetermined threshold values less than the duration of the second predetermined threshold value, sentence
Whether disconnected user is operating the target game;
If the 35, the user is not when operating the target game, the object run instruction is performed.
Wherein, above-mentioned second predetermined threshold value, the 3rd predetermined threshold value can voluntarily be set by user, or, system default.On
The compression number that user's operating frequency can be understood as pressing touching display screen in the unit interval is stated, it illustrates to a certain extent
, the severity of user's game, if in this way, user's operating frequency is pre- more than the 3rd less than the duration of the second predetermined threshold value
If during threshold value, then it may determine that user, then can be with performance objective because user is if game whether in operation target game
Operational order, if user if game, not performance objective operational order.In this way, the shape of user is judged by operating frequency
State, if not playing game, it at this time can not also interfere with user with performance objective operational order, improve Consumer's Experience,
Completing some activities of background application so that background application can upgrade in time, or, complete other communications.
Alternatively, in above-mentioned steps 103, limit and operated corresponding to the object run instruction, can be as follows
Implement:
Limit the network rate of operation corresponding to the object run instruction.
Wherein it is possible to the network rate of operation is any limitation as corresponding to being instructed to object run, for example, object run instructs
The network rate of corresponding operation is less than default network rate, in this way, the execution of operation can also corresponding to object run instruction
Do not interfere with the normal game of user, can also reach background application operation purpose, above-mentioned default network rate can by with
Family is voluntarily set or system default.Certainly, different application, different operational orders, different network rates can be corresponded to.
As can be seen that in the embodiment of the present invention, when target game operates in foreground, the operation shape that backstage is respectively applied is monitored
Condition, if monitoring to be instructed by the object run of the intended application triggering of running background, judge whether object run instruction belongs to pre-
If instruction set, if object run instruction belongs to preset instruction set, operated corresponding to limited target operational order, it is thus possible to
Game running is any limitation as at foreground to the certain operations of background application, to ensure that the bandwidth of game is maintained at certain limit
It is interior, reach the purpose that game accelerates, improve Consumer's Experience.
Referring to Fig. 2, it is a kind of embodiment schematic flow sheet of application control method provided in an embodiment of the present invention.This reality
The application control method described in example is applied, is comprised the following steps:
201st, when target game operates in foreground, judge whether the target game starts game acceleration function.
Wherein, above-mentioned game acceleration function can be to be interpreted as the controlling switch of a control, certainly, for online game
If, game acceleration function can be started, for non-network game, game acceleration function can not be started, after all, if not
If online game, it does not need consumption of network resources, and therefore, the quality of network bandwidth is not to bring influence to it.
202nd, if so, the operation conditions that monitoring backstage is respectively applied.
Wherein, if target game starts game acceleration function, the operation conditions respectively applied of monitoring backstage can performed
The step of, if the not actuated game acceleration function of target game, the operation conditions that backstage is respectively applied can not be monitored, in this way, can
To perform the embodiment of the present invention by a control.
If the 203, monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run refers to
Whether order belongs to preset instruction set.
If the 204, the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
Wherein, the specific descriptions of above-mentioned steps 203- steps 204 can refer to the correspondence of the application control method described by Fig. 1
Step, it will not be repeated here.
For example, under game mode, once game running can judge whether the game starts in foreground, then acceleration function of playing
Acceleration function, if Acceleration of starting function, it can decide whether to start network protection function, if starting network protection work(
Can, then the network of backstage other application is limited, the means of network strategy etc are directly limited by iptable etc., network is visited
Ask, network operation, network service is all forbidden.In this way, by there is blacklist (preset instruction set) management and control, it is extensive when game is exited
Multiple network strategy, network is forbidden to be changed into network permission, in this way, some confined operations, are exited in game, or, user
It when not yet game, can from the background performed, ensure that the smooth operation of background application, improve Consumer's Experience.
As can be seen that in the embodiment of the present invention, when target game operates in foreground, judge whether target game starts trip
Play acceleration function, if so, the operation conditions that monitoring backstage is respectively applied, if monitoring by the mesh of the intended application triggering of running background
Operational order is marked, judges whether object run instruction belongs to preset instruction set, if object run instruction belongs to preset instruction set, is limited
Operate corresponding to object run instruction processed, it is thus possible to when game running is on foreground, the certain operations of background application are subject to
Limitation, to ensure that the bandwidth of game keeps within the specific limits, having reached the purpose played and accelerated, improve Consumer's Experience.
Referring to Fig. 3, it is a kind of embodiment schematic flow sheet of application control method provided in an embodiment of the present invention.This reality
The application control method described in example is applied, is comprised the following steps:
301st, when target game operates in foreground, judge whether the target game is default application.
Wherein, above-mentioned default application can voluntarily be set by user, or system default.In this way, only it can answer specifying
With the implementation embodiment of the present invention.
302nd, when the target game is the default application, the operation conditions that backstage is respectively applied is monitored.
Wherein, when target game is presets application, then described the step of monitoring the operation conditions that backstage is respectively applied is performed.
If target game is not default application, the step of operation conditions that monitoring backstage is respectively applied can not be performed.
If the 303, monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run refers to
Whether order belongs to preset instruction set.
If the 304, the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
Wherein, the specific descriptions of above-mentioned steps 302- steps 304 can refer to the correspondence of the application control method described by Fig. 1
Step, it will not be repeated here.
As can be seen that in the embodiment of the present invention, when target game operates in foreground, judge whether target game is default
Using, if so, the operation conditions that monitoring backstage is respectively applied, if monitoring by the object run of the intended application triggering of running background
Instruction, judges whether object run instruction belongs to preset instruction set, if object run instruction belongs to preset instruction set, limited target
Operated corresponding to operational order, so that, just can be right when game running is on foreground when only target game is presets application
The certain operations of background application are any limitation as, to ensure that the bandwidth of game keeps within the specific limits, having reached to specifying game
The purpose of game acceleration is carried out, improves Consumer's Experience.
Fig. 4 A are referred to, Fig. 4 A are a kind of structural representations for application control device that the present embodiment provides.The application control
Device processed is applied to mobile terminal, and application control device includes:Monitoring unit 401, the first judging unit 402 and processing unit
403, wherein,
Monitoring unit 401, for the operation conditions that when target game operates in foreground, monitoring backstage is respectively applied;
First judging unit 402, if for monitoring to be instructed by the object run of the intended application triggering of running background, sentence
Whether the disconnected object run instruction belongs to preset instruction set;
Processing unit 403, if belonging to preset instruction set for object run instruction, limit the object run instruction
Corresponding operation.
Alternatively, first judging unit 402 is specifically used for:
When object run instruction is expends the instruction of Internet resources class, estimate corresponding to the object run instruction
Resource occupying rate, when the resource occupying rate is more than the first predetermined threshold value, confirm the object run instruction category
In the preset instruction set, when the resource occupying rate is less than or equal to first predetermined threshold value, the mesh is confirmed
Mark operational order is not belonging to the preset instruction set;
When object run instruction is not to expend the instruction of Internet resources class, confirm that the object run instruction does not belong to
In the preset instruction set.
Alternatively, the processing unit 403 is specifically used for:
If the target game is constantly in foreground, forbid operating corresponding to the object run instruction;
If the target game is switched to backstage, execution priority corresponding to the object run instruction is determined, according to
The execution priority performs the object run instruction.
Alternatively, if Fig. 4 B, Fig. 4 B are the detail knots of the processing unit 403 of the application control device described by Fig. 4 A
Structure, the processing unit 403 may include:Acquisition module 4031, judge module 4032 and execution module 4033, it is specific as follows:
Acquisition module 4031, for obtaining user's operating frequency;
Judge module 4032, for being more than the 3rd less than the duration of the second predetermined threshold value in user's operating frequency
During predetermined threshold value, judge whether user is operating the target game;
Execution module 4033, if performing the object run not when operating the target game for the user and referring to
Order.
Alternatively, such as Fig. 4 C, the modification structures of application control devices of Fig. 4 C described by Fig. 4 A, it is compared with Fig. 4 A
Compared with the device described by Fig. 4 C may also include:Second judging unit 404, it is specific as follows:
Second judging unit 404, for judging whether the target game starts game acceleration function, if so, by described
Monitoring unit 401 performs the step of operation conditions that the monitoring backstage is respectively applied.
As can be seen that the application control device described in the embodiment of the present invention, when target game operates in foreground, prison
The operation conditions that backstage is respectively applied is surveyed, if monitoring to be instructed by the object run of the intended application triggering of running background, judges mesh
Whether mark operational order belongs to preset instruction set, if object run instruction belongs to preset instruction set, limited target operational order pair
The operation answered, it is thus possible to when game running is on foreground, the certain operations of background application are any limitation as, to ensure to play
Bandwidth keep within the specific limits, reached game accelerate purpose, improve Consumer's Experience.
It should be noted that the application control device described by apparatus of the present invention embodiment is to be in the form of functional unit
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 monitoring unit 401, for when target game operates in foreground, monitoring backstage respectively to be applied
The function of operation conditions can be as shown in Figure 5 mobile terminal realize, can specifically be deposited by processor 3000 by calling
Executable program code in reservoir 4000, when target game operates in foreground, monitor the operation conditions that backstage is respectively applied.
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:
When target game operates in foreground, the operation conditions that backstage is respectively applied is monitored;
If monitoring to be instructed by the object run of the intended application triggering of running background, judge that the object run instruction is
It is no to belong to preset instruction set;
If the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
Alternatively, above-mentioned processor 3000 judges whether the object run instruction belongs to preset instruction set, including:
When object run instruction is expends the instruction of Internet resources class, estimate corresponding to the object run instruction
Resource occupying rate, when the resource occupying rate is more than the first predetermined threshold value, confirm the object run instruction category
In the preset instruction set, when the resource occupying rate is less than or equal to first predetermined threshold value, the mesh is confirmed
Mark operational order is not belonging to the preset instruction set;
When object run instruction is not to expend the instruction of Internet resources class, confirm that the object run instruction does not belong to
In the preset instruction set.
Alternatively, above-mentioned processor 3000 limits operates corresponding to the object run instruction, including:
If the target game is constantly in foreground, forbid operating corresponding to the object run instruction;
If the target game is switched to backstage, execution priority corresponding to the object run instruction is determined, according to
The execution priority performs the object run instruction.
Alternatively, above-mentioned processor 3000 limits operates corresponding to the object run instruction, including:
Obtain user's operating frequency;
When user's operating frequency is more than three predetermined threshold values less than the duration of the second predetermined threshold value, judge to use
Whether family is operating the target game;
If the user not when operating the target game, performs the object run instruction.
Alternatively, above-mentioned processor 3000 is also particularly useful for the following operation of execution:
Judge whether the target game starts game acceleration function, if so, performing the fortune that the monitoring backstage is respectively applied
The step of row situation.
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 of application control 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 application control 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 memory (English
Text: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 (12)
- A kind of 1. application control method, it is characterised in that including:When target game operates in foreground, the operation conditions that backstage is respectively applied is monitored;If monitoring to be instructed by the object run of the intended application triggering of running background, judge whether the object run instruction belongs to In preset instruction set;If the object run instruction belongs to preset instruction set, limit and operated corresponding to the object run instruction.
- 2. according to the method for claim 1, it is characterised in that described to judge whether the object run instruction belongs to default Instruction set, including:When object run instruction is expends the instruction of Internet resources class, network corresponding to the object run instruction is estimated Resources occupation rate, when the resource occupying rate is more than the first predetermined threshold value, confirm that the object run instruction belongs to institute Preset instruction set is stated, when the resource occupying rate is less than or equal to first predetermined threshold value, confirms the target behaviour The preset instruction set is not belonging to as instruction;When object run instruction is not to expend the instruction of Internet resources class, confirm that the object run instruction is not belonging to institute State preset instruction set.
- 3. method according to claim 1 or 2, it is characterised in that grasped corresponding to the limitation object run instruction Make, including:If the target game is constantly in foreground, forbid operating corresponding to the object run instruction;If the target game is switched to backstage, execution priority corresponding to the object run instruction is determined, according to described Execution priority performs the object run instruction.
- 4. method according to claim 1 or 2, it is characterised in that grasped corresponding to the limitation object run instruction Make, including:Obtain user's operating frequency;When user's operating frequency is more than three predetermined threshold values less than the duration of the second predetermined threshold value, judge that user is It is no to operate the target game;If the user not when operating the target game, performs the object run instruction.
- 5. according to the method described in any one of Claims 1-4, it is characterised in that methods described also includes:Judge the target Whether game starts game acceleration function, if so, the step of performing the operation conditions that the monitoring backstage is respectively applied.
- A kind of 6. application control device, it is characterised in that including:Monitoring unit, for the operation conditions that when target game operates in foreground, monitoring backstage is respectively applied;First judging unit, if for monitoring to be instructed by the object run of the intended application triggering of running background, described in judgement Whether object run instruction belongs to preset instruction set;Processing unit, if belonging to preset instruction set for object run instruction, limit corresponding to the object run instruction Operation.
- 7. device according to claim 6, it is characterised in that first judging unit is specifically used for:When object run instruction is expends the instruction of Internet resources class, network corresponding to the object run instruction is estimated Resources occupation rate, when the resource occupying rate is more than the first predetermined threshold value, confirm that the object run instruction belongs to institute Preset instruction set is stated, when the resource occupying rate is less than or equal to first predetermined threshold value, confirms the target behaviour The preset instruction set is not belonging to as instruction;When object run instruction is not to expend the instruction of Internet resources class, confirm that the object run instruction is not belonging to institute State preset instruction set.
- 8. the device according to claim 6 or 7, it is characterised in that the processing unit is specifically used for:If the target game is constantly in foreground, forbid operating corresponding to the object run instruction;If the target game is switched to backstage, execution priority corresponding to the object run instruction is determined, according to described Execution priority performs the object run instruction.
- 9. the device according to claim 6 or 7, it is characterised in that the processing unit includes:Acquisition module, for obtaining user's operating frequency;Judge module, for being more than the 3rd predetermined threshold value less than the duration of the second predetermined threshold value in user's operating frequency When, judge whether user is operating the target game;Execution module, if for the user not when operating the target game, perform the object run instruction.
- 10. according to the device described in any one of claim 6 to 9, it is characterised in that described device also includes:Second judging unit, for judging whether the target game starts game acceleration function, if so, by the monitoring unit The step of performing the operation conditions that the monitoring backstage is respectively applied.
- A kind of 11. 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-5 methods.
- A kind of 12. 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-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985662.2A CN107832127B (en) | 2017-10-20 | 2017-10-20 | Application control method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710985662.2A CN107832127B (en) | 2017-10-20 | 2017-10-20 | Application control method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107832127A true CN107832127A (en) | 2018-03-23 |
CN107832127B CN107832127B (en) | 2022-03-01 |
Family
ID=61648747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710985662.2A Active CN107832127B (en) | 2017-10-20 | 2017-10-20 | Application control method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832127B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321201A (en) * | 2018-03-29 | 2019-10-11 | 努比亚技术有限公司 | A kind of background program processing method, terminal and computer readable storage medium |
CN110532095A (en) * | 2019-08-27 | 2019-12-03 | Oppo(重庆)智能科技有限公司 | Memory Optimize Method and device, electronic equipment, storage medium |
CN110765432A (en) * | 2019-09-25 | 2020-02-07 | 深圳市火乐科技发展有限公司 | System file modification method, intelligent projector and related product |
CN111736931A (en) * | 2019-03-25 | 2020-10-02 | 青岛海信移动通信技术股份有限公司 | Application display interface interception method and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104111847A (en) * | 2014-06-26 | 2014-10-22 | 北京奇虎科技有限公司 | Method and device for improving running speed of games |
US20160019068A1 (en) * | 2014-07-18 | 2016-01-21 | Facebook, Inc. | Stepped Sizing of Code Execution |
CN106604361A (en) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | WiFi scanning method and mobile terminal |
CN107219972A (en) * | 2017-05-23 | 2017-09-29 | 努比亚技术有限公司 | A kind of method of application management, equipment and computer-readable recording medium |
-
2017
- 2017-10-20 CN CN201710985662.2A patent/CN107832127B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104111847A (en) * | 2014-06-26 | 2014-10-22 | 北京奇虎科技有限公司 | Method and device for improving running speed of games |
US20160019068A1 (en) * | 2014-07-18 | 2016-01-21 | Facebook, Inc. | Stepped Sizing of Code Execution |
CN106604361A (en) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | WiFi scanning method and mobile terminal |
CN107219972A (en) * | 2017-05-23 | 2017-09-29 | 努比亚技术有限公司 | A kind of method of application management, equipment and computer-readable recording medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110321201A (en) * | 2018-03-29 | 2019-10-11 | 努比亚技术有限公司 | A kind of background program processing method, terminal and computer readable storage medium |
CN111736931A (en) * | 2019-03-25 | 2020-10-02 | 青岛海信移动通信技术股份有限公司 | Application display interface interception method and terminal |
CN110532095A (en) * | 2019-08-27 | 2019-12-03 | Oppo(重庆)智能科技有限公司 | Memory Optimize Method and device, electronic equipment, storage medium |
CN110532095B (en) * | 2019-08-27 | 2022-06-03 | Oppo(重庆)智能科技有限公司 | Memory optimization method and device, electronic equipment and storage medium |
CN110765432A (en) * | 2019-09-25 | 2020-02-07 | 深圳市火乐科技发展有限公司 | System file modification method, intelligent projector and related product |
Also Published As
Publication number | Publication date |
---|---|
CN107832127B (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107832127A (en) | Application control method and related product | |
JP5795349B2 (en) | A device that determines whether an application should be launched locally or remotely as a web application | |
CN107803029B (en) | Display processing method and related product | |
CN107783803B (en) | System optimization method and device of intelligent terminal, storage medium and intelligent terminal | |
CN106775809B (en) | Method and device for cleaning memory of mobile terminal and mobile terminal | |
CN107729216B (en) | Application program control method and device, storage medium and electronic equipment | |
CN107484190B (en) | Method for connecting network, mobile terminal and computer readable storage medium | |
CN111767012A (en) | Screen projection method and device | |
CN109491723A (en) | A kind of application program operation method, application program running gear and mobile terminal | |
CN109379246A (en) | A kind of detection method and device of memory | |
CN110633134A (en) | Application program management method and device, mobile terminal and storage medium | |
CN109343944A (en) | Data processing method, device, terminal and the storage medium of eSIM card | |
CN113138812A (en) | Spacecraft task scheduling method and device | |
CN111249747B (en) | Information processing method and device in game | |
CN109257806B (en) | Carrier aggregation mode setting method for communication terminal, communication terminal and medium | |
CN108011860A (en) | A kind of method and device for handling broadcast message | |
CN105430723B (en) | The carrier aggregation mode setting method and communication terminal of a kind of communication terminal | |
CN105517162B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN108595238B (en) | Display control method and device of application interface | |
CN111966425A (en) | Process cleaning method and device, storage medium and mobile terminal | |
CN110457125A (en) | Freezing method, terminal device and the storage medium of terminal applies | |
CN106776041B (en) | Data processing method and device | |
CN113127094A (en) | Application program running method and device, storage medium and terminal | |
CN108920214A (en) | A kind of application program operation method, application program running gear and mobile terminal | |
CN107807849A (en) | Using freezing 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |