Charging management method, readable medium, electronic device, and program product

CN122993301APending Publication Date: 2026-10-27HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510505414.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-21
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]但是,在一些情况下,例如供电设备与用电设备的传输距离过大、供电设备的发射线圈与用电设备的接收线圈之间距离较远的情况下,即使供电设备与用电设备之间没有导体异物,也会导致功率损耗过大

Benefits of technology

[0022]上述第二方面至第五方面的有益效果,可以参考上述第一方面以及第一方面的各种可能的实现中的相关描述,在此不做赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122993301A_ABST
    Figure CN122993301A_ABST
Patent Text Reader

Abstract

The application relates to the wireless charging technical field and discloses a charging management method, a readable medium, an electronic device and a program product. The method in the application comprises that a power supply device or a power utilization device is configured with a FOD threshold value of a FOD mechanism. In the case that there is no trust relationship between the power supply device and the power utilization device, the power supply device or the power utilization device can set the FOD threshold value of the power supply device as a first value; in the case that there is a trust relationship between the power supply device and the power utilization device, the power supply device or the power utilization device can set the FOD threshold value as a second value, wherein the second value is greater than the first value. In the process of wireless charging, if the power supply device can stop charging the power utilization device when the cut-off condition is met. In this way, in the case that there is a trust relationship between the power supply device and the power utilization device, the problem that the FOD mechanism is triggered to frequently cut off the power supply can be avoided due to the adoption of the higher second value, so that the wireless charging efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of wireless charging technology, power supply equipment can wirelessly charge electrical devices. To avoid safety hazards caused by the presence of conductive foreign objects (e.g., metal) in the area between the power supply equipment and the electrical device, the power supply equipment will stop charging the electrical device when there is significant power loss between them.

[0003] However, in some situations, such as when the transmission distance between the power supply equipment and the user equipment is too large, or when the distance between the transmitting coil of the power supply equipment and the receiving coil of the user equipment is too far, excessive power loss can occur even if there are no conductive foreign objects between the power supply equipment and the user equipment. In these cases, the power supply equipment will still stop charging the user equipment, causing an interruption in the charging process and affecting the user experience. Summary of the Invention

[0004] The purpose of this application is to provide a charging management method, a readable medium, an electronic device, and a program product. The charging management method includes:

[0005] The first aspect of this application provides a charging management method applied to a first electronic device, comprising: detecting a second electronic device to be charged; configuring a power loss threshold value to a first value when there is no trust relationship between the second electronic device and the first electronic device, or configuring a power loss threshold value to a second value when there is a trust relationship between the second electronic device and the first electronic device, wherein the power loss threshold is used to determine whether there are foreign objects in the area where the first electronic device and the second electronic device are located, and the second value is greater than the first value; during the wireless charging of the second electronic device, detecting that a charging interruption condition is met, and stopping charging the second electronic device, wherein the charging interruption condition is related to the value of the power loss threshold.

[0006] For example, if the device identifier of the power supply device belongs to at least one preset device identifier, or if the power supply device receives first information sent by the power user device, and the first information indicates that the power supply device is allowed to adjust the power loss threshold, or if the power supply device and the power user device can communicate through a first communication protocol, then the power supply device can determine that there is a trust relationship between the power supply device and the power user device.

[0007] For example, if the device identifier of the power supply device does not belong to at least one preset device identifier, and the power supply device does not receive the first information sent by the power user device, and the power supply device and the power user device cannot communicate through the first communication protocol, then the power supply device can determine that there is no trust relationship between the power supply device and the power user device.

[0008] It is understandable that when there is no trust relationship between the power supply equipment and the power consumption equipment, the power supply equipment can configure the power loss threshold value to a first value. When there is a trust relationship between the power supply equipment and the power consumption equipment, the power supply equipment can configure the power loss threshold value to a second value. The second value is greater than the first value.

[0009] In this way, when there is a trust relationship between the power supply equipment and the power consumption equipment, the power loss threshold of the power supply equipment is a larger second value. This can avoid the problem of frequent charging interruptions caused by the power consumption equipment deviating from the charging area and triggering the foreign object detection (FOD) mechanism. This can improve wireless charging efficiency and enhance the user experience.

[0010] In one possible implementation of the first aspect above, the trust relationship between the second electronic device and the first electronic device includes: the device identifier of the second electronic device belongs to at least one preset device identifier; or, receiving first information sent by the second electronic device, the first information indicating that the first electronic device is allowed to adjust the power loss threshold; or, the second electronic device and the first electronic device communicate through a first communication protocol.

[0011] In one possible implementation of the first aspect above, when the power loss threshold is configured to a second value, the charging interruption condition includes: the power loss of the first electronic device charging the second electronic device is greater than or equal to the second value; or, the power loss of the first electronic device charging the second electronic device is less than the second value and at least one of the following conditions is met: the charging current of the second electronic device is less than a current threshold, the duration for which the charging current of the second electronic device is less than the current threshold is greater than a first duration, and the charging voltage of the second electronic device is less than a voltage threshold.

[0012] It is understandable that if the power loss of the first electronic device charging the second electronic device is greater than or equal to a second value, the first electronic device will stop charging the second electronic device. In this way, the FOD mechanism can be triggered when the power loss is greater than or equal to the second value, and the power supply equipment will stop charging the power consumption equipment, avoiding the safety risks caused by excessive power loss.

[0013] It is understood that if the power loss is less than the second value and at least one of the following conditions is met: the charging current of the second electronic device is less than the current threshold, the duration of the charging current of the second electronic device being less than the current threshold is greater than the first duration, and the charging voltage of the second electronic device is less than the voltage threshold, the first electronic device will stop charging the second electronic device to avoid safety risks caused by excessive power loss.

[0014] In one possible implementation of the first aspect above, the method further includes: prompting the user to adjust the position of the second electronic device, and / or sending a second message to the second electronic device, the second message prompting the user to adjust the position of the second electronic device.

[0015] A second aspect of this application provides a charging management method applied to a second electronic device, comprising: detecting a first electronic device, the first electronic device being used to wirelessly charge the second electronic device; configuring a power loss threshold value to a first value when there is no trust relationship between the second electronic device and the first electronic device, or configuring a power loss threshold value to a second value when there is a trust relationship between the second electronic device and the first electronic device, wherein the power loss threshold is used to determine whether there are foreign objects in the area where the first electronic device and the second electronic device are located, and the second value is greater than the first value; during the process of the first electronic device wirelessly charging the second electronic device, detecting that a charging disconnection condition is met, and sending third information to the first electronic device, wherein the third information instructs the first electronic device to stop charging the second electronic device, and the charging disconnection condition is related to the value of the power loss threshold.

[0016] In one possible implementation of the second aspect above, the trust relationship between the second electronic device and the first electronic device includes: the device identifier of the first electronic device belongs to at least one preset device identifier; or, receiving fourth information sent by the first electronic device, the fourth information indicating that the second electronic device is allowed to adjust the power loss threshold; or, the second electronic device and the first electronic device communicate through a first communication protocol.

[0017] In one possible implementation of the second aspect above, when the power loss threshold is configured to a second value, the charging interruption condition includes: the power loss of the first electronic device charging the second electronic device is greater than or equal to the second value; or, the power loss of the first electronic device charging the second electronic device is less than the second value and at least one of the following conditions is met: the charging current of the second electronic device is less than a current threshold, the duration for which the charging current of the second electronic device is less than the current threshold is greater than a first duration, and the charging voltage of the second electronic device is less than a voltage threshold.

[0018] In one possible implementation of the second aspect above, the method further includes prompting the user to adjust the position of the second electronic device.

[0019] A third aspect of this application provides a readable medium storing instructions that, when executed on an electronic device, cause the electronic device to perform any of the charging management methods described in the first aspect or any of the charging management methods described in the second aspect.

[0020] A fourth aspect of this application provides an electronic device, including a memory for storing instructions executable by one or more processors of the electronic device, and a processor, which is one of the processors of the electronic device, the electronic device being used to execute any of the charging management methods in the first aspect above, or any of the charging management methods in the second aspect above.

[0021] The fifth aspect of this application provides a program product including instructions that, when executed by a processor, implement any one of the charging management methods in the first aspect or any one of the charging management methods in the second aspect.

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

[0023] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0024] Figure 1 According to some embodiments of this application, a schematic diagram of a scenario in which a mobile phone 100 wirelessly charges a watch 200 is shown;

[0025] Figure 2 According to some embodiments of this application, a schematic diagram of a power supply device wirelessly charging an electrical device is shown;

[0026] Figure 3 According to some embodiments of this application, a schematic diagram of another power supply device wirelessly charging an electrical device is shown;

[0027] Figure 4A According to some embodiments of this application, a schematic diagram of communication between a mobile phone 100 and a watch 200 is shown;

[0028] Figure 4B According to some embodiments of this application, a schematic diagram of a watch display icon is shown;

[0029] Figure 4C According to some embodiments of this application, a schematic diagram of a watch displaying prompt information is shown;

[0030] Figure 5 According to some embodiments of this application, a schematic diagram of the interactive implementation process of a charging management method is shown;

[0031] Figure 6 According to some embodiments of this application, a schematic diagram of the structure of an electrical device is shown;

[0032] Figure 7 According to some embodiments of this application, a schematic block diagram of the software structure of a watch system architecture is shown;

[0033] Figure 8 According to some embodiments of this application, a structural schematic diagram of a mobile phone is shown;

[0034] Figure 9 According to some embodiments of this application, a structural schematic diagram of a watch is shown. Detailed Implementation

[0035] The illustrative embodiments of this application include, but are not limited to, a charging management method, a readable medium, an electronic device, and a program product.

[0036] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be described clearly and in detail below with reference to the accompanying drawings.

[0037] It is understood that the electronic devices mentioned in the embodiments of this application may be referred to as terminals, user equipment (UE), mobile phones, smart TVs, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and other similar devices.

[0038] It is understood that, in the embodiments of this application, the power supply device with wireless charging function includes, but is not limited to, laptop computers, desktop computers, tablet computers, smartphones, wearable devices, head-mounted displays, mobile email devices, portable game consoles, portable music players, e-reader devices, televisions in which one or more processors are embedded or coupled, car audio equipment, or other electronic devices with wireless charging function. For ease of description, the power supply device will be described as mobile phone 100 below.

[0039] Electrical devices include, but are not limited to, smart wearable devices such as watches, bracelets, rings, and ear clips, as well as electronic devices with wireless charging capabilities such as smartphones, mini speakers, and head-mounted displays. For ease of description, the following text will use watch 200 as an example of an electrical device.

[0040] During wireless charging, the power supply equipment and / or the power consumption equipment can use the FOD mechanism to determine whether there are conductive foreign objects such as metals in the area where the power supply equipment and the power consumption equipment are located (e.g., the area covered by the alternating magnetic field generated by the transmitting coil of the power supply equipment).

[0041] For example, during the wireless charging process of a power supply device, if the power loss of the power supply device during wireless charging is greater than or equal to a power loss threshold, it can determine that there is a conductive foreign object between the power supply device and the power supply device, and therefore, the power supply device will stop charging the power supply device. It can be understood that the aforementioned power loss threshold corresponds to the threshold set by the FOD mechanism, and in some embodiments, it can also be referred to as the FOD threshold. For ease of description, the FOD threshold will be used in the following description.

[0042] It is understood that wireless charging can include wireless reverse charging between a power supply device and a user device, as well as the process of wirelessly charging a user device using a wireless charging device (such as a wireless charger). The following text will continue to describe wireless charging.

[0043] It is understandable that when there are conductive foreign objects such as metal in the area where the power supply equipment and the electrical equipment are located, the conductive foreign objects will induce current in the magnetic field, consume the power output of the power supply equipment, and generate a large amount of heat. This may lead to damage to the power supply equipment (or electrical equipment) or safety accidents such as fires. To prevent the above accidents, the power supply equipment (or electrical equipment) can use a FOD (Foreign Object Depletion) mechanism to promptly disconnect charging when the power supply equipment (or electrical equipment) detects a power loss greater than or equal to the FOD threshold, thus preventing safety accidents.

[0044] It's important to note that power loss refers to the electrical energy loss during wireless charging due to various factors such as low transmission efficiency, coil loss, magnetic core loss, radiation loss, and circuit loss. Poor alignment between the transmitting coil of the power supply device and the receiving coil of the user device, or increased distance between them, will lead to increased power loss. Typically, power loss can be determined by the difference between the transmitting power of the power supply device and the receiving power of the user device. For example, if the transmitting power of the power supply device is 10 watts (W) and the receiving power of the user device is 8W, then the difference between the transmitting and receiving power is 2W, meaning that the power loss during the charging process is 2W.

[0045] As mentioned earlier, in some cases, such as when the transmission distance between the power supply equipment and the power consumption equipment is too large, or when the distance between the transmitting coil of the power supply equipment and the receiving coil of the power consumption equipment is too far, even if there are no conductors or foreign objects between the power supply equipment and the power consumption equipment, it will still lead to excessive power loss and trigger the FOD mechanism. The power supply equipment will still stop charging the power consumption equipment, resulting in an interruption in the charging process and affecting the user experience.

[0046] The following example uses a mobile phone 100 as the power supply device and a watch 200 as the power consumer device to illustrate the scenario of the mobile phone 100 charging the watch 200.

[0047] For example, such as Figure 1 The diagram shows a scenario where a mobile phone 100 wirelessly charges a watch 200.

[0048] refer to Figure 1 When the watch 200 is located within the charging area of ​​the mobile phone 100, the mobile phone 100 can wirelessly charge the watch 200 normally (that is, during the process of the mobile phone 100 wirelessly charging the watch 200, the power loss is less than the FOD threshold).

[0049] However, if the watch 200 moves due to user error or other reasons, thus deviating from the charging area of ​​the phone 100 (e.g., in...), Figure 1 If the center of watch 200 moves from position a to position b, it will lead to increased power loss. When the power loss of wireless charging is greater than or equal to the FOD threshold, the FOD mechanism will be triggered. At this time, phone 100 will stop charging watch 200, resulting in charging interruption. That is, the current FOD mechanism cannot recognize the situation where the device deviates from the charging area, which can easily lead to frequent charging interruptions. This results in low wireless charging efficiency and affects the user experience.

[0050] It is understandable that a foreign conductor in an alternating magnetic field will induce a current, and this induced current will generate Joule heat (i.e., resistance loss) as it flows inside the conductor. This induced current will cause the aforementioned power loss, consuming the transmission power of the power supply equipment. Therefore, to avoid the presence of foreign conductors in the alternating magnetic field, a FOD (Foreign Object Defect) mechanism can be used to stop charging the power supply equipment when it detects a power loss greater than or equal to the FOD threshold, thereby preventing the consumption of the power supply equipment's transmission power.

[0051] To address the aforementioned issues, this application provides a charging management method. In this method, the power supply device or the user device is configured with a FOD threshold for implementing a FOD mechanism. When there is no trust relationship between the power supply device and the user device, the power supply device or user device can configure the power loss threshold value to a first value; when there is a trust relationship between the power supply device and the user device, the power supply device or user device can configure the power loss threshold value to a second value, wherein the second value is greater than the first value. During the charging process of the user device, the power supply device can stop charging the user device if a charging interruption condition related to the power loss threshold value is met. Thus, when there is a trust relationship between the power supply device and the user device, the use of a higher second value can avoid the problem of frequent charging interruptions caused by the user device deviating from the charging area and triggering the FOD mechanism, thereby improving wireless charging efficiency and enhancing the user experience.

[0052] It is understood that the above-mentioned charging interruption conditions may be related to the above-mentioned second value. Correspondingly, satisfying the above-mentioned charging interruption conditions may include one or more of the following: the power supply device detects a power loss greater than or equal to the second value corresponding to the FOD threshold; the power user device detects a power loss greater than or equal to the second value corresponding to the FOD threshold; the charging current of the power user device is less than the current threshold; the duration for which the charging current of the power user device is less than the current threshold is greater than a first duration; the power user device detects a power loss greater than or equal to the second value corresponding to the FOD threshold, and the charging current of the power user device is less than the current threshold; the power user device detects a power loss greater than or equal to the second value corresponding to the FOD threshold, and the duration for which the charging current of the power user device is less than the current threshold is greater than a first duration. In some other embodiments, satisfying the above-mentioned charging interruption conditions may also include other reasonable situations, which are not limited here.

[0053] It is understood that the aforementioned trust relationship may include one or more of the following: the device identifier of the power supply equipment belongs to at least one preset device identifier; the power supply equipment receives first information sent by the power user equipment, the first information indicating that the power supply equipment is allowed to adjust the power loss threshold; the power supply equipment and the power user equipment communicate through a first communication protocol, wherein, when the power supply equipment and the power user equipment communicate through the first communication protocol, the device identifier of the power supply equipment belongs to at least one preset device identifier.

[0054] The equipment identifier may include one or more of the following: the model number, model code, supplier identification code, product serial number, serial number (SN), international mobile equipment identity (IMEI), etc. It can be understood that the power supply equipment can identify whether its equipment identifier belongs to at least one preset equipment identifier, and the power supply equipment can also identify whether the power supply equipment's equipment identifier belongs to at least one preset equipment identifier.

[0055] For example, the preset device identifier can be [Supplier Identifier 1, Supplier Identifier 2, Supplier Identifier 3]. If the device identifier of the power supply device is Supplier Identifier 1, Supplier Identifier 2, or Supplier Identifier 3, it can be determined that there is a trust relationship between the power supply device and the power consumption device. In this case, the power supply device can adjust the FOD threshold to the second value. In other embodiments, the device identifier can also be other reasonable device identifiers, which are not limited here.

[0056] In some embodiments, when the power supply meets the charging interruption conditions, the power supply prompts the user to adjust the position of the electrical device. The power supply may also send a second message to the electrical device, instructing the device to prompt the user to adjust the position of the electrical device.

[0057] As mentioned earlier, by setting a larger second value, the problem of frequent charging interruptions caused by the device deviating from the charging area of ​​the power supply device and triggering the FOD mechanism can be avoided, thereby improving wireless charging efficiency and enhancing the user experience.

[0058] The charging management method mentioned in this application will be described in detail below with reference to the accompanying drawings.

[0059] Figure 2 An implementation flowchart of a charging management method is shown in an embodiment of this application.

[0060] In the embodiments of this application, Figure 2The executing entity for each step in the process shown can be the first electronic device (i.e., the power supply device) mentioned earlier, such as the aforementioned mobile phone 100. Correspondingly, the power receiving device, such as the aforementioned second electronic device, can be an electronic device like a watch 200.

[0061] Specifically, such as Figure 2 As shown, the process may include:

[0062] S201: A second electronic device to be charged has been detected.

[0063] In some embodiments, the aforementioned detection of a second electronic device to be charged refers to the fact that, under normal circumstances, the power supply device can detect whether a device is near it using a pulse signal. Specifically, when the device senses the pulse signal emitted by the power supply device, it will send a response signal back to the power supply device. The power supply device receives the response signal from the device, indicating that it has detected a device to be charged.

[0064] For example, such as Figure 4A As shown, mobile phone 100 transmits a pulse signal, watch 200 receives the pulse signal and transmits a response signal to mobile phone 100, thus establishing a communication connection between mobile phone 100 and watch 200. In this way, through the communication connection established between mobile phone 100 and watch 200, mobile phone 100 detects that watch 200 has entered its charging area.

[0065] In other embodiments, the detection of the second electronic device to be charged can also involve the power supply device transmitting a data packet to establish a communication connection. This data packet is used by the power supply device to detect the device to be charged. If the device receives the data packet and establishes a communication connection with the power supply device, then the power supply device has detected the second electronic device to be charged.

[0066] It is understood that the above-mentioned detection of a second electronic device to be charged may also include other reasonable circumstances, which are not limited here.

[0067] S202: When there is no trust relationship between the second electronic device and the first electronic device, the power loss threshold value is configured to a first value; or, when there is a trust relationship between the second electronic device and the first electronic device, the power loss threshold value is configured to a second value, wherein the power loss threshold is used to determine whether there are foreign objects in the area where the first electronic device and the second electronic device are located, and the second value is greater than the first value.

[0068] In some embodiments, a trust relationship between the power supply equipment and the power consumption equipment means that the device identifier of the power consumption equipment belongs to at least one preset device identifier. The content of the device identifier can be found in the foregoing description of device identifiers in the specification, and will not be repeated here.

[0069] In other embodiments, the trust relationship between the power supply equipment and the power consumption equipment may also refer to the power supply equipment receiving a first message sent by the power consumption equipment, the first message indicating that the power supply equipment is allowed to adjust the power loss threshold.

[0070] For example, the first information may be a parameter in a data packet sent by the power device to the power supply device. When the power supply device receives the above parameter, the power supply device configures the power loss threshold value to a second value.

[0071] In other embodiments, the trust relationship between the power supply equipment and the power consumption equipment may also refer to the trust relationship between the power supply equipment and the power consumption equipment when they communicate through a first communication protocol.

[0072] It is understood that a trust relationship between a power supply device and a power consumption device can be determined by one or more of the following methods: the power consumption device can communicate with the power supply device through a first communication protocol; or the device identifier of the power consumption device belongs to at least one preset device identifier; or the power supply device receives a first message sent by the power consumption device, the first message indicating that the power supply device is allowed to adjust the power loss threshold.

[0073] For example, a power-consuming device can send information to a power supply device via a first communication protocol. In some embodiments, this information may include the device identifier of the power-consuming device. If the device identifier of the power-consuming device belongs to at least one preset device identifier, the power supply device can determine that the power supply device and the power-consuming device have a trust relationship. In other embodiments, this information may also be first information. In this way, the power supply device can determine that the power supply device and the power-consuming device have a trust relationship.

[0074] In some embodiments, the power supply equipment may also determine whether the power supply equipment and the power consumption equipment have a trust relationship through other reasonable methods, without limitation.

[0075] It is understood that if the electrical device cannot communicate with the power supply device through the first communication protocol, and the device identifier of the electrical device does not belong to at least one of the preset device identifiers, and the power supply device has not received the first information sent by the electrical device, and the power supply device has not determined through other reasonable methods that the power supply device and the electrical device have a trust relationship, then the power supply device can determine that the power supply device and the electrical device do not have a trust relationship.

[0076] It's understandable that when the power supply device detects a device to be charged, if there's no trust relationship between the power supply device and the device, the power supply device will configure the power loss threshold to a first value. If there is a trust relationship, the power supply device will configure the power loss threshold to a second value, where the second value is greater than the first value. Thus, during wireless charging of the device, and when there is a trust relationship, the power supply device can use the higher second value to prevent the device from deviating from the charging area and triggering the FOD (Foreign Object Delay) mechanism, which could lead to frequent charging interruptions. This improves wireless charging efficiency and enhances the user experience.

[0077] In some feasible ways, the first value mentioned above can be a value related to power loss set based on experience, such as 300 milliwatts (mW), etc., without limitation.

[0078] In some feasible ways, the second value mentioned above can be a value related to power loss set based on experience, such as 400 milliwatts (mW), etc., without limitation.

[0079] S203: During the wireless charging of the second electronic device, if the charging interruption condition is detected, the charging of the second electronic device is stopped. The charging interruption condition is related to the value of the power loss threshold.

[0080] In some embodiments, as described above, the charging interruption condition can be that the power loss of the power supply device charging the device is greater than or equal to a second value. It is understood that when the power loss is greater than or equal to the second value, the power supply device will trigger the FOD mechanism, thereby stopping the power supply device from charging the device.

[0081] In other embodiments, as previously described, the charging interruption condition may also be that the power loss of the power supply device charging the device is less than a second value and at least one of the following conditions is met: the charging current of the device is less than a current threshold, the duration for which the charging current of the device is less than the current threshold is greater than a first duration, and the charging voltage of the device is less than a voltage threshold.

[0082] It is understandable that if the charging current of the device is less than the current threshold, or if the duration of the charging current being less than the current threshold exceeds a first duration, the current of the device is too low, resulting in slow charging efficiency. For example, if a battery has a capacity of 1000 mAh and the charging current is 0.5 mA, it would take 83.33 days to fully charge. This is meaningless in practical applications and degrades the user experience. Therefore, when the device detects a low current, it can be determined that the charging interruption condition has been met. At this point, the device can prompt the user to adjust the position of the second electronic device via the aforementioned second message. For example, the second message could be something like "The watch's charging position has shifted; please move the watch and try again," etc. Please refer to the relevant figures and descriptions below for details, which will not be elaborated upon here.

[0083] It is understandable that if the charging voltage of the device is lower than the voltage threshold, the voltage is too low and the charging efficiency is too slow to be considered significant. Therefore, the power supply device stops charging the device. For example, the charging voltage of a lithium battery is typically around 4.2 volts (V). If the charging voltage of a lithium battery is only 0.5V, the device may not be able to detect a valid charging signal. Therefore, if the device detects a voltage that is too low, it can be determined that the charging interruption condition has been met. At this point, the device can instruct the user to adjust the position of the second electronic device via the aforementioned second message.

[0084] Thus, based on the execution process of S201 to S203 above, the trigger control of the FOD mechanism can be realized, which can avoid the problem of frequent charging interruption caused by the device deviating from the charging area and triggering the FOD mechanism. This can improve the efficiency of wireless charging and enhance the user experience.

[0085] The charging management method mentioned in this application will be described in detail below with reference to another attached figure.

[0086] Figure 3 According to an embodiment of this application, a flowchart illustrating a charging management method in another wireless charging scenario is shown.

[0087] In the embodiments of this application, Figure 3 The execution entity for each step in the illustrated method can be the second electronic device (i.e., the device using electricity) mentioned above. In this embodiment, the device using electricity can be, for example, an electronic device such as a watch 200. Furthermore, the device using electricity has at least a first processor, which controls the display screen to display information such as charging status, battery level, and prompts. The first processor can also be used to obtain information such as whether the device is in a false charging state and the current level.

[0088] A false charging state can be understood as a situation where the electrical device displays a charging indicator, but the device has actually stopped charging. The charging indicator can include icons, text, and / or numbers.

[0089] In this embodiment, the aforementioned electrical device further includes at least a receiver (RX) chip, hereinafter referred to as the receiver. The RX chip also includes a second processor, which is used for communication between the electrical device and the power supply. The second processor can also convert the AC power received by the electrical device from the power supply into DC power. Furthermore, the second processor can determine the presence of conductive foreign objects based on power loss. In some embodiments, both the first processor and the second processor can be microcontroller units (MCUs), or the first processor can be a CPU and the second processor can be an MCU; no limitation is imposed here.

[0090] Specifically, such as Figure 3 As shown, the process may include:

[0091] S301: An interrupt signal was detected at the receiving end.

[0092] For example, during wireless charging, the receiver of the device may generate an interrupt signal under any of the following circumstances:

[0093] Scenario 1: When the receiving end finishes receiving data, it will generate an interrupt signal.

[0094] Scenario 2: When abnormal situations such as communication errors, overcurrent, or overvoltage occur in the electrical equipment, the receiving end will generate an interrupt signal.

[0095] Scenario 3: When the state of the electrical device changes, such as from standby to charging, from charging to fully charged, or from charging to discontinued, the receiver will generate an interrupt signal.

[0096] The first processor can detect that the receiving end generates an interrupt signal. This can include the electrical device detecting a pulse signal emitted by the power supply device, and the receiving end of the electrical device generating an interrupt signal. The receiving end can send the generated interrupt signal to the first processor through a hardware pin, and the first processor can receive and detect the interrupt signal accordingly.

[0097] For example, such as Figure 4AAs shown, when the user places the watch 200 in the charging area of ​​the mobile phone 100, the watch 200 detects the pulse signal emitted by the mobile phone 100 and sends a response signal to the mobile phone 100. Thus, the watch 200 detects the mobile phone 100. Therefore, the receiver of the watch 200 generates an interrupt signal, and the receiver of the watch 200 can send the generated interrupt signal to the first processor of the watch 200 through a hardware pin. Correspondingly, the first processor of the watch 200 can receive and detect the interrupt signal.

[0098] S302: Read the interrupt register of the receiving end.

[0099] In some feasible implementations, the device reading the interrupt register of the receiver may include, upon detecting an interrupt signal generated by the receiver, the first processor of the device reading the interrupt register of the receiver, which may store relevant information about the interrupt signal. This relevant information may include interrupt request status, interrupt source (e.g., timer interrupt, external interrupt), interrupt priority, and other related information.

[0100] S303: Determine whether the receiver is in an interrupt state.

[0101] If the judgment result is yes, that is, the receiving end is in an interrupt state, the first processor can continue to execute S304 and S306 below.

[0102] If the determination result is negative, that is, the receiving end is not in an interrupt state, the first processor can continue to execute S305 below.

[0103] In some feasible ways, the first processor of the power device determining whether the receiver is in an interrupt state may include, if the first processor determines by reading the interrupt register that the interrupt source of the interrupt signal is a wireless charging interrupt and the interrupt request status is 1, the first processor may determine that the power device has entered the area where the power supply device is located, and the receiver generates an interrupt signal.

[0104] It is understandable that electrical devices can manage information related to interrupt signals through interrupt registers. Specifically, when the receiving end generates an interrupt signal, the interrupt controller of the first processor receives the interrupt signal and executes corresponding processing. The first processor can obtain information related to the interrupt signal by reading the interrupt register of the receiving end. The first processor can also execute the corresponding interrupt handling mechanism in response to the detected interrupt signal. For example, if the interrupt source of the interrupt signal is wireless charging (i.e., the receiving end of the electrical device generates an interrupt signal because the electrical device enters the charging area of ​​the power supply device), then the first processor can execute the interrupt handling mechanism corresponding to wireless charging.

[0105] S304: Displays a charging icon.

[0106] In some feasible implementations, displaying a charging icon on a device may include displaying the charging icon on a screen when the device's first processor determines that the receiver is in an interrupted state. This icon serves as a prompt to the user that the device has entered the charging area of ​​the power supply, and the power supply begins charging the device.

[0107] For example, such as Figure 4B As shown, when the watch 200 is placed in the charging area of ​​the mobile phone 100, an icon is displayed on the screen of the watch 200 to prompt the user that the watch 200 is placed in the charging area of ​​the mobile phone 100, and the mobile phone 100 begins to charge the watch 200.

[0108] S305: Stop executing the charging management method.

[0109] In some possible implementations, the device may stop executing the charging management method when the interrupt request status is 0 and the first processor can determine that the receiving end is not in an interrupt state.

[0110] S306: Communicates with power supply equipment via a proprietary protocol.

[0111] In some possible implementations, communication between the power supply device and the power user device via a proprietary protocol may include, if the first processor determines that the receiving end is in an interrupt state, the power user device determining, by executing S307, whether the receiving end can set the FOD threshold to a second value. Specifically, in some embodiments, if the power user device determines that the device identifier of the power supply device belongs to at least one preset device identifier, the receiving end can set the FOD threshold to the second value. In other embodiments, if the power user device determines that the device identifier of the power supply device does not belong to at least one preset device identifier, the receiving end cannot set the FOD threshold to the second value.

[0112] In some embodiments, the power-consuming device and the power supply device can communicate via a proprietary protocol to obtain information related to wireless charging (such as the device identifier of the power supply device).

[0113] It is understandable that the universal standard protocol for wireless charging technology can be the Qi (Qi Wireless Charging Standard) protocol. The Qi protocol is based on the principle of electromagnetic induction, achieving power transfer through magnetic field coupling between the power supply device and the user device. Specifically, the power supply device generates a high-frequency oscillating electromagnetic field, inducing a current in the coil of the user device, thereby charging the device. Furthermore, the Qi protocol specifies the interaction between the power supply device and the user device, including the power transfer method, the wireless charging frequency, and the efficiency requirements for wireless charging.

[0114] Specifically, the communication process between the power supply equipment and the user equipment via the Qi protocol includes: the power supply equipment detecting whether an object is placed on it. Next, if the power supply equipment confirms the presence of an object, the user equipment detects the magnetic field strength around the receiving end and determines whether there are any conductive foreign objects in the area where both the power supply equipment and the user equipment are located. Then, the user equipment sends a device identifier and charging request to the power supply equipment, which charges the user equipment based on the received device identifier and charging request. The charging request can include the required power for wireless charging, the maximum power limit for wireless charging, etc. The device identifier can include a supplier identification code, product serial number, etc.

[0115] However, in order to improve the charging efficiency of wireless charging, suppliers of electronic devices (including power supply equipment and power consumption equipment) typically develop proprietary protocols to enhance this efficiency. Among these protocols, wireless charging between the power supply equipment and the power consumption equipment via proprietary protocols can achieve significantly higher charging efficiency compared to wireless charging of the power consumption equipment using the Qi protocol.

[0116] In other embodiments, if the device identifier of the power supply device belongs to at least one preset device identifier, the power supply device can wirelessly charge the receiving end according to a proprietary protocol. For example, if the device identifier is a supplier, the power supply device whose supplier is the first supplier can charge the device using a proprietary protocol to achieve more efficient charging.

[0117] S307: Determine whether the device identifier of the power supply equipment belongs to at least one preset device identifier.

[0118] If the judgment result is yes, that is, the device identifier of the power supply equipment belongs to at least one preset device identifier, the receiving end can continue to execute S309.

[0119] If the judgment result is negative, that is, the device identifier of the power supply equipment does not belong to at least one preset device identifier, the receiving end can continue to execute S308.

[0120] In some feasible methods, the power user can obtain the device identifier of the power supply equipment according to a proprietary protocol. Based on the device identifier of the power supply equipment, the power user can determine whether the device identifier of the power supply equipment belongs to at least one preset device identifier.

[0121] It is understandable that the power user sends a data packet containing the device identifier of the power user to the power supply device, but the power supply device does not send a data packet to the power user; or, the power user cannot identify the information contained in the data packet sent by the power supply device; or, the power supply device sends a data packet to the power user, and the power user determines based on the device identifier in the data packet that the device identifier of the power supply device does not belong to at least one preset device identifier, then the power user can determine that the device identifier of the power supply device does not belong to at least one preset device identifier.

[0122] For example, the device identifier of the power supply equipment can be a supplier identification code. The watch 200 can determine whether the supplier of the mobile phone 100 is the first supplier based on the supplier identification code. If the supplier of the mobile phone 100 is not the first supplier, the mobile phone 100 can continue to execute S308. If the supplier of the mobile phone 100 is the first supplier, the mobile phone 100 can continue to execute S309.

[0123] S308: The process of executing the equipment identification of the power supply equipment is not a preset equipment identification.

[0124] In some feasible methods, the process of the power supply device's device identifier not belonging to a preset device identifier may include, when the power supply device determines that the power supply device's device identifier does not belong to at least one preset device identifier, the power supply device may, based on the process of the power supply device's device identifier not belonging to a preset device identifier, handle the situation where the power supply device stops charging the receiving end.

[0125] For example, if the user device determines that the device identifier of the power supply device does not belong to at least one preset device identifier, the process for determining that the device identifier of the power supply device does not belong to the preset device identifiers can be as follows: the user device enters a false charging state; or, the power supply device performs wireless charging on the user device according to the Qi protocol; or, the user device sends a prompt message to the power supply device, which prompts the power supply device to stop charging the user device. The process for determining that the device identifier of the power supply device does not belong to the preset device identifiers can also be handled in other ways depending on the actual situation, and is not limited here.

[0126] In some feasible ways, situations where electrical equipment may experience a false charging state can include one or more of the following:

[0127] Scenario 1: If the device does not support wireless charging, it may appear to be in a false charging state.

[0128] Scenario 2: In cases where the power supply equipment and the power consumption equipment are incompatible, the proprietary protocol versions of the power supply equipment and the power consumption equipment may not match. In such cases, the power consumption equipment may exhibit a false charging behavior.

[0129] Scenario 3: The transmitting coil of the power supply equipment or the receiving coil of the power consumption equipment is faulty, which prevents the power supply equipment and the power consumption equipment from establishing an electromagnetic induction connection. As a result, the power consumption equipment may be in a false charging state.

[0130] Scenario 4: During wireless charging, if the device is not placed in the charging area of ​​the power supply, the transmitting coil and receiving coil may not be properly aligned, resulting in the device appearing to be in a false charging state.

[0131] Scenario 5: In some embodiments, when the power supply device is close to being fully charged, the power supply device will automatically stop charging. As a result, the power supply device may be in a false charging state.

[0132] S309: Set the FOD threshold to the second value.

[0133] In some feasible implementations, setting the FOD threshold to a second value for the device can include, when the device determines that the device identifier of the power supply device belongs to at least one preset device identifier, the second processor of the device sets the FOD threshold to the second value. As mentioned earlier, the second value is greater than the first value. Thus, compared to setting the FOD threshold to the first value, setting the FOD threshold to the second value avoids the problem of frequent charging interruptions caused by the device deviating from the charging area of ​​the power supply device and triggering the FOD mechanism. This improves wireless charging efficiency and enhances the user experience.

[0134] S310: Determine whether the second processor sends an interrupt signal to the first processor.

[0135] If the judgment result is yes, that is, the second processor sends an interrupt signal to the first processor, the receiving end can continue to execute S312.

[0136] If the judgment result is negative, that is, the second processor did not send an interrupt signal to the first processor, the receiving end can continue to execute S311.

[0137] In some feasible implementations, the device's determination of whether the second processor at the receiving end sends an interrupt signal to the first processor may include, where the second processor of the device sets the FOD threshold to a second value, if the power loss of wireless charging is less than the second value, the device can determine whether the second processor should send an interrupt signal to the first processor based on whether the device's voltage is greater than the voltage threshold. Specifically, if the device's voltage is less than or equal to the voltage threshold, the second processor sends an interrupt signal to the first processor. If the device's voltage is greater than the voltage threshold, the second processor does not send an interrupt signal to the first processor.

[0138] S311: Charging normally.

[0139] In some feasible implementations, the power supply can charge the device normally without the second processor sending an interrupt signal to the first processor.

[0140] S312: Obtain the fake status of the receiver.

[0141] In some feasible implementations, when the second processor sends an interrupt signal to the first processor, the device can determine whether the receiving end is in a false charging state.

[0142] S313: Determine whether the receiver is in a false state.

[0143] If the judgment result is yes, that is, the receiving end is in a false state, the receiving end continues to execute S314.

[0144] If the judgment result is negative, that is, the receiving end is not in a false state, the receiving end continues to execute S315.

[0145] S314: Execute the fake process.

[0146] In some feasible implementations, when the receiving end is in a false charging state, the device operates according to a false charging procedure. The false charging procedure refers to the execution flow of the device when it is in a false charging state. For example, this false charging procedure may include: when the receiving end is in a false charging state, the device sends a prompt message to the power supply device, which prompts the power supply device to stop charging the device. In other embodiments, the false charging procedure may also include: when the receiving end is in a false charging state, the device displays a prompt message on its display screen. This prompt message can indicate to the user that the receiving end is in a false charging state. For example, the prompt message could be "The watch is in a false charging state!". It is understood that the device can also set a false charging procedure according to actual conditions, and this is not limited here.

[0147] S315: Obtain the charging current status of the receiver.

[0148] In some feasible implementations, the device acquiring the charging current status of the receiver may include acquiring the magnitude of the charging current at the receiver. Specifically, in some embodiments, the receiver may monitor the magnitude of the charging current in real time using a current sensor. In other embodiments, the receiver may acquire the magnitude of the charging current through other methods, which are not limited here.

[0149] S316: Determine whether the charging current of the electrical equipment is greater than the current threshold.

[0150] If the judgment result is yes, that is, the charging current of the electrical equipment is greater than the current threshold, the electrical equipment continues to execute S311.

[0151] If the judgment result is negative, that is, the charging current of the electrical equipment is less than or equal to the current threshold, the electrical equipment continues to execute S317.

[0152] It is understandable that when the charging current of an electrical device is greater than the current threshold, the device is charging normally. When the charging current of an electrical device is less than or equal to the current threshold, as mentioned earlier, the current is too low, and the charging efficiency is too slow.

[0153] In some embodiments, the current threshold of the electrical device can be set as a certain percentage of the rated charging current of the electrical device. For example, it can be set to 10%-20% of the rated current, or 5%-10% of the rated current. For example, if the rated charging current of the electrical device is 1 amp (A), then the current threshold of the electrical device can be set to 0.1A.

[0154] In other embodiments, the device can also undergo actual testing, recording device parameters (e.g., the time required for the device to fully charge) corresponding to different current thresholds, and selecting an appropriate current threshold. For example, the device may set the current value corresponding to the charging time of 2 hours required to charge the device from 0% to 100% as the current threshold.

[0155] S317: If the duration of the charging current being less than the current threshold is longer than the second duration, the device displays a prompt message on the screen.

[0156] In some feasible ways, a notification message can indicate that the device is off-center from the charging area of ​​the power supply.

[0157] For example, such as Figure 4C As shown, watch 200 can display the message "Watch charging position is off, please move the watch and try again" on the screen.

[0158] In some embodiments, the second duration may be 10 seconds. In other embodiments, the electrical device may also set the second duration according to actual conditions, and there is no limitation thereto.

[0159] S318: If the duration of the charging current being less than the current threshold is longer than the first duration, the device sends a prompt message to the power supply device via a private protocol. This prompt message is used to prompt the power supply device to turn off the wireless charging function of the power supply device.

[0160] In some embodiments, the first duration may be 2 minutes. In other embodiments, the electrical device may also set the first duration according to actual conditions, and there is no limitation thereto.

[0161] Based on the execution process of S301 to S318 described above, the power-consuming device (i.e., the second electronic device) can adjust the FOD threshold to the second value when it detects an interrupt signal generated by the receiving end and, when the power-consuming device communicates with the power supply device through a private protocol and determines that the power supply device identifier belongs to at least one preset device identifier. This avoids the problem of frequent charging interruptions caused by the power-consuming device deviating from the charging area and triggering the FOD mechanism, thereby improving wireless charging efficiency and enhancing the user experience.

[0162] Based on the above Figure 3 The implementation process is shown in the figure. The interactive implementation process of the charging management method provided in this application will be described in detail below with reference to another attached figure.

[0163] Figure 5 An interactive implementation flowchart of a charging management method is shown in an embodiment of this application.

[0164] Understandable. Figure 5 The steps in the interactive implementation process shown involve the interactive implementation process between the first processor and the second processor of the electrical equipment.

[0165] In the embodiments of this application, Figure 5 The execution entities for each step in the process of the method shown can be the first processor and the second processor of the second electronic device (i.e., the electrical device) mentioned above.

[0166] Specifically, such as Figure 5 As shown, the process may include:

[0167] S501: The first processor detects that the receiver has generated an interrupt signal.

[0168] In some feasible implementations, when the power-consuming device enters the area where the power supply device is located, the power-consuming device can detect the power supply device. In this case, the first processor at the receiving end can detect the generation of an interrupt signal at the receiving end. The execution content of S501 corresponds to the execution content of S301 described above, and can be referred to the relevant description in S301 above, which will not be repeated here.

[0169] S502: The first processor reads the interrupt register of the receiver.

[0170] In some feasible implementations, the first processor of the electrical device can obtain information about the interrupt signal by reading the interrupt register of the receiving end. The execution content of S502 corresponds to the execution content of S302 described above, and can be referred to the relevant description in S302 above, which will not be repeated here.

[0171] S503: The first processor determines whether the receiver is in an interrupt state.

[0172] If the determination result is yes, that is, the receiving end is in an interrupt state, then the first processor can continue to execute the following S505.

[0173] If the determination result is negative, that is, the receiving end is not in an interrupt state, the first processor can continue to execute the following S504.

[0174] The execution content of S503 corresponds to the execution content of S303 above. You can refer to the relevant description in S303 above, which will not be repeated here.

[0175] S504: The first processor stops executing the charging management method.

[0176] In some feasible implementations, when the first processor of the power-consuming device determines that the receiving end is in an interrupt state, the power-consuming device can display an icon on the display screen. This icon prompts the user that the power-consuming device has entered the charging area of ​​the power supply device, and the power supply device begins charging the power-consuming device. The execution content of S504 corresponds to the execution content of S305 described above; please refer to the relevant description in S305, which will not be repeated here.

[0177] S505: The first processor communicates with the power supply equipment via a proprietary protocol.

[0178] In some feasible implementations, when the first processor of the power-consuming device determines that the power-consuming device is in an interrupt state, the power-consuming device communicates with the power supply device through a proprietary protocol to obtain the device identifier of the power supply device. The execution content of S505 corresponds to the execution content of S306 above, and can be referred to the relevant description in S306 above, which will not be repeated here.

[0179] S506: The first processor determines whether the device identifier of the power supply device belongs to at least one preset device identifier.

[0180] If the determination result is yes, that is, the device identifier of the power supply equipment belongs to at least one preset device identifier, then the first processor can continue to execute S508.

[0181] If the determination result is negative, that is, the device identifier of the power supply equipment does not belong to at least one preset device identifier, the first processor can continue to execute S507.

[0182] The execution content of S506 corresponds to the execution content of S307 above. You can refer to the relevant description in S307 above, which will not be repeated here.

[0183] S507: The first processor executes the process where the device identifier of the power supply device does not belong to the preset device identifier.

[0184] In some feasible ways, if the device identifier of the power supply device does not belong to at least one preset device identifier, the power consumption device can execute the process where the device identifier of the power supply device does not belong to the preset device identifier.

[0185] The execution content of S507 corresponds to the execution content of S308 above. You can refer to the relevant description in S308 above, which will not be repeated here.

[0186] S508: The second processor sets the FOD threshold to a second value.

[0187] In some feasible ways, if the device identifier of the power supply device belongs to at least one preset device identifier, the second processor of the power-consuming device can set the FOD parameter to a second value.

[0188] The execution content of S508 corresponds to the execution content of S309 above. You can refer to the relevant description in S309 above, which will not be repeated here.

[0189] S509: Whether the second processor sends an interrupt signal to the first processor.

[0190] If the judgment result is yes, that is, the second processor sends an interrupt signal to the first processor, then the second processor can continue to execute S511.

[0191] If the judgment result is negative, that is, the second processor did not send an interrupt signal to the first processor, the first processor can continue to execute S510.

[0192] The execution content of S509 corresponds to the execution content of S310 above. You can refer to the relevant description in S310 above, which will not be repeated here.

[0193] S510: Charging normally.

[0194] In some feasible implementations, when the voltage of the electrical device is greater than or equal to a voltage threshold, the second processor does not send an interrupt signal to the first processor, and the power supply device charges the electrical device normally.

[0195] S511: The first processor obtains the false state of the receiver.

[0196] In some feasible implementations, when the voltage of the power device is less than the voltage threshold, the second processor sends an interrupt signal to the first processor, and the power device can obtain the false charging state of the receiving end and continue to execute S512.

[0197] S512: The first processor determines whether the receiver is in a false charging state.

[0198] If the judgment result is yes, that is, the receiving end is in a false charging state, the first processor continues to execute S513.

[0199] If the judgment result is negative, that is, the receiving end is not in a false state, the first processor continues to execute S514.

[0200] S513: The first processor executes the fake process.

[0201] In some feasible implementations, when the receiving end is in a false charging state, the first processor can execute the false charging process. The execution content of S513 corresponds to the execution content of S314 above, and can be referred to the relevant description in S314 above, which will not be repeated here.

[0202] S514: The first processor obtains the magnitude of the charging current of the electrical device.

[0203] In some feasible implementations, the first processor can obtain the magnitude of the charging current of the device when the receiving end is not in a false charging state. The execution content of S514 corresponds to the execution content of S315 above, and can be referred to the relevant description in S315 above, which will not be repeated here.

[0204] S515: The first processor determines whether the charging current is greater than the current threshold.

[0205] If the judgment result is yes, that is, the charging current of the electrical equipment is greater than the current threshold, then the first processor continues to execute S510.

[0206] If the judgment result is negative, that is, the charging current of the electrical equipment is less than or equal to the current threshold, the first processor continues to execute S516.

[0207] The execution content of S515 corresponds to the execution content of S316 above. You can refer to the relevant description in S316 above, which will not be repeated here.

[0208] S516: The first processor generates a prompt message.

[0209] In some embodiments, if the duration for which the charging current is less than the current threshold is greater than a second duration, the first processor may display a prompt message on the display screen. This prompt message is used to remind the user to adjust the position of the electrical equipment. The execution content of this embodiment corresponds to the execution content of S317 described above, and can be referred to the relevant description in S317, which will not be repeated here.

[0210] In other embodiments, if the duration for which the charging current is less than the current threshold is greater than a first duration, the device sends a prompt message to the power supply device via a proprietary protocol. This prompt message prompts the power supply device to disable its wireless charging function. For example, the prompt message could be "Phone charging has been disconnected!". The execution content of this embodiment corresponds to the execution content of S318 described above, and can be referred to the relevant description in S318, which will not be repeated here.

[0211] The following is combined with Figure 6 This section provides a detailed introduction to the hardware system architecture of power supply equipment and power consumption equipment.

[0212] Figure 6 A schematic diagram of the structure of an electrical device is shown according to an embodiment of this application.

[0213] In some feasible methods, the transmitter and receiver can transfer electrical energy through coil coupling. Here, the transmitter refers to the transmitter chip included in the power supply device, simply called the transmitter. It can be understood that during wireless charging, the power supply device and the user device transfer electrical energy through electromagnetic induction or electromagnetic resonance. Specifically, in the power supply device, the transmitter controls the inverter circuit module to convert direct current (DC) to alternating current (AC). Then, the transmitter sends the AC to the transmitting coil module, which generates an alternating magnetic field, and uses this alternating magnetic field for wireless power transfer. For the user device, the receiver controls the receiving coil to sense the alternating magnetic field and generate AC, which is then converted back to DC by a rectifier circuit to charge the device. It can be understood that through the coordinated work of the transmitter and receiver, the transmitter can efficiently convert DC to AC and generate an alternating magnetic field through the transmitting coil, thus achieving wireless charging.

[0214] In some feasible implementations, the transmitter and receiver can also communicate between the power supply and the user equipment via a proprietary protocol. Specifically, after the transmitter starts up, it sends a specific handshake signal (e.g., a pulse signal or a specifically encoded signal) through its transmitting coil. Upon detecting the handshake signal, the receiver sends a response signal to the transmitter by modulating the load of the transmitting coil or changing the communication frequency. During data transmission between the power supply and the user equipment, the transmitter encodes the data into a signal using frequency modulation or amplitude modulation, and then sends the signal to the receiver through its transmitting coil. The receiver receives and decodes the signal, extracting the data packet. Alternatively, during data transmission between the user equipment and the power supply, the receiver sends data to the transmitter by modulating the load or changing the inductance value of the coil. The transmitter then decodes the data by detecting changes in the coil's current or voltage.

[0215] It is understood that, to improve safety during wireless charging communication, in some embodiments, the power supply device and the device being charged are equipped with a Forbidden Object (FOD) mechanism to determine whether there are any conductive foreign objects present in the areas where the power supply device and the device are located. In other embodiments, the receiver can monitor the battery status (e.g., current magnitude) in the device in real time to prevent overcharging. Furthermore, the receiver can send a command to the transmitter to stop charging via a proprietary protocol.

[0216] It can be understood that the receiver is the core component of the electrical device. The receiver is responsible for converting the wireless energy received by the electrical device into electrical energy and exchanging information with the power supply equipment through a proprietary protocol. The first processor is the system control unit of the electrical device. The first processor can monitor parameters such as current, voltage, and heat during the charging process of the electrical device, and perform functions such as power adjustment and safety protection for the electrical device.

[0217] For example, if the power loss of wireless charging is less than the second value, the device can determine whether the second processor should send an interrupt signal to the first processor based on whether the device's voltage is greater than a voltage threshold. Specifically, if the device's voltage is less than or equal to the voltage threshold, the second processor sends an interrupt signal to the first processor. If the device's voltage is greater than the voltage threshold, the second processor does not send an interrupt signal to the first processor.

[0218] It is understandable that after a communication connection is established between the power supply equipment and the power consumption equipment, the power supply equipment can wirelessly charge the power consumption equipment. Specifically, the power supply equipment can wirelessly charge the battery of the power consumption equipment using a wireless charger.

[0219] The system architecture of the power supply equipment and the power consumption equipment is described below with reference to the accompanying drawings.

[0220] Figure 7A schematic block diagram of the software structure of a watch system architecture is shown according to an embodiment of this application.

[0221] 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, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The kernel layer of the Watch 200 can interact with relevant hardware devices in the hardware layer, enabling driver control of these devices, as detailed below.

[0222] like Figure 7 As shown, the application layer can include a series of application packages. These application packages can include applications such as calendar, maps, wireless local area network (WLAN), music, SMS, gallery, calling, navigation, and Bluetooth.

[0223] 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.

[0224] like Figure 7 As shown, the application framework layer may include a window manager, content provider, phone manager, power manager, notification manager, etc.

[0225] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0226] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0227] The phone manager is used to provide communication functions for the watch 200. For example, it manages call status (including connection, hang-up, etc.).

[0228] The power manager is the core service of power management, responsible for managing all power-related operations, including screen brightness adjustment and device hibernation.

[0229] The notification manager allows applications to display notification information in the status bar. It can be used to convey informational messages, and can disappear after a short pause without user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also appear as an icon or scrolling text in the system's top status bar, such as notifications from background applications, or as a dialog window on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating electronic devices, and flashing indicator lights. In this embodiment, the notification manager in the application framework layer of the watch 200 displays a notification message, such as, "Watch charging position offset, please move the watch and try again."

[0230] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.

[0231] 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.

[0232] 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.

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

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

[0235] 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.

[0236] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0237] A 2D graphics engine is a graphics engine for 2D drawing.

[0238] The kernel layer is the layer between hardware and software. The kernel layer includes at least the display driver, camera driver, power driver, and sensor driver.

[0239] As mentioned earlier, the kernel layer of watch 200 can interact with relevant hardware devices in the hardware layer to achieve driver control of the hardware devices in the hardware layer. In this embodiment, the hardware layer of watch 200 may include hardware contained in electronic devices such as processors (e.g., Nordic nRF5340 dual-core Bluetooth system-on-chip (SoC, supporting high-performance processing and low-power Bluetooth communication), battery management (e.g., using a TIBQ25120 chip, supporting wireless charging and low-power design), displays (e.g., using a 1.45-inch AMOLED circular screen, supporting Always-On Display), and communication modules (supporting Bluetooth protocol stack for communication with mobile phones or other devices).

[0240] This application also provides a readable storage medium storing instructions that, when executed by an electronic device, enable the electronic device to implement the charging management methods provided in the foregoing embodiments.

[0241] This application also provides a computer program product that, when executed on an electronic device, enables the electronic device to implement the charging management methods provided in the foregoing embodiments.

[0242] This application also provides an electronic device, which includes: a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, for implementing the charging management method provided in the foregoing embodiments.

[0243] To better understand the technical solutions of the embodiments of this application, the structure of the electronic device involved in this application will be described below with reference to the accompanying drawings.

[0244] Figure 8 A schematic diagram of the hardware structure of a mobile phone is shown according to an embodiment of this application.

[0245] like Figure 8 As shown, the mobile phone 100 may include antenna 1, antenna 2, processor 110, memory 120, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, wireless reverse charging management module 143, mobile communication module 150, wireless communication module 160, audio module 170, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, etc.

[0246] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100. In other embodiments of this application, the mobile phone 100 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.

[0247] The wireless communication function of mobile phone 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. In some embodiments, antenna 1 of mobile phone 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling mobile phone 100 to communicate with networks and other devices through wireless communication technology.

[0248] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the mobile phone 100. 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. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0249] The wireless communication module 160 can provide solutions for wireless communication applications on the mobile phone 100, including WLAN, Wi-Fi networks, Bluetooth (BT), Global Navigation Satellite System (GNSS), frequency modulation (FM), near-field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.

[0250] Processor 110 may include one or more processing units, such as: application processor (AP), 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. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

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

[0252] In some embodiments, the processor 110 may include one or more interfaces. The USB interface 130 is an interface compliant with the USB standard specification, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc.

[0253] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging receiving coil of the mobile phone 100. While charging the battery 142, the charging management module 140 can also supply power to the mobile phone 100 via the power management module 141.

[0254] The power management module 141 connects the processor 110, the charging management module 140, the battery 142, and the wireless reverse charging module 143. The power management module 141 receives input from the battery 142 and / or the charging management module 140, supplying power to the processor 110, internal memory 121, wireless reverse charging module 143, wireless communication module 160, camera 193, and display screen 194. The power management module 141 can also monitor parameters such as battery capacity, remaining charge, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110.

[0255] Furthermore, in some embodiments, the wireless reverse charging management module 143 can control the on / off state of the circuit containing the transmitting coil of the mobile phone 100 (i.e., the on or off state of the wireless reverse charging function). That is, when the transmitting coil of the mobile phone 100 is turned on (i.e., when the wireless reverse charging function is turned on), the transmitting coil of the mobile phone 100 outputs power to perform wireless reverse charging. In other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0256] In some embodiments of this application, the processor 110, based on data such as the remaining battery power monitored by the power management module 141, sends a control command to the wireless reverse charging management module 143 through the power management module 141 to control the activation or deactivation of the wireless reverse charging function. For example, when the processor 110 confirms that the mobile phone 100 has sufficient battery power, it indicates that the conditions for activating the wireless reverse charging function are met. The processor 110 sends a command to the power management module 141 to activate the wireless reverse charging function, and the power management module 141 controls the wireless reverse charging management module 143 to activate the wireless reverse charging function according to the command.

[0257] The sensor module 180 may include pressure sensors, gyroscope sensors, distance sensors, touch sensors, temperature sensors, etc., for collecting various environmental data, as well as distance data.

[0258] The mobile phone 100 includes a display screen 194 and an application processor to implement display functions. 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 miniLED, a microLED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 100 may include one or N displays 194, where N is a positive integer greater than 1. Mobile phone 100 can display notification information to the user through the aforementioned display function and display screen 194, such as a confirmation notification to the user about "whether you need to know how to enable the wireless reverse charging function", or a notification to the user about "the wireless reverse charging function has been enabled", so that the user can choose or be aware of it.

[0259] Figure 9 A schematic diagram of the hardware structure of a watch is shown according to an embodiment of this application.

[0260] like Figure 9 As shown, the watch 200 may include a touch screen 201, a receiver 202, a first processor 203, a sensor module 204, an infrared spectroscopy (IR) unit 205, an inertial measurement unit (IMU) 206, a memory 207, a communication module 208, a battery 209, etc.

[0261] The touchscreen display 201 serves two main purposes: firstly, it acts as a touch panel to capture user touch inputs and drive the connected devices according to pre-set programs; secondly, it displays user-provided information and various menus from the watch 200. For example, the touchscreen display 201 may display information such as "Wireless reverse charging function is enabled."

[0262] The receiver 202 includes multiple processing units that can run the charging management methods provided in some embodiments of this application. The mobile phone 100 can adjust the FOD threshold to a second value and then charge the watch 200 normally. Furthermore, after adjusting the FOD threshold to the second value, the mobile phone 100 detects that the charging disconnection condition is met and stops charging the watch 200. If the charging disconnection condition of the mobile phone 100 is met, the receiver 202 can send a command to the mobile phone 100 to disconnect the wireless reverse charging function via the communication module 208, and control the disconnection of the wireless reverse charging function through the processor 110 and power management module 141 of the mobile phone 100.

[0263] The receiver 202 includes a second processor, which can set the FOD threshold to a second value.

[0264] The first processor 203 has a communication acquisition function. In some embodiments of this application, the charging management method involves the first processor 203 communicating with the mobile phone 100 via a proprietary protocol to obtain the device identifier of the mobile phone 100. The receiving end 202 can send an enable request to the processor 110 of the mobile phone 100 through communication with the wireless communication module 160 of the mobile phone 100. After receiving the enable request, the processor 110 sends an enable command to the power management module 141. The power management module 141 controls the wireless reverse charging management module 143 to enable the wireless reverse charging function according to the enable command.

[0265] The first processor 203 is the system control unit of the watch 200. The first processor 203 can monitor parameters such as current, voltage, and heat during the charging process of the watch 200, and perform functions such as power adjustment and safety protection of the watch 200.

[0266] For example, in the process of current monitoring of watch 200, the receiving end monitors the current of the battery in watch 200 in real time through a built-in analog-to-digital converter and sends the monitored current data to the first processor 203. The first processor 203 evaluates the battery status based on the monitored current data. If the current data is greater than a set threshold, the receiving end 202 sends a control command to the first processor 203, and the first processor 203 controls watch 200 to enter a constant current charging stage according to the control command, and stops charging when the battery of watch 200 is fully charged. It is understood that the set threshold can be determined according to specific circumstances and is not limited here.

[0267] As another example, typically, the battery voltage of watch 200 is connected to the input pin of receiver 202. Receiver 202 typically has an internal reference voltage source, and it uses a voltage comparator to compare the voltage with the input voltage. The output signal of the voltage comparator is processed by an output circuit and may be used to trigger an alarm, power off, or alert the user. For example, in some embodiments of the charging management method provided in this application, receiver 202 can determine whether watch 200 meets the charging interruption condition based on whether the voltage is less than a voltage threshold. Sensor module 204 may include pressure sensors, gyroscope sensors, distance sensors, touch sensors, temperature sensors, etc., for collecting various environmental data and distance data, etc.

[0268] The infrared spectral detection unit 205 is used to detect the wearing status of the watch 200 based on the different reflectance values ​​of infrared light by different substances in the human body or environment, such as whether the watch 200 is being worn.

[0269] The inertial measurement unit 206 is used to measure three-axis attitude angles (or angular rates) and acceleration data, thereby detecting information such as the wearing position of the watch 200 on the wrist. For example, it can detect whether the watch 200 is being worn on the wrist.

[0270] The memory 207 is used to store software programs and data. The receiving end 202 executes various functional applications and data processing of the watch 200 by running the software programs, algorithm instructions, and data stored in the memory 207. For example, in some embodiments of this application, the memory 207 may store a private protocol. According to the private protocol, the watch 200 can obtain the device identifier of the mobile phone 100, and the receiving end 202 or the corresponding processing unit determines whether the device identifier of the mobile phone 100 belongs to at least one preset device identifier based on the device identifier of the mobile phone 100.

[0271] The communication module 208 can be used to enable the watch 200 to communicate with other electronic devices and connect to the network through other electronic devices. For example, in some embodiments of this application, the watch 200 can establish a connection with the mobile phone 100 through the communication module 208. According to the private protocol, the watch 200 can obtain the device identifier of the mobile phone 100.

[0272] The battery 209 is used to receive power input from the charging cable or power input from the transmitting coil. For example, when the battery 209 is placed in the charging area of ​​the mobile phone 100, it can receive power input from the mobile phone 100 through the wireless reverse charging function (i.e., connecting the circuit where the transmitting coil is located in the mobile phone 100).

[0273] It is understood that the above illustrative structure does not constitute a specific limitation on watch 200. In other embodiments of this application, watch 200 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.

[0274] The various embodiments of the mechanisms 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.

[0275] 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.

[0276] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0277] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also 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, compact disc read-only memory, 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 forms of propagated 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.

[0278] In the accompanying drawings, some structural or methodological features may be 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.

[0279] 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 problems 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 problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.

[0280] 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.

[0281] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.

Claims

1. A charging management method, applied to a first electronic device, characterized in that, include: A second electronic device awaiting charging has been detected. In the absence of a trust relationship between the second electronic device and the first electronic device, the power loss threshold value is configured to a first value, or... When there is a trust relationship between the second electronic device and the first electronic device, the power loss threshold is configured to a second value, wherein the power loss threshold is used to determine whether there are foreign objects in the area where the first electronic device and the second electronic device are located, and the second value is greater than the first value; During the wireless charging of the second electronic device, if a charging interruption condition is detected, charging of the second electronic device is stopped, wherein the charging interruption condition is related to the value of the power loss threshold.

2. The method according to claim 1, characterized in that, The trust relationship between the second electronic device and the first electronic device includes: The device identifier of the second electronic device belongs to at least one preset device identifier; Alternatively, the system receives a first message from the second electronic device, the first message indicating that the first electronic device is allowed to adjust the power loss threshold. Alternatively, the second electronic device communicates with the first electronic device via a first communication protocol.

3. The method according to claim 1, characterized in that, When the power loss threshold value is configured to the second value, the charging interruption condition includes: The power loss of the first electronic device charging the second electronic device is greater than or equal to the second value; Alternatively, the power loss of the first electronic device charging the second electronic device is less than the second value and at least one of the following conditions is met: The charging current of the second electronic device is less than the current threshold. The duration for which the charging current of the second electronic device is less than the current threshold is greater than the first duration. The charging voltage of the second electronic device is less than the voltage threshold.

4. The method according to claim 1, characterized in that, The method further includes: The system prompts the user to adjust the position of the second electronic device, and / or sends a second message to the second electronic device, the second message prompting the user to adjust the position of the second electronic device.

5. A charging management method applied to a second electronic device, characterized in that, include: A first electronic device is detected, which is used to wirelessly charge the second electronic device. In the absence of a trust relationship between the second electronic device and the first electronic device, the power loss threshold value is configured to a first value, or... When there is a trust relationship between the second electronic device and the first electronic device, the power loss threshold is configured to a second value, wherein the power loss threshold is used to determine whether there are foreign objects in the area where the first electronic device and the second electronic device are located, and the second value is greater than the first value; During the process of the first electronic device wirelessly charging the second electronic device, if the charging interruption condition is detected, a third message is sent to the first electronic device, wherein the third message instructs the first electronic device to stop charging the second electronic device, and the charging interruption condition is related to the value of the power loss threshold.

6. The method according to claim 5, characterized in that, The trust relationship between the second electronic device and the first electronic device includes: The device identifier of the first electronic device belongs to at least one preset device identifier; Alternatively, the second electronic device may receive a fourth message sent by the first electronic device, the fourth message indicating that the second electronic device is permitted to adjust the power loss threshold. Alternatively, the second electronic device communicates with the first electronic device via a first communication protocol.

7. The method according to claim 5, characterized in that, When the power loss threshold value is configured to the second value, the charging interruption condition includes: The power loss of the first electronic device charging the second electronic device is greater than or equal to the second value; Alternatively, the power loss of the first electronic device charging the second electronic device is less than the second value and at least one of the following conditions is met: The charging current of the second electronic device is less than the current threshold. The duration for which the charging current of the second electronic device is less than the current threshold is greater than the first duration. The charging voltage of the second electronic device is less than the voltage threshold.

8. The method according to claim 5, characterized in that, The method further includes: The user is prompted to adjust the position of the second electronic device.

9. A readable medium, characterized in that, The readable medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 4, or the method of any one of claims 5 to 8.

10. An electronic device, characterized in that, include: Memory, used to store instructions executed by one or more processors of an electronic device, and A processor is one of the processors in an electronic device, used to perform the method of any one of claims 1 to 4, or the method of any one of claims 5 to 8.

11. A program product, characterized in that, The program product includes instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 4, or the method of any one of claims 5 to 8.