CN108009068A - Information recording method, information record carrier and intelligent terminal - Google Patents

Information recording method, information record carrier and intelligent terminal Download PDF

Info

Publication number
CN108009068A
CN108009068A CN201711242941.6A CN201711242941A CN108009068A CN 108009068 A CN108009068 A CN 108009068A CN 201711242941 A CN201711242941 A CN 201711242941A CN 108009068 A CN108009068 A CN 108009068A
Authority
CN
China
Prior art keywords
power consumption
intelligent terminal
information
power
power supply
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
CN201711242941.6A
Other languages
Chinese (zh)
Other versions
CN108009068B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711242941.6A priority Critical patent/CN108009068B/en
Publication of CN108009068A publication Critical patent/CN108009068A/en
Application granted granted Critical
Publication of CN108009068B publication Critical patent/CN108009068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

This application provides a kind of information recording method, information record carrier, intelligent terminal and computer-readable recording medium, which includes:Whether the output power for detecting any power supply module of intelligent terminal changes;If the output power of any power supply module of the intelligent terminal changes, the real-time power consumption of the intelligent terminal is obtained, wherein, the power consumption is equal to the sum of output power of each power supply module of the intelligent terminal;Power consumption generation power consumption information based on the intelligent terminal got, wherein, the power consumption information includes the power consumption data for indicating the power consumption;Record the power consumption information.Technical scheme is conducive to related personnel and more accurate power consumption analysis is made to intelligent terminal.

Description

Information recording method, information record carrier and intelligent terminal
Technical field
The application belongs to intelligent terminal technical field, more particularly to a kind of information recording method, information record carrier, intelligence Terminal and computer-readable recording medium.
Background technology
With the fast development of intelligent terminal, the function of intelligent terminal is also increasingly abundanter.At the same time, intelligent terminal Power problems also become increasingly conspicuous, such as the stand-by time of intelligent terminal is short, cruising ability is poor etc., this also becomes obstruction intelligence eventually The obstacle that end industry further develops.
For the power consumption of Intelligent Optimal terminal, the research to intelligent terminal power consumption is increasingly becoming grinding for academia and industrial quarters Study carefully hot spot.
At present, the research to intelligent terminal power consumption be the electricity percentage based on intelligent terminal battery change information into OK, however, since battery percentage electric quantity change is slower, and the factor such as the device temperature of intelligent terminal, device aging Influence can cause battery electricity percentage change information and actual electricity percentage change difference, therefore, base In the change information of the percentage electricity of intelligent terminal battery, related technical personnel are difficult to make intelligent terminal accurate power consumption Analysis.
The content of the invention
In view of this, can this application provides a kind of information recording method, information record carrier, intelligent terminal and computer Storage medium is read, is conducive to related personnel and more accurate power consumption analysis is made to intelligent terminal.
The first aspect of the embodiment of the present application provides a kind of information recording method, including:
Whether the output power for detecting any power supply module of intelligent terminal changes;
If the output power of any power supply module of the intelligent terminal changes, it is real-time to obtain the intelligent terminal Power consumption, wherein, the power consumption is equal to the sum of output power of each power supply module of the intelligent terminal;
Power consumption generation power consumption information based on the intelligent terminal got, wherein, the power consumption information includes Indicate the power consumption data of the power consumption;
Record the power consumption information.
It is described to record the power consumption information and be based on the application in a first aspect, in the first possible implementation:With The form of daily record records the power consumption information.
The first possible implementation based on the application first aspect, in second of possible implementation, institute Power consumption information is stated to further include:The acquisition time of power consumption indicated by power consumption data;
It is described the power consumption information is recorded in the form of daily record after, further include:
Receive daily record and check instruction;
In the case where the instruction of instruction is checked in the daily record, the power consumption information that is recorded in the daily record checked based on this, with curve Form show each acquisition time corresponding power consumption data.
Based on the application in a first aspect, either the first possible implementation of the application first aspect or this Shen Please first aspect second of possible implementation, it is described based on the institute got in the third possible implementation Stating the power consumption generation power consumption information of intelligent terminal includes:
Based on default magnitude of voltage, the power consumption of the intelligent terminal got is converted into power consumption electric current;
Generation includes the power consumption information of the power consumption electric current.
Based on the application in a first aspect, either the first possible implementation of the application first aspect or this Shen Please first aspect second of possible implementation, in the 4th kind of possible implementation, the detection intelligent terminal The output power of any power supply module whether change for:
If the power consumption detection function of intelligent terminal has turned on, the output of any power supply module of the intelligent terminal is detected Whether power changes.
The application second aspect provides a kind of information record carrier, including:
Detection unit, for detecting whether the output power of any power supply module of intelligent terminal changes;
Acquiring unit, for detecting that the output power of any power supply module of intelligent terminal occurs when the detection unit During change, the real-time power consumption of the intelligent terminal is obtained, wherein, the power consumption is equal to each of the intelligent terminal The sum of output power of power supply module;
Generation unit, for the power consumption generation power consumption letter of the intelligent terminal got based on the acquiring unit Breath, wherein, the power consumption information includes the power consumption data for indicating the power consumption;
Recording unit, for recording the power consumption information of the generation unit generation.
Based on the application second aspect, in the first possible implementation, the recording unit is specifically used for:With day The form of will records the power consumption information of the generation unit generation.
The first possible implementation based on the application second aspect, in second of possible implementation, institute Power consumption information is stated to further include:The acquisition time of power consumption indicated by power consumption data;
Described information tape deck further includes:
Receiving unit, instruction is checked for receiving daily record;
Display unit, under checking the instruction of instruction in the daily record, the consumption that is recorded in the daily record checked based on this Power information, shows corresponding power consumption data of each acquisition time in graph form.
Based on the application second aspect, the either possible implementation of the first of the application second aspect or this Shen Please second aspect second of possible implementation, in the third possible implementation, the generation unit is specifically used In:Based on default magnitude of voltage, the power consumption for the intelligent terminal that the acquiring unit is got is converted into power consumption electricity Stream;Generation includes the power consumption information of the power consumption electric current.
Based on the application second aspect, the either possible implementation of the first of the application second aspect or this Shen Please second aspect second of possible implementation, in the 4th kind of possible implementation, the detection unit is described The power consumption detection function of intelligent terminal triggers in the state of having turned on.
The application third aspect provides a kind of intelligent terminal, including memory, and processor and storage are on a memory and can The computer program run on a processor, above-mentioned processor realized when performing above computer program above-mentioned first aspect or The information recording method referred in any possible implementation of above-mentioned first aspect.
The application fourth aspect provides a kind of computer-readable recording medium, is stored with the computer-readable recording medium Computer program, above computer program realize any of above-mentioned first aspect or above-mentioned first aspect when being executed by processor The information recording method referred in possible implementation.
The aspect of the application the 5th provides a kind of computer program product, and the computer program product includes computer journey Sequence, the computer program realize times of above-mentioned first aspect or above-mentioned first aspect when being executed by one or more processors The information recording method referred in one possible implementation.
Therefore application scheme is by detecting whether the output power of any power supply module of intelligent terminal becomes Change, when the output power of any power supply module of intelligent terminal changes, obtain the real-time power consumption of the intelligent terminal And power consumption information is generated, the power consumption information is recorded afterwards.Since the acquisition, generation and record of power consumption information are in intelligent terminal The output power of any power supply module triggers when changing, accordingly, with respect to the change information of the electricity percentage of battery, sheet The power consumption information of application record possesses stronger real-time, also, since the power consumption of acquisition is equal to each of intelligent terminal The sum of output power of power supply module, accordingly, with respect to the change information of the electricity percentage of battery, is given birth to based on power consumption Into power consumption information can more reflect the electricity consumption condition of intelligent terminal so that be conducive to related personnel be based on power consumption information to intelligent end Make more accurate power consumption analysis in end.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical solution in the embodiment of the present application Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is information recording method one embodiment flow diagram that the application provides;
Fig. 2 is a kind of software frame schematic diagram that can be used to realize the information recording method shown in Fig. 1 that the application provides;
Fig. 3 is another software frame that can be used to realize the information recording method shown in Fig. 1 signal that the application provides Figure;
Fig. 4 is information record carrier one embodiment structure diagram that the application provides;
Fig. 5 is intelligent terminal one embodiment structure diagram that the application provides.
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present application.However, it will be clear to one skilled in the art that these are specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in following methods embodiment, respectively The execution sequence of process should determine that the implementation process without tackling each embodiment forms any limit with its function and internal logic It is fixed.
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
Embodiment one
The embodiment of the present application provides a kind of information recording method, which can be applied to information record carrier In, which can be independent equipment, alternatively, information record carrier can also be integrated in intelligent terminal (such as Smart mobile phone, tablet computer, wearable device etc.) in.Optionally, equipment or the intelligent terminal institute of the information record carrier are integrated The operating system of carrying can be ios systems, Android system, windows systems or other operating systems, not limit herein It is fixed.
Referring to Fig. 1, the information recording method in the embodiment of the present application may include:
Whether step 101, the output power for any power supply module for detecting intelligent terminal change;
In the embodiment of the present application, intelligent terminal can include one or more power supply module, power supply module to for The electricity consumption of intelligent terminal provides support.For example, in a kind of application scenarios, intelligent terminal can include following three power supply mould Block:1st, ac power supply modules;2nd, usb power supply modules;3rd, battery powered module.Wherein, ac power supply modules are mainly at intelligent end Support is provided for the electricity consumption of the intelligent terminal under the scene that end passes through adaptor charge, usb power supply modules are mainly in intelligence Being under the scene that terminal is charged by Universal Serial Bus (Universal Serial Bus, USB) interface of external equipment should The electricity consumption of intelligent terminal provides support, and battery powered module is provided by the internal battery of intelligent terminal for the electricity consumption of intelligent terminal Support.Under synchronization, ac power supply modules and usb power supply modules the two power supply modules often only have one effectively, work as ac When the output power of power supply module (or usb power supply modules) is enough to provide support for the electricity consumption of intelligent terminal, ac power supply modules (or Usb power supply modules) it can also charge at the same time for the internal battery of intelligent terminal, the internal battery of the intelligent terminal is in and fills at this time Electricity condition;And when the output power deficiency of ac power supply modules (or usb power supply modules) for the electricity consumption of intelligent terminal to provide support When, it is necessary to which battery powered module for the electricity consumption of the intelligent terminal provides support at the same time, at this time at the internal battery of the intelligent terminal In discharge condition.It should be noted that when the internal battery of intelligent terminal is in discharge condition, battery powered module, ac are supplied The positive negative direction of the output power of this three of electric module and usb power supply modules is consistent, when the internal battery of intelligent terminal is in During charged state, the positive negative direction of the output power of battery powered module and the positive negative direction phase of the output power of ac power supply modules Instead, and, the positive negative direction of the output power of the battery powered module also positive negative direction phase with the output power of usb power supply modules Instead.
In a step 101, can in real time or be periodically detected intelligent terminal any power supply module output power whether Change.Alternatively, it can also just detect any power supply of the intelligent terminal after the unlatching of the power consumption detection function of intelligent terminal Whether the output power of module changes, then step 101 can specifically be shown as:If the power consumption detection function of intelligent terminal is Open, then whether the output power for detecting any power supply module of the intelligent terminal changes.Specifically, can be at intelligent end The open-close on-off of above-mentioned power consumption detection function is set in end, is detected so that user is turned on and off the power consumption by the open-close on-off Function, alternatively, user can also be turned on and off the power consumption detection function by inputting default name, does not limit herein It is fixed.
, can be by gathering the output current of each power supply module specifically, for the output power of each power supply module After output voltage, the output power of each power supply module is calculated based on the output current collected and output voltage.Passing through will Compared with the output power of the output power power supply module corresponding with what is obtained before for each power supply module being calculated, i.e., It can detect that whether the output power of any power supply module of intelligent terminal changes.
If the output power of any power supply module of step 102, above-mentioned intelligent terminal changes, above-mentioned intelligence is obtained The real-time power consumption of terminal;
Wherein, above-mentioned power consumption is equal to the sum of output power of each power supply module of above-mentioned intelligent terminal.Illustrate It is bright, if intelligent terminal can include following three power supply module:1st, ac power supply modules;2nd, usb power supply modules;3rd, battery powered mould Block.Then above-mentioned intelligence can be obtained by formula Power (system)=Power (ac)+Power (usb)+Power (battery) The energy real-time power consumption of terminal, wherein, Power (system) represents the real-time power consumption of above-mentioned intelligent terminal;Power (ac) the real-time output power of ac power supply modules is represented;Power (usb) represents the real-time output power of usb power supply modules; Power (battery) represents the real-time output power of battery powered module.It should be noted that when intelligent terminal is not in filling During electricity condition, Power (ac) and Power (usb) are 0.
Step 103, the power consumption generation power consumption information based on the above-mentioned intelligent terminal got;
Wherein, above-mentioned power consumption information includes the power consumption data for indicating above-mentioned power consumption.
In a kind of application scenarios, in step 103, it can be included based on the power consumption generation that step 102 is got The power consumption information of the power consumption, the then power consumption data that above-mentioned power consumption information is included can directly indicate power consumption.
In another application scenarios, step 103 can also include:It is above-mentioned by what is got based on default magnitude of voltage The power consumption of intelligent terminal is converted into power consumption electric current;Generation includes the power consumption information of above-mentioned power consumption electric current.Due to magnitude of voltage Know, therefore, by this power consumption data of power consumption electric current, can indicate power consumption indirectly.Specifically, it is in above-mentioned magnitude of voltage When 4 volts (i.e. 4V), above-mentioned power consumption electric current can be represented in the form of mA@4V.
Optionally, above-mentioned power consumption information can also include:The acquisition time of power consumption indicated by power consumption data.Pass through The above-mentioned acquisition time, which can be known, obtains corresponding power consumption (power consumption i.e. indicated by power consumption data) in step 102 Time.
Step 104, record above-mentioned power consumption information;
At step 104, above-mentioned power consumption information is recorded, so that related personnel can call the power consumption information to above-mentioned intelligence Terminal carries out power consumption analysis.
Optionally, step 104 is embodied in:With the above-mentioned power consumption information of the information record of daily record.For example, can be by step The power consumption information record of 103 generations is in power consumption daily record, so that related personnel can export the power consumption daily record, and based on derived Power consumption daily record carries out power consumption analysis to above-mentioned intelligent terminal.Under this implementation, can further it be set in intelligent terminal Power consumption daily record export button (such as power consumption daily record export button can be set according to following path:" setting " -->" battery " -- >" daily record " -->" daily record export "), when user clicks on " daily record export " button, power consumption daily record can be led with the file format of acquiescence Go out and be stored in default store path or the store path specified in, user can deposit path and obtain power consumption day from corresponding Will, and by parsing the power consumption daily record on intelligent terminal local or miscellaneous equipment (such as personal computer), so as to based on this Power consumption daily record carries out power consumption analysis to above-mentioned intelligent terminal.
Optionally, if with the above-mentioned power consumption information of the information record of daily record, and above-mentioned power consumption information further includes:Power consumption data institute The acquisition time of the power consumption of instruction, then the information recording method in the embodiment of the present application can also include:Daily record is received to look into See instruction;In the case where the instruction of instruction is checked in above-mentioned daily record, the power consumption information that is recorded in the daily record checked based on this, with curve Form shows corresponding power consumption data of each acquisition time.By showing the corresponding power consumption of each acquisition time in graph form Data, can be more advantageous to related personnel and carry out power consumption analysis to the intelligent terminal.
Certainly, in other embodiments, above-mentioned power consumption information can also be stored in other ways, do not limited herein It is fixed.
Optionally, in the embodiment of the present application, user can also be purged power consumption information operation, to reduce power consumption letter Cease the occupancy to memory space.Specifically, power consumption information deletion button can be set, when the power consumption information deletion button is triggered When, remove the power consumption information of record.By taking the above-mentioned power consumption daily record referred to as an example, then power consumption daily record can be set in intelligent terminal Delete button (such as the power consumption daily record delete button can be set according to following path:" setting " -->" battery " -->" day Will " -->" daily record deletion "), when user clicks on " daily record deletion " button, the power consumption daily record recorded can be eliminated.
Therefore whether sent out by the output power for any power supply module for detecting intelligent terminal in the embodiment of the present application Changing, when the output power of any power supply module of intelligent terminal changes, obtains the real-time power consumption of the intelligent terminal Power simultaneously generates power consumption information, records the power consumption information afterwards.Since the acquisition, generation and record of power consumption information are at intelligent end The output power of any power supply module at end triggers when changing, and the change accordingly, with respect to the electricity percentage of battery is believed Ceasing, the power consumption information recorded in the embodiment of the present application possesses stronger real-time, also, since the power consumption of acquisition is equal to intelligence The sum of output power of each power supply module of energy terminal, accordingly, with respect to the change information of the electricity percentage of battery, is based on The power consumption information that power consumption is generated can more reflect the electricity consumption condition of intelligent terminal, so that being conducive to related personnel is based on power consumption Information makes intelligent terminal more accurate power consumption analysis.
Be provided below it is a kind of can be used to realize the software frame based on the information recording method in embodiment illustrated in fig. 1, should Software frame can as shown in Fig. 2, including:First module, the second module, the 3rd module, the 4th module, the 5th module, the 6th mould Block and the 7th module.
Wherein, the first module is mainly used for:To each power supply module of intelligent terminal, (such as the above-mentioned ac referred to powers mould Block, usb power supply modules and battery powered module) output power be acquired (can gather each power supply module output electricity Stream and output voltage, and the output current based on each power supply module and output voltage obtain the output work of each power supply module Rate), and when the output power of any power supply module changes sending power consumption change message to " status check " modules.
Second module is mainly used for:When receiving the change of power consumption message from the first module, which is disappeared Breath by the 3rd module is sent to the 4th module, to notify the output power generation of the power supply module of the 4th module intelligent terminal Change.
4th module is mainly used for:When receiving the change of power consumption message from the 3rd module, pass through the 7th module (example Such as sysfs interfaces) gather the real-time output current of each power supply module of intelligent terminal and output voltage, and based on collecting The real-time output current of each power supply module and output voltage calculate the real-time power consumption of the intelligent terminal.Further, will consume The power consumption data that electrical power consumed conversion is unit mA 4V, the power consumption information of the power consumption data is included with generation.The power consumption is believed upwards Breath passes to the 5th module.
5th module is mainly used for:When receiving the power consumption information from the 4th module, power consumption information is pushed to Six modules.
6th module is mainly used for:When receiving the power consumption information from the 5th module, which is being consumed In electric daily record.
It should be noted that above-mentioned software frame is only a kind of signal, information recording method in embodiment illustrated in fig. 1 It can be realized by other software frames, for example, in fig. 2, the second module can also receive the power consumption from the first module During change message, the real-time output current of each power supply module of intelligent terminal and output voltage are gathered in the lump, then uniform packing The 4th module is sent to by the 3rd module afterwards.Like this, the 4th module need not can be adopted by the 7th module again Collect the real-time output current of each power supply module and output voltage, the software frame after adjustment can be as shown in Figure 3.
Embodiment two
The embodiment of the present application provides a kind of information record carrier, as shown in figure 4, the information record dress in the embodiment of the present application Putting 400 includes:
Detection unit 41, for detecting whether the output power of any power supply module of intelligent terminal changes;
Acquiring unit 42, for detecting that the output power of any power supply module of intelligent terminal occurs when detection unit 41 During change, the real-time power consumption of the intelligent terminal is obtained, wherein, the power consumption is equal to each of the intelligent terminal The sum of output power of power supply module;
Generation unit 43, for the power consumption generation power consumption letter of the intelligent terminal got based on acquiring unit 42 Breath, wherein, the power consumption information includes the power consumption data for indicating the power consumption;
Recording unit 44, the power consumption information generated for record generation unit 43.
Optionally, recording unit 44 is specifically used for:The power consumption information that record generation unit 43 generates in the form of daily record.
Optionally, the power consumption information further includes:The acquisition time of power consumption indicated by power consumption data;
Information record carrier in the embodiment of the present application further includes:Receiving unit, instruction is checked for receiving daily record;Display Unit, under checking the instruction of instruction in the daily record, the power consumption information that is recorded in the daily record checked based on this, with curve Form show each acquisition time corresponding power consumption data.
Optionally, generation unit 43 is specifically used for:Based on default magnitude of voltage, the intelligence that acquiring unit 42 is got The power consumption of energy terminal is converted into power consumption electric current;Generation includes the power consumption information of the power consumption electric current.
Optionally, detection unit 41 triggers in the state of the power consumption detection function of the intelligent terminal is in and has turned on.
It should be noted that the information record carrier in the embodiment of the present application can be independent equipment, alternatively, information is remembered Recording device can also be integrated in intelligent terminal (such as smart mobile phone, tablet computer, wearable device etc.).Optionally, integrate The operating system that the equipment or intelligent terminal of the information record carrier are carried can be ios systems, Android system, Windows systems or other operating systems, are not construed as limiting herein.
Therefore whether sent out by the output power for any power supply module for detecting intelligent terminal in the embodiment of the present application Changing, when the output power of any power supply module of intelligent terminal changes, obtains the real-time power consumption of the intelligent terminal Power simultaneously generates power consumption information, records the power consumption information afterwards.Since the acquisition, generation and record of power consumption information are at intelligent end The output power of any power supply module at end triggers when changing, and the change accordingly, with respect to the electricity percentage of battery is believed Ceasing, the power consumption information recorded in the embodiment of the present application possesses stronger real-time, also, since the power consumption of acquisition is equal to intelligence The sum of output power of each power supply module of energy terminal, accordingly, with respect to the change information of the electricity percentage of battery, is based on The power consumption information that power consumption is generated can more reflect the electricity consumption condition of intelligent terminal, so that being conducive to related personnel is based on power consumption Information makes intelligent terminal more accurate power consumption analysis.
Embodiment three
The embodiment of the present application provides a kind of intelligent terminal, referring to Fig. 5, the intelligent terminal in the embodiment of the present application includes: Memory 501, one or more processors 502 (one is only shown in Fig. 5) and is stored on memory 501 and can be in processor The computer program of upper operation.Wherein:Memory 501 is used to store software program and module, and processor 502 is deposited by operation The software program and unit in memory 501 are stored up, so as to perform various functions application and data processing.Specifically, handle Device 502 realizes following steps when being stored in the above computer program of memory 501 by operation:
Whether the output power for detecting any power supply module of intelligent terminal changes;
If the output power of any power supply module of the intelligent terminal changes, it is real-time to obtain the intelligent terminal Power consumption, wherein, the power consumption is equal to the sum of output power of each power supply module of the intelligent terminal;
Power consumption generation power consumption information based on the intelligent terminal got, wherein, the power consumption information includes Indicate the power consumption data of the power consumption;
Record the power consumption information.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is described to record the power consumption information and be:The power consumption information is recorded in the form of daily record.
It is described in the third the possible embodiment provided based on above-mentioned second possible implementation Power consumption information further includes:The acquisition time of power consumption indicated by power consumption data;
After the power consumption information is recorded in the form of daily record, processor 502 is stored in memory 501 by operation Following steps are also realized during above computer program:
Receive daily record and check instruction;
In the case where the instruction of instruction is checked in the daily record, the power consumption information that is recorded in the daily record checked based on this, with curve Form show each acquisition time corresponding power consumption data.
In the first above-mentioned possible implementation, either above-mentioned second possible implementation or it is above-mentioned the third It is described based on the intelligence got in the 4th kind of possible embodiment provided based on possible implementation The power consumption generation power consumption information of terminal includes:
Based on default magnitude of voltage, the power consumption of the intelligent terminal got is converted into power consumption electric current;
Generation includes the power consumption information of the power consumption electric current.
In the first above-mentioned possible implementation, either above-mentioned second possible implementation or it is above-mentioned the third In the 5th kind of possible embodiment provided based on possible implementation, any confession of the detection intelligent terminal The output power of electric module whether change for:
If the power consumption detection function of intelligent terminal has turned on, the output of any power supply module of the intelligent terminal is detected Whether power changes.
Optionally, as shown in figure 5, above-mentioned intelligent terminal may also include:One or more input equipments 503 (only show in Fig. 5 Go out one) and one or more output equipments 504 (one is only shown in Fig. 5).Memory 501, processor 502, input equipment 503 and output equipment 504 connected by bus 505.
It should be appreciated that in the embodiment of the present application, alleged processor 502 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 503 can include keyboard, Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and The directional information of fingerprint), microphone etc., output equipment 504 can include display, loudspeaker etc..
Memory 504 can include read-only storage and random access memory, and provide instruction sum number to processor 501 According to.Part or all of memory 504 can also include nonvolatile RAM.For example, memory 504 may be used also With the information of storage device type.
Therefore whether sent out by the output power for any power supply module for detecting intelligent terminal in the embodiment of the present application Changing, when the output power of any power supply module of intelligent terminal changes, obtains the real-time power consumption of the intelligent terminal Power simultaneously generates power consumption information, records the power consumption information afterwards.Since the acquisition, generation and record of power consumption information are at intelligent end The output power of any power supply module at end triggers when changing, and the change accordingly, with respect to the electricity percentage of battery is believed Ceasing, the power consumption information recorded in the embodiment of the present application possesses stronger real-time, also, since the power consumption of acquisition is equal to intelligence The sum of output power of each power supply module of energy terminal, accordingly, with respect to the change information of the electricity percentage of battery, is based on The power consumption information that power consumption is generated can more reflect the electricity consumption condition of intelligent terminal, so that being conducive to related personnel is based on power consumption Information makes intelligent terminal more accurate power consumption analysis.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of above device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-described embodiment side All or part of flow in method, can also instruct relevant hardware to complete, above-mentioned computer by computer program Program can be stored in a computer-readable recording medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, above computer program includes computer program code, and above computer program code can Think source code form, object identification code form, executable file or some intermediate forms etc..Above computer computer-readable recording medium can be with Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, the light of above computer program code can be carried Disk, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above computer The content that computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as In some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electric carrier signal and telecommunications letter Number.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical solution of the application, should all Within the protection domain of the application.

Claims (10)

  1. A kind of 1. information recording method, it is characterised in that including:
    Whether the output power for detecting any power supply module of intelligent terminal changes;
    If the output power of any power supply module of the intelligent terminal changes, obtain the intelligent terminal and consume in real time Electrical power, wherein, the power consumption is equal to the sum of output power of each power supply module of the intelligent terminal;
    Power consumption generation power consumption information based on the intelligent terminal got, wherein, the power consumption information includes instruction The power consumption data of the power consumption;
    Record the power consumption information.
  2. 2. information recording method according to claim 1, it is characterised in that described to record the power consumption information and be:With day The form of will records the power consumption information.
  3. 3. information recording method according to claim 2, it is characterised in that the power consumption information further includes:Power consumption data The acquisition time of indicated power consumption;
    It is described the power consumption information is recorded in the form of daily record after, further include:
    Receive daily record and check instruction;
    In the case where the instruction of instruction is checked in the daily record, the power consumption information that is recorded in the daily record checked based on this, with the shape of curve Formula shows corresponding power consumption data of each acquisition time.
  4. 4. information recording method according to any one of claims 1 to 3, it is characterised in that described based on the institute got Stating the power consumption generation power consumption information of intelligent terminal includes:
    Based on default magnitude of voltage, the power consumption of the intelligent terminal got is converted into power consumption electric current;
    Generation includes the power consumption information of the power consumption electric current.
  5. 5. information recording method according to any one of claims 1 to 3, it is characterised in that the detection intelligent terminal The output power of any power supply module whether change for:
    If the power consumption detection function of intelligent terminal has turned on, the output power of any power supply module of the intelligent terminal is detected Whether change.
  6. A kind of 6. information record carrier, it is characterised in that including:
    Detection unit, for detecting whether the output power of any power supply module of intelligent terminal changes;
    Acquiring unit, for detecting that the output power of any power supply module of intelligent terminal changes when the detection unit When, the real-time power consumption of the intelligent terminal is obtained, wherein, the power consumption is equal to each power supply of the intelligent terminal The sum of output power of module;
    Generation unit, the power consumption of the intelligent terminal for being got based on the acquiring unit generate power consumption information, Wherein, the power consumption information includes the power consumption data for indicating the power consumption;
    Recording unit, for recording the power consumption information of the generation unit generation.
  7. 7. information record carrier according to claim 6, it is characterised in that the recording unit is specifically used for:With daily record Form record the power consumption information of generation unit generation.
  8. 8. information record carrier according to claim 7, it is characterised in that the power consumption information further includes:Power consumption data The acquisition time of indicated power consumption;
    Described information tape deck further includes:
    Receiving unit, instruction is checked for receiving daily record;
    Display unit, under checking the instruction of instruction in the daily record, the power consumption recorded in the daily record checked based on this is believed Breath, shows corresponding power consumption data of each acquisition time in graph form.
  9. 9. a kind of intelligent terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 5 when performing the computer program The step of any one the method.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 the method.
