(19)
(11)EP 3 832 847 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
28.09.2022 Bulletin 2022/39

(21)Application number: 18934675.2

(22)Date of filing:  29.09.2018
(51)International Patent Classification (IPC): 
H02J 50/80(2016.01)
H02J 50/10(2016.01)
H02J 7/00(2006.01)
H02J 7/34(2006.01)
(52)Cooperative Patent Classification (CPC):
H02J 50/10; H02J 50/80; H02J 2310/22; H02J 7/342
(86)International application number:
PCT/CN2018/108729
(87)International publication number:
WO 2020/062159 (02.04.2020 Gazette  2020/14)

(54)

WIRELESS CHARGING METHOD AND ELECTRONIC DEVICE

VERFAHREN ZUM DRAHTLOSEN LADEN UND ELEKTRONISCHE VORRICHTUNG

PROCÉDÉ DE CHARGE SANS FIL ET DISPOSITIF ÉLECTRONIQUE


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(43)Date of publication of application:
09.06.2021 Bulletin 2021/23

(60)Divisional application:
22184324.6

(73)Proprietor: HUAWEI TECHNOLOGIES CO., LTD.
Shenzhen, Guangdong 518129 (CN)

(72)Inventors:
  • YU, Wenchao
    Shenzhen, Guangdong 518129 (CN)
  • GAO, Haizhen
    Shenzhen, Guangdong 518129 (CN)
  • YANG, Lvjian
    Shenzhen, Guangdong 518129 (CN)
  • CHEN, Jiang
    Shenzhen, Guangdong 518129 (CN)
  • WANG, Hui
    Shenzhen, Guangdong 518129 (CN)

(74)Representative: Thun, Clemens 
Mitscherlich PartmbB Patent- und Rechtsanwälte Sonnenstraße 33
80331 München
80331 München (DE)


(56)References cited: : 
CN-A- 108 347 080
CN-A- 108 494 111
US-A1- 2015 280 792
CN-A- 108 419 449
CN-U- 206 673 710
US-A1- 2017 133 889
  
      
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description

    TECHNICAL FIELD



    [0001] The present invention relates to a wireless charging method and an electronic device.

    BACKGROUND



    [0002] With development of wireless charging technologies, a user may charge an electronic device such as a mobile phone in a wireless charging manner. In this way, in a charging process, there is no need to consider an adaptation relationship between a data line and the electronic device, or the like, thereby facilitating use by the user.

    [0003] For example, a wireless charging technology may include a forward wireless charging mode and a reverse wireless charging mode.

    [0004] For example, when an electronic device A wirelessly charges an electronic device B, that is, the electronic device A outputs a wireless charging current to the electronic device B, and the electronic device B receives the wireless charging current that is output by the electronic device A, the electronic device A is in the reverse wireless charging mode, and the electronic device B is in the forward wireless charging mode. When the electronic device A is placed on a wireless charging cradle, and the electronic device A receives a wireless charging current that is output by the wireless charging cradle, the electronic device A is in the forward wireless charging mode.

    [0005] When the electronic device A is in the forward wireless charging mode and receives the charging current that is output by the wireless charging cradle for charging, a manual setting needs to be performed to switch the electronic device A from the forward wireless charging mode to the reverse wireless charging mode, so that the electronic device A can output the wireless charging current to the electronic device B. Similarly, when the electronic device A is in the reverse wireless charging mode and outputs the charging current to charge the electronic device B, a manual setting needs to be performed to switch the electronic device A from the reverse wireless charging mode to the forward wireless charging mode, so that the wireless charging cradle can wirelessly charge the electronic device A. When the electronic device A is in the reverse wireless charging mode, if the electronic device A is not switched from the reverse wireless charging mode to the forward wireless charging mode through manual setting, when the electronic device A is placed on the wireless charging cradle, the electronic device A may still be in the reverse wireless charging mode. Consequently, the electronic device A cannot receive the charging current that is output by the wireless charging cradle and cannot be charged, and it may be considered by mistake that the electronic device A is faulty, thereby affecting wireless charging experience of the user.

    [0006] US 2017/0133889 A1 discloses determining a wireless power reception mode in operation 1508 if an external load change is detected. If the external load change is not detected in operation 1504, the controller may determine in operation 1516 whether the load change is made by a foreign object, if it is determined that the power induced in the coil is not caused by a foreign object, the controller may determine in-band communication for wireless power transmission in operation 1520. As a result of determining the in-band communication, the controller determines a wireless power transmission mode of the induction scheme in operation 1522.

    SUMMARY



    [0007] Some embodiments of this application provide a wireless charging method and an electronic device, so that a wireless charging mode of an electronic device can be automatically switched, to improve wireless charging reliability, and improve wireless charging experience of a user.

    [0008] The present invention is defined by the independent claims. Additional features of the invention are presented in the dependent claims. In the following, parts of the description and drawing referring to embodiments, which are not covered by the claims are not presented as embodiments of the invention, but as examples useful for understanding the invention.

    [0009] To achieve the foregoing objective, this application provides the following technical solutions:

    [0010] According to a first aspect, a wireless charging method is provided according to independent claim 1.

    [0011] According to the wireless charging method provided in this embodiment of this application, even if the electronic device is in the reverse wireless charging mode, the electronic device may receive, at the gap moment between the moments at which the electronic device transmits the first detecting signal, the second detecting signal transmitted by the wireless charging device, and when the second detecting signal received by the electronic device meets the preset condition, the electronic device can automatically switch from the reverse wireless charging mode to the forward wireless charging mode, so that when the electronic device is in the reverse wireless charging mode, wireless charging of the electronic device is automatically implemented without a manual operation, to improve wireless charging reliability and user experience.

    [0012] In actual application, for cost consideration, the electronic device is usually provided with only one set of charging apparatuses, for example, a charging circuit including a charging coil. To be specific, at a same moment, the charging apparatus can work only in the forward wireless charging mode (also referred to as a wireless charging input mode or a receive mode. To be specific, the charging apparatus charges the electronic device) or the reverse wireless charging mode (also referred to as a wireless charging output mode or a transmit mode. To be specific, the electronic device serves as a power supply party to charge another electronic device).

    [0013] According to the invention, a transmit frequency of the first detecting signal is a first transmit frequency, and a transmit frequency of the second detecting signal is a second transmit frequency. The first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency. In this way, there is definitely a case in which the charging apparatus of the electronic device is idle (does not transmit the first detecting signal) when the wireless charging device transmits the second detecting signal. Therefore, the electronic device may receive, at the gap moment between the moments at which the electronic device transmits the first detecting signal, the second detecting signal transmitted by the wireless charging device.

    [0014] In a possible design method, the preset condition may include at least one of the following: a voltage of the second detecting signal received by the electronic device is greater than a first voltage threshold; a current of the second detecting signal received by the electronic device is greater than a first current threshold; or a power of the second detecting signal received by the electronic device is greater than a first power threshold.

    [0015] It should be noted that the first voltage threshold, the first current threshold, and the first power threshold may be preset based on an actual requirement for wireless charging, for example, a battery capacity or a charging power. Details are not described in this application.

    [0016] To improve accuracy of a result of determining the preset condition and avoid misdetermining, a smallest quantity of times that the preset condition is met in a preset time may be further limited. Therefore, in another possible design method, the preset condition may alternatively include at least one of the following: a quantity of times that a voltage of the second detecting signal received by the electronic device in the preset time is greater than a first voltage threshold is greater than a first time quantity threshold; a quantity of times that a current of the second detecting signal received by the electronic device in the preset time is greater than a first current threshold is greater than a second time quantity threshold; or a quantity of times that a power of the second detecting signal received by the electronic device in the preset time is greater than a first power threshold is greater than a third time quantity threshold.

    [0017] It should be noted that the preset time, the first time quantity threshold, the second time quantity threshold, and the third time quantity threshold may be preset based on an actual requirement for wireless charging, for example, a battery capacity or a charging power. Details are not described in this application.

    [0018] In a possible design method, if the second detecting signal received by the electronic device meets the preset condition, the wireless charging method may further include: transmitting, by the electronic device, a response signal to the wireless charging device; and correspondingly, receiving, by the wireless charging device, the response signal transmitted by the electronic device. The response signal carries indication information, and the indication information is used to indicate that the second detecting signal received by the electronic device meets the preset condition.

    [0019] Optionally, after the wireless charging device receives the response signal transmitted by the electronic device, the wireless charging device may start to charge the electronic device. For example, the wireless charging method may further include: transmitting, by the wireless charging device, a charging signal to the electronic device; and receiving, by the electronic device, the charging signal transmitted by the wireless charging device.

    [0020] Optionally, a transmit power of the charging signal is greater than a transmit power of the second detecting signal; and/or a transmit frequency of the charging signal is greater than the second transmit frequency.

    [0021] According to a second aspect, an electronic device is Provided according to independent claim 7.

    [0022] According to the invention, a transmit frequency of the first detecting signal is a first transmit frequency, and a transmit frequency of the second detecting signal is a second transmit frequency. The first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency.

    [0023] In a possible design method, the preset condition includes at least one of the following: a voltage of the second detecting signal received by the electronic device is greater than a first voltage threshold; a current of the second detecting signal received by the electronic device is greater than a first current threshold; or a power of the second detecting signal received by the electronic device is greater than a first power threshold.

    [0024] In another possible design method, the preset condition includes at least one of the following: a quantity of times that a voltage of the second detecting signal received by the electronic device in a preset time is greater than a first voltage threshold is greater than a first time quantity threshold; a quantity of times that a current of the second detecting signal received by the electronic device in a preset time is greater than a first current threshold is greater than a second time quantity threshold; or a quantity of times that a power of the second detecting signal received by the electronic device in a preset time is greater than a first power threshold is greater than a third time quantity threshold.

    [0025] In a possible design method, the transmitting module is further configured to transmit a response signal to the wireless charging device. The response signal carries indication information, and the indication information is used to indicate that the second detecting signal received by the electronic device meets the preset condition.

    [0026] Optionally, the receiving module is further configured to: after the transmitting module transmits the response signal to the wireless charging device, receive a charging signal transmitted by the wireless charging device. Optionally, a transmit power of the charging signal is greater than a transmit power of the second detecting signal; and/or a transmit frequency of the charging signal is greater than the second transmit frequency.

    [0027] According to a third aspect, not claimed in the present disclosure, a chip is provided, and includes a processor and a communications interface. The processor is configured to: read and run a computer program stored in a memory, to implement the wireless charging method according to any one of the first aspect and the implementations of the first aspect.

    [0028] According to a further aspect, a computer readable storage medium is provided according to claim 12.

    [0029] In this application, names of units and modules in the electronic device do not constitute a limitation on the device.

    BRIEF DESCRIPTION OF DRAWINGS



    [0030] 

    FIG. 1A is a schematic structural diagram 1 of a wireless charging system according to an embodiment of this application;

    FIG. 1B is a schematic structural diagram 2 of a wireless charging system according to an embodiment of this application;

    FIG. 2A is a schematic diagram of a hardware structure of an electronic device according to an embodiment of this application;

    FIG. 2B is a schematic diagram of a software structure of an electronic device according to an embodiment of this application;

    FIG. 3 is a schematic flowchart of a wireless charging method according to an embodiment of this application;

    FIG. 4 is a schematic diagram of a time sequence relationship between a second detecting signal transmitted by a wireless charging device and a first detecting signal transmitted by an electronic device according to an embodiment of this application;

    FIG. 5 is a schematic structural diagram of a wireless charging circuit according to an embodiment of this application;

    FIG. 6 is a schematic structural diagram 1 of an electronic device according to an embodiment of this application; and

    FIG. 7 is a schematic structural diagram 2 of an electronic device according to an embodiment of this application.


    DESCRIPTION OF EMBODIMENTS



    [0031] The following describes, in detail with reference to the accompanying drawings, a wireless charging method and an electronic device that are provided in some embodiments of this application.

    [0032] The wireless charging method provided in the embodiments of this application may be applied to a wireless charging system shown in FIG. 1A.

    [0033] As shown in FIG. 1A, the wireless charging system may include a first electronic device 101 and a wireless charging device 102. The wireless charging device 102 is mainly configured to wirelessly charge the first electronic device 101.

    [0034] For example, when the wireless charging device 102 such as a wireless charging base detects that the to-be-charged first electronic device 101 is placed on a charging panel of the wireless charging device 102, the wireless charging device 102 transmits a charging signal to the first electronic device 101, to wirelessly charge the first electronic device 101.

    [0035] The wireless charging device 102 may detect the first electronic device 101 by transmitting a detecting signal and receiving a response signal for the detecting signal. For example, the wireless charging device 102 transmits the detecting signal. When the wireless charging device 102 receives the response signal sent by the first electronic device 101 in response to the detecting signal, the wireless charging device 102 may determine that the first electronic device 101 is detected. Then, the wireless charging device 102 may transmit the charging signal to wirelessly charge the first electronic device 101.

    [0036] The detecting signal is a wireless signal that is periodically sent by a transmitting coil of the wireless charging base at a specific time interval or is periodically sent according to a specific rule and that is used to detect whether an electronic device that needs to be charged exists nearby.

    [0037] Correspondingly, the response signal is a signal sent by the first electronic device 101 to the wireless charging device 102 after the first electronic device 101 receives the detecting signal. For example, when a strength such as a current, a voltage, or a power of the detecting signal received by the first electronic device 101 is greater than a preset strength threshold, it is considered that the first electronic device 101 and the wireless charging device 102 meet a wireless charging condition. For example, the first electronic device 101 and the wireless charging device 102 are in an "alignment" state. "Alignment" means that a distance between a receiving coil of the first electronic device 101 and a transmitting coil of the wireless charging device 102 is less than a preset distance. Correspondingly, "deviation" means that the distance between the receiving coil of the first electronic device 101 and the transmitting coil of the wireless charging device 102 is greater than the preset distance.

    [0038] In the wireless charging system shown in FIG. 1A, the wireless charging device 102 is a power supply party and works in a reverse wireless charging mode (also referred to as a wireless charging transmit mode or a wireless charging output mode). Correspondingly, the first electronic device 101 is a power receiving party and works in a forward wireless charging mode (also referred to as a wireless charging receive mode or a wireless charging input mode).

    [0039] In actual application, the first electronic device 101 may alternatively serve as a power supply party to wirelessly charge another electronic device.

    [0040] FIG. 1B is another schematic diagram of a scenario of a wireless charging system to which a first electronic device 101 is applicable according to an embodiment of this application. As shown in FIG. 1B, the first electronic device 101 serves as a power supply party to wirelessly charge a second electronic device 103 such as a smartwatch.

    [0041] In the wireless charging system shown in FIG. 1B, the first electronic device 101 is configured to transmit a detecting signal; the second electronic device 103 is configured to: receive the detecting signal, and send a response signal for the detecting signal; the first electronic device 101 receives the response signal sent by the second electronic device 103 in response to the detecting signal; the first electronic device 101 transmits a charging signal to the second electronic device 103; and the second electronic device 103 receives the charging signal transmitted by the first electronic device 101.

    [0042] For example, the first electronic device 101 may be an electronic device that supports a wireless charging function and a wireless discharging function such as a tablet computer (Pad), a notebook computer, a smartphone, a virtual reality (virtual reality, VR) device, an augmented reality (augmented reality, AR) device, a vehicle-mounted device, or an intelligent wearable device.

    [0043] It should be noted that the first electronic device 101 works in a forward wireless charging mode in the wireless charging scenario shown in FIG. 1A, and works in a reverse wireless charging mode in the wireless charging scenario shown in FIG. 1B. When the first electronic device 101 switches between the wireless charging scenario shown in FIG. 1A and the wireless charging scenario shown in FIG. 1B, a wireless charging mode of the first electronic device 101 usually needs to be manually switched, and operations are relatively cumbersome. If the first electronic device 101 in the reverse wireless charging mode is placed on the charging panel of the wireless charging device 102, the first electronic device 101 is still in the reverse wireless charging mode, and the first electronic device 101 does not receive the detecting signal transmitted by the wireless charging device 102. Consequently, a normal wireless charging connection cannot be established, and the first electronic device 101 cannot be wirelessly charged.

    [0044] FIG. 2A is a schematic diagram of a hardware structure of an electronic device 101.

    [0045] The electronic device 101 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communications module 250, a wireless communications module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headset jack 270D, a sensor module 280, a key 290, a motor 291, an indicator 292, a camera 293, a display 294, a subscriber identification module (subscriber identification module, SIM) card interface 295, and the like. The sensor module 280 may include a pressure sensor 280A, a gyro sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a range sensor 280F, an optical proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, and the like.

    [0046] It may be understood that a structure illustrated in this embodiment of this application does not constitute a specific limitation on the electronic device 101. In some other embodiments of this application, the electronic device 101 may include more or fewer components than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The components in the figure may be implemented by using hardware, software, or a combination of software and hardware.

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

    [0048] The controller may generate an operation control signal based on an instruction operation code and a time sequence signal, to complete control of instruction reading and instruction execution.

    [0049] The memory may be further disposed in the processor 210, and is configured to store an instruction and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store an instruction or data that is just used or cyclically used by the processor 210. If the processor 210 needs to use the instruction or the data again, the processor 210 may directly invoke the instruction or the data from the memory, to avoid repeated access and reduce a waiting time of the processor 210. Therefore, system efficiency is improved.

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

    [0051] The I2C interface is a two-way synchronization serial bus, and includes a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 210 may include a plurality of groups of I2C buses. The processor 210 may be separately coupled to the touch sensor 280K, a charger, a flash, the camera 293, and the like by using different I2C bus interfaces. For example, the processor 210 may be coupled to the touch sensor 280K by using the I2C interface, so that the processor 210 communicates with the touch sensor 280K by using the I2C bus interface, to implement a touch function of the electronic device 101.

    [0052] The I2S interface may be used for audio communication. In some embodiments, the processor 210 may include a plurality of groups of I2S buses. The processor 210 may be coupled to the audio module 270 by using the I2S bus, to implement communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 may transfer an audio signal to the wireless communications module 260 by using the I2S interface, to implement a function of answering a call by using a Bluetooth headset.

    [0053] The PCM interface may also be used for audio communication, and samples, quantizes, and codes an analog signal. In some embodiments, the audio module 270 may be coupled to the wireless communications module 260 through the PCM bus interface. In some embodiments, the audio module 270 may alternatively transfer an audio signal to the wireless communications module 260 by using the PCM interface, to implement a function of answering a call by using a Bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.

    [0054] The UART interface is a universal serial data bus, and is used for asynchronous communication. The bus may be a two-way communications bus. The bus performs a conversion between serial communication and parallel communication on to-be-transmitted data. In some embodiments, the UART interface is usually configured to connect the processor 210 and the wireless communications module 260. For example, the processor 210 communicates with a Bluetooth module in the wireless communications module 260 through the UART interface, to implement a Bluetooth function. In some embodiments, the audio module 270 may transfer an audio signal to the wireless communications module 260 through the UART interface, to implement a function of playing music by using a Bluetooth headset.

    [0055] The MIPI may be configured to connect the processor 210 and a peripheral component such as the display 294 or the camera 293. The MIPI includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and the like. In some embodiments, the processor 210 communicates with the camera 293 through the CSI, to implement a photographing function of the electronic device 101. The processor 210 communicates with the display 294 through the DSI, to implement a display function of the electronic device 101.

    [0056] The GPIO interface may be configured by using software. The GPIO interface may be configured as a control signal, or may be configured as a data signal. In some embodiments, the GPIO interface may be configured to connect the processor 210 and the camera 293, the display 294, the wireless communications module 260, the audio module 270, the sensor module 280, or the like. The GPIO interface may alternatively be configured as the I2C interface, the I2S interface, the UART interface, the MIPI, or the like.

    [0057] The USB interface 230 is an interface that conforms to a USB standard specification, and may be specifically a mini USB interface, a micro USB interface, a USB Type-C interface, or the like. The USB interface 230 may be configured to be connected to the charger to charge the electronic device 101, or may be configured to perform data transmission between the electronic device 101 and a peripheral device, or may be configured to be connected to a headset, to play audio by using the headset. The interface may alternatively be configured to be connected to another electronic device such as an AR device.

    [0058] It may be understood that an interface connection relationship between the modules illustrated in this embodiment of this application is merely an example for description, and does not constitute a limitation on a structure of the electronic device 101. In some other embodiments of this application, the electronic device 101 may alternatively use an interface connection manner different from that in the foregoing embodiment, or use a combination of a plurality of interface connection manners.

    [0059] The charging management module 240 is configured to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 240 may receive charging input from the wired charger by using the USB interface 230. In some embodiments of wireless charging, the charging management module 240 may receive wireless charging input by using a wireless charging coil of the electronic device 101.

    [0060] For example, in this embodiment of this application, the charging management module 240 of the electronic device 101 in FIG. 1A may receive wireless charging input by using the wireless charging coil of the electronic device 101, to wirelessly charge the electronic device 101.

    [0061] It may be understood that when charging the battery 242, the charging management module 240 may further supply power to another component such as a processor or a screen of the electronic device 101 by using the power management module 241.

    [0062] The power management module 241 is configured to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, an external memory, the display 294, the camera 293, the wireless communications module 260, and the like. The power management module 241 may be further configured to monitor parameters such as a battery capacity, a battery cycle count, and a battery health status (an electric leakage or impedance). In some other embodiments, the power management module 241 may alternatively be disposed in the processor 210. In some other embodiments, the power management module 241 and the charging management module 240 may alternatively be disposed in a same device.

    [0063] A wireless communication function of the electronic device 101 may be implemented by using the antenna 1, the antenna 2, the mobile communications module 250, the wireless communications module 260, the modem processor, the baseband processor, and the like.

    [0064] The antenna 1 and the antenna 2 are configured to: transmit and receive an electromagnetic wave signal. Each antenna in the electronic device 101 may be configured to cover a single communications frequency band or a plurality of communications frequency bands. Different antennas may be further multiplexed, to improve antenna utilization. For example, the antenna 1 may be multiplexed as a diversity antenna in a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.

    [0065] The mobile communications module 250 may provide a wireless communication solution that includes 2G/3G/4G/5G or the like and that is applied to the electronic device 101. The mobile communications module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), and the like. The mobile communications module 250 may receive an electromagnetic wave by using the antenna 1, perform processing such as filtering or amplification on the received electromagnetic wave, and transfer the electromagnetic wave to the modem processor for demodulation. The mobile communications module 250 may further amplify a signal modulated by the modem processor, and convert the signal into an electromagnetic wave for radiation by using the antenna 1. In some embodiments, at least some function modules in the mobile communications module 250 may be disposed in the processor 210. In some embodiments, at least some function modules in the mobile communications module 250 may be disposed in a same device as at least some modules in the processor 210.

    [0066] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a to-be-sent low frequency baseband signal into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low frequency baseband signal. Then, the demodulator transfers the low frequency baseband signal obtained through demodulation to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and is then transferred to the application processor. The application processor outputs a sound signal by using an audio device (not limited to the speaker 270A, the receiver 270B, or the like), or displays an image or a video by using the display 294. In some embodiments, the modem processor may be an independent device. In some other embodiments, the modem processor may be independent of the processor 210, and is disposed in a same device as the mobile communications module 250 or another function module.

    [0067] The wireless communications module 260 may provide a wireless communication solution that includes a wireless local area network (wireless local area networks, WLAN) (for example, a wireless fidelity (wireless fidelity, Wi-Fi) network), Bluetooth (Bluetooth, BT), a global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), a near field communication (near field communication, NFC) technology, an infrared (infrared, IR) technology, or the like and that is applied to the electronic device 101. The wireless communications module 260 may be one or more devices integrating at least one communications processing module. The wireless communications module 260 receives an electromagnetic wave by using the antenna 2, performs frequency modulation and filtering processing on an electromagnetic wave signal, and sends a processed signal to the processor 210. The wireless communications module 260 may further receive a to-be-sent signal from the processor 210, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation by using the antenna 2.

    [0068] In some embodiments, the antenna 1 and the mobile communications module 250 in the electronic device 101 are coupled, and the antenna 2 and the wireless communications module 260 in the electronic device 101 are coupled, so that the electronic device 101 can communicate with a network and another device by using a wireless communications technology. The wireless communications technology may include a global system for mobile communications (global system for mobile communications, GSM), a general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, a GNSS, a WLAN, NFC, FM, an IR technology, and/or the like. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a BeiDou navigation satellite system (BeiDou navigation satellite system, BDS), a quasi-zenith satellite system (quasi-zenith satellite system, QZSS)), and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).

    [0069] The electronic device 101 implements a display function by using the GPU, the display 294, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 294 and the application processor. The GPU is configured to perform mathematical and geometric calculation, and is configured to render an image. The processor 210 may include one or more GPUs that execute a program instruction to generate or change display information.

    [0070] The display 294 is configured to display an image, a video, and the like. The display 294 includes a display panel. The display panel may use a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode, AMOLED), a flexible light-emitting diode (flex light-emitting diode, FLED), a Mini-LED, a Micro-LED, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 101 may include one or N displays 294, where N is a positive integer greater than 1.

    [0071] The electronic device 101 may implement a photographing function by using the ISP, the camera 293, the video codec, the GPU, the display 294, the application processor, and the like.

    [0072] The ISP is configured to process data fed back by the camera 293. For example, during photographing, a shutter is opened, a ray of light is transmitted to a light-sensitive element of the camera through a lens, an optical signal is converted into an electrical signal, the light-sensitive element of the camera transmits the electrical signal to the ISP for processing, and the electrical signal is converted into an image that can be seen. The ISP may further optimize an algorithm for noise, brightness, and complexion of an image. The ISP may further optimize parameters such as exposure and a color temperature of a photographing scenario. In some embodiments, the ISP may be disposed in the camera 293.

    [0073] The camera 293 is configured to capture a static image or a video. An optical image of an object is generated by using a lens, and is projected to a light-sensitive element. The light-sensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) photoelectric transistor. The light-sensitive element converts an optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard image signal in a format such as RGB or YUV. In some embodiments, the electronic device 101 may include one or N cameras 293, where N is a positive integer greater than 1.

    [0074] The digital signal processor is configured to process a digital signal. In addition to a digital image signal, the digital signal processor may further process another digital signal. For example, when the electronic device 101 selects a frequency, the digital signal processor is configured to perform Fourier transform on frequency energy, or the like.

    [0075] The video codec is configured to compress or decompress a digital video. The electronic device 101 may support one or more video codecs. In this way, the electronic device 101 can play or record videos in a plurality of coding formats, for example, moving picture experts group (moving picture experts group, MPEG)-1, MPEG-2, MPEG-3, and MPEG-4.

    [0076] The NPU is a neural-network (neural-network, NN) computing processor that processes input information rapidly by referring to a structure of a biological neural network, for example, by referring to a transfer mode between human brain neurons, and can further perform self-learning continuously. The NPU can implement applications such as intelligent cognition of the electronic device 101, such as image recognition, facial recognition, speech recognition, and text understanding.

    [0077] The external memory interface 220 may be configured to be connected to an external storage card such as a micro SD card, to extend a storage capability of the electronic device 101. The external storage card communicates with the processor 210 by using the external memory interface 220, to implement a data storage function, for example, store files such as music and a video in the external storage card.

    [0078] The internal memory 221 may be configured to store computer executable program code, and the computer executable program code includes an instruction. The processor 210 performs various function applications of the electronic device 101 and data processing by running the instruction stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. The program storage region may store an operating system, an application program required by at least one function (for example, a sound playing function or an image playing function), and the like. The data storage area may store data (for example, audio data or an address book) created during use of the electronic device 101, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, for example, at least one magnetic disk storage device, a flash memory device, or a universal flash storage (universal flash storage, UFS).

    [0079] The electronic device 101 may implement an audio function such as music playing or recording by using the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headset jack 270D, the application processor, and the like.

    [0080] The audio module 270 is configured to convert digital audio information into an analog audio signal for output, and is also configured to convert analog audio input into a digital audio signal. The audio module 270 may be further configured to: code and decode an audio signal. In some embodiments, the audio module 270 may be disposed in the processor 210, or some function modules in the audio module 270 are disposed in the processor 210.

    [0081] The speaker 270A, also referred to as a "speaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 101 may listen to music or answer a hands-free call by using the speaker 270A.

    [0082] The receiver 270B, also referred to as a "receiver", is configured to convert an audio electrical signal into a sound signal. When the electronic device 101 answers a call or receives voice information, the receiver 270B may be placed close to a human ear to listen to a voice.

    [0083] The microphone 270C, also referred to as a "microphone" or a "microphone", is configured to convert a sound signal into an electrical signal. When making a call or sending voice information, a user may make a sound by moving a human mouth close to the microphone 270C to input a sound signal to the microphone 270C. At least one microphone 270C may be disposed in the electronic device 101. In some other embodiments, two microphones 270C may be disposed in the electronic device 101, to collect a sound signal and further implement a noise reduction function. In some other embodiments, three, four, or more microphones 270C may alternatively be disposed in the electronic device 101, to collect a sound signal, reduce noise, identify a sound source, implement a directional recording function, and the like.

    [0084] The headset jack 270D is configured to be connected to a wired headset. The headset jack 270D may be the USB interface 230, or may be a 3.5 mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface or a cellular telecommunications industry association of the USA (cellular telecommunications industry association of the USA, CTIA) standard interface.

    [0085] The pressure sensor 280A is configured to sense a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A may be disposed on the display 294. There are many types of pressure sensors 280A such as a resistive pressure sensor, an inductive pressure sensor, and a capacitive pressure sensor. The capacitive pressure sensor may be a parallel plate including at least two conductive materials. Capacitance between electrodes changes when a force is performed on the pressure sensor 280A. The electronic device 101 determines an intensity of pressure based on the change in the capacitance. When a touch operation is performed on the display 294, the electronic device 101 detects an intensity of the touch operation based on the pressure sensor 280A. The electronic device 101 may also calculate a touch position based on a detection signal of the pressure sensor 280A. In some embodiments, touch operations that are applied to a same touch position but have different touch operation intensity may correspond to different operation instructions. For example, when a touch operation whose touch operation intensity is less than a first pressure threshold is performed on an SMS message application icon, an instruction for viewing an SMS message is executed. When a touch operation whose touch operation intensity is greater than or equal to a first pressure threshold is performed on an SMS message application icon, an instruction for creating an SMS message is executed.

    [0086] The gyro sensor 280B may be configured to determine a motion posture of the electronic device 101. In some embodiments, an angular velocity of the electronic device 101 around three axes (namely, x, y, and z axes) may be determined by using the gyro sensor 280B. The gyro sensor 280B may be used for image stabilization during photographing. For example, when the shutter is opened, the gyro sensor 280B detects an angle at which the electronic device 101 jitters, obtains, through calculation based on the angle, a distance for which a lens module needs to compensate, and allows the lens to cancel the jitter of the electronic device 101 through reverse motion, to implement image stabilization. The gyro sensor 280B may also be used in navigation and somatic game scenarios.

    [0087] The barometric pressure sensor 280C is configured to measure atmospheric pressure. In some embodiments, the electronic device 101 calculates an altitude by using a value of the atmospheric pressure measured by the barometric pressure sensor 280C, to assist positioning and navigation.

    [0088] The magnetic sensor 280D includes a Hall sensor. The electronic device 101 may detect opening and closing of a flip leather case by using the magnetic sensor 280D. In some embodiments, when the electronic device 101 is a clamshell phone, the electronic device 101 may detect opening and closing of a flip cover based on the magnetic sensor 280D. Further, a feature such as automatic unlocking of the flip cover is set based on a detected opening or closing state of the leather case or a detected opening or closing state of the flip cover.

    [0089] The acceleration sensor 280E may detect magnitude of accelerations of the electronic device 101 in all directions (usually on three axes), may detect magnitude and a direction of gravity when the electronic device 101 is static, and may be further configured to recognize a posture of the electronic device, and applied to an application such as switching between landscape mode and portrait mode or a pedometer.

    [0090] The range sensor 280F is configured to measure a distance. The electronic device 101 may measure the distance through infrared or a laser. In some embodiments, in a photographing scenario, the electronic device 101 may perform ranging by using the range sensor 280F to implement fast focusing.

    [0091] For example, the optical proximity sensor 280G may include a light-emitting diode (LED) and an optical detector, for example, a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 101 emits infrared light by using the light-emitting diode. The electronic device 101 detects infrared reflected light from a nearby object by using the photodiode. When detecting sufficient reflected light, the electronic device 101 may determine that there is an object near the electronic device 101. When detecting insufficient reflected light, the electronic device 101 may determine that there is no object near the electronic device 101. The electronic device 101 may detect, by using the optical proximity sensor 280G, that the user holds the electronic device 101 close to an ear to make a call, to automatically turn off a screen for power saving. The optical proximity sensor 280G may also be used in a leather case mode or a pocket mode to automatically unlock or lock the screen.

    [0092] The ambient light sensor 280L is configured to sense ambient light luminance. The electronic device 101 may adaptively adjust luminance of the display 294 based on the sensed ambient light luminance. The ambient light sensor 280L may also be configured to automatically adjust a white balance during photographing. The ambient light sensor 280L may also cooperate with the optical proximity sensor 280G to detect whether the electronic device 101 is in a pocket to prevent an accidental touch.

    [0093] The fingerprint sensor 280H is configured to collect a fingerprint. The electronic device 101 may use a feature of the collected fingerprint to implement fingerprint-based unlocking, application lock accessing, fingerprint-based photographing, fingerprint-based call answering, and the like.

    [0094] The temperature sensor 280J is configured to detect a temperature. In some embodiments, the electronic device 101 executes a temperature processing policy by using the temperature detected by the temperature sensor 280J. For example, when the temperature reported by the temperature sensor 280J exceeds a threshold, the electronic device 101 lowers performance of a processor located near the temperature sensor 280J, to reduce power consumption to implement thermal protection. In some other embodiments, when the temperature is less than another threshold, the electronic device 101 heats the battery 242, to avoid a case in which the electronic device 101 is shut down abnormally due to a low temperature. In some other embodiments, when the temperature is less than still another threshold, the electronic device 101 boosts an output voltage of the battery 242, to avoid an abnormal shutdown caused by a low temperature.

    [0095] The touch sensor 280K is also referred to as a "touch panel". The touch sensor 280K may be disposed on the display 294. The touch sensor 280K and the display 294 form a touchscreen, which is also referred to as a "touchscreen". The touch sensor 280K is configured to detect a touch operation performed on or near the touch sensor 280K. The touch sensor may transfer the detected touch operation to the application processor to determine a type of a touch event. Visual output related to the touch operation may be provided by using the display 294. In some other embodiments, the touch sensor 280K may also be disposed on a surface of the electronic device 101 at a location different from that of the display 294.

    [0096] The bone conduction sensor 280M may obtain a vibration signal. In some embodiments, the bone conduction sensor 280M may obtain a vibration signal of a vibration bone of a human vocal part. The bone conduction sensor 280M may also contact a body pulse to receive a blood pressure beating signal. In some embodiments, the bone conduction sensor 280M may also be disposed in the headset, to combine into a bone conduction headset. The audio module 270 may obtain a voice signal through parsing based on the vibration signal that is of the vibration bone of the vocal part and that is obtained by the bone conduction sensor 280M, to implement a voice function. The application processor may parse heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 280M, to implement a heart rate detection function.

    [0097] The key 290 includes a power key, a volume key, and the like. The key 290 may be a mechanical key, or may be a touch key. The electronic device 101 may receive key input, generate key signal input related to a user setting and function control of the electronic device 101.

    [0098] The motor 291 may generate a vibration prompt. The motor 291 may be used for an incoming call vibration prompt, or may be used for a touch vibration feedback. For example, touch operations performed on different applications (for example, photographing and audio playing) may correspond to different vibration feedback effects. The motor 291 may also correspond to different vibration feedback effects for touch operations performed on different areas of the display 294. Different application scenarios (for example, a time reminder, information receiving, an alarm clock, and a game) may also correspond to different vibration feedback effects. Customization of the touch vibration feedback effect may be further supported.

    [0099] The indicator 292 may be an indicator light that may be configured to indicate a charging status and a power change, or may be configured to indicate a message, a missed call, a notification, and the like.

    [0100] The SIM card interface 295 is configured to be connected to a SIM card. The SIM card may be inserted into the SIM card interface 295 or plugged from the SIM card interface 295, to come into contact with or be separated from the electronic device 101. The electronic device 101 may support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a nano-SIM card, a micro-SIM card, a SIM card, and the like. A plurality of cards may be simultaneously inserted into a same SIM card interface 295. The plurality of cards may be of a same type or different types. The SIM card interface 295 may also be compatible with different types of SIM cards. The SIM card interface 295 may also be compatible with the external storage card. The electronic device 101 interacts with a network by using the SIM card, to implement a call function, a data communication function, and the like. In some embodiments, the electronic device 101 uses an eSIM, namely, an embedded SIM card. The eSIM card may be embedded in the electronic device 101 and cannot be separated from the electronic device 101.

    [0101] A software system of the electronic device 101 may use a layered architecture, an event-driven architecture, a microkernel architecture, a micro service architecture, or a cloud architecture. In this embodiment of this application, an Android system with a layered architecture is used as an example to describe a software structure of the electronic device 101.

    [0102] FIG. 2B is a schematic diagram of a software structure of an electronic device 101 according to an embodiment of this application.

    [0103] In a layered architecture, software is divided into several layers, and each layer has a clear role and task. The layers communicate with each other by using a software interface. In some embodiments, the Android system is divided into four layers, namely, an application program layer, an application program framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer from top to bottom.

    [0104] The application program layer may include a series of application program packages.

    [0105] As shown in FIG. 2B, the application program package may include application programs such as Camera, Gallery, Calendar, Phone, Map, Navigation, WLAN, Bluetooth, Music, Videos, and Messaging.

    [0106] The application program framework layer provides an application programming interface (application programming interface, API) and a programming framework for an application program at the application program layer. The application program framework layer includes some predefined functions.

    [0107] As shown in FIG. 2B, the application program framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

    [0108] The window manager is configured to manage a window program. The window manager may obtain a size of a display, determine whether there is a status bar, lock a screen, take a screenshot, and the like.

    [0109] The content provider is configured to: store and obtain data and make the data accessible to the application program. The data may include a video, an image, an audio, calls that are made and answered, a browsing history and a bookmark, an address book, and the like.

    [0110] The view system includes visual controls such as a control for displaying a text and a control for display a picture. The view system may be configured to construct an application program. The display interface may include one or more views. For example, a display interface including an SMS message notification icon may include a view for displaying a text and a view for displaying a picture.

    [0111] The phone manager is configured to provide a communication function of the electronic device 101, for example, management of a call status (including answering or declining).

    [0112] The resource manager provides various resources such as a localized character string, an icon, a picture, a layout file, and a video file for an application program.

    [0113] The notification manager enables an application program to display notification information in a status bar, and may be configured to convey a notification-type message. The notification-type message may automatically disappear after a short pause without user interaction. For example, the notification manager is configured to provide notifications of download completing, a message prompt, and the like. The notification manager may be a notification that appears on a top status bar of the system in a form of a graph or a scroll bar text, for example, a notification of an application program running on the background, or may be a notification that appears on the screen in a form of a dialog window. For example, text information is prompted with in the status bar, an announcement is produced, the electronic device vibrates, or the indicator light blinks.

    [0114] The Android runtime includes a kernel library and a virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

    [0115] The kernel library includes two parts: a function that needs to be called by a java language and a kernel library of Android.

    [0116] The application program layer and the application program framework layer run on the virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is configured to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

    [0117] The system library may include a plurality of function modules, for example, a surface manager (surface manager), a media library (Media Libraries), a three-dimensional graphics processing library (for example, OpenGL ES), and a 2D graphics engine (for example, SGL).

    [0118] The surface manager is configured to: manage a display subsystem, and provide fusion of 2D and 3D layers for a plurality of application programs.

    [0119] The media library supports playback and recording in a plurality of commonly used audio and video formats, static image files, and the like. The media library may support a plurality of audio and video coding formats, for example, MPEG-4, H.264, MP3, AAC, AMR, JPG, and PNG.

    [0120] The three-dimensional graphics processing library is configured to implement three-dimensional graphics drawing, image rendering, composition, layer processing, and the like.

    [0121] The 2D graphics engine is a drawing engine for 2D drawing.

    [0122] The kernel layer is a layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

    [0123] The following describes a working process of software and hardware of the electronic device 101 by using an example with reference to a photographing capture scenario.

    [0124] When the touch sensor 280K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including information such as touch coordinates or a time stamp of the touch operation). The raw input event is stored at the kernel layer. The application program framework layer obtains the raw input event from the kernel layer, and identifies a control corresponding to the input event. For example, the touch operation is a touch tap operation, and a control corresponding to the tap operation is a control of a camera application icon. A camera application invokes an interface at the application program framework layer to enable the camera application, then enables a camera driver by invoking the kernel layer, and captures a static image or a video by using the camera 293.

    [0125] The following describes, with reference to the accompanying drawings, a wireless charging method and an electronic device that are provided in some embodiments of this application.

    [0126] FIG. 3 is a schematic flowchart of a wireless charging method according to an embodiment of this application. As shown in FIG. 3, the wireless charging method includes steps S301 to S303.

    [0127] S301: An electronic device transmits a first detecting signal when the electronic device is in a reverse wireless charging mode.

    [0128] The electronic device is the first electronic device 101 shown in FIG. 1A and FIG. 1B.

    [0129] In actual application, the electronic device includes a wireless charging circuit with a wireless charging coil. As shown in FIG. 2A, the wireless charging circuit may include a charging management module [240], a power management module [241], and a wireless charger. The wireless charger usually includes a wireless charging coil, to transmit a first detecting signal and receive a response signal for the first detecting signal. That the wireless charging circuit works in a reverse wireless charging mode means that the electronic device is attempting to wirelessly charge another electronic device.

    [0130] The first detecting signal is used by the electronic device in the reverse wireless charging mode, for example, the electronic device 101 in FIG. 1B, to detect whether another electronic device such as the smartwatch in FIG. 1B meets a wireless charging condition. When a strength of the first detecting signal received by the smartwatch is greater than a preset strength threshold, the smartwatch transmits a first response signal for the first detecting signal. After receiving the first response signal, the electronic device stops transmitting the first detecting signal, and transmits a charging signal to the smartwatch, to wirelessly charge the smartwatch.

    [0131] It should be noted that to save power, a transmit power of a detecting signal transmitted by a power supply party is usually less than a transmit power of a charging signal transmitted by the power supply party, and a transmit frequency of the detecting signal transmitted by the power supply party is usually less than a transmit frequency of the charging signal transmitted by the power supply party.

    [0132] It is easily understood that the electronic device wirelessly charges the another electronic device such as the smartwatch only when the electronic device is in the reverse wireless charging mode, for example, the electronic device is manually set to the reverse wireless charging mode.

    [0133] Certainly, the electronic device does not always transmit the first detecting signal, to avoid a power waste. For example, the Qi standard specifies that a wireless charging device sends a detecting signal every 500 milliseconds (millisecond, ms). Duration for sending the detecting signal each time is usually 90 ms.

    [0134] For example, the electronic device may control, by using a processor of the electronic device, a charging apparatus of the electronic device to transmit the first detecting signal.

    [0135] S302: The electronic device receives, at a gap moment between at least two adjacent moments at which the first detecting signal is transmitted, a second detecting signal transmitted by the wireless charging device.

    [0136] A transmit frequency of the first detecting signal is a first transmit frequency, and a transmit frequency of the second detecting signal is a second transmit frequency.

    [0137] The second detecting signal is used by the wireless charging device to detect whether the electronic device such as the electronic device 101 in FIG. 1A meets a wireless charging condition.

    [0138] The first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency. The electronic device receives, at a gap moment between two adjacent moments at which the first detecting signal is transmitted, the second detecting signal transmitted by the wireless charging device.

    [0139] FIG. 4 is a schematic diagram of a time sequence relationship between a second detecting signal transmitted by a wireless charging device and a first detecting signal transmitted by an electronic device according to an embodiment of this application.

    [0140] As shown in FIG. 4, the electronic device sequentially transmits first detecting signals at moments t11 to t15, where a transmit frequency is f1, and a corresponding first transmission cycle is T1. The wireless charging device transmits second detecting signals at t21 to t24, where a transmit frequency is f2, a corresponding first transmission cycle is T2, and T2 is greater than T1, that is, f1 is less than f2. As shown in FIG. 4, at the moments t22 and t23, a charging apparatus of the electronic device transmits no first detecting signal, that is, the charging apparatus of the electronic device is in an idle state, and in this case, the electronic device may receive, by using the charging apparatus of the electronic device, the second detecting signals transmitted by the wireless charging device.

    [0141] Referring to FIG. 4, t12 and t13 are two adjacent moments at which the electronic device transmits the first detecting signal. The electronic device receives, at a gap moment t22 between t12 and t13, the second detecting signal t22 transmitted by the wireless charging device.

    [0142] For example, a circuit or an apparatus used by the electronic device to receive the second detecting signal may be a wireless charging circuit of the electronic device, or may be a circuit, a device, or an apparatus coupled to a wireless charging circuit of the electronic device.

    [0143] For example, as shown in FIG. 5, a wireless charging circuit of the wireless charging device includes a transmitting coil L1 and a capacitor C1, and a wireless charging circuit of the electronic device includes a receiving coil L2 and capacitors C2 and C3. The wireless charging circuit that receives the second detecting signal may be a sampling circuit coupled to the wireless charging circuit of the electronic device, for example, a sampling circuit in FIG. 5.

    [0144] It may be understood that a circuit or an apparatus used by the electronic device to receive the second detecting signal may alternatively be another circuit, device, and apparatus independent of the foregoing wireless charging circuit, for example, an electromagnetic sensor (for example, a Hall sensor) in the electronic device. This is not limited in this embodiment of this application.

    [0145] After receiving the second detecting signal by using the sampling circuit or the electromagnetic sensor, the electronic device determines, by using the processor of the electronic device, whether the received second detecting signal meets a preset condition.

    [0146] For example, the electronic device may determine whether a strength of the second detecting signal received by the electronic device is greater than a preset strength threshold. In a possible design method, the preset condition may include at least one of the following:

    a voltage of the second detecting signal is greater than a first voltage threshold;

    a current of the second detecting signal is greater than a first current threshold; or

    a power of the second detecting signal is greater than a first power threshold.



    [0147] It should be noted that the first voltage threshold, the first current threshold, and the first power threshold may be preset based on an actual requirement for wireless charging.

    [0148] To improve accuracy of a result of determining the preset condition and avoid misdetermining, a smallest quantity of times that the preset condition is met may also be limited. Therefore, in another possible design method, the preset condition may alternatively include at least one of the following:

    a quantity of times that a voltage of the second detecting signal received by the electronic device in a preset time is greater than a first voltage threshold is greater than a first time quantity threshold;

    a quantity of times that a current of the second detecting signal received by the electronic device in a preset time is greater than a first current threshold is greater than a second time quantity threshold; or

    a quantity of times that a power of the second detecting signal received by the electronic device in a preset time is greater than a first power threshold is greater than a third time quantity threshold.



    [0149] It should be noted that the preset time, the first time quantity threshold, the second time quantity threshold, and the third time quantity threshold may be preset based on an actual requirement for wireless charging, for example, a battery capacity or a charging power.

    [0150] S303: If the second detecting signal received by the electronic device meets the preset condition, the electronic device automatically switches from the reverse wireless charging mode to a forward wireless charging mode.

    [0151] That the electronic device automatically switches from the reverse wireless charging mode to the forward wireless charging mode means that the electronic device is ready to receive a charging signal transmitted by the wireless charging device.

    [0152] If the second detecting signal received by the electronic device meets the preset condition, the wireless charging method may further include step 1 and step 2.

    [0153] Step 1: The electronic device transmits a response signal to the wireless charging device.

    [0154] The response signal carries indication information. The indication information may be used to indicate that the second detecting signal received by the electronic device meets the preset condition. The indication information may alternatively be used to indicate that the electronic device is ready to receive the charging signal from the wireless charging device. The indication information may alternatively be used to instruct the wireless charging device to output the charging signal.

    [0155] After the wireless charging device receives the response signal transmitted by the electronic device, the wireless charging device may transmit the charging signal to the electronic device. In other words, the wireless charging method may further include the following step:
    Step 2: The electronic device receives the charging signal transmitted by the wireless charging device.

    [0156] It should be noted that to reduce a waste of excessive electric energy in a process of transmitting the second detecting signal and improve charging efficiency in a charging process, at least one of the following conditions usually needs to be met when the wireless charging device transmits the second detecting signal and the charging signal.

    [0157] Condition 1: A transmit frequency of the second detecting signal is less than a transmit frequency of the charging signal.

    [0158] Condition 2: A transmit power of the second detecting signal is less than a transmit power of the charging signal.

    [0159] Condition 3: The wireless charging device may intermittently transmit the second detecting signal, for example, transmit the second detecting signal every 500 milliseconds for 10 milliseconds. After receiving the response signal transmitted by the electronic device, the wireless charging device may continuously transmit the charging signal until charging of the electronic device is completed.

    [0160] It should be noted that to avoid a case in which electric energy is wasted because the electronic device transmits the first detecting signal, when the electronic device is in the forward wireless charging mode, the electronic device may not transmit the first detecting signal.

    [0161] According to the wireless charging method provided in this embodiment of this application, the electronic device is in the reverse wireless charging mode, and transmits the first detecting signal. The electronic device may receive, at the gap moment between the moments at which the electronic device transmits the first detecting signal, the second detecting signal transmitted by the wireless charging device, and when the electronic device detects that the received second detecting signal meets the preset condition, the electronic device can automatically switch from the reverse wireless charging mode to the forward wireless charging mode, in other words, the electronic device can automatically and adaptively switch from the forward wireless charging mode to the reverse wireless charging mode without a manual operation, to improve wireless charging reliability and user experience.

    [0162] The foregoing describes, in detail with reference to FIG. 3 to FIG. 5, the wireless charging method provided in the embodiments of this application. The following describes in detail the electronic device in the foregoing method embodiments with reference to FIG. 6 and FIG. 7.

    [0163] In some embodiments of this application, the electronic device may be divided into function modules or function units based on the foregoing method examples. For example, the function modules or the function units may be obtained through division based on corresponding functions, or two or more functions may be integrated into one processing module. The foregoing integrated module may be implemented in a form of hardware, or may be implemented in a form of a software function module or function unit. It should be noted that in the embodiments of this application, division into the modules or units is an example and is merely logical function division, and may be other division in an actual implementation.

    [0164] FIG. 6 is a possible schematic structural diagram of the electronic device in the foregoing embodiments. As shown in FIG. 6, an electronic device 600 includes a transmitting module 601, a receiving module 602, and a processing module 603.

    [0165] The transmitting module 601 is configured to transmit a first detecting signal when the electronic device is in a reverse wireless charging mode.

    [0166] The receiving module 602 is configured to receive, at a gap moment between at least two adjacent moments at which the first detecting signal is transmitted, a second detecting signal transmitted by a wireless charging device.

    [0167] The processing module 603 is configured to: if the second detecting signal received by the receiving module 602 meets a preset condition, automatically switch the electronic device from the reverse wireless charging mode to a forward wireless charging mode.

    [0168] In addition, as shown in FIG. 6, the electronic device 600 includes a storage module 604, configured to store a program instruction and data that are of the electronic device 600.

    [0169] A transmit frequency of the first detecting signal is a first transmit frequency, and a transmit frequency of the second detecting signal is a second transmit frequency. The first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency.

    [0170] In a possible design method, the preset condition includes at least one of the following:

    a voltage of the second detecting signal received by the electronic device is greater than a first voltage threshold;

    a current of the second detecting signal received by the electronic device is greater than a first current threshold; or

    a power of the second detecting signal received by the electronic device is greater than a first power threshold.



    [0171] In another possible design method, the preset condition includes at least one of the following:

    a quantity of times that a voltage of the second detecting signal received by the electronic device in a preset time is greater than a first voltage threshold is greater than a first time quantity threshold;

    a quantity of times that a current of the second detecting signal received by the electronic device in a preset time is greater than a first current threshold is greater than a second time quantity threshold; or

    a quantity of times that a power of the second detecting signal received by the electronic device in a preset time is greater than a first power threshold is greater than a third time quantity threshold.



    [0172] In a possible design method, the transmitting module 601 is further configured to transmit a response signal to the wireless charging device.

    [0173] The response signal carries indication information, and the indication information is used to indicate that the second detecting signal received by the electronic device meets the preset condition.

    [0174] Optionally, the receiving module 602 is further configured to: after the transmitting module 601 transmits the response signal to the wireless charging device, receive a charging signal transmitted by the wireless charging device.

    [0175] Optionally, a transmit power of the charging signal is greater than a transmit power of the second detecting signal; and/or a transmit frequency of the charging signal is greater than the second transmit frequency.

    [0176] In this embodiment of this application, the receiving module 602 and the transmitting module 601 each may be a charging circuit including a charging coil or an apparatus in the electronic device.

    [0177] FIG. 7 is another possible schematic structural diagram of the electronic device in the foregoing embodiments. As shown in FIG. 7, an electronic device 700 includes a processor 701 and a communications interface 702. The processor 701 is configured to: control and manage an action of the electronic device, for example, perform the step performed by the processing module 603. In addition, the processor 701 is further configured to control the communications interface 702 to support the electronic device in communicating with another network entity, for example, perform the steps performed by the transmitting module 601 and the receiving module 602. In addition, the electronic device may further include a memory 703 and a bus 704. The memory 703 is configured to store program code and data that are of the electronic device.

    [0178] The processor 701 may be a processor or a controller in the electronic device. The processor or the controller may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this application. The processor or the controller may be a central processing unit, a general purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this application. Alternatively, the processor may be a combination of processors implementing a computing function, for example, a combination of one or more microprocessors, or a combination of a digital signal processor (digital signal processor, DSP) and a microprocessor.

    [0179] The communications interface 702 may be a transceiver, a transceiver circuit, a communications interface, or the like in the electronic device. In this embodiment of this application, the communications interface 702 may be a charging circuit including a charging coil or an apparatus in the electronic device.

    [0180] The memory 703 may be a memory or the like in the electronic device. The memory may include a volatile memory, for example, a random access memory. The memory may alternatively include a nonvolatile memory, for example, a read-only memory, a flash memory, a hard disk, or a solid-state drive. The memory may alternatively include a combination of the foregoing types of memories.

    [0181] The bus 704 may be an extended industry standard structure (extended industry standard architecture, EISA) bus, or the like. The bus 704 may be classified into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used to represent the bus 704 in FIG. 7, but this does not mean that there is only one bus or only one type of bus.

    [0182] In addition, an embodiment of this application further provides a computer readable storage medium. The computer readable storage medium stores a computer instruction. When the computer instruction is run on a computer, the computer is enabled to perform the wireless charging method provided in the embodiments of this application and corresponding operations and/or procedures performed by the electronic device or the second device in the embodiments of the resource scheduling method.

    [0183] An embodiment of this application further provides a computer program product. The computer program product includes computer program code. When the computer program code is run on a computer, the computer is enabled to perform the resource scheduling method provided in the embodiments of this application and corresponding operations and/or procedures performed by the electronic device or the second device in the embodiments of the resource scheduling method.

    [0184] A chip system can be applied to the foregoing electronic device. The chip system includes a processor and a communications interface. The processor is configured to: read and run a computer program stored in a memory, to perform the wireless charging method provided in the embodiments of this application and corresponding operations and/or procedures performed by the electronic device in the embodiments of the wireless charging method. The memory is connected to the processor by using a circuit or an electric wire. The processor is configured to: read and execute the computer program in the memory. The communications interface is configured to receive data and/or information that need/needs to be processed. The processor obtains the data and/or information from the communications interface, and processes the data and/or information. For example, the communications interface may be a transceiver or an input/output interface.

    [0185] An embodiment of this application provides a wireless charging system. The wireless charging system may include the foregoing electronic device and wireless charging device, and is configured to perform the wireless charging method provided in the embodiments of this application. For specific descriptions of the electronic device and the wireless charging device, refer to the foregoing method embodiments and apparatus embodiments. Details are not described herein again.

    [0186] It should be understood that the processor in the embodiments of this application may be a central processing unit (central processing unit, CPU). Alternatively, the processor may be another general purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or another programmable logic device, a discrete gate or a transistor logic device, a discrete hardware component, or the like. The general purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

    [0187] It should be further understood that the memory in the embodiments of this application may be a volatile memory or a nonvolatile memory, or may include both a volatile memory and a nonvolatile memory. The nonvolatile memory may be a read-only memory (read-only memory, ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (electrically EPROM, EEPROM), or a flash memory. The volatile memory may be a random access memory (random access memory, RAM), and is used as an external cache. In an example but not limitative description, many forms of random access memories (random access memory, RAM) may be used, for example, a static random access memory (static RAM, SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (synchronous DRAM, SDRAM), a double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), an enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), a synchlink dynamic random access memory (synchlink DRAM, SLDRAM), and a direct rambus random access memory (direct rambus RAM, DR RAM).

    [0188] All or some of the foregoing embodiments may be implemented by using software, hardware (for example, a circuit), firmware, or any combination thereof. When software is used to implement the embodiments, the foregoing embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the program instructions or the computer programs are loaded and executed on a computer, the procedures or functions according to the embodiments of this application are completely or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer readable storage medium or may be transmitted from a computer readable storage medium to another computer readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, infrared, radio, or microwave) manner. The computer readable storage medium may be any usable medium accessible by the computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state drive.

    [0189] It should be understood that the term "and/or" in the embodiments of this application describes only an association condition for describing associated objects and represents that three conditions may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. A and B may be singular or plural. In addition, the character "/" in this specification usually represents an "or" condition between the associated objects, or may represent an "and/or" condition. For details, refer to foregoing and following descriptions for understanding.

    [0190] In the embodiments of this application, "at least one" means one or more, and "a plurality of" means two or more. "At least one (piece) of the following" or a similar expression thereof means any combination of these items, including any combination of singular items (pieces) or plural items (pieces). For example, at least one (piece) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c may be singular or plural.

    [0191] In the embodiments of this application, the terms "first", "second", and the like are intended to distinguish between different objects or distinguish between different processing of a same object, but do not indicate a particular order of the objects.

    [0192] In the embodiments of this application, the terms "include", "have", and any other variant thereof are intended to cover non-exclusive inclusion. For example, a process, a method, a system, a product, or a device that includes a series of steps or units is not limited to the listed steps or units, but further includes other unlisted steps or units in some embodiments, or further includes another inherent step or unit of the process, the method, the product, or the device in some embodiments.

    [0193] In the embodiments of this application, the word "for example" or "for example" is used to represent giving an example, an illustration, or a description. Any embodiment or design scheme described as "for example" or "for example" in the embodiments of this application should not be explained as being more preferred or having more advantages than another embodiment or design scheme. Exactly, use of the word "for example" or " for example" is intended to present a related concept in a specific manner.

    [0194] In the embodiments of this application, "information (information)", "signal (signal)", "message (message)", "channel (channel)", "signaling (singalling)", and "message (message)" may be interchangeably used sometimes. It should be noted that meanings expressed by the terms are consistent when differences are not emphasized. "Of (of)", "corresponding (corresponding, relevant)", and "corresponding (corresponding)" may be interchangeably used sometimes. It should be noted that meanings expressed by the terms are consistent when differences are not emphasized.

    [0195] In the embodiments of this application, sometimes a subscript in, for example, W1 may be written in an incorrect form such as W1. Expressed meanings are consistent when differences are not emphasized.

    [0196] It should be understood that sequence numbers of the processes do not mean execution sequences in various embodiments of this application. The execution sequences of the processes should be determined based on functions and internal logic of the processes, and should not be construed as any limitation on the implementation processes of the embodiments of this application.

    [0197] A person of ordinary skill in the art may be aware that units and algorithm steps in the examples described with reference to the embodiments disclosed in this specification can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application.

    [0198] It may be clearly understood by a person skilled in the art that for the purpose of convenient and brief description, for a detailed working process of the foregoing described system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments. Details are not described herein again.

    [0199] In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in another manner. For example, the foregoing described apparatus embodiment is merely an example. For example, division into the units is merely logical function division and may be other division in an actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or another form.

    [0200] The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, and may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions of the embodiments.

    [0201] In addition, function units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.

    [0202] When the functions are implemented in a form of a software function unit and sold or used as an independent product, the functions may be stored in a computer readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a computer software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods in the embodiments of this application. The foregoing storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disc.


    Claims

    1. A wireless charging method, comprising:

    transmitting (S301), by a first electronic device (101), a first detecting signal when the first electronic device (101) is in a reverse wireless charging mode to detect whether a second electronic device (103) meets a wireless charging condition, wherein the first electronic device (101) is attempting to wirelessly charge the second electronic device (103) when the first electronic device (101) is in the reverse wireless charging mode, wherein a transmit power of the first detecting signal is less than a transmit power of a charging signal transmitted by the first electronic device (101), characterized in that a transmit frequency of the first detecting signal is less than a transmit frequency of the charging signal transmitted by the first electronic device (101);

    and characterized by:

    receiving (S302), by the first electronic device (101) at a gap moment between at least two adjacent moments at which the first detecting signal is transmitted, a second detecting signal transmitted by a wireless charging device (102), wherein a transmit frequency of the first detecting signal is a first transmit frequency; a transmit frequency of the second detecting signal is a second transmit frequency; and the first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency; and

    if the second detecting signal received by the first electronic device (101) meets a preset condition, automatically switching (S303), by the first electronic device (101), from the reverse wireless charging mode to a forward wireless charging mode.


     
    2. The wireless charging method according to claim 1, wherein the preset condition comprises at least one of the following:

    a voltage of the second detecting signal received by the electronic device is greater than a first voltage threshold;

    a current of the second detecting signal received by the electronic device is greater than a first current threshold; or

    a power of the second detecting signal received by the electronic device is greater than a first power threshold.


     
    3. The wireless charging method according to claim 1 or 2, wherein the wireless charging device (102) is in a reverse wireless charging mode, wherein the second detecting signal is received by the first electronic device (101) when the first electronic device (101) is in the reverse wireless charging mode.
     
    4. The wireless charging method according to any one of claims 1 to 3, further comprising:
    transmitting, by the first electronic device (101), a response signal to the wireless charging device (102), wherein the response signal carries indication information, and the indication information is used to indicate that the second detecting signal received by the first electronic device (101) meets the preset condition.
     
    5. The wireless charging method according to claim 4, wherein after the transmitting, by the first electronic device (101), a response signal to the wireless charging device (102), the wireless charging method further comprises:
    receiving, by the first electronic device (101), a charging signal transmitted by the wireless charging device (102).
     
    6. The wireless charging method according to any one of claims 1 to 5, wherein
    the first detecting signal is transmitted by the first electronic device (101) through a wireless charging coil; and a response signal for the first detecting signal is received by the first electronic device (101) through the wireless charging coil.
     
    7. A first electronic device (101), comprising a transmitting module (601), a receiving module (602), at least one processor (701) and at least one memory (703), wherein the at least one memory is configured to store one or more programs, whereir the at least one processor (701) is configured to execute the one or more programs, the one or more programs including instructions for:

    controlling the transmitting module (601) to transmit a first detecting signal when the first electronic device (101) is in a reverse wireless charging mode to detect whether a second electronic device (103) meets a wireless charging condition, wherein the first electronic device (101) is configured to attempt to wirelessly charge the second electronic device (103) when the first electronic device (101) is in the reverse wireless charging mode, wherein a transmit power of the first detecting signal is less than a transmit power of a charging signal transmitted by the first electronic device (101), characterized in that a transmit frequency of the first detecting signal is less than a transmit frequency of the charging signal transmitted by the first electronic device (101);

    and in that the one or more programs further include instructions for controlling the receiving module (602) to receive, at a gap moment between at least two adjacent moments at which the first detecting signal is transmitted, a second detecting signal transmitted by a wireless charging device (102), wherein a transmit frequency of the first detecting signal is a first transmit frequency; a transmit frequency of the second detecting signal is a second transmit frequency; and the first transmit frequency is different from the second transmit frequency, and the first transmit frequency is not an integer multiple of the second transmit frequency; and

    if the second detecting signal received by the first electronic device (101) meets a preset condition, automatically switching from the reverse wireless charging mode to a forward wireless charging mode.


     
    8. The first electronic device (101) according to claim 7, wherein the preset condition comprises at least one of the following:

    a voltage of the second detecting signal received by the first electronic device (101) is greater than a first voltage threshold;

    a current of the second detecting signal received by the first electronic device (101) is greater than a first current threshold; or

    a power of the second detecting signal received by the first electronic device (101) is greater than a first power threshold.


     
    9. The first electronic device (101) according to claim7 or 8, wherein the first electronic device (101) is configured such that the second detecting signal is received by the first electronic device (101) when the first electronic device (101) is in the reverse wireless charging mode.
     
    10. The first electronic device (101) according to any one of claims 7 to 9, wherein the one or more programs including instructions for:

    controlling the transmitting module (601) to transmit a response signal to the wireless charging device (102), wherein the response signal carries indication information, and the indication information is used to indicate that the second detecting signal received by the electronic device meets the preset condition;

    after the transmitting the response signal to the wireless charging device (102), controlling the receiving module (602) to receive a charging signal transmitted by the wireless charging device (102).


     
    11. The first electronic device (101) according to any one of claims 7 to 10, wherein

    the transmitting module (601) is configured to transmit the first detecting signal through a wireless charging coil; and

    the receiving module (602) is configured to receive a response signal for the first detecting signal through the wireless charging coil.


     
    12. A computer readable storage medium, storing a computer instruction configured to cause the electronic device (101) of claim 7 to execute the steps of the method of claim 1.
     
    13. The computer readable storage medium according to claim 12, whereir the computer instruction is configured such that the second detecting signal is received by the first electronic device (101) when the first electronic device (101) is in the reverse wireless charging mode.
     


    Ansprüche

    1. Verfahren zum drahtlosen Laden, umfassend:

    Übertragen (S301), durch eine erste elektronische Vorrichtung (101), eines ersten Erkennungssignals, wenn sich die erste elektronische Vorrichtung (101) in einem Rückwärts-Drahtloslademodus befindet, um zu erkennen, ob eine zweite elektronische Vorrichtung (103) eine Drahtlosladebedingung erfüllt, wobei die erste elektronische Vorrichtung (101) versucht, die zweite elektronische Vorrichtung (103) drahtlos zu laden, wenn sich die erste elektronische Vorrichtung (101) im Rückwärts-Drahtloslademodus befindet, wobei eine Übertragungsleistung des ersten Erkennungssignals kleiner als eine Übertragungsleistung eines durch die erste elektronische Vorrichtung (101) übertragenen Ladesignals ist, dadurch gekennzeichnet, dass eine Übertragungsfrequenz des ersten Erkennungssignals kleiner als eine Übertragungsfrequenz des durch die erste elektronische Vorrichtung (101) übertragenen Ladesignals ist;

    und gekennzeichnet durch:

    Empfangen (S302), durch die erste elektronische Vorrichtung (101) zu einem Lückenzeitpunkt zwischen mindestens zwei benachbarten Zeitpunkten, zu denen das erste Erkennungssignal übertragen wird, eines zweiten Erkennungssignals, das durch eine Drahtlosladevorrichtung (102) übertragen wird, wobei eine Übertragungsfrequenz des ersten Erkennungssignals eine erste Übertragungsfrequenz ist; eine Übertragungsfrequenz des zweiten Erkennungssignals eine zweite Übertragungsfrequenz ist; und sich die erste Übertragungsfrequenz von der zweiten Übertragungsfrequenz unterscheidet und die erste Übertragungsfrequenz kein ganzzahliges Vielfaches der zweiten Übertragungsfrequenz ist; und

    wenn das durch die erste elektronische Vorrichtung (101) empfangene zweite Erkennungssignal eine voreingestellte Bedingung erfüllt, automatisches Umschalten (S303), durch die erste elektronische Vorrichtung (101), aus dem Rückwärts-Drahtloslademodus in einen Vorwärts-Drahtloslademodus.


     
    2. Verfahren zum drahtlosen Laden nach Anspruch 1, wobei die voreingestellte Bedingung mindestens eines des Folgenden umfasst:

    eine Spannung des durch die elektronische Vorrichtung empfangenen zweiten Erkennungssignals ist größer als ein erster Spannungsschwellenwert;

    ein Strom des durch die elektronische Vorrichtung empfangenen zweiten Erkennungssignals ist größer als ein erster Stromschwellenwert; oder

    eine Leistung des durch die elektronische Vorrichtung empfangenen zweiten Erkennungssignals ist größer als ein erster Leistungsschwellenwert.


     
    3. Verfahren zum drahtlosen Laden nach Anspruch 1 oder 2, wobei sich die Drahtlosladevorrichtung (102) in einem Rückwärts-Drahtloslademodus befindet, wobei das zweite Erkennungssignal durch die erste elektronische Vorrichtung (101) empfangen wird, wenn sich die erste elektronische Vorrichtung (101) im Rückwärts-Drahtloslademodus befindet.
     
    4. Verfahren zum drahtlosen Laden nach einem der Ansprüche 1 bis 3, ferner umfassend:
    Übertragen, durch die erste elektronische Vorrichtung (101), eines Antwortsignals zu der Drahtlosladevorrichtung (102), wobei das Antwortsignal Angabeinformationen trägt und die Angabeinformationen verwendet werden, um anzugeben, dass das durch die erste elektronische Vorrichtung (101) empfangene zweite Erkennungssignal die voreingestellte Bedingung erfüllt.
     
    5. Verfahren zum drahtlosen Laden nach Anspruch 4, wobei nach dem Übertragen, durch die erste elektronische Vorrichtung (101), eines Antwortsignals zu der Drahtlosladevorrichtung (102) das Verfahren zum drahtlosen Laden ferner umfasst:
    Empfangen, durch die erste elektronische Vorrichtung (101), eines durch die Drahtloseladevorrichtung (102) übertragenen Ladesignals.
     
    6. Verfahren zum drahtlosen Laden nach einem der Ansprüche 1 bis 5, wobei das erste Erkennungssignal durch die erste elektronische Vorrichtung (101) über eine Drahtlosladespule übertragen wird; und ein Antwortsignal für das erste Erkennungssignal durch die erste elektronische Vorrichtung (101) über die Drahtlosladespule empfangen wird.
     
    7. Erste elektronische Vorrichtung (101), die ein Übertragungsmodul (601), ein Empfangsmodul (602), mindestens einen Prozessor (701) und mindestens einen Speicher (703) umfasst, wobei der mindestens eine Speicher so konfiguriert ist, dass er ein oder mehrere Programme speichert, wobei der mindestens eine Prozessor (701) so konfiguriert ist, dass er das eine oder die mehreren Programme ausführt,

    wobei das eine oder die mehreren Programme Anweisungen zum Steuern des Übertragungsmoduls (601) enthalten, um ein erstes Erkennungssignal zu übertragen, wenn sich die erste elektronische Vorrichtung (101) in einem Rückwärts-Drahtloslademodus befindet, um zu erkennen, ob ein zweite elektronische Vorrichtung (103) eine Drahtlosladebedingung erfüllt, wobei die erste elektronische Vorrichtung (101) so konfiguriert ist, dass sie versucht, die zweite elektronische Vorrichtung (103) drahtlos zu laden, wenn sich die erste elektronische Vorrichtung (101) im Rückwärts-Drahtloslademodus befindet, wobei eine Übertragungsleistung des ersten Erkennungssignals kleiner als eine Übertragungsleistung eines durch die erste elektronische Vorrichtung (101) übertragenen Ladesignals ist, dadurch gekennzeichnet, dass eine Übertragungsfrequenz des ersten Erkennungssignals kleiner als eine Übertragungsfrequenz des durch die erste elektronische Vorrichtung (101) übertragenen Ladesignals ist;

    und dass das eine oder die mehreren Programme ferner Anweisungen zum Steuern des Empfangsmoduls (602) enthalten, um in einem Lückenzeitpunkt zwischen mindestens zwei benachbarten Zeitpunkten, zu denen das erste Erkennungssignal übertragen wird, ein zweites Erkennungssignal zu empfangen, das durch eine Drahtlosladevorrichtung (102) übertragen wird, wobei eine Übertragungsfrequenz des ersten Erkennungssignals eine erste Übertragungsfrequenz ist; eine Übertragungsfrequenz des zweiten Erkennungssignals eine zweite Übertragungsfrequenz ist; und sich die erste Übertragungsfrequenz von der zweiten Übertragungsfrequenz unterscheidet und die erste Übertragungsfrequenz kein ganzzahliges Vielfaches der zweiten Übertragungsfrequenz ist; und

    wenn das durch die erste elektronische Vorrichtung (101) empfangene zweite Erkennungssignal eine voreingestellte Bedingung erfüllt, automatisches Umschalten aus dem Rückwärts-Drahtloslademodus in einen Vorwärts-Drahtloslademodus.


     
    8. Erste elektronische Vorrichtung (101) nach Anspruch 7, wobei die voreingestellte Bedingung mindestens eines des Folgenden umfasst:

    eine Spannung des durch die erste elektronische Vorrichtung (101) empfangenen zweiten Erkennungssignals ist größer als ein erster Spannungsschwellenwert;

    ein Strom des durch die erste elektronische Vorrichtung (101) empfangenen zweiten Erkennungssignals ist größer als ein erster Stromschwellenwert; oder

    eine Leistung des durch die erste elektronische Vorrichtung (101) empfangenen zweiten Erkennungssignals ist größer als ein erster Leistungsschwellenwert.


     
    9. Erste elektronische Vorrichtung (101) nach Anspruch 7 oder 8, wobei die erste elektronische Vorrichtung (101) so konfiguriert ist, dass das zweite Erkennungssignal durch die erste elektronische Vorrichtung (101) empfangen wird, wenn sich die erste elektronische Vorrichtung (101) im Rückwärts-Drahtloslademodus befindet.
     
    10. Erste elektronische Vorrichtung (101) nach einem der Ansprüche 7 bis 9, wobei das eine oder die mehreren Programme Anweisungen enthalten zum:

    Steuern des Übertragungsmoduls (601), um ein Antwortsignal zu der Drahtlosladevorrichtung (102) zu übertragen, wobei das Antwortsignal Angabeinformationen trägt und die Angabeinformationen verwendet werden, um anzugeben, dass das durch die elektronische Vorrichtung empfangene zweite Erkennungssignal die voreingestellte Bedingung erfüllt;

    nach dem Übertragen des Antwortsignals zu der Drahtlosladevorrichtung (102), Steuern des Empfangsmoduls (602), um ein durch die Drahtlosladevorrichtung (102) übertragenes Ladesignal zu empfangen.


     
    11. Erste elektronische Vorrichtung (101) nach einem der Ansprüche 7 bis 10, wobei das Übertragungsmodul (601) so konfiguriert ist, dass es das erste Erkennungssignal über eine Drahtlosladespule überträgt; und
    das Empfangsmodul (602) so konfiguriert ist, dass es ein Antwortsignal für das erste Erkennungssignal über die Drahtlosladespule empfängt.
     
    12. Computerlesbares Speichermedium, das eine Computeranweisung speichert, die so konfiguriert ist, dass sie die elektronische Vorrichtung (101) nach Anspruch 7 veranlasst, die Schritte des Verfahrens nach Anspruch 1 auszuführen.
     
    13. Computerlesbares Speichermedium nach Anspruch 12, wobei die Computeranweisung so konfiguriert ist, dass das zweite Erkennungssignal durch die erste elektronische Vorrichtung (101) empfangen wird, wenn sich die erste elektronische Vorrichtung (101) im Rückwärts-Drahtloslademodus befindet.
     


    Revendications

    1. Procédé de charge sans fil, comprenant :

    l'émission (S301), par un premier dispositif électronique (101), d'un premier signal de détection lorsque le premier dispositif électronique (101) est dans un mode de charge sans fil inverse pour détecter si un second dispositif électronique (103) satisfait à une condition de charge sans fil, dans lequel le premier dispositif électronique (101) tente de charger sans fil le second dispositif électronique (103) lorsque le premier dispositif électronique (101) est dans le mode de charge sans fil inverse, dans lequel une puissance d'émission du premier signal de détection est inférieure à une puissance d'émission d'un signal de charge émis par le premier dispositif électronique (101), caractérisé en ce qu'une fréquence d'émission du premier signal de détection est inférieure à une fréquence d'émission du signal de charge émis par le premier dispositif électronique (101) ;

    caractérisé par :

    la réception (S302), par le premier dispositif électronique (101) à un moment d'intervalle entre au moins deux moments adjacents auxquels le premier signal de détection est émis, d'un second signal de détection émis par un dispositif de charge sans fil (102), dans lequel une fréquence d'émission du premier signal de détection est une première fréquence d'émission ; une fréquence d'émission du second signal de détection est une seconde fréquence d'émission ; et la première fréquence d'émission est différente de la seconde fréquence d'émission, et la première fréquence d'émission n'est pas un multiple entier de la seconde fréquence d'émission ; et

    si le second signal de détection reçu par le premier dispositif électronique (101) satisfait une condition prédéfinie, la commutation automatique (S303), par le premier dispositif électronique (101), du mode de charge sans fil inverse vers un mode de charge sans fil avant.


     
    2. Procédé de charge sans fil selon la revendication 1, dans lequel la condition prédéfinie comprend au moins l'un des éléments suivants :

    une tension du second signal de détection reçu par le dispositif électronique est supérieure à un premier seuil de tension ;

    un courant du second signal de détection reçu par le dispositif électronique est supérieur à un premier seuil de courant ; ou

    une puissance du second signal de détection reçu par le dispositif électronique est supérieure à un premier seuil de puissance.


     
    3. Procédé de charge sans fil selon la revendication 1 ou 2, dans lequel le dispositif de charge sans fil (102) est dans un mode de charge sans fil inverse, dans lequel le second signal de détection est reçu par le premier dispositif électronique (101) lorsque le premier dispositif électronique (101) est dans le mode de charge sans fil inverse.
     
    4. Procédé de charge sans fil selon l'une quelconque des revendications 1 à 3, comprenant en outre :
    l'émission, par le premier dispositif électronique (101), d'un signal de réponse au dispositif de charge sans fil (102), dans lequel le signal de réponse transporte des informations d'indication, et les informations d'indication sont utilisées pour indiquer que le second signal de détection reçu par le premier dispositif électronique (101) satisfait à la condition prédéfinie.
     
    5. Procédé de charge sans fil selon la revendication 4, dans lequel après l'émission, par le premier dispositif électronique (101), d'un signal de réponse au dispositif de charge sans fil (102), le procédé de charge sans fil comprend en outre :
    la réception, par le premier dispositif électronique (101), d'un signal de charge émis par le dispositif de charge sans fil (102) .
     
    6. Procédé de charge sans fil selon l'une quelconque des revendications 1 à 5, dans lequel le premier signal de détection est émis par le premier dispositif électronique (101) par l'intermédiaire d'une bobine de charge sans fil ; et un signal de réponse pour le premier signal de détection est reçu par le premier dispositif électronique (101) par l'intermédiaire de la bobine de charge sans fil.
     
    7. Premier dispositif électronique (101), comprenant un module d'émission (601), un module de réception (602), au moins un processeur (701) et au moins une mémoire (703), dans lequel l'au moins une mémoire est configurée pour stocker un ou plusieurs programmes, dans lequel l'au moins un processeur (701) est configuré pour exécuter les un ou plusieurs programmes,

    les un ou plusieurs programmes comportant des instructions pour commander le module d'émission (601) afin d'émettre un premier signal de détection lorsque le premier dispositif électronique (101) est dans un mode de charge sans fil inverse pour détecter si un second dispositif électronique (103) satisfait à une condition de charge sans fil, dans lequel le premier dispositif électronique (101) est configuré pour tenter de charger sans fil le second dispositif électronique (103) lorsque le premier dispositif électronique (101) est dans le mode de charge sans fil inverse, dans lequel une puissance d'émission du premier signal de détection est inférieure à une puissance d'émission d'un signal de charge émis par le premier dispositif électronique (101), caractérisé en ce qu'une fréquence d'émission du premier signal de détection est inférieure à une fréquence d'émission du signal de charge émis par le premier dispositif électronique (101) ;

    et en ce que les un ou plusieurs programmes comportent en outre des instructions pour commander le module de réception (602) pour recevoir, à un moment d'intervalle entre au moins deux moments adjacents auxquels le premier signal de détection est émis, un second signal de détection émis par un dispositif de charge sans fil (102), dans lequel une fréquence d'émission du premier signal de détection est une première fréquence d'émission ; une fréquence d'émission du second signal de détection est une seconde fréquence d'émission ; et la première fréquence d'émission est différente de la seconde fréquence d'émission, et la première fréquence d'émission n'est pas un multiple entier de la seconde fréquence d'émission ; et

    si le second signal de détection reçu par le premier dispositif électronique (101) satisfait une condition prédéfinie, la commutation automatique du mode de charge sans fil inverse vers un mode de charge sans fil avant.


     
    8. Premier dispositif électronique (101) selon la revendication 7, dans lequel la condition prédéfinie comprend au moins l'un des éléments suivants :

    une tension du second signal de détection reçu par le premier dispositif électronique (101) est supérieure à un premier seuil de tension ;

    un courant du second signal de détection reçu par le premier dispositif électronique (101) est supérieur à un premier seuil de courant ; ou

    une puissance du second signal de détection reçu par le premier dispositif électronique (101) est supérieure à un premier seuil de puissance.


     
    9. Premier dispositif électronique (101) selon la revendication 7 ou 8, dans lequel le premier dispositif électronique (101) est configuré de sorte que le second signal de détection est reçu par le premier dispositif électronique (101) lorsque le premier dispositif électronique (101) est dans le mode de charge sans fil inverse.
     
    10. Premier dispositif électronique (101) selon l'une quelconque des revendications 7 à 9, dans lequel les un ou plusieurs programmes comportent des instructions pour :

    commander le module de transmission (601) pour émettre un signal de réponse au dispositif de charge sans fil (102), dans lequel le signal de réponse transporte des informations d'indication,

    et les informations d'indication sont utilisées pour indiquer que le second signal de détection reçu par le dispositif électronique satisfait la condition prédéfinie ;

    après l'émission du signal de réponse au dispositif de charge sans fil (102), commander le module de réception (602) pour recevoir un signal de charge émis par le dispositif de charge sans fil (102).


     
    11. Premier dispositif électronique (101) selon l'une quelconque des revendications 7 à 10, dans lequel le module d'émission (601) est configuré pour émettre le premier signal de détection par l'intermédiaire d'une bobine de charge sans fil ; et
    le module de réception (602) est configuré pour recevoir un signal de réponse pour le premier signal de détection par l'intermédiaire de la bobine de charge sans fil.
     
    12. Support de stockage lisible par ordinateur, stockant des instructions informatiques configurées pour amener le dispositif électronique (101) de la revendication 7 à exécuter les étapes du procédé de la revendication 1.
     
    13. Support de stockage lisible par ordinateur selon la revendication 12, dans lequel les instructions informatiques sont configurées de sorte que le second signal de détection est reçu par le premier dispositif électronique (101) lorsque le premier dispositif électronique (101) est dans le mode de charge sans fil inverse.
     




    Drawing























    Cited references

    REFERENCES CITED IN THE DESCRIPTION



    This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

    Patent documents cited in the description