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

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

Info

Publication number
CN110970944B
CN110970944B CN201811145901.4A CN201811145901A CN110970944B CN 110970944 B CN110970944 B CN 110970944B CN 201811145901 A CN201811145901 A CN 201811145901A CN 110970944 B CN110970944 B CN 110970944B
Authority
CN
China
Prior art keywords
component
battery
power
terminal
use type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811145901.4A
Other languages
Chinese (zh)
Other versions
CN110970944A (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)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a power supply method of a split terminal, wherein the terminal consists of a first component and a second component, the first component and the second component both comprise batteries, and the method comprises the following steps: 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; when the use type is a combination use, a battery having a relatively high electric power is selected 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. The embodiment of the application also provides a power supply device, a split terminal and a storage medium.

Description

Power supply method and device of split terminal, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, and relates to a power supply method of a split terminal, a device, a terminal and a storage medium thereof.
Background
At present, mobile terminals have become an indispensable element in the life of users, through which users can inquire, learn and work online. As the demand of people is also increasing, the types of mobile terminals are also becoming diverse, and among them, a separate type mobile terminal is becoming one of the types of terminals favored by consumers.
The existing split terminal also comprises a plurality of functions, such as browsing web pages, watching audio and video files, entertainment games and the like, besides the mobile communication function, the experience brought by the functions to users is often improved along with the expansion of the screen, so that the screen size of the existing mobile phone is continuously developed to be large, but the excessively large screen size is unfavorable for call answering, so that the contradiction exists between different purposes such as call answering and internet surfing, the size of the mobile phone screen is caused, the split screen mobile phone is generated, the base end and the display screen end of the split screen mobile phone are respectively provided with batteries, and the base end system and the display screen end system are respectively powered by the batteries when the system is in operation. For another example, the split terminal further comprises a host and a sub-machine, wherein the host comprises a host body and a display screen, the sub-machine comprises a sub-machine body and a display screen, and data transmission, display and the like can be performed between the host and the sub-machine.
However, the split type terminal has drawbacks such as that the battery capacities of the display screen end and the base end cannot be uniformly distributed. The battery with low capacity is easy to consume firstly, and when one end of the battery is consumed, the battery can not be used, so that the whole function of the split screen mobile phone can not be realized.
Disclosure of Invention
In view of this, the embodiment of the application provides a power supply method and device for a split terminal, a terminal and a storage medium thereof for solving at least one problem existing in the prior art, so that when the split terminal is used in combination, the capacities of batteries at two ends of the split terminal 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.
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 of a split terminal, where the terminal is composed of a first component and a second component, and the first component and the second component each include a battery, and the method includes:
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;
when the use type is a combination use, a battery having a relatively high electric power is selected 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.
In this embodiment of the present application, when the usage type is a combination usage, selecting, from a battery of a first component and a battery of a second component, a battery with a relatively high electric quantity to supply power to the first component and the second component includes:
when the use type is combined use and the battery power of the first component is higher than that of the second component, the battery of the first component is adopted to supply power for the first component and the second component;
and when the use type is combined use and the battery power 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 power of the first component is equal to the battery power of the second component, the battery of the second component is adopted to supply power to the second component, and the battery of the first component is adopted to supply power to the first component;
when the use type is independent, 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 present application, when the usage type is a combined usage, before selecting a battery with a relatively high electric quantity from the batteries of the first component and the second component to supply power to the first component and the second component, 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 power of the first component or the battery power of the second component is lower than the first preset threshold value and the use type of the terminal is independent, outputting prompt information, wherein the prompt information is used for prompting the conversion of 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 below a second preset threshold;
when the battery power of the first component is lower than the second preset threshold value 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 value 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 component is a base end, and the second component is a physical keyboard.
In a second aspect, embodiments of the present application provide a power supply device, 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 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 when the use type is combined use.
In an embodiment of the present application, the selecting module includes:
the first processing unit is used for supplying power to the first component and the second component by adopting the battery of the first component when the use type is combined use and the battery power of the first component is higher than that of the second component;
and the second processing unit is used for supplying power to the first component and the second component by adopting the battery of the second component when the use type is combined use and the battery power of the first component is lower than that of the second component.
In a third aspect, embodiments of the present application provide a split terminal, including a memory and a processor, where the memory stores a computer program executable on the processor, and where the processor implements steps in a power supply method of the split terminal as described above when the processor executes the program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements steps in a power supply method of a split terminal as described above.
The embodiment of the application provides a power supply method of a split terminal, a device thereof, the terminal and a storage medium, wherein the terminal consists of a first component and a second component, and the first component and the second component both comprise batteries; 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; when the use types are combined, 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 for the first component and the second component, so that when the split type terminal is combined, the capacities of the batteries at two ends of the split type terminal can be balanced, and the problem 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 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 second implementation flow chart of a power supply method of the split terminal according to the 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 diagram of an implementation flow chart 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 implementation flow diagram of a power supply method of a split terminal according to an embodiment of the present application;
fig. 5 is a schematic diagram of a composition structure 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
For the purposes, technical solutions and advantages of the embodiments of the present application to be more apparent, the following detailed description of the specific technical solutions of the present invention will be further described with reference to the accompanying drawings in the embodiments of the present application. The following examples are only for illustration of the present application and are not intended to limit the scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present application, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
In general, a terminal may be any type of device having information processing capabilities in an implementation, such as a mobile phone, tablet, smart watch, smart bracelet, desktop, personal digital assistant (Personal Digital Assistant, PDA), navigator, digital phone, video phone, television, sensing device, etc.
The embodiment of the application provides a power supply method of a split terminal, which is applied to computing equipment, the functions realized by the method can be realized by calling program codes by a processor in a server, the program codes can be stored in a computer storage medium, and the server at least comprises the processor and the storage medium. Fig. 1 is a schematic implementation flow diagram 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, and the method includes:
step S101, 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 the split 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, a call may be made and a network may be accessed through the base end, or a video may be viewed and a game may be played through the display end; when the base end and the display screen end are used independently, the use type of the terminal is independent. And when the base end and the display screen end are combined together by means of hardware connection, for example, by means of USB (Universal Serial Bus ) sockets, by means of connecting wires, or when the base end and the display screen end are combined together by means of wireless connection, the use type of the terminal is combined.
For another example, when the split terminal is a mother-son machine, the first component may be the mother machine, the second component may be the son machine, the mother machine includes a mother machine body and a display screen, the son machine includes a son machine body and a display screen, data transmission and display can be performed between the mother machine and the son machine, and functions of the mother machine and the son machine are approximately the same, so that functions of call receiving, 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. 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. Of course, the connection and combination manners of the first component and the second component when used in combination are not limited in the application.
And step 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 a combination, the step S102 of selecting a battery having a relatively high power 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 may include:
step S1021, detecting the battery power of the first component and the second component;
step S1022, when the use type is combined use and the battery power of the first component is higher than that of the second component, adopting the battery of the first component to supply power for the first component and the second component;
step S1023, when the use type is combined use and the battery power 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 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 types are combined, 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 for the first component and the second component, so that when the split type terminal is combined, the capacities of the batteries at two ends of the split type terminal can be balanced, and the problem that the whole system cannot operate due to the fact that the battery at one end is dead is avoided.
Based on the foregoing embodiments, the embodiments of the present application further provide a power supply method for a split terminal, and fig. 2 is a schematic implementation flow diagram of a power supply method for a split terminal according to the embodiments of the present application, as shown in fig. 2, where 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 the split terminal is a split screen mobile phone, the first component may be a base end, the second component may be a display screen end, where the base end may be provided with a physical key, a microphone, and an earpiece on the front side, the back side is provided with a camera, the side is provided with a switch key, the base end is provided with a video output interface, a pluggable video data line is provided in the video output interface in a matching manner, and the other end of the video data line is provided with the display screen end in a pluggable manner. 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 use type of the terminal is independent. 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.
For another example, when the split terminal is a mother-child machine, the first component may be a mother machine, and the second component may be a child machine, and correspondingly, when the mother machine and the child machine are respectively and independently used, the use type of the terminal is independent. 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. Of course, the connection and combination manners of the first component and the second component when used in combination are not limited in the application.
For another example, when the split type terminal is a split type keyboard terminal, the first component may be a host computer, and the second component may be an entity keyboard, and correspondingly, when the host computer and the entity keyboard are respectively used independently, the use type of the terminal is independent. And when the host computer 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 may form a split terminal, and the embodiment of the present application does not limit the first component and the second component in any way.
Step S202, when the use type is combined use and the battery power 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, the base end and the display screen end are connected together, the respective battery electric quantity of the base end and the display screen end is detected, and when the battery electric quantity of the display screen end is larger than that of the base end, the battery of the display screen end supplies power for the base end and the display screen end together, namely, the battery of the display screen end supplies power for the whole combined terminal.
Step S203, when the use type is combined use and the battery power 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;
step S204, when the use type is combined use and the battery power of the first component is equal to the battery power of the second component, the battery of the second component is adopted to supply power to the second component, and the battery of the first component is adopted to supply power to the first component;
for example, when the split screen mobile phone is used in combination, the base end and the display screen end are connected together, the respective battery electric quantity of the base end and the display screen end is detected, when the battery electric quantity of the display screen end is the same as the battery electric quantity of the base end, the battery of the display screen end supplies power for normal operation of the display screen end, and the battery of the base end supplies power for normal operation of the base end.
Step S205, when the use type is independent, the battery of the second component is adopted to supply power to the second component, and the battery of the first component is adopted to supply power to the first component;
in other embodiments, the method further comprises:
step S21a, determining a use type of the terminal, wherein the use type comprises combined use of the first component and the second component and independent use of the first component and the second component respectively;
step S22a, determining whether the battery level of the first component or the second component is lower than a first preset threshold;
step S23a, outputting a prompt message 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, where the prompt message is used for prompting to convert the usage type of the terminal into combined usage.
The purpose of the combination is to supply both ends with power from a battery at the high-power end. The use type of the terminal is converted into combined use, and in the battery of the first component and the battery of the second component, the battery with relatively high electric quantity is selected to supply power for the first component and the second component, so that the effect of balancing the battery capacity of the first component and the battery capacity of the second component and avoiding the whole system from running incapability caused by the power failure of a battery at one end can be achieved.
For example, when the split screen mobile phone is used independently, the base end and the display end are not connected together, the respective battery power of the base end and the display end is detected, when the battery power of the base end is lower than a first preset threshold, or when the battery power of the display end is lower than the first preset threshold, a query UI (User's Interface) can be popped up at the display end, so that a User is prompted to combine the base end and the display end together, and the battery at the end with high power is used for supplying power for normal operation at the end with low power. The voice prompt can also be carried out, so that the user can combine the base end and the display screen end together.
Of course, 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 consumption in unit time of the base end and the display screen end or according to other bases. The person skilled in the art can select different preset threshold setting methods according to actual needs, which will not be described herein.
In other embodiments, the method further comprises:
step S21b, determining whether the battery level of the first component or the second component is lower than a second preset threshold;
step S22b, when the battery power of the first component is lower than the second preset threshold and the usage type of the terminal is combined, 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, the first component receives a charging instruction to charge the battery of the second component.
Here, when the battery of one component is low and the terminal is used in combination, the battery of the other component may be used to charge the battery of the component having low battery.
For example, when the split screen mobile phone is used in combination, the base end and the display screen end are connected together, the respective battery electric quantity of the base end and the display screen end is detected, and when the battery electric quantity of the base end is lower than a second preset threshold value, the display screen end receives a charging instruction to charge the battery of the base end.
Of course, the first preset threshold value in the step S22a and the second preset threshold value in the step S22b may be the same or different. The person skilled in the art can select the appropriate first preset threshold and the second preset threshold according to the actual needs, which will not be described herein.
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 power of the first component is higher than that of the second component, the battery of the first component is adopted to supply power for the first component and the second component; when the use type is combined use and the battery power of the first component is lower than that of the second component, the battery of the second component is adopted to supply power for the first component and the second component; when the use type is combined use and the battery power of the first component is equal to the battery power of the second component, the battery of the second component is adopted to supply power to the second component, and the battery of the first component is adopted to supply power to 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, so that the capacity of the batteries at two ends of the split terminal is balanced when the split terminal is combined for use, and the problem that the whole system cannot operate due to the fact that the battery at one end is dead is avoided.
Based on the foregoing embodiments, the embodiment of the present application further provides a power supply method of the split terminal, fig. 3A is a schematic diagram of a power supply structure of the split terminal of the embodiment of the present application, as shown in fig. 3A, where the terminal includes a base end 31 and a screen end 32, where the base end 31 includes an AP (Arithmetic Processor, an operation 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 send and receive instructions, messages, data and the like through a communication link. Fig. 3B is a schematic implementation flow chart III of a power supply method of a split terminal according to an embodiment of the present application, as shown in fig. 3B, where the method includes:
step S301, the power management module 313 sends a determination instruction;
step S302, an operation processor 311 receives the determination instruction and determines the use type of the terminal, wherein the use type comprises the combined use of a base end 31 and a screen end 32 and the independent use of the base end 31 and the screen end 32;
step S303, when the usage type of the terminal is a combined usage, 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 command and detects the electric quantity of the battery 312;
step S305, the operation processor 321 receives the second detection instruction and detects the electric quantity of the battery 322;
step S306, when the power of the battery 312 is higher than the power 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 power of the battery 312 is higher than that 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 this embodiment, the charging interface 314 on the base end 31 may be externally connected with a charging power source, and the charging interface 324 of the screen end 32 may be connected with the charging interface 314 on the base end 31, so that the base end 31 and the screen end 32 are combined for use.
According to the embodiment of the application, when the split screen mobile phone is used in combination, the battery with high capacity is intelligently selected to be used as a power supply of the base and the screen according to the battery capacity of the base and the screen. By the method, when the split mobile phone is combined, 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 above embodiments, the present embodiment further provides a power supply method of the split terminal, and fig. 4A is a schematic diagram of a power supply structure of the split terminal according to the embodiment of the present application, as shown in fig. 4A, where the terminal includes a base end 41 and a screen end 42, where the base end 41 includes an AP (Arithmetic Processor, an operation processor) 411, a battery 412, a power management module 413 and a charging interface 414, and 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 send and receive instructions, messages, data and the like through a communication link. Fig. 4B is a schematic implementation flow chart four of a power supply method of a split terminal according to an embodiment of the present application, as shown in fig. 4B, where the method includes:
step S401, the power management module 413 sends a determining instruction;
step S402, the operation processor 411 receives the determining instruction and determines the use type of the terminal, wherein the use type comprises the combined use of the base end 41 and the screen end 42 and the independent use of the base end 41 and the screen end 42;
step S403, when the usage type of the terminal is a 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 operation 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 command, 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 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 411 and the power management module 413 through the power connection path and the charging interface 424.
In this embodiment, the charging interface 414 on the base end 41 may be externally connected with a charging power source, and the charging interface 424 of the screen end 42 may be connected with the charging interface 414 on the base end 41, so that the base end 41 and the screen end 42 are combined for use.
According to the embodiment of the application, when the split screen mobile phone is used in combination, the battery with high capacity is intelligently selected to be used as a power supply of the base and the screen according to the battery capacity of the base and the screen. By the method, when the split mobile phone is combined, 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 device, fig. 5 is a schematic diagram of a composition structure of the power supply device of the embodiment of the present application, as shown in fig. 5, and the device 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 separate usage of the first component and the second component;
the selecting module 502 is configured to select, when the usage type is a combination usage, a battery with a relatively higher 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.
In other embodiments, the selection module 502 includes:
the first processing unit is used for supplying power to the first component and the second component by adopting the battery of the first component when the use type is combined use and the battery power of the first component is higher than that of the second component;
and the second processing unit is used for supplying power to the first component and the second component by adopting the battery of the second component when the use type is combined use and the battery power 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 supplying power to the second component by adopting the battery of the second component and supplying power to the first component by adopting the battery of the first component when the use type is combined use and the battery power of the first component is equal to the battery power of the second component;
and the second execution module is used for supplying power to the second component by adopting the battery of the second component and supplying power to the first component by adopting the battery of the first component when the use type is independent.
In other embodiments, the apparatus further comprises:
the first determining module is used for determining whether the battery power 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, and the prompting information is used for prompting the conversion of the use type of the terminal into combined use.
In other embodiments, the apparatus further comprises:
a second determining module, configured to determine whether the battery level of the first component or the second component is lower than a second preset threshold;
the third execution module is used for receiving a charging instruction by the second component to charge the battery of the first component when the battery power of the first component is lower than a second preset threshold value 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 to charge the battery of the second component when the battery power of the second component is lower than a second preset threshold value and the use type of the terminal is combined use.
In other embodiments, the first component is a parent machine and the second component is a child machine; or the first component is a base end, and the second component is a screen end; or, the first component is a base end, and the second component is a physical keyboard.
It should be noted here that: the description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
In the embodiment of the application, if the power supply method of the split terminal is implemented in the form of a software functional module and sold or used as a separate product, the power supply method may 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 or partly contributing to the prior art, and may be embodied in the form of a software product stored in a storage medium, including 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 realizes the steps in the power supply method of the split terminal when executing the program.
In the embodiment of the application, the first component of the split terminal comprises a first memory and a first processor, and the second component comprises a second memory and a second processor; and the first memory stores a computer program which can be run on a first processor, the first processor realizes part of steps in the power supply method of the split terminal when executing the program, and the second memory stores a computer program which can be run on a second processor, and the second processor realizes part of steps in the power supply method of the split terminal when executing the program.
Accordingly, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements steps in a power supply method of a split terminal.
It should be noted here that: the description of the storage medium and the terminal embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the storage medium and terminal embodiments of the present application, please refer to the description of the method embodiments 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 according to an embodiment of the present application, 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 processed by each module in the processor 603 and the terminal 600, and may be implemented by FLASH (FLASH memory) or RAM (Random Access Memory ).
The communication bus 602 may enable the terminal 600 to communicate with other terminals or servers via 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, etc.) to perform the method described in the various 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (9)

1. A power supply method of a split terminal, the terminal being composed of 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 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;
when the use type is combined use, 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 for the first component and the second component;
said when said type of use is a combined use, before selecting a relatively higher capacity battery from the batteries of the first and second components to power said first and second components, said 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 power of the first component or the battery power of the second component is lower than the first preset threshold value and the use type of the terminal is independent, outputting prompt information, wherein the prompt information is used for prompting the conversion of the use type of the terminal into combined use.
2. The method of claim 1, wherein selecting a relatively higher power battery among the battery of the first component and the battery of the second component to power the first component and the second component when the usage type is a combined usage, comprises:
when the use type is combined use and the battery power of the first component is higher than that of the second component, the battery of the first component is adopted to supply power for the first component and the second component;
and when the use type is combined use and the battery power 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 according to claim 1, wherein the method further comprises: when the use type is combined use and the battery power of the first component is equal to the battery power of the second component, the battery of the second component is adopted to supply power to the second component, and the battery of the first component is adopted to supply power to the first component;
when the use type is independent, 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 claim 1, wherein the method further comprises:
determining whether the battery level of the first component or the second component is below a second preset threshold;
when the battery power of the first component is lower than the second preset threshold value 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 value 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.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
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 component is a base end, and the second component is a physical keyboard.
6. 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 selecting module is used for 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 when the use type is combined;
the apparatus further comprises:
the first determining module is used for determining whether the battery power 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, and the prompting information is used for prompting the conversion of the use type of the terminal into combined use.
7. The apparatus of claim 6, wherein the selection module comprises:
the first processing unit is used for supplying power to the first component and the second component by adopting the battery of the first component when the use type is combined use and the battery power of the first component is higher than that of the second component;
and the second processing unit is used for supplying power to the first component and the second component by adopting the battery of the second component when the use type is combined use and the battery power of the first component is lower than that of the second component.
8. A split terminal comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that the processor, when executing the program, implements the steps of the power supply method of the split terminal according to any one of claims 1 to 5.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps in the power supply method of a split terminal as claimed in any one of claims 1 to 5.
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 CN110970944A (en) 2020-04-07
CN110970944B true 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)

Family Cites Families (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
CN101340652B (en) * 2008-08-11 2011-09-14 宇龙计算机通信科技(深圳)有限公司 Electric power managing method for split type mobile terminal, managing apparatus and split type terminal

Also Published As

Publication number Publication date
CN110970944A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN106990912B (en) Method for controlling SIM card and SD card and electronic equipment for realizing the card
CN107329717B (en) Processing method, display method and display system of screen display information
EP3193179B1 (en) Electric quantity detection method and apparatus, terminal and storage medium
CN110368676B (en) Touch information control method and device, storage medium and electronic equipment
US20180205261A1 (en) Charging method, charging device and terminal
CN105224421B (en) Data backup method and device and electronic equipment
US20180373307A1 (en) Processing method and device for saving power, mobile terminal and cloud server
CN106250182B (en) File processing method and device and electronic equipment
KR102052443B1 (en) System for performing charging and data communication
CN106411920B (en) Data sharing method and device
CN104333604A (en) Picture batch uploading method, uploading information feedback method, related device and system
CN105681395A (en) Resource sharing control method, device, server and terminal
WO2018072443A1 (en) Charging method, apparatus, and data storage medium
KR20200098068A (en) Method for recommending word and apparatus thereof
CN112817896A (en) Type-C interface protection circuit, method and device, storage medium and electronic equipment
CN104079551A (en) Information transmission method, relevant device and system
KR20210043351A (en) Apparatus and method for charging battery
CN110221878A (en) Game service updating method and device, electronic equipment and storage medium
CN104427118A (en) Method for recommending contents and mobile terminal
CN110970944B (en) Power supply method and device of split terminal, terminal and storage medium
CN103297434A (en) Method for processing data, user sides, server and system
US20150220362A1 (en) Multi-core processor system, electrical power control method, and computer product for migrating process from one core to another
CN111293748A (en) Method and device for monitoring electric quantity data
CN111338905A (en) Application node data processing method and device
CN104954158A (en) Connection management method and connection pool control equipment

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