CN104268009B - A kind of progress control method, device and electronic equipment - Google Patents
A kind of progress control method, device and electronic equipment Download PDFInfo
- Publication number
- CN104268009B CN104268009B CN201410491925.0A CN201410491925A CN104268009B CN 104268009 B CN104268009 B CN 104268009B CN 201410491925 A CN201410491925 A CN 201410491925A CN 104268009 B CN104268009 B CN 104268009B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- application program
- state change
- broadcast
- application
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The present invention provides a kind of progress control method, including:Judge whether the electronic equipment meets the state change of predetermined condition, obtain the first judging result;When first judging result shows that the electronic equipment meets the state change of predetermined condition, based on the state change and preset correlation rule, determine M application program of the electronic equipment currently in N number of application program of running background, the value of the M and N are the integer more than 0;Terminate the process of the M application program.Using this method, application process relevant in electronic equipment can automatically be terminated, reduce the power consumption of electronic equipment when electronic equipment meets the state change of predetermined condition in the case where not increasing user's operation.
Description
Technical field
The present invention relates to electronic device field, more specifically, being to be related to a kind of progress control method, device and electronics to set
It is standby.
Background technology
With electronic equipments such as the fast development of science and technology, PC, mobile terminal or personal digital assistant PDA
As the essential part of people's daily life.
In general, electronic equipment is run under a certain pattern, some applications corresponding with the pattern can be started, however, working as
When electronic equipment exits the pattern, it is impossible to relative application be controlled, under normal circumstances, these applications are in
Operating status needs user's manual operation that could close.Such as, when user opens the network mode of electronic equipment and logs in QQ,
Corresponding QQ applications can be opened in electronic equipment.However, when user exits network pattern, although QQ applications can not carry out
Network information transfer, but the application is also being run, and continues to consume the electricity of electronic equipment, the power consumption for leading to electronic equipment is high.
Invention content
In view of this, the present invention provides a kind of progress control methods, solve existing electronic equipment and exit a certain mould
During formula, powder consumption of electronic equipment height is asked caused by the application corresponding with the pattern that is currently running in electronic equipment continues to run with
Topic.
To achieve the above object, the present invention provides following technical solution:
A kind of information processing method, applied to an electronic equipment, the method includes:
Judge whether the electronic equipment meets the state change of predetermined condition, obtain the first judging result;
When first judging result shows that the electronic equipment meets the state change of predetermined condition, based on institute
State change and preset correlation rule are stated, determines the electronic equipment M currently in N number of application program of running background
The value of application program, the M and N are the integer more than 0;
Terminate the process of the M application program.
Above-mentioned method, it is preferred that when the state change is closed for data communication function in the electronic equipment, institute
It states and judges whether the electronic equipment meets the state change of predetermined condition and include:
Obtain relevant first broadcast of the data communication function;
First broadcast is analyzed, obtains the information carried in first broadcast;
According to the information carried in the described first broadcast, determine whether the electronic equipment meets the shape of predetermined condition
State changes;
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronics is determined
Equipment meets the state change of predetermined condition.
Above-mentioned method, it is preferred that based on the state change and preset correlation rule, determine that the electronic equipment is worked as
Preceding N number of application program in running background includes:
Detect the second broadcast generated in each application program operational process in the electronic equipment;
Analysis obtains the second broadcast, obtains the application state information carried in the broadcast;
According to the application state information, the first set of applications of electronic equipment current background operation, institute are determined
It states the first set of applications and includes N number of first application program.
Above-mentioned method, it is preferred that the state change for judging the electronic equipment and whether meeting predetermined condition
Including:
Detect the remaining capacity of the electric device battery;
According to preset electricity correspondence, the corresponding first threshold of the first application program is determined;
Judge whether the remaining capacity is less than first threshold, generate the second judging result;
According to second judging result, determine whether the electronic equipment meets the state change of predetermined condition;
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating becomes
Change.
Above-mentioned method, it is preferred that based on the state change and preset correlation rule, determine that the electronic equipment is worked as
M application program in N number of application program of front and back operation includes:
It is searched from preset linked list and relevant second set of applications of the state change, second application
At least one second application program is included in program groups;
Electronic equipment is currently compared in the first application program of running background and second application program, generation matching
As a result;
When the matching result represents first application program with the second application matches, determine that described first should
With to be M with the number of the relevant third application program of the state change of the electronic equipment, the third application program.
A kind of information processing unit, described device are applied to an electronic equipment, which includes:
Judgment module for judging whether the electronic equipment meets the state change of predetermined condition, obtains first
Judging result;
Determining module shows that the electronic equipment meets the state of predetermined condition for working as first judging result
During variation, based on the state change and preset correlation rule, determine that the electronic equipment currently should in the N number of of running background
With M application program in program, the value of the M and N are the integer more than 0;
Terminate module, for terminating the process of the M application program.
Above-mentioned device, it is preferred that when the state change is closed for data communication function in the electronic equipment, institute
Judgment module is stated to include:
Acquiring unit, for obtaining relevant first broadcast of the data communication function;
First analytic unit for analyzing first broadcast, obtains the information carried in first broadcast;
First determination unit, for according to the information carried in the described first broadcast, determining whether the electronic equipment is sent out
The raw state change for meeting predetermined condition;
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronics is determined
Equipment meets the state change of predetermined condition.
Above-mentioned device, it is preferred that the determining module includes:
First detection unit is wide for detecting generated in each application program operational process in the electronic equipment second
It broadcasts;
Second analytic unit obtains the second broadcast for analyzing, and obtains the Application Status carried in the broadcast letter
Breath;
Second determination unit, for according to the application state information, determining the operation of electronic equipment current background
First set of applications, first set of applications include N number of first application program;
Third determination unit, for determining M application program in first set of applications.
Above-mentioned device, it is preferred that the judgment module includes:
Second detection unit, for detecting the remaining capacity of the electric device battery;
4th determination unit, for according to preset electricity correspondence, determining corresponding first threshold of the first application program
Value;
First judging unit for judging whether the remaining capacity is less than first threshold, generates the second judging result;
5th determination unit, for according to second judging result, it is pre- to determine whether the electronic equipment occurs to meet
The state change of fixed condition;
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating becomes
Change.
Above-mentioned device, it is preferred that the judgment module includes:
Searching unit, for being searched and relevant second application program of the state change from preset linked list
Group includes at least one second application program in second set of applications;
Matching unit, for by electronic equipment currently in the first application program of running background and second application program
It compares, generates matching result;
6th determination unit represents first application program and the second application matches for working as the matching result
When, it is the relevant third application program of state change with the electronic equipment, the third application to determine first application
The number of program is M.
A kind of electronic equipment, the electronic equipment include such as information processing unit described in any one of the above embodiments.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of progress control method, packets
It includes:Judge whether the electronic equipment meets the state change of predetermined condition, obtain the first judging result;When described first
When judging result shows that the electronic equipment meets the state change of predetermined condition, based on the state change and preset
Correlation rule determines M application program of the electronic equipment currently in N number of application program of running background, the M and N
Value be integer more than 0;Terminate the process of the M application program.Using this method, can occur in electronic equipment full
During the state change of sufficient predetermined condition, in the case where not increasing user's operation, to application process relevant in electronic equipment certainly
It is dynamic to terminate, reduce the power consumption of electronic equipment.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of information processing method embodiment 1 provided by the invention;
Fig. 2 is a kind of flow chart of information processing method embodiment 2 provided by the invention;
Fig. 3 is a kind of flow chart of information processing method embodiment 3 provided by the invention;
Fig. 4 is a kind of flow chart of information processing method embodiment 4 provided by the invention;
Fig. 5 is a kind of flow chart of information processing method embodiment 5 provided by the invention;
Fig. 6 is a kind of structure diagram of information processing unit embodiment 1 provided by the invention;
Fig. 7 is a kind of structure diagram of information processing unit embodiment 2 provided by the invention;
Fig. 8 is a kind of structure diagram of information processing unit embodiment 3 provided by the invention;
Fig. 9 is a kind of structure diagram of information processing unit embodiment 4 provided by the invention;
Figure 10 is a kind of structure diagram of information processing unit embodiment 5 provided by the invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution 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, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
Attached drawing 1 is please referred to, for a kind of flow chart of information processing method embodiment 1 provided by the invention, this method application
In an electronic equipment, wherein, which can be specifically desktop computer, notebook, tablet computer, mobile phone, smart television, intelligence
Can wrist-watch, the electronic equipments such as Wearable, can running background application program in the electronic equipment.
This method is realized by following steps:
Step S101:Judge whether the electronic equipment meets the state change of predetermined condition, obtain first and judge
As a result;
Wherein, which refers to that electronic equipment operating status etc. is various with the relevant variation of state, when the state is sent out
During changing, need to switch over the operating status of some applications in electronic equipment.
Wherein, which can be that some specific functions are closed, and such as refer to data communication function and close;Either electricity
Situations such as reducing to a certain extent, because when electricity is relatively low, to ensure the safety of electronic equipment, some of which power consumption is larger
Application be not suitable for running, need out of service.
Therefore, first determine whether the electronic equipment whether the generation state change, and the first judging result is generated, if hair
If life, step S102 is performed, otherwise continues to run with, does not do any interventional operations.
Step S102:When first judging result shows that the electronic equipment meets the state change of predetermined condition
When, based on the state change and preset correlation rule, determine the electronic equipment currently in the N number of using journey of running background
M application program in sequence;
Wherein, the value of the M and N is the integer more than 0;
Wherein, it is that current background is transported in electronic equipment when the electronic equipment meets the state change of predetermined condition
Capable certain specific application programs carry out end processing.
Specifically, when the state change refers to that data communication function is closed, answered for the data communication function is relevant
End processing is carried out with program;Situations such as either electricity is reduced to a certain extent, because when electricity is relatively low, to ensure electronics
The safety of equipment, the larger application of some of which power consumption (application such as with camera function) are not suitable for operation, need to stop
Only run.
Specifically, it determines then, to set according to the electronics currently in N number of application program of running background in the electronic equipment
Standby state change and preset correlation rule determine M application program in N number of application program of the operation.
Wherein, which is associated with the state change of the electronic equipment, when the electronic equipment occurs completely
During the state change of sufficient predetermined condition, the operating status of this M application also changes therewith.
It should be noted that it can determine electronic equipment currently in N number of application of running background this in the subsequent embodiment
The process of M application program in program is explained in detail, and the present embodiment is not detailed.
Step S103:Terminate the process of the M application program.
Wherein, after M application program relevant with the state change of the electronic equipment is determined, to ensure electronic equipment
Power consumption, terminate the process of the M application program.
Specifically, by the way of journey is entered, terminate the process of the M application program, so that the electronic equipment is with being somebody's turn to do
The associated application program of state change is automatically closed, and in the case where not increasing user's operation, reduces the work(of electronic equipment
Consumption, while better user experience.Meanwhile a part of application program is closed, the central controller of electronic equipment reduces at data
Reason amount ensures the speed of service of other applications of remaining operation faster.
To sum up, a kind of progress control method provided in this embodiment, including:Judge whether the electronic equipment meets
The state change of predetermined condition obtains the first judging result;When first judging result shows that the electronic equipment occurs completely
During the state change of sufficient predetermined condition, based on the state change and preset correlation rule, determine that the electronic equipment is current
The value of the M application program in N number of application program of running background, the M and N are the integer more than 0;Terminate the M
The process of a application program.Using this method, can not increase when electronic equipment meets the state change of predetermined condition
In the case of adding user's operation, application process relevant in electronic equipment is terminated automatically, reduces the power consumption of electronic equipment.
Wherein, when the state change is closed for data communication function in the electronic equipment, closing communicates with the data
The relevant application of function.
Attached drawing 2 is please referred to, is a kind of flow chart of information processing method embodiment 2 provided by the invention, this method passes through
Following steps are realized:
Step S201:Obtain relevant first broadcast of the data communication function;
Wherein, it when the state change is closed for data communication function in the electronic equipment, then pair communicates with the data
Relevant first broadcast of function is obtained.
Specifically, it can be carried by carrying out screening and filtering to each broadcast transmitted in electronic equipment according in the broadcast
Relevant information determine that it is and the relevant broadcast of data communication function.
In specific implementation, the mark of its corresponding function is carried in each broadcast transmitted in electronic equipment, passes through the mark
Know and can determine its corresponding function.
Wherein, which can be network function, such as wifi (Wireless Fidelity) or data connection.
Step S202:First broadcast is analyzed, obtains the information carried in first broadcast;
Wherein, when getting first broadcast, which is analyzed, determines the information wherein carried, the letter
Breath includes:The information such as startup and stopping.
In specific implementation, when this first broadcasts as non-covered formula, i.e., for same target, the first broadcast of transmission is successively
Between have no effect, then information etc. at the time of further include the broadcast transmission in first broadcast;But when this first broadcasts as
Cover type, i.e., for same target, the first broadcast of sending time rearward can cover the first broadcast more early sent so that electricity
For object synchronization only there are one the first broadcast in sub- equipment, in this case, then need not carry broadcast transmission when
Information is carved, which is exactly newest.
Step S203:According to the information carried in the described first broadcast, it is pre- to determine whether the electronic equipment occurs to meet
The state change of fixed condition;
Wherein, which illustrates the current state of the electronic equipment, according to the information carried in first broadcast
It can determine whether the electronic equipment has occurred the state change for meeting predetermined condition.
Specifically, according to the information (starting or stoping) that carries in first broadcast can determine that current electronic device whether be
The state change of closing data communication function occurs.For example, when the information is starts, then it can determine that current electronic device is not sent out
The raw state change for closing data communication function when the information is stops, then can determine that current electronic device occurs to close number
According to the state change of communication function, it is determined that the electronic equipment meets the state change of predetermined condition.
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronics is determined
Equipment meets the state change of predetermined condition.
Step S204:When first judging result shows that the electronic equipment meets the state change of predetermined condition
When, based on the state change and preset correlation rule, determine the electronic equipment currently in the N number of using journey of running background
The value of M application program in sequence, the M and N are the integer more than 0;
Step S205:Terminate the process of the M application program.
Wherein, step S204-205 is consistent with the step S102-103 in embodiment 1, and the present embodiment does not repeat.
It should be noted that the M application program terminated be all with the relevant application program of the data communication function, such as
The various application programs using network are needed, including microblogging, QQ, wechat etc..
To sum up, in a kind of information processing method provided in the present embodiment, when the state change is data in electronic equipment
When communication function is closed, by the relevant with the data communication function first broadcast of transmission in electronic equipment, determining the data
Whether there is a situation where closing, and when judging to obtain the data communication function and close accordingly, execution is subsequent for communication function
Determine with several relevant application programs of the data communication function, and the step of close the application program.Using this method, energy
Enough when closing data communication function in the case where not increasing user's operation, to application process relevant in electronic equipment certainly
It is dynamic to terminate, reduce the power consumption of electronic equipment.
Attached drawing 3 is please referred to, is a kind of flow chart of information processing method embodiment 3 provided by the invention, this method passes through
Following steps are realized:
Step S301:Judge whether the electronic equipment meets the state change of predetermined condition, obtain first and judge
As a result;
Wherein, step S301 is consistent with the step S101 in embodiment 1, and the present embodiment does not repeat.
Step S302:Detect the second broadcast generated in each application program operational process in the electronic equipment;
Wherein, the application program in the electronic equipment generates the second broadcast in the process of running.
Wherein, this is transmitted in the electronic device using processes such as program-controlled opening and closing in the form of broadcast, so that
It is updated with this using relevant information.
Specifically, it is detected, and then can be rear by the second broadcast to being generated in the application program operational process
The process of the application program is obtained according to the information of second broadcast in continuous step.
Specifically, it can be carried by carrying out screening and filtering to each broadcast transmitted in electronic equipment according in the broadcast
Relevant information determine that it is the broadcast that application program generates in the process of running.
Step S303:Analysis obtains the second broadcast, obtains the application state information carried in the broadcast;
Wherein, the status information of its corresponding application program is carried, such as start or close in second broadcast, point
Analyse second broadcast, you can obtain the status information of the application program of its carrying.
Step S304:According to the application state information, the first application of electronic equipment current background operation is determined
Program groups;
Wherein, first set of applications includes N number of first application program.
Wherein, the application state information in second broadcast, to start or closing, it is known that the application program
Current operating status.
For example, when the application state information is starts, then the application program is operating status;When the application program
When status information is closes, which is halted state.The application program in operating status has formed the first application
Program groups.
Wherein, the operating parameter of application program can also be obtained, and can determines that this applies journey according to the operating parameter
Sequence is in background operation state.
In specific implementation, when this second broadcasts as non-covered formula, i.e., for same target, the second broadcast of transmission is successively
Between have no effect, then information etc. at the time of further include the broadcast transmission in second broadcast;But when this second broadcasts as
Cover type, i.e., for same target, the second broadcast of sending time rearward can cover the second broadcast more early sent so that electricity
For object synchronization only there are one the second broadcast in sub- equipment, in this case, then need not carry broadcast transmission when
Information is carved, which is exactly newest.
Step S305:Determine M application program in first set of applications;
Wherein, in the N number of application program run in the electronic equipment, some is to occur to meet in advance with the electronic equipment
The state change of fixed condition is relevant.
For example, there are a variety of application programs such as wechat, QQ, local text reading application when being run in electronic equipment, when the shape
When state variation is closes data communication function, then only the wechat and QQ are related to the data communication function, and the local text
Reading application is unrelated with the data communication function, need to only determine that the wechat and QQ apply journey for 2 in the first set of applications
Sequence.
Step S306:Terminate the process of the M application program.
Wherein, step S306 is consistent with the step S103 in embodiment 1, and the present embodiment does not repeat.
To sum up, in a kind of information processing method that the application provides, worked as by being detected to the broadcast in electronic equipment
First set of applications of running background in preceding electronic equipment, the set of applications include N number of first application program, Jin Ercong
It determines to change relevant M application program with the state of electronic equipment, and then perform subsequent pass in this N number of first application program
The step of closing the M application program.Using this method, the broadcast in electronic equipment determines current just answering in running background
With program, and then can be when electronic equipment meets the state change of predetermined condition, in the situation for not increasing user's operation
Under, it automatically determines relevant with the state change and in the application process of running background, and terminates the application program automatically, reduce
The power consumption of electronic equipment.
Attached drawing 4 is please referred to, is a kind of flow chart of information processing method embodiment 4 provided by the invention, this method passes through
Following steps are realized:
Step S401:Detect the remaining capacity of the electric device battery;
Wherein, according to preset detection mode, acquisition is detected to the remaining capacity of battery in electronic equipment, is somebody's turn to do
Such as the 20% of total electricity, other modes for representing electricity can also be used in the remaining capacity of battery.
Specifically, the remaining capacity of the battery of electronic equipment is determined according to the relevant parameter of battery, when the battery is provided with
When battery controls chip, the signal that can be directly exported according to the chip is determined, and certainly, other detection sides can also be used
Formula, the present embodiment are not limited.
Step S402:According to preset electricity correspondence, the corresponding first threshold of the first application program is determined;
Wherein, the different application in electronic equipment, consumption electricity are also not quite similar, such as the application of video playback class
Consumption electricity is more in the program unit time, and the power consumption of the application program of text reading class is then smaller.
Wherein, it is preset with an electricity correspondence, expression is between the corresponding power threshold of a certain application program
Correspondence, for example, the power threshold of video player be 20%, and the power threshold of text file reader can be 15%.
It should be noted that first application program is maximum for power consumption in currently running application program in electronic equipment
Application program, in specific implementation, can classify to several application programs run in electronic equipment, such as video playing
Class, audio broadcast message class, image broadcast message class and text broadcast message class etc. simultaneously determine power consumption range according to classification, to power consumption compared with major class
The power threshold of application program in not further compares, the highest application program of power threshold the first application program the most,
Corresponding power threshold is first threshold.
Certainly, the mode for obtaining first threshold can also be other modes, and the present embodiment is not limited.
The remaining capacity of battery is detected it should be noted that step S401 is first carried out in the present embodiment, then
The corresponding first threshold of the first application program that step S402 determines to run in electronic equipment is performed again, and sequencing is not limited to
This, in actual implementation two steps may be performed simultaneously can also first carry out step S402 determine run in electronic equipment first should
Then step S401 is performed again with the corresponding first threshold of program to be detected the remaining capacity of battery.
Step S403:Judge whether the remaining capacity is less than first threshold, generate the second judging result;
Wherein, according to the remaining capacity of the present battery obtained in step S401, judge whether the remaining capacity is less than and be somebody's turn to do
First threshold, and generate the second judging result.
Specifically, when second result is less than the first threshold for remaining capacity, then the electronic equipment occurs to meet predetermined
The state change of condition;Otherwise, which does not meet the state change of predetermined condition.
Step S404:According to second judging result, determine whether the electronic equipment meets predetermined condition
State change;
Wherein, second judging result is corresponding with the state change of electronic equipment, when second judging result is remaining electricity
When amount is less than the first threshold, determine that the electronic equipment meets the state change of predetermined condition;Otherwise, the electronic equipment is not
Meet the state change of predetermined condition.
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating becomes
Change.
In specific implementation, when the remaining capacity of battery is less than preset value (the 15% of such as total electricity) in electronic equipment, also may be used
Prompt message is sent out, can determine that the electric quantity for electronic equipment is relatively low according to the prompt message, is not suitable for this and continues to run with certain answer
With program, therefore, after the prompt message is received, directly determining electronic equipment meets the state change of predetermined condition.
Step S405:When first judging result shows that the electronic equipment meets the state change of predetermined condition
When, based on the state change and preset correlation rule, determine the electronic equipment currently in the N number of using journey of running background
The value of M application program in sequence, the M and N are the integer more than 0;
Step S406:Terminate the process of the M application program.
Wherein, step S405-406 is consistent with the step S102-103 in embodiment 1, and the present embodiment does not repeat.
It should be noted that in the present embodiment, first to the corresponding power threshold of the application program run in electronic equipment
It is determined, M application program in the N in the N number of application program for determining to be currently running then is performed again, in this implementation
In example, in the step of step S402 determines power threshold, each application being currently running in electronic equipment has directly been determined
Program then, in step S405, directly determines M in each application program (N number of) that can be currently running from the electronic equipment
Application program.
To sum up, in a kind of information processing method provided in this embodiment, it is first determined the currently running application of electronic equipment
Program determines corresponding first power threshold of application program, and to the residue of battery in electronic equipment according to electricity correspondence
Electricity is detected, then according to the remaining capacity compared with first power threshold, when the judging result is small for remaining capacity
When the first threshold, determine that the electronic equipment meets the state change of predetermined condition, so perform it is subsequent determine with
The step of state of electronic equipment changes relevant M application program and closes the M application program.Using this method, energy
It enough determines whether electronic equipment meets the state change of predetermined condition by the remaining capacity of electric device battery, increases not
It in the case of adding user's operation, automatically determines relevant with the state change and in the application process of running background, and ties automatically
The beam application program reduces the power consumption of electronic equipment.
Attached drawing 5 is please referred to, is a kind of flow chart of information processing method embodiment 5 provided by the invention, this method passes through
Following steps are realized:
Step S501:Judge whether the electronic equipment meets the state change of predetermined condition, obtain first and judge
As a result;
Wherein, step S501 is consistent with the step S101 in embodiment 1, and the present embodiment does not repeat.
Step S502:The electronic equipment, which meets the state change of preset condition, to be represented to judging result when described
When, it is searched from preset linked list and relevant second set of applications of the state change, second application program
At least one second application program is included in group;
Wherein, preset linked list, the linked list be represent state of electronic equipment variation and with the state change phase
The application program of pass, the application program form the second set of applications, which includes multiple second applications
Program.
Wherein, when first judging result represents that electronic equipment meets the state change of preset condition, according to this
State change searches the second set of applications of corresponding at least one second application program composition from the linked list.
Step S503:By electronic equipment currently in the first application program of running background and the second application program ratio
It is right, generate matching result;
Wherein it is determined that electronic equipment currently wraps in the first set of applications of running background, first set of applications
Containing N number of application program.
Specifically, first application program is compared with the second application matches, matching result is generated.
Wherein, when first application program and the second application program are same program, then first application program and the
Two application matches;Otherwise, the two mismatches.
For example, current electronic device includes in the first application program of running background:Wechat, QQ, text file reader;The electricity
For the state change of sub- equipment to be wechat and QQ with relevant second application program of the state change when exiting wifi, comparing should
First application program and the second application program, obtain matching result, and the wechat and QQ in the first application program respectively should with second
It is matched with the wechat in program and QQ, and any one of text file reader and the second application program in first application program
It all mismatches, at this point, obtaining spectrum results.
In specific implementation, the first application program and the second application program can be compared by the mark of application program.
Wherein, the first application program is compared respectively with the second application program in the second set of applications successively,
Obtain comparison result.
Step S504:When the matching result represents first application program with the second application matches, determine
First application is the relevant third application program of state change with the electronic equipment;
Wherein, the number of the third application program is M.
Wherein, when first application program and second application matches, first application program and the second application
Program is same program, and it is to change relevant answer with state of electronic equipment to determine the first application program being currently running at this time
Use program.
Specifically, each matching result successively, determines third application program, the number for finally obtaining third application program is
M.
Step S505:Terminate the process of the M application program.
Wherein, step S505 is consistent with the step S103 in embodiment 1, and the present embodiment does not repeat.
To sum up, it in a kind of information processing method provided in this embodiment, is searched and current electricity according to preset linked list
Sub- equipment state changes relevant second application program, then applies journey according to determining electronic equipment currently running first
Sequence, judges whether first application program matches with the second application program any in second set of applications, when the two matches
When, then currently running first application program is related to the state change of the electronic equipment in the electronic equipment, and being denoted as third should
With program, the third application program finally obtained is M, then performs subsequent the step of terminating this M program process.
Using this method, can be automatically determined when electronic equipment meets the state change of predetermined condition according to the state change
Its corresponding application program, and the process of the application program is closed, in the case where not increasing user's operation, in electronic equipment
Relevant application process terminates automatically, reduces the power consumption of electronic equipment.
Information processing method is described in detail in the embodiment that the invention described above provides, for the information processing side of the present invention
The information processing unit that diversified forms can be used in method is realized, therefore the present invention also provides a kind of information processing unit, give below
Go out specific embodiment to be described in detail.
Attached drawing 6 is please referred to, for a kind of structure diagram of information processing unit embodiment 1 provided by the invention, the device
Applied to an electronic equipment, wherein, which can be specifically desktop computer, notebook, tablet computer, mobile phone, intelligence electricity
It, can running background application program in the electronic equipment depending on, electronic equipments such as smartwatch, Wearable.
The device is specifically included with lower structure:Judgment module 601, determining module 602 and terminate module 603;
Wherein, judgment module 601, for judging whether the electronic equipment meets the state change of predetermined condition,
Obtain the first judging result;
Wherein, which refers to that electronic equipment operating status etc. is various with the relevant variation of state, when the state is sent out
During changing, need to switch over the operating status of some applications in electronic equipment.
Wherein, which can be that some specific functions are closed, and such as refer to data communication function and close;Either electricity
Situations such as reducing to a certain extent, because when electricity is relatively low, to ensure the safety of electronic equipment, some of which power consumption is larger
Application be not suitable for running, need out of service.
Therefore, first determine whether module 601 judge the electronic equipment whether the generation state change, and generate first and judge
As a result, in case of if, determining module 602 is triggered, otherwise continues to run with, does not do any interventional operations.
Wherein it is determined that module 602, shows that the electronic equipment meets predetermined item for working as first judging result
During the state change of part, based on the state change and preset correlation rule, determine that the electronic equipment is currently transported on backstage
The value of M application program in capable N number of application program, the M and N are the integer more than 0;
Wherein, it is that current background is transported in electronic equipment when the electronic equipment meets the state change of predetermined condition
Capable certain specific application programs carry out end processing.
Specifically, when the state change refers to that data communication function is closed, answered for the data communication function is relevant
End processing is carried out with program;Situations such as either electricity is reduced to a certain extent, because when electricity is relatively low, to ensure electronics
The safety of equipment, the larger application of some of which power consumption (application such as with camera function) are not suitable for operation, need to stop
Only run.
Specifically, determining module 602 is determined in the electronic equipment currently in N number of application program of running background, then, according to
State change and preset correlation rule according to the electronic equipment, determining module 602 determine in N number of application program of the operation
M application program.
Wherein, which is associated with the state change of the electronic equipment, when the electronic equipment occurs completely
During the state change of sufficient predetermined condition, the operating status of this M application also changes therewith.
It should be noted that it can determine electronic equipment currently in N number of application of running background this in the subsequent embodiment
The process of M application program in program is explained in detail, and the present embodiment is not detailed.
Wherein, terminate module 603, for terminating the process of the M application program.
Wherein, after determining module 602 determines M application program relevant with the state change of the electronic equipment, it is
Ensure the power consumption of electronic equipment, terminate module 603 terminates the process of the M application program.
Specifically, by the way of journey is entered, terminate the process of the M application program, so that the electronic equipment is with being somebody's turn to do
The associated application program of state change is automatically closed, and in the case where not increasing user's operation, reduces the work(of electronic equipment
Consumption, while better user experience.Meanwhile a part of application program is closed, the central controller of electronic equipment reduces at data
Reason amount ensures the speed of service of other applications of remaining operation faster.
To sum up, a kind of information processing unit provided in this embodiment, including:Whether judgment module judges the electronic equipment
Meet the state change of predetermined condition, obtain the first judging result;When first judging result shows that the electronics is set
When preparation life meets the state change of predetermined condition, determining module is based on the state change and preset correlation rule, determines
The value of the current M application program in N number of application program of running background of the electronic equipment, the M and N are more than 0
Integer;Terminate module terminates the process of the M application program.Using the device, can occur to meet in electronic equipment pre-
During the state change of fixed condition, in the case where not increasing user's operation, application process relevant in electronic equipment is tied automatically
Beam reduces the power consumption of electronic equipment.
Wherein, when the state change is closed for data communication function in the electronic equipment, closing communicates with the data
The relevant application of function.
Attached drawing 7 is please referred to, for a kind of structure diagram of information processing unit embodiment 2 provided by the invention, the device
Including with lower structure:Judgment module 701, determining module 702 and terminate module 703;
Wherein, judgment module 701 includes:Acquiring unit 704, the first analytic unit 705, the first determination unit 706.
Wherein, the determining module 702 and terminate module 703 are consistent with the corresponding construction function in embodiment 1, the present embodiment
It repeats no more.
Wherein, acquiring unit 704, for obtaining relevant first broadcast of the data communication function;
Wherein, when the state change is closed for data communication function in the electronic equipment, then 704 pairs of acquiring unit with
Relevant first broadcast of the data communication function is obtained.
Specifically, it can be carried by carrying out screening and filtering to each broadcast transmitted in electronic equipment according in the broadcast
Relevant information determine that it is and the relevant broadcast of data communication function.
In specific implementation, the mark of its corresponding function is carried in each broadcast transmitted in electronic equipment, passes through the mark
Know and can determine its corresponding function.
Wherein, which can be network function, such as wifi or data connection.
Wherein, the first analytic unit 705 for analyzing first broadcast, obtains the letter carried in first broadcast
Breath;
Wherein, when getting first broadcast, the first analytic unit 705 analyzes first broadcast, determines wherein
The information of carrying, the information include:The information such as startup and stopping.
In specific implementation, when this first broadcasts as non-covered formula, i.e., for same target, the first broadcast of transmission is successively
Between have no effect, then information etc. at the time of further include the broadcast transmission in first broadcast;But when this first broadcasts as
Cover type, i.e., for same target, the first broadcast of sending time rearward can cover the first broadcast more early sent so that electricity
For object synchronization only there are one the first broadcast in sub- equipment, in this case, then need not carry broadcast transmission when
Information is carved, which is exactly newest.
Wherein, the first determination unit 706, for according to the information carried in the described first broadcast, determining that the electronics is set
The standby state change for whether meeting predetermined condition;
Wherein, which illustrates the current state of the electronic equipment, and the first determination unit 706 is first wide according to this
The information for broadcasting middle carrying can determine whether the electronic equipment has occurred the state change for meeting predetermined condition.
Specifically, according to the information (starting or stoping) that carries in first broadcast can determine that current electronic device whether be
The state change of closing data communication function occurs.For example, when the information is starts, then it can determine that current electronic device is not sent out
The raw state change for closing data communication function when the information is stops, then can determine that current electronic device occurs to close number
According to the state change of communication function, it is determined that the electronic equipment meets the state change of predetermined condition.
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronics is determined
Equipment meets the state change of predetermined condition.
It should be noted that terminate module 703 terminate M application program be all with the data communication function it is relevant answer
With program, if desired for the various application programs for using network, including microblogging, QQ, wechat etc..
To sum up, in a kind of information processing unit provided in the present embodiment, when the state change is data in electronic equipment
When communication function is closed, by the relevant with the data communication function first broadcast of transmission in electronic equipment, determining the data
Whether there is a situation where closing, and when judging to obtain the data communication function and close accordingly, execution is subsequent for communication function
Determine with several relevant application programs of the data communication function, and the step of close the application program.Using the device, energy
Enough when closing data communication function in the case where not increasing user's operation, to application process relevant in electronic equipment certainly
It is dynamic to terminate, reduce the power consumption of electronic equipment.
Attached drawing 8 is please referred to, for a kind of structure diagram of information processing unit embodiment 3 provided by the invention, the device
Including with lower structure:Judgment module 801, determining module 802 and terminate module 803;
Wherein it is determined that module 802 includes:First detection unit 804, the second analytic unit 805, the second determination unit 806,
Third determination unit 807.
Wherein, the judgment module 801 and terminate module 803 are consistent with the corresponding construction function in embodiment 1, the present embodiment
It repeats no more.
Wherein, first detection unit 804 generate for detecting in the electronic equipment in each application program operational process
Second broadcast;
Wherein, the application program in the electronic equipment generates the second broadcast in the process of running.
Wherein, this is transmitted in the electronic device using processes such as program-controlled opening and closing in the form of broadcast, so that
It is updated with this using relevant information.
Specifically, it is detected, and then can be rear by the second broadcast to being generated in the application program operational process
The process of the application program is obtained according to the information of second broadcast in continuous step.
Specifically, first detection unit 804 can be by carrying out screening and filtering, root to each broadcast transmitted in electronic equipment
The broadcast that application program generates in the process of running is determined that it is according to the relevant information carried in the broadcast.
Wherein, the second analytic unit 805 obtains the second broadcast for analyzing, obtains the application journey carried in the broadcast
Sequence status information;
Wherein, the status information of its corresponding application program is carried, such as start or close in second broadcast, the
Two analytic units 805 analysis, second broadcast, you can obtain the status information of the application program of its carrying.
Wherein, the second determination unit 806, for according to the application state information, determining electronic equipment when front and rear
First set of applications of platform operation, first set of applications include N number of first application program;
Wherein, first set of applications includes N number of first application program.
Wherein, application state information of second determination unit 806 in second broadcast, to start or closing
It closes, it is known that the current operating status of the application program.
For example, when the application state information is starts, then the application program is operating status;When the application program
When status information is closes, which is halted state.The application program in operating status has formed the first application
Program groups.
Wherein, the operating parameter of application program can also be obtained, and can determines that this applies journey according to the operating parameter
Sequence is in background operation state.
In specific implementation, when this second broadcasts as non-covered formula, i.e., for same target, the second broadcast of transmission is successively
Between have no effect, then information etc. at the time of further include the broadcast transmission in second broadcast;But when this second broadcasts as
Cover type, i.e., for same target, the second broadcast of sending time rearward can cover the second broadcast more early sent so that electricity
For object synchronization only there are one the second broadcast in sub- equipment, in this case, then need not carry broadcast transmission when
Information is carved, which is exactly newest.
Wherein, third determination unit 807, for determining M application program in first set of applications;
Wherein, in the N number of application program run in the electronic equipment, some is to occur to meet in advance with the electronic equipment
The state change of fixed condition is relevant.
For example, there are a variety of application programs such as wechat, QQ, local text reading application when being run in electronic equipment, when the shape
When state variation is closes data communication function, then only the wechat and QQ are related to the data communication function, and the local text
Reading application is unrelated with the data communication function, need to only determine that the wechat and QQ apply journey for 2 in the first set of applications
Sequence.
To sum up, in a kind of information processing unit that the application provides, worked as by being detected to the broadcast in electronic equipment
First set of applications of running background in preceding electronic equipment, the set of applications include N number of first application program, Jin Ercong
It determines to change relevant M application program with the state of electronic equipment, and then perform subsequent pass in this N number of first application program
The step of closing the M application program.Using the device, the broadcast in electronic equipment determines current just answering in running background
With program, and then can be when electronic equipment meets the state change of predetermined condition, in the situation for not increasing user's operation
Under, it automatically determines relevant with the state change and in the application process of running background, and terminates the application program automatically, reduce
The power consumption of electronic equipment.
Attached drawing 9 is please referred to, for a kind of structure diagram of information processing unit embodiment 4 provided by the invention, the device
Including with lower structure:Judgment module 901, determining module 902 and terminate module 903;
Wherein, judgment module 901 includes:Second detection unit 904, the 4th determination unit 905, the first judging unit 906,
5th determination unit 907.
Wherein, the determining module 902 and terminate module 903 are consistent with the corresponding construction function in embodiment 1, the present embodiment
It repeats no more.
Wherein, second detection unit 904, for detecting the remaining capacity of the electric device battery;
Wherein, second detection unit 904 carries out the remaining capacity of battery in electronic equipment according to preset detection mode
Detection obtains, and obtains the remaining capacity of the battery, and such as the 20% of total electricity, other modes for representing electricity can also be used.
Specifically, the remaining capacity of the battery of electronic equipment is determined according to the relevant parameter of battery, when the battery is provided with
When battery controls chip, the signal that can be directly exported according to the chip is determined, and certainly, other detection sides can also be used
Formula, the present embodiment are not limited.
Wherein, the 4th determination unit 905, for according to preset electricity correspondence, determining that the first application program corresponds to
First threshold;
Wherein, the different application in electronic equipment, consumption electricity are also not quite similar, such as the application of video playback class
Consumption electricity is more in the program unit time, and the power consumption of the application program of text reading class is then smaller.
Wherein, it is preset with an electricity correspondence, expression is between the corresponding power threshold of a certain application program
Correspondence, for example, the power threshold of video player be 20%, and the power threshold of text file reader can be 15%.
It should be noted that first application program is maximum for power consumption in currently running application program in electronic equipment
Application program, in specific implementation, can classify to several application programs run in electronic equipment, such as video playing
Class, audio broadcast message class, image broadcast message class and text broadcast message class etc. simultaneously determine power consumption range according to classification, to power consumption compared with major class
The power threshold of application program in not further compares, the highest application program of power threshold the first application program the most,
Corresponding power threshold is first threshold.
Certainly, the mode for obtaining first threshold can also be other modes, and the present embodiment is not limited.
It should be noted that second detection unit execution first is detected the remaining capacity of battery in the present embodiment,
Then the 4th determination unit performs the corresponding first threshold of the first application program for determining to be run in electronic equipment, sequencing again
Be not limited to this, in actual implementation two steps may be performed simultaneously also can first 4th determination unit perform and determine in electronic equipment
The remaining capacity of battery is examined in the corresponding first threshold of the first application program of operation and then again second detection unit execution
It surveys.
Wherein, the first judging unit 906, for judging whether the remaining capacity is less than first threshold, generation second is sentenced
Disconnected result;
Wherein, according to the remaining capacity of the present battery obtained in step S401, judge whether the remaining capacity is less than and be somebody's turn to do
First threshold, and generate the second judging result.
Specifically, when second result is less than the first threshold for remaining capacity, then the electronic equipment occurs to meet predetermined
The state change of condition;Otherwise, which does not meet the state change of predetermined condition.
Wherein, the 5th determination unit 907, for according to second judging result, determining whether the electronic equipment is sent out
The raw state change for meeting predetermined condition;
Wherein, second judging result is corresponding with the state change of electronic equipment, when second judging result is remaining electricity
When amount is less than the first threshold, determine that the electronic equipment meets the state change of predetermined condition;Otherwise, the electronic equipment is not
Meet the state change of predetermined condition.
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating becomes
Change.
In specific implementation, when the remaining capacity of battery is less than preset value (the 15% of such as total electricity) in electronic equipment, also may be used
Prompt message is sent out, can determine that the electric quantity for electronic equipment is relatively low according to the prompt message, is not suitable for this and continues to run with certain answer
With program, therefore, after the prompt message is received, directly determining electronic equipment meets the state change of predetermined condition.
It should be noted that in the present embodiment, first to the corresponding power threshold of the application program run in electronic equipment
It is determined, M application program in the N in the N number of application program for determining to be currently running then is performed again, in this implementation
Example in, during the 4th determination unit determines power threshold, directly determined be currently running in electronic equipment it is each
Application program, then, in the determining module, in each application program (N number of) that can be currently running from the electronic equipment directly really
Determine M application program.
To sum up, in a kind of information processing unit provided in this embodiment, it is first determined the currently running application of electronic equipment
Program determines corresponding first power threshold of application program, and to the residue of battery in electronic equipment according to electricity correspondence
Electricity is detected, then according to the remaining capacity compared with first power threshold, when the judging result is small for remaining capacity
When the first threshold, determine that the electronic equipment meets the state change of predetermined condition, so perform it is subsequent determine with
The step of state of electronic equipment changes relevant M application program and closes the M application program.Using the device, energy
It enough determines whether electronic equipment meets the state change of predetermined condition by the remaining capacity of electric device battery, increases not
It in the case of adding user's operation, automatically determines relevant with the state change and in the application process of running background, and ties automatically
The beam application program reduces the power consumption of electronic equipment.
Attached drawing 10 is please referred to, for a kind of structure diagram of information processing unit embodiment 5 provided by the invention, the device
Including with lower structure:Judgment module 1001, determining module 1002 and terminate module 1003;
Wherein, judgment module 1001 includes:Searching unit 1004, matching unit 1005, the 6th determination unit 1006.
Wherein, the determining module 1002 and terminate module 1003 are consistent with the corresponding construction function in embodiment 1, this implementation
Example repeats no more.
Wherein, searching unit 1004, for being searched and the state change relevant second from preset linked list
Set of applications includes at least one second application program in second set of applications;
Wherein, preset linked list, the linked list be represent state of electronic equipment variation and with the state change phase
The application program of pass, the application program form the second set of applications, which includes multiple second applications
Program.
Wherein, it when first judging result represents that electronic equipment meets the state change of preset condition, searches single
For member 1004 according to the state change, second that corresponding at least one second application program composition is searched from the linked list should
Use program groups.
Wherein, matching unit 1005, for by electronic equipment currently in the first application program of running background and described the
Two application programs compare, and generate matching result;
First, matching unit 1005 determines electronic equipment currently in the first set of applications of running background, this first should
With in program groups include N number of application program.
Specifically, matching unit 1005 compares first application program with the second application matches, generation matching knot
Fruit.
Wherein, when first application program and the second application program are same program, then first application program and the
Two application matches;Otherwise, the two mismatches.
For example, current electronic device includes in the first application program of running background:Wechat, QQ, text file reader;The electricity
For the state change of sub- equipment to be wechat and QQ with relevant second application program of the state change when exiting wifi, comparing should
First application program and the second application program, obtain matching result, and the wechat and QQ in the first application program respectively should with second
It is matched with the wechat in program and QQ, and any one of text file reader and the second application program in first application program
It all mismatches, at this point, obtaining spectrum results.
In specific implementation, the first application program and the second application program can be compared by the mark of application program.
Wherein, the first application program is compared respectively with the second application program in the second set of applications successively,
Obtain comparison result.
Wherein, the 6th determination unit 1006 represents that first application program should with second for working as the matching result
During with procedure match, it is the relevant third application program of state change with the electronic equipment, institute to determine first application
The number for stating third application program is M.
Wherein, when first application program and second application matches, first application program and the second application
Program is same program, and the first application program that the 6th determination unit 1006 determines to be currently running at this time is and electronic equipment
The relevant application program of state change.
Specifically, each matching result successively, determines third application program, the number for finally obtaining third application program is
M.
To sum up, it in a kind of information processing unit provided in this embodiment, is searched and current electricity according to preset linked list
Sub- equipment state changes relevant second application program, then applies journey according to determining electronic equipment currently running first
Sequence, judges whether first application program matches with the second application program any in second set of applications, when the two matches
When, then currently running first application program is related to the state change of the electronic equipment in the electronic equipment, and being denoted as third should
With program, the third application program finally obtained is M, then performs subsequent the step of terminating this M program process.
Using the device, can be automatically determined when electronic equipment meets the state change of predetermined condition according to the state change
Its corresponding application program, and the process of the application program is closed, in the case where not increasing user's operation, in electronic equipment
Relevant application process terminates automatically, reduces the power consumption of electronic equipment.
A kind of information processing unit embodiment provided with above-mentioned the application is correspondingly, present invention also provides a kind of electronics
Equipment, the electronic equipment have the information processing unit as described in above-mentioned any embodiment.
Wherein, which includes:Judgment module, determining module and terminate module, the information processing unit
The function of all modules is consistent with the function of corresponding construction in a kind of above-mentioned information processing unit embodiment, the present embodiment
In repeat no more.
Preferably, when the state change is closed for data communication function in the electronic equipment, the judgment module
Including:Acquiring unit, the first analytic unit and the first determination unit, the function of all modules of the information processing unit with
The function of corresponding construction is consistent in a kind of above-mentioned information processing unit embodiment, is repeated no more in the present embodiment.
Preferably, the determining module includes:First detection unit, the second analytic unit, the second determination unit and third
Determination unit, the function of all modules of the information processing unit and phase in a kind of above-mentioned information processing unit embodiment
The function of answering structure is consistent, is repeated no more in the present embodiment.
Preferably, the judgment module includes:Second detection unit, the 4th determination unit, the first judging unit and the 5th
Determination unit, the function of all modules of the information processing unit and phase in a kind of above-mentioned information processing unit embodiment
The function of answering structure is consistent, is repeated no more in the present embodiment.
Preferably, the judgment module includes:Searching unit, matching unit and the 6th determination unit, the information processing apparatus
The function for all modules put is consistent with the function of corresponding construction in a kind of above-mentioned information processing unit embodiment, this reality
It applies in example and repeats no more.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.The device provided for embodiment
For, since it is corresponding with the method that embodiment provides, so description is fairly simple, related part is said referring to method part
It is bright.
Above description to the embodiment provided, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is 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 principle provided in this article and features of novelty phase one
The most wide range caused.
Claims (11)
1. a kind of information processing method, which is characterized in that applied to an electronic equipment, the method includes:
Judge whether the electronic equipment meets the state change of predetermined condition, obtain the first judging result, the state
Variation refer to the relevant variation of electronic equipment operating status, the electronic equipment operating status include data communication function or
Electricity;
When first judging result shows that the electronic equipment meets the state change of predetermined condition, based on the shape
State changes and preset correlation rule, determines M application of the electronic equipment currently in N number of application program of running background
The value of program, the M and N are the integer more than 0;
Terminate the process of the M application program.
2. according to the method described in claim 1, it is characterized in that, when the state change is led to for data in the electronic equipment
It is described to judge whether the electronic equipment meets the state change of predetermined condition and include when telecommunication function is closed:
Obtain relevant first broadcast of the data communication function;
First broadcast is analyzed, obtains the information carried in first broadcast;
According to the information carried in the described first broadcast, determine whether the electronic equipment meets the state change of predetermined condition
Change;
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronic equipment is determined
Meet the state change of predetermined condition.
3. according to the method described in claim 1, it is characterized in that, based on the state change and preset correlation rule, really
The fixed electronic equipment currently includes in N number of application program of running background:
Detect the second broadcast generated in each application program operational process in the electronic equipment;
Analysis obtains the second broadcast, obtains the application state information carried in the broadcast;
According to the application state information, the first set of applications of electronic equipment current background operation is determined, described the
One set of applications includes N number of first application program.
4. according to the method described in claim 1, it is characterized in that, described judge whether the electronic equipment occurs satisfaction and make a reservation for
The state change of condition includes:
Detect the remaining capacity of the electric device battery;
According to preset electricity correspondence, the corresponding first threshold of the first application program is determined;
Judge whether the remaining capacity is less than first threshold, generate the second judging result;
According to second judging result, determine whether the electronic equipment meets the state change of predetermined condition;
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating changes.
5. according to the method described in claim 1, it is characterized in that, based on the state change and preset correlation rule, really
M application program in N number of application program of the fixed electronic equipment current background operation includes:
It is searched from preset linked list and relevant second set of applications of the state change, second application program
At least one second application program is included in group;
Electronic equipment is currently compared in the first application program of running background and second application program, generation matching knot
Fruit;
When the matching result represents first application program with the second application matches, determine that first application is
With the relevant third application program of state change of the electronic equipment, the number of the third application program is M.
6. a kind of information processing unit, which is characterized in that described device is applied to an electronic equipment, which includes:
Judgment module for judging whether the electronic equipment meets the state change of predetermined condition, obtains first and judges
As a result, the state change refers to include number with the relevant variation of electronic equipment operating status, the electronic equipment operating status
According to communication function or electricity;
Determining module shows that the electronic equipment meets the state change of predetermined condition for working as first judging result
When, based on the state change and preset correlation rule, determine the electronic equipment currently in the N number of using journey of running background
The value of M application program in sequence, the M and N are the integer more than 0;
Terminate module, for terminating the process of the M application program.
7. device according to claim 6, which is characterized in that when the state change is led to for data in the electronic equipment
When telecommunication function is closed, the judgment module includes:
Acquiring unit, for obtaining relevant first broadcast of the data communication function;
First analytic unit for analyzing first broadcast, obtains the information carried in first broadcast;
First determination unit, for according to the information carried in the described first broadcast, it is full to determine whether the electronic equipment occurs
The state change of sufficient predetermined condition;
Wherein, when the information carried in the described first broadcast is closes the data communication function, the electronic equipment is determined
Meet the state change of predetermined condition.
8. device according to claim 6, which is characterized in that the determining module includes:
First detection unit, for detecting the generated in each application program operational process in the electronic equipment second broadcast;
Second analytic unit obtains the second broadcast for analyzing, obtains the application state information carried in the broadcast;
Second determination unit, for according to the application state information, determining the first of the operation of electronic equipment current background
Set of applications, first set of applications include N number of first application program;
Third determination unit, for determining M application program in first set of applications.
9. device according to claim 6, which is characterized in that the judgment module includes:
Second detection unit, for detecting the remaining capacity of the electric device battery;
4th determination unit, for according to preset electricity correspondence, determining the corresponding first threshold of the first application program;
First judging unit for judging whether the remaining capacity is less than first threshold, generates the second judging result;
5th determination unit, for according to second judging result, determining whether the electronic equipment meets predetermined item
The state change of part;
Wherein, when it is described state remaining capacity less than the first threshold when, the electronic equipment operating status of stating changes.
10. device according to claim 6, which is characterized in that the judgment module includes:
Searching unit, for being searched from preset linked list and relevant second set of applications of the state change, institute
It states and at least one second application program is included in the second set of applications;
Matching unit, for by electronic equipment currently in the first application program of running background and the second application program ratio
It is right, generate matching result;
6th determination unit, for when the matching result represents first application program with the second application matches,
It is the relevant third application program of state change with the electronic equipment, the third application program to determine first application
Number be M.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes such as claim 6-10 any one of them information
Processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410491925.0A CN104268009B (en) | 2014-09-24 | 2014-09-24 | A kind of progress control method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410491925.0A CN104268009B (en) | 2014-09-24 | 2014-09-24 | A kind of progress control method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104268009A CN104268009A (en) | 2015-01-07 |
CN104268009B true CN104268009B (en) | 2018-07-06 |
Family
ID=52159533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410491925.0A Active CN104268009B (en) | 2014-09-24 | 2014-09-24 | A kind of progress control method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104268009B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023015945A1 (en) * | 2021-08-11 | 2023-02-16 | 荣耀终端有限公司 | System power consumption control method and electronic device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106951057B (en) * | 2017-03-23 | 2020-05-01 | Oppo广东移动通信有限公司 | Application control method and mobile terminal |
CN107454663A (en) * | 2017-07-27 | 2017-12-08 | 广东小天才科技有限公司 | Power-saving method, device, equipment and storage medium |
CN110069328B (en) * | 2019-03-25 | 2021-11-09 | 维沃移动通信有限公司 | Application closing method and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN102946486A (en) * | 2012-11-20 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Background application automatic clearing method based on mobile phone and mobile phone |
CN103294528A (en) * | 2012-03-01 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and process control method |
CN103365669A (en) * | 2012-03-26 | 2013-10-23 | 联想(北京)有限公司 | Application function control method and electronic terminal |
CN103544055A (en) * | 2013-10-22 | 2014-01-29 | 深圳Tcl新技术有限公司 | Method for collecting resource demand data, and method and system for stably running application programs |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7213054B2 (en) * | 1999-12-15 | 2007-05-01 | Microsoft Corporation | Methods and apparatuses for handling single-user applications in multi-user computing environments |
-
2014
- 2014-09-24 CN CN201410491925.0A patent/CN104268009B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN103294528A (en) * | 2012-03-01 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and process control method |
CN103365669A (en) * | 2012-03-26 | 2013-10-23 | 联想(北京)有限公司 | Application function control method and electronic terminal |
CN102946486A (en) * | 2012-11-20 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Background application automatic clearing method based on mobile phone and mobile phone |
CN103544055A (en) * | 2013-10-22 | 2014-01-29 | 深圳Tcl新技术有限公司 | Method for collecting resource demand data, and method and system for stably running application programs |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023015945A1 (en) * | 2021-08-11 | 2023-02-16 | 荣耀终端有限公司 | System power consumption control method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN104268009A (en) | 2015-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105549858B (en) | A kind of display methods and user terminal | |
CN104268009B (en) | A kind of progress control method, device and electronic equipment | |
WO2015127825A1 (en) | Expression input method and apparatus and electronic device | |
CN108900856B (en) | Video frame rate prediction method, device and equipment | |
CN107077181A (en) | A kind of charging current limiter method, device and electronic equipment | |
CN103941871B (en) | The method and apparatus for controlling the hardware running status of intelligent terminal | |
US20080027984A1 (en) | Method and system for multi-dimensional action capture | |
CN108958629B (en) | Split screen quitting method and device, storage medium and electronic equipment | |
CN112566152B (en) | Method for Katon prediction, method for data processing and related device | |
WO2019132564A1 (en) | Method and system for classifying time-series data | |
CN108600680A (en) | Method for processing video frequency, terminal and computer readable storage medium | |
CN113660700A (en) | Information sending method, resource processing method, device and electronic equipment | |
CN115810356A (en) | Voice control method, device, storage medium and electronic equipment | |
CN104881228B (en) | Learning time detection method, device and system | |
CN109065017B (en) | Voice data generation method and related device | |
CN110536389A (en) | A kind of method, apparatus and terminal device reducing terminal device power consumption | |
CN110418004A (en) | Screenshot processing method, terminal and computer readable storage medium | |
CN105407445B (en) | A kind of connection method and the first electronic equipment | |
CN106254669A (en) | Data traffic based reminding method and device | |
CN110475369A (en) | A kind of business scheduling method, terminal and the network equipment | |
CN109951504B (en) | Information pushing method and device, terminal and storage medium | |
KR101971720B1 (en) | Method for protection of message, apparatus and system for the same | |
CN112422370B (en) | Method and device for determining voice call quality | |
CN110245295A (en) | A kind of face identification method for information recommendation, apparatus and system | |
CN108520257A (en) | Information processing method, device, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |