CN110297535A - Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal - Google Patents

Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal Download PDF

Info

Publication number
CN110297535A
CN110297535A CN201910603186.2A CN201910603186A CN110297535A CN 110297535 A CN110297535 A CN 110297535A CN 201910603186 A CN201910603186 A CN 201910603186A CN 110297535 A CN110297535 A CN 110297535A
Authority
CN
China
Prior art keywords
mobile terminal
battery
current application
application scene
priority
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
CN201910603186.2A
Other languages
Chinese (zh)
Other versions
CN110297535B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910603186.2A priority Critical patent/CN110297535B/en
Publication of CN110297535A publication Critical patent/CN110297535A/en
Application granted granted Critical
Publication of CN110297535B publication Critical patent/CN110297535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application is suitable for technical field of mobile terminals, provides a kind of mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal, comprising: obtain the current application scene of mobile terminal;According to the current application scene, target battery is determined;The target battery is controlled to power to the mobile terminal.It can solve the problems, such as that Double-battery powered flexibility is poor in the prior art by the application.

Description

Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal
Technical field
The application belongs to technical field of mobile terminals more particularly to a kind of mobile terminal method of supplying power to, mobile terminal power supply Device and mobile terminal.
Background technique
With the rapid development of mobile terminal technology, the integrated function of mobile terminal is more and more, such as takes pictures, audio-video Broadcasting, game etc., the requirement to mobile terminal cruising ability is also higher and higher, in order to improve mobile terminal cruising ability, double electricity Pond power supply is come into being.However, it is mobile terminal power supply that existing Double-battery powered method, which usually first uses one piece of battery, After the dead battery capability, another piece of battery is reused as mobile terminal power supply, flexibility is poor.
Summary of the invention
In view of this, this application provides a kind of mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal, To solve the problems, such as that Double-battery powered flexibility is poor in the prior art.
The first aspect of the application provides a kind of mobile terminal method of supplying power to, and the mobile terminal method of supplying power to includes:
Obtain the current application scene of mobile terminal;
According to the current application scene, target battery is determined;
The target battery is controlled to power to the mobile terminal.
The second aspect of the application provides a kind of mobile terminal power supply unit, and the mobile terminal power supply unit includes:
Scene obtains module, for obtaining the current application scene of mobile terminal;
Battery determining module, for determining target battery according to the current application scene;
Power control module is powered for controlling the target battery to the mobile terminal.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program Described in above-mentioned first aspect the step of mobile terminal method of supplying power to.
The fourth aspect of the application provides a kind of computer readable storage medium, and the computer readable storage medium is deposited Computer program is contained, realizes that mobile terminal is powered as described in above-mentioned first aspect when the computer program is executed by processor The step of method.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer Program is realized when the computer program is executed by one or more processors and moves terminal supplier of electricity as described in above-mentioned first aspect The step of method.
Therefore the application first obtains the current application scene of mobile terminal, further according to current application scene from double electricity Selected in pond to mobile terminal power target battery, it can be achieved that according to application scenarios it is adaptively selected to mobile terminal power Battery improves flexibility when double cell is powered to mobile terminal, improves the utilization efficiency of battery.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application one provides;
Fig. 2 is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application two provides;
Fig. 3 is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application three provides;
Fig. 4 is the schematic diagram for the mobile terminal power supply unit that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides;
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
In the specific implementation, mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process Execution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
It is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application one provides, as schemed institute referring to Fig. 1 Show that the mobile terminal method of supplying power to may comprise steps of:
Step S101 obtains the current application scene of mobile terminal.
In the embodiment of the present application, the application category that can be presently according to mobile terminal determines current application field Scape, different classes of application program correspond to different application scenarios.Such as the corresponding scene of taking pictures of camera-type application program, payment class Application program counterpart expenditure scene, game class application program correspond to scene of game.
Wherein, different classes of application program can refer to the application program with different function, same category of application Program can refer to application program with the same function.The application category that mobile terminal is presently in, which can be, currently to exist The classification of the application program of mobile terminal front stage operation, for example, game class application program is in front stage operation, then mobile terminal is worked as Preceding locating application scenarios classification is game class, and current application scene is scene of game.
Step S102 determines target battery according to the current application scene.
In the embodiment of the present application, double cell in each application scenarios and mobile terminal of mobile terminal can be pre-established The corresponding relationship of (i.e. two pieces of batteries) is looked into from above-mentioned corresponding relationship after getting the current application scene of mobile terminal Battery corresponding with current application scene is looked for, which is target battery.Wherein, target battery can be directed to mobile terminal The battery of power supply.
Double cell in mobile terminal can refer to that the first battery and the second battery, the first battery can refer to graphene electricity Pond, the second battery can refer to lithium battery.The power supply performance of first battery is better than the second battery, and power supply performance includes but is not limited to Conductivity, heat dissipation performance of battery etc., the power supply performance of the first battery can refer to the conduction of the first battery better than the second battery Rate is better than the heat dissipation performance of the second battery higher than the heat dissipation performance of the second battery and the first battery.Establishing each of mobile terminal In application scenarios and mobile terminal when the corresponding relationship of double cell, it can be user setting, be also possible to according to each applied field The power consumption of scape is arranged, such as obtains the power consumption of each application scenarios, is higher than default electricity for the first battery as power consumption The target battery of the application scenarios of threshold value is not higher than the mesh of the application scenarios of default power threshold using the second battery as power consumption Mark battery, that is, the application scenarios that power consumption is higher than default power threshold are corresponding with the first battery, and power consumption is not higher than default electricity The application scenarios of threshold value are corresponding with the second battery.Wherein, power threshold is preset to be used to be application scenarios selection target battery, user Self-setting power threshold can be preset according to actual needs, it is not limited here.
Graphene battery be using lithium ion on the surface of graphene between electrode rapid, high volume shuttle characteristic, open A kind of new energy battery issued.Graphene (Graphene) is a kind of honeycomb formed by carbon atom with sp2 hybrid form Flat film, is a kind of quasi- two-dimensional material of only one atomic layer level thickness, therefore can be referred to as monoatomic layer graphite again.It Thickness is about 0.335nm, and according to the difference of preparation method, there are different fluctuatings, usually the height of vertical direction about 1nm or so, horizontal direction width about 10mm to 25nm are all carbon crystal (zero dimension fullerene, one-dimensional carbon in addition to diamond Nanotube, said three-dimensional body is to graphite) basic structural unit.Graphene battery is conductive using graphene as a kind of outstanding two dimension Material is added in anode material for lithium-ion batteries (LiFePO4 etc.), to improve the battery of the electric conductivity of electrode material.Stone is added There are different degrees of raising in the lithium battery of black alkene conductive agent, high rate performance, consistency and service life.Graphene can also be added Into new negative electrode material (mesocarbon microspheres etc.), the performance of electrode material is promoted.Graphene battery has reserve of electricity height, fills The advantages that electric time is short, long service life, good, light-weight thermal diffusivity, can provide preferably for the higher application scenarios of power consumption Power supply effect.
Step S103 controls the target battery and powers to the mobile terminal.
In the embodiment of the present application, control target battery can be the use referred in control mobile terminal to mobile terminal power supply Electric module is connect with target battery.
The embodiment of the present application is by first obtaining the current application scene of mobile terminal, further according to current application scene from double electricity Selected in pond to mobile terminal power target battery, it can be achieved that according to application scenarios it is adaptively selected to mobile terminal power Battery improves flexibility when double cell is powered to mobile terminal, improves the utilization efficiency of double cell.
It referring to fig. 2, is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application two provides, as schemed institute Show that the mobile terminal method of supplying power to may comprise steps of:
Step S201 obtains the current application scene of mobile terminal.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S202 obtains the priority of the current application scene.
Optionally, the priority for obtaining the current application scene includes:
According to the corresponding relationship of pre-set application scenarios and priority, the preferential of the current application scene is obtained Grade.
In the embodiment of the present application, the pass corresponding with priority of each application scenarios in mobile terminal can be preset System, after getting the current application scene of mobile terminal, can find and current application field from above-mentioned corresponding relationship The corresponding priority of scape.Wherein, application scenarios and the corresponding relationship of priority can be user setting, be also possible to according to each The power consumption of application scenarios is arranged, such as obtains the power consumption of each application scenarios in mobile terminal, presets if power consumption is higher than Power consumption threshold value, then the priority that the application scenarios that power consumption is higher than default power consumption threshold value are arranged is the first priority, if consumption Electricity is not higher than default power consumption threshold value, then the priority that the application scenarios that power consumption is not higher than default power consumption threshold value are arranged is Second priority, and the first priority is higher than the second priority, the first priority is higher than pre-set priority, and the second priority is not high In pre-set priority.Wherein, pre-set priority is used to be application scenarios selection target battery, and user can according to actual needs certainly Row setting pre-set priority, it is not limited here.
Optionally, the priority for obtaining the current application scene includes:
Obtain the number that the current application scene occurs in the first preset time;
According to the number that the current application scene occurs, the priority of the current application scene is obtained.
Wherein, the number that current application scene occurs in the first preset time can refer to first before current time The number that current application scene occurs in preset time, the i.e. history of current application scene enliven number.
When obtaining the priority of current application scene, can by number that current application scene occurs and preset times into Row compares, if the number that current application scene occurs is more than preset times, can determine that the priority of current application scene is First priority can determine the excellent of current application scene if the number that current application scene occurs is less than preset times First grade is the second priority.Also multiple and different numbers ranges can be set, different numbers ranges corresponds to different priority, Numbers range belonging to the number that current application scene occurs is detected, determines number belonging to the number of current application scene appearance The corresponding priority of range is the priority of current application scene.Wherein, preset times and numbers range are used to be application scenarios Select priority, user can self-setting preset times and numbers range according to actual needs, it is not limited here.
Optionally, the priority for obtaining the current application scene includes:
Obtain the time duration that the mobile terminal in the second preset time is in the current application scene;
According to the time duration of the current application scene, the priority of the current application scene is obtained.
Wherein, the time duration that mobile terminal is in current application scene in the second preset time can refer to when current Mobile terminal is in the time duration of current application scene, the i.e. history of current application scene in the second preset time before quarter It is accumulative to enliven duration.It is specific: the duration that the mobile terminal in the second preset time is in current application scene every time is obtained, it will All durations obtained in the second preset time carry out the cumulative time duration that can be obtained current application scene.
When obtaining the priority of current application scene, can by the time duration of current application scene and preset duration into Row compares, if the time duration of current application scene is more than preset duration, can determine that the priority of current application scene is First priority can determine the excellent of current application scene if the time duration of current application scene is less than preset duration First grade is the second priority.Also multiple and different duration ranges can be set, different duration ranges corresponds to different priority, Duration range belonging to the time duration of current application scene is detected, determines duration belonging to the time duration of current application scene The corresponding priority of range is the priority of current application scene.Wherein, preset duration and duration range are used to be application scenarios Select priority, user can self-setting preset duration and duration range according to actual needs, it is not limited here.
Step S203 determines target battery according to the priority of the current application scene.
In the embodiment of the present application, can preset the priority of application scenarios in mobile terminal double cell it is corresponding Relationship, after the priority for getting current application scene, according to above-mentioned corresponding relationship, the selection target electricity from double cell Pond.
Optionally, the priority according to the current application scene, determines that target battery includes:
If the priority of the current application scene is higher than pre-set priority, it is determined that the first battery is the target electricity Pond;
If the priority of the current application scene is not higher than the pre-set priority, it is determined that the second battery is the mesh Mark battery, wherein the power supply performance of first battery is better than second battery.
In the embodiment of the present application, the priority of current application scene can also be compared with pre-set priority, if The priority of current application scene is higher than pre-set priority, then illustrates that the priority of current application scene is higher, confession can be used Preferable first battery of electrical property is powered mobile terminal, is wanted with meeting power supply of the mobile terminal under current application scene It asks, if the priority of current application scene is not higher than pre-set priority, illustrates that the priority of current application scene is lower, use Second battery can meet power reguirements of the mobile terminal under current application scene.
Step S204 controls the target battery and powers to the mobile terminal.
The step is identical as step S103, and for details, reference can be made to the associated descriptions of step S103, and details are not described herein.
The embodiment of the present application can select to power to mobile terminal from double cell by the priority of current application scene Target battery, it can be achieved that according to the adaptively selected battery powered to mobile terminal of the priority of application scenarios, improve double electricity Flexibility when pond powers to mobile terminal, improves the utilization efficiency to double cell.
It is the implementation process schematic diagram for the mobile terminal method of supplying power to that the embodiment of the present application three provides, as schemed institute referring to Fig. 3 Show that the mobile terminal method of supplying power to may comprise steps of:
Step S301 obtains the current application scene of mobile terminal.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S302 obtains the priority of the current application scene.
The step is identical as step S202, and for details, reference can be made to the associated descriptions of step S202, and details are not described herein.
Step S303 determines target battery according to the priority of the current application scene.
The step is identical as step S203, and for details, reference can be made to the associated descriptions of step S203, and details are not described herein.
Step S304, whether detection present battery is the target battery.
Wherein, the present battery refers to that the battery that current time powers to the mobile terminal, i.e. mobile terminal are current The battery used.
Step S305 controls the target battery to the movement if the present battery is not the target battery Terminal power supply, present battery stop powering to the mobile terminal.
In the embodiment of the present application, if present battery is not target battery, illustrate that mobile terminal needs to carry out battery and cuts It changes, is target battery to mobile terminal power supply from present battery to mobile terminal power switching, and whole to movement in target battery After the power supply of end, present battery stops powering to mobile terminal, to guarantee have battery to shifting always in battery handoff procedure Dynamic terminal power supply, avoids mobile terminal from powering off.If present battery is target battery, illustrate that mobile terminal does not need to carry out battery Switching, present battery continue to power to mobile terminal.
Mobile terminal is before carrying out battery switching, in order to guarantee that the battery powered to mobile terminal has enough electricity, The remaining capacity of target battery can be first obtained at this time, if the remaining capacity of target battery is greater than the first power threshold, controlled Target battery is powered to mobile terminal, and present battery stops powering to mobile terminal;If the remaining capacity of target battery be less than or Equal to the first power threshold, and the difference of the remaining capacity of the remaining capacity and target battery of present battery is greater than the second electricity threshold Value then illustrates the not enough power supply of target battery, and present battery has sufficient electricity, can switch at this time without battery, controls Present battery continues to power to mobile terminal;If the remaining capacity of target battery is less than or equal to the first power threshold, and current The difference of the remaining capacity of the remaining capacity and target battery of battery is less than or equal to the second power threshold, then illustrates target battery It is insufficient with the electricity of present battery, it can control target battery at this time and present battery powered to mobile terminal simultaneously.Wherein, First power threshold and the second power threshold are the number greater than zero, and user can the first electricity of sets itself according to actual needs Threshold value and the second power threshold, it is not limited here.
Before control target battery is powered to mobile terminal, can first detect mobile terminal currently makes the embodiment of the present application Whether battery is target battery, and when currently used battery is not target battery, then carries out battery switching, to protect Card mobile terminal more can neatly select the battery of power supply, improve the utilization efficiency of battery.
It referring to fig. 4, is the schematic diagram for the mobile terminal power supply unit that the embodiment of the present application four provides, for ease of description, Illustrate only part relevant to the embodiment of the present application.
The mobile terminal power supply unit includes:
Scene obtains module 41, for obtaining the current application scene of mobile terminal;
Battery determining module 42, for determining target battery according to the current application scene;
Power control module 43 is powered for controlling the target battery to the mobile terminal.
Optionally, the battery determining module 42 includes:
Acquiring unit, for obtaining the priority of the current application scene;
Determination unit determines the target battery for the priority according to the current application scene.
Optionally, the determination unit is specifically used for:
If the priority of the current application scene is higher than pre-set priority, it is determined that the first battery is the target electricity Pond;
If the priority of the current application scene is not higher than the pre-set priority, it is determined that the second battery is the mesh Mark battery, wherein the power supply performance of first battery is better than second battery.
Optionally, the acquiring unit is specifically used for:
According to the corresponding relationship of pre-set application scenarios and priority, the preferential of the current application scene is obtained Grade.
Optionally, the acquiring unit is specifically used for:
Obtain the number that the current application scene occurs in the first preset time;
According to the number that the current application scene occurs, the priority of the current application scene is obtained.
Optionally, the acquiring unit is specifically used for:
Obtain the time duration that the mobile terminal in the second preset time is in the current application scene;
According to the time duration of the current application scene, the priority of the current application scene is obtained.
Optionally, the power control module 43 includes:
Detection unit, for detecting whether present battery is the target battery, wherein the present battery refers to currently The battery that moment powers to the mobile terminal;
Control unit controls the target battery to described if not being the target battery for the present battery Mobile terminal power supply, the present battery stop powering to the mobile terminal.
Mobile terminal power supply unit provided by the embodiments of the present application can be applied in preceding method embodiment one, embodiment two In embodiment three, details are referring to the description of above method embodiment one, embodiment two and embodiment three, and details are not described herein.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.The mobile terminal as shown in the figure can wrap Include: one or more processors 501 (only show one) in figure;One or more input equipments 502 (one is only shown in figure), One or more output equipments 503 (one is only shown in figure) and memory 504.It is above-mentioned processor 501, input equipment 502, defeated Equipment 503 and memory 504 are connected by bus 505 out.Memory 504 for storing instruction, deposit for executing by processor 501 The instruction that reservoir 504 stores.Wherein:
The processor 501, for obtaining the current application scene of mobile terminal;According to the current application scene, really Set the goal battery;The target battery is controlled to power to the mobile terminal.
Optionally, the processor 501 is specifically used for:
Obtain the priority of the current application scene;
According to the priority of the current application scene, the target battery is determined.
Optionally, the processor 501 is specifically used for:
If the priority of the current application scene is higher than pre-set priority, it is determined that the first battery is the target electricity Pond;
If the priority of the current application scene is not higher than the pre-set priority, it is determined that the second battery is the mesh Mark battery, wherein the power supply performance of first battery is better than second battery.
Optionally, the processor 501 is specifically used for:
According to the corresponding relationship of pre-set application scenarios and priority, the preferential of the current application scene is obtained Grade.
Optionally, the processor 501 is specifically used for:
Obtain the number that the current application scene occurs in the first preset time;
According to the number that the current application scene occurs, the priority of the current application scene is obtained.
Optionally, the processor 501 is specifically used for:
Obtain the time duration that the mobile terminal in the second preset time is in the current application scene;
According to the time duration of the current application scene, the priority of the current application scene is obtained.
Optionally, the processor 501 is specifically used for:
Detect whether present battery is the target battery, wherein the present battery refers to current time to the shifting The battery of dynamic terminal power supply;
If the present battery is not the target battery, controls the target battery and powers to the mobile terminal, The present battery stops powering to the mobile terminal.
It should be appreciated that in the embodiment of the present application, the processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), 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 Reason device is also possible to any conventional processor etc..
Input equipment 502 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 503 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 504 may include read-only memory and random access memory, and to processor 501 provide instruction and Data.The a part of of memory 504 can also include nonvolatile RAM.For example, memory 504 can also be deposited Store up the information of device type.
In the specific implementation, processor 501, input equipment 502 described in the embodiment of the present application, 503 and of output equipment Implementation described in the embodiment of mobile terminal method of supplying power to provided by the embodiments of the present application can be performed in memory 504, Also implementation described in mobile terminal power supply unit described in example IV can be performed, details are not described herein.
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.As shown in fig. 6, the mobile end of the embodiment End 6 includes: processor 60, memory 61 and is stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62.The processor 60 realizes that above-mentioned each mobile terminal method of supplying power to is implemented when executing the computer program 62 Step in example, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 60 executes the computer program 62 The function of each module/unit in the above-mentioned each Installation practice of Shi Shixian, such as the function of module 41 to 43 shown in Fig. 4.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the application.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the mobile terminal 6 is described.For example, the computer program 62 can be divided It is as follows to be cut into scene acquisition module, battery determining module and power control module, each module concrete function:
Scene obtains module, for obtaining the current application scene of mobile terminal;
Battery determining module, for determining target battery according to the current application scene;
Power control module is powered for controlling the target battery to the mobile terminal.
Optionally, the battery determining module includes:
Acquiring unit, for obtaining the priority of the current application scene;
Determination unit determines the target battery for the priority according to the current application scene.
Optionally, the determination unit is specifically used for:
If the priority of the current application scene is higher than pre-set priority, it is determined that the first battery is the target electricity Pond;
If the priority of the current application scene is not higher than the pre-set priority, it is determined that the second battery is the mesh Mark battery, wherein the power supply performance of first battery is better than second battery.
Optionally, the acquiring unit is specifically used for:
According to the corresponding relationship of pre-set application scenarios and priority, the preferential of the current application scene is obtained Grade.
Optionally, the acquiring unit is specifically used for:
Obtain the number that the current application scene occurs in the first preset time;
According to the number that the current application scene occurs, the priority of the current application scene is obtained.
Optionally, the acquiring unit is specifically used for:
Obtain the time duration that the mobile terminal in the second preset time is in the current application scene;
According to the time duration of the current application scene, the priority of the current application scene is obtained.
Optionally, the power control module includes:
Detection unit, for detecting whether present battery is the target battery, wherein the present battery refers to currently The battery that moment powers to the mobile terminal;
Control unit controls the target battery to described if not being the target battery for the present battery Mobile terminal power supply, the present battery stop powering to the mobile terminal.
The mobile terminal 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The mobile terminal may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of mobile terminal 6 does not constitute the restriction to mobile terminal 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other programmable logic device, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..
The memory 61 can be the internal storage unit of the mobile terminal 6, such as the hard disk or interior of mobile terminal 6 It deposits.The memory 61 is also possible to the External memory equipment of the mobile terminal 6, such as be equipped on the mobile terminal 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the mobile terminal 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the mobile terminal Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, 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 be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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 device/mobile terminal and method, it can be with It realizes by another way.For example, device described above/mobile terminal embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (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 described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of mobile terminal method of supplying power to, which is characterized in that the mobile terminal method of supplying power to includes:
Obtain the current application scene of mobile terminal;
According to the current application scene, target battery is determined;
The target battery is controlled to power to the mobile terminal.
2. mobile terminal method of supplying power to as described in claim 1, which is characterized in that it is described according to the current application scene, Determine that target battery includes:
Obtain the priority of the current application scene;
According to the priority of the current application scene, the target battery is determined.
3. mobile terminal method of supplying power to as claimed in claim 2, which is characterized in that described according to the current application scene Priority determines that the target battery includes:
If the priority of the current application scene is higher than pre-set priority, it is determined that the first battery is the target battery;
If the priority of the current application scene is not higher than the pre-set priority, it is determined that the second battery is the target electricity Pond, wherein the power supply performance of first battery is better than second battery.
4. mobile terminal method of supplying power to as claimed in claim 2, which is characterized in that the acquisition current application scene Priority includes:
According to the corresponding relationship of pre-set application scenarios and priority, the priority of the current application scene is obtained.
5. mobile terminal method of supplying power to as claimed in claim 2, which is characterized in that the acquisition current application scene Priority includes:
Obtain the number that the current application scene occurs in the first preset time;
According to the number that the current application scene occurs, the priority of the current application scene is obtained.
6. mobile terminal method of supplying power to as claimed in claim 2, which is characterized in that the acquisition current application scene Priority includes:
Obtain the time duration that the mobile terminal in the second preset time is in the current application scene;
According to the time duration of the current application scene, the priority of the current application scene is obtained.
7. such as mobile terminal method of supplying power to as claimed in any one of claims 1 to 6, which is characterized in that the control target Battery is powered to the mobile terminal
Detect whether present battery is the target battery, wherein the present battery refers to current time to the movement eventually Hold the battery of power supply;
If the present battery is not the target battery, controls the target battery and power to the mobile terminal, it is described Present battery stops powering to the mobile terminal.
8. a kind of mobile terminal power supply unit, which is characterized in that the mobile terminal power supply unit includes:
Scene obtains module, for obtaining the current application scene of mobile terminal;
Battery determining module, for determining target battery according to the current application scene;
Power control module is powered for controlling the target battery to the mobile terminal.
9. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of any one mobile terminal method of supplying power to.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realizing the mobile terminal method of supplying power to as described in any one of claim 1 to 7 when the computer program is executed by processor Step.
CN201910603186.2A 2019-07-05 2019-07-05 Mobile terminal power supply method, mobile terminal power supply device and mobile terminal Active CN110297535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910603186.2A CN110297535B (en) 2019-07-05 2019-07-05 Mobile terminal power supply method, mobile terminal power supply device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910603186.2A CN110297535B (en) 2019-07-05 2019-07-05 Mobile terminal power supply method, mobile terminal power supply device and mobile terminal

Publications (2)

Publication Number Publication Date
CN110297535A true CN110297535A (en) 2019-10-01
CN110297535B CN110297535B (en) 2021-08-13

Family

ID=68030448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910603186.2A Active CN110297535B (en) 2019-07-05 2019-07-05 Mobile terminal power supply method, mobile terminal power supply device and mobile terminal

Country Status (1)

Country Link
CN (1) CN110297535B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610304A (en) * 2008-06-20 2009-12-23 希姆通信息技术(上海)有限公司 The changing method of mobile communication terminal and double-battery charge and power supply thereof
CN105283844A (en) * 2013-06-05 2016-01-27 三星电子株式会社 Electronic device and method of providing battery information by electronic device
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN106532902A (en) * 2016-10-14 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal dual-battery control device and method
CN207283608U (en) * 2017-05-12 2018-04-27 宁波波导软件有限公司 A kind of Mobile phone casing structure and mobile phone terminal
CN108733188A (en) * 2017-06-30 2018-11-02 北京猎户星空科技有限公司 A kind of electronic equipment control method, device, electronic equipment and storage medium
US20190107876A1 (en) * 2014-02-28 2019-04-11 Semiconductor Energy Laboratory Co., Ltd. Electronic device
CN109950952A (en) * 2019-03-21 2019-06-28 维沃移动通信有限公司 A kind of method of supplying power to and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610304A (en) * 2008-06-20 2009-12-23 希姆通信息技术(上海)有限公司 The changing method of mobile communication terminal and double-battery charge and power supply thereof
CN105283844A (en) * 2013-06-05 2016-01-27 三星电子株式会社 Electronic device and method of providing battery information by electronic device
US20190107876A1 (en) * 2014-02-28 2019-04-11 Semiconductor Energy Laboratory Co., Ltd. Electronic device
CN106210208A (en) * 2016-09-21 2016-12-07 深圳市金立通信设备有限公司 A kind of terminal and Double-battery powered method thereof
CN106532902A (en) * 2016-10-14 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal dual-battery control device and method
CN207283608U (en) * 2017-05-12 2018-04-27 宁波波导软件有限公司 A kind of Mobile phone casing structure and mobile phone terminal
CN108733188A (en) * 2017-06-30 2018-11-02 北京猎户星空科技有限公司 A kind of electronic equipment control method, device, electronic equipment and storage medium
CN109950952A (en) * 2019-03-21 2019-06-28 维沃移动通信有限公司 A kind of method of supplying power to and mobile terminal

Also Published As

Publication number Publication date
CN110297535B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108292777B (en) Shared electrode battery
CN108900770A (en) A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera
CN102270169A (en) Method and apparatus for managing an application being executed in a portable terminal
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN109636278A (en) Material replenishing method, material goods compensator and terminal device
CN105359057A (en) Setting computer parameters to operate the power supply within a range based on a peak power efficiency of the power supply
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN107533432B (en) Pressure touch method and electronic equipment
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN106951057A (en) The control method and mobile terminal of application
CN108614655A (en) Multi-screen display method, device, storage medium and electronic equipment
CN109062464A (en) touch operation method, device, storage medium and electronic equipment
CN103902322A (en) System switching method and electronic equipment
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN110350619B (en) Charging control method, device, terminal and storage medium
CN111142722A (en) Method, device, terminal equipment and storage medium for displaying application content
CN103902324A (en) System starting method and electronic equipment
CN110336355B (en) Charging method, charging device and terminal equipment
CN110297535A (en) Mobile terminal method of supplying power to, mobile terminal power supply unit and mobile terminal
CN109643831A (en) Portable electronic device with addressable charge indicator
CN110676521B (en) Battery management method, device, storage medium and electronic equipment
CN105828421A (en) Terminal and terminal power saving method
CN109062476A (en) Menu treating method, mobile terminal and the computer readable storage medium of application
CN110601292B (en) Battery management method, device, storage medium and electronic equipment
CN110427092A (en) Battery switching method, device, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant