Wireless charging method, electronic equipment and readable storage medium

By displaying prompts during wireless charging to guide users in adjusting the position of their electronic devices to match the geometric center of the coil, the problems of slow charging speed and device overheating are solved, improving charging efficiency and user experience.

CN121012138APending Publication Date: 2025-11-25HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410610864.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

When wirelessly charging electronic devices that do not support magnetic attraction or have weak magnetic attraction, the charging speed is slow and the devices get very hot, which affects the user experience.

Method used

By displaying prompts during the charging process, the system guides users to adjust the position of their electronic devices so that the geometric center of their receiving coil matches the geometric center of the transmitting coil of the charging device, and uses changes in charging voltage or current to indicate the optimal charging position.

Benefits of technology

It improves charging efficiency, reduces device heat generation, and enhances the user's charging experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121012138A_ABST
    Figure CN121012138A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of charging and discharging, in particular to a wireless charging method, electronic equipment and a readable storage medium. The method comprises the steps of obtaining a charging current of a charged device, prompting a user to slowly move a charging position of the charged device in an interface of the charged device corresponding to a condition that the charging current is not a target current, and obtaining a charging voltage of the charged device in real time. If the charging voltage is reduced, prompting a user to move in a direction opposite to the current moving direction of the charged equipment; and if the charging voltage is increased, prompting the user to continuously move based on the current direction of the charged equipment until the charging voltage does not change along with the movement of the charged equipment, and prompting the user that the current charged equipment is located at the optimal charging position. Therefore, the charging performance and the charging efficiency of the charged equipment can be improved, and the use experience of a user is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging and discharging technology, and in particular to a wireless charging method, electronic device, and readable storage medium. Background Technology

[0002] For two electronic devices that support wireless charging, one device can be used to charge the other. For example, Figure 1 The diagram illustrates a charging scenario where both the smartwatch 10 and the phone 20 have built-in wireless charging coils and support wireless charging technology. When the smartwatch 10 is placed on the back cover of the phone 20, the phone 20's wireless charging coil (acting as a transmitting coil) generates a constantly changing magnetic field. The smartwatch 10's wireless charging coil (acting as a receiving coil) senses this change in the magnetic field and generates an induced current, which is then converted into direct current to charge the smartwatch 10. Furthermore, the charging efficiency is optimal when the geometric center of the smartwatch 10's receiving coil matches the geometric center of the phone 20's transmitting coil.

[0003] However, in some scenarios, neither the smartwatch 10 nor the phone 20 supports magnetic charging. When the smartwatch 10 is placed on the back cover of the phone 20, there may be a mismatch between the geometric center of the transmitting coil of the phone 20 and the geometric center of the receiving coil of the smartwatch 10. This results in slow charging speed and severe overheating of the device when the phone 20 reverse charges the smartwatch 10, affecting the user's charging experience. Summary of the Invention

[0004] To address the aforementioned issues, this application provides a wireless charging method, an electronic device, and a readable storage medium.

[0005] In a first aspect, this application provides a wireless charging method applied to a first electronic device. The method includes: during the charging process of the first electronic device, displaying a first prompt message to prompt a user to move the first electronic device in a first direction; moving the first electronic device from a first position to a second position in the first direction; displaying a second prompt message corresponding to a lower charging performance of the first electronic device at the second position compared to its charging performance at the first position, the second prompt message prompting the user to move the first electronic device in a second direction, wherein the second direction is different from the first direction; and displaying a third prompt message corresponding to a higher charging performance of the first electronic device at the second position compared to its charging performance at the first position, the third prompt message prompting the user to continue moving the first electronic device in the first direction.

[0006] It is understood that the first electronic device may refer to the charging device mentioned in the embodiments of this application (such as smartwatch 10).

[0007] In some embodiments of this application, the charging performance of the first electronic device can be referenced to its charging current or charging voltage. If the charging current or charging voltage increases as the first electronic device moves, it indicates that the charging performance of the first electronic device has improved; if the charging current or charging voltage decreases as the first electronic device moves, it indicates that the charging performance of the first electronic device has decreased. When the charging current or charging voltage of the first electronic device at the second position is lower than that at the first position, a second prompt message can be displayed on the display interface of the first electronic device to prompt the user to move the first electronic device in a second direction opposite to the first direction, thereby improving the charging performance of the first electronic device.

[0008] The method provided in this application allows for charging of another device that also lacks magnetic attraction, based on a charging device that does not support magnetic attraction or has a weak magnetic attraction effect. The method can display a prompt on the main interface of the device being charged, instructing the user to move the device to the optimal charging position between itself and the charging device, based on changes in the charging voltage or charging current of the device being charged. This allows the user to move the device to the optimal charging position. Furthermore, by aligning the geometric center of the receiving coil of the device being charged with the geometric center of the transmitting coil of the charging device, the charging performance of the device being charged can be improved, thus increasing its charging efficiency.

[0009] Furthermore, the method provided in this application embodiment enables the geometric center of the receiving coil of the charging device to match the geometric center of the transmitting coil of the charging device, which can improve the charging speed of the first electronic device, alleviate the heat generation problem of the first electronic device, and improve the wireless charging experience of the user when using the first electronic device.

[0010] In one possible implementation of the first aspect above, displaying a first prompt message during the charging process of the first electronic device includes: acquiring first charging data of the first electronic device; and displaying the first prompt message when the first charging data does not meet a first threshold.

[0011] It is understood that the first charging data may refer to the charging current of the smartwatch 10 mentioned in the embodiments of this application, and the first threshold may refer to the target charging current mentioned in the embodiments of this application. In some other embodiments of this application, the first charging data may also refer to the charging voltage of the smartwatch 10, which is not limited here.

[0012] In some embodiments of this application, a first prompt message is displayed based on the first charging data not meeting a first threshold, which can facilitate instructing the user to move the first charging device. The user can move the first electronic device based on the first prompt message, and by moving the first electronic device, the charging voltage or charging current of the first electronic device can be adjusted, so that the charging performance of the first electronic device can be gradually improved.

[0013] In one possible implementation of the first aspect above, when the charging performance of the first electronic device at the second position is lower than that at the first position, displaying a second prompt message includes: acquiring second charging data of the first electronic device at the first position and third charging data of the first electronic device at the second position; and displaying a second prompt message when the second charging data is greater than the third charging data.

[0014] It is understandable that the second charging data may refer to the charging voltage or charging current of the first electronic device at the first position, and the third charging data may refer to the charging voltage or charging current of the first electronic device at the second position.

[0015] In some embodiments of this application, a second prompt message is displayed based on the fact that the second charging data of the first electronic device at the first position is greater than the third charging data of the first electronic device at the second position. This can facilitate instructing the user to move the first charging device. The user can move the first electronic device based on the second prompt message, and by moving the first electronic device, the charging voltage or charging current of the first electronic device can be adjusted from decreasing to increasing, thereby gradually improving the charging performance of the first electronic device.

[0016] In one possible implementation of the first aspect above, when the charging performance of the first electronic device at the second position is higher than that at the first position, a third prompt message is displayed, including: acquiring second charging data of the first electronic device at the first position and third charging data of the first electronic device at the second position; and displaying a third prompt message when the third charging data is greater than the second charging data.

[0017] In some embodiments of this application, a third prompt message is displayed based on the fact that the third charging data of the first electronic device at the second position is greater than the second charging data of the first electronic device at the first position. This can facilitate instructing the user to move the first charging device. The user can move the first electronic device based on the third prompt message, and by moving the first electronic device, the charging voltage or charging current of the first electronic device can be adjusted to continue to increase, thereby gradually improving the charging performance of the first electronic device.

[0018] In one possible implementation of the first aspect above, the method further includes: the first electronic device moving from the second position to the third position in a first direction; corresponding to the charging performance of the first electronic device at the third position being higher than that at the second position, displaying a fourth prompt message, the fourth prompt message being used to prompt the user to stop moving the first electronic device.

[0019] In one possible implementation of the first aspect above, the first electronic device moves from the second position to the third position in a first direction and displays a fourth prompt message, including: acquiring fourth charging data of the first electronic device at the third position; the first electronic device moves from the third position to the fourth position in the first direction and acquires fifth charging data of the first electronic device at the fourth position, wherein the fifth charging data is equal to the fourth charging data; and displaying a fourth prompt message corresponding to the fifth charging data being equal to the fourth charging data.

[0020] It is understandable that the fourth charging data may refer to the charging voltage or charging current of the first electronic device at the third position, and the fifth charging data may refer to the charging voltage or charging current of the first electronic device at the fourth position.

[0021] In some embodiments of this application, a fourth prompt message is displayed based on the fact that the fourth charging data of the first electronic device at the third position is equal to the fifth charging data of the first electronic device at the fourth position. This facilitates instructing the user to stop moving the first charging device, and the user can stop moving the first electronic device based on the fourth prompt message. In this way, the geometric center of the receiving coil of the first electronic device matches the geometric center of the transmitting coil of the charging device, which improves the charging performance of the device being charged, i.e., increases the charging efficiency of the device being charged.

[0022] In one possible implementation of the first aspect above, the method further includes: the first electronic device moving from the first position to the second position in a first direction, displaying a fifth prompt message, the fifth prompt message being used to prompt the user to move the first electronic device in a third direction or a fourth direction; wherein the third direction or the fourth direction is different from the first direction and the second direction, and the third direction or the fourth direction is a direction that improves the charging performance of the first electronic device.

[0023] In some embodiments of this application, the first direction and the second direction may be opposite to each other, the third direction and the fourth direction may be opposite to each other, and the first direction and the second direction are different from the third direction and the fourth direction.

[0024] In some embodiments of this application, when the first electronic device moves to the second position in the first direction, the charging performance of the first electronic device can be improved accordingly. Furthermore, detecting that the first electronic device moves to a third or fourth direction from the second position can further improve the charging performance of the first electronic device. This allows the geometric center of the receiving coil of the first electronic device to be matched with the geometric center of the transmitting coil of the charging device, thereby improving the charging performance of the first electronic device, and thus increasing the charging efficiency of the device being charged.

[0025] In one possible implementation of the first aspect described above, the first charging data and the second charging data include the charging voltage or charging current of the first electronic device.

[0026] In one possible implementation of the first aspect above, the first direction and the second direction are opposite directions, and the third direction and the fourth direction are opposite directions.

[0027] Secondly, embodiments of this application provide an electronic device, including a memory for storing instructions and a processor for executing the instructions to implement the wireless charging method provided in the first aspect and various possible implementations of the first aspect.

[0028] Thirdly, embodiments of this application provide a readable storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the wireless communication method provided in the first aspect and various possible implementations of the first aspect.

[0029] Fourthly, embodiments of this application also provide a computer program product, including a computer program / instruction that, when executed by a processor, implements the wireless charging method provided in the first aspect and various possible implementations of the first aspect.

[0030] The beneficial effects of the second to fourth aspects mentioned above can be referred to the relevant descriptions in the first aspect and various possible implementations of the first aspect, which will not be repeated here. Attached Figure Description

[0031] Figure 1 A schematic diagram of a charging scenario is shown based on the method provided in the embodiments of this application;

[0032] Figure 2A A schematic diagram of a main interface 201 of a mobile phone 20 is shown according to the method provided in the embodiments of this application;

[0033] Figure 2B A schematic diagram of a "Settings" application interface 202 of a mobile phone 20 is shown according to the method provided in the embodiments of this application.

[0034] Figure 2CA schematic diagram of a functional interface 203 of a mobile phone 20 is shown according to the method provided in the embodiments of this application.

[0035] Figure 2D A schematic diagram of a wireless reverse charging function interface 204 of a mobile phone 20 is shown according to the method provided in the embodiments of this application.

[0036] Figure 3 A schematic diagram of the structure of an electronic device is shown according to the method provided in the embodiments of this application;

[0037] Figure 4 A flowchart of a wireless charging method is shown according to an embodiment of this application;

[0038] Figure 5A A schematic diagram of a charging interface 501 of a smartwatch 10 is shown according to the method provided in the embodiments of this application.

[0039] Figure 5B A schematic diagram of a charging interface 502 of a smartwatch 10 is shown according to the method provided in the embodiments of this application.

[0040] Figure 5C A schematic diagram of the charging position change of a smartwatch 10 is shown according to the method provided in the embodiments of this application;

[0041] Figure 5D According to the method provided in the embodiments of this application, another schematic diagram of the charging position change of a smartwatch 10 is shown;

[0042] Figure 5E According to the method provided in the embodiments of this application, a schematic diagram of the charging position change of another smartwatch 10 is shown.

[0043] Figure 5F According to the method provided in the embodiments of this application, a schematic diagram of the charging position change of another smartwatch 10 is shown;

[0044] Figure 6 A schematic diagram illustrating the change in charging voltage is shown based on the method provided in the embodiments of this application;

[0045] Figure 7A A schematic diagram of an interface 701 of a smartwatch 10 is shown according to the method provided in the embodiments of this application.

[0046] Figure 7B A schematic diagram of the movement direction of a smartwatch 10 during wireless charging is shown according to the method provided in the embodiments of this application.

[0047] Figure 7CAccording to the method provided in the embodiments of this application, a schematic diagram of a scenario of a mobile charging location for a smartwatch 10 is shown;

[0048] Figure 7D According to the method provided in the embodiments of this application, a schematic diagram of another scenario of a smartwatch 10 moving its charging location is shown;

[0049] Figure 8 According to the method provided in the embodiments of this application, a schematic diagram 801 of the interface of a smartwatch 10 is shown;

[0050] Figure 9 A schematic block diagram of the system software architecture of an electronic device is shown according to the method provided in the embodiments of this application. Detailed Implementation

[0051] The illustrative embodiments of this application include, but are not limited to, a wireless charging method, an electronic device, and a readable storage medium.

[0052] It is understood that the electronic devices in the embodiments of this application may also be referred to as terminals, electronic devices, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc. Electronic devices may include mobile phones, smart TVs, wearable devices, tablets, computers with wireless transceiver capabilities, cameras with wireless charging, vehicle dashcams, video doorbells with wireless charging, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, and wireless terminals in smart homes.

[0053] As mentioned earlier, when using mobile phone 20 to charge smartwatch 10, since smartwatch 10 and mobile phone 20 do not support magnetic attraction or the magnetic attraction effect is weak, when smartwatch 10 is placed on the back cover of mobile phone 20 for charging, there will be a situation where the geometric centers of the transmitting coil of mobile phone 20 and receiving coil of smartwatch 10 are mismatched, resulting in slow charging speed, serious device overheating, and affecting the user's charging experience.

[0054] To address the aforementioned issues, this application provides a wireless charging method. The method includes: acquiring the charging current of the device being charged; when the charging current is not the target current; prompting the user to slowly move the charging position of the device on the device's interface; and acquiring the charging voltage Vrect of the device in real time. If the charging voltage Vrect decreases, the user is prompted to move in the opposite direction to the current moving direction of the device; if the charging voltage Vrect increases, the user is prompted to continue moving in the current direction of the device until the charging voltage Vrect no longer changes with the movement of the device, indicating to the user that the device is currently in the optimal charging position. It is understood that as the charging voltage increases, the charging performance of the device also improves.

[0055] Using the above method, when charging another device that also lacks magnetic attraction or has weak magnetic attraction using a charging device that does not support magnetic attraction, the system can display a prompt on the main interface of the device being charged, based on changes in the charging voltage of the device being charged. This prompt instructs the user to move the device to the optimal charging position between the two devices. This allows the user to move the device to the optimal charging position. In this way, the geometric center of the receiving coil of the device being charged is matched with the geometric center of the transmitting coil of the charging device, improving charging efficiency.

[0056] Furthermore, the method provided in this application embodiment enables the geometric center of the receiving coil of the charging device to match the geometric center of the transmitting coil of the charging device, which can improve the charging speed of the first electronic device, alleviate the heat generation problem of the first electronic device, and improve the wireless charging experience of the user when using the first electronic device.

[0057] It is understood that one of the charging device and the device being charged may support magnetic attraction, while the other may not; or, in scenarios where both the charging device and the device being charged support magnetic attraction but the magnetic attraction effect is not very good, this application is also applicable.

[0058] To facilitate understanding of the wireless charging method provided in this application embodiment, the specific charging scheme will be described using a mobile phone 20 as the charging device and a smartwatch 10 as the device being charged as an example. The following will be combined with... Figures 2A to 2D This describes the specific process by which mobile phone 20 charges smartwatch 10.

[0059] It is understood that in other embodiments, the mobile phone 20, which serves as the charging device, can also be a tablet computer, a car charging device, a charging dock, or other devices that support wireless charging, while the smartwatch 10, which serves as the device being charged, can also be a smart wearable device that supports wireless charging and has a display function, etc., without limitation.

[0060] For example, refer to Figure 2A The diagram shows the main interface 201 of the mobile phone 20, which includes an application icon 2011 for "Settings". Users can click on "Settings" 2011 to enable the mobile phone 20 to display settings such as... Figure 2B The image shows the "Settings" application interface 202 of the mobile phone 20. Users can click on the operation control 2021 corresponding to "Battery" in interface 202 to make the mobile phone 20 display the following... Figure 2C The "Battery" corresponding function interface 203 is shown. Users can activate the wireless reverse charging function of phone 20 by clicking the operation control 2031, which indicates that the wireless reverse charging function is enabled. This will cause phone 20 to display the following... Figure 2D The wireless reverse charging function interface 204 is shown. Figure 2D The interface 204 shown displays a prompt message 2041 instructing the user to perform wireless reverse charging: "Please place a wireless charging-enabled device (phone, wearable device, etc.) on the back of this device," as described above. Figure 1 As shown, the smartwatch 10 can be placed on the back of the phone 20 for wireless charging.

[0061] It is understood that in some other embodiments, the wireless reverse charging function of the mobile phone 20 may be automatically activated when the mobile phone 20 is powered on, and this is not limited here.

[0062] further, Figure 3 A schematic diagram of an electronic device is shown according to some embodiments of this application. The wireless charging method mentioned in the embodiments of this application can be implemented based on this electronic device.

[0063] like Figure 3As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, a communication device 196, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and a color temperature sensor 180N, etc.

[0064] Processor 110 may include one or more processing units, such as: application processor (AP), microcontroller unit (MCU), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0065] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0066] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may store data that the processor 110 has just used or that is being reused. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] In some embodiments of this application, the processor 110 can be used to execute the wireless charging method provided in the embodiments of this application.

[0068] USB port 130 is a USB standard compliant interface, which can be a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic devices, and can also be used for data transfer between electronic devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0069] The charging management module 140 receives charging input from the charger. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141. In some embodiments of this application, the charging management module 140 can acquire charging data such as charging current and charging voltage of the electronic device.

[0070] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, display 194, camera 193, and wireless communication module 160, etc.

[0071] The wireless communication function of electronic devices can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0072] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals, that is, wireless carrier information.

[0073] The mobile communication module 150 can provide solutions for wireless communication applications in electronic devices, including 2G / 3G / 4G / 5G. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0074] The wireless communication module 160 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), near field communication (NFC), global navigation satellite system (GNSS), frequency modulation (FM), infrared (IR), and ultra-wideband (UWB). The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 can receive electromagnetic waves via antenna 2, filter and amplify the received electromagnetic waves, and transmit them to a modem processor for demodulation. The wireless communication module 160 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 2.

[0075] Electronic devices utilize a GPU, a display screen 194, and an application processor to implement interface display functions. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0076] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments of this application, the display screen 194 can display prompts provided in the embodiments of this application, prompting the user to move the device being charged.

[0077] Camera 193 is used to capture still images or videos.

[0078] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions.

[0079] Internal memory 121 can be used to store executable program code, including instructions, such as those in the aforementioned memory 103. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. The data storage area may store data created during the use of the electronic device, such as control identifiers for security controls, screenshot redraw policy identifiers corresponding to security controls, and patterns, images, and text corresponding to screenshot redraw policies. Furthermore, internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications of the electronic device by running instructions stored in internal memory 121 and / or instructions stored in memory located within processor 110.

[0080] Electronic devices can implement audio functions through audio modules 170, speakers 170A, receivers 170B, microphones 170C, headphone jacks 170D, and application processors.

[0081] An accelerometer 180E is a sensor that measures the acceleration of an object. It detects the acceleration of an object in various directions and is typically used to measure the motion state of an object, impact events, vibrations, etc. When an object accelerates, a force is applied to the accelerometer 180E, which calculates the acceleration based on the magnitude and direction of this force. In some embodiments of this application, the acceleration and direction of movement of the device being charged can be obtained based on the accelerometer 180A.

[0082] A gyroscope sensor 180B is a sensor used to measure rotational speed or angular velocity. It is commonly used to measure the rotation or attitude changes of devices such as aircraft, navigation systems, drones, mobile phones, and game controllers. In some embodiments of this application, the gyroscope sensor 180B can detect the rotational speed of an electronic device on three axes, typically the rotational speed about the X, Y, and Z axes, i.e., angular velocity.

[0083] The magnetic sensor 180D is a sensor used to detect and measure magnetic fields. It can detect the magnetic field strength in the surrounding environment. The magnetic sensor 180D is commonly used in various application areas, including navigation systems, position detection, magnetic field imaging, and magnetic material testing. In some embodiments of this application, the magnetic sensor 180D can detect the strength and direction of the geomagnetic field at the location of an electronic device.

[0084] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can then transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194.

[0085] Motor 191 can generate vibration alerts.

[0086] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0087] The SIM card interface 195 is used to connect the SIM card.

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

[0089] Based on the above Figure 3 The structural diagram shown below, in conjunction with... Figure 4 The flowchart shown below details the technical solution of this application.

[0090] Figure 4 A flowchart of a wireless charging method is shown according to an embodiment of this application. It can be understood that, in this embodiment, Figure 4 The device performing the process shown can be an electronic device such as a smartwatch 10, which is being charged. The executing device for each step will not be described again in the following description of the process.

[0091] refer to Figure 4 The specific process includes:

[0092] S401: Detect the charging status of the device being charged.

[0093] In some embodiments of this application, the smartwatch 10 is used as a charging device. When the smartwatch 10 is wirelessly charged via the mobile phone 20, the charging management module of the smartwatch 10 can detect that the smartwatch 10 is currently in a wireless charging state.

[0094] For example, Figure 5A A schematic diagram 501 of a charging interface for a smartwatch 10 is shown. The smartwatch 10 is positioned on the back of the mobile phone 20 for charging, indicating that the smartwatch 10 is in a charging state. The interface 501 of the smartwatch 10 displays the battery level information "4%" and a prompt message "Please ensure there are no metal foreign objects between the watch and the charging device to avoid affecting normal charging," prompting the user to correctly use the mobile phone 20 to wirelessly charge the smartwatch 10.

[0095] S402: Start inertial measurement unit calibration.

[0096] In some embodiments of this application, when it is determined that the smartwatch 10 is in a wireless charging state, the sensor module of the smartwatch 10 can enable inertial measurement unit (IMU) calibration to obtain the acceleration and orientation of the smartwatch 10 when it moves its wireless charging position.

[0097] An IMU (Integrated Measurement Unit) is a sensor used to measure and track the acceleration, angular velocity, and attitude of an object. An IMU can contain one or more accelerometers, gyroscopes, and magnetometers. The accelerometer measures the acceleration of the smartwatch 10 as it moves along three axes (x, y, z). Acceleration is a vector quantity with magnitude and direction, used to describe the rate and direction of change in an object's velocity. The accurate real-time direction of movement of the smartwatch 10 is obtained by processing the acceleration along the three axes using algorithms. The accelerometer can consist of a microelectromechanical system (MEMS) sensor and a signal processing chip. The MEMS sensor detects the acceleration of the smartwatch 10, and the sensor module can read the acceleration of the smartwatch 10 from the signal processing chip and determine the direction of movement of the smartwatch 10 through communication interfaces such as the inter-integrated circuit (I2C) interface and the serial peripheral interface (SPI).

[0098] Furthermore, the gyroscope can measure the angular velocity of the smartwatch 10 around three axes as it moves. Angular velocity is a vector with magnitude and direction, used to describe how fast an object rotates around a fixed point or axis; its direction is perpendicular to the plane of rotation. The magnetometer can measure the magnetometer data of the smartwatch 10, i.e., the strength and direction of the Earth's magnetic field at the location of the smartwatch 10. Moreover, by fusing the measurement data from the accelerometer, gyroscope, and magnetometer using an algorithm, the real-time attitude of the smartwatch 10 during movement can be obtained.

[0099] In some other embodiments of this application, a fusion algorithm can be used to fuse and calculate parameters such as acceleration, angular velocity, and magnetometer data when the electronic device moves in real time, so as to obtain the accurate real-time movement direction of the electronic device. This is not limited here.

[0100] It is understood that the above algorithms may include Kalman filtering, complementary filtering, and quaternion filtering, etc., and are not limited here.

[0101] S403: Obtain charging current.

[0102] In some embodiments of this application, when the smartwatch 10 is wirelessly charged using the mobile phone 20, the charging current of the smartwatch 10 can be obtained through the charging management module of the smartwatch 10.

[0103] In other embodiments, when the smartwatch 10 is wirelessly charged using the mobile phone 20, the charging voltage of the smartwatch 10 can be obtained through the charging management module of the smartwatch 10, which is not limited here.

[0104] S404: Determine if the charging current is the target charging current.

[0105] In some embodiments of this application, after obtaining the charging current of the smartwatch 10, it can be further determined whether the charging current is the target charging current.

[0106] If the judgment result is yes, return to S403 and obtain the charging current;

[0107] If the judgment result is negative, execute S405 and display a prompt message to the user, prompting them to slowly move the device being charged to align with the charging position.

[0108] It is understandable that the target charging current is designed to optimize the charging efficiency of the smartwatch 10 while protecting its battery, thereby extending the lifespan of the smartwatch 10. For example, the target charging current could be 1A, 2A, etc., and is not limited here.

[0109] It is understandable that in some scenarios, the target charging current will be different when using different charging devices to wirelessly charge the smartwatch 10.

[0110] In other embodiments, after obtaining the charging voltage of the smartwatch 10, it can be further determined whether the charging current is the target charging voltage. The target charging voltage can be a voltage that makes the charging efficiency of the smartwatch 10 optimal while protecting its battery, and does not exceed the maximum preset charging voltage of the battery, which can extend the service life of the smartwatch 10.

[0111] S405: Displays a prompt message to the user, suggesting that they slowly move the device being charged to align it with the charging position.

[0112] In some embodiments of this application, if it is determined by S404 that the charging current is not the target charging current, then the display interface of the smartwatch 10 can be controlled to display a prompt message prompting the user to slowly move the device being charged to align with the charging position.

[0113] For example, Figure 5B A schematic diagram 502 of a charging interface for a smartwatch 10 is shown. The smartwatch 10 is positioned on the back of a mobile phone 20 for charging. The interface 502 of the smartwatch 10 displays the prompt message "Slowly move the device being charged to align with the charging position," prompting the user to slowly move the device to align with the charging position. This ensures that the geometric center of the receiving coil of the smartwatch 10 matches the geometric center of the transmitting coil of the mobile phone 20, thereby improving the charging efficiency of the smartwatch 10.

[0114] Furthermore, users can move the charging port on the back of the smartwatch 10 to be located on the back of the phone 20. For example... Figures 5C to 5F The diagram shows the charging position changes of the smartwatch 10. Figure 5C In the middle, the smartwatch 10 moves upward along the Y direction, which corresponds to the vertical direction of the mobile phone 20. Figure 5D In the middle, the smartwatch 10 moves downward along the Y direction, which corresponds to the vertical direction of the mobile phone 20. Figure 5E In the middle, the smartwatch 10 moves to the left along the X direction, which corresponds to the horizontal direction of the mobile phone 20. Figure 5F In the middle, the smartwatch 10 moves to the right along the X direction, which corresponds to the horizontal direction of the mobile phone 20.

[0115] S406: Read calibration data and charging voltage.

[0116] In some embodiments of this application, the sensor module of the smartwatch 10 can acquire calibration data of the smartwatch 10, which is also IMU data, and the movement direction of the smartwatch 10 can be determined based on the IMU data; and the charging management module of the smartwatch 10 can acquire the charging voltage Vrect of the smartwatch 10. It can be understood that the charging voltage Vrect can reflect the degree of matching between the geometric center of the receiving coil of the smartwatch 10 and the geometric center of the transmitting coil of the mobile phone 20.

[0117] S407: Determine if the charging voltage has increased.

[0118] In some embodiments of this application, after the charging voltage Vrect of the smartwatch 10 is acquired in real time based on S406, it can be further determined whether the acquired charging voltage has increased.

[0119] If the judgment result is yes, proceed to S408 and display a prompt message prompting the user to continue moving the device being charged in this direction;

[0120] If the judgment result is negative, proceed to S409 and display a prompt message prompting the user to move the device being charged in the opposite direction.

[0121] It can be understood that if the charging voltage Vrect increases, it means that the geometric center of the receiving coil of the smartwatch 10 matches the geometric center of the transmitting coil of the mobile phone 20 more closely, and the charging efficiency of the smartwatch 10 is higher. If the charging voltage Vrect decreases, it means that the geometric center of the receiving coil of the smartwatch 10 deviates more from the geometric center of the transmitting coil of the mobile phone 20, and the charging efficiency of the smartwatch 10 is lower.

[0122] As an example, Figure 6 A schematic diagram showing the variation of the charging voltage Vrect is shown.

[0123] like Figure 6 As shown, the horizontal axis is used to indicate the period, and the vertical axis is used to indicate the voltage value. It can be seen that as the smartwatch 10 moves in real time, corresponding to the changing trend of the charging voltage Vrect in the dashed box 601, the increase of the charging voltage Vrect of the smartwatch 10 indicates that the geometric center of the receiving coil of the smartwatch 10 matches the geometric center of the transmitting coil of the mobile phone 20 more closely, and the charging efficiency of the smartwatch 10 is higher. Corresponding to the changing trend of the charging voltage Vrect in the dashed box 602, the decrease of the charging voltage Vrect of the smartwatch 10 indicates that the geometric center of the receiving coil of the smartwatch 10 deviates more from the geometric center of the transmitting coil of the mobile phone 20, and the charging efficiency of the smartwatch 10 is lower.

[0124] S408: Displays a prompt message to the user, encouraging them to continue moving the device being charged in this direction.

[0125] In some embodiments of this application, if it is determined that the charging voltage Vrect of the smartwatch 10 increases, it indicates that the geometric center of the receiving coil of the smartwatch 10 is more closely matched with the geometric center of the transmitting coil of the mobile phone 20. In this case, a prompt message can be displayed on the interface of the smartwatch 10, prompting the user to continue moving the smartwatch 10 in the current direction, based on the display module of the smartwatch 10.

[0126] For example, Figure 7A A schematic diagram of the interface 701 of a smartwatch 10 is shown. The interface 701 of the smartwatch 10 displays a prompt message 7011 "Please move the watch in this direction", and a prompt mark 7012 instructing the user to move the smartwatch 10 upward along the Y direction. This prompts the user to move the smartwatch 10 upward along the Y direction to adjust the charging position of the smartwatch 10 on the back of the mobile phone 20. This means that moving the smartwatch 10 upward along the Y direction can increase its charging voltage Vrect.

[0127] It is understandable that, depending on the direction in which the user moves the smartwatch 10, it can also be instructed to move along, such as... Figure 7B The diagram shown illustrates the movement direction of the smartwatch 10 during wireless charging. It can be followed along... Figure 7B Moving the charging position of the smartwatch 10 in any of the directions shown increases the charging voltage Vrect of the smartwatch 10. This allows the geometric center of the receiving coil of the smartwatch 10 to better match the geometric center of the transmitting coil of the mobile phone 20, thereby increasing the charging efficiency of the smartwatch 10. No specific limitations are imposed here.

[0128] In other embodiments of this application, the user may be instructed multiple times to move the charging position of the smartwatch 10 based on its current position so that the geometric center of the receiving coil of the smartwatch 10 can be more closely matched with the geometric center of the transmitting coil of the mobile phone 20.

