CN105824395B - A kind of information processing method and device, electronic equipment - Google Patents

A kind of information processing method and device, electronic equipment Download PDF

Info

Publication number
CN105824395B
CN105824395B CN201610144656.XA CN201610144656A CN105824395B CN 105824395 B CN105824395 B CN 105824395B CN 201610144656 A CN201610144656 A CN 201610144656A CN 105824395 B CN105824395 B CN 105824395B
Authority
CN
China
Prior art keywords
application program
information
account information
electronic equipment
account
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
Application number
CN201610144656.XA
Other languages
Chinese (zh)
Other versions
CN105824395A (en
Inventor
刘俊峰
张钦波
陈亨
翟富强
王亮亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610144656.XA priority Critical patent/CN105824395B/en
Publication of CN105824395A publication Critical patent/CN105824395A/en
Application granted granted Critical
Publication of CN105824395B publication Critical patent/CN105824395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of information processing method and devices, electronic equipment, wherein the described method includes: obtaining the triggering command for reducing powder consumption of electronic equipment;The triggering command is responded, N number of application program in M application program of operating status is currently at for the electronic equipment based on predetermined reducing power consumption strategy and carries out reducing power consumption processing, M and N are more than or equal to 1 integer, M >=N;Wherein, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state.

Description

A kind of information processing method and device, electronic equipment
Technical field
The present invention relates to electronic technology more particularly to a kind of information processing methods and device, electronic equipment.
Background technique
Present weaker one of Android (Android) system battery cruising ability the reason is that background application is especially more, and And the developer of application (APP) applies the technology of each self-starting in order to obtain higher activity ratio.The starting of background application With the resident consumption that will lead to electricity in backstage, how automatically to terminate background application and the experience for not influencing user becomes one A more difficult project.The management that present android system does not classify to background application, be only found Out of Memory when Wait, unified recycle, it can be seen that, existing android system it is not smart enough.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method to solve problems of the prior art And device, electronic equipment, it can be improved memory usage and have the effect of economize on electricity, and then promote user experience.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of information processing method, which comprises
Obtain the triggering command for reducing powder consumption of electronic equipment;
The triggering command is responded, operating status is currently at for the electronic equipment based on predetermined reducing power consumption strategy N number of application program in M application program carries out reducing power consumption processing, and M and N are more than or equal to 1 integer, M >=N;
Wherein, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state.
Second aspect, the embodiment of the present invention provide a kind of information processing unit, the method includes first obtains unit and Processing unit, in which:
The first obtains unit, for obtaining the triggering command for reducing powder consumption of electronic equipment;
The processing unit is directed to the electronic equipment based on predetermined reducing power consumption strategy for responding the triggering command It is whole more than or equal to 1 that the N number of application program being currently in M application program of operating status carries out reducing power consumption processing, M and N Number, M >=N;
Wherein, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including power module and processor, in which:
The power module, for powering for the processor, so as to described M normal operation;
The processor, for obtaining the triggering command for reducing powder consumption of electronic equipment;The triggering command is responded, based on pre- Determine N number of application program that reducing power consumption strategy is currently in M application program of operating status for the electronic equipment to carry out Reducing power consumption processing, M and N are more than or equal to 1 integer, M >=N;Wherein, the predetermined reducing power consumption strategy is to kill account information and place In the application program of unactivated state.
The embodiment of the present invention provides a kind of information processing method and device, electronic equipment, in which: obtaining reduces electronic equipment The triggering command of power consumption;The triggering command is responded, fortune is currently at for the electronic equipment based on predetermined reducing power consumption strategy N number of application program in M application program of row state carries out reducing power consumption processing, and M and N are more than or equal to 1 integer, M >=N;Its In, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state;It so, it is possible to reduce electricity The power consumption of sub- equipment can improve memory usage and have the effect of economize on electricity, and then promote user experience.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of one information processing method of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of two information processing method of the embodiment of the present invention;
Fig. 3 is the composed structure schematic diagram of four information processing unit of the embodiment of the present invention;
Fig. 4 is the composed structure schematic diagram of four information processing unit of the embodiment of the present invention;
Fig. 5 is the composed structure schematic diagram of seven electronic equipment of the embodiment of the present invention.
Specific embodiment
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of information processing method, and this method is applied to electronic equipment, the information processing method The function of being realized can realize that certain program code can be saved by the processor caller code in electronic equipment In computer storage medium, it is seen then that the electronic equipment includes at least pocessor and storage media.
Fig. 1 is the implementation process schematic diagram of one information processing method of the embodiment of the present invention, as shown in Figure 1, the information processing Method includes:
Step S101 obtains the triggering command for reducing powder consumption of electronic equipment;
Here, the electronic equipment can have information processing capability during specific embodiment to be various types of Equipment, such as the electronic equipment may include mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, number Phone, visual telephone, television set etc..
Here, for triggering command for reducing the power consumption of electronic equipment, the triggering command obtained in step S101 can be use Triggering command that family is triggered and generation, is also possible to the triggering command that local terminal voluntarily detects the condition of certain settings and generates, Such as user has found that electronic equipment such as mobile phone operation is very slow or finds that the electricity ratio of mobile phone is less, then user can trigger Electronic equipment and generate triggering command, during specific implementation, can be arranged on an electronic device a trigger area or Person triggers key, and user clicks the trigger area or presses the triggering key, and electronic equipment just generates triggering command.When In right the other embodiment of the present invention, electronic equipment can be made to generate triggering in such a way that user can also use voice input etc. Instruction, such as user say the voice of " application program in unactivated state that please close backstage ", then electronic equipment is just Generate triggering command.For another example, within period regular hour, such as 30 minutes or 10 minutes, electronic equipment just automatically generates one When the memory of a triggering command or electronic equipment itself is less than preset value or electricity less than preset value, a touching is just generated Send instructions.
Step S102 responds the triggering command, is currently at based on predetermined reducing power consumption strategy for the electronic equipment N number of application program in M application program of operating status carries out reducing power consumption processing, and M and N are more than or equal to 1 integer, M >=N;
Wherein, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state.
Here, i.e. application program is in operating status after the application program is turned on, when application program is not gated on i.e. Application program is in non-operating state, and wherein the operating status of application program includes front stage operation state and background operation state, Wherein the application program in front stage operation state is the application program being active, and answering in background operation state It is to be in the application program of unactivated state with program.The M application program in operating status includes transporting in foreground Row state and application program in background operation state.
Here, N number of application program refers to account information and itself is in the application program of unactivated state, In in embodiments of the present invention, application program in operating status may include being active and being in unactivated state Application program, account information may include being active and unactivated state, wherein the account letter being active Breath can be understood as the account information in logging state, and the account information in unactivated state can be understood as in non- The account information of logging state.
In the embodiment of the present invention, killing application program is that application program is instigated to be in non-operating state.
Several specific implementations for realizing step S101 are provided below:
Mode one, it is described to obtain the triggering command for reducing powder consumption of electronic equipment in the embodiment of the present invention, comprising:
Step S111 determines the current information about power of the electronic equipment;
Step S112, judges whether the information about power meets preset first condition;
Here, the first condition can be preset power threshold;For example, information about power is less than or equal to preset electricity When threshold value, that is, think to meet the first condition, i.e. generation triggering command;When information about power is greater than preset power threshold, Think to be unsatisfactory for the first condition.
Step S113 generates institute's triggering command if meeting the first condition.
Here, the information about power is indicated generally in the form of percentage, and certain those skilled in the art may be used also In the form of using others, any restriction is not done here, below by taking percentage as an example, is illustrated, it, can when using percentage Whether to be less than or equal to preset threshold value using remaining electricity, if remaining when be less than or equal to preset threshold value, i.e., Think to meet preset first condition;When using the electricity used, it can be whether currently used electricity is greater than In preset threshold value, if thinking to meet described first when currently used electricity is more than or equal to preset threshold value Part;
It is described to obtain the triggering command for reducing powder consumption of electronic equipment in the embodiment of the present invention, comprising:
Mode one, it is described to obtain the triggering command for reducing powder consumption of electronic equipment in the embodiment of the present invention, comprising:
Step S121 determines the current memory usage information of the electronic equipment;
Step S122, judges whether the memory usage information meets preset second condition;
Here, the memory usage information can be using the units such as megabit (a M bits), gigabit (G bits) come table Show, can also be indicated using forms such as percentages, below by megabit or gigabit for, when using megabit or lucky ratio Whether spy can be less than or equal to preset threshold value using remaining memory, if it is remaining less than or equal to preset threshold value when It waits, that is, thinks to meet preset second condition;When using the memory used, whether big currently used memory can be In being equal to preset threshold value, if thinking to meet described second when currently used memory is more than or equal to preset threshold value Condition;
Step S123 generates institute's triggering command if meeting the second condition.
Mode three, it is described to obtain the triggering command for reducing powder consumption of electronic equipment in other implementations of the invention, comprising:
Whether step S131, the display screen for detecting electronic equipment are in OFF state;
Step S132, if being in OFF state, the electronic equipment generates the triggering command.
In the embodiment of the present invention: obtaining the triggering command for reducing powder consumption of electronic equipment;The triggering command is responded, based on pre- Determine N number of application program that reducing power consumption strategy is currently in M application program of operating status for the electronic equipment to carry out Reducing power consumption processing, M and N are more than or equal to 1 integer, M >=N;Wherein, the predetermined reducing power consumption strategy is to kill account information and place In the application program of unactivated state;The power consumption that so, it is possible reduction electronic equipment, can improve memory usage and tool There is the effect of economize on electricity, and then promotes user experience.
Embodiment two
Based on embodiment one above-mentioned, the embodiment of the present invention provides a kind of information processing method, and this method is applied to electronics Equipment, the function which is realized can realize by the processor caller code in electronic equipment, Certain program code can be stored in computer storage medium, it is seen then that the electronic equipment includes at least processor and storage is situated between Matter.
Fig. 2 is the implementation process schematic diagram of two information processing method of the embodiment of the present invention, as shown in Fig. 2, the information processing Method includes:
Step S200 obtains the triggering command for reducing powder consumption of electronic equipment;
Step S201 responds the triggering command, obtains the first number of M application program for being currently at operating status According to;
Step S202 obtains the second data of the K application program that account information is active;
Here, the K application program has account information and account information is in logging state, in other words, institute State that K application program is active itself and account information information is in logging state and in general works as account information When in logging state, also certainly (either foreground or running background) in operating status, the present invention is implemented application program In example other than concern application program is in operating status, whether also concern account information is active, as long as account Information is active, then (Kill) just should not be killed or kill to the application program, in other words, the K are answered Being with program cannot killed application program.
Step S203 matches first data with second data, obtain in the M application program with The unsuccessful L application program of K application matches;
Here, first data may include the mark of the M application program, and second data may include K The mark of a application program, the mark can use number, serial number, the title etc. of application program during specific implementation One of information is realized.
Step S204 judges whether have account to be in unactivated state in the L application program;
Account in the L application program is in the application program of unactivated state as the N by step S205 A application program.
Step S206 kills N number of application program.
In the embodiment of the present invention, step S202 is described to obtain the of K application program that account information is active One data, comprising:
Step S221 inquires the account manager;
Step S222 obtains the mark for the application program that account information is active in the account manager.
It include there is the application program of account information and without account in the embodiment of the present invention, in the L application program The application program of family information, what is finally killed is the application program that those are still in unactivated state with account information, i.e., Application program is in operating status, but account information is but in the application journey of unactivated state (i.e. in non-logging state) Sequence.It why is because account information is not logged in, then user just can not effectively be answered using this using such strategy With program, then the application program is exactly the electricity for wasting memory always and wasting electronic equipment.
Embodiment three
Based on embodiment one above-mentioned, the embodiment of the present invention provides a kind of information processing method, and this method is applied to electronics Equipment, the function which is realized can realize by the processor caller code in electronic equipment, Certain program code can be stored in computer storage medium, it is seen then that the electronic equipment includes at least processor and storage is situated between Matter.
The information processing method includes:
Step S300 obtains the triggering command for reducing powder consumption of electronic equipment;
Step S301 obtains M application program for being currently at operating status;
Step S302 determines P application program for meeting first category attribute from the M application program;
Here, the application program for meeting the first category attribute is to believe when account information is logined successfully with the account Cease the effective application program of each functional module ability of corresponding application program;
Step S303, judges whether the corresponding account information of the P application program institute is active;
Corresponding account information in the P application program is in the application journey of unactivated state by step S304 Sequence is as N number of application program.
Step S305 kills N number of application program.
In the embodiment of the present invention, step S303, the judgement P application program corresponding account information be No be active include:
Step S331, the mark based on the P application program inquire the account manager of the electronic equipment;
Step S332 obtains the query result whether account information of each P application program is active.
Example IV
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing unit, each list included by the device Each module included by member and each unit can be realized by the processor in electronic equipment, can also pass through tool certainly The logic circuit of body is realized;During specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
Fig. 3 is the composed structure schematic diagram of four information processing unit of the embodiment of the present invention, as shown in figure 3, the device 300 wraps Include first obtains unit 301 and processing unit 302, in which:
The first obtains unit 301, for obtaining the triggering command for reducing powder consumption of electronic equipment;
The processing unit 302 is set based on predetermined reducing power consumption strategy for the electronics for responding the triggering command The standby N number of application program being currently in M application program of operating status carries out reducing power consumption processing, and M and N are more than or equal to 1 Integer, M >=N;
Wherein, the predetermined reducing power consumption strategy is the application program for killing account information and being in unactivated state.
It need to be noted that: the description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For undisclosed skill in apparatus of the present invention embodiment Art details please refers to the description of embodiment of the present invention method and understands, to save length, therefore repeats no more.
Embodiment five
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing unit, each list included by the device Each module included by member and each unit can be realized by the processor in electronic equipment, can also pass through tool certainly The logic circuit of body is realized;During specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
Fig. 4 is the composed structure schematic diagram of four information processing unit of the embodiment of the present invention, as shown in figure 4, the device 300 wraps First obtains unit 301 and processing unit 302 are included, wherein the processing unit 302 is obtained including the first acquisition module 321, second It obtains module 322, matching module 323, first judgment module 324, the first determining module 325 and kills module 326, in which:
The first obtains unit 301, for obtaining the triggering command for reducing powder consumption of electronic equipment;
Described first obtains module 321, for obtaining the first data for being currently at M application program of operating status;
Described second obtains module 322, for obtaining the second number of the K application program that account information is active According to;
The matching module 323 obtains the M for matching first data with second data In application program with the unsuccessful L application program of the K application matches;
The first judgment module 324, for judging whether there is account to be in inactive in the L application program State;
The determining module 325, for account in the L application program to be in the application journey of unactivated state Sequence is determined as N number of application program;
It is described to kill module 326, for killing N number of application program.
In the embodiment of the present invention, described second, which obtains module, obtains submodule including the first inquiry submodule and first, In:
The first inquiry submodule, for inquiring the account manager;
Described first obtains submodule, for obtaining the application that account information is active in the account manager The mark of program.
It need to be noted that: the description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For undisclosed skill in apparatus of the present invention embodiment Art details please refers to the description of embodiment of the present invention method and understands, to save length, therefore repeats no more.
Embodiment six
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing unit, each list included by the device Each module included by member and each unit can be realized by the processor in electronic equipment, can also pass through tool certainly The logic circuit of body is realized;During specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
The device 400 includes first obtains unit 401 and processing unit 402, wherein the processing unit 402 includes first It obtains module 421, the second determining module 422, the second judgment module 423, third determining module 424 and kills module 425, In:
The first obtains unit 401, for obtaining the triggering command for reducing powder consumption of electronic equipment;
Described first obtains module 421, for obtaining M application program for being currently at operating status;
Second determining module 422, for determining that the P for meeting first category attribute is a from the M application program Application program;Wherein, meet the first category attribute application program be when account information is logined successfully with the account The effective application program of each functional module ability of the corresponding application program of information;
Second judgment module 423, for judging whether the corresponding account information of the P application program institute is located In state of activation;
The third determining module 424 swashs for corresponding account information in the P application program to be in non- The application program of state living is as N number of application program.
It is described to kill module 425, for killing N number of application program.
In the embodiment of the present invention, second judgment module includes that the second inquiry submodule and second obtain submodule, In:
The second inquiry submodule, the account of the electronic equipment is inquired for the mark based on the P application program Family manager;
Described second obtains submodule, and whether the account information for obtaining each P application program is in activation The query result of state.
It need to be noted that: the description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For undisclosed skill in apparatus of the present invention embodiment Art details please refers to the description of embodiment of the present invention method and understands, to save length, therefore repeats no more.
Embodiment seven
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and Fig. 5 is seven electronics of the embodiment of the present invention The composed structure schematic diagram of equipment, as shown in figure 5, the electronic equipment 500 includes power module 501 and processor 502, in which:
The power module 501, for powering for the processor, so as to described M normal operation;
The processor 502, for obtaining the triggering command for reducing powder consumption of electronic equipment;Respond the triggering command, base N number of application program in the M application program that predetermined reducing power consumption strategy is currently at operating status for the electronic equipment Reducing power consumption processing is carried out, M and N are more than or equal to 1 integer, M >=N;Wherein, the predetermined reducing power consumption strategy is to kill account information And it is in the application program of unactivated state.
It need to be noted that: the above electronic equipment implements the description of item, is similar, tool with above method description There is the identical beneficial effect of same embodiment of the method, therefore does not repeat them here.For undisclosed in electronic equipment embodiment of the present invention Technical detail, those skilled in the art please refer to the description of embodiment of the present invention method and understand, to save length, here not It repeats again.
Embodiment eight
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and referring to Fig. 5, which includes Power module 501 and processor 502, in which:
The power module 501, for powering for the processor, so as to described M normal operation;
The processor 502, for obtaining the first data for being currently at M application program of operating status;Obtain account Second data of the K application program that family information is active;By first data and second data progress Match, obtain in the M application program with the unsuccessful L application program of the K application matches;Judge the L Whether there is account to be in unactivated state in application program;Account in the L application program is in inactive The application program of state is as N number of application program;Kill N number of application program.
In the embodiment of the present invention, first data for obtaining the K application program that account information is active, packet It includes:
Inquire the account manager;
Obtain the mark for the application program that account information is active in the account manager.
It need to be noted that: the above electronic equipment implements the description of item, is similar, tool with above method description There is the identical beneficial effect of same embodiment of the method, therefore does not repeat them here.For undisclosed in electronic equipment embodiment of the present invention Technical detail, those skilled in the art please refer to the description of embodiment of the present invention method and understand, to save length, here not It repeats again.
Embodiment nine
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and referring to Fig. 5, which includes Power module 501 and processor 502, in which:
The power module 501, for powering for the processor, so as to described M normal operation;
The processor 502, for obtaining M application program for being currently at operating status;From the M application program Middle determination meets P application program of first category attribute;Wherein, the application program for meeting the first category attribute is in account Each functional module ability effective application program of application program corresponding with the account information when success of family information registration;Sentence Whether the corresponding account information of the P application program institute that breaks is active;It will be respective in the P application program Corresponding account information is in the application program of unactivated state as N number of application program;It kills described N number of using journey Sequence.
It is described to judge whether the corresponding account information of the P application program institute is in sharp in the embodiment of the present invention State living includes:
Mark based on the P application program inquires the account manager of the electronic equipment;
Obtain the query result whether account information of each P application program is active.
It need to be noted that: the above electronic equipment implements the description of item, is similar, tool with above method description There is the identical beneficial effect of same embodiment of the method, therefore does not repeat them here.For undisclosed in electronic equipment embodiment of the present invention Technical detail, those skilled in the art please refer to the description of embodiment of the present invention method and understand, to save length, here not It repeats again.
It could be application journey used in user for some must be logged in by account in above embodiments of the invention Sequence (APP), such as the wechat and QQ of instant messaging (IM) class, the Taobao for class of doing shopping, financing software of financial class etc. are this kind of The characteristics of APP is that user requires just can effectively use its function in the state of logging in substantially, is stepped on if user has exited Land, then the function of APP is not then so important, it should say it is dispensable, this when is based on the reason of reduce power consumption This APP process can then be terminated.It is illustrated by taking Android operation system (Android) as an example, Android operation system has one Account manager (account manager), system can pass through this account manager using (such as 360 security guards etc.) The account Entered state for obtaining other APP based on account class in electronic equipment such as mobile phone, can also be obtained certainly by server To the management strategy (for example, the APP is IM class, should properly terminate it etc.) of tripartite APP.It combines so dynamic Strategy and local account Entered state, that is, may decide when the process that can terminate these APP, and then reach the mesh of power saving 's.Through above description it is found that when running an application for electronic equipment, one kind provided in an embodiment of the present invention Information processing method, which comprises first determine the first application, first application is what electronic equipment currently had been started up Using;Then judge whether first application is the application for needing just log in by account number;If so, to the described firstth Status query request is sent using affiliated server, the status query request is for inquiring whether first application is in Logging state;The status inquiry response that the server is sent is received, the status inquiry response is for showing that described first answers With whether in logging state;The firstth application is handled according to status inquiry response.Wherein, the basis The status inquiry response handles first application, comprising: when first application, which is in, exits state, kills First application;When first application is in logging state, first application is kept.
Be using the advantage after technical solution provided in an embodiment of the present invention: finish user it is unwanted apply into Journey, to improve the service efficiency of memory and save electricity.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi function of each process It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of information processing method, which is characterized in that the described method includes:
The information about power or memory usage information or display screen status information of acquisition electronic equipment, if the information about power or institute It states memory usage information or the display screen status information meets preset condition, then the triggering for obtaining reduction powder consumption of electronic equipment refers to It enables;
The triggering command is responded, the first data for being currently at M application program of operating status are obtained;
The second data of the K application program that account information is active are obtained, K is the integer more than or equal to 1;
First data are matched with second data, are obtained in the M application program with the K using journey Sequence matches unsuccessful L application program;
To determine that account information is in N number of application program of unactivated state in the L application program;
Reducing power consumption processing carried out to the N number of application program, M, L and N are the integer more than or equal to 1, and M >=L >=N;
Wherein, N number of application program is in operating status and there is account information and account information to be in inactive shape The application program of state.
2. obtaining account information the K that is active the method according to claim 1, wherein described and answering With the second data of program, comprising:
Inquire account manager;
Obtain the mark for the application program that account information is active in the account manager.
3. a kind of information processing method, which is characterized in that the described method includes:
The information about power or memory usage information or display screen status information of acquisition electronic equipment, if the information about power or institute It states memory usage information or the display screen status information meets preset condition, then the triggering for obtaining reduction powder consumption of electronic equipment refers to It enables;
The triggering command is responded, M application program for being currently at operating status is obtained;
P application program for meeting first category attribute is determined from the M application program;Wherein, meet the first kind The application program of other attribute is each function of application program corresponding with the account information when account information is logined successfully It can the effective application program of module;
Judge whether the corresponding account information of the P application program institute is active;
In the P application program, determine that account information is in N number of application program of unactivated state;
Reducing power consumption processing carried out to the N number of application program, M, P and N are the integer more than or equal to 1, and M >=P >=N;
Wherein, N number of application program is in operating status and there is account information and account information to be in inactive shape The application program of state.
4. according to the method described in claim 3, it is characterized in that, the judgement P application program institute is corresponding Whether account information is active, comprising:
Mark based on the P application program inquires the account manager of the electronic equipment;
Obtain the query result whether account information of each P application program is active.
5. a kind of information processing unit, which is characterized in that described device includes first obtains unit and first processing units, In:
The first obtains unit, for obtain electronic equipment information about power memory usage information or display screen state letter Breath, if the information about power or the memory usage information or the display screen status information meet preset condition, obtains Reduce the triggering command of powder consumption of electronic equipment;
The first processing units obtain M application program for being currently at operating status for responding the triggering command First data;The second data of the K application program that account information is active are obtained, K is the integer more than or equal to 1; First data are matched with second data, obtain in the M application program with the K application program With unsuccessful L application program;To determine that account information is in the N number of of unactivated state in the L application program Application program;Reducing power consumption processing carried out to the N number of application program, M, L and N are the integer more than or equal to 1, and M >=L >=N;
Wherein, N number of application program is in operating status and there is account information and account information to be in inactive shape The application program of state.
6. a kind of information processing unit, which is characterized in that described device includes the second obtaining unit and the second processing unit, In:
Second obtaining unit, for obtain electronic equipment information about power memory usage information or display screen state letter Breath, if the information about power or the memory usage information or the display screen status information meet preset condition, obtains Reduce the triggering command of powder consumption of electronic equipment;
Described the second processing unit obtains M application program for being currently at operating status for responding the triggering command; P application program for meeting first category attribute is determined from the M application program;Wherein, meet the first category category Property application program, for when account information logins successfully, each function mould of application program corresponding with the account information The effective application program of block;Judge whether the corresponding account information of the P application program institute is active;In In the P application program, determine that account information is in N number of application program of unactivated state;To N number of application program into The processing of row reducing power consumption, M, P and N are the integer more than or equal to 1, and M >=P >=N;Wherein, N number of application program is in fortune Row state and with account information and account information is in the application program of unactivated state.
7. a kind of electronic equipment, which is characterized in that including the first power module and first processor, in which:
First power module, for powering to the first processor, so that M application program operates normally;
The first processor, for obtaining the information about power or memory usage information or display screen status information of electronic equipment, If the information about power or the memory usage information or the display screen status information meet preset condition, reduced The triggering command of powder consumption of electronic equipment;It responds the triggering command, obtains the of M application program for being currently at operating status One data;The second data of the K application program that account information is active are obtained, K is the integer more than or equal to 1;It will First data are matched with second data, obtain in the M application program with the K application matches Unsuccessful L application program;It is answered to determine that account information is in the N number of of unactivated state in the L application program Use program;Reducing power consumption processing carried out to the N number of application program, M, L and N are the integer more than or equal to 1, and M >=L >=N;Its In, N number of application program is in operating status and there is account information and account information to be in answering for unactivated state Use program.
8. electronic equipment according to claim 7, which is characterized in that the K for obtaining account information and being active Second data of a application program, comprising:
Inquire account manager;
Obtain the mark for the application program that account information is active in the account manager.
9. a kind of electronic equipment, which is characterized in that including second power supply module and second processor, in which:
The second power supply module, for powering to the second processor, so that M application program operates normally;
The second processor, for obtaining the information about power or memory usage information or display screen status information of electronic equipment, If the information about power or the memory usage information or the display screen status information meet preset condition, reduced The triggering command of powder consumption of electronic equipment;The triggering command is responded, M application program for being currently at operating status is obtained;With And
P application program for meeting first category attribute is determined from the M application program;Wherein, meet the first kind The application program of other attribute is each function of application program corresponding with the account information when account information is logined successfully It can the effective application program of module;Judge whether the corresponding account information of the P application program institute is in activation shape State;In the P application program, determine that account information is in N number of application program of unactivated state;To N number of application Program carries out reducing power consumption processing, and M, P and N are the integer more than or equal to 1, and M >=P >=N;Wherein, N number of application program is It is in operating status and with account information and account information is in the application program of unactivated state.
10. electronic equipment according to claim 9, which is characterized in that the judgement P application program institute is respectively right Whether the account information answered is active, comprising:
Mark based on the P application program inquires the account manager of the electronic equipment;
Obtain the query result whether account information of each P application program is active.
CN201610144656.XA 2016-03-14 2016-03-14 A kind of information processing method and device, electronic equipment Active CN105824395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610144656.XA CN105824395B (en) 2016-03-14 2016-03-14 A kind of information processing method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610144656.XA CN105824395B (en) 2016-03-14 2016-03-14 A kind of information processing method and device, electronic equipment

Publications (2)

Publication Number Publication Date
CN105824395A CN105824395A (en) 2016-08-03
CN105824395B true CN105824395B (en) 2019-11-26

Family

ID=56987216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610144656.XA Active CN105824395B (en) 2016-03-14 2016-03-14 A kind of information processing method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN105824395B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4785524B2 (en) * 2005-12-27 2011-10-05 シャープ株式会社 Electronic device and power saving setting method thereof
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN105094284A (en) * 2015-07-31 2015-11-25 北京金山安全软件有限公司 Power-saving processing method and device for application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094285B (en) * 2015-07-31 2018-09-11 北京金山安全软件有限公司 Power-saving processing method and device for application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4785524B2 (en) * 2005-12-27 2011-10-05 シャープ株式会社 Electronic device and power saving setting method thereof
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN105094284A (en) * 2015-07-31 2015-11-25 北京金山安全软件有限公司 Power-saving processing method and device for application program

Also Published As

Publication number Publication date
CN105824395A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN108449410A (en) Information management method, system and relevant apparatus in a kind of cloud platform
CN103718578B (en) Method and device for notification messages and providing notification messages
US20160277520A1 (en) Method, terminal, and system for pushing information
CN109344172A (en) A kind of high concurrent data processing method, device and client-server
CN109598434A (en) Abnormity early warning method, apparatus, computer installation and storage medium
CN106534281A (en) Data request responding method, apparatus and system
WO2013085867A1 (en) Contextual and location awareness for device interaction
CN107798108A (en) A kind of asynchronous task querying method and equipment
US20210400001A1 (en) Apparatus and method for improving communication between matched individuals
CN109547282B (en) Overload protection method and device, computer readable storage medium and server
CN107729216B (en) Application program control method and device, storage medium and electronic equipment
CN106296135A (en) Event-prompting method, device and terminal
CN107943599A (en) Red packet based reminding method, device, computer installation and computer-readable recording medium
CN108540356B (en) Processing method and processing apparatus
CN110060023A (en) Work order generation method, device and computer readable storage medium
CN106020962B (en) A kind of course control method and terminal device
CN108712559A (en) A kind of disturbance-free method, system and terminal device
CN108572866A (en) A kind of application management method, application program management device and mobile terminal
US20090300381A1 (en) Thin client and power management method thereof
CN105824395B (en) A kind of information processing method and device, electronic equipment
CN110493462A (en) A kind of call management method and device, terminal, storage medium
CN201985891U (en) System for preventing harassment of strangers in social network
CN110046808A (en) A kind of seating allocation system, method, background server and storage medium
CN109450770A (en) Service executing apparatus, device, computer equipment and storage medium
CN108470311A (en) A kind of method and system realized stock and remind real time push

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