Electronic equipment and intelligent charging method

By using a dual power supply path design and an independent charging chip, the problems of heat accumulation and increased cost during high-power charging are solved, resulting in an efficient and safe charging solution suitable for electronic devices such as laptops and tablets.

CN121529889APending Publication Date: 2026-02-13LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511589938.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

In high-power charging scenarios, existing technologies result in a single power supply path for electronic devices, leading to heat accumulation. Furthermore, directly upgrading the hardware would increase costs and the risk of overheating.

Method used

The system adopts a dual power supply path design, using the first and second charging chips to form power supply paths respectively, and the controller selects the appropriate power supply path for charging to avoid heat accumulation in a single path. At the same time, an independent charging chip is added to meet high power requirements without upgrading the original charging circuit.

Benefits of technology

It achieves the avoidance of heat accumulation in high-power charging scenarios, reduces equipment costs, and meets high-power requirements by flexibly adjusting the hardware structure, thereby improving heat dissipation efficiency and charging reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121529889A_ABST
    Figure CN121529889A_ABST
Patent Text Reader

Abstract

The invention provides electronic equipment and an intelligent charging method. The equipment comprises a power supply port, a controller, a first charging chip and a second charging chip, wherein the power supply port is used for being connected with power supply equipment so as to obtain electric power from the power supply equipment; the first charging chip and the second charging chip are respectively connected with the power supply port to form a first power supply path and a second power supply path; the controller is in communication connection with the first charging chip and the second charging chip so as to control one of the first power supply path and the second power supply path to supply power to the electronic equipment; wherein the electric power provided by the first power supply path is higher than the electric power provided by the second power supply path.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the computer technology field, and in particular to an electronic device and a smart charging method. BACKGROUND

[0002] With the continuous improvement of the performance of electronic devices, especially the increasing demand for high-performance notebook computers in terms of graphics processing and multitasking, the requirement for power supply capability of electronic devices is also increasing. Modern electronic devices generally use the USB Power Delivery (USB PD) protocol to achieve efficient and flexible power transmission to meet the power requirements of electronic devices in high-load operation. SUMMARY

[0003] The embodiments of the present application provide an electronic device and a smart charging method.

[0004] The technical solutions of the embodiments of the present application are implemented as follows: The embodiments of the present application provide an electronic device, which comprises a power supply port, a controller, a first charging chip and a second charging chip; wherein, The power supply port is configured to be connected with a power supply device to obtain electric power from the power supply device; The first charging chip and the second charging chip are respectively connected with the power supply port to form a first power supply path and a second power supply path; The controller is in communication connection with the first charging chip and the second charging chip respectively to control the power supply of the electronic device by using one of the first power supply path and the second power supply path; The electric power provided by the first power supply path is higher than the electric power provided by the second power supply path.

[0005] In some embodiments, the electronic device has a mainboard; The first charging chip is connected to the mainboard through a first connector; The second charging chip is integrated on the mainboard.

[0006] In some embodiments, the mainboard is integrated with a second connector; The position of the notch in the first connector is different from the position of the notch in the second connector.

[0007] In some embodiments, the device further comprises a load switch; wherein, The load switch is connected with the first charging chip and the second charging chip respectively; The load switch is in communication connection with the controller to turn on one of the first charging chip and the second charging chip and the power supply port according to the control signal sent by the controller.

[0008] In some embodiments, the controller comprises a first controller and a second controller; wherein the first controller is configured to obtain total electric power required by the electronic device; the second controller is in communication connection with the second controller to obtain the total electric power from the second controller and generate a control signal according to the total electric power.

[0009] In some embodiments, if the first power supply path is used to provide electric energy for the electronic device, the first charging chip receives electric energy with a first voltage value from the power supply device through the power supply port and converts the electric energy with the first voltage value into electric energy with a second voltage value; the first controller receives electric energy with the second voltage value from the first charging chip and provides the electric energy with the second voltage value to the electronic device; if the second power supply path is used to provide electric energy for the electronic device, the first controller receives electric energy with a third voltage value from the power supply device through the power supply port; wherein the first voltage value is higher than the second voltage value and the third voltage value.

[0010] On the other hand, the present application also provides an intelligent charging method, comprising: obtaining total electric power required by the electronic device in response to the electronic device being connected to the power supply device; determining to obtain electric energy from the power supply device by using one of a first power supply path and a second power supply path according to the total electric power; the first power supply path comprises a first charging chip and a power supply port; the second power supply path comprises a second charging chip and the power supply port; wherein the first power supply path can provide electric power higher than that provided by the second power supply path.

[0011] In some embodiments, determining to obtain electric energy from the power supply device by using one of the first power supply path and the second power supply path according to the total electric power comprises: if the total electric power is not lower than the maximum electric power that can be provided by the second power supply path, determining to obtain electric energy from the power supply device by using the first power supply path; if the total electric power is lower than the maximum electric power that can be provided by the second power supply path, determining to obtain electric energy from the power supply device by using the second power supply path.

[0012] In some embodiments, the method further comprises: if the total electric power is not lower than the maximum electric power that can be provided by the second power supply path and the remaining electric quantity of the battery in the electronic device is higher than an electric quantity threshold, determining to obtain electric energy from the power supply device by using the second power supply path.

[0013] In some embodiments, the method further comprises: If the total electric power is lower than the maximum electric power provided by the second power supply path, and the temperature of the first charging chip is not higher than the temperature threshold, it is determined to obtain electric power from the power supply device by using the first power supply path.

[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not limiting on the technical solutions of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and serve to explain the technical solutions of the present application, together with the description.

[0016] Figure 1 A hardware entity schematic diagram of an electronic device provided by the present application is provided. Figure 2 A hardware entity schematic diagram of an electronic device in an embodiment provided by the present application is provided. Figure 3 A schematic diagram of a first connector and a second connector in an embodiment provided by the present application is provided. Figure 4 A schematic diagram of a first charging chip in an embodiment provided by the present application is provided. Figure 5 A hardware framework schematic diagram of an electronic device in an embodiment provided by the present application is provided. Figure 6 An implementation flow schematic diagram of a smart charging method provided by the present application is provided. Figure 7 A smart charging flow schematic diagram in an embodiment provided by the present application is provided. DETAILED DESCRIPTION

[0017] In order to make the purposes, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further described in detail below in combination with the drawings and embodiments, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0018] In the following description, “some embodiments” are described, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0019] The terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not represent a specific order of the objects. Understandably, the "first", "second", "third", etc. can be interchanged in a specific order or sequence as allowed, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing the present application only and is not intended to limit the present application.

[0021] In the electronic device charging scheme based on the USB PD protocol, in order to support the high-power charging scene, the hardware related to the USB PD protocol in the electronic device needs to be upgraded to support the PD 3.1 protocol to improve the upper limit of the charging power. However, directly upgrading the hardware will bring challenges of hardware cost and temperature rise.

[0022] Based on this, the present application provides an electronic device, wherein the electronic device comprises a power supply port, a controller, a first charging chip and a second charging chip; wherein the power supply port is used to connect with a power supply device to obtain electric power from the power supply device; the first charging chip and the second charging chip are connected with the power supply port respectively to constitute a first power supply path and a second power supply path; the controller is in communication connection with the first charging chip and the second charging chip respectively to control the power supply of the electronic device by using one of the first power supply path and the second power supply path. In this way, on the one hand, by using two power supply paths (i.e. the first power supply path and the second power supply path) to charge the electronic device, the problem of heat accumulation and over-temperature caused by using a single power supply path to charge in a high-power electric energy transmission scene can be avoided; on the other hand, since the first charging chip and the second charging chip are independent charging chips, for the scene with high-power charging demand, the first charging chip can be flexibly added in the electronic device to meet the high-power charging demand, and it is not necessary to upgrade the original charging circuit of the electronic device, thereby realizing the effect of reducing the cost of the device.

[0023] The electronic device provided in the application can be a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated message device, a portable game device) and various types of terminals, and can also be implemented as a server. The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.

[0024] In the following, the technical solutions in the embodiments of the application will be described clearly and completely in combination with the drawings in the embodiments of the application.

[0025] Figure 1 A hardware entity diagram of an electronic device provided in the application is shown in FIG. 1. As shown in FIG. 1, the electronic device 100 includes a power supply port 110, a controller 120, a first charging chip 130 and a second charging chip 140; wherein, Figure 1 The power supply port 110 is configured to be connected with a power supply device to obtain electric power from the power supply device. The first charging chip 130 and the second charging chip 140 are respectively connected with the power supply port 110 to form a first power supply path and a second power supply path. The controller 120 is in communication connection with the first charging chip 130 and the second charging chip 140 respectively to control the electronic device 100 to be powered by one of the first power supply path and the second power supply path. The first power supply path can provide electric power higher than that provided by the second power supply path. Here, the power supply port 110 refers to a port in the electronic device 100 for transmitting electric energy to the electronic device.

[0026]

[0027] ​In some embodiments, the power supply port 110 can be any type of port, such as a USB interface, a direct current power supply interface, a magnetic suction interface, or other dedicated power supply port. In the case where the power supply port 110 is a USB interface and supports the USB PD protocol, the USB interface has bidirectional power supply capability, that is, the electronic device 100 can act as a powered device to receive power from a power supply device through the USB interface, and can also act as a power supply device to supply power to a powered device through the USB interface. In some embodiments, the power supply port 110 is a USB Type-C voltage bus (Type-C VBUS).

[0028] In some embodiments, the power supply port 110 can support multiple voltage inputs, such as 5V, 10V, 20V, 28V, 36V, 48V, etc.

[0029] The power supply device refers to a device that provides power to the electronic device 100. In some embodiments, the power supply device can be any type of device capable of providing power, such as a power adapter, a charger, or other electronic devices with power supply capability, such as smartphones, laptops, displays, servers, etc.

[0030] The power supply port 110 is connected to the power supply device to obtain power from the power supply device.

[0031] The first charging chip 130 and the second charging chip 140 are both components responsible for managing the charging process in the electronic device 100. In some embodiments, the first charging chip 130 and the second charging chip 140 can improve the safety and efficiency of the charging process by controlling voltage, current, and charging stages. In some embodiments, the first charging chip 130 and the second charging chip 140 are chips that execute different charging protocols, such as the first charging chip 130 being a chip that executes the PD 3.1 charging protocol and the second charging chip 140 being a chip that executes the PD 3.0 charging protocol.

[0032] The first charging chip 130 and the second charging chip 140 are respectively connected to the power supply port 110 to form a first power supply path and a second power supply path. The power supply path refers to a physical channel through which current is transmitted from the power supply port 110 to the controller 120 or the battery of the electronic device. In this way, in the first power supply path, the first charging chip 130 controls the power provided by the power supply device to the electronic device through the power supply port 110, such as controlling voltage intensity, electrical power size, current size, etc.; in the second power supply path, the second charging chip 140 controls the power provided by the power supply device to the electronic device through the power supply port 110, such as controlling voltage intensity, electrical power size, current size, etc.

[0033] In some embodiments, the first power supply path can provide more power than the second power supply path, which means that the upper limit of the power provided by the first power supply path is higher than the upper limit of the power provided by the second power supply path. For example, the upper limit of the power provided by the first power supply path is 240 W, and the upper limit of the power provided by the second power supply path is 100 W.

[0034] In some embodiments, the first power supply path can provide more power than the second power supply path, which means that the range of the power provided by the first power supply path is greater than the range of the power provided by the second power supply path, and the upper limit of the power provided by the first power supply path is higher than the upper limit of the power provided by the second power supply path. For example, the range of the power provided by the first power supply path is 25 W to 240 W, and the range of the power provided by the second power supply path is 25 W to 100 W.

[0035] The controller 120 refers to a master control unit for decision-making of the charging mode of the electronic device 100. The charging mode at least includes charging the electronic device by using one of the first power supply path and the second power supply path. In some embodiments, the controller 120 can be any device with a control function in the electronic device, such as a central processing unit (CPU), a microcontroller unit (MCU), a field programmable gate array (FPGA), an embedded controller (EC), etc. In some embodiments, the controller 120 can also be a device dedicated to charging control in the electronic device, such as a charging integrated circuit.

[0036] The controller 120 is connected with the first charging chip 130 and the second charging chip 140 respectively to control the on-off state of the first charging chip 130 and the second charging chip 140 by using a control signal, so as to supply power to the electronic device 100 by using one of the first power supply path and the second power supply path. For example, in the case that the controller 120 turns on the first charging chip 130 and turns off the second charging chip 140 by using the control signal, the circuit between the first charging chip 130 and the power supply port 110 is turned on, so as to control the charging process of the electronic device by using the first charging chip 130, and the electronic device is charged by using the first power supply path. On the contrary, in the case that the controller 120 turns on the second charging chip 140 and turns off the first charging chip 130 by using the control signal, the circuit between the second charging chip 140 and the power supply port 110 is turned on, so as to control the charging process of the electronic device by using the second charging chip 140, and the electronic device is charged by using the second power supply path. It can be seen that at most one of the first charging chip 130 and the second charging chip 140 is in use during the charging process.

[0037] In some embodiments, in the case that the electronic device 100 is connected to the power supply device through the power supply port 110, the controller 120 can obtain the total electric power currently required by the electronic device 100, so as to determine whether to charge by using the first power supply path or the second power supply path according to the total electric power. For example, in the case that the total electric power currently required is higher than the maximum electric power that can be provided by the second power supply path, the first power supply path is selected to charge, so as to meet the high power requirement of the electronic device and avoid further reduction of the battery capacity of the electronic device. Correspondingly, in the case that the total electric power currently required is not higher than the maximum electric power that can be provided by the second power supply path, the second power supply path is selected to charge, so as to reduce the heat accumulation caused by high-power charging.

[0038] The electronic device provided in the application is connected with the power supply device to obtain electric power from the power supply device; the first charging chip 130 and the second charging chip 140 are connected with the power supply port 110 respectively to form a first power supply path and a second power supply path; the controller 120 is connected with the first charging chip 130 and the second charging chip 140 respectively in communication to control charging of the electronic device by using one of the first power supply path and the second power supply path; wherein the electric power provided by the first power supply path is higher than the electric power provided by the second power supply path. In this way, on the one hand, by using two power supply paths (i.e., the first power supply path and the second power supply path) to charge the electronic device, heat accumulation caused by using a single power supply path to charge in a high-power electric energy transmission scenario can be avoided, and the problem of over-temperature can be solved; on the other hand, since the first charging chip 130 and the second charging chip 140 are independent charging chips, for the scenario where high-power charging demand exists, the first charging chip 130 can be flexibly added in the electronic device to meet the high-power charging demand, and it is unnecessary to upgrade the original charging circuit of the electronic device, thereby realizing the effect of reducing the cost of the device.

[0039] As shown in Figure 2 In some embodiments, the electronic device has a mainboard 210; The first charging chip 130 is connected to the mainboard 210 through a first connector 220; The second charging chip 140 is integrated on the mainboard 210.

[0040] Here, the mainboard 210 refers to the core Printed Circuit Board (PCB) in the electronic device, which is used to realize the functions of connection, power supply, signal transmission, etc. in the electronic device. In some embodiments, various components in the electronic device can be connected to the mainboard 210 through various types of slots; wherein the components can be CPU, memory, storage device, graphics card, sound card, etc. For example, the CPU can be connected to the mainboard 210 through a CPU slot, the memory can be connected to the mainboard 210 through a memory slot, the expansion cards such as graphics card, network card, solid state disk, etc. can be connected to the mainboard 210 through an expansion slot (for example, a Peripheral Component Interconnect Express (PCIe) slot), the storage device can be connected to the mainboard 210 through a storage slot (for example, a Serial ATA (SATA) interface, a Next Generation Form Factor (NGFF) M.2 interface), etc.

[0041] The electronic device provided in the application includes a first charging chip 130 and a first connector 220.

[0042] In some embodiments, the first connector 220 can be any type of connector. In some embodiments, the first connector 220 can be a PCIe slot, a SATA interface, an M.2 interface, or the like. In some embodiments, the first connector 220 can be an interface similar to the existing PCIe slot, SATA interface, M.2 interface, or the like, that is, the first connector 220 is an improved interface of the existing interface. In some embodiments, when the first connector 220 is implemented as an M.2 interface or an interface similar to the M.2 interface, the good connectivity and fixity of the M.2 interface can be borrowed to improve the connection effect of the first charging chip 130 and the mainboard 210, and at the same time, the first charging chip 130 and a solid state drive (SSD) connected to the mainboard 210 through the M.2 interface can share a heat dissipation scheme.

[0043] In some embodiments, the first charging chip 130 can be made by using the PCB that needs to be cut off in the mainboard 210, thereby improving the utilization rate of the PCB.

[0044] In some embodiments, the first charging chip 130 can be placed in a hollowed position in the mainboard 210, thereby saving the internal space of the electronic device.

[0045] In some embodiments, after the first charging chip 130 is connected to the first connector 220, the height of the first charging chip 130 is higher than that of the mainboard 210, thereby improving the heat dissipation effect of the first charging chip 130.

[0046] The second charging chip 140 is integrated in the mainboard 210 to save the internal space of the electronic device. In this way, the controller 120 can perform logical control and signal transmission on the first charging chip 130 and the second charging chip 140 through the lines provided by the mainboard 210.

[0047] In the above embodiments, on one hand, the first charging chip 130 is connected to the mainboard 210 in a pluggable manner through the first connector 220, so that the hardware structure and function setting of the electronic device can be quickly adjusted according to different charging power requirements and market demands. For example, for a device or market that has high-power charging requirements, the first charging chip 130 can be configured for the electronic device through the first connector 220, while for a device type or market that does not have high-power charging requirements, the first charging chip 130 does not need to be configured for the electronic device. On the other hand, compared with the scheme of upgrading the overall hardware circuit related to charging, the electronic device provided in the present application can cope with high-power charging requirements by adding an independent charging chip, thereby achieving the effect of reducing hardware cost. On the other hand, the first charging chip 130 adopts a design manner independent of the mainboard 210, which can reduce the heat dissipation requirement of the mainboard 210, thereby improving the overall heat dissipation efficiency.

[0048] In some embodiments, as shown in Figure 2 The mainboard 210 is integrated with a second connector 230. The notch position in the first connector 220 is different from the notch position in the second connector 230.

[0049] Here, the second connector 230 is another connector integrated on the mainboard 210. In some embodiments, the second connector 230 adopts the same data transmission protocol or data transmission standard as the first connector 220. In some embodiments, the second connector 230 adopts the same physical interface specification as the first connector 220.

[0050] Since the first connector 220 is used to plug the first charging chip 130, and the voltage in the voltage pin of the first charging chip 130 is high during the charging process, if the first charging chip 130 is mistakenly plugged into the second connector 230, it may cause damage or safety hazards to the second connector 230 or even the mainboard 210. Therefore, different notch positions are designed for the first connector 220 and the second connector 230 to avoid mistakenly plugging the first charging chip 130 into the second connector 230.

[0051] M.2 connectors have good electrical connectivity and mechanical stability, and support fast plugging and unplugging operations. Therefore, in some embodiments, the second connector 230 is an M.2 connector, and the first connector 220 is a similar M.2 connector but with a different notch position.

[0052] As shown in Figure 3 The notch 221 in the first connector 220 is located at the 12th to 19th positions, and the notch 231 in the second connector 230 is located at the 59th to 66th positions.

[0053] Meanwhile, the first connector 220 and the second connector 230 are designed in different sizes. Specifically, the total length of the pins of the first connector 220 is 18.2 mm, the width is 2.5 mm, and the total length of the pins before the notch and the notch is 5 mm. The total length of the pins of the second connector 230 is 20.3 mm, the width is 8.8 mm, and the total length of the pins after the notch and the notch is 4.4 mm. As can be seen, the first connector 220 and the second connector 230 can be distinguished from each other in terms of the size design, thereby avoiding misplug.

[0054] In the above embodiments, the first connector 220 and the second connector 230 are distinguished from each other by the different notch positions, which constitutes part of the physical foolproof mechanism, and can prevent safety risks caused by misplug, thereby improving the reliability and safety of the electronic device.

[0055] In some embodiments, the electronic device 100 further comprises a load switch. The load switch is connected to the first charging chip 130 and the second charging chip 140, respectively. The load switch is in communication connection with the controller 120, so as to turn on one of the first charging chip 130 and the second charging chip 140 and the power supply port 110 according to the control signal sent by the controller 120.

[0056] Here, the load switch refers to a device for controlling the on-off of the current between the power supply end (for example, the battery of the power supply device or the electronic device) and the load (for example, a chip, a module or a circuit). In some embodiments, the load switch can be an integrated load switch integrated on the mainboard of the electronic device. In some embodiments, the load switch can be a discrete load switch relative to the mainboard.

[0057] The load switch is in communication connection with the controller 120, so as to receive the control signal from the controller 120. In some embodiments, the load switch and the controller 120 can communicate with each other through an internal line interconnection bus (Inter-Integrated Circuit, I2C), a serial peripheral interface bus (Serial Peripheral Interface, SPI) or other digital bus protocols, so as to improve the response speed and accuracy of the load switch to the control signal.

[0058] Meanwhile, the load switch is connected to the first charging chip 130 and the second charging chip 140, respectively, so as to turn on the first charging chip 130 and the power supply port 110, or turn on the second charging chip 140 and the power supply port 110 according to the received control signal, thereby realizing the switching of the first power supply path and the second power supply path.

[0059] In some embodiments, the load switch is a bidirectional high-speed analog switch matrix. The bidirectional high-speed analog switch matrix can complete seamless switching between the first power supply path and the second power supply path within 10 μs under the control of the controller 120, thereby avoiding power failure.

[0060] In the above embodiments provided by the present application, the load switch is provided and cooperates with the controller 120 to achieve fast and intelligent switching between the first power supply path and the second power supply path.

[0061] In some embodiments, the controller 120 includes a first controller and a second controller; wherein, The first controller is configured to obtain the total electric power required by the electronic device. The second controller is in communication connection with the second controller to obtain the total electric power from the second controller and generate the control signal according to the total electric power.

[0062] Here, the total electric power refers to the total electric power consumed by the electronic device in the current running state. In some embodiments, the total electric power is determined by the system load condition of the electronic device. For example, in the case of high load (for example, running a large game), the total electric power required is high; in the case of low load (for example, standby), the total electric power required is low. In some embodiments, the total electric power required by the electronic device includes the total electric power required by the electric devices in the electronic device. For example, the total electric power required by the CPU, GPU, memory, sound card, display card, etc. in the electronic device. In some embodiments, the total electric power required by the electronic device also includes the total electric power required by the external devices connected to the electronic device. For example, the total electric power required by the mouse, keyboard, touchpad, powered device, etc. connected to the electronic device.

[0063] The first controller is configured to obtain the total electric power required by the electronic device, i.e., the current total power consumption of the electronic device. By accurately obtaining the total electric power required by the electronic device, the second controller can make reasonable power supply path selection, thereby improving charging efficiency and controlling heating.

[0064] In some embodiments, the first controller can determine the total electric power currently required by the electronic device by obtaining the power consumption of each component measured by the power consumption measurement tool. The power consumption measurement tool can include a power meter, a sensor built-in the mainboard (for example, a digital voltage sensor, a digital current sensor), a USB power analyzer, a power consumption estimation software built-in the operating system, etc. In this way, in some embodiments, the first controller can be implemented as any device with power consumption statistical function in the electronic device, such as CPU, MCU, FPGA or EC, etc.

[0065] In some embodiments, the first controller can monitor the current and / or voltage changes of each load in the electronic device, thereby evaluating the total electric power required by the electronic device. In this way, in some embodiments, the first controller can be implemented as a charger chip in the electronic device.

[0066] The second controller refers to a main controller for charge management in the electronic device. In some embodiments, the second controller can be implemented as any device with control function in the electronic device, such as CPU, MCU, FPGA or EC, etc.

[0067] In some embodiments, the second controller and the first controller can communicate with each other in any communication mode. In some embodiments, the second controller and the first controller can be connected through a serial communication interface. For example, the second controller and the first controller can be connected through a Universal Asynchronous Receiver / Transmitter (UART), I2C, SPI or other digital bus protocol.

[0068] The second controller receives the total electric power currently required by the electronic device from the first controller, and makes a charging mode decision based on the total electric power, thereby generating a control signal. In some embodiments, if the total electric power is not lower than the maximum electric power that can be provided by the second power supply path, the first controller determines to charge the electronic device by using the first power supply path, and generates a control signal to control the load switch to turn on the first charging chip 130 and charge the electronic device by using the first power supply path. If the total electric power is lower than the maximum electric power that can be provided by the second power supply path, the first controller determines to charge the electronic device by using the second power supply path, and generates a control signal to control the load switch to turn on the second charging chip 140 and charge the electronic device by using the second power supply path.

[0069] In some embodiments, in the case that the highest voltage value that can be supported by the charger integrated circuit (e.g., the first controller) in the electronic device is lower than the voltage provided by the first power supply path, the voltage received through the power supply port 110 needs to be stepped down to adapt to the voltage limit of the charger integrated circuit.

[0070] Thus, in some embodiments, if the first power supply path is used to supply power to the electronic device, the first charging chip 130 receives power with a first voltage value from the power supply device through the power supply port 110, and converts the power with the first voltage value to power with a second voltage value; the first controller receives power with the second voltage value from the first charging chip 130, and supplies the power with the second voltage value to the electronic device. If the second power supply path is used to supply power to the electronic device, the first controller receives power with a third voltage value from the power supply device through the power supply port 110. Here, the first voltage value is higher than the second voltage value and the third voltage value.

[0071] Here, since the first power supply path can provide higher power than the second power supply path, the first voltage value that the power supply port 110 can provide when charging the electronic device using the first power supply path is higher than the third voltage value that the power supply port 110 can provide when charging the electronic device using the second power supply path.

[0072] Thus, when charging the electronic device using the first power supply path, the first charging chip 130 receives power with the first voltage value from the power supply device through the power supply port 110, and performs voltage reduction on the power to output power with the second voltage value, and then delivers the power with the second voltage value to the first controller; the second voltage value is lower than the maximum voltage value that the first controller can support. In the first charging chip 130, a DC-DC converter can be used to perform voltage reduction from the first voltage value to the second voltage value; the DC-DC converter can be constructed using inductors, MOSFETs, etc.

[0073] In some embodiments, when the current intensity supported by the power supply port 110 is known, the first charging chip 130 can negotiate the charging voltage with the power supply device according to the total power currently required by the electronic device and the voltage range that the power supply device can provide, i.e., the first charging chip 130 can negotiate the first voltage value with the power supply device according to the total power. For example, when the current intensity supported by the power supply port 110 is 5A and the total power required by the electronic device is 140W, the first charging chip 130 negotiates with the power supply device to charge at a first voltage value of 28V.

[0074] When charging electronic devices using the second power supply path, since the power supply path can provide lower power and lower voltage, the third voltage value of electrical energy received by the power supply port 110 from the power supply device can be directly transmitted to the first controller.

[0075] In some implementations, when the current intensity supported by the power supply port 110 is known, the second charging chip 140 may also negotiate a third voltage value with the power supply device based on the total power required by the electronic device. For example, if the current intensity supported by the power supply port 110 is 5A and the total power required by the electronic device is 100W, the second charging chip 140 may negotiate with the power supply device to charge at a third voltage value of 20V.

[0076] In the embodiments provided in this application, when the highest voltage that the first controller of the electronic device can support is lower than the first voltage that the first power supply path can provide, the first charging chip 130 is used to step down the voltage of the first voltage value to obtain the voltage of the second voltage value, and the voltage of the second voltage value is sent to the first controller, thereby avoiding damage or safety risks to the first controller caused by high voltage.

[0077] Below, in conjunction with Figure 4 The structure of the first charging chip 130 in one embodiment of this application will be described below. Figure 4 As shown, the first charging chip 130 includes a gold finger structure 410, a charging chip 420, a logic switch 430, a MOSFET 440, and an inductor 450. Among them, The gold finger structure 410 is used to connect with the first connector for power and signal transmission; The charging chip 420 is used to connect to the power supply port via the gold finger structure 410 to control the charging process; Logic switch 430 is used to connect to a load switch via gold finger structure 410 to turn on or off according to the electrical control signal of the load switch. MOSFET 440 and inductor 450 are used to perform power conversion, for example, reducing a first voltage to a second voltage.

[0078] At the same time, such as Figure 4 As shown, there is an insulation region 413 between the voltage pin 411 and the signal pin 412 in the gold finger structure 410, so as to avoid the high voltage on the voltage pin 411 from damaging the first connector or the motherboard when the first charging chip 130 is inserted obliquely or crookedly in the first connector. In addition, such as Figure 4As shown, the length of the notch 414 in the first charging chip is greater than the length of the pin in the gold finger structure 410, so that when the first charging chip is inserted into the first connector, positioning can be achieved first and pin contact second, thereby reducing the probability of chip skew insertion or misinsertion.

[0079] Next, the hardware framework of the electronic device provided in the present application will be described in combination with Figure 5 The hardware framework of the electronic device provided in the present application will be described in combination with Figure 5 As shown, the electronic device includes a mainboard 500, an MCU 510, a Charger chip 520, a load switch 530, a PD 3.1 chip 540, a M.2-like connector 550, a PD 3.0 chip 560, and a voltage bus 570; wherein: The Charger chip 520 is integrated on the mainboard 500 of the electronic device, and is used to implement the function of the first controller, that is, the Charger chip 520 can estimate the total power required by the electronic device at present, and can read the remaining power of the battery of the electronic device, and send the estimated total power and the read remaining power of the battery to the MCU 510; The MCU 510 is integrated on the mainboard 500 of the electronic device, and is used to implement the function of the second controller, that is, the MCU 510 can determine the charging strategy according to the total power required by the electrical device in the electronic device at present and the read remaining power of the battery, and then generate a corresponding control signal and send the control signal to the load switch 530; The load switch 530 is integrated on the mainboard 500 of the electronic device, and is used to switch the state of the PD 3.1 chip 540 and the PD 3.0 chip 560 according to the control signal sent by the MCU 510, that is, when the MCU 510 determines to charge by using the power supply path corresponding to the PD 3.1 chip 540, the load switch 530 turns on the PD 3.1 chip 540 and the voltage bus 570; when the MCU 510 determines to charge by using the power supply path corresponding to the PD 3.0 chip 560, the load switch 530 turns on the PD 3.0 chip 560 and the voltage bus 570; The PD 3.1 chip 540 is an independent module, connected with the mainboard 500 through the M.2-like connector 550 integrated on the mainboard 500 of the electronic device, and is used to implement the function of the first charging chip 130, that is, the PD 3.1 chip 540 can negotiate the charging voltage with the power supply device, and perform voltage reduction processing when the charging voltage is higher than the highest voltage supported by the Charger chip 520; The M.2-like connector 550 is integrated on the mainboard 500 of the electronic device, and is connected with the voltage bus 570, the PD 3.1 chip 540, the load switch 530, and the Charger chip 520, respectively; ​The voltage bus 570 is integrated on the mainboard 500 of the electronic device, and is configured to obtain power from the power supply device according to the voltage negotiation result of the PD 3.1 chip 540 or the PD 3.0 chip 560 and the power supply device.

[0080] In this way, when charging is performed by using the first power supply path in the electronic device (i.e., the path in which the charging control is performed by the PD 3.1 chip 540), first, the PD 3.1 chip 540 negotiates the charging voltage with the power supply device, for example, 28V; then, the voltage bus 570 receives the charging voltage of 28V from the power supply device, and inputs the voltage of 28V to the PD 3.1 chip 540 through the M.2-like connector 550; after that, the PD 3.1 chip 540 performs step-down processing on the voltage of 28V to obtain a voltage with a lower voltage value (for example, 20V), and transmits the voltage of 20V to the Charger chip 520 through the M.2-like connector 550; finally, the Charger chip 520 supplies power to the power-consuming devices in the electronic device and / or charges the battery by using the received voltage of 20V, respectively. When charging is performed by using the second power supply path in the electronic device (i.e., the path in which the charging control is performed by the PD 3.0 chip 560), first, the PD 3.0 chip 560 negotiates the charging voltage with the power supply device, for example, 20V; then, the voltage bus 570 receives the charging voltage of 20V from the power supply device, and inputs the voltage of 20V to the Charger chip 520 through the load switch 530; finally, the Charger chip 520 supplies power to the power-consuming devices in the electronic device and / or charges the battery by using the received voltage of 20V, respectively.

[0081] In some embodiments, if the highest voltage that can be supported by the Charger chip 520 is higher than the voltage provided by the first power supply path, for example, higher than 28V or 48V, etc., in the first power supply path, the high voltage (for example, 28V) input by the voltage bus 570 is directly transmitted to the Charger chip 520 through the load switch 530 after being input to the PD 3.1 chip 540 through the M.2-like connector 550, without step-down processing by the PD 3.1 chip 540.

[0082] From the above, in the electronic device provided by the application, first, relative to the overall upgrade of the hardware charging circuit of the electronic device, on the basis of supporting low-power charging hardware, the first charging chip is flexibly added to meet the demand of high-power charging scene, which can reduce the hardware cost of the electronic device; second, when the total power demand is high, the first power supply path is used for charging to meet the high power demand, and when the total power demand is low, the second power supply path is used for charging, which can reduce unnecessary voltage reduction processing and heat generation, thereby realizing the effect of reducing overall power consumption and temperature rise; third, the first charging chip is independent of the mainboard design of the electronic device and does not occupy the mainboard area, and the first charging chip can be made by using the PCB cut from the mainboard, so that the utilization rate of the PCB can be maximized; fourth, the first connector corresponding to the first charging chip and the second connector on the mainboard have obvious differences in appearance design, which can avoid the problem of inserting the first charging chip into other connectors and causing device damage; fifth, in the case where the first connector is a connector similar to the M.2 connector, the good connectivity and fixity of the M.2 connector can be borrowed to improve the connection effect of the first charging chip and the mainboard, and the heat dissipation scheme of the solid state disk can be borrowed for the first charging chip; sixth, by increasing the height of the first charging chip relative to the mainboard, the heat dissipation performance of the first charging chip can be improved; seventh, in the case of using a bidirectional high-speed analog switch matrix to realize load switching, the switching time between the first power supply path and the second power supply path can be shortened, thereby avoiding the voltage bus of the power supply port from being powered off and ensuring that the high-power scene does not power off.

[0083] On the other hand, based on the electronic device in the above-mentioned embodiments of the application, an intelligent charging method is also provided. As shown in the figure, the method comprises the following steps S61 to S62: Figure 6 Step S61, in response to the electronic device being connected to the power supply device, obtaining the total power required by the electronic device.

[0084] Here, after the electronic device is connected to the power supply device through the power supply port, the first controller is used to obtain the total power required by the electronic device. In some embodiments, the total power required by the electronic device includes the total power required by the electrical devices in the electronic device. For example, the total power required by the CPU, GPU, memory, sound card, display card, etc. in the electronic device. In some embodiments, the total power required by the electronic device also includes the total power required by the external device connected to the electronic device. For example, the total power required by the mouse, keyboard, touchpad, powered device, etc. connected to the electronic device.

[0085] ​In some embodiments, the first controller obtains the total electric power required by the electronic device in a case that the electronic device is connected to the power supply device and the battery of the electronic device is in a power shortage state (i.e., the remaining power of the battery is less than 100%).

[0086] In step S62, one of the first power supply path and the second power supply path is determined to be used to obtain electric energy from the power supply device according to the total electric power, wherein the first power supply path comprises the first charging chip and the power supply port, and the second power supply path comprises the second charging chip and the power supply port. The electric power provided by the first power supply path is higher than the electric power provided by the second power supply path.

[0087] Here, after obtaining the total electric power required by the electronic device, the first controller sends the total electric power to the second controller, and the second controller determines one of the first power supply path and the second power supply path to be used to obtain electric energy from the power supply device according to the total electric power and a preset charging strategy.

[0088] In a case that the second controller determines to use the first power supply path to charge the electronic device, the first charging chip negotiates a charging voltage with the power supply device, so that the power supply device charges the electronic device according to the negotiated charging voltage. Similarly, in a case that the second controller determines to use the second power supply path to charge the electronic device, the second charging chip negotiates a charging voltage with the power supply device, so that the power supply device charges the electronic device according to the negotiated charging voltage.

[0089] The electric power provided by the first power supply path is higher than the electric power provided by the second power supply path, i.e., the electric power supported by the first charging chip is higher than the electric power supported by the second charging chip.

[0090] In the above intelligent charging method provided by the present application, first, the total electric power required by the electronic device is obtained in response to the electronic device being connected to the power supply device. Then, one of the first power supply path and the second power supply path is determined to be used to obtain electric energy from the power supply device according to the total electric power, wherein the first power supply path comprises the first charging chip and the power supply port, the second power supply path comprises the second charging chip and the power supply port, and the electric power provided by the first power supply path is higher than the electric power provided by the second power supply path. In this way, on the one hand, the total electric power required by the electronic device is used to dynamically determine whether to use the first power supply path or the second power supply path to charge the electronic device, which improves the intelligence of the method and can meet the needs of different charging scenarios. On the other hand, by switching between the first power supply path and the second power supply path, the problem of excessive heat accumulation caused by using a single power supply path for charging can be avoided.

[0091] In some embodiments, the step S62 of determining to obtain the electric energy from the power supply device by using one of the first power supply path and the second power supply path according to the total electric power can be implemented as the following steps S621-S622: The step S621 of determining to obtain the electric energy from the power supply device by using the first power supply path if the total electric power is not lower than the maximum electric power provided by the second power supply path. The step S622 of determining to obtain the electric energy from the power supply device by using the second power supply path if the total electric power is lower than the maximum electric power provided by the second power supply path.

[0092] Here, the second controller determines the charging strategy according to the total electric power, i.e., if the total electric power is not lower than the maximum electric power provided by the second power supply path (i.e., a high-power charging scenario), the second controller determines to obtain the electric energy from the power supply device by using the first power supply path to meet the high-power requirement of the electronic device; if the total electric power is lower than the maximum electric power provided by the second power supply path (i.e., a low-power charging scenario), the second controller determines to obtain the electric energy from the power supply device by using the second power supply path to reduce the heat generated during the power supply. In this way, the intelligent selection of the power supply path is realized, which not only improves the power supply efficiency of the system, but also reduces unnecessary energy consumption and heat loss.

[0093] In some embodiments, the method further includes the following step S623: The step S623 of determining to obtain the electric energy from the power supply device by using the second power supply path if the total electric power is not lower than the maximum electric power provided by the second power supply path and the remaining electric quantity of the battery in the electronic device is higher than an electric quantity threshold.

[0094] The remaining electric quantity of the battery refers to the current energy state of the battery, which is usually expressed in percentage or specific value (such as mAh), for example, 60%, 80%, 100%.

[0095] The electric quantity threshold is a preset reference value for determining whether the remaining electric quantity of the battery is in a high electric quantity state. When the remaining electric quantity of the battery is higher than the electric quantity threshold, it means that the current battery has sufficient electric energy reserve and can withstand high power consumption requirement or long working time.

[0096] Here, the second controller determines the charging strategy while considering the remaining electric quantity of the battery, i.e., when the total electric power required by the current electronic device is high and the remaining electric quantity of the battery is higher than the electric quantity threshold, the second controller determines to charge the electronic device by using the second power supply path.

[0097] In this way, in a high-load scenario, if the remaining battery power is sufficient, the second controller can select to use the second power supply path to charge, thereby avoiding the temporary power failure or performance fluctuation caused by switching the power supply path, improving the power supply continuity and system stability. At the same time, since the first power supply path can provide higher electrical power than the second power supply path, the heat generated when charging by the first power supply path is higher than that by the second power supply path. Therefore, in the case that the remaining battery power is sufficient and charging by the second power supply path does not affect the running state of the electronic device, selecting to charge by the second power supply path can reduce the heat generation level of the power supply path, thereby prolonging the service life of the device.

[0098] In some embodiments, the method further includes the following step S624: In step S624, if the total electrical power is lower than the maximum electrical power that can be provided by the second power supply path, and the temperature of the first charging chip is not higher than the temperature threshold, it is determined to obtain electrical energy from the power supply device by using the first power supply path.

[0099] Here, the temperature threshold refers to the maximum working temperature of the first charging chip that allows the first charging chip to control the charging process. When the actual working temperature of the first charging chip exceeds the temperature threshold, the first charging chip may be overheated and its performance may be degraded or damaged. In some embodiments, the temperature threshold can be any value set in advance, for example, 60℃, 80℃ or 85℃, etc.

[0100] In the case that the total electrical power is lower than the maximum electrical power that can be provided by the second power supply path (i.e., a low-power charging scenario), if the temperature of the first charging chip is lower than the temperature threshold, the first power supply path can be selected for charging to improve the charging efficiency. When the real-time temperature of the first charging chip exceeds the temperature threshold, the second power supply path is still preferred for charging even if the total electrical power is high, so as to avoid the risk of overheating of the first charging chip.

[0101] In the above embodiments provided by the present application, when determining the charging strategy, the power demand of the electronic device and the temperature state of the first charging chip are considered, thereby achieving the effect of improving the system stability and safety.

[0102] In some embodiments, the second controller can determine the user scenario in combination with the total electrical power currently required by the electronic device, the remaining battery power, the real-time temperature of the first charging chip, and the fan state of the electronic device, and then determine the charging strategy corresponding to the user scenario. For example: If the total power required by the electronic device is lower than the first power threshold, and the fan of the electronic device is running and the temperature of the first charging chip is lower than the temperature threshold, then it is determined that the first power supply path will be used to charge the electronic device; if the fan of the electronic device is not running and the temperature of the first charging chip is higher than the temperature threshold, then it is determined that the second power supply path will be used to charge the electronic device. If the total power required by the electronic device is not less than a first power threshold and not more than a second power threshold, and the remaining battery power is less than the power threshold, then the first power supply path is used to charge the electronic device; if the remaining battery power is not less than the power threshold, then the second power supply path is used to charge the electronic device. If the total power required by the electronic device is higher than the second power threshold, and the remaining battery power is lower than the power threshold, then the first power supply path is used to charge the electronic device; if the remaining battery power is not lower than the power threshold, then the second power supply path is used to charge the electronic device. At the same time, if the battery power decreases when the second power supply path is used to charge the electronic device, then the charging is switched to the first power supply path to avoid the problem of continuous battery power loss.

[0103] In the above embodiments, the first power threshold is less than the second power threshold.

[0104] Below, in conjunction with Figure 7 The following describes the smart charging process in one embodiment provided in this application. Figure 7 As shown, this embodiment includes the following steps S71 to S78: Step S71: In response to the electronic device being connected to the power supply and the battery being in a low-charge state, a charging request is generated; then, step S72 is executed. Step S72: Obtain the total electrical power required by the electronic device; then, proceed to step S73. Step S73: Determine whether the total power is greater than the maximum power supported by the second power supply path; if not, proceed to step S74; if yes, proceed to step S75. Step S74: Charge the electronic device using the second power supply path; Here, the second power supply path refers to the power supply path that includes the PD 3.0 chip and the power supply port.

[0105] Step S75: Charge the electronic device using the first power supply path; then, proceed to step S76. Here, the first power supply path refers to the power supply path that includes the PD 3.1 chip and the power supply port.

[0106] Step S76: Obtain the real-time temperature of the PD 3.1 chip; then, proceed to step S77. Step S77, judging whether the real-time temperature of the PD 3.1 chip is higher than the temperature threshold; if not, executing step S76; if yes, executing step S78; Step S78, switching to charging the electronic device by using the second power supply path, and recording the over-temperature event of the PD 3.1 chip.

[0107] In some embodiments, the over-temperature event of the PD 3.1 chip can be recorded to an Electrically Erasable Programmable Read-Only Memory (EEPROM).

