CN107678857A - The control method and electronic equipment of a kind of electronic equipment - Google Patents
The control method and electronic equipment of a kind of electronic equipment Download PDFInfo
- Publication number
- CN107678857A CN107678857A CN201710883497.XA CN201710883497A CN107678857A CN 107678857 A CN107678857 A CN 107678857A CN 201710883497 A CN201710883497 A CN 201710883497A CN 107678857 A CN107678857 A CN 107678857A
- Authority
- CN
- China
- Prior art keywords
- intended application
- electronic equipment
- running status
- application
- instruction
- 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/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
-
- 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/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/524—Deadlock detection or avoidance
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the control method of a kind of electronic equipment, including:Operating system is run in the first pattern, determines an intended application;When the running status of intended application is unsatisfactory for preset state, the instruction of response one;By certain rule, at least stop at least part other application outside intended application, control operation system is run in a second mode, the running status of intended application is met the preset state.The present invention when user use a certain application, can effectively settlement procedure generation deadlock the problem of, improve Consumer's Experience.The invention also discloses a kind of electronic equipment.
Description
Technical field
The present invention relates to the control method and electronic equipment of electronic technology field, more particularly to a kind of electronic equipment.
Background technology
With the continuous development of electronic technology, by installing different software on an electronic device, it is possible to achieve increasingly
More functions.
At present, user is when using electronic equipment, it will usually opens multiple application programs.When the multiple application programs of opening
When, easily there is the limited resource of multiple application program contention systems, cause resource not enough, also easily occur calling between program
Shi Fasheng deadlocks, cause to block.When there is case above, prior art is typically by terminating some application process to discharge
Resource.This method is disadvantageous in that, on the one hand, generally when deadlock occurs for program, the more than one that system is opened should
With, one by one one by one remove process release resource operation it is very cumbersome, it is necessary to wait time it is longer, or even deadlock so that
In can not adjusting the function of removing other application process.On the other hand, it is most of to use if removing unwanted application one by one by user
Family is limited because of level of expertise, it is unclear which corresponding process of which application, do not know which process can be removed yet, which
It should not remove, it is easy to cause to remove system-level process by mistake, cause more serious consequence.
Therefore, it is a urgent problem to be solved that how deadlock, which occurs, for effective settlement procedure.
The content of the invention
In view of this, the present invention provides the control method of a kind of electronic equipment, when user uses a certain application, Neng Gouyou
The problem of deadlock, occurs for the settlement procedure of effect, improves Consumer's Experience.
The invention provides the control method of a kind of electronic equipment, methods described includes:
Operating system is run in the first pattern, determines an intended application;
When the running status of the intended application is unsatisfactory for preset state, the instruction of response one;
By certain rule, at least stop at least part other application outside the intended application, control the operation system
System is run in a second mode, the running status of the intended application is met the preset state.
Preferably, the intended application is the current application being user-operably.
Preferably, methods described also includes:
Monitor the occupied rate of resource of the operating system;
When the occupied rate of the resource is more than or equal to predetermined threshold value, judge that the running status of the intended application is unsatisfactory for
Preset state;
When the occupied rate of the resource is less than the predetermined threshold value, judge that the running status of the intended application meets in advance
If state.
Preferably, methods described also includes:
Whether the response time for monitoring the intended application exceedes preset time value;
When the response time of the intended application exceeding preset time value, the running status of the intended application is judged not
Meet preset state;
When the response time of the intended application is not less than preset time value, the running status of the intended application is judged
Meet preset state.
Preferably, when the running status of the intended application is unsatisfactory for preset state, the instruction of response one includes:
When the running status of the intended application is unsatisfactory for preset state, the instruction that user assigns is responded;
Or
When the running status of the intended application is unsatisfactory for preset state, the finger that the electronic equipment automatically generates is responded
Order.
Preferably, the instruction that the user assigns includes:
The instruction of the button generation of electronic equipment described in user's touch-control;
Or
The instruction of the screen generation of electronic equipment described in user's touch-control;
Or
Instructed corresponding to the voice messaging of user's output.
A kind of electronic equipment, including:
Memory, for storing application program and data caused by application program operation;
Processor, an intended application is determined for running when the application program is run in the first pattern with operating system;
The processor, it is additionally operable to when the running status of the intended application is unsatisfactory for preset state, the instruction of response one;
By certain rule, at least stop at least part other application outside the intended application, control the operation system
System is run in a second mode, the running status of the intended application is met the preset state.
Preferably, the intended application is the current application being user-operably.
Preferably, the processor is additionally operable to:
Monitor the occupied rate of resource of the operating system;
When the occupied rate of the resource is more than or equal to predetermined threshold value, judge that the running status of the intended application is unsatisfactory for
Preset state;
When the occupied rate of the resource is less than the predetermined threshold value, judge that the running status of the intended application meets in advance
If state.
Preferably, the processor is additionally operable to:
Whether the response time for monitoring the intended application exceedes preset time value;
When the response time of the intended application exceeding preset time value, the running status of the intended application is judged not
Meet preset state;
When the response time of the intended application is not less than preset time value, the running status of the intended application is judged
Meet preset state.
Preferably, the processor is used for:
When the running status of the intended application is unsatisfactory for preset state, the instruction that user assigns is responded;
Or
When the running status of the intended application is unsatisfactory for preset state, the finger that the electronic equipment automatically generates is responded
Order.
Preferably, the instruction that the user assigns includes:
The instruction of the button generation of electronic equipment described in user's touch-control;
Or
The instruction of the screen generation of electronic equipment described in user's touch-control;
Or
Instructed corresponding to the voice messaging of user's output.
It can be seen from the above technical proposal that the control method of a kind of electronic equipment disclosed in the present application, first in electronics
When the operating system of equipment is run in the first pattern, intended application is determined, when the running status of intended application is unsatisfactory for default shape
During state, i.e., when the running status that target is used for is unsatisfactory for the demand of user, the instruction of response one, according to the instruction of response, according to one
Set pattern then, at least stops at least part other application in electronic equipment outside intended application, control operation system is with the second mould
Formula is run, so that the running status of intended application meets preset state, i.e., the program that can effectively solve intended application occurs
The problem of deadlock, 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 the flow chart of the control method embodiment 1 of a kind of electronic equipment disclosed by the invention;
Fig. 2 is the flow chart of the control method embodiment 2 of a kind of electronic equipment disclosed by the invention;
Fig. 3 is the flow chart of the control method embodiment 3 of a kind of electronic equipment disclosed by the invention;
Fig. 4 is the structural representation of a kind of electronic equipment embodiment 1 disclosed by the invention;
Fig. 5 is the structural representation of a kind of electronic equipment embodiment 2 disclosed by the invention;
Fig. 6 is the structural representation of a kind of electronic equipment embodiment 3 disclosed by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, the method flow diagram of the control method embodiment 1 for a kind of electronic equipment disclosed by the invention, its
In, described electronic equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;Methods described can include with
Lower step:
S101, operating system are run in the first pattern, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.
S102, when the running status of intended application is unsatisfactory for preset state, response one instruction;
After intended application is determined, the running status of intended application is monitored, target is judged according to monitoring result
Whether the running status of application meets preset state, wherein, described preset state be pre-set can lift user's body
Test the state of sense.When the running status of intended application is unsatisfactory for preset state, the instruction of response one.Wherein, the finger of the response
Make the instruction for that can be controlled based on the instruction to the operating system of electronic equipment.
S103, by certain rule, at least stop at least part other application outside intended application, control operation system with
Second mode is run, and the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, in the above-described embodiments, first when the operating system of electronic equipment is run in the first pattern, it is determined that
Intended application, when the running status of intended application is unsatisfactory for preset state, i.e., the running status that target is used for is unsatisfactory for user
Demand when, the instruction of response one, according to the instruction of response, according to certain rule, at least stop in electronic equipment intended application it
Outer at least part other application, control operation system are run in a second mode, so that the running status of intended application meets in advance
If state, i.e., deadlock occurs for the program that can effectively solve the problems, such as intended application, improves Consumer's Experience.
As shown in Fig. 2 the method flow diagram of the control method embodiment 2 for a kind of electronic equipment disclosed by the invention, its
In, described electronic equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;Methods described can include with
Lower step:
S201, operating system are run in the first pattern, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.For example, currently will can it be user-operably
Using being defined as intended application.
S202, the occupied rate of the resource of monitor operating system;
After intended application is determined, the running status of intended application is monitored, in the operation shape to intended application
When state is monitored, can monitor operating system the occupied rate of resource, i.e. monitor operating system resource service condition.
S203, when the occupied rate of resource is more than or equal to predetermined threshold value, judge intended application running status be unsatisfactory for it is pre-
If state;When the occupied rate of resource is less than predetermined threshold value, judge that the running status of intended application meets preset state;
In the occupied rate of the resource of monitor operating system, can lead to by monitor operating system resource by usage amount
The ratio by usage amount and the total amount of resource for crossing the resource monitored determines the occupied rate of resource, when the occupied rate of resource
During more than or equal to predetermined threshold value, show that the running status of now intended application is unsatisfactory for preset state;When the occupied rate of resource is small
When predetermined threshold value, show that the running status of now intended application meets preset state;It should be noted that described default threshold
Value can be set according to the actual demand of user, for example, predetermined threshold value can be set as to 60%, 80% etc..
S204, when the running status of intended application is unsatisfactory for preset state, response one instruction;
Described preset state is that what is pre-set can lift the state of user experience, when the operation shape of intended application
When state is unsatisfactory for preset state, the instruction of response one.Wherein, the instruction of the response is can be based on the instruction to electronic equipment
The instruction that operating system is controlled.
S205, by certain rule, at least stop at least part other application outside intended application, control operation system with
Second mode is run, and the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, the present embodiment is further occupied by the resource of monitor operating system on the basis of embodiment 1
Rate judges whether the running status of intended application meets preset state.
As shown in figure 3, the method flow diagram of the control method embodiment 2 for a kind of electronic equipment disclosed by the invention, its
In, described electronic equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;Methods described can include with
Lower step:
S301, operating system are run in the first pattern, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.For example, currently will can it be user-operably
Using being defined as intended application.
Whether S302, the response time of monitoring objective application exceed preset time value;
After intended application is determined, the running status of intended application is monitored, in the operation shape to intended application
When state is monitored, the corresponding time of intended application can be monitored, judge whether the response time of intended application exceedes in advance
If time value.Wherein, described preset time value can be set according to the actual demand of user, and preset time value is set to
The experience of shorter user can be more preferable.For example, preset time value can be set as to 20 seconds, 30 seconds etc..
S303, when the response time of intended application exceeding preset time value, judge that the running status of intended application is discontented with
Sufficient preset state;When the response time of intended application is not less than preset time value, judge that the running status of intended application meets
Preset state;
S304, when the running status of intended application is unsatisfactory for preset state, response one instruction;
Described preset state is that what is pre-set can lift the state of user experience, when the operation shape of intended application
When state is unsatisfactory for preset state, the instruction of response one.Wherein, the instruction of the response is can be based on the instruction to electronic equipment
The instruction that operating system is controlled.
S305, by certain rule, at least stop at least part other application outside intended application, control operation system with
Second mode is run, and the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, the present embodiment is on the basis of embodiment 1, the response time further applied by monitoring objective
Judge whether the running status of intended application meets preset state, when the response time of intended application exceeding preset time value,
Judge that the running status of intended application is unsatisfactory for preset state;When the response time of intended application is not less than preset time value,
Judge that the running status of intended application meets preset state.
Specifically, in the above-described embodiment, when the running status of intended application is unsatisfactory for preset state, response one refers to
It order, can be the instruction that response user assigns when the running status of intended application is unsatisfactory for preset state.That is, when judging
When the running status of intended application is unsatisfactory for preset state, an instruction is assigned by user, is then based on the finger that user assigns
Order, at least stop at least part other application outside intended application according to certain rule, control operation system is with the second mould
Formula is run, and the running status of intended application is met the preset state.
Specifically, when responding the instruction that user assigns, the button on electronic equipment can be triggered by user, electronics is set
The standby instruction of operation generation one that button is triggered based on user;The screen of electronic equipment, electronic equipment can also be triggered by user
The instruction of operation generation one of screen is triggered based on user;Electronic equipment input voice information, electronics can also be set by user
It is standby to be instructed based on the voice messaging received generation one.That is, can be made by the receivable instruction of sensor in electronic equipment
At least to stop at least part other application outside intended application according to certain rule, control operation system is in a second mode
Operation, makes the running status of intended application meet the control instruction of the preset state.
Specifically, in the above-described embodiment, when the running status of intended application is unsatisfactory for preset state, response one refers to
Order, it can also be the instruction that response electronic equipment automatically generates.That is, when the running status of intended application is unsatisfactory for preset state
When, electronic equipment automatically generates an instruction, is at least stopped based on the instruction according to certain rule outside intended application at least
Part other application, control operation system are run in a second mode, the running status of intended application is met the preset state.
As shown in figure 4, be the structural representation of a kind of electronic equipment embodiment 1 disclosed by the invention, wherein, described electricity
Sub- equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;The electronic equipment can include:
Memory 401, for storing application program and data caused by application program operation;
Processor 402, run in the first pattern with operating system for running application program, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.
Processor 402, it is additionally operable to when the running status of intended application is unsatisfactory for preset state, the instruction of response one;
After intended application is determined, the running status of intended application is monitored, target is judged according to monitoring result
Whether the running status of application meets preset state, wherein, described preset state be pre-set can lift user's body
Test the state of sense.When the running status of intended application is unsatisfactory for preset state, the instruction of response one.Wherein, the finger of the response
Make the instruction for that can be controlled based on the instruction to the operating system of electronic equipment.
Processor 402, by certain rule, at least stop at least part other application outside intended application, control operation
System is run in a second mode, the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, in the above-described embodiments, first when the operating system of electronic equipment is run in the first pattern, it is determined that
Intended application, when the running status of intended application is unsatisfactory for preset state, i.e., the running status that target is used for is unsatisfactory for user
Demand when, the instruction of response one, according to the instruction of response, according to certain rule, at least stop in electronic equipment intended application it
Outer at least part other application, control operation system are run in a second mode, so that the running status of intended application meets in advance
If state, i.e., deadlock occurs for the program that can effectively solve the problems, such as intended application, improves Consumer's Experience.
As shown in Fig. 2 be the structural representation of a kind of electronic equipment embodiment 2 disclosed by the invention, wherein, described electricity
Sub- equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;The electronic equipment can include:
Memory 501, for storing application program and data caused by application program operation;
Processor 502, run in the first pattern for operating system, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.For example, currently will can it be user-operably
Using being defined as intended application.
Processor 502, it is additionally operable to the occupied rate of resource of monitor operating system;
After intended application is determined, the running status of intended application is monitored, in the operation shape to intended application
When state is monitored, can monitor operating system the occupied rate of resource, i.e. monitor operating system resource service condition.
Processor 502, it is additionally operable to, when the occupied rate of resource is more than or equal to predetermined threshold value, judge the operation shape of intended application
State is unsatisfactory for preset state;When the occupied rate of resource is less than predetermined threshold value, judge that the running status of intended application meets to preset
State;
In the occupied rate of the resource of monitor operating system, can lead to by monitor operating system resource by usage amount
The ratio by usage amount and the total amount of resource for crossing the resource monitored determines the occupied rate of resource, when the occupied rate of resource
During more than or equal to predetermined threshold value, show that the running status of now intended application is unsatisfactory for preset state;When the occupied rate of resource is small
When predetermined threshold value, show that the running status of now intended application meets preset state;It should be noted that described default threshold
Value can be set according to the actual demand of user, for example, predetermined threshold value can be set as to 60%, 80% etc..
Processor 502, it is additionally operable to when the running status of intended application is unsatisfactory for preset state, the instruction of response one;
Described preset state is that what is pre-set can lift the state of user experience, when the operation shape of intended application
When state is unsatisfactory for preset state, the instruction of response one.Wherein, the instruction of the response is can be based on the instruction to electronic equipment
The instruction that operating system is controlled.
Processor 502, by certain rule, at least stop at least part other application outside intended application, control operation
System is run in a second mode, the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, the present embodiment is further occupied by the resource of monitor operating system on the basis of embodiment 1
Rate judges whether the running status of intended application meets preset state.
As shown in fig. 6, be the structural representation of a kind of electronic equipment embodiment 3 disclosed by the invention, wherein, described electricity
Sub- equipment can be:The intelligent terminals such as smart mobile phone, notebook computer, IPAD;The electronic equipment can include:
Memory 601, for storing application program and data caused by application program operation;
Processor 602, run in the first pattern for operating system, determine an intended application;
When the operating system of electronic equipment is run in the first pattern, it is first determined go out intended application.It should be noted that
Described intended application is the one of application for the application being currently running in the current electronic equipment run in the first pattern.
When determining intended application, it can be selected according to the actual demand of user.For example, currently will can it be user-operably
Using being defined as intended application.
Whether processor 602, the response time for being additionally operable to monitoring objective application exceed preset time value;
After intended application is determined, the running status of intended application is monitored, in the operation shape to intended application
When state is monitored, the corresponding time of intended application can be monitored, judge whether the response time of intended application exceedes in advance
If time value.Wherein, described preset time value can be set according to the actual demand of user, and preset time value is set to
The experience of shorter user can be more preferable.For example, preset time value can be set as to 20 seconds, 30 seconds etc..
Processor 603, it is additionally operable to, when the response time of intended application exceeding preset time value, judge the fortune of intended application
Row state is unsatisfactory for preset state;When the response time of intended application is not less than preset time value, the fortune of intended application is judged
Row state meets preset state;
Processor 604, it is additionally operable to when the running status of intended application is unsatisfactory for preset state, the instruction of response one;
Described preset state is that what is pre-set can lift the state of user experience, when the operation shape of intended application
When state is unsatisfactory for preset state, the instruction of response one.Wherein, the instruction of the response is can be based on the instruction to electronic equipment
The instruction that operating system is controlled.
Processor 605, by certain rule, at least stop at least part other application outside intended application, control operation
System is run in a second mode, the running status of intended application is met the preset state.
When the running status of intended application is unsatisfactory for preset state, according to the instruction of response, according to certain regular by mesh
Some or all of other application outside mark application stops.For example, when the operating system of electronic equipment is run in the first pattern
When, the application run in electronic equipment has " wechat ", " microblogging " and " QQ ", it is assumed that " wechat " is the intended application determined, works as warp
Running status that monitoring judges " wechat " is crossed when being unsatisfactory for preset state, " microblogging " that is run in electronic equipment or " QQ " is stopped
Only, or by " microblogging " and " QQ " all stop, the rule stopped to the other application outside intended application is to make intended application
Running status meets preset state.For example, if only " microblogging " that is run in electronic equipment or " QQ " stopping can be made " micro-
The running status of letter " meets preset state, then " microblogging " or " QQ " that word needs to run in electronic equipment stops.If
" microblogging " and " QQ " for needing to run in electronic equipment all stops just making the running status of " wechat " meet preset state, then
" microblogging " and " QQ " for needing to run in electronic equipment all stops.Illustrated more than, it can be seen that described first
Pattern is operational mode of the electronic equipment before at least part other application outside intended application is stopped, the second described mould
Formula is operational mode of the electronic equipment after at least part other application outside intended application is stopped.
In summary, the present embodiment is on the basis of embodiment 1, the response time further applied by monitoring objective
Judge whether the running status of intended application meets preset state, when the response time of intended application exceeding preset time value,
Judge that the running status of intended application is unsatisfactory for preset state;When the response time of intended application is not less than preset time value,
Judge that the running status of intended application meets preset state.
Specifically, in the above-described embodiment, when the running status of intended application is unsatisfactory for preset state, response one refers to
It order, can be the instruction that response user assigns when the running status of intended application is unsatisfactory for preset state.That is, when judging
When the running status of intended application is unsatisfactory for preset state, an instruction is assigned by user, is then based on the finger that user assigns
Order, at least stop at least part other application outside intended application according to certain rule, control operation system is with the second mould
Formula is run, and the running status of intended application is met the preset state.
Specifically, when responding the instruction that user assigns, the button on electronic equipment can be triggered by user, electronics is set
The standby instruction of operation generation one that button is triggered based on user;The screen of electronic equipment, electronic equipment can also be triggered by user
The instruction of operation generation one of screen is triggered based on user;Electronic equipment input voice information, electronics can also be set by user
It is standby to be instructed based on the voice messaging received generation one.That is, can be made by the receivable instruction of sensor in electronic equipment
At least to stop at least part other application outside intended application according to certain rule, control operation system is in a second mode
Operation, makes the running status of intended application meet the control instruction of the preset state.
Specifically, in the above-described embodiment, when the running status of intended application is unsatisfactory for preset state, response one refers to
Order, it can also be the instruction that response electronic equipment automatically generates.That is, when the running status of intended application is unsatisfactory for preset state
When, electronic equipment automatically generates an instruction, is at least stopped based on the instruction according to certain rule outside intended application at least
Part other application, control operation system are run in a second mode, the running status of intended application is met the preset state.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (12)
1. the control method of a kind of electronic equipment, it is characterised in that methods described includes:
Operating system is run in the first pattern, determines an intended application;
When the running status of the intended application is unsatisfactory for preset state, the instruction of response one;
By certain rule, at least stop at least part other application outside the intended application, control the operating system with
Second mode is run, and the running status of the intended application is met the preset state.
2. according to the method for claim 1, it is characterised in that the intended application should for what is be currently user-operably
With.
3. according to the method for claim 1, it is characterised in that also include, the resource for monitoring the operating system is occupied
Rate;
When the occupied rate of the resource is more than or equal to predetermined threshold value, judge that the running status of the intended application is unsatisfactory for presetting
State;
When the occupied rate of the resource is less than the predetermined threshold value, judge that the running status of the intended application meets default shape
State.
4. according to the method for claim 1, it is characterised in that also include:
Whether the response time for monitoring the intended application exceedes preset time value;
When the response time of the intended application exceeding preset time value, judge that the running status of the intended application is unsatisfactory for
Preset state;
When the response time of the intended application is not less than preset time value, judge that the running status of the intended application meets
Preset state.
5. according to the method for claim 1, it is characterised in that when the running status of the intended application is unsatisfactory for default shape
During state, the instruction of response one includes:
When the running status of the intended application is unsatisfactory for preset state, the instruction that user assigns is responded;
Or
When the running status of the intended application is unsatisfactory for preset state, the instruction that the electronic equipment automatically generates is responded.
6. according to the method for claim 5, it is characterised in that the instruction that the user assigns includes:Described in user's touch-control
The instruction of the button generation of electronic equipment;
Or
The instruction of the screen generation of electronic equipment described in user's touch-control;
Or
Instructed corresponding to the voice messaging of user's output.
7. a kind of electronic equipment, it is characterised in that including:
Memory, for storing application program and data caused by application program operation;
Processor, an intended application is determined for running when the application program is run in the first pattern with operating system;
The processor, it is additionally operable to when the running status of the intended application is unsatisfactory for preset state, the instruction of response one;
By certain rule, at least stop at least part other application outside the intended application, control the operating system with
Second mode is run, and the running status of the intended application is met the preset state.
8. electronic equipment according to claim 7, it is characterised in that the intended application is currently to be user-operably
Application.
9. electronic equipment according to claim 7, it is characterised in that the processor is additionally operable to:
Monitor the occupied rate of resource of the operating system;
When the occupied rate of the resource is more than or equal to predetermined threshold value, judge that the running status of the intended application is unsatisfactory for presetting
State;
When the occupied rate of the resource is less than the predetermined threshold value, judge that the running status of the intended application meets default shape
State.
10. electronic equipment according to claim 7, it is characterised in that the processor is additionally operable to:
Whether the response time for monitoring the intended application exceedes preset time value;
When the response time of the intended application exceeding preset time value, judge that the running status of the intended application is unsatisfactory for
Preset state;
When the response time of the intended application is not less than preset time value, judge that the running status of the intended application meets
Preset state.
11. electronic equipment according to claim 7, it is characterised in that the processor is used for:
When the running status of the intended application is unsatisfactory for preset state, the instruction that user assigns is responded;
Or
When the running status of the intended application is unsatisfactory for preset state, the instruction that the electronic equipment automatically generates is responded.
12. electronic equipment according to claim 11, it is characterised in that the instruction that the user assigns includes:
The instruction of the button generation of electronic equipment described in user's touch-control;
Or
The instruction of the screen generation of electronic equipment described in user's touch-control;
Or
Instructed corresponding to the voice messaging of user's output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710883497.XA CN107678857A (en) | 2017-09-26 | 2017-09-26 | The control method and electronic equipment of a kind of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710883497.XA CN107678857A (en) | 2017-09-26 | 2017-09-26 | The control method and electronic equipment of a kind of electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678857A true CN107678857A (en) | 2018-02-09 |
Family
ID=61137161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710883497.XA Pending CN107678857A (en) | 2017-09-26 | 2017-09-26 | The control method and electronic equipment of a kind of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678857A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6421721B1 (en) * | 1999-01-05 | 2002-07-16 | International Business Machines Corporation, | Controlling device access in a network |
CN103092640A (en) * | 2012-10-19 | 2013-05-08 | 张伟明 | Information processing system and processing method |
CN104199733A (en) * | 2014-09-05 | 2014-12-10 | 广州金山网络科技有限公司 | Disabling method and device for application program processes |
CN105242973A (en) * | 2015-11-10 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Internal memory optimization method of Android system |
CN106095400A (en) * | 2016-05-26 | 2016-11-09 | 深圳市金立通信设备有限公司 | A kind of application program method for down loading and terminal, communication equipment |
CN106598467A (en) * | 2016-12-22 | 2017-04-26 | 上海摩软通讯技术有限公司 | Mobile terminal and screen control method and system thereof |
US20170139665A1 (en) * | 2015-11-13 | 2017-05-18 | Samsung Electronics Co., Ltd. | Sharing content operating method and electronic device for supporting the same |
-
2017
- 2017-09-26 CN CN201710883497.XA patent/CN107678857A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6421721B1 (en) * | 1999-01-05 | 2002-07-16 | International Business Machines Corporation, | Controlling device access in a network |
CN103092640A (en) * | 2012-10-19 | 2013-05-08 | 张伟明 | Information processing system and processing method |
CN104199733A (en) * | 2014-09-05 | 2014-12-10 | 广州金山网络科技有限公司 | Disabling method and device for application program processes |
CN105242973A (en) * | 2015-11-10 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Internal memory optimization method of Android system |
US20170139665A1 (en) * | 2015-11-13 | 2017-05-18 | Samsung Electronics Co., Ltd. | Sharing content operating method and electronic device for supporting the same |
CN106095400A (en) * | 2016-05-26 | 2016-11-09 | 深圳市金立通信设备有限公司 | A kind of application program method for down loading and terminal, communication equipment |
CN106598467A (en) * | 2016-12-22 | 2017-04-26 | 上海摩软通讯技术有限公司 | Mobile terminal and screen control method and system thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108009006B (en) | Scheduling method and device of I/O (input/output) request | |
CN102789305B (en) | Postponing suspend | |
CN105786985B (en) | A kind of automatic expansion method of file system and device | |
CN103399781B (en) | Cloud Server and virtual machine management method thereof | |
CN105824702A (en) | Method and terminal for managing program memory footprint | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN106681811A (en) | Multi-thread scheduling method and device based on thread pool | |
CN101599048A (en) | A kind of method and apparatus of internal memory monitoring | |
CN105700663A (en) | Background program cleaning method and system for mobile terminal | |
CN107943534B (en) | Background application program closing method and device, storage medium and electronic equipment | |
CN104503828A (en) | Process management method and terminal | |
CN105224439A (en) | Method and device for detecting CPU occupancy rate of terminal APP and terminal | |
CN103870319B (en) | Information processing method, device and electronic equipment | |
CN107608724A (en) | A kind of method, terminal and computer-readable recording medium for managing application program | |
CN108572898A (en) | A kind of method, apparatus of control interface, equipment and storage medium | |
CN105930248A (en) | Application performance prompting method and system | |
CN103902011A (en) | Electronic device controlling method and electronic device | |
CN108415765B (en) | Task scheduling method and device and intelligent terminal | |
CN105511876B (en) | A kind of processing method and processing device of pushed information | |
CN105549857B (en) | A kind of control method and electric terminal of electric terminal | |
CN108874648A (en) | A kind of threshold setting method and relevant apparatus | |
CN103257894B (en) | A kind of method and electric terminal of management program | |
CN106372502A (en) | Application closure limiting method and apparatus, and terminal | |
CN107678857A (en) | The control method and electronic equipment of a kind of electronic equipment | |
CN102549510B (en) | Method for testing the real-time capability of an operating system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |