CN110943500A - Charging method, split terminal and computer storage medium - Google Patents

Charging method, split terminal and computer storage medium Download PDF

Info

Publication number
CN110943500A
CN110943500A CN201811115542.8A CN201811115542A CN110943500A CN 110943500 A CN110943500 A CN 110943500A CN 201811115542 A CN201811115542 A CN 201811115542A CN 110943500 A CN110943500 A CN 110943500A
Authority
CN
China
Prior art keywords
charging
voltage
main body
split
module
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.)
Pending
Application number
CN201811115542.8A
Other languages
Chinese (zh)
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 CN201811115542.8A priority Critical patent/CN110943500A/en
Publication of CN110943500A publication Critical patent/CN110943500A/en
Pending legal-status Critical Current

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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/441Methods for charging or discharging for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • 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

Abstract

The embodiment of the application discloses a charging method, a split terminal and a computer storage medium, wherein the method is applied to the split terminal comprising a main body and a split body, the main body is provided with a charging module and a gating module, and the charging method comprises the following steps: when current is switched on, detecting a first voltage corresponding to the main body and a second voltage corresponding to the split body; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module.

Description

Charging method, split terminal and computer storage medium
Technical Field
The embodiment of the application relates to a charging technology in the field of terminals, in particular to a charging method, a split type terminal and a computer storage medium.
Background
Split type terminal is about to the different spare part separation configuration at terminal, and each spare part concatenation together alright become a terminal that has complete function, and common split type terminal can divide into screen end and base end, and wherein, screen end and base section can the split, also can splice together, can carry out wireless communication between the two.
The screen end and the base end in the split type terminal can charge the battery through the configured charging module, however, the charging module not only occupies partial volume of the split type terminal, the available space of the split type terminal is reduced, and heat can be generated when the charging module is used for charging, so that the temperature of the split type terminal rises, and the potential safety hazard of heating exists.
Disclosure of Invention
The embodiment of the application provides a charging method, a split type terminal and a computer storage medium, which can increase the available space of the split type terminal, reduce the heat generation of the split type terminal during charging, reduce the temperature of the split type terminal and greatly improve the safety of the split type terminal.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a charging method, which is applied to a split terminal comprising a main body and a split body, wherein the main body is provided with a charging module and a gating module; the method comprises the following steps:
when current is switched on, detecting a first voltage corresponding to the main body and a second voltage corresponding to the split body;
selecting a charging target in the main body and the sub-body according to the first voltage and the second voltage;
and when the charging target comprises the split body, charging the charging target through the charging module and the gating module.
Optionally, the selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage includes:
comparing the first voltage with the second voltage to obtain a comparison result;
and determining the charging target according to the comparison result.
Optionally, the determining the charging target according to the comparison result includes:
when the comparison result is that the first voltage is less than the second voltage, determining the sub-division as the charging target;
determining the subject as the charging target when the comparison result is that the first voltage is greater than the second voltage;
when the comparison result is that the first voltage is equal to the second voltage, the main body and the division are determined as the charging target.
Optionally, before the charging module and the gating module charge the charging target, the method further includes:
and gating the split through the gating module.
Optionally, after the charging module and the gating module charge the charging target, the method further includes:
re-detecting the first voltage and the second voltage;
charging the main body and the sub-body through the charging module when the re-detected first voltage is equal to the re-detected second voltage.
Optionally, after the selecting the charging target from the main body and the sub-body, the method further includes:
and when the charging target is the main body, charging the charging target through the charging module.
Optionally, after the re-detecting the first voltage and the second voltage, the method further includes:
when the re-detected first voltage is equal to the re-detected second voltage, the sub-division is gated through the gating module, and the main body and the sub-division are charged through the charging module.
The embodiment of the application provides a split terminal, which comprises a main body and a split body, wherein the main body is provided with a charging module and a gating module; the split type terminal includes: a detection unit, a selection unit and a charging unit,
the detection unit is used for detecting a first voltage corresponding to the main body and a second voltage corresponding to the sub-body when current is switched on;
the selection unit is used for selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage;
the charging unit is used for charging the charging target through the charging module and the gating module when the charging target comprises the split body.
Optionally, the split terminal further comprises a gating unit,
the gating unit is used for gating the sub-bodies through the gating module before the charging module and the gating module charge the charging target.
Optionally, the detecting unit is further configured to detect the first voltage and the second voltage again after the charging module and the gating module charge the charging target;
the charging unit is further configured to charge the main body and the sub-body through the charging module when the redetected first voltage is equal to the redetected second voltage.
Optionally, the charging unit is further configured to, after selecting a charging target from the main body and the sub-body, charge the charging target through the charging module when the charging target is the main body; and after the first voltage and the second voltage are re-detected, when the re-detected first voltage is equal to the re-detected second voltage, gating the sub-body through the gating module, and charging the main body and the sub-body through the charging module.
The embodiment of the application provides a split terminal, which comprises a main body and a split body; wherein the content of the first and second substances,
the main body comprises a first processor, a first memory storing executable instructions of the first processor, a first communication interface, a charging module and a gating module; wherein the gating module is used for gating a passage between the main body and the split;
the sub-body comprises a second communication interface; the main body and the sub-body carry out data transmission through the first communication interface and the second communication interface;
when the instructions are executed, the first processor implements the charging method as described above.
An embodiment of the present application provides a computer-readable storage medium, which stores a program thereon and is applied to a split terminal, where the program is executed by a processor to implement the charging method as described above.
The embodiment of the application provides a charging method, a split terminal and a computer storage medium, wherein when current is accessed, the split terminal detects a first voltage corresponding to a main body and a second voltage corresponding to a split; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module. That is to say, in the embodiment of the present application, since the charging module and the gating module are configured in the main body of the split terminal, after the split terminal determines the charging target to be charged according to the voltages corresponding to the main body and the splits, if the charging target includes the splits, the split terminal can be charged by the charging module and the gating module of the main body, so that the charging of the split terminal can be completed without configuring the charging module in the splits, and therefore, the available space of the split terminal can be increased, and meanwhile, the configuration of the charging module is reduced, the generation of heat in the charging process of the split terminal can be effectively reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
Drawings
Fig. 1 is a schematic diagram of a split terminal in an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of a charging method according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a main body and a split body in an embodiment of the present application;
fig. 4 is a first schematic diagram illustrating charging of a split body according to an embodiment of the present application;
fig. 5 is a second schematic diagram illustrating charging of a split body in the embodiment of the present application;
fig. 6 is a schematic diagram of charging the main body and the split body in the embodiment of the present application;
FIG. 7 is a schematic diagram illustrating charging of a main body according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a split terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a main body according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a split body according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
The split type terminal provided by the embodiment of the application can enable a user to select each part of the terminal according to the needs of the user, namely, the user can perform personalized customization on each module of a screen, a receiver, a camera, an interface, a battery and the like of the terminal, and then the camera, the battery, a processor and the like are combined into a complete terminal, so that the personalized needs can be fully met. Meanwhile, each part of the split terminal can be upgraded or repaired independently, so that the cost performance of the terminal is greatly improved.
The charging method provided by the application can be applied to a split terminal, wherein the split terminal can comprise a main body and a plurality of split modules, fig. 1 is a schematic diagram of the split terminal in the embodiment of the application, and as shown in fig. 1, the split terminal can comprise a main body and at least one split body, wherein the main body and the split bodies can be spliced together to form a complete terminal, and can also be split apart, but still have complete functions.
Further, in the embodiment of the present application, the charging power source in the split terminal is physically connected to the contact through the elastic piece, pogo pin, or other means. The pogo pin is a precision connector applied to electronic products such as mobile phones and the like, is widely applied to semiconductor equipment and plays a role in connection.
It should be noted that, in the embodiment of the present application, the main body and each of the bays have independent power supplies, the main body and the bays perform communication and data transmission in a wireless manner, and a Universal Serial Bus (USB) port or other types of charging ports are disposed on the main body.
Further, the longer the constant current charging time lasts, the faster the charging time is, in the whole charging period of the split terminal. However, in the charging process of the split type terminal, if the main body and the split body are both in the constant current charging state, the sum of the charging currents of the main body and the split body needs to be limited to ensure that the charging is performed within the current capability range of the adapter and the wire, and because the charging currents of the main body and the split body cannot be intelligently controlled, the charging currents cannot be reasonably distributed according to the charging stages of different batteries, and further the charging rate of the whole split type terminal cannot be maximized.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a charging method, which is applied to a split terminal, wherein the split terminal includes a main body and a split body; fig. 2 is a schematic view of an implementation flow of a charging method provided in an embodiment of the present application, and as shown in fig. 2, in the embodiment of the present application, the charging method of the split terminal may include the following steps:
step 101, when current is switched on, detecting a first voltage corresponding to the main body and a second voltage corresponding to the split body.
In the embodiment of the application, when the split terminal is connected with current through the adapter, a first voltage corresponding to the main body and a second voltage corresponding to the split terminal may be detected first.
Further, in the present application, the split terminal may be any terminal with communication and storage functions, for example: terminals such as tablet computers, mobile phones, electronic readers, remote controllers, Personal Computers (PCs), notebook computers, vehicle-mounted devices, network televisions, and wearable devices.
It should be noted that, in an embodiment of the present application, the split terminal may include a main body and at least one split body, and specifically, in an embodiment of the present application, the split terminal is a split terminal in which the main body and the split bodies are spliced into a whole.
In the embodiment of the present application, the split terminal may be used in various ways to access current through the adapter, for example, the split terminal may connect the main body with the adapter, or may connect the split body with the adapter, that is, both the main body and the split body may be charged by accessing current through the adapter; the split terminal may connect only the main body and the adapter to receive current, and then transmit the received current to the split body through a path between the main body and the split body to perform charging; the split terminal may be configured to connect only the split body with the adapter to receive current, and then transmit the received current to the main body through a path between the split body and the main body, thereby performing charging.
Further, in the embodiment of the present application, the split terminal may further perform charging by wireless charging, specifically, the main body and the split terminal may be respectively charged by wireless charging, for example, the main body and the split terminal may be charged by Qi wireless charger.
It should be noted that, in the embodiment of the present application, after the charging is started through the Qi wireless charger, the split terminal may also detect and obtain the first voltage and the second voltage.
Further, in the embodiment of the present application, the main body and the separate body may be any component in the split terminal, such as a screen, an earpiece, a camera, an interface, and a battery. Specifically, in the embodiment of the present application, the main body and the sub-body may respectively include a plurality of modules, for example, the main body and the sub-body may respectively include at least one of a plurality of modules, such as a processor, a memory, a display, a transmission module, a speaker, a sensor, a power interface, and a power supply.
In an embodiment of the present application, the main body and the sub-body of the split terminal are both provided with a power management module, and specifically, the power management module may determine a charging state of the main body and the sub-body, and may adjust the charging state of the main body and the sub-body.
Further, in the embodiment of the present invention, since the charging module is disposed in the power management module of the main body and the charging module is not disposed in the power management module of the separate body, the separate body terminal can directly connect the battery of the separate body to the charging module of the main body to charge the separate body through the charging module of the main body when the separate body terminal is charging. Just because the split terminal can charge the split body through the charging module arranged in the main body, the available space of the split body can be effectively improved, meanwhile, the heat generated by the charging module during charging can be reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
In an embodiment of the present application, a gating module is further configured in the main body of the split terminal, and the gating module may be configured to perform a gating process on a path between the split terminal and the main body. For example, when the split terminal needs to charge the split body through the charging module, the path between the main body and the split body may be gated.
Further, in the embodiment of the present application, since the power management module of the above-mentioned sub-body is not configured with a charging module, the above-mentioned sub-body terminal needs to charge the above-mentioned sub-body through the charging module in the main body, so that the gating of the access can be performed through the gating module.
In the embodiment of the present application, for the split terminal, since the functions of the main body and the split body are different, the main body and the split body may be configured with different modules. Fig. 3 is a schematic diagram of a main body and a split body in the embodiment of the application, and as shown in fig. 3, when the main body of the split terminal is a base end and the split body is a screen end, the main body may be configured with modules such as a processor, a memory, a power interface, a power supply, a power management module, a gating module, a transmission module, and a gravity sensor, and the split body may be configured with modules such as a processor, a memory, a power management module, a power supply, a display, a transmission module, a speaker, and a pressure sensor. The main body and the split bodies are wirelessly connected through the transmission modules configured respectively. Wherein, the power management module in the main body can be configured with a charging module.
It should be noted that, in the embodiment of the present application, in the above fig. 3, when the main body of the split terminal is the base end and the split terminal is the screen end, the power management module at the base end of the split terminal is used as the main power management module, and may be used to charge the battery at the base end, and control and distribute the charging current at the screen end according to the screen power information returned by the communication link.
Further, in an embodiment of the present application, after the split terminal is connected to the charging current through the adapter, the split terminal may detect a real-time charging state of the main body and a real-time voltage of the split terminal, that is, detect and obtain the first voltage and the second voltage. The second voltage and the second voltage may be the same or different.
And 102, selecting a charging target from the main body and the sub body according to the first voltage and the second voltage.
In an embodiment of the present invention, after detecting the first voltage corresponding to the main body and the second voltage corresponding to the sub-body, the separated terminal may further select a charging target from the main body and the sub-body according to the first voltage and the second voltage.
In an embodiment of the present application, the split terminal may further determine an object to be charged, that is, the charging object, from the main body and the split body according to voltage levels of the main body and the split body.
Further, in the embodiment of the present application, the charging target may be one target of the main body and the division body, or may be a plurality of targets of the main body and the division body. That is, the charging target may be the main body, may be a separate body, or may be both the main body and the separate body.
In an embodiment of the application, when the split terminal determines the charging target according to the first voltage and the second voltage, at least one target to be charged with the lowest voltage value may be selected from the main body and the split terminal, so that the charging target may be determined.
Further, in the embodiment of the present application, the separated terminal determines the charging target according to the first voltage and the second voltage, and thus, it is possible to efficiently determine a target which is most required to be charged among the main body and the separated body and perform charging.
And 103, when the charging target comprises a split body, charging the charging target through the charging module and the gating module.
In an embodiment of the present application, after the split type terminal determines the charging target in the main body and the split type according to the first voltage and the second voltage, if the split type terminal includes the split type in the charging target, the charging target may be charged through the charging module and the gating module.
Further, in an embodiment of the present application, the split type terminal may be charged in a different manner for different charging targets, wherein the charging target may be the main body, the split type terminal, or both the main body and the split type terminal.
In an embodiment of the present application, further, a gating module is configured in a main body of the split terminal, and when the charging target includes the split, before the split terminal charges the charging target through the charging module and the gating module, that is, before step 103, the method for charging the split terminal further includes the following steps:
and 104, gating the splits through a gating module.
In an embodiment of the present application, if the charging target determined by the split terminal is the split, or the main body and the split, that is, the charging target includes the split, the split terminal needs to gate the split through the gating module before charging the charging target.
Further, in the embodiment of the present application, since the charging module is not disposed in the division body, before the split terminal is charged, if the division body is included in the charging target, the split terminal needs to charge the batteries of the division body through the charging module disposed in the main body, and thus the path between the main body and the division body needs to be gated through the gating module disposed in the main body.
Fig. 4 is a first schematic diagram illustrating charging of the split bodies in the embodiment of the present application, as shown in fig. 4, a main body is a base end, and the split bodies are screen ends, and when the split type terminal determines that a charging target is a split body, a gating module in the main body may gate a path between the main body and the split bodies first.
Fig. 5 is a second schematic diagram illustrating charging of a sub-body in the embodiment of the present application, and as shown in fig. 5, after the gating module in the main body gates the path between the main body and the sub-body, the charging module configured in the power management module of the main body may charge the batteries of the sub-body.
Fig. 6 is a schematic diagram of charging a main body and a split body in the embodiment of the present application, where as shown in fig. 6, the main body is a base end, and the split body is a screen end, and when the split type terminal determines that a charging target is the main body and the split body, a power management module in the main body may directly charge a battery of the main body through a configured charging module, and meanwhile, a gating module in the main body may gate a path between the main body and the split body first, and charge the battery of the split body through the charging module configured in the power management module of the main body.
It should be noted that, in the embodiment of the present application, after the split terminal determines the charging target, if the charging target is the main body, the split terminal may charge the charging target through a charging module configured in a power management module in the main body.
Fig. 7 is a schematic diagram of charging a main body in the embodiment of the present application, and as shown in fig. 7, the main body is a base end, and the split body is a screen end, when the split type terminal determines that a charging target is the main body, then a power management module in the main body may directly charge a battery of the main body through a configured charging module.
According to the charging method provided by the embodiment of the application, when current is accessed, the split type terminal detects a first voltage corresponding to the main body and a second voltage corresponding to the split type terminal; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module. That is to say, in the embodiment of the present application, since the charging module and the gating module are configured in the main body of the split terminal, after the split terminal determines the charging target to be charged according to the voltages corresponding to the main body and the splits, if the charging target includes the splits, the split terminal can be charged by the charging module and the gating module of the main body, so that the charging of the split terminal can be completed without configuring the charging module in the splits, and therefore, the available space of the split terminal can be increased, and meanwhile, the configuration of the charging module is reduced, the generation of heat in the charging process of the split terminal can be effectively reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
Based on the above embodiment, in another embodiment of the present application, the method for selecting the charging target in the main body and the sub-body by the split terminal according to the first voltage and the second voltage may include the following steps:
and 102a, comparing the first voltage with the second voltage to obtain a comparison result.
In an embodiment of the application, after the split terminal detects and obtains the first voltage and the second voltage, the split terminal may compare the first voltage and the second voltage and obtain a comparison result.
Further, in an embodiment of the present application, the split terminal may obtain a comparison result after comparing the first voltage with the second voltage, where the first voltage is equal to the second voltage, the first voltage is smaller than the second voltage, and the first voltage is greater than the second voltage.
And step 102b, determining a charging target according to the comparison result.
In an embodiment of the application, after the split terminal compares the first voltage with the second voltage and obtains the comparison result, the split terminal may determine the charging target according to the comparison result.
Further, in the embodiment of the present application, after determining the battery voltage corresponding to the main body, that is, the first voltage, and the voltage corresponding to the sub-body, that is, the second voltage, the split terminal needs to compare the first voltage with the second voltage, so that the main body or the sub-body having a smaller voltage value can be determined as the charging target.
In an embodiment of the application, further, the method for determining the charging target by the split terminal according to the comparison result may include the following steps:
and step 201, when the comparison result is that the first voltage is smaller than the second voltage, determining the sub-body as a charging target.
And step 202, when the comparison result is that the first voltage is greater than the second voltage, determining the main body as a charging target.
And step 203, when the first voltage is equal to the second voltage as a comparison result, determining the main body and the sub-body as charging targets.
In an embodiment of the application, after the split terminal compares the first voltage with the second voltage and obtains the comparison result, the split terminal may further determine the charging target according to the comparison result.
In an embodiment of the present invention, if the first voltage is equal to the second voltage as a result of the comparison, that is, the voltages of the batteries of the main body and the sub-body are the same, the separate type terminal may simultaneously charge the main body and the sub-body, and thus the main body and the sub-body may be determined as the charging target.
Further, in an embodiment of the present invention, the first voltage is smaller than the second voltage, and if the comparison result shows that the first voltage is smaller than the second voltage, it can be said that the battery voltage of the main body is lower than the battery voltage of the sub-body, the sub-body terminal may charge the main body first, and thus the main body may be determined as the charging target.
Further, in an embodiment of the present invention, the first voltage is greater than the second voltage, and if the comparison result indicates that the first voltage is greater than the second voltage, it can be said that the battery voltage of the main body is greater than the battery voltage of the division body, and the division body terminal may charge the division body first, and thus, the division body may be determined as the charging target.
According to the charging method provided by the embodiment of the application, when current is accessed, the split type terminal detects a first voltage corresponding to the main body and a second voltage corresponding to the split type terminal; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module. That is to say, in the embodiment of the present application, since the charging module and the gating module are configured in the main body of the split terminal, after the split terminal determines the charging target to be charged according to the voltages corresponding to the main body and the splits, if the charging target includes the splits, the split terminal can be charged by the charging module and the gating module of the main body, so that the charging of the split terminal can be completed without configuring the charging module in the splits, and therefore, the available space of the split terminal can be increased, and meanwhile, the configuration of the charging module is reduced, the generation of heat in the charging process of the split terminal can be effectively reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
In an embodiment of the application, further, after the split terminal charges the charging target through the charging module and the gating module, that is, after step 103, the method for charging the split terminal may further include the following steps:
step 105, the first voltage and the second voltage are re-detected.
In an embodiment of the application, after the split terminal charges the charging target through the charging module, the split terminal may detect and obtain the first voltage corresponding to the main body and the second voltage corresponding to the split body again.
In an embodiment of the present invention, after the split terminal charges the charging target, the split terminal may detect the battery voltage of the main body and the battery voltage of the split terminal again to determine a new voltage value of the main body and the split terminal after charging.
Further, in the embodiment of the present application, the separate type terminal may be preset with a time interval, and then may re-detect the battery voltages of the main body and the separate body according to the time interval after charging.
And 106, when the redetected first voltage is equal to the redetected second voltage, charging the main body and the sub-bodies through the charging module.
In an embodiment of the present application, when the charging target includes the divided body, the divided type terminal may charge the main body and the body through the charging module if the re-detected first voltage is equal to the re-detected second voltage after re-detecting the first voltage and the second voltage.
Further, in the embodiment of the present application, if the redetected first voltage and the redetected second voltage are equal, it can be stated that after charging, the voltages of the batteries of the main body and the sub-body are the same, and then the split terminal can continue to charge the main body and the sub-body simultaneously through the charging module.
In the embodiment of the present application, further, when the charging target is the main body, after the split terminal re-detects the first voltage and the second voltage, that is, after step 105, the method for charging the split terminal may further include the following steps:
and 107, when the redetected first voltage is equal to the redetected second voltage, gating the sub-body through the gating module, and charging the main body and the sub-body through the charging module.
In an embodiment of the present application, when the charging target is the main body, after the split terminal re-detects the first voltage and the second voltage, if the re-detected first voltage is equal to the re-detected second voltage, the split terminal may gate the split body through the gate module, and the main body and the split body may be charged through the charging module.
Further, in the embodiment of the present application, if the re-detected first voltage and the re-detected second voltage are equal, it can be stated that after charging, the voltages of the batteries of the main body and the bays are the same, the split terminal can gate the path between the main body and the bays through the gating module, and then continue to charge the main body and the bays through the charging module at the same time.
According to the charging method provided by the embodiment of the application, when current is accessed, the split type terminal detects a first voltage corresponding to the main body and a second voltage corresponding to the split type terminal; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module. That is to say, in the embodiment of the present application, since the charging module and the gating module are configured in the main body of the split terminal, after the split terminal determines the charging target to be charged according to the voltages corresponding to the main body and the splits, if the charging target includes the splits, the split terminal can be charged by the charging module and the gating module of the main body, so that the charging of the split terminal can be completed without configuring the charging module in the splits, and therefore, the available space of the split terminal can be increased, and meanwhile, the configuration of the charging module is reduced, the generation of heat in the charging process of the split terminal can be effectively reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
In another embodiment of the present application, fig. 8 is a schematic structural diagram of a split terminal according to an embodiment of the present application, and as shown in fig. 8, the split terminal 1 according to the embodiment of the present application may include a detecting unit 11, a selecting unit 12, a charging unit 13, and a gating unit 14.
And the detection unit 11 is used for detecting a first voltage corresponding to the main body and a second voltage corresponding to the sub-body when current is switched on.
And a selecting unit 12 configured to select a charging target from the main body and the sub-body according to a first voltage and a second voltage corresponding to the main body and the sub-body after the detecting unit 11 detects the first voltage and the second voltage.
A charging unit 13, configured to, after the selection unit 12 determines a charging target in the main body and the division according to the first voltage and the second voltage, charge the charging target through the charging module and the gating module when the charging target includes the division.
Further, in the embodiment of the present application, the selecting unit 12 is specifically configured to compare the first voltage and the second voltage to obtain a comparison result; and determining the charging target according to the comparison result.
Further, in the embodiment of the present application, the selecting unit 12 is further specifically configured to determine the sub-division as the charging target when the comparison result is that the first voltage is smaller than the second voltage; and determining the subject as the charging target when the comparison result is that the first voltage is greater than the second voltage; and determining the main body and the division body as the charging target when the comparison result is that the first voltage is equal to the second voltage.
Further, in the embodiment of the present application, the gating unit 14 is configured to gate the sub-divisions through the gating module before the charging module and the gating module charge the charging target.
Further, in the embodiment of the present application, the detecting unit 11 is further configured to detect the first voltage and the second voltage again after the charging module and the gating module charge the charging target.
A charging unit 13, further configured to charge the main body and the sub-body through the charging module when the redetected first voltage is equal to the redetected second voltage.
Further, in the embodiment of the present application, the detecting unit 11 is further configured to charge the charging target through the charging module when the charging target is the main body after the charging target is selected from the main body and the sub-body.
Further, in the embodiment of the present application, the charging unit 13 and the gating unit 14 are further configured to gate the sub-body through the gating module and charge the main body and the sub-body through the charging module when the re-detected first voltage is equal to the re-detected second voltage after the re-detection of the first voltage and the second voltage.
Fig. 9 is a schematic diagram of a composition structure of a main body according to an embodiment of the present disclosure, and as shown in fig. 9, the main body 2 according to the embodiment of the present disclosure may include a first processor 21, a first memory 22 storing an executable instruction of the first processor 21, and further, the main body 2 may further include a first communication interface 23, and a first bus 24, a charging module 25, and a gating module 26 for connecting the first processor 21, the first memory 22, and the first communication interface 23.
Fig. 10 is a schematic diagram of a composition structure of a split body according to an embodiment of the present disclosure, and as shown in fig. 10, the split body 3 according to the embodiment of the present disclosure may include a second processor 31, a second memory 32 storing executable instructions of the second processor 31, and further, the split body 3 may further include a second communication interface 33, and a second bus 34 for connecting the second processor 31, the second memory 32, and the second communication interface 33.
In an embodiment of the present Application, the first Processor 21 and the second Processor 31 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The first memory 22 and the second memory 32 are used to store executable program code comprising computer operating instructions, and the first memory 22 and the second memory 32 may comprise high speed RAM memory and may also comprise non-volatile memory, such as at least two disk memories.
In the embodiment of the present application, the first bus 24 is used to connect the first communication interface 23, the first processor 21, and the first memory 22 and the intercommunication among these devices; the second bus 34 is used for connecting the second processor 31, the second memory 32, and the second communication interface 33 and for mutual communication between these devices.
In an embodiment of the present application, the first memory 22 and the second memory 32 are used for storing instructions and data.
Further, in an embodiment of the present application, the first processor 21 is configured to detect a first voltage corresponding to the main body and a second voltage corresponding to the sub-body when a current is switched on; selecting a charging target in the main body and the sub-body according to the first voltage and the second voltage; and when the charging target comprises the split body, charging the charging target through the charging module and the gating module.
In practical applications, the first Memory 22 and the second Memory 32 may be a volatile first Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile first Memory (non-volatile Memory), such as a Read-Only first Memory (ROM), a flash Memory (flash Memory), a hard disk (hard disk Drive, HDD) or a Solid State Drive (SSD); or a combination of first memories of the above kind.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
According to the split terminal provided by the embodiment of the application, when current is accessed, the split terminal detects a first voltage corresponding to a main body and a second voltage corresponding to a split; selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage; when the charging target includes the split body, the charging target is charged through the charging module and the gating module. That is to say, in the embodiment of the present application, because the charging module and the gating module are configured in the main body of the split terminal, after the split terminal determines the charging target to be charged according to the voltage corresponding to the main body and the split, if the charging target includes the split, the split terminal can be charged to the split through the charging module and the gating module of the main body, so that the charging of the split terminal can be completed under the condition that the charging module is not configured to the split, and therefore, the available space of the split terminal can be increased, meanwhile, the configuration of the charging module is reduced, the heat generated when the split terminal is charged can be effectively reduced, the temperature of the split terminal is reduced, and the safety of the split terminal is greatly improved.
An embodiment of the present application provides a computer-readable storage medium on which a program is stored, which when executed by a processor implements the charging method as described above.
Specifically, the program instructions corresponding to a charging method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the program instructions corresponding to a charging method in the storage medium are read or executed by an electronic device, the method includes the following steps:
when current is switched on, detecting a first voltage corresponding to the main body and a second voltage corresponding to the split body;
selecting a charging target in the main body and the sub-body according to the first voltage and the second voltage;
and when the charging target comprises the split body, charging the charging target through the charging module and the gating module.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) 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 block or blocks and/or flowchart 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 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 block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (14)

1. A charging method is applied to a split type terminal comprising a main body and a split body, wherein the main body is provided with a charging module and a gating module; characterized in that the method comprises:
when current is switched on, detecting a first voltage corresponding to the main body and a second voltage corresponding to the split body;
selecting a charging target in the main body and the sub-body according to the first voltage and the second voltage;
and when the charging target comprises the split body, charging the charging target through the charging module and the gating module.
2. The method of claim 1, wherein selecting a charging target in the main body and the sub-body based on the first voltage and the second voltage comprises:
comparing the first voltage with the second voltage to obtain a comparison result;
and determining the charging target according to the comparison result.
3. The method of claim 2, wherein determining the charging target based on the comparison comprises:
when the comparison result is that the first voltage is less than the second voltage, determining the sub-division as the charging target;
determining the subject as the charging target when the comparison result is that the first voltage is greater than the second voltage;
when the comparison result is that the first voltage is equal to the second voltage, the main body and the division are determined as the charging target.
4. The method of claim 1, wherein prior to charging the charging target via the charging module and the gating module, the method further comprises:
and gating the split through the gating module.
5. The method of claim 1, wherein after the charging of the charging target by the charging module and the gating module, the method further comprises:
re-detecting the first voltage and the second voltage;
charging the main body and the sub-body through the charging module when the re-detected first voltage is equal to the re-detected second voltage.
6. The method of claim 5, wherein after selecting a charging target in the body and the sub-body, the method further comprises:
and when the charging target is the main body, charging the charging target through the charging module.
7. The method of claim 6, wherein after said re-detecting said first voltage and said second voltage, said method further comprises:
when the re-detected first voltage is equal to the re-detected second voltage, the sub-division is gated through the gating module, and the main body and the sub-division are charged through the charging module.
8. A split terminal comprises a main body and a split body, wherein the main body is provided with a charging module and a gating module; characterized in that, the split terminal includes: a detection unit, a selection unit and a charging unit,
the detection unit is used for detecting a first voltage corresponding to the main body and a second voltage corresponding to the sub-body when current is switched on;
the selection unit is used for selecting a charging target from the main body and the sub-body according to the first voltage and the second voltage;
the charging unit is used for charging the charging target through the charging module and the gating module when the charging target comprises the split body.
9. The split terminal according to claim 8, further comprising a gating unit,
the gating unit is used for gating the sub-bodies through the gating module before the charging module and the gating module charge the charging target.
10. The split terminal according to claim 8,
the detection unit is further configured to detect the first voltage and the second voltage again after the charging target is charged by the charging module and the gating module;
the charging unit is further configured to charge the main body and the sub-body through the charging module when the redetected first voltage is equal to the redetected second voltage.
11. The split terminal according to claim 10,
the charging unit is further configured to charge a charging target through the charging module when the charging target is the main body after the charging target is selected from the main body and the sub-body; and after the first voltage and the second voltage are re-detected, when the re-detected first voltage is equal to the re-detected second voltage, gating the sub-body through the gating module, and charging the main body and the sub-body through the charging module.
12. A split terminal, characterized in that the split terminal comprises a main body and a split body; wherein the content of the first and second substances,
the main body comprises a first processor, a first memory storing executable instructions of the first processor, a first communication interface, a charging module and a gating module; wherein the gating module is used for gating a passage between the main body and the split;
the sub-body comprises a second communication interface; the main body and the sub-body carry out data transmission through the first communication interface and the second communication interface;
when executed, the first processor implements the method of any of claims 1-7.
13. The split terminal according to claim 12,
the sub-body further comprises a second processor, and a second memory storing executable instructions of the second processor.
14. A computer-readable storage medium, on which a program is stored, for use in a split terminal, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN201811115542.8A 2018-09-25 2018-09-25 Charging method, split terminal and computer storage medium Pending CN110943500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115542.8A CN110943500A (en) 2018-09-25 2018-09-25 Charging method, split terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115542.8A CN110943500A (en) 2018-09-25 2018-09-25 Charging method, split terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN110943500A true CN110943500A (en) 2020-03-31

Family

ID=69904909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115542.8A Pending CN110943500A (en) 2018-09-25 2018-09-25 Charging method, split terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN110943500A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073337A1 (en) * 2006-10-11 2009-06-24 Panasonic Corporation Electronic device and charging control method
CN101741979A (en) * 2008-11-21 2010-06-16 株式会社Ntt都科摩 Portable telephone apparatus, control method and portable telephone system
CN102055039A (en) * 2009-11-04 2011-05-11 富士通株式会社 Electronic device and power source control device
CN107624210A (en) * 2015-05-14 2018-01-23 苹果公司 Dynamic power between multiple physical ports is shared
CN107623362A (en) * 2017-11-08 2018-01-23 深圳市沃特沃德股份有限公司 Wireless headset charging box and its control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073337A1 (en) * 2006-10-11 2009-06-24 Panasonic Corporation Electronic device and charging control method
CN101741979A (en) * 2008-11-21 2010-06-16 株式会社Ntt都科摩 Portable telephone apparatus, control method and portable telephone system
CN102055039A (en) * 2009-11-04 2011-05-11 富士通株式会社 Electronic device and power source control device
CN107624210A (en) * 2015-05-14 2018-01-23 苹果公司 Dynamic power between multiple physical ports is shared
CN107623362A (en) * 2017-11-08 2018-01-23 深圳市沃特沃德股份有限公司 Wireless headset charging box and its control method and device

Similar Documents

Publication Publication Date Title
US11368039B2 (en) Battery charging method and electronic device
CN111201689B (en) Electronic equipment and charging control method
US10326291B2 (en) Quick charging method, power adapter and mobile terminal
US9331508B2 (en) Electronic device capable of testing USB cable and method for testing USB cable
KR102569178B1 (en) Electronic device comprsing control circuits controlling switchs connected to charging circuit
KR102271730B1 (en) Charging control Method and Device
KR20130097198A (en) Charginig port
KR102611263B1 (en) Output state test method of adapter, output state test system of adapter and computer storage media
CN104617344A (en) Method and equipment for shortening charging time
CN111602313A (en) System and method for wireless charging and wired data transmission
KR20210014356A (en) Electronic device for preventing damage of usb device and operating method thereof
CN114268153A (en) Charging control circuit, charging control method, charging control device, and storage medium
KR20200058067A (en) Electronic device and method for diagonosing battery thereof
CN109378891B (en) Charging and discharging method, mobile power supply and computer storage medium
US10644361B2 (en) Electronic device and method for charging and managing power of electronic device
CN110943500A (en) Charging method, split terminal and computer storage medium
CN106899061B (en) Mobile terminal, charging device and charging method
CN110943502B (en) Charging method, split terminal and computer storage medium
CN111712985A (en) Charging method, terminal and computer storage medium
US9960618B1 (en) Portable device battery charging circuits and methods
CN113725952B (en) Discharging method, mobile power supply and computer storage medium
CN109149706B (en) Charging method, split terminal and computer storage medium
CN110957791A (en) Electronic device and charging method
CN110932340A (en) Charging method, split terminal and computer storage medium
CN111949103B (en) Integrated electronic device with data access, transmission and power management and method thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200331