CN104375929A - Method for processing information and electronic equipment - Google Patents

Method for processing information and electronic equipment Download PDF

Info

Publication number
CN104375929A
CN104375929A CN201310349807.1A CN201310349807A CN104375929A CN 104375929 A CN104375929 A CN 104375929A CN 201310349807 A CN201310349807 A CN 201310349807A CN 104375929 A CN104375929 A CN 104375929A
Authority
CN
China
Prior art keywords
electronic equipment
application program
duty
moment
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.)
Granted
Application number
CN201310349807.1A
Other languages
Chinese (zh)
Other versions
CN104375929B (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

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method for processing information and electronic equipment. The method for processing the information is applied to the electronic equipment, and includes recording first electric quantity values of the electronic equipment at first moments when the electronic equipment is in first working states; recording second electric quantity values of the electronic equipment at second moments and acquiring electric quantity difference values between the first electric quantity values and the second electric quantity values; outputting identification information of first application programs and the electric quantity difference values to remind users when the electronic equipment is switched into second working states from the first working states. An operating system is awakened by the first application programs at the first moments. The awakened operating system enters sleep states under the effects of the first application programs at the second moments. The second working states are different from the first working states. According to the scheme, the method and the electronic equipment have the advantages that power consumption information of the application programs in standby time can be acquired, and accordingly the technical problem that power consumption of application programs in standby time cannot be acquired by existing electronic equipment in the prior art is solved.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, the method for particularly a kind of information processing and electronic equipment.
Background technology
Along with the development of science and technology, the communication technology obtains development at full speed, and in particular for the electronic equipment mobile phone of mobile communication, the monster that two blocks of bricks are large from develops in order to frivolous small and exquisite fashion rare thing today.
Present mobile phone not only has the function of mobile communication, and also have the multiple functions such as office, online, amusement, along with the continuous increase of cell-phone function, mobile telephone power consumption is also increasing, and wherein mobile telephone power consumption comprises operating power consumption and stand-by power consumption.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
In prior art, some application software are still run when cell phone standby, the stand-by power consumption of mobile phone is caused obviously to increase, the stand-by time of mobile phone shortens greatly, due to the power consumption of application software when mobile phone in prior art cannot obtain standby, so, user cannot know the concrete reason that stand-by power consumption increases, usually thinking that handset capability is bad, reduces Consumer's Experience by mistake, there is the technical matters of the power consumption of application program when cannot obtain standby in visible electronic equipment of the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solve electronic equipment in prior art exist cannot obtain standby time application program the technical matters of power consumption.
The embodiment of the present application provides a kind of information processing method, is applied to electronic equipment, and described method comprises:
When described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, record first charge value of described electronic equipment in described first moment;
Make the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
When described electronic equipment transfers second duty different from described first duty to by described first duty, export the identification information of described first application program and described electricity difference with reminding user.
Optionally, recording described electronic equipment before first charge value in described first moment, described method also comprises:
When described electronic equipment is in described second duty, detects from the Global Timer of described electronic equipment and obtain described first application program that registration type is timing type in real time;
Obtain the timing cycle that described first application program is registered in described Global Timer;
Based on described timing cycle, determine described first moment.
Optionally, recording described electronic equipment after first charge value in described first moment, described method also comprises:
Record characterizes the very first time information in described first moment, makes the display unit of described electronic equipment show described very first time information while the described electricity difference of display.
Optionally, export the identification information of described first application program and described electricity difference with reminding user, specifically comprise:
Detect described display unit whether to be lit, obtain the first testing result;
When described first testing result shows that described display unit is lit, determine that described electronic equipment transfers described second duty to by described first duty, and the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit, with point out user when described first duty described in the power consumption of the first application program.
Optionally, described the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit after, described method also comprises:
Detect and whether there is alter operation, obtain the second testing result, wherein, the registration type that described alter operation is registered in described Global Timer for changing described first application program;
When described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in the first duty, described first application program cannot wake described operating system up.
The embodiment of the present application also provides a kind of electronic equipment, and this electronic equipment comprises:
First record cell, for when described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, records first charge value of described electronic equipment in described first moment;
Second record cell, for making the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
Output unit, for when described electronic equipment transfers second duty different from described first duty to by described first duty, exports the identification information of described first application program and described electricity difference with reminding user.
Optionally, described electronic equipment also comprises:
First acquiring unit, for when described electronic equipment is in described second duty, detects and obtains described first application program that registration type is timing type in real time from the Global Timer of described electronic equipment;
Second acquisition unit, for obtaining the timing cycle that described first application program is registered in described Global Timer;
First determining unit, for according to described timing cycle, determines described first moment.
Optionally, described electronic equipment also comprises:
3rd record cell, for recording described electronic equipment after first charge value in described first moment, record characterizes the very first time information in described first moment, makes the display unit of described electronic equipment show described very first time information while the described electricity difference of display.
Optionally, described output unit specifically comprises:
Whether detection sub-unit, being lit for detecting described display unit, obtaining the first testing result;
Export subelement, for when described first testing result shows that described display unit is lit, determine that described electronic equipment transfers described second duty to by described first duty, and the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit, with point out user when described first duty described in the power consumption of the first application program.
Optionally, described electronic equipment also comprises:
First detecting unit, for described the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit after, detect and whether there is alter operation, obtain the second testing result, wherein, the registration type registered in described Global Timer for changing described first application program of described alter operation;
First changing unit, for when described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in the first duty, described first application program cannot wake described operating system up.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
1, the application is under standby mode under electronic equipment is in the first duty, by obtaining first charge value in the first moment of the first application program wake operation system, and second charge value of the operating system be waken up when the first application program when entering dormant state, the first charge value obtained and electricity difference i.e. first application program of the second charge value wake operation system perform the charge value that corresponding operating consumes in stand-by mode, and then the technical matters of application program power consumption when solving that in prior art, electronic equipment cannot obtain standby, reach the technique effect of application software power consumption when obtaining standby.
2, because the standby power consumption amount of described first application program is shown by the display unit of electronic equipment by the application, and detect the selection operation stopping application software wake operation system when standby, the described registration type selecting operation to select the first application program stopped to register in Global Timer is changed to work timing type, when making electronic equipment be in standby mode, first application program cannot wake operation system, and then reduce electronic equipment standby time power consumption, reach the technique effect extending electronic equipment stand-by time, promote Consumer's Experience.
Accompanying drawing explanation
The schematic flow sheet of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
The schematic flow sheet in determination first moment that Fig. 2 provides for the embodiment of the present application one;
The block diagram of a kind of electronic equipment that Fig. 3 provides for the embodiment of the present application two.
Embodiment
In the technical scheme that the embodiment of the present application provides, when electronic equipment is in standby mode, and in the first moment that operating system is waken up by the first application program, obtain first charge value of electronic equipment in the first moment, and execute the associative operation of the first application program in operating system after, reenter the second moment of non-sleep state, obtain second charge value of electronic equipment in the second moment, the power consumption of the first application program between the first moment in moment to the second is got based on the first charge value and the second charge value, thus electronic equipment cannot obtain the technical matters of the power consumption of application software when standby in solution prior art, reach the technique effect obtaining application software standby power consumption amount.
Below in conjunction with accompanying drawing, the main of the embodiment of the present application technical scheme is realized principle, embodiment and be explained in detail the beneficial effect that should be able to reach.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and described electronic equipment comprises display unit and operating system, described operating system comprises duty and dormant state when described electronic equipment is in standby mode, and described method comprises:
S101: when described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, records first charge value of described electronic equipment in described first moment;
S102: make the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
S103: when described electronic equipment transfers second duty different from described first duty to by described first duty, exports the identification information of described first application program and described electricity difference with reminding user.
In specific implementation process, electronic equipment usual tool two class clock, the first kind is real-time clock RTC(Real-Time Clock) clock circuit that is made up of the crystal oscillator on electronic equipment PC mainboard and interlock circuit provides, real-time clock RTC can be powered by reserve battery, even if system power supply is closed, it also can work on, and therefore can provide reliable system time; Equations of The Second Kind is system clock, is provided by real-time clock RTC, only just effective when system cloud gray model.Electronic equipment be in standby mode that is the first duty time, state is made except operating system when critical processes is run without other programs enters sleep in electronic equipment backstage, now system clock is invalid, third party application cannot run, third party application is in order to run when electronic equipment is in standby mode for this reason, needs registration type in Global Timer AlarmManager is the alarm clock of timing type in real time, to pass through real-time clock RTC wake operation system when timing cycle arrives, make operating system third party application, perform the corresponding operating of third party application, now greatly can increase the electric quantity consumption of electronic equipment.
In order to obtain the information about power of third-party application software consumes in stand-by mode, the application performs S101 under electronic equipment is in standby mode: in the first moment of the first application program wake operation system, records first charge value of described electronic equipment in described first moment.
Such as, mobile phone enters standby mode at 14:20:00, the operating system of mobile phone also enters dormant state thereupon, because the first application program QQ before entering standby mode at mobile phone runs, and in the Global Timer of mobile phone, have registered the alarm clock of timing type in real time, its alarm clock cycle is 30s, so at 14:20:30 real-time clock TRC by wake operation system, operating system is reruned, but now the display screen of mobile phone can't be lit, user cannot know that operating system has been waken up and will have performed the operations such as the reception network information of QQ, therefore mobile phone is then at the first moment 14:20:30 that operating system is waken up by the first application program QQ, first charge value 70% of record mobile phone, namely information about power during the first application program QQ off-duty.
Execute after S101 gets the first charge value at electronic equipment, continue to perform S102: make the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value.
Because in stand-by mode, first application program is by real-time clock RTC wake operation system, operating system is made to perform the associative operation of the first application program, after completing its associative operation, trigger action system is reentered dormant state by the first application program, so reenter the second moment of dormant state in the operating system be waken up, second charge value of recorded electronic equipment, such as, in the first moment 14:20:30 first application program QQ wake operation system, complete associative operation trigger action system at the second moment 14:20:35 first application program QQ and reenter dormant state, the second charge value 69.8% of mobile phone is so recorded at 14:20:35, and obtain the electricity difference 0.2% of the first charge value and the second charge value.Continue to perform S103 after getting electricity difference.
S103: when described electronic equipment transfers second duty different from described first duty to by described first duty, exports the identification information of described first application program and described electricity difference with reminding user.
Concrete, the second duty is that the operating system of electronic equipment is run comprehensively and can run the state of each application program, no matter now whether third-party application software is registered global clock and all can be run in the operating system of electronic equipment.When electronic equipment transfers the second duty to from the first duty, export the identification information of described first application program and described electricity difference with reminding user.Such as: the first charge value getting mobile phone at the first moment 14:20:30 is 70%, the second charge value getting mobile phone at the second moment 14:20:35 is 69.8%, obtain the difference 0.2% of the first charge value 70% and the second charge value 69.8%, and when mobile phone enters the second duty, the identification information QQ of the electricity 0.2% the first application program consumed between the first moment in moment to the second and the first application program shows on a display of the handset, the power consumption condition of QQ during to point out user mobile phone standby, so that the reason that when user clearly can know cell phone standby, power consumption increases.
In specific implementation process, in order to reduce the power consumption of electronic equipment, avoiding operating system described in real-time judge whether to be waken up by the first application program, please refer to Fig. 2, recording described electronic equipment before first charge value in described first moment, the application also provides following steps:
S201: when described electronic equipment is in the second duty, detects and obtains described first application program that registration type is timing type in real time from the Global Timer of described electronic equipment.Such as, registering Type in electronic equipment in Global Timer AlarmManager as 0 or 2 represents that the registration type of application software is for real-time timing type, so when electronic equipment is in mode of operation, then obtain in Global Timer AlarmManager register Type as 0 or 2 application software, suppose that Type that application software QQ and micro-letter register is as 0 or 2, so then acquisition QQ and micro-letter are described first application program, and when getting described application software, perform S202.
S202: obtain the timing cycle that described first application program is registered in described Global Timer.Concrete, because each application software is when registering Global Timer, the timing cycle of all corresponding registration oneself, so can get the registration period of the first application program from the corresponding registration entries of Global Timer AlarmManager.Such as: suppose that the first application program got in S202 is QQ and micro-letter, wherein the timing cycle registered in Global Timer of QQ is as 30s, the timing cycle registered in Global Timer of micro-letter is as 40s, so the electronic equipment then corresponding timing cycle obtaining QQ: the timing cycle 40s of 30s, micro-letter.After getting described timing cycle, perform S204.
S203: based on described timing cycle, determines described first moment.Concrete, can receive make electronic equipment enter the standby command of holding state time, described first moment is determined according to the 3rd moment of current reception standby command and described timing cycle, such as: electronic equipment receives standby command at 14:20:00, the first moment so determining QQ wake operation system is 14:20:30,14:21:00,14:21:30 etc., determines that the first moment of micro-letter wake operation system is 14:20:40,14:21:20,14:22:00 etc.
After determining described first moment by above-mentioned steps acquisition, before electronic equipment is not converted to mode of operation from standby mode, repeat S101 ~ S103 when each first moment arrives.
In specific implementation process, in order to provide more detailed power consumption information to user, at the described electronic equipment of described acquisition after first charge value in described first moment, also record characterizes the very first time information in described first moment, makes described display unit show described very first time information while the described first power consumption information of display.
In order to when electronic equipment is in the second duty, show described first power consumption information and the very first time information of the first application program, specifically can after current differential between described first moment to described second moment of the first application program in the described electronic equipment of described acquisition and power consumption information, detect described display unit whether to be lit, obtain the first testing result.Wherein, described first testing result has two kinds: the first: the display unit of electronic equipment is not lit, and namely electronic equipment is still in standby mode, does not now carry out display operation; The second: the display unit of electronic equipment is lit, namely electronic equipment is converted to mode of operation from standby mode, now by the title of described first application program, described very first time information and described first power consumption information displaying on described display unit, with point out user when holding state described in the power consumption of the first application program.
Concrete, during electronic equipment is in standby mode, described first application program repeatedly wake operation system, namely described first moment and the first power consumption information have multiple, in order to the terseness shown, when showing described very first time information and the first power consumption information, specifically can show the very first time information and wake-up period that start wake operation system, the summation of power consumption in wake-up times and all first power consumption information, such as: when standby mode, QQ every 30s wake operation system has once waken 15 times up altogether, wakeup time is 14:20:30 for the first time, the summation of power consumption is 3%, micro-letter each 40s wake operation system has once waken 11 times up altogether, wakeup time is 14:20:40 for the first time, the total amount of power consumption is 2%, so when electronic equipment is in mode of operation, showing standby consumption information is on the display unit: " QQ14:20:30/30s3%, micro-letter 14:20:40/40s2% ".
In order to reduce the power consumption of electronic equipment in stand-by time, the application described by after the title of described first application program, described very first time information and described first power consumption information displaying are on described display unit, also whether detection exists alter operation further, obtain the second testing result, wherein, the registration type registered in described Global Timer for changing described first application program of described alter operation; When described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in standby mode, described first application program cannot be waken described operating system up and enter described duty.
Such as: at first application program of electronic equipment by power consumption time standby: QQ, after micro-letter is presented at display screen, user thinks that QQ there is no need standby operation, so touch-control changes the change button of QQ registration type, so electronic equipment is then when described alter operation being detected, the type registered in Global Timer by QQ changes to work timing type, as Type position being set to the numeral except 0 and 2, like this when electronic equipment enters standby mode again, QQ software wake operation system cannot enter duty, now the power consumption of electronic equipment will reduce greatly.
The application is under standby mode under electronic equipment is in the first duty, by obtaining first charge value in the first moment of the first application program wake operation system, and second charge value of the operating system be waken up when the first application program when entering dormant state, the first charge value obtained and electricity difference i.e. first application program of the second charge value wake operation system perform the charge value that corresponding operating consumes in stand-by mode, and then the technical matters of application program power consumption when solving that in prior art, electronic equipment cannot obtain standby, reach the technique effect of application software power consumption when obtaining standby.
Further, because the standby power consumption amount of described first application program is shown by the display unit of electronic equipment by the application, and detect the selection operation stopping application software wake operation system when standby, the described registration type selecting operation to select the first application program stopped to register in Global Timer is changed to work timing type, when making electronic equipment be in standby mode, first application program cannot wake operation system, and then reduce electronic equipment standby time power consumption, reach the technique effect extending electronic equipment stand-by time, promote Consumer's Experience.
Embodiment two
Please refer to Fig. 3, the embodiment of the present application provides a kind of electronic equipment, and this electronic equipment comprises:
First record cell 301, for when described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, records first charge value of described electronic equipment in described first moment;
Second record cell 302, for making the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
Output unit 303, for when described electronic equipment transfers second duty different from described first duty to by described first duty, exports the identification information of described first application program and described electricity difference with reminding user.
Concrete, in order to determine described first moment further, described electronic equipment also provides:
First acquiring unit 304, for when described electronic equipment is in described second duty, detects and obtains described first application program that registration type is timing type in real time from the Global Timer of described electronic equipment;
Second acquisition unit 305, for obtaining the timing cycle that described first application program is registered in described Global Timer;
First determining unit 306, for according to described timing cycle, determines described first moment.
In specific implementation process, in order to provide the temporal information of the first application program wake operation system to user, described electronic equipment also provides:
3rd record cell 307, for recording described electronic equipment after first charge value in described first moment, record characterizes the very first time information in described first moment, makes the display unit of described electronic equipment show described very first time information while the described electricity difference of display.
In order to when electronic equipment is in mode of operation, by the power consumption information displaying of the first application program on the display unit of electronic equipment, described output unit 303 specifically comprises:
Whether detection sub-unit, being lit for detecting described display unit, obtaining the first testing result;
Export subelement, for when described first testing result shows that described display unit is lit, determine that described electronic equipment transfers described second duty to by described first duty, and the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit, with point out user when described first duty described in the power consumption of the first application program.
In specific implementation process, in order to reduce the power consumption of electronic equipment when standby mode, extend the standby time of electronic equipment, described electronic equipment also provides:
First detecting unit 308, for described the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit after, detect and whether there is alter operation, obtain the second testing result, wherein, the registration type registered in described Global Timer for changing described first application program of described alter operation;
First changing unit 309, for when described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in the first duty, described first application program cannot wake described operating system up.
Due to the virtual bench that the electronic equipment in the present embodiment is corresponding with method, so its concrete course of work has just no longer been specifically described.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
1, the application is under standby mode under electronic equipment is in the first duty, by obtaining first charge value in the first moment of the first application program wake operation system, and second charge value of the operating system be waken up when the first application program when entering dormant state, the first charge value obtained and electricity difference i.e. first application program of the second charge value wake operation system perform the charge value that corresponding operating consumes in stand-by mode, and then the technical matters of application program power consumption when solving that in prior art, electronic equipment cannot obtain standby, reach the technique effect of application software power consumption when obtaining standby.
2, because the standby power consumption amount of described first application program is shown by the display unit of electronic equipment by the application, and detect the selection operation stopping application software wake operation system when standby, the described registration type selecting operation to select the first application program stopped to register in Global Timer is changed to work timing type, when making electronic equipment be in standby mode, first application program cannot wake operation system, and then reduce electronic equipment standby time power consumption, reach the technique effect extending electronic equipment stand-by time, promote Consumer's Experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. an information processing method, is applied to electronic equipment, and described method comprises:
When described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, record first charge value of described electronic equipment in described first moment;
Make the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
When described electronic equipment transfers second duty different from described first duty to by described first duty, export the identification information of described first application program and described electricity difference with reminding user.
2. the method for claim 1, is characterized in that, recording described electronic equipment before first charge value in described first moment, described method also comprises:
When described electronic equipment is in described second duty, detects from the Global Timer of described electronic equipment and obtain described first application program that registration type is timing type in real time;
Obtain the timing cycle that described first application program is registered in described Global Timer;
Based on described timing cycle, determine described first moment.
3. method as claimed in claim 2, it is characterized in that, recording described electronic equipment after first charge value in described first moment, described method also comprises:
Record characterizes the very first time information in described first moment, makes the display unit of described electronic equipment show described very first time information while the described electricity difference of display.
4. method as claimed in claim 3, is characterized in that, exports the identification information of described first application program and described electricity difference with reminding user, specifically comprises:
Detect described display unit whether to be lit, obtain the first testing result;
When described first testing result shows that described display unit is lit, determine that described electronic equipment transfers described second duty to by described first duty, and the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit, with point out user when described first duty described in the power consumption of the first application program.
5. method as claimed in claim 4, is characterized in that, described the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit after, described method also comprises:
Detect and whether there is alter operation, obtain the second testing result, wherein, the registration type that described alter operation is registered in described Global Timer for changing described first application program;
When described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in the first duty, described first application program cannot wake described operating system up.
6. an electronic equipment, this electronic equipment comprises:
First record cell, for when described electronic equipment is in the first duty, in the first moment of the first application program wake operation system, records first charge value of described electronic equipment in described first moment;
Second record cell, for making the described operating system be waken up enter the second moment of dormant state in described first application program, record second charge value of described electronic equipment in described second moment, and obtain the electricity difference of described first charge value and described second charge value;
Output unit, for when described electronic equipment transfers second duty different from described first duty to by described first duty, exports the identification information of described first application program and described electricity difference with reminding user.
7. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
First acquiring unit, for when described electronic equipment is in described second duty, detects and obtains described first application program that registration type is timing type in real time from the Global Timer of described electronic equipment;
Second acquisition unit, for obtaining the timing cycle that described first application program is registered in described Global Timer;
First determining unit, for according to described timing cycle, determines described first moment.
8. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment also comprises:
3rd record cell, for recording described electronic equipment after first charge value in described first moment, record characterizes the very first time information in described first moment, makes the display unit of described electronic equipment show described very first time information while the described electricity difference of display.
9. electronic equipment as claimed in claim 8, it is characterized in that, described output unit specifically comprises:
Whether detection sub-unit, being lit for detecting described display unit, obtaining the first testing result;
Export subelement, for when described first testing result shows that described display unit is lit, determine that described electronic equipment transfers described second duty to by described first duty, and the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit, with point out user when described first duty described in the power consumption of the first application program.
10. electronic equipment as claimed in claim 9, it is characterized in that, described electronic equipment also comprises:
First detecting unit, for described the described identification information of described first application program, described very first time information and described electricity difference are presented on described display unit after, detect and whether there is alter operation, obtain the second testing result, wherein, the registration type registered in described Global Timer for changing described first application program of described alter operation;
First changing unit, for when described second testing result shows to there is described alter operation, respond described alter operation and the registration type of described first application program in described Global Timer is changed to work timing type, when making electronic equipment be in the first duty, described first application program cannot wake described operating system up.
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 true CN104375929A (en) 2015-02-25
CN104375929B 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)

Cited By (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
CN105467329A (en) * 2016-01-25 2016-04-06 上海斐讯数据通信技术有限公司 Terminal endurance testing system and terminal endurance testing method
CN105514924A (en) * 2015-12-14 2016-04-20 广东欧珀移动通信有限公司 Terminal equipment electric leakage protection method and device
CN108009068A (en) * 2017-11-30 2018-05-08 广东欧珀移动通信有限公司 Information recording method, information record carrier and intelligent terminal
CN109272728A (en) * 2018-09-05 2019-01-25 云丁智能科技(北京)有限公司 A kind of electric quantity managing method and device
CN110032398A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040132501A1 (en) * 2000-12-08 2004-07-08 Intel Corporation Special battery reserve of portable electronic devices for emergency use
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040132501A1 (en) * 2000-12-08 2004-07-08 Intel Corporation Special battery reserve of portable electronic devices for emergency use
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

Cited By (9)

* 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
CN105514924A (en) * 2015-12-14 2016-04-20 广东欧珀移动通信有限公司 Terminal equipment electric leakage protection method and device
CN105467329A (en) * 2016-01-25 2016-04-06 上海斐讯数据通信技术有限公司 Terminal endurance testing system and terminal endurance testing method
CN108009068A (en) * 2017-11-30 2018-05-08 广东欧珀移动通信有限公司 Information recording method, information record carrier and intelligent terminal
CN108009068B (en) * 2017-11-30 2021-03-02 Oppo广东移动通信有限公司 Information recording method, information recording device and intelligent terminal
CN110032398A (en) * 2018-01-12 2019-07-19 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN110032398B (en) * 2018-01-12 2022-04-12 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
CN109272728A (en) * 2018-09-05 2019-01-25 云丁智能科技(北京)有限公司 A kind of electric quantity managing method and device

Also Published As

Publication number Publication date
CN104375929B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN104375929A (en) Method for processing information and electronic equipment
CN104166542A (en) Method and device for detecting electricity consumption of application
CN103501390B (en) Mobile terminal with reminding function and reminding realization method thereof
CN110908496A (en) System interaction method and wearable device
CN106569921B (en) A kind of metering core clock processing method and processing device of twin-core intelligent electric energy meter
CN103619056A (en) Method and terminal for reporting sensor data
CN103218033A (en) Method and device for waking up hardware equipment
CN106383767A (en) Charging prompting method and device
CN104461327A (en) Information processing method and electronic device
CN112530056A (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
CN104184884A (en) Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN105528171A (en) Method and system for quickly starting application of intelligent terminal, and intelligent terminal
CN106304292A (en) A kind of application message based reminding method and terminal
CN103902011A (en) Electronic device controlling method and electronic device
CN104808761A (en) Power supply method, power supply system and electronic equipment
CN105373210A (en) Power saving method and device and electronic equipment
CN103024183A (en) Method and system for awakening mobile phone
CN101291487A (en) MP3 playing method with low energy consumption on mobile phone
CN106648021A (en) Data broadcasting method of low-power-consumption circuit and low-power-consumption circuit
CN104023147A (en) Method and system for facilitating stable dormancy of mobile terminal
CN112235742A (en) Gas meter with NB-IoT communication module embedded with program and data processing method
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
CN103631356B (en) A kind of method and electronic equipment of economize on electricity
CN103105920A (en) Energy-saving system and energy-saving method

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