[0108] It should be noted that the description of the above method embodiments is similar to that of the above device embodiments, and both have similar beneficial effects. In some embodiments, the method provided by the present application is executed by using the above device embodiments. For technical details not disclosed in the method embodiments of the present application, please refer to the description of the device embodiments of the present application for understanding.

[0109] It should be noted that, in the embodiments of the present disclosure, if the intelligent charging method described above is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product in essence or the part that contributes to the related art, which is stored in a storage medium, includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present disclosure. The aforementioned storage medium includes: a U disk, a mobile hard disk, a Read Only Memory (ROM), a magnetic disk or an optical disk, and various media that can store program codes. Thus, the embodiments of the present disclosure are not limited to any specific hardware, software or firmware, or any combination of hardware, software and firmware.

[0110] The embodiments of the present disclosure provide a computer device, including a memory and a processor, the memory stores a computer program capable of running on the processor, and the processor implements part or all of the steps of the above method when executing the program.

[0111] The embodiments of the present disclosure provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement part or all of the steps of the above method. The computer readable storage medium can be transitory or non-transitory.

[0112] The embodiment of the present disclosure provides a computer program, including computer readable code, wherein when the computer readable code runs in a computer device, a processor in the computer device executes part or all steps of the above method.

[0113] The embodiment of the present disclosure provides a computer program product, including a non-transitory computer readable storage medium storing a computer program, wherein when the computer program is read and executed by a computer, part or all steps of the above method are implemented. The computer program product can be implemented by hardware, software or a combination thereof. In some embodiments, the computer program product is embodied as a computer storage medium, and in other embodiments, the computer program product is embodied as a software product, such as a software development kit (SDK) or the like.

[0114] It should be noted that the above description of the various embodiments tends to emphasize the differences between the various embodiments, and the same or similar parts can be referred to each other. The above description of the device, storage medium, computer program and computer program product embodiments is similar to the description of the method embodiments, and has similar advantages. For technical details not disclosed in the device, storage medium, computer program and computer program product embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure.

[0115] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present disclosure, the size of the sequence number of each step / process does not mean the execution order, and the execution order of each step / process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The above sequence number of the embodiments of the present disclosure is only for description, not representing the advantages or disadvantages of the embodiments.

[0116] It should be noted that, in the present document, the terms "comprising", "containing" or any other similar term are intended to encompass non-exclusive inclusion, such that processes, methods, articles, or apparatuses that comprise a list of elements are not limited to those elements, but can also include other elements not expressly listed, or also include elements inherent in such processes, methods, articles, or apparatuses. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0117] In several embodiments provided by the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be through some interface, indirect coupling or communication connection between devices or units, which can be electrical, mechanical or other forms.

[0118] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units; they can be located in one place or distributed on multiple network units; and part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0119] In addition, each functional unit in each embodiment of the present disclosure can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

[0120] Those of ordinary skill in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program executes the steps of the above method embodiments when executed; and the foregoing storage medium includes: mobile storage equipment, read only memory (Read Only Memory, ROM), magnetic disc or optical disc, and various storage program codes.

[0121] Alternatively, the above-mentioned integrated units of the present disclosure, if implemented in the form of software function modules and sold or used as independent products, can also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present disclosure. The aforementioned storage medium includes: mobile storage devices, ROM, magnetic disks or optical disks, and various media that can store program codes.

[0122] The above is only an embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure.

Claims

1. An electronic device, comprising: Power supply port, controller, first charging chip, and second charging chip; wherein, The power supply port is used to connect to a power supply device to obtain electrical power from the power supply device; The first charging chip and the second charging chip are respectively connected to the power supply port to form a first power supply path and a second power supply path; The controller is communicatively connected to the first charging chip and the second charging chip respectively, so as to control the use of one of the first power supply path and the second power supply path to power the electronic device; The power supplied by the first power supply path is higher than that supplied by the second power supply path.

2. The device according to claim 1, wherein, The electronic device has a motherboard; The first charging chip is connected to the motherboard via a first connector; The second charging chip is integrated on the motherboard.

3. The device according to claim 2, wherein the motherboard integrates a second connector; The notch position in the first connector is different from the notch position in the second connector.

4. The device according to any one of claims 1 to 3, further comprising a load switch; wherein, The load switch is connected to the first charging chip and the second charging chip respectively; The load switch is communicatively connected to the controller to activate one of the first charging chip and the second charging chip to the power supply port according to the control signal sent by the controller.

5. The device according to claim 4, wherein the controller comprises a first controller and a second controller; wherein, The first controller is configured to obtain the total electrical power required by the electronic device; The second controller is communicatively connected to the second controller to obtain the total electrical power from the second controller and generate the control signal based on the total electrical power.

6. The device according to claim 5, wherein, If the first power supply path is used to provide power to the electronic device, the first charging chip receives power with a voltage of a first voltage value from the power supply device through the power supply port, and converts the power with the first voltage value into power with a second voltage value. The first controller receives electrical energy with a voltage intensity of the second voltage value from the first charging chip and supplies the electrical energy with the second voltage value to the electronic device; If the second power supply path is used to provide power to the electronic device, the first controller receives power with a voltage intensity of the third voltage value from the power supply device through the power supply port; The first voltage value is higher than the second voltage value and the third voltage value.

7. A smart charging method, comprising: In response to the electronic device being connected to the power supply, the total electrical power required by the electronic device is obtained; Based on the total power, it is determined whether to obtain power from the power supply device using one of the first power supply path and the second power supply path; the first power supply path includes a first charging chip and a power supply port. The second power supply path includes a second charging chip and the power supply port; The power supplied by the first power supply path is higher than that supplied by the second power supply path.

8. The method according to claim 7, wherein determining, based on the total power, to obtain electrical energy from the power supply equipment using one of the first power supply path and the second power supply path comprises: If the total power is not less than the maximum power that the second power supply path can provide, it is determined that the first power supply path will be used to obtain power from the power supply equipment. If the total power is lower than the maximum power that the second power supply path can provide, it is determined that the second power supply path will be used to obtain power from the power supply equipment.

9. The method according to claim 8, further comprising: If the total power is not less than the maximum power that the second power supply path can provide, and the remaining power of the battery in the electronic device is higher than the power threshold, then it is determined that the second power supply path will be used to obtain power from the power supply device.

10. The method of claim 8, further comprising: If the total power is lower than the maximum power that the second power supply path can provide, and the temperature of the first charging chip is not higher than the temperature threshold, it is determined that the first power supply path will be used to obtain power from the power supply device.