CN104375929B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104375929B
CN104375929B CN201310349807.1A CN201310349807A CN104375929B CN 104375929 B CN104375929 B CN 104375929B CN 201310349807 A CN201310349807 A CN 201310349807A CN 104375929 B CN104375929 B CN 104375929B
Authority
CN
China
Prior art keywords
electronic equipment
application program
moment
working condition
charge value
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
CN201310349807.1A
Other languages
Chinese (zh)
Other versions
CN104375929A (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 CN201310349807.1A priority Critical patent/CN104375929B/en
Publication of CN104375929A publication Critical patent/CN104375929A/en
Application granted granted Critical
Publication of CN104375929B publication Critical patent/CN104375929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a kind of information processing method and electronic equipment, the information processing method is applied to electronic equipment, and this method includes:When electronic equipment is in the first working condition, at the first moment of the first application program wake operation system, first charge value of the recorded electronic equipment at the first moment;Enter the second moment of resting state, second charge value of the recorded electronic equipment at the second moment in the operating system that the first application program makes to be waken up, and obtain the electricity difference of the first charge value and the second charge value;When electronic equipment switchs to second working conditions different from the first working condition by the first working condition, export the first application program identification information and electricity difference to remind user.The application obtains power consumption information of the application program when standby by such scheme, so as to the technical problem of application program power consumption when solving that electronic equipment presence can not obtain standby in the prior art.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, the method and electronic equipment of more particularly to a kind of information processing.
Background technology
With the continuous development of scientific technology, the communication technology has obtained development at full speed, in particular for mobile communication Electronic equipment mobile phone, two pieces of big monsters of brick develop into frivolous compact fashion rare thing today since most.
Present mobile phone not only has the function of mobile communication, also has the multiple functions such as office, online, amusement, with Cell-phone function is continuously increased, and mobile telephone power consumption is also increasing, and wherein mobile telephone power consumption includes operating power consumption and stand-by power consumption.
It is as follows to have found that prior art is present during technical scheme in realizing the embodiment of the present application by present inventor Technical problem:
In the prior art, some application software are still run in cell phone standby, cause the stand-by power consumption of mobile phone substantially to increase Greatly, the stand-by time of mobile phone shortens significantly, due to the power consumption of application software when mobile phone can not obtain standby in the prior art, institute The concrete reason of stand-by power consumption increase can not be known with, user, it is bad to be usually mistakenly considered handset capability, reduces Consumer's Experience, It can be seen that when electronic equipment presence of the prior art can not obtain standby the power consumption of application program technical problem.
The content of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronic equipment in the prior art In the presence of the technical problem of the power consumption of application program when can not obtain standby.
The embodiment of the present application provides a kind of information processing method, and applied to electronic equipment, methods described includes:
When the electronic equipment is in the first working condition, in the first of the first application program wake operation system Carve, record first charge value of the electronic equipment at first moment;
Enter the second moment of resting state in the operating system that first application program makes to be waken up, record institute Second charge value of the electronic equipment at second moment is stated, and obtains the electricity of first charge value and second charge value Measure difference;
When the electronic equipment is switched to second work different from first working condition by first working condition During state, export first application program identification information and the electricity difference to remind user.
Optionally, the electronic equipment is being recorded before first charge value at first moment, methods described is also wrapped Include:
When the electronic equipment is in second working condition, detected from the Global Timer of the electronic equipment Obtain first application program that registration type is real-time timing type;
Obtain the timing cycle that first application program is registered in the Global Timer;
Based on the timing cycle, first moment is determined.
Optionally, the electronic equipment is being recorded after first charge value at first moment, methods described is also wrapped Include:
Record characterizes the very first time information at first moment so that the display unit of the electronic equipment is in display institute The very first time information is shown while stating electricity difference.
Optionally, the identification information of output first application program and the electricity difference are to remind user, specifically Including:
Detect whether the display unit is lit, obtain the first testing result;
When first testing result shows that the display unit is lit, determine the electronic equipment by described first Working condition switchs to second working condition, and by the identification information of first application program, the very first time Information and the electricity difference are shown on the display unit, with prompt user in first working condition described in first The power consumption of application program.
Optionally, described by the identification information of first application program, the very first time information and described After electricity difference is shown on the display unit, methods described also includes:
Detect whether change operation be present, obtain the second testing result, wherein, the change operation is used to change described the The registration type that one application program is registered in the Global Timer;
When second testing result shows to exist the change operation, responding the change operation should by described first Work timing type is changed to registration type of the program in the Global Timer so that electronic equipment is in the first work shape During state, first application program can not wake up the operating system.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment includes:
First recording unit, for when the electronic equipment is in the first working condition, being waken up in the first application program At first moment of operating system, record first charge value of the electronic equipment at first moment;
Second recording unit, the operating system for making to be waken up in first application program enter resting state The second moment, record second charge value of the electronic equipment at second moment, and obtain first charge value with The electricity difference of second charge value;
Output unit, for being switched in the electronic equipment by first working condition with first working condition not With the second working condition when, export first application program identification information and the electricity difference to remind user.
Optionally, the electronic equipment also includes:
First acquisition unit, for when the electronic equipment is in second working condition, from the electronic equipment Global Timer in detection obtain registration type be real-time timing type first application program;
Second acquisition unit, the timing week registered for obtaining first application program in the Global Timer Phase;
First determining unit, for according to the timing cycle, determining first moment.
Optionally, the electronic equipment also includes:
3rd recording unit, for recording the electronic equipment after first charge value at first moment, note Record characterizes the very first time information at first moment so that the display unit of the electronic equipment is showing the electricity difference While show the very first time information.
Optionally, the output unit specifically includes:
Detection sub-unit, for detecting whether the display unit is lit, obtain the first testing result;
Subelement is exported, for when first testing result shows that the display unit is lit, determining the electricity Sub- equipment switchs to second working condition by first working condition, and the mark of first application program is believed Breath, the very first time information and the electricity difference are shown on the display unit, to prompt user in first work The power consumption of first application program described in when making state.
Optionally, the electronic equipment also includes:
First detection unit, for described by the identification information of first application program, the very first time After information and the electricity difference are shown on the display unit, detect whether change operation be present, obtain the second detection As a result, wherein, the change operation is used to change the registration class that first application program is registered in the Global Timer Type;
First changing unit, for when second testing result shows to exist the change operation, responding the change More operate and registration type of first application program in the Global Timer is changed to work timing type so that electronics When equipment is in the first working condition, first application program can not wake up the operating system.
Said one or multiple technical schemes in the embodiment of the present application, at least there is following one or more technology effects Fruit:
1st, the application under electronic equipment is in the first working condition be standby mode under, by obtaining the first application program First charge value at the first moment of wake operation system, and the operating system being waken up in the first application program enter dormancy The second charge value during state, the first charge value of acquisition and the electricity difference of the second charge value are the first application program standby Wake operation system and perform the charge value that corresponding operating is consumed under pattern, so solve in the prior art electronic equipment without The technical problem of application program power consumption when method obtains standby, reach the technique effect of application software power consumption when obtaining standby.
2nd, because the application carries out the standby power consumption amount of first application program by the display unit of electronic equipment It has been shown that, and the selection operation for stopping application software wake operation system when standby is detected, the selection operation is selected to stop The registration type registered in Global Timer of the first application program be changed to work timing type so that electronic equipment is in and treated During machine pattern, the first application program can not wake operation system, and then reduce electronic equipment it is standby when power consumption, reach extension The technique effect of electronic equipment stand-by time, lift Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for information processing method that the embodiment of the present application one provides;
Fig. 2 is the schematic flow sheet at the moment of determination first that the embodiment of the present application one provides;
Fig. 3 is the block diagram for a kind of electronic equipment that the embodiment of the present application two provides.
Embodiment
In the technical scheme that the embodiment of the present application provides, when electronic equipment is in standby mode, and in operating system At the first moment waken up by the first application program, first charge value of the electronic equipment at the first moment is obtained, and in operating system The second moment that non-sleep state is reentered after the associative operation of the first application program has been performed, has obtained electronic equipment second Second charge value at moment, the first application program is got at the first moment to second based on the first charge value and the second charge value Power consumption between moment, so as to solve the skill that electronic equipment in the prior art can not obtain power consumption of the application software when standby Art problem, reach the technique effect for obtaining application software standby power consumption amount.
Below in conjunction with the accompanying drawings to the main realization principle of the embodiment of the present application technical scheme, embodiment and its correspondingly The beneficial effect that can reach is explained in detail.
Embodiment one
Fig. 1 is refer to, the embodiment of the present application provides a kind of information processing method, applied to an electronic equipment, the electronics Equipment includes display unit and operating system, and the operating system includes work shape when the electronic equipment is in standby mode State and resting state, methods described include:
S101:When the electronic equipment is in the first working condition, the of the first application program wake operation system At one moment, record first charge value of the electronic equipment at first moment;
S102:Enter the second moment of resting state in the operating system that first application program makes to be waken up, Second charge value of the electronic equipment at second moment is recorded, and obtains first charge value and second electricity The electricity difference of value;
S103:When the electronic equipment switchs to second different from first working condition by first working condition During working condition, export first application program identification information and the electricity difference to remind user.
In specific implementation process, electronic equipment generally has two class clocks, and the first kind is real-time clock RTC(Real-Time Clock)The clock circuit being made up of the crystal oscillator on electronic equipment PC mainboards and interlock circuit provides, and real-time clock RTC can lead to Reserve battery power supply is crossed, even if system power supply is closed, it can continue to work, therefore can provide reliable system time; Second class is system clock, is provided by real-time clock RTC, only just effective in system operation.Standby mould is in electronic equipment When formula is the first working condition, electronic equipment backstage except when critical processes are run without other programs operating system make shape into sleep State, now system clock is invalid, and third party application can not be run, be this third party application in order at electronic equipment When standby mode operation, it is necessary in Global Timer AlarmManager registration type be real-time timing type alarm clock, with When timing cycle arrives by real-time clock RTC wake operation systems, make operating system third party application, perform The corresponding operating of third party application, it can now greatly increase the electric quantity consumption of electronic equipment.
In order to obtain the information about power of third-party application software consumption in stand-by mode, the application is in electronic equipment S101 is performed under standby mode:At the first moment of the first application program wake operation system, the electronic equipment is recorded in institute State first charge value at the first moment.
For example, mobile phone is 14:20:00 enters standby mode, and the operating system of mobile phone also enters resting state therewith, due to The first application program QQ is currently running before mobile phone enters standby mode, and have registered in real time in the Global Timer of mobile phone The alarm clock of timing type, its alarm clock cycle are 30s, then 14:20:Wake operation system is made the operation be by 30 real-time clock TRC System is reruned, but now the display screen of mobile phone can't be lit, and user can not know that operating system has been waken up and will held Row QQ reception network information etc. operates, therefore the first moment that mobile phone is then waken up in operating system by the first application program QQ 14:20:30, record information about power during the first charge value 70%, i.e. the first application program QQ off-duties of mobile phone.
Performed in electronic equipment after S101 gets the first charge value, continued executing with S102:Journey is applied described first The operating system that sequence makes to be waken up enters the second moment of resting state, records the electronic equipment at second moment The second charge value, and obtain the electricity difference of first charge value and second charge value.
Because in stand-by mode, the first application program holds operating system by real-time clock RTC wake operation systems The associative operation of the application program of row first, after its associative operation is completed, the first application program enters trigger action system again Enter resting state, so reenter the second moment of resting state in the operating system being waken up, the of recorded electronic equipment Two charge values, for example, at the first moment 14:20:30 first application program QQ wake operation systems, at the second moment 14:20:35 First application program QQ completes associative operation trigger action system and reenters resting state, then 14:20:35 record mobile phones The second charge value 69.8%, and obtain the electricity difference 0.2% of the first charge value and the second charge value.Getting electricity difference S103 is continued executing with afterwards.
S103:When the electronic equipment switchs to second different from first working condition by first working condition During working condition, export first application program identification information and the electricity difference to remind user.
Specifically, the second working condition is run and can run each application program comprehensively for the operating system of electronic equipment State, no matter now whether third-party application software is registered global clock and can be run in the operating system of electronic equipment. Electronic equipment from the first working condition switch to the second working condition when, export identification information and the institute of first application program Electricity difference is stated to remind user.Such as:At the first moment 14:20:30 the first charge values for getting mobile phone are 70%, the Two moment 14:20:35 the second charge values for getting mobile phone are 69.8%, obtain the first charge value 70% and the second charge value 69.8% difference 0.2%, and when mobile phone enters the second working condition, by the first application program at the first moment to the second moment Between the identification information QQ of the application program of electricity 0.2% and first that consumes show on a display of the handset, to prompt user's hand QQ power consumption condition when machine is standby, the reason for power consumption increases when can be apparent from cell phone standby so as to user.
In specific implementation process, in order to reduce the power consumption of electronic equipment, whether operating system described in real-time judge is avoided By the first application program wake up, refer to Fig. 2, record the electronic equipment first moment the first charge value it Before, the application also provides following steps:
S201:When the electronic equipment is in the second working condition, examined from the Global Timer of the electronic equipment Survey first application program for obtaining that registration type is real-time timing type.For example, Global Timer in electronic equipment The registration type that Type is registered in AlarmManager as 0 or 2 expression application software is real-time timing type, then in electronic equipment During in mode of operation, then obtain in Global Timer AlarmManager and register Type as 0 or 2 application software, it is assumed that should The Type registered with software QQ and wechat is 0 or 2, then it is first application program then to obtain QQ and wechat, and is being obtained During to the application software, S202 is performed.
S202:Obtain the timing cycle that first application program is registered in the Global Timer.Specifically, because Each application software is all corresponding to register the timing cycle of oneself when registering Global Timer, it is possible to from global timing The registration period of the first application program is got in device AlarmManager corresponding registration entries.Such as:Assuming that obtained in S202 The first application program got is QQ and wechat, and the timing cycle that wherein QQ is registered in Global Timer is 30s, and wechat is complete The timing cycle registered in office's timer is 40s, then electronic equipment then corresponds to the timing cycle for obtaining QQ:30s, wechat are determined When cycle 40s.After the timing cycle is got, S204 is performed.
S203:Based on the timing cycle, first moment is determined.Specifically, it can set electronics receiving During for the standby command for entering holding state, determined according to current the 3rd moment for receiving standby command and the timing cycle First moment, such as:Electronic equipment is 14:20:00 receives standby command, then determines QQ wake operation systems First moment was 14:20:30、14:21:00、14:21:30 etc., the first moment for determining wechat wake operation system is 14: 20:40、14:21:20、14:22:00 etc..
Obtained by above-mentioned steps after determining first moment, work is not converted to from standby mode in electronic equipment Before operation mode, S101~S103 is repeated when each first moment arrives.
In specific implementation process, in order to provide a user more detailed power consumption information, set in the acquisition electronics For after first charge value at first moment, also record characterizes the very first time information at first moment so that institute State display unit and show the very first time information while the first power consumption information is shown.
In order to when electronic equipment is in the second working condition, show the first application program the first power consumption information and Very first time information, specifically can be in the first application program in the acquisition electronic equipment at first moment to institute After stating the current differential i.e. power consumption information between the second moment, detect whether the display unit is lit, obtain the first detection As a result.Wherein, first testing result has two kinds:The first:The display unit of electronic equipment is non-lit up, i.e. electronic equipment Standby mode is still in, is now operated without display;Second:The display unit of electronic equipment is lit, i.e., electronics is set It is standby to be converted to mode of operation from standby mode, now by the title of first application program, the very first time information and The first power consumption presentation of information on the display unit, with prompt user in holding state described in the first application program Power consumption.
Specifically, during electronic equipment is in standby mode, the multiple wake operation system of the first application program, i.e., First moment and the first power consumption information have multiple, for the terseness of display, are showing the very first time information and the During one power consumption information, can be particularly shown start wake operation system very first time information and wake-up period, wake-up times and The summation of power consumption in all first power consumption information, such as:In standby mode, QQ is once called out altogether per 30s wake operations system Waken up 15 times, first time wakeup time be 14:20:30th, the summation of power consumption is 3%, each 40s wake operations system one of wechat It is secondary waken up altogether 11 times, first time wakeup time be 14:20:40th, the total amount of power consumption is 2%, then is in work in electronic equipment During pattern, show that standby consumption information is on the display unit:“QQ14:20:30/30s3%;Wechat 14:20:40/40s2%”.
In order to reduce power consumption of the electronic equipment in stand-by time, the application is in the name by first application program After title, the very first time information and the first power consumption presentation of information are on the display unit, also further detect whether Operated in the presence of change, obtain the second testing result, wherein, the change operation is used to change first application program described The registration type registered in Global Timer;When second testing result shows to exist the change operation, described in response Registration type of first application program in the Global Timer is changed to work timing type by change operation so that electricity When sub- equipment is in standby mode, first application program can not wake up the operating system and enter the working condition.
Such as:First application program of power consumption when electronic equipment will be standby:After QQ, wechat are shown in display screen, user Think that QQ is not necessarily to standby operation, then the change button of touch-control change QQ registration types, then electronic equipment is then detecting To during the change operation, the type that QQ is registered in Global Timer is changed to work timing type, such as sets Type positions For the numeral in addition to 0 and 2, so when electronic equipment is again introduced into standby mode, QQ softwares will be unable to wake operation system Into working condition, now the power consumption of electronic equipment will substantially reduce.
The application under electronic equipment is in the first working condition be standby mode under, by obtain the first application program call out First charge value at the first moment of operating system of waking up, and the operating system being waken up in the first application program enter dormancy shape The second charge value during state, the first charge value of acquisition and the electricity difference of the second charge value are the first application program in standby mould Wake operation system and perform the charge value that corresponding operating is consumed under formula, so solve electronic equipment in the prior art can not The technical problem of application program power consumption when obtaining standby, reach the technique effect of application software power consumption when obtaining standby.
Further, due to display list that the standby power consumption amount of first application program is passed through electronic equipment by the application Member shown, and detects the selection operation for stopping application software wake operation system when standby, and the selection operation is selected Select the registration type that the first application program of termination is registered in Global Timer and be changed to work timing type so that electronic equipment During in standby mode, the first application program can not wake operation system, and then reduce electronic equipment it is standby when power consumption, reach To the technique effect for extending electronic equipment stand-by time, Consumer's Experience is lifted.
Embodiment two
Fig. 3 is refer to, the embodiment of the present application provides a kind of electronic equipment, and the electronic equipment includes:
First recording unit 301, for when the electronic equipment is in the first working condition, being called out in the first application program At first moment of operating system of waking up, record first charge value of the electronic equipment at first moment;
Second recording unit 302, the operating system for making to be waken up in first application program enter dormancy At second moment of state, second charge value of the electronic equipment at second moment is recorded, and obtain first electricity Value and the electricity difference of second charge value;
Output unit 303, for being switched to and the described first work shape by first working condition in the electronic equipment During different the second working condition of state, export first application program identification information and the electricity difference to remind use Family.
Specifically, in order to further determine that first moment, the electronic equipment also provides:
First acquisition unit 304, for when the electronic equipment is in second working condition, being set from the electronics Detection obtains first application program that registration type is real-time timing type in standby Global Timer;
Second acquisition unit 305, the timing registered for obtaining first application program in the Global Timer Cycle;
First determining unit 306, for according to the timing cycle, determining first moment.
In specific implementation process, in order to provide a user the temporal information of the first application program wake operation system, institute Electronic equipment is stated also to provide:
3rd recording unit 307, for recording the electronic equipment after first charge value at first moment, Record characterizes the very first time information at first moment so that the display unit of the electronic equipment is showing that the electricity is poor The very first time information is shown while value.
In order to when electronic equipment is in mode of operation, by the power consumption presentation of information of the first application program in electronic equipment On display unit, the output unit 303 specifically includes:
Detection sub-unit, for detecting whether the display unit is lit, obtain the first testing result;
Subelement is exported, for when first testing result shows that the display unit is lit, determining the electricity Sub- equipment switchs to second working condition by first working condition, and the mark of first application program is believed Breath, the very first time information and the electricity difference are shown on the display unit, to prompt user in first work The power consumption of first application program described in when making state.
In specific implementation process, in order to reduce power consumption of the electronic equipment in standby mode, extend electronic equipment Standby time, the electronic equipment also provide:
First detection unit 308, for it is described by the identification information of first application program, it is described first when Between after information and the electricity difference be shown on the display unit, detect whether change operation be present, obtain the second inspection Result is surveyed, wherein, the change operation is used to change the registration that first application program is registered in the Global Timer Type;
First changing unit 309, for when second testing result shows to exist the change operation, described in response Registration type of first application program in the Global Timer is changed to work timing type by change operation so that electricity When sub- equipment is in the first working condition, first application program can not wake up the operating system.
Because the electronic equipment in the present embodiment is virtual bench corresponding with method, so, its specific course of work Just no longer it is specifically described.
Pass through one or more of the embodiment of the present application technical scheme, it is possible to achieve following one or more technology effects Fruit:
1st, the application under electronic equipment is in the first working condition be standby mode under, by obtaining the first application program First charge value at the first moment of wake operation system, and the operating system being waken up in the first application program enter dormancy The second charge value during state, the first charge value of acquisition and the electricity difference of the second charge value are the first application program standby Wake operation system and perform the charge value that corresponding operating is consumed under pattern, so solve in the prior art electronic equipment without The technical problem of application program power consumption when method obtains standby, reach the technique effect of application software power consumption when obtaining standby.
2nd, because the application carries out the standby power consumption amount of first application program by the display unit of electronic equipment It has been shown that, and the selection operation for stopping application software wake operation system when standby is detected, the selection operation is selected to stop The registration type registered in Global Timer of the first application program be changed to work timing type so that electronic equipment is in and treated During machine pattern, the first application program can not wake operation system, and then reduce electronic equipment it is standby when power consumption, reach extension The technique effect of electronic equipment stand-by time, lift Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (8)

1. a kind of information processing method, applied to electronic equipment, methods described includes:
When the electronic equipment is in the first working condition, at the first moment of the first application program wake operation system, note Record first charge value of the electronic equipment at first moment;
Enter the second moment of resting state in the operating system that first application program makes to be waken up, record the electricity Second charge value of the sub- equipment at second moment, and the electricity for obtaining first charge value and second charge value is poor Value;
When the electronic equipment is switched to second working condition different from first working condition by first working condition When, export first application program identification information and the electricity difference to remind user;
Wherein, the electronic equipment is being recorded before first charge value at first moment, methods described also includes:Institute When stating electronic equipment and being in second working condition, from the Global Timer of the electronic equipment detection obtain registration type For first application program of real-time timing type;Obtain that first application program registers in the Global Timer determines When the cycle;Based on the timing cycle, first moment is determined.
2. the method as described in claim 1, it is characterised in that recording the electronic equipment the first of first moment After charge value, methods described also includes:
Record characterizes the very first time information at first moment so that the display unit of the electronic equipment is showing the electricity The very first time information is shown while measuring difference.
3. method as claimed in claim 2, it is characterised in that the identification information of output first application program and described Electricity difference is specifically included with reminding user:
Detect whether the display unit is lit, obtain the first testing result;
When first testing result shows that the display unit is lit, determine that the electronic equipment is worked by described first State switchs to second working condition, and by the identification information of first application program, the very first time information And the electricity difference is shown on the display unit, with prompt user in first working condition described in first application The power consumption of program.
4. method as claimed in claim 3, it is characterised in that believe in the mark by first application program After breath, the very first time information and the electricity difference are shown on the display unit, methods described also includes:
Detect whether to exist and change operation, obtain the second testing result, wherein, the change operation should for changing described first The registration type registered with program in the Global Timer;
When second testing result shows to exist the change operation, respond the change operation and apply journey by described first Registration type of the sequence in the Global Timer is changed to work timing type so that electronic equipment is in the first working condition When, first application program can not wake up the operating system.
5. a kind of electronic equipment, the electronic equipment includes:
First recording unit, for when the electronic equipment is in the first working condition, in the first application program wake operation At first moment of system, record first charge value of the electronic equipment at first moment;
Second recording unit, for making the operating system that is waken up enter the of resting state in first application program At two moment, record second charge value of the electronic equipment at second moment, and obtain first charge value with it is described The electricity difference of second charge value;
Output unit, it is different from first working condition for being switched in the electronic equipment by first working condition During the second working condition, export first application program identification information and the electricity difference to remind user;Wherein, The electronic equipment also includes:First acquisition unit, for when the electronic equipment is in second working condition, from institute State detection in the Global Timer of electronic equipment and obtain first application program that registration type is real-time timing type;Second obtains Unit is taken, the timing cycle registered for obtaining first application program in the Global Timer;First determining unit, For according to the timing cycle, determining first moment.
6. electronic equipment as claimed in claim 5, it is characterised in that the electronic equipment also includes:
3rd recording unit, for recording the electronic equipment after first charge value at first moment, record sheet Levy the very first time information at first moment so that the display unit of the electronic equipment is showing the same of the electricity difference When show the very first time information.
7. electronic equipment as claimed in claim 6, it is characterised in that the output unit specifically includes:
Detection sub-unit, for detecting whether the display unit is lit, obtain the first testing result;
Subelement is exported, for when first testing result shows that the display unit is lit, determining that the electronics is set It is standby that second working condition is switched to by first working condition, and by the identification information of first application program, The very first time information and the electricity difference are shown on the display unit, to prompt user in the described first work shape The power consumption of first application program described in during state.
8. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment also includes:
First detection unit, for described by the identification information of first application program, the very first time information And after the electricity difference is shown on the display unit, detects whether change operation be present, obtain the second testing result, Wherein, the change operation is used to change the registration type that first application program is registered in the Global Timer;
First changing unit, for when second testing result shows to exist the change operation, responding the change behaviour Make registration type of first application program in the Global Timer being changed to work timing type so that electronic equipment During in the first working condition, first application program can not wake up the operating system.
CN201310349807.1A 2013-08-12 2013-08-12 A kind of information processing method and electronic equipment Active CN104375929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310349807.1A CN104375929B (en) 2013-08-12 2013-08-12 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310349807.1A CN104375929B (en) 2013-08-12 2013-08-12 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104375929A CN104375929A (en) 2015-02-25
CN104375929B true CN104375929B (en) 2017-12-01

Family

ID=52554865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310349807.1A Active CN104375929B (en) 2013-08-12 2013-08-12 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104375929B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881362A (en) * 2015-06-18 2015-09-02 广东欧珀移动通信有限公司 Third-party application standby current testing method and device
CN105514924B (en) * 2015-12-14 2018-12-11 广东欧珀移动通信有限公司 A kind of leakage protection method and device of terminal device
CN105467329B (en) * 2016-01-25 2018-09-28 上海斐讯数据通信技术有限公司 A kind of terminal continuation of the journey test system and method
CN108009068B (en) * 2017-11-30 2021-03-02 Oppo广东移动通信有限公司 Information recording method, information recording device and intelligent terminal
CN110032398B (en) * 2018-01-12 2022-04-12 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium
WO2020020309A1 (en) 2018-07-25 2020-01-30 云丁网络技术(北京)有限公司 Smart device control method and system
CN109272728B (en) * 2018-09-05 2021-04-23 云丁智能科技(北京)有限公司 Electric quantity management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN102778943A (en) * 2011-05-10 2012-11-14 联想(北京)有限公司 State control method and device and portable terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6668179B2 (en) * 2000-12-08 2003-12-23 Intel Corporation Special battery reserve of portable electronic devices for emergency use

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102778943A (en) * 2011-05-10 2012-11-14 联想(北京)有限公司 State control method and device and portable terminal
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal

Also Published As

Publication number Publication date
CN104375929A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104375929B (en) A kind of information processing method and electronic equipment
CN104166542B (en) The method and apparatus that power consumption is applied in detection
CN106383767B (en) The method and apparatus of charge reminder
CN110908496A (en) System interaction method and wearable device
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
CN107528979A (en) The control device and method of mobile device
US20160357616A1 (en) Application management method and application management apparatus
CN106648028A (en) Wearable intelligent terminal power source management method and device
CN106569921B (en) A kind of metering core clock processing method and processing device of twin-core intelligent electric energy meter
CN104461327B (en) A kind of information processing method and electronic equipment
CN102999291A (en) Method for waking up mobile terminal in standby state
CN104142728A (en) Electronic device
CN107491160A (en) A kind of application method of dual operating systems, storage device and intelligent terminal
CN109634430A (en) Message prompt method, device, electronic equipment and storage medium
CN107843844A (en) A kind of method, terminal and computer-readable recording medium for calibrating charge value
CN103034317A (en) Method and device for handling standby
CN104158962B (en) Mobile terminal display screen control method and its system
CN101291487A (en) MP3 playing method with low energy consumption on mobile phone
CN101562657A (en) Method for locally displaying prompt message according to terminal position in outer casing and system thereof
CN103837835A (en) Method and device for detecting capacity decreasing degree of mobile device battery
CN104965759B (en) A kind of method and terminal of control terminal
CN109189201A (en) Condition control method, control circuit and the mobile terminal of processor
CN103377071B (en) A kind of batch data delet method and system
CN103884905A (en) Method, apparatus and system for testing power consumption of terminal device service application
CN107547742B (en) Wake-up lock release method and device for mobile terminal

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