Charging method and electronic device

By introducing a micro-control unit into the charging device and dynamically adjusting the charging strategy based on the remaining power information of the sports watch or bracelet, the problem of low flexibility of charging methods in the existing technology is solved, and richer charging strategies and more efficient charging strategies are achieved. Power management.

WO2024187827A1PCT designated stage expired Publication Date: 2024-09-19HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/135157
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2023-11-29
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The existing charging methods for sports watches or sports bracelets have low flexibility. The two contacts on the charging stand can only transmit current and cannot realize data interaction, resulting in a fixed charging strategy that cannot be adjusted based on the remaining power information of the device.

Method used

By introducing a micro control unit (MCU) into the charging device, the device to be charged can send remaining power information. The charging device determines the target strategy from multiple candidate charging strategies based on this information, and charges according to the target strategy, including fast charging, Slow charging and trickle charging strategies.

Benefits of technology

It improves the flexibility of charging and makes charging strategies richer. It can dynamically adjust the charging rate according to the remaining power of the device to extend battery life or charge quickly to meet user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023135157_19092024_PF_FP_ABST
    Figure CN2023135157_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application are applicable to the technical field of charging, and provide a charging method and an electronic device. An apparatus to be charged sends to a charging apparatus first information comprising remaining battery capacity information of the apparatus to be charged; the charging apparatus determines, on the basis of the first information, to determine a target charging strategy from a plurality of candidate charging strategies; and according to the target charging strategy, the charging apparatus outputs electric energy to the apparatus to be charged. In this way, the charging apparatus can flexibly determine the target charging strategy from the plurality of candidate charging strategies according to the remaining battery capacity information of the apparatus to be charged, and then output, according to the target charging strategy, the electric energy to the apparatus to be charged. Thus, the charging strategy for the apparatus to be charged is enriched, and the flexibility of charging the apparatus to be charged is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Charging method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 15, 2023, with application number 202310284895.5 and application name “Charging Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of charging technology, and more particularly, to a charging method and an electronic device. Background Art

[0003] At present, as people pay more attention to their physical health, smart wearable devices such as sports watches and sports bracelets are widely used. Among them, sports watches or sports bracelets are charged by connecting to a charging stand.

[0004] For example, a fitness tracker typically has only two contacts on a charging station. Connecting the tracker to the two contacts allows charging. However, these contacts are typically only capable of transmitting current and are unable to exchange data between the tracker and the fitness tracker. This results in a fixed charging method for the fitness tracker, limiting its flexibility.

[0005] Based on this, how to enrich the charging strategy of sports bracelets and improve the flexibility of charging has become an urgent problem to be solved.

[0006] Summary of the Invention

[0007] The present application provides a charging method that can enrich the charging strategy of a device to be charged and improve the flexibility of charging.

[0008] In a first aspect, a charging method is provided, which is applied to a charging device, wherein the charging device uses a contact charging method to charge a device to be charged, and the method includes:

[0009] Receiving first information sent by the device to be charged, where the first information includes information about the remaining power of the device to be charged;

[0010] determining a target charging strategy based on the first information, where the target charging strategy is a charging strategy determined from a plurality of candidate charging strategies, each of the plurality of candidate charging strategies having a different charging rate;

[0011] The device to be charged is charged according to the target charging strategy.

[0012] It should be understood that contact charging generally refers to charging a device to be charged via contacts provided on a charging device. The contacts provided on a charging device generally can only transmit current and cannot exchange data. In other words, in the embodiments of the present application, the device to be charged and the charging device cannot exchange data via the charging contacts, and the device to be charged cannot send first information to the charging device via the contacts.

[0013] Exemplarily, the plurality of candidate charging strategies may include a fast charging strategy, a slow charging strategy, and a trickle charging strategy.

[0014] In the charging method provided in an embodiment of the present application, the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the first information also includes a first moment, where the first moment refers to the moment when the interrupt signal recorded by the device to be charged is generated, and the interrupt signal refers to the signal generated by the touch between the device to be charged and the charging device during charging. Determining the target charging strategy based on the first information includes: obtaining the difference between the first moment and the second moment, where the second moment refers to the moment when the interrupt signal recorded by the charging device is generated; if the difference is less than a first preset threshold, determining the target charging strategy based on the remaining power information.

[0016] It should be understood that a charging device can charge multiple devices to be charged. In this case, to avoid the charging device frequently selecting a target charging strategy and increasing the computing burden on the charging device, the charging device may only select a target charging strategy from multiple candidate charging strategies after confirming that the device to be charged and the charging device match.

[0017] In an embodiment of the present application, a charging method is provided in which a device to be charged sends a first message including the remaining power information of the device to be charged and a first time to a charging device. When the difference between the first time and the second time in the first message is less than a first preset threshold, the charging device determines a target charging strategy from multiple candidate charging strategies, and the charging device supplies power to the device to be charged according to the target charging strategy. The first time refers to the time when an interrupt signal recorded by the device to be charged is generated, and the interrupt signal refers to a signal generated by the device to be charged and the charging device touching each other during charging. The second signal refers to the time when the interrupt signal recorded by the charging device is generated. If the difference between the first time and the second time is less than the first preset threshold, it indicates that the interrupt signal was generated simultaneously by the device to be charged and the charging device, indicating that charging matching has been completed between the device to be charged and the charging device, and charging can begin. This allows the charging device to flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then supply power to the device to be charged according to the target charging strategy only when charging matching has been completed between the device to be charged and the charging device, thereby reducing the computational burden of the charging device.

[0018] In combination with the first aspect, in some implementations of the first aspect, the first information also includes a first power, where the first power refers to the transmission power of the device to be charged when sending the first information, and determining the target charging strategy based on the first information includes: obtaining a second power, where the second power refers to the receiving power of the charging device when receiving the first information; determining a first distance based on the first power and the second power, where the first distance refers to the distance between the charging device and the device to be charged; if the first distance is less than a second preset threshold, determining the target charging strategy based on the remaining power information.

[0019] In the charging method provided in the embodiments of the present application, the device to be charged sends first information including remaining power information and the transmission power (first power) for sending the first information to the charging device, the charging device obtains the receiving power (second power) of the charging device for receiving the first information, and then determines the distance (first distance) between the electrical device and the charging device based on the first power and the second power, and when the first distance is less than the second preset threshold, determines the target charging strategy from multiple candidate charging strategies, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. When the first distance is less than the second preset threshold, it indicates that the distance between the device to be charged and the charging device is small, so that the charging device can output electric energy to the device to be charged. In this case, the charging device will flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, thereby reducing the computational burden of the charging device.

[0020] In combination with the first aspect, in some implementations of the first aspect, the charging device includes a micro control unit MCU, and determining a target charging strategy based on the remaining power information includes: the micro control unit MCU determines the target charging strategy based on the remaining power information.

[0021] Typically, a charging station that charges a smart bracelet does not have the ability to process data. Therefore, in a charging system consisting of a smart bracelet and a charging station, a microcontroller unit (MCU) can be added to the charging station to determine the target charging strategy.

[0022] In the charging method provided in the embodiments of the present application, the smart bracelet sends first information including remaining power information to the charging base, and the MCU in the charging base determines the target charging strategy from multiple candidate charging strategies based on the first information. Then, the MCU in the charging base uses the target charging strategy to control the charging management module to charge the smart bracelet. Since the traditional charging base does not have a data processing function, in the embodiments of the present application, by adding an MCU to the charging base, the charging base can process the first information through the MCU and select the target charging strategy from multiple candidate charging strategies based on the first information, thereby enriching the charging strategy of the smart bracelet and improving the flexibility of charging the smart bracelet.

[0023] In combination with the first aspect, in some implementations of the first aspect, the charging device further includes a charging management module, which charges the device to be charged according to the target charging strategy, including: the MCU uses the target charging strategy to control the charging management module to charge the device to be charged.

[0024] In a second aspect, a charging method is provided, which is applied to a device to be charged, wherein the device to be charged is charged by a charging device using a contact charging method, the method comprising:

[0025] Sending first information to the charging device, where the first information includes information about the remaining power of the device to be charged;

[0026] The electric energy output by the charging device according to the target charging strategy is received. The target charging strategy is a charging strategy determined by the charging device from multiple candidate charging strategies based on the first information. The charging rates of the multiple candidate charging strategies are different.

[0027] In the charging method provided in an embodiment of the present application, the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0028] In combination with the second aspect, in some implementations of the second aspect, the sending of the first information to the charging device includes: generating a broadcast signal based on the first information; and sending the broadcast signal to the charging device at a preset frequency.

[0029] In combination with the second aspect, in some implementations of the second aspect, the sending of the broadcast signal to the charging device at the preset frequency includes: sending the broadcast signal to the charging device at the preset frequency via Bluetooth.

[0030] In the charging method provided in the embodiments of the present application, during the process of the smart bracelet sending the first information to the charging base, the first information is broadcast via Bluetooth at a preset frequency. In this way, the charging base does not need to send a request to the smart bracelet to obtain the first information. The smart bracelet can automatically send the first information multiple times, thereby improving the reliability of the charging base in receiving the first information, and thereby improving the reliability of the charging base in determining the target charging strategy based on the first information.

[0031] In combination with the second aspect, in some implementations of the second aspect, the type of the broadcast signal is a universally unique identifier (UUID) or service data.

[0032] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: obtaining current power information; determining whether the power of the device to be charged increases based on the current power information and the remaining power information; if the power of the device to be charged increases, stopping sending broadcast information.

[0033] In the charging method provided in the embodiments of the present application, the smart bracelet sends first information including remaining power information to the charging base, and the MCU in the charging base determines a target charging strategy from multiple candidate charging strategies based on the first information, and then the MCU in the charging base uses the target charging strategy to control the charging management module to charge the smart bracelet. Then, the smart bracelet can continue to obtain current power information, and determine in real time whether the power of the smart bracelet is increasing based on the current power information and the remaining power information. If the power of the smart bracelet is increasing, it means that the charging base has started charging the smart bracelet. Therefore, the smart bracelet stops broadcasting the first information, so that the charging base no longer needs to continue to determine the target charging strategy based on the first information, thereby avoiding the situation where the charging base frequently determines the target charging strategy based on the first information and occupies the computing power of the charging base.

[0034] In combination with the second aspect, in some implementations of the second aspect, the device to be charged is a smart watch or a smart bracelet.

[0035] In a third aspect, a charging system is provided. The charging system includes a charging device and a device to be charged. The charging device charges the device to be charged using a contact charging method, including:

[0036] The device to be charged sends first information to the charging device, wherein the first information includes information about the remaining power of the device to be charged;

[0037] The charging device determines a target charging strategy based on the first information, where the target charging strategy is a charging strategy determined from a plurality of candidate charging strategies, each of the plurality of candidate charging strategies having a different charging rate;

[0038] The charging device charges the device to be charged according to the target charging strategy.

[0039] In the charging system provided in an embodiment of the present application, the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, and the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0040] In combination with the third aspect, in certain implementations of the third aspect, the first information also includes a first moment, where the first moment refers to the moment when the interrupt signal recorded by the device to be charged is generated, and the interrupt signal refers to the signal generated by the touch between the device to be charged and the charging device during charging. The above-mentioned charging device determines the target charging strategy based on the first information, including: the charging device obtains the difference between the first moment and the second moment, where the second moment refers to the moment when the interrupt signal recorded by the charging device is generated; if the difference is less than the first preset threshold, the charging device determines the target charging strategy based on the remaining power information.

[0041] In combination with the third aspect, in certain implementations of the third aspect, the first information also includes a first power, and the first power refers to the transmission power of the device to be charged to send the first information. The above-mentioned charging device determines the target charging strategy based on the first information, including: the charging device obtains a second power, and the second power refers to the receiving power of the charging device when receiving the first information; the charging device determines a first distance based on the first power and the second power, and the first distance refers to the distance between the charging device and the device to be charged; if the first distance is less than the second preset threshold, the charging device determines the target charging strategy based on the remaining power information.

[0042] In combination with the third aspect, in certain implementations of the third aspect, the charging device includes a microcontroller unit MCU, and the charging device determines a target charging strategy based on the remaining power information, including: the microcontroller unit MCU determines the target charging strategy based on the remaining power information.

[0043] In combination with the third aspect, in some implementations of the third aspect, the charging device further includes a charging management module, and the charging device charges the device to be charged according to the target charging strategy, including: the MCU uses the target charging strategy to control the charging management module to charge the device to be charged.

[0044] In combination with the third aspect, in certain implementations of the third aspect, the above-mentioned device to be charged sends the first information to the charging device, including: the device to be charged generates a broadcast signal based on the first information; and the device to be charged sends the broadcast signal to the charging device at a preset frequency.

[0045] In combination with the third aspect, in certain implementations of the third aspect, the device to be charged sends a broadcast signal to the charging device at a preset frequency, including: the device to be charged sends a broadcast signal to the charging device at a preset frequency via Bluetooth.

[0046] In combination with the third aspect, in certain implementations of the third aspect, the type of the broadcast signal is a universally unique identifier (UUID) or service data.

[0047] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the device to be charged obtains current power information; the device to be charged determines whether the power of the device to be charged increases based on the current power information and the remaining power information; if the power of the device to be charged increases, the device to be charged stops sending broadcast information.

[0048] In combination with the third aspect, in some implementations of the third aspect, the device to be charged is a smart watch or a smart bracelet.

[0049] In a fourth aspect, a charging device is provided, comprising a unit for executing any of the methods in the first aspect. The device may be an electronic device or a chip within a terminal device. The device may include an acquisition unit and a processing unit.

[0050] When the device is an electronic device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, and when the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the first aspect.

[0051] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the first aspect.

[0052] In one possible implementation, a memory is used to store computer program code; a processor executes the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is used to perform the following: receiving first information sent by the device to be charged, the first information including remaining power information of the device to be charged; determining a target charging strategy based on the first information, the target charging strategy being a charging strategy determined from multiple candidate charging strategies, each of the multiple candidate charging strategies having a different charging rate; and charging the device to be charged according to the target charging strategy.

[0053] In a fifth aspect, a device to be charged is provided, comprising a unit for executing any of the methods in the second aspect. The device may be an electronic device or a chip within a terminal device. The device may include an acquisition unit and a processing unit.

[0054] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code, and when the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the second aspect.

[0055] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the second aspect.

[0056] In one possible implementation, a memory is used to store computer program code; a processor executes the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is used to perform the following: sending first information to a charging device, where the first information includes information about the remaining power of the device to be charged; receiving electric energy output by the charging device according to a target charging strategy, where the target charging strategy is a charging strategy determined by the charging device from multiple candidate charging strategies based on the first information; and each of the multiple candidate charging strategies has a different charging rate.

[0057] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a charging device, the charging device executes any one of the charging methods in the first aspect or the second aspect.

[0058] In a seventh aspect, a computer program product is provided, comprising: a computer program code, which, when executed by a charging device, enables the charging device to execute any one of the device methods in the first aspect or the second aspect.

[0059] In the charging method provided in an embodiment of the present application, the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] FIG1 is a schematic diagram of a hardware system of an electronic device applicable to the present application;

[0061] FIG2 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0062] FIG3 is a schematic flow chart of a charging method provided in an embodiment of the present application;

[0063] FIG4 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0064] FIG5 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0065] FIG6 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0066] FIG7 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0067] FIG8 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0068] FIG9 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0069] FIG10 is a schematic flow chart of another charging method provided in an embodiment of the present application;

[0070] FIG11 is a schematic diagram of a charging device provided by the present application;

[0071] FIG12 is a schematic diagram of a device to be charged provided by the present application;

[0072] FIG13 is a schematic diagram of a charging electronic device provided by the present application. DETAILED DESCRIPTION

[0073] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0074] In the following, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the technical features indicated. Therefore, a feature specified as "first," "second," or "third" may explicitly or implicitly include one or more of the features.

[0075] Currently, smart wearable devices such as sports watches or fitness bands are typically charged via a charging station. Taking a fitness band as an example, the charging station typically has only two contacts, which can only transmit current and not exchange data. When the fitness band is connected to the two contacts on the charging station, the charging station outputs power to the fitness band, charging the fitness band. Because the two contacts on the charging station can only transmit current and cannot exchange data between the charging station and the fitness band, the charging station cannot obtain the remaining power information of the fitness band and therefore cannot adjust the charging strategy based on the remaining power information of the fitness band. It can only charge according to a fixed charging method, that is, at a fixed charging rate, which has low flexibility.

[0076] In view of this, an embodiment of the present application provides a charging method, in which the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, and the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0077] The charging method provided in the embodiment of the present application can be applied to a device to be charged, a charging device, and a charging system. The charging system may include the above-mentioned device to be charged and a charging device. The charging device uses a contact charging method to charge the device to be charged, and the device to be charged and the charging device cannot exchange data through the above-mentioned contacts. Optionally, the device to be charged may be an electronic device, and the electronic device includes a terminal device, which may also be referred to as a terminal (terminal), user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.

[0078] 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0079] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0080] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0081] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0082] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0083] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0084] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit a broadcast signal to the wireless communication module 160 via the UART interface, thereby implementing the communication function with other electronic devices (such as a charging station) via Bluetooth.

[0085] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0086] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0087] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 100 via the power management module 141.

[0088] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0089] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0090] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0091] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0092] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0093] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0094] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), the fifth generation of wireless communication system (5G), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0095] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0096] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0097] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.

[0098] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be placed in headphones to form bone conduction headphones. The audio module 170 can parse the vibration signals from the vibrating bones of the human body acquired by the bone conduction sensor 180M into voice signals, thereby implementing voice functions. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M, thereby implementing heart rate detection functions.

[0099] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0100] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0101] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0102] It should be noted that any electronic device mentioned in the embodiments of the present application may include more or fewer modules in the electronic device 100.

[0103] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, which is not limited in the present embodiment.

[0104] The application scenarios provided by the embodiments of the present application are described below with reference to the accompanying drawings.

[0105] FIG2 is a schematic diagram of an application scenario of a charging method provided by an embodiment of the present application. As shown in FIG2(a), there are two charging contacts 110 on the back of the smart bracelet 100, and there are also two protruding power transmission contacts 210 on the charging stand 200. Among them, the smart bracelet 100 and the charging stand 200 are connected only by two contacts, and the smart bracelet 100 and the charging stand 200 cannot exchange data through the contacts. When the charging contacts 110 on the smart bracelet 100 and the power transmission contacts 210 on the charging stand 200 are in contact, as shown in FIG2(b), the smart bracelet 100 sends the remaining power information of the smart bracelet 100 to the charging stand 200 by wireless transmission. For example, the smart bracelet 100 sends the remaining power information of the smart bracelet 100 to the charging stand 200 by Bluetooth broadcasting, and then the charging stand 200 starts to output power to the smart bracelet 100 through the power transmission contacts 210 after receiving the remaining power information sent by the smart bracelet 100.

[0106] It should be understood that the charging method provided in the embodiments of the present application is also applicable between electronic devices and charging bases that use similar charging methods, such as between headphones and a charging box. The above is just an example.

[0107] It should be understood that the above is an example of an application scenario and does not limit the application scenario of this application.

[0108] The charging method provided in the embodiment of the present application is described in detail below with reference to FIG. 3 to FIG. 10 .

[0109] FIG3 is a flow chart of a charging method provided in an embodiment of the present application. As shown in FIG3 , the method includes:

[0110] S101: The device to be charged sends first information to the charging device.

[0111] The first information includes the remaining power information of the device to be charged.

[0112] It should be understood that the charging device uses contact charging to charge the device to be charged. The charging device may be provided with contacts as shown in Figure 2. These contacts are only used for charging and cannot exchange data. In other words, the charging device using contact charging cannot exchange data with the device to be charged through the contacts, and the device to be charged cannot send the first information to the charging device through the contacts.

[0113] Typically, when the device to be charged and the charging device are connected via contacts, both devices simultaneously generate an interrupt request (IRQ), also known as an interrupt signal. At this point, the device to be charged obtains its remaining power information and generates a first message based on the remaining power information. The device to be charged then sends the first message to the charging device.

[0114] Optionally, the device to be charged may broadcast the first information externally via Bluetooth broadcasting, so that charging devices within the Bluetooth coverage range can receive the first information.

[0115] S102: The charging device determines a target charging strategy based on the first information.

[0116] The target charging strategy is a charging strategy determined from a plurality of candidate charging strategies based on the remaining power information, wherein each charging strategy in the plurality of candidate charging strategies has a different charging rate.

[0117] Exemplarily, the plurality of candidate charging strategies may include a fast charging strategy, a slow charging strategy, and a trickle charging strategy.

[0118] Among them, the fast charging strategy can refer to a charging strategy in which the amount of electricity charged per unit time is greater than the electricity threshold. Charging through the fast charging strategy can quickly increase the battery power of the device to be charged and meet user needs.

[0119] The slow charging strategy may refer to a charging strategy in which the amount of electricity charged per unit time is less than a power threshold. Charging using the slow charging strategy can protect the battery of the device to be charged and extend the battery life of the device to be charged.

[0120] The trickle charge strategy may refer to first adopting a charging strategy in which the amount of electricity charged per unit time is less than the electricity threshold, and when the battery power increases to a preset power value, the amount of electricity charged per unit time is greater than the electricity threshold. The trickle charge strategy can protect the battery first when the battery power is ultra-low, and when the battery power increases to the preset power value, so that fast charging will not damage the battery, fast charging can be used to quickly increase the battery power to meet user needs.

[0121] After receiving the first information sent by the device to be charged, the charging device can select a charging strategy as a target charging strategy based on the remaining power information included in the first information. For example, the corresponding relationship between the remaining power and the charging strategy can be used to select the charging strategy corresponding to the remaining power information as the target charging strategy.

[0122] For example, when the remaining power indicated by the remaining power information is ultra-low power, the trickle charging strategy can be adopted as the target charging strategy; when the remaining power indicated by the remaining power information is low power, the fast charging strategy can be adopted as the target charging strategy; when the remaining power indicated by the remaining power information is high power, the slow charging strategy can be adopted as the target charging strategy.

[0123] It should be understood that the remaining power information may refer to a percentage of the total battery power or the remaining battery power capacity, and the embodiments of the present application do not limit this.

[0124] Taking the example of the remaining power information being the percentage of the total battery capacity, in the process of determining whether the remaining power indicated by the remaining power information is ultra-low power, low power or high power, the first power threshold used is also described by the percentage of the total battery power.

[0125] When the remaining power indicated by the remaining power information is less than the first power threshold, it can be determined that the remaining power indicated by the remaining power information is extremely low power. For example, if the first power threshold is 20%, when the remaining power indicated by the remaining power information is 12%, then the remaining power indicated by the remaining power information is extremely low power.

[0126] When the remaining power indicated by the remaining power information is greater than or equal to the first power threshold and less than the second power threshold, it can be determined that the remaining power indicated by the remaining power information is low power. For example, if the first power threshold is 20% and the second power threshold is 60%, when the remaining power indicated by the remaining power information is 45%, then the remaining power indicated by the remaining power information is low power.

[0127] When the remaining power indicated by the remaining power information is greater than or equal to the second power threshold, it can be determined that the remaining power indicated by the remaining power information is high power. For example, if the second power threshold is 60%, when the remaining power indicated by the remaining power information is 80%, then the remaining power indicated by the remaining power information is high power.

[0128] When the remaining power information of the device to be charged indicates that the remaining power is extremely low, a trickle charge strategy can be adopted as the target charging strategy. This can protect the battery first, and when the battery power reaches the preset power value, it can be charged quickly without damaging the battery. Then, a fast charge method can be used to quickly increase the battery power to meet user needs.

[0129] When the remaining power information of the device to be charged indicates that the remaining power is low, a fast charging strategy can be adopted as the target charging strategy, which can quickly increase the battery power of the device to be charged to meet user needs.

[0130] When the remaining power information of the device to be charged indicates a high remaining power, a slow charging strategy may be adopted as the target charging strategy, which can protect the battery of the device to be charged and extend the battery life of the device to be charged.

[0131] S103: The charging device charges the device to be charged according to the target charging strategy.

[0132] In the charging method provided in an embodiment of the present application, the device to be charged sends first information including the remaining power information of the device to be charged to the charging device, the charging device determines a target charging strategy from multiple candidate charging strategies based on the first information, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, which means that the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0133] In one possible scenario, a charging device can charge multiple devices to be charged. For example, as shown in Figure 4, the charging device 200 can charge the smart bracelet 100 and the smart bracelet 300. In this case, in order to avoid the charging device 200 frequently selecting the target charging strategy and increasing the computing burden of the charging device 200, the charging device can only find the target charging strategy from multiple candidate charging strategies after determining that the device to be charged and the charging device match.

[0134] For example, the charging device may determine whether the device to be charged and the charging device match based on the time when the interrupt signal is generated, as shown in the embodiment of FIG5 .

[0135] Illustratively, the charging device may determine whether the device to be charged and the charging device match based on the transmission power of the first signal sent by the device to be charged and the reception power of the first signal received by the charging device, as shown in the embodiment of FIG6 .

[0136] FIG5 is a flow chart of a charging method according to another embodiment of the present application. As shown in FIG5 , the method includes:

[0137] S201: The device to be charged sends first information to the charging device.

[0138] The first information includes the remaining power information of the device to be charged and the first time. The first time refers to the time when the interruption signal recorded by the device to be charged is generated. The interruption signal refers to the signal generated when the device to be charged and the charging device touch each other during charging.

[0139] It should be understood that typically, when the device to be charged and the charging device are connected via contacts, they both generate an IRQ, or interrupt signal, simultaneously. At this point, the device to be charged obtains its remaining power information and the moment it generated the IRQ, i.e., the first moment. The device to be charged then generates the first message based on the remaining power information and the first moment.

[0140] S202: The charging device obtains a difference between the first moment and the second moment.

[0141] The second moment refers to the moment when the interruption signal recorded by the charging device is generated.

[0142] It should be understood that when the charging device and the charging device begin charging and their contacts touch, both devices will generate an IRQ simultaneously. However, due to differences in processing speed between the charging device and the charging device, the time at which the IRQ is generated recorded by the charging device differs from the time at which the IRQ is generated recorded by the charging device. Therefore, the first time at which the IRQ is generated recorded by the charging device differs from the second time at which the IRQ is generated recorded by the charging device.

[0143] After receiving the first message, the charging device parses the first message to determine the first time, and then retrieves the recorded time when the IRQ was generated from its own memory, which is the second time. The charging device then obtains the difference between the first time and the second time.

[0144] S203: When the difference is less than a first preset threshold, the charging device determines a target charging strategy based on the remaining power information.

[0145] When the difference between the first moment and the second moment is less than a first preset threshold, it indicates that the interruption signals generated by the device to be charged and the charging device are generated based on the same charging contact, that is, the device to be charged and the charging device are matched.

[0146] 4 , the charging device 200 can charge the smart bracelet 100 and the smart bracelet 300. The smart bracelet 100 and the charging device 200 are connected via contacts, that is, at this moment, the smart bracelet 100 and the charging device 200 are matched.

[0147] If the difference between the first moment and the second moment is less than a first preset threshold, that is, if the charging device and the device to be charged match, the charging device obtains the remaining power information from the first information and then determines a target charging strategy based on the remaining power information. The specific determination process can be found in the description of S102 and is not repeated here.

[0148] S204: The charging device outputs electric energy to the device to be charged according to the target charging strategy.

[0149] In an embodiment of the present application, a charging method is provided in which a device to be charged sends a first message including the remaining power information of the device to be charged and a first time to a charging device. When the difference between the first time and the second time in the first message is less than a first preset threshold, the charging device determines a target charging strategy from multiple candidate charging strategies, and the charging device supplies power to the device to be charged according to the target charging strategy. The first time refers to the time when an interrupt signal recorded by the device to be charged is generated, and the interrupt signal refers to a signal generated by the device to be charged and the charging device touching each other during charging. The second signal refers to the time when the interrupt signal recorded by the charging device is generated. If the difference between the first time and the second time is less than the first preset threshold, it indicates that the interrupt signal was generated simultaneously by the device to be charged and the charging device, indicating that charging matching has been completed between the device to be charged and the charging device, and charging can begin. This allows the charging device to flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then supply power to the device to be charged according to the target charging strategy only when charging matching has been completed between the device to be charged and the charging device, thereby reducing the computational burden of the charging device.

[0150] FIG6 is a flow chart of a charging method provided in another embodiment of the present application. As shown in FIG6 , the method includes:

[0151] S301: The device to be charged sends first information to the charging device.

[0152] The first information includes the remaining power information and the first power of the device to be charged. The first power refers to the transmission power of the device to be charged when sending the first information.

[0153] S302: The charging device obtains a second power.

[0154] The second power refers to the receiving power of the charging device when receiving the first information.

[0155] S303: The charging device determines a first distance according to the first power and the second power.

[0156] The first distance refers to the distance between the charging device and the device to be charged.

[0157] It should be understood that signal transmission in the air is subject to loss. Therefore, the distance between the device to be charged and the charging device can be determined based on the first formula, the first power, and the second power. The first formula includes: Pr = -32.44 - 201g (d) - 201g (f);

[0158] Wherein, d represents the transmission distance, Pr represents the difference between the first power and the second power, and f represents the frequency of the carrier signal, that is, the frequency of the carrier signal transmitting the first signal.

[0159] After obtaining the first power and the second power, the difference between the first power and the second power, that is, Pr, can be obtained first. At the same time, the frequency of the carrier signal when the device to be charged sends the first signal to the charging device is obtained, and then d, that is, the distance between the device to be charged and the charging device, is calculated using the first formula.

[0160] S304: When the first distance is less than a second preset threshold, the charging device determines a target charging strategy based on the remaining power information.

[0161] When the first distance is less than the second preset threshold, it means that the distance between the device to be charged and the charging device is relatively close, and the two are connected through the contact point, and the charging device can start to output electric energy to the device to be charged.

[0162] For example, the charging device 200 can charge both the smart bracelet 100 and the smart bracelet 300. As shown in Figure 4, the distance between the smart bracelet 100 and the charging device 200 is less than the second preset threshold, and the distance between the smart bracelet 300 and the charging device 200 is greater than the second preset threshold. In other words, at this moment, the charging device 200 needs to output power to the smart bracelet 100.

[0163] If the difference between the first moment and the second moment is less than a first preset threshold, that is, if the charging device and the device to be charged match, the charging device obtains the remaining power information from the first information and then determines a target charging strategy based on the remaining power information. The specific determination process can be found in the description of S102 and is not repeated here.

[0164] S305: The charging device outputs electric energy to the device to be charged according to the target charging strategy.

[0165] In the charging method provided in the embodiments of the present application, the device to be charged sends first information including remaining power information and the transmission power (first power) of sending the first information to the charging device, the charging device obtains the receiving power (second power) of the charging device when receiving the first information, and then determines the distance (first distance) between the electrical device and the charging device based on the first power and the second power, and when the first distance is less than the second preset threshold, determines the target charging strategy from multiple candidate charging strategies, and the charging device outputs electric energy to the device to be charged according to the target charging strategy. When the first distance is less than the second preset threshold, it indicates that the distance between the device to be charged and the charging device is small, so that the charging device can output electric energy to the device to be charged. In this case, the charging device will flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, thereby reducing the computational burden of the charging device.

[0166] Typically, the charging station that charges the smart bracelet does not have the ability to process data. Therefore, in the charging system consisting of the smart bracelet and the charging station, a microcontroller unit (MCU) can be added to the charging station to determine the target charging strategy. The embodiment shown in Figure 7 is used to explain this in detail.

[0167] FIG7 is a flow chart of another charging method provided in an embodiment of the present application. As shown in FIG7 , the method includes:

[0168] S401. The smart bracelet obtains remaining power information when generating an IRQ.

[0169] S402: The smart bracelet generates first information.

[0170] The first information includes remaining power information and the first time.

[0171] Optionally, the type of the first information is a universal unique identifier (UUID) or service data.

[0172] The first information includes IRQ-time-offset, IRQ-time-threshold, and battery power, wherein IRQ-time-offset corresponds to the first moment, and battery power corresponds to the remaining power information.

[0173] S403: The smart bracelet broadcasts the first information via Bluetooth at a preset frequency.

[0174] In the charging method provided in the embodiments of the present application, during the process of the smart bracelet sending the first information to the charging base, the first information is broadcast via Bluetooth at a preset frequency. In this way, the charging base does not need to send a request to the smart bracelet to obtain the first information. The smart bracelet can automatically send the first information multiple times, thereby improving the reliability of the charging base in receiving the first information, and thereby improving the reliability of the charging base in determining the target charging strategy based on the first information.

[0175] S404: The MCU of the charging base initiates a Bluetooth broadcast scan to obtain first information.

[0176] Optionally, the filter used by the charging station when performing Bluetooth broadcast scanning is UUID or service data.

[0177] S405: The MCU of the charging station parses the first information to obtain the first time and remaining power information.

[0178] Among them, the MCU of the charging base can parse the BLE-IRQ-time-offset and BLE-IRQ-time-threshold from the first information. Among them, BLE-IRQ-time-offset refers to the first moment, and BLE-IRQ-time-threshold refers to the difference between the moment when the first information is sent and the first moment. It should be understood that when sending information, the difference between the moment when the information is sent and a moment is usually recorded so that after the receiving device receives the information, it can perform time calibration based on the above difference. The difference sent in the embodiment of the present application is the BLE-IRQ-time-threshold.

[0179] S406: The MCU of the charging station obtains the difference between the first moment and the second moment.

[0180] If the difference between the first moment and the second moment is smaller than the first preset threshold, execute S407.

[0181] The second moment refers to the moment when the charging base records the IRQ.

[0182] It should be understood that different charging devices record time in different ways. Some use a 24-hour format, while others use a counter value. Therefore, when the charging station obtains the difference between the first and second moments, the timing method of the smart bracelet and the charging station needs to be unified.

[0183] Exemplarily, the charging base records time by recording the value of the counter, and the smart bracelet records time in 24-hour format. When the charging base receives the first information, it records the first count value of the counter at the current moment, and then subtracts the second count value IRQ-time, which is the count value of the counter recorded by the charging base when the interrupt signal is generated. The obtained difference is used to calculate the difference between the first moment and the second moment.

[0184] For example, the first moment, BLE-IRQ-time-offset, is recorded in 24-hour format, and the second moment is recorded as the count value of the counter. When the charging base receives the first message, it obtains the time when the first message was received, subtracts the second count value, IRQ-time, from this time to obtain local-IRQ-time-offset. Then, BLE-IRQ-time-offset is subtracted from local-IRQ-time-offset to obtain the difference. If the difference obtained by subtracting BLE-IRQ-time-offset from local-IRQ-time-offset is less than BLE-IRQ-time-threshold, it indicates that the difference between the first moment and the second moment is less than the first preset threshold.

[0185] If the difference between the first moment and the second moment is smaller than the first preset threshold, S407 is executed.

[0186] S407: The MCU of the charging station determines a target charging strategy according to the remaining power information.

[0187] It should be understood that conventional charging stations generally do not have data processing capabilities and therefore cannot process the first information sent by the smart bracelet. In an embodiment of the present application, an MCU is added to the charging station, and the MCU processes the first information to obtain a target charging strategy.

[0188] S408: The MCU of the charging base uses the target charging strategy to control the charging management module to output power to the smart bracelet.

[0189] In the charging method provided in the embodiments of the present application, the smart bracelet sends first information including remaining power information to the charging base, and the MCU in the charging base determines the target charging strategy from multiple candidate charging strategies based on the first information. Then, the MCU in the charging base uses the target charging strategy to control the charging management module to charge the smart bracelet. Since the traditional charging base does not have a data processing function, in the embodiments of the present application, by adding an MCU to the charging base, the charging base can process the first information through the MCU and select the target charging strategy from multiple candidate charging strategies based on the first information, thereby enriching the charging strategy of the smart bracelet and improving the flexibility of charging the smart bracelet.

[0190] In one possible scenario, when the smart bracelet detects a change in battery level, it can stop sending Bluetooth broadcasts, preventing the charging station from determining a target charging strategy based on the first information, thereby reducing the computing load of the charging station. This is described in detail below using the embodiment shown in FIG8 .

[0191] FIG8 is a flow chart of a charging method according to another embodiment of the present application. As shown in FIG8 , the method includes:

[0192] S501. The smart bracelet obtains remaining power information.

[0193] S502: The smart bracelet generates first information.

[0194] The first information includes remaining power information and the first time.

[0195] Optionally, the type of the first information is a universal unique identifier (UUID) or service data.

[0196] The first information includes IRQ-time-offset, IRQ-time-threshold, and battery power, wherein IRQ-time-offset corresponds to the first moment, and battery power corresponds to the remaining power information.

[0197] S503: The smart bracelet broadcasts the first information via Bluetooth at a preset frequency.

[0198] S504: The MCU of the charging base initiates a Bluetooth broadcast scan to obtain first information.

[0199] Optionally, the filter used by the charging station when performing Bluetooth broadcast scanning is UUID or service data.

[0200] S505: The MCU of the charging station parses the first information to obtain the first time and remaining power information.

[0201] The MCU of the charging base can parse the first information to obtain BLE-IRQ-time-offset and BLEIRQ-time-threshold, where BLE-IRQ-time-offset refers to the first moment.

[0202] S506: The MCU of the charging station obtains the difference between the first moment and the second moment, and executes S507 when the difference between the first moment and the second moment is less than a first preset threshold.

[0203] S507: The MCU of the charging station determines a target charging strategy according to the remaining power information.

[0204] S508: The MCU of the charging base controls the charging management module to output power to the smart bracelet according to the target charging strategy.

[0205] S509: The smart bracelet obtains current power information.

[0206] S510: The smart bracelet determines whether the power of the smart bracelet is increased according to the current power information and the remaining power information.

[0207] For example, if the value of the current power information minus the remaining power information is a positive number, it means that the power of the smart bracelet is increasing.

[0208] S511: If the battery level of the smart bracelet increases, the smart bracelet stops broadcasting the first information.

[0209] In the charging method provided in the embodiments of the present application, the smart bracelet sends first information including remaining power information to the charging base, and the MCU in the charging base determines a target charging strategy from multiple candidate charging strategies based on the first information, and then the MCU in the charging base uses the target charging strategy to control the charging management module to charge the smart bracelet. Then, the smart bracelet can continue to obtain current power information, and determine in real time whether the power of the smart bracelet is increasing based on the current power information and the remaining power information. If the power of the smart bracelet is increasing, it means that the charging base has started charging the smart bracelet. Therefore, the smart bracelet stops broadcasting the first information, so that the charging base no longer needs to continue to determine the target charging strategy based on the first information, thereby avoiding the situation where the charging base frequently determines the target charging strategy based on the first information and occupies the computing power of the charging base.

[0210] FIG9 is a flow chart of a charging method provided in an embodiment of the present application. The method is applied to a charging device, and the charging device uses a contact charging method to charge the device to be charged. As shown in FIG9 , the method includes:

[0211] S601: Receive first information sent by a device to be charged.

[0212] The first information includes the remaining power information of the device to be charged;

[0213] S602: Determine a target charging strategy based on the first information.

[0214] The target charging strategy is a charging strategy determined from a plurality of candidate charging strategies, and each of the plurality of candidate charging strategies has a different charging rate;

[0215] S603: Charge the device to be charged according to the target charging strategy.

[0216] The charging method provided in an embodiment of the present application is applied to a charging device, and the charging device uses a contact charging method to charge the device to be charged, including: receiving first information sent by the device to be charged including the remaining power information of the device to be charged, and then determining a target charging strategy from multiple candidate charging strategies based on the first information, and then outputting electric energy to the device to be charged according to the target charging strategy. In this way, the charging device can flexibly determine the target charging strategy from multiple candidate charging strategies based on the remaining power information of the device to be charged, and then output electric energy to the device to be charged according to the target charging strategy, that is, the charging strategy of the device to be charged is enriched, and the flexibility of charging the device to be charged is improved.

[0217] FIG10 is a flow chart of a charging method provided in an embodiment of the present application. The method is applied to a device to be charged. The device to be charged is charged by a charging device using a contact charging method. As shown in FIG10 , the method includes:

[0218] S701: Send first information to a charging device.

[0219] The first information includes the remaining power information of the device to be charged;

[0220] S702: Receive electric energy output by the charging device according to the target charging strategy.

[0221] The target charging strategy is a charging strategy determined by the charging device from a plurality of candidate charging strategies based on the first information, and the charging rates of the plurality of candidate charging strategies are different.

[0222] The charging method provided in the embodiment of the present application has similar implementation principles and beneficial effects to those of the above embodiment and will not be described in detail here.

[0223] It should be understood that, although the various steps in the flow chart in the above-described embodiment are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless clearly stated herein, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0224] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0225] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. It should be noted that the names of the modules in the embodiment of the present application are schematic and are not limited to the names of the modules in actual implementation.

[0226] FIG11 is a schematic structural diagram of a charging device provided in an embodiment of the present application.

[0227] It should be understood that the charging device 500 can execute the charging method shown in Figures 3 to 10; the charging device 500 includes: an acquisition unit 510 and a processing unit 520.

[0228] The acquiring unit 510 is configured to receive first information sent by the device to be charged, where the first information includes information about the remaining power of the device to be charged;

[0229] The processing unit 520 is configured to determine a target charging strategy based on the first information, where the target charging strategy is a charging strategy determined from a plurality of candidate charging strategies, each of the plurality of candidate charging strategies having a different charging rate;

[0230] The processing unit 520 is configured to charge the device to be charged according to the target charging strategy.

[0231] In one embodiment, the first information also includes a first moment, where the first moment refers to the moment when the interrupt signal recorded by the device to be charged is generated, and the interrupt signal refers to the signal generated by the touch between the device to be charged and the charging device during charging. The processing unit 520 is used to obtain the difference between the first moment and the second moment, and the second moment refers to the moment when the interrupt signal recorded by the charging device is generated; if the difference is less than the first preset threshold, the target charging strategy is determined based on the remaining power information.

[0232] In this embodiment, the first information also includes a first power, where the first power refers to the transmission power of the device to be charged when sending the first information. The processing unit 520 is used to obtain a second power, where the second power refers to the reception power of the charging device when receiving the first information. A first distance is determined based on the first power and the second power, where the first distance refers to the distance between the charging device and the device to be charged. If the first distance is less than a second preset threshold, a target charging strategy is determined based on the remaining power information.

[0233] In one embodiment, the processing unit 520 is a microcontroller unit (MCU).

[0234] In one embodiment, the charging device further includes a charging management module, and the MCU uses a target charging strategy to control the charging management module to charge the device to be charged.

[0235] The charging device provided in this embodiment is used to execute the charging method of the above embodiment. The technical principles and technical effects are similar and will not be described in detail here.

[0236] It should be noted that the charging device 500 is implemented in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0237] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two that implements the aforementioned functionality. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functionality.

[0238] Therefore, the units of each example described in the embodiments of this application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0239] FIG12 is a schematic structural diagram of a device to be charged provided in an embodiment of the present application.

[0240] It should be understood that the device to be charged 600 can execute the charging method shown in Figures 3 to 10; the charging device 600 includes: an acquisition unit 610 and a processing unit 620.

[0241] The processing unit 620 is configured to send first information to the charging device, where the first information includes information about the remaining power of the device to be charged;

[0242] The processing unit 620 is used to receive the electric energy output by the charging device according to the target charging strategy, which is a charging strategy determined by the charging device from multiple candidate charging strategies based on the first information; the charging rates of the multiple candidate charging strategies are different.

[0243] In one embodiment, the processing unit 620 is configured to generate a broadcast signal based on the first information; and send the broadcast signal to the charging device at a preset frequency.

[0244] In one embodiment, the processing unit 620 is configured to send a broadcast signal to the charging device via Bluetooth at a preset frequency.

[0245] In one embodiment, the type of the broadcast signal is a universal unique identifier (UUID) or service data.

[0246] In one embodiment, the processing unit 620 is configured to obtain current power information; determine whether the power of the device to be charged increases based on the current power information and the remaining power information; and stop sending broadcast information if the power of the device to be charged increases.

[0247] In one embodiment, the device to be charged is a smart watch or a smart bracelet.

[0248] The charging device provided in this embodiment is used to execute the charging method of the above embodiment. The technical principles and technical effects are similar and will not be described in detail here.

[0249] It should be noted that the above-mentioned device to be charged 600 is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0250] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two that implements the aforementioned functionality. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functionality.

[0251] Therefore, the units of each example described in the embodiments of this application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0252] Figure 13 shows a schematic diagram of the structure of an electronic device provided by the present application. The dotted lines in Figure 13 indicate that the unit or module is optional. The electronic device 700 can be used to implement the charging method described in the above method embodiment.

[0253] The electronic device 700 includes one or more processors 701, which can support the electronic device 700 to implement the charging method in the method embodiment. The processor 701 can be a general-purpose processor or a special-purpose processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0254] The processor 701 can be used to control the electronic device 700, execute software programs, and process data of the software programs. The electronic device 700 can also include a communication unit 705 to implement signal input (reception) and output (transmission).

[0255] For example, the electronic device 700 may be a chip, the communication unit 705 may be an input and / or output circuit of the chip, or the communication unit 705 may be a communication interface of the chip, and the chip may be a component of a terminal device or other electronic device.

[0256] For another example, the electronic device 700 may be a terminal device, and the communication unit 705 may be a transceiver of the terminal device, or the communication unit 705 may be a transceiver circuit of the terminal device.

[0257] The electronic device 700 may include one or more memories 702 on which a program 704 is stored. The program 704 can be executed by the processor 701 to generate instructions 703, so that the processor 701 executes the impedance matching method described in the above method embodiment according to the instructions 703.

[0258] Optionally, data may be stored in the memory 702. Optionally, the processor 701 may read data stored in the memory 702. The data may be stored at the same storage address as the program 704, or may be stored at a different storage address than the program 704.

[0259] The processor 701 and the memory 702 may be provided separately or integrated together; for example, they may be integrated on a system on chip (SOC) of a terminal device.

[0260] Exemplarily, the memory 702 can be used to store the relevant program 704 of the charging method provided in the embodiment of the present application, and the processor 701 can be used to call the relevant program 704 of the charging method stored in the memory 702 when charging, and execute the charging method of the embodiment of the present application; including: receiving first information sent by the device to be charged, the first information including the remaining power information of the device to be charged; determining a target charging strategy based on the first information, the target charging strategy being a charging strategy determined from multiple candidate charging strategies, and the charging rates of each charging strategy in the multiple candidate charging strategies are different; charging the device to be charged according to the target charging strategy.

[0261] Exemplarily, the memory 702 can be used to store the relevant program 704 of the charging method provided in the embodiment of the present application, and the processor 701 can be used to call the relevant program 704 of the charging method stored in the memory 702 when charging, and execute the charging method of the embodiment of the present application; including: sending first information to the charging device, the first information including the remaining power information of the device to be charged; receiving the electric energy output by the charging device according to the target charging strategy, the target charging strategy is a charging strategy determined by the charging device from multiple candidate charging strategies based on the first information; the charging rate of each charging strategy in the multiple candidate charging strategies is different.

[0262] The present application also provides a computer program product, which, when executed by the processor 701, implements the charging method described in any method embodiment of the present application.

[0263] The computer program product may be stored in the memory 702 , for example, a program 704 , which is converted into an executable target file that can be executed by the processor 701 after undergoing preprocessing, compilation, assembly, and linking.

[0264] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a computer, implements the charging method described in any method embodiment of the present application. The computer program can be a high-level language program or an executable object program.

[0265] The computer-readable storage medium is, for example, memory 702. Memory 702 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0266] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.

[0267] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0268] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0269] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0270] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of the units is merely a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection of some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0271] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0272] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0273] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A charging method, characterized in that: Applied to a charging device, the charging device uses a contact charging method to charge a device to be charged, and the method includes: Receiving first information sent by the device to be charged, where the first information includes remaining power information of the device to be charged; Determine a target charging strategy based on the first information, where the target charging strategy is a charging strategy determined from a plurality of candidate charging strategies, where each charging strategy in the plurality of candidate charging strategies has a different charging rate; The device to be charged is charged according to the target charging strategy.

2. The method according to claim 1, characterized in that The first information also includes a first moment, the first moment refers to the moment when the interrupt signal recorded by the device to be charged is generated, the interrupt signal refers to a signal generated when the device to be charged and the charging device touch each other during charging, and determining the target charging strategy based on the first information includes: Obtaining a difference between the first moment and a second moment, where the second moment refers to a moment when the interrupt signal is generated and recorded by the charging device; If the difference is less than a first preset threshold, the target charging strategy is determined based on the remaining power information.

3. The method according to claim 1, characterized in that The first information further includes a first power, where the first power refers to a transmission power of the device to be charged when sending the first information. The determining of a target charging strategy based on the first information includes: Acquire a second power, where the second power refers to a receiving power of the charging device when receiving the first information; determining a first distance based on the first power and the second power, where the first distance refers to the distance between the charging device and the device to be charged; If the first distance is less than a second preset threshold, the target charging strategy is determined based on the remaining power information.

4. The method according to claim 2 or 3, characterized in that: The charging device includes a microcontroller unit MCU, and the target charging strategy is determined based on the remaining power information, including: The MCU determines the target charging strategy based on the remaining power information.

5. The method according to claim 4, characterized in that The charging device further includes a charging management module, and charging the device to be charged according to the target charging strategy includes: The MCU uses the target charging strategy to control the charging management module to charge the device to be charged.

6. A charging method, characterized in that: Applied to a device to be charged, the device to be charged is charged by a charging device using a contact charging method, the method comprising: Sending first information to the charging device, wherein the first information includes remaining power information of the device to be charged; The electric energy output by the charging device according to a target charging strategy is received, where the target charging strategy is a charging strategy determined by the charging device from a plurality of candidate charging strategies based on the first information, and each of the plurality of candidate charging strategies has a different charging rate.

7. The method according to claim 6, characterized in that The sending the first information to the charging device includes: generating a broadcast signal based on the first information; The broadcast signal is sent to the charging device at a preset frequency.

8. The method according to claim 7, characterized in that The sending the broadcast signal to the charging device according to a preset frequency includes: The broadcast signal is sent to the charging device via Bluetooth at a preset frequency.

9. The method according to claim 7 or 8, characterized in that: The type of the broadcast signal is a universal unique identifier (UUID) or service data.

10. The method according to any one of claims 7 to 9, characterized in that The method further comprises: Get current power information; Determining whether the power of the device to be charged is increased according to the current power information and the remaining power information; If the power of the device to be charged increases, the broadcast information is stopped from being sent.

11. The method according to any one of claims 6 to 10, characterized in that: The device to be charged is a smart watch or a smart bracelet.

12. A charging system, characterized in that: The charging system comprises a charging device and a device to be charged, wherein the charging device charges the device to be charged by contact charging, the charging device is used to execute the method according to any one of claims 1 to 5, and the device to be charged is used to execute the method according to any one of claims 6 to 11.

13. A charging device, characterized in that: The device comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method according to any one of claims 1 to 5.

14. A device to be charged, characterized in that: The device comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method according to claim 6 or 11.

15. A chip, characterized in that: The method comprises a processor, and when the processor executes instructions, the processor executes the method according to any one of claims 1 to 5, or the processor executes the method according to claim 6 or 11.

16. An electronic device, characterized in that: The electronic device includes a processor, which is used to couple with a memory and read instructions in the memory, and according to the instructions, enable the electronic device to execute the method as described in any one of claims 1 to 5, or, according to the instructions, enable the electronic device to execute the method as described in claim 6 or 11.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 5, or the method according to claim 6 or 11.

Citation Information

Patent Citations

  • Charging method and electronic equipment

    CN118677042A

  • Charging system, power supply device and flying machine

    CN105308820A

  • Charging method and device

    CN112671080A

  • Charging control method and device, electronic equipment and storage medium

    CN115579971A

  • Eyewear charging case using charge pins as communication path

    US20200073148A1