[0129] For example, Figures 7C to 7D This diagram illustrates a scenario where a smartwatch 10 is being used for mobile charging. (Reference) Figure 7C The schematic diagram 702 of the smartwatch 10 interface shows a prompt message 7021 "Please move the watch in this direction," and a prompt icon 7022 instructing the user to move the smartwatch 10 upwards along the Y direction to adjust its charging position on the back of the phone 20. Further, refer to... Figure 7DThe schematic diagram 703 of the smartwatch 10 interface shows a prompt message 7031 "Please move the watch in this direction" and a prompt icon 7032 instructing the user to move the smartwatch 10 to the right along the X direction. This prompts the user to adjust the charging position of the smartwatch 10 on the back of the mobile phone 20 by moving the smartwatch 10 to the right along the X direction. Based on the adjustment of the charging position, the geometric center of the receiving coil of the smartwatch 10 can be matched with the geometric center of the transmitting coil of the mobile phone 20, thereby improving the charging efficiency of the smartwatch 10.

[0130] S409: Displays a prompt message to the user, suggesting that they move the device being charged in the opposite direction.

[0131] In some embodiments of this application, if it is determined that the charging voltage Vrect of the smartwatch 10 decreases, it indicates that the geometric center of the receiving coil of the smartwatch 10 is increasingly deviating from the geometric center of the transmitting coil of the mobile phone 20. In this case, a prompt message can be displayed on the smartwatch 10's interface, controlled by the smartwatch 10's display module, prompting the user to move the smartwatch 10 in the opposite direction to the current direction.

[0132] For example, Figure 8 A schematic diagram 801 of the interface of a smartwatch 10 is shown. The interface 801 displays a prompt message 8011 "Please move the watch in this direction," and a prompt label 8012 instructing the user to move the smartwatch 10 downwards along the Y-direction. This prompts the user to move the smartwatch 10 downwards along the Y-direction to adjust its charging position on the back of the phone 20. In other words, it prompts the user to move the smartwatch 10 downwards along the Y-direction, which is the opposite of "upwards along the Y-direction." This illustrates that moving the smartwatch 10 upwards along the Y-direction decreases its charging voltage Vrect, while moving it downwards along the Y-direction increases its charging voltage Vrect.

[0133] In this way, the charging voltage Vrect of the smartwatch 10 can be changed from decreasing to increasing, which means that the geometric center of the receiving coil of the smartwatch 10 can be more matched with the geometric center of the transmitting coil of the mobile phone 20, thus making the charging efficiency of the smartwatch 10 higher.

[0134] S410: Determines whether the charging voltage remains constant.

[0135] In some embodiments of this application, when the charging voltage Vrect of the smartwatch 10 is acquired in real time during its movement and the user is instructed to move in a certain direction to increase the charging voltage Vrect of the smartwatch 10, it can be determined in real time whether there is a certain voltage value of the charging voltage Vrect that remains unchanged.

[0136] If the judgment result is yes, proceed to S411, display a prompt message to the user that the current location is the preferred charging location, and exit the prompt display interface;

[0137] If the judgment result is negative, return to S408 and display a prompt message prompting the user to move the charging device in this direction.

[0138] It is understandable that if the charging voltage Vrect of the smartwatch 10 increases, it indicates a closer match between the geometric center of the receiving coil of the smartwatch 10 and the geometric center of the transmitting coil of the mobile phone 20. Furthermore, if the charging voltage Vrect of the smartwatch 10 increases to a certain constant value, this voltage value can be used to indicate a closer match between the geometric center of the receiving coil of the smartwatch 10 and the geometric center of the transmitting coil of the mobile phone 20, and the charging position corresponding to this voltage value is a preferred charging position where the smartwatch 10 can achieve higher charging efficiency through the mobile phone 20. Based on this, the smartwatch 10 can exit the prompt interface that suggests the user to move the charging position of the smartwatch 10.

[0139] S411: Displays a message indicating that the user's current location is the preferred charging location and exits the display prompt interface.

[0140] In some embodiments of this application, once it is determined that the charging voltage does not change with the movement of the smartwatch 10, that is, the charging voltage Vrect of the smartwatch 10 increases to a certain voltage value and remains constant, this voltage value can indicate that the geometric center of the receiving coil of the smartwatch 10 matches the geometric center of the transmitting coil of the mobile phone 20, and the charging position corresponding to this voltage value is a preferred charging position where the smartwatch 10 can obtain higher charging efficiency through the mobile phone 20. Based on this, the smartwatch 10 can exit the prompt interface that prompts the user to move the charging position of the smartwatch 10.

[0141] Using the above method, when charging another non-magnetic device with a charging device that does not support magnetic attraction, a prompt message can be displayed on the main interface of the device being charged, based on changes in the charging voltage of the device being charged. This prompts the user to move the device to the optimal charging position between the two devices. This allows the user to move the device to the optimal charging position. In this way, the geometric center of the receiving coil of the device being charged matches the geometric center of the transmitting coil of the charging device, improving charging efficiency.

[0142] To better understand the specific implementation process of this application, the following will further elaborate on it in conjunction with the system software structure of electronic devices and the interaction flow between various structures in the electronic device system.

[0143] Figure 9This is a schematic block diagram of the system software architecture of the electronic device according to an embodiment of the present invention.

[0144] The software system of an electronic device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This invention embodiment uses a layered architecture of Android. TM Taking the system as an example, the software structure of the electronic device is illustrated.

[0145] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, Android... TM The system is divided into four layers, from top to bottom: application layer, application framework layer, and Android. TM The Android runtime and system libraries, as well as the kernel layer.

[0146] like Figure 9 As shown, the application layer can include a series of application packages. These application packages can include applications such as camera, gallery, WeChat, browser, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0147] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0148] like Figure 9 As shown, the application framework layer may include a media provider (MP), a storage manager service (SMS), a package manager service (PMS), a notification manager, a view system, etc.

[0149] Media providers, also known as multimedia databases, use SQLite databases to store information about multimedia files such as images, videos, audio, and documents, which are then used by video players, music players, image galleries, and document editors. Android TM When other applications access the storage directory of multimedia files such as images and perform deletion or renaming operations, the media provider can be used to read the data.

[0150] The storage management service is used to manage system memory. When reading or storing data in various storage directories on system memory, you can request the corresponding read permissions from the storage management service.

[0151] Package Management Service (PMS) is primarily responsible for scanning specified directories in the system, identifying files ending in .apk, parsing these files to obtain all application information, and completing the application installation process. PMS mainly parses all information within the APK's AndroidManifest file, including information about application components such as activity, service, broadcast receiver, and media provider. This information is very useful and is provided to other services.

[0152] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0153] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc. View systems include visual controls, such as controls for displaying text, controls for displaying images, etc. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon could include views for displaying text and views for displaying images.

[0154] Android TM Runtime includes core libraries and a virtual machine. Android TM The runtime is responsible for scheduling and management of the Android system.

[0155] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0156] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0157] System libraries can include multiple functional modules. For example: surface manager, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), media libraries, etc.

[0158] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0159] 3D graphics processing libraries are used to implement 3D graphics drawing, image rendering, compositing, and layer processing. 2D graphics engines are drawing engines for 2D graphics.

[0160] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0161] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, touch drivers, sensor drivers, and file system drivers. Among these, the sensor drivers can control the sensors in this embodiment to detect data such as acceleration of the electronic device.

[0162] The embodiments disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0163] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor. The program code can be implemented using a high-level programming language or an object-oriented programming language to communicate with the processing system.

[0164] When necessary, the program code can also be implemented using assembly language or machine language. In fact, the mechanism described in this application is not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0165] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.

[0166] In the accompanying drawings, certain structural or methodological features are shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0167] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problem proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problem proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.

[0168] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. While this application has been illustrated and described with reference to certain preferred embodiments, those skilled in the art will understand that various changes in form and detail may be made therein without departing from the scope of this application.

Claims

1. A wireless charging method, characterized in that, Applied to a first electronic device, the method includes: During the charging process of the first electronic device, a first prompt message is displayed, which prompts the user to move the first electronic device in a first direction. The first electronic device moves from a first position to a second position in a first direction; When the charging performance of the first electronic device at the second position is lower than that at the first position, a second prompt message is displayed. The second prompt message is used to prompt the user to move the first electronic device in a second direction, wherein the second direction is different from the first direction. If the charging performance of the first electronic device at the second position is higher than that at the first position, a third prompt message is displayed, which prompts the user to continue moving the first electronic device in the first direction.

2. The method according to claim 1, characterized in that, During the charging process of the first electronic device, the display of a first prompt message includes: Obtain the first charging data of the first electronic device; If the first charging data does not meet the first threshold, the first prompt message is displayed.

3. The method according to claim 1, characterized in that, The second prompt message corresponding to the charging performance of the first electronic device at the second position being lower than its charging performance at the first position includes: Acquire second charging data of the first electronic device at the first location, and third charging data of the first electronic device at the second location; When the second charging data is greater than the third charging data, the second prompt message is displayed.

4. The method according to claim 1, characterized in that, The third prompt message is displayed when the charging performance of the first electronic device at the second location is higher than that at the first location, including: Acquire second charging data of the first electronic device at the first location, and third charging data of the first electronic device at the second location; If the third charging data is greater than the second charging data, the third prompt message is displayed.

5. The method according to claim 1, characterized in that, The method further includes: The first electronic device moves from the second position to the third position in a first direction; If the charging performance of the first electronic device at the third position is higher than that at the second position, a fourth prompt message is displayed, which prompts the user to stop moving the first electronic device.

6. The method according to claim 5, characterized in that, The first electronic device moves from the second position to the third position in a first direction and displays a fourth prompt message, including: Obtain fourth charging data of the first electronic device at the third location; The first electronic device moves from a third position to a fourth position in a first direction and acquires fifth charging data of the first electronic device at the fourth position, wherein the fifth charging data is equal to the fourth charging data; When the fifth charging data is equal to the fourth charging data, the fourth prompt message is displayed.

7. The method according to claim 5, characterized in that, The method further includes: The first electronic device moves from the first position to the second position in a first direction and displays a fifth prompt message. The fifth prompt message is used to prompt the user to move the first electronic device in a third or fourth direction. Wherein, the third direction and the fourth direction are different from the first direction and the second direction, and the third direction or the fourth direction is a direction that improves the charging performance of the first electronic device.

8. The method according to claim 3, characterized in that, The first charging data and the second charging data include the charging voltage or charging current of the first electronic device.

9. The method according to claim 7, characterized in that, The first direction and the second direction are opposite directions, and the third direction and the fourth direction are opposite directions.

10. An electronic device, characterized in that, include: The processor and memory, the memory including physical memory and secondary memory, are used to store instructions executed by one or more processors of the electronic device; And a processor for executing the instructions to cause the electronic device to implement the wireless charging method of any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by the electronic device, causes the electronic device to implement the wireless charging method according to any one of claims 1 to 9.

12. A computer program product, characterized in that, Includes a computer program / instruction that, when the computer program product is run on an electronic device, causes the electronic device to implement the wireless charging method according to any one of claims 1 to 9.