CN201711242941.6A 2017-11-30 2017-11-30 Information recording method, information recording device and intelligent terminal Active CN108009068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711242941.6A CN108009068B (en) 2017-11-30 2017-11-30 Information recording method, information recording device and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711242941.6A CN108009068B (en) 2017-11-30 2017-11-30 Information recording method, information recording device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN108009068A true CN108009068A (en) 2018-05-08
CN108009068B CN108009068B (en) 2021-03-02

Family

ID=62055447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711242941.6A Active CN108009068B (en) 2017-11-30 2017-11-30 Information recording method, information recording device and intelligent terminal

Country Status (1)

Country Link
CN (1) CN108009068B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214379A (en) * 2020-10-29 2021-01-12 英业达科技有限公司 Power supply monitoring system and method thereof
CN112684360A (en) * 2020-12-15 2021-04-20 闻泰通讯股份有限公司 Charging test method, device, terminal and storage medium
WO2021077260A1 (en) * 2019-10-21 2021-04-29 深圳市欢太科技有限公司 Power consumption information processing method, device, electronic apparatus and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN102496972A (en) * 2011-11-18 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Terminal and management method of state of battery
CN104375929A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Method for processing information and electronic equipment
US20150156307A1 (en) * 2013-11-29 2015-06-04 Samsung Electronics Co., Ltd. Mobile terminal and method for managing power thereof
CN105738831A (en) * 2016-04-22 2016-07-06 广东小天才科技有限公司 Battery electric quantity monitoring method and device of mobile terminal
CN106534437A (en) * 2016-10-20 2017-03-22 上海斐讯数据通信技术有限公司 System and method for testing power consumption of mobile terminal
CN106911537A (en) * 2017-04-19 2017-06-30 深圳天珑无线科技有限公司 Information collecting method and information collecting device
KR101781164B1 (en) * 2016-09-08 2017-09-22 진이진 System for managing energy of production spot using control server and method therefor
CN107291603A (en) * 2017-06-22 2017-10-24 广东欧珀移动通信有限公司 Power consumption daily record analytic method, device, mobile terminal and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN102496972A (en) * 2011-11-18 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Terminal and management method of state of battery
CN104375929A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Method for processing information and electronic equipment
US20150156307A1 (en) * 2013-11-29 2015-06-04 Samsung Electronics Co., Ltd. Mobile terminal and method for managing power thereof
CN105738831A (en) * 2016-04-22 2016-07-06 广东小天才科技有限公司 Battery electric quantity monitoring method and device of mobile terminal
KR101781164B1 (en) * 2016-09-08 2017-09-22 진이진 System for managing energy of production spot using control server and method therefor
CN106534437A (en) * 2016-10-20 2017-03-22 上海斐讯数据通信技术有限公司 System and method for testing power consumption of mobile terminal
CN106911537A (en) * 2017-04-19 2017-06-30 深圳天珑无线科技有限公司 Information collecting method and information collecting device
CN107291603A (en) * 2017-06-22 2017-10-24 广东欧珀移动通信有限公司 Power consumption daily record analytic method, device, mobile terminal and readable storage medium storing program for executing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LUIS M. CORREIA: "Challenges and enabling technologies for energy aware mobile radio networks", 《 IEEE COMMUNICATIONS MAGAZINE》 *
程茹洁: "智能移动终端能耗敏感行为分析", 《计算机与现代化》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021077260A1 (en) * 2019-10-21 2021-04-29 深圳市欢太科技有限公司 Power consumption information processing method, device, electronic apparatus and storage medium
CN112214379A (en) * 2020-10-29 2021-01-12 英业达科技有限公司 Power supply monitoring system and method thereof
CN112684360A (en) * 2020-12-15 2021-04-20 闻泰通讯股份有限公司 Charging test method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN108009068B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN108009068A (en) Information recording method, information record carrier and intelligent terminal
CN108599304A (en) Charging box, charge control method and Related product
CN107807891A (en) Information collecting method and terminal device
JP6165700B2 (en) How to detect and display mobile battery charging information
CN108256813A (en) Task reminders method and server
CN106596394A (en) Hair detection method, terminal and comb
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN108683444A (en) Data transmission method and related product
CN111929583A (en) Electric quantity monitoring method, device and system of intelligent terminal
CN108764051A (en) Image processing method, device and mobile terminal
CN107249182A (en) A kind of note transmission method and its device, terminal device
CN110475020A (en) Apparatus control method and Related product
CN107592399A (en) The display methods and mobile terminal of a kind of contact person
CN107547631A (en) A kind of communication control method and Internet of Things server
CN113721161A (en) Consistency evaluation method and device for lithium ion battery pack
CN108092784A (en) A kind of method, terminal and computer-readable medium for creating group
CN107860394A (en) Navigation route planning method, navigation route planning device and electric terminal
CN108183814A (en) The malfunction elimination method and apparatus of the communication channel of power information acquisition system
CN108322894A (en) A kind of message informing method and message informing device
CN107566156A (en) The switching method and device of a kind of battery saving mode
CN107318140A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN109298907A (en) Application program display methods, application program display device and terminal
CN107995645A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN107291514A (en) Method and device for unloading application program and terminal equipment
CN107608923A (en) The processing method and Related product of test

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant