CN110970944A - Power supply method and device of split type terminal, terminal and storage medium - Google Patents

Power supply method and device of split type terminal, terminal and storage medium Download PDF

Info

Publication number
CN110970944A
CN110970944A CN201811145901.4A CN201811145901A CN110970944A CN 110970944 A CN110970944 A CN 110970944A CN 201811145901 A CN201811145901 A CN 201811145901A CN 110970944 A CN110970944 A CN 110970944A
Authority
CN
China
Prior art keywords
component
battery
terminal
type
power
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
CN201811145901.4A
Other languages
Chinese (zh)
Other versions
CN110970944B (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 CN201811145901.4A priority Critical patent/CN110970944B/en
Publication of CN110970944A publication Critical patent/CN110970944A/en
Application granted granted Critical
Publication of CN110970944B publication Critical patent/CN110970944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • H02J7/0014Circuits for equalisation of charge between batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a power supply method of a split type terminal, wherein the terminal consists of a first part and a second part, the first part and the second part both comprise batteries, and the method comprises the following steps: determining a usage type of the terminal, the usage type including a combined usage of the first component and the second component and respective independent usage of the first component and the second component; when the use type is combined use, a battery with a relatively high electric quantity is selected to supply power to the first component and the second component from the battery of the first component and the battery of the second component. The embodiment of the application also provides a power supply device, a split type terminal and a storage medium.

Description

Power supply method and device of split type terminal, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, and relates to but is not limited to a power supply method of a split terminal, a device thereof, a terminal and a storage medium.
Background
At present, mobile terminals have become indispensable elements in user life, and users can query, study and work on the internet through the mobile terminals. As the demand of people is also increasing, the types of mobile terminals are also becoming diversified, wherein the split type mobile terminal is becoming a more and more favored type of terminal for consumers.
For example, the existing mobile terminal has functions of browsing a webpage, watching an audio/video file, playing an entertainment game and the like besides a mobile communication function, and the experience brought to a user by the functions is often improved along with the expansion of a screen, so that the screen size of the existing mobile phone is continuously enlarged, but the excessively large screen size is not beneficial to receiving and making a call, so that the size of the mobile phone screen is contradictory between different purposes such as making a call and surfing the internet, and therefore, the split-screen mobile phone is generated, a base end and a display screen end of the split-screen mobile phone are respectively provided with a battery, and when the system runs, the base end system and the display screen end system are respectively powered by the respective batteries. For another example, another split terminal includes a host and a slave, the host includes a host body and a display screen, the slave includes a slave body and a display screen, and data transmission, display and the like can be performed between the host and the slave.
Then, the split type terminal has a drawback that, for example, the battery capacities of the display side and the base side cannot be uniformly distributed. The battery with low capacity is easy to be consumed first, and when the battery at one end is consumed, the battery cannot be used, so that the whole function of the split screen mobile phone cannot be realized.
Disclosure of Invention
In view of this, embodiments of the present application provide a power supply method for a split terminal, and an apparatus, a terminal, and a storage medium thereof to solve at least one problem existing in the prior art, so that when the split terminal is used in combination, capacities of batteries at two ends of the split terminal are balanced, and it is avoided that a battery at one end of the split terminal is dead, so that the whole system cannot operate.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a power supply method for a split terminal, where the terminal is composed of a first component and a second component, and each of the first component and the second component includes a battery therein, and the method includes:
determining a usage type of the terminal, the usage type including a combined usage of the first component and the second component and respective independent usage of the first component and the second component;
when the use type is combined use, a battery with a relatively high electric quantity is selected to supply power to the first component and the second component from the battery of the first component and the battery of the second component.
In an embodiment of the application, when the usage type is combined usage, selecting a battery with a relatively high electric quantity from a battery of the first component and a battery of the second component to supply power to the first component and the second component includes:
when the use type is combined use and the battery capacity of the first part is higher than that of the second part, the battery of the first part is adopted to supply power to the first part and the second part;
and when the use type is combined use and the battery capacity of the first component is lower than that of the second component, the battery of the second component is adopted to supply power to the first component and the second component.
In an embodiment of the present application, the method further includes: when the use type is combined use and the battery capacity of the first component is equal to that of the second component, the battery of the second component is adopted to supply power for the second component, and the battery of the first component is adopted to supply power for the first component;
when the use type is independent use, the battery of the second component is used for supplying power to the second component, and the battery of the first component is used for supplying power to the first component.
In an embodiment of the application, before selecting a battery with a relatively high electric quantity from the battery of the first component and the battery of the second component to supply power to the first component and the second component when the usage type is combined usage, the method further includes:
determining whether the battery level of the first component or the second component is below a first preset threshold;
when the battery capacity of the first component or the battery capacity of the second component is lower than the first preset threshold and the use type of the terminal is independent use, outputting prompt information, wherein the prompt information is used for prompting to convert the use type of the terminal into combined use.
In an embodiment of the present application, the method further includes:
determining whether the battery level of the first component or the second component is lower than a second preset threshold;
when the battery capacity of the first component is lower than the second preset threshold and the use type of the terminal is combined use, the second component receives a charging instruction to charge the battery of the first component;
and when the battery power of the second component is lower than the second preset threshold and the use type of the terminal is combined use, the first component receives a charging instruction to charge the battery of the second component.
In the embodiment of the application, the first component is a master machine, and the second component is a slave machine; or, the first component is a base end, and the second component is a screen end; or, the first part is a base end, and the second part is a physical keyboard.
In a second aspect, an embodiment of the present application provides a power supply apparatus, including: a determination module and a selection module, wherein:
the determining module is used for determining the use type of the terminal, wherein the use type comprises the combined use of the first component and the second component and the independent use of the first component and the second component respectively;
the selection module is used for selecting a battery with relatively higher electric quantity from the battery of the first component and the battery of the second component to supply power to the first component and the second component when the use type is combined use.
In an embodiment of the application, the selecting module includes:
the first processing unit is used for adopting the battery of the first part to supply power for the first part and the second part when the use type is combined use and the battery capacity of the first part is higher than that of the second part;
and the second processing unit is used for adopting the battery of the second component to supply power for the first component and the second component when the use type is combined use and the battery capacity of the first component is lower than that of the second component.
In a third aspect, an embodiment of the present application provides a split terminal, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the steps in the power supply method of the split terminal.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the power supply method of the split terminal as described above.
The embodiment of the application provides a power supply method and a power supply device of a split terminal, the terminal and a storage medium, wherein the terminal consists of a first part and a second part, and the first part and the second part both comprise batteries; determining a usage type of the terminal, the usage type including a combined usage of the first component and the second component and respective independent usage of the first component and the second component; when the use type is combined use, a battery with relatively high electric quantity is selected from the batteries of the first part and the second part to supply power to the first part and the second part, so that the capacities of the batteries at two ends of the split terminal are balanced when the split terminal is combined use, and the phenomenon that the whole system cannot operate due to the fact that the battery at one end is dead is avoided.
Drawings
Fig. 1 is a first schematic implementation flow diagram of a power supply method of a split terminal according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation flow of a power supply method of a split terminal according to an embodiment of the present application;
fig. 3A is a schematic diagram of a power supply structure of a split terminal according to an embodiment of the present application;
fig. 3B is a schematic view of a third implementation flow of a power supply method of a split terminal according to an embodiment of the present application;
fig. 4A is a schematic diagram of a power supply structure of a split terminal according to an embodiment of the present application;
fig. 4B is a schematic diagram of an implementation flow of a power supply method of a split terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a power supply device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware entity of a split terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application only and are not intended to limit the scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
Generally, a terminal may be various types of devices having information processing capability in the implementation process, for example, the terminal may include a mobile phone, a tablet computer, a smart watch, a smart bracelet, a desktop computer, a Personal Digital Assistant (PDA), a navigator, a Digital phone, a video phone, a television, a sensing device, and the like.
The embodiment of the application provides a power supply method for a split terminal, the method is applied to a computing device, the functions realized by the method can be realized by calling a program code through a processor in a server, and the program code can be saved in a computer storage medium. Fig. 1 is a first schematic implementation flow chart of a power supply method of a split terminal according to an embodiment of the present application, where the terminal is composed of a first component and a second component, and both the first component and the second component include a battery, as shown in fig. 1, the method includes:
step S101, determining the use type of the terminal, wherein the use type comprises the combined use of a first component and a second component and the independent use of the first component and the second component;
for example, when the split-type terminal is a split-screen mobile phone, the first component may be a base end, and the second component may be a display end, where the base end and the display end may be used separately, for example, the base end may be used for making a call and surfing the internet, and the display end may be used for watching a video and playing a game; when the base end and the display screen end are used independently, the terminal is used independently. When the base end and the display screen end are combined together by a hardware connection, for example, by a USB (Universal Serial Bus) socket, by a connection line, or when the base end and the display screen end are combined together by a wireless connection, the terminal is used in a combined manner.
For another example, when the split terminal is a master-slave machine, the first component may be a master machine, the second component may be a slave machine, the master machine includes a master machine body and a display screen, the slave machine includes a slave machine body and a display screen, data transmission and display can be performed between the master machine and the slave machine, and functions of the master machine and the slave machine are substantially the same, and functions such as telephone call, video, game and the like can be realized. Correspondingly, when the master machine and the slave machine are respectively and independently used, the use type of the terminal is independent use. And when the master machine and the slave machine are combined together in a hardware or wireless mode, the use type of the terminal is combined use. Of course, the present application does not limit the connection and combination of the first member and the second member when they are used in combination.
And S102, when the use type is combined use, selecting a battery with relatively high electric quantity from the battery of the first component and the battery of the second component to supply power for the first component and the second component.
Here, when the usage type is combined usage, the step S102 of selecting a battery with a relatively high electric quantity from among the batteries of the first component and the second component to supply power to the first component and the second component may include:
step S1021, detecting the battery power of the first part and the second part;
step S1022, when the use type is combined use and the battery capacity of the first component is higher than that of the second component, adopting the battery of the first component to supply power to the first component and the second component;
and S1023, when the use type is combined use and the battery capacity of the first part is lower than that of the second part, adopting the battery of the second part to supply power for the first part and the second part.
In the embodiment of the application, the use type of the terminal is determined, wherein the use type comprises the combined use of the first component and the second component and the independent use of the first component and the second component respectively; when the use type is combined use, a battery with relatively high electric quantity is selected from the batteries of the first part and the second part to supply power to the first part and the second part, so that the capacities of the batteries at two ends of the split terminal are balanced when the split terminal is combined use, and the phenomenon that the whole system cannot operate due to the fact that the battery at one end is dead is avoided.
Based on the foregoing embodiment, an embodiment of the present application further provides a power supply method for a split terminal, where fig. 2 is a schematic diagram of an implementation flow of the power supply method for the split terminal in the embodiment of the present application, and as shown in fig. 2, the method includes:
step S201, determining a use type of the terminal, wherein the use type comprises combined use of a first component and a second component and independent use of the first component and the second component respectively;
for example, when split type terminal is for the components of a whole that can function independently screen cell-phone, first part can be the base end, the second part can be the display screen end, wherein, the base end can set up physics button, microphone, earphone in the front, and the back sets up the camera, and the side sets up the on & off switch, the base end is provided with the video output interface, and the video output interface fit in is provided with pluggable video data line, and pluggable the other end of video data line is provided with the display screen end. The base end and the display screen end can be used separately, for example, a communication function can be realized through the base end, and an entertainment function and a learning function can also be realized through the display screen end; when the base end and the display screen end are used independently, the terminal is used independently. And when the base end and the display screen end are combined together through a video data line, the use type of the terminal is combined use.
For another example, when the split terminal is a master-slave machine, the first component may be a master machine, the second component may be a slave machine, and correspondingly, when the master machine and the slave machine are used independently, the use type of the terminal is used independently. And when the master machine and the slave machine are combined together in a hardware or wireless mode, the use type of the terminal is combined use. Of course, the present application does not limit the connection and combination of the first member and the second member when they are used in combination.
For another example, when the split terminal is a split keyboard terminal, the first component may be a host, the second component may be an entity keyboard, and correspondingly, when the host and the entity keyboard are used independently, the usage type of the terminal is used independently. And when the host and the physical keyboard are combined together, the use type of the terminal is combined use.
Of course, in the embodiment of the present application, the first component and the second component are any two components that can constitute a split terminal, and the embodiment of the present application does not set any limitation on the first component and the second component.
Step S202, when the use type is combined use and the battery capacity of the first component is higher than that of the second component, the battery of the first component is adopted to supply power to the first component and the second component;
for example, when the split-screen mobile phone is used in combination and the base end and the display screen end are connected together, the respective battery capacities of the base end and the display screen end are detected, and when the battery capacity of the display screen end is greater than that of the base end, the battery of the display screen end supplies power to the base end and the display screen end together, that is, the battery of the display screen end supplies power to the whole combined terminal.
Step S203, when the use type is combined use and the battery capacity of the first component is lower than that of the second component, adopting a battery of the second component to supply power to the first component and the second component;
step S204, when the use type is combined use and the battery capacity of the first component is equal to that of the second component, the battery of the second component is adopted to supply power for the second component, and the battery of the first component is adopted to supply power for the first component;
for example, when the split-screen mobile phone is used in combination and the base end and the display screen end are connected together, the respective battery capacities of the base end and the display screen end are detected, when the battery capacity of the display screen end is the same as that of the base end, the battery of the display screen end supplies power for normal work of the display screen end, and the battery of the base end supplies power for normal work of the base end.
Step S205, when the use type is independent use, a battery of the second component is adopted to supply power for the second component, and a battery of the first component is adopted to supply power for the first component;
in other embodiments, the method further comprises:
step S21a, determining the use type of the terminal, wherein the use type comprises the combined use of the first component and the second component and the independent use of the first component and the second component;
step S22a, determining whether the battery capacity of the first component or the second component is lower than a first preset threshold value;
step S23a, when the battery power of the first component or the battery power of the second component is lower than the first preset threshold and the usage type of the terminal is independent usage, outputting a prompt message, where the prompt message is used to prompt to convert the usage type of the terminal into combined usage.
The purpose of the combined use is to enable the battery at one end with high electric quantity to supply power to the two ends together. The use type of the terminal is converted into combined use, and the battery with relatively high electric quantity is selected from the battery of the first component and the battery of the second component to supply power to the first component and the second component, so that the effects of balancing the battery capacities of the first component and the second component and avoiding the condition that the whole system cannot run due to the fact that the battery at one end is dead can be achieved.
For example, when the split-screen mobile phone is used independently and the base end and the display screen end are not connected together, the respective battery capacities of the base end and the display screen end are detected, when the battery capacity of the base end is lower than a first preset threshold value, or when the battery capacity of the display screen end is lower than the first preset threshold value, a query UI (User's Interface, User Interface interaction) can be popped up at the display screen end to prompt a User that the base end and the display screen end can be combined together, and the battery at the end with high capacity supplies power for the normal operation at the end with low capacity. Voice prompt can also be performed, so that the user can combine the base end and the display screen end together.
Certainly, the preset threshold corresponding to the battery power of the base end and the preset threshold corresponding to the battery power of the display screen end may be the same; the preset threshold corresponding to the battery power of the base end and the preset threshold corresponding to the battery power of the display screen end can be set to be different preset thresholds according to different power consumptions of the base end and the display screen end in unit time or according to other bases. Those skilled in the art can select different preset threshold setting methods according to actual needs, and details are not described here.
In other embodiments, the method further comprises:
step S21b, determining whether the battery capacity of the first component or the second component is lower than a second preset threshold value;
step S22b, when the battery capacity of the first component is lower than the second preset threshold and the use type of the terminal is combined use, the second component receives a charging instruction to charge the battery of the first component;
step S23b, when the battery power of the second component is lower than the second preset threshold and the usage type of the terminal is combined usage, the first component receives a charging instruction to charge the battery of the second component.
Here, when the battery of a certain component is low and the terminal is used in combination, the battery of the component with low charge may be charged with the battery of another component.
For example, when the split-screen mobile phone is used in combination and the base end and the display screen end are connected together, the respective battery capacities of the base end and the display screen end are detected, and when the battery capacity of the base end is lower than a second preset threshold, the display screen end receives a charging instruction to charge the battery of the base end.
Of course, the first preset threshold in step S22a and the second preset threshold in step S22b may be the same or different. Those skilled in the art can select a suitable first preset threshold and a suitable second preset threshold according to actual needs, which are not described herein again.
In the embodiment of the application, the use type of the terminal is determined, wherein the use type comprises the combined use of the first component and the second component and the independent use of the first component and the second component respectively; when the use type is combined use and the battery capacity of the first part is higher than that of the second part, the battery of the first part is adopted to supply power to the first part and the second part; when the use type is combined use and the battery capacity of the first component is lower than that of the second component, the battery of the second component is adopted to supply power to the first component and the second component; when the use type is combined use and the battery capacity of the first component is equal to that of the second component, the battery of the second component is adopted to supply power for the second component, and the battery of the first component is adopted to supply power for the first component; when the use type is for independent use, the battery that adopts the second part supplies power for the second part, adopts the battery of first part to supply power for first part, so, can make split type terminal's both ends battery capacity balanced when split type terminal combined use, avoid leading to the unable operation of system whole because of certain one end battery does not have the electricity.
Based on the foregoing embodiments, a power supply method of a split terminal is further provided in an embodiment of the present application, fig. 3A is a first power supply structure schematic diagram of the split terminal in the embodiment of the present application, as shown in fig. 3A, the terminal includes a base end 31 and a screen end 32, where the base end 31 includes an AP (Arithmetic Processor) 311, a battery 312, a power management module 313 and a charging interface 314, the screen end 32 includes an AP 321, a battery 322, a power management module 323 and a charging interface 324, and the base end 31 and the screen end 32 perform sending and receiving of instructions, messages, data and the like through a communication link. Fig. 3B is a schematic view of a third implementation flow of a power supply method of a split terminal in the embodiment of the present application, and as shown in fig. 3B, the method includes:
step S301, the power management module 313 sends a determination instruction;
step S302, the operation processor 311 receives the determination instruction and determines the usage type of the terminal, where the usage type includes the combined usage of the base end 31 and the screen end 32 and the independent usage of the base end 31 and the screen end 32;
step S303, when the use type of the terminal is combined use, the power management module 313 sends a first detection instruction, and the power management module 323 sends a second detection instruction;
step S304, the operation processor 311 receives the first detection instruction and detects the electric quantity of the battery 312;
in step S305, the operation processor 321 receives the second detection instruction and detects the electric quantity of the battery 322;
step S306, when the electric quantity of the battery 312 is higher than the electric quantity of the battery 322, the power management module 313 controls the battery 312 to supply power to the operation processor 311 and the power management module 313;
in step S307, when the electric quantity of the battery 312 is higher than the electric quantity of the battery 322, the power management module 313 controls the battery 312 to supply power to the operation processor 321 and the power management module 323 through the power connection path and the charging interface 324.
In the embodiment of the present application, the charging interface 314 of the base end 31 may be externally connected to a charging power source, and the charging interface 324 of the screen end 32 may be connected to the charging interface 314 of the base end 31, so that the base end 31 and the screen end 32 are used in combination.
According to the embodiment of the application, when the split screen mobile phone is used in a combined mode, the battery with high capacity is intelligently selected to serve as the power supply of the base and the power supply of the screen end according to the battery capacity of the base end and the battery capacity of the screen end. By the method, when the split mobile phone is used in a combined mode, the battery capacities of the base end and the screen end are balanced, and the problem that the whole system cannot operate due to the fact that a battery at one end is dead is avoided.
Based on the foregoing embodiment, a power supply method of a split terminal is further provided in an embodiment of the present application, fig. 4A is a schematic diagram of a power supply structure of the split terminal in the embodiment of the present application, as shown in fig. 4A, the terminal includes a base end 41 and a screen end 42, where the base end 41 includes an AP (Arithmetic Processor) 411, a battery 412, a power management module 413 and a charging interface 414, the screen end 42 includes an AP 421, a battery 422, a power management module 423 and a charging interface 424, and the base end 41 and the screen end 42 transmit and receive instructions, messages, data and the like through a communication link. Fig. 4B is a schematic view of a fourth implementation flow of a power supply method of a split terminal in the embodiment of the present application, as shown in fig. 4B, the method includes:
step S401, the power management module 413 sends a determination instruction;
step S402, the arithmetic processor 411 receives the determination instruction and determines the usage type of the terminal, wherein the usage type includes the combined usage of the base end 41 and the screen end 42 and the independent usage of the base end 41 and the screen end 42 respectively;
step S403, when the usage type of the terminal is combined usage, the power management module 413 sends a first detection instruction, and the power management module 423 sends a second detection instruction;
step S404, the arithmetic processor 411 receives the first detection instruction and detects the electric quantity of the battery 412;
step S405, the operation processor 421 receives the second detection instruction, and detects the electric quantity of the battery 422;
step S406, when the electric quantity of the battery 412 is lower than the electric quantity of the battery 422, the power management module 423 controls the battery 422 to supply power to the operation processor 421 and the power management module 423;
in step S407, when the power of the battery 412 is lower than the power of the battery 422, the power management module 423 controls the battery 422 to supply power to the operation processor 411 and the power management module 413 through the power connection path and the charging interface 424.
In the embodiment of the present application, the charging interface 414 on the base end 41 may be connected to an external charging power source, and the charging interface 424 of the screen end 42 may be connected to the charging interface 414 on the base end 41, and the base end 41 and the screen end 42 are used in combination.
According to the embodiment of the application, when the split screen mobile phone is used in a combined mode, the battery with high capacity is intelligently selected to serve as the power supply of the base and the power supply of the screen end according to the battery capacity of the base end and the battery capacity of the screen end. By the method, when the split mobile phone is used in a combined mode, the battery capacities of the base end and the screen end are balanced, and the problem that the whole system cannot operate due to the fact that a battery at one end is dead is avoided.
An embodiment of the present application provides a power supply apparatus, fig. 5 is a schematic structural diagram of a composition of the power supply apparatus in the embodiment of the present application, and as shown in fig. 5, the apparatus 500 includes: a determination module 501 and a selection module 502, wherein:
the determining module 501 is configured to determine a usage type of the terminal, where the usage type includes a combined usage of the first component and the second component, and a separate usage of the first component and the second component;
the selecting module 502 is configured to select a battery with a relatively high electric quantity from the battery of the first component and the battery of the second component to supply power to the first component and the second component when the usage type is combined usage.
In other embodiments, the selecting module 502 includes:
the first processing unit is used for adopting the battery of the first part to supply power for the first part and the second part when the use type is combined use and the battery capacity of the first part is higher than that of the second part;
and the second processing unit is used for adopting the battery of the second component to supply power for the first component and the second component when the use type is combined use and the battery capacity of the first component is lower than that of the second component.
In other embodiments, the apparatus further comprises:
the first execution module is used for adopting the battery of the second component to supply power for the second component and adopting the battery of the first component to supply power for the first component when the use type is combined use and the battery capacity of the first component is equal to that of the second component;
and the second execution module is used for adopting the battery of the second component to supply power for the second component and adopting the battery of the first component to supply power for the first component when the use type is independent use.
In other embodiments, the apparatus further comprises:
the first determining module is used for determining whether the battery capacity of the first component or the second component is lower than a first preset threshold value;
and the prompting module is used for outputting prompting information when the battery electric quantity of the first component or the battery electric quantity of the second component is lower than a first preset threshold value and the use type of the terminal is independent use, and the prompting information is used for prompting that the use type of the terminal is converted into combined use.
In other embodiments, the apparatus further comprises:
the second determining module is used for determining whether the battery capacity of the first component or the second component is lower than a second preset threshold value;
the third execution module is used for receiving a charging instruction by the second component and charging the battery of the first component when the battery electric quantity of the first component is lower than a second preset threshold and the use type of the terminal is combined use;
and the fourth execution module is used for receiving a charging instruction by the first component and charging the battery of the second component when the battery electric quantity of the second component is lower than a second preset threshold and the use type of the terminal is combined use.
In other embodiments, the first component is a master machine and the second component is a slave machine; or, the first component is a base end, and the second component is a screen end; or, the first part is a base end, and the second part is a physical keyboard.
Here, it should be noted that: the above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
In the embodiment of the present application, if the power supply method of the split terminal is implemented in the form of a software functional module and is sold or used as an independent product, the power supply method can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, which includes several instructions for causing a computing device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read Only Memory), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the application provides a split terminal, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the program to realize the steps in the power supply method of the split terminal.
In the embodiment of the application, the first part of the split terminal comprises a first memory and a first processor, and the second part comprises a second memory and a second processor; and the first memory stores a computer program operable on a first processor, the first processor implements part of the steps in the power supply method of the split terminal when executing the program, the second memory stores a computer program operable on a second processor, and the second processor implements part of the steps in the power supply method of the split terminal when executing the program.
Correspondingly, the embodiment of the application provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the power supply method of the split terminal.
Here, it should be noted that: the above description of the storage medium and terminal embodiments is similar to the description of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the terminal of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 6 is a schematic diagram of a hardware entity of a split terminal in the embodiment of the present application, and as shown in fig. 6, the hardware entity of the terminal 600 includes: a memory 601, a communication bus 602, and a processor 603, wherein,
the Memory 601 is configured to store instructions and applications executable by the processor 603, and may also cache data to be processed or already processed by each module in the processor 603 and the terminal 600, and may be implemented by a FLASH Memory (FLASH Memory) or a Random Access Memory (RAM).
The communication bus 602 may enable the terminal 600 to communicate with other terminals or servers through a network, and may also enable connection communication between the processor 603 and the memory 601.
The processor 603 generally controls the overall operation of the terminal 600.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, etc.) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A method of powering a split terminal, the terminal comprising a first part and a second part, each of the first part and the second part including a battery therein, the method comprising:
determining a usage type of the terminal, the usage type including a combined usage of the first component and the second component and respective independent usage of the first component and the second component;
when the use type is combined use, a battery with a relatively high electric quantity is selected to supply power to the first component and the second component from the battery of the first component and the battery of the second component.
2. The method of claim 1, wherein when the type of use is combination use, selecting a battery having a relatively high charge among a battery of a first component and a battery of a second component to power the first component and the second component comprises:
when the use type is combined use and the battery capacity of the first part is higher than that of the second part, the battery of the first part is adopted to supply power to the first part and the second part;
and when the use type is combined use and the battery capacity of the first component is lower than that of the second component, the battery of the second component is adopted to supply power to the first component and the second component.
3. The method of claim 1, further comprising: when the use type is combined use and the battery capacity of the first component is equal to that of the second component, the battery of the second component is adopted to supply power for the second component, and the battery of the first component is adopted to supply power for the first component;
when the use type is independent use, the battery of the second component is used for supplying power to the second component, and the battery of the first component is used for supplying power to the first component.
4. The method according to any one of claims 1 to 3, wherein before selecting a battery having a relatively high charge among the battery of the first component and the battery of the second component to supply power to the first component and the second component when the type of use is combined use, the method further comprises:
determining whether the battery level of the first component or the second component is below a first preset threshold;
when the battery capacity of the first component or the battery capacity of the second component is lower than the first preset threshold and the use type of the terminal is independent use, outputting prompt information, wherein the prompt information is used for prompting to convert the use type of the terminal into combined use.
5. The method of claim 4, further comprising:
determining whether the battery level of the first component or the second component is lower than a second preset threshold;
when the battery capacity of the first component is lower than the second preset threshold and the use type of the terminal is combined use, the second component receives a charging instruction to charge the battery of the first component;
and when the battery power of the second component is lower than the second preset threshold and the use type of the terminal is combined use, the first component receives a charging instruction to charge the battery of the second component.
6. The method of claim 5,
the first component is a master machine, and the second component is a slave machine;
or, the first component is a base end, and the second component is a screen end;
or, the first part is a base end, and the second part is a physical keyboard.
7. A power supply device, characterized in that the power supply device comprises: a determination module and a selection module, wherein:
the determining module is used for determining the use type of the terminal, wherein the use type comprises the combined use of the first component and the second component and the independent use of the first component and the second component respectively;
the selection module is used for selecting a battery with relatively higher electric quantity from the battery of the first component and the battery of the second component to supply power to the first component and the second component when the use type is combined use.
8. The apparatus of claim 7, wherein the selection module comprises:
the first processing unit is used for adopting the battery of the first part to supply power for the first part and the second part when the use type is combined use and the battery capacity of the first part is higher than that of the second part;
and the second processing unit is used for adopting the battery of the second component to supply power for the first component and the second component when the use type is combined use and the battery capacity of the first component is lower than that of the second component.
9. A split terminal comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps in the power supply method of the split terminal according to any one of claims 1 to 6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps in the power supply method of the split terminal according to any one of claims 1 to 6.
CN201811145901.4A 2018-09-29 2018-09-29 Power supply method and device of split terminal, terminal and storage medium Active CN110970944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811145901.4A CN110970944B (en) 2018-09-29 2018-09-29 Power supply method and device of split terminal, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811145901.4A CN110970944B (en) 2018-09-29 2018-09-29 Power supply method and device of split terminal, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110970944A true CN110970944A (en) 2020-04-07
CN110970944B CN110970944B (en) 2023-05-30

Family

ID=70027554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811145901.4A Active CN110970944B (en) 2018-09-29 2018-09-29 Power supply method and device of split terminal, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110970944B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340652A (en) * 2008-08-11 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Electric power managing method for split type mobile terminal, managing apparatus and split type terminal
CN201234276Y (en) * 2008-05-26 2009-05-06 宇龙计算机通信科技(深圳)有限公司 Charging device for split type mobile terminal and split type mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201234276Y (en) * 2008-05-26 2009-05-06 宇龙计算机通信科技(深圳)有限公司 Charging device for split type mobile terminal and split type mobile terminal
CN101340652A (en) * 2008-08-11 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Electric power managing method for split type mobile terminal, managing apparatus and split type terminal

Also Published As

Publication number Publication date
CN110970944B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US10424954B2 (en) Power adaptor, terminal and charging system
CN106990912B (en) Method for controlling SIM card and SD card and electronic equipment for realizing the card
CN108777033B (en) Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof
US20100039081A1 (en) System for supplying and receiving power, power supply device and method thereof
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
KR20100072857A (en) Controlling method of interrupt and potable device using the same
CN111491235B (en) Charging method and system, charging box and Bluetooth headset
EP3193179B1 (en) Electric quantity detection method and apparatus, terminal and storage medium
KR102052443B1 (en) System for performing charging and data communication
US11709708B2 (en) Function resource configuration method and device
CN106775871A (en) Firmware upgrade method and equipment
EP3674904B1 (en) Electronic device having type c usb interface, control method for type c usb interface, and storage medium
US20130181663A1 (en) Method and system for battery charging control of a terminal
JPWO2012157567A1 (en) Portable terminal device, charging method, and program
US11462930B2 (en) Method and device for controlling charging on basis of state of battery
KR20210043351A (en) Apparatus and method for charging battery
CN107276180B (en) Charging control method, device and system and user equipment
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
KR101721202B1 (en) Apparatus for informing sub battery status with advertisement display
CN111293748A (en) Method and device for monitoring electric quantity data
CN110970944B (en) Power supply method and device of split terminal, terminal and storage medium
JP2020124059A (en) Charge control device and charge control system
CN112954760A (en) Connection method and device of Bluetooth equipment and electronic equipment
CN112114772A (en) Voice interaction device, control method and equipment thereof, and computer storage medium
KR20210017247A (en) Electronic device controlling luminance and its luminance control method

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