Wireless charging method, device and system
By making targeted adjustments to the device type and model information of the first electronic device, the situation of charging anomalies (such as charging interruption or slow charging) caused by the structural characteristics of some types of devices when using the same parameters for wireless reverse charging is reduced, especially the poor user experience.
Patent Information
- Application Number
- CN202411217041.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-10-03
AI Technical Summary
In the prior art, there are cases where abnormal charging occurs when using wireless reverse charging devices. In particular, when users use the same parameters for wireless reverse charging, some types of devices may experience charging abnormalities (such as disconnection or slow charging) due to their own structural characteristics, which results in a poor user experience.
By configuring charging parameters based on the device type and model information of the second electronic device, it is possible to reduce the possibility of charging anomalies (such as disconnection or slow charging) caused by the structural characteristics of some types of devices when using the same parameters for wireless reverse charging, especially the poor user experience.
By addressing this type of situation that is easily identified as foreign objects, abnormal charging situations are reduced and the user experience is improved.
Smart Images

Figure CN120750037A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic devices, and in particular to a method, device, and system for wireless charging. Background Art
[0002] Wireless charging technology makes charging electronic devices more convenient. Electronic devices that support wireless charging technology include a receiving coil. When the receiving coil of the electronic device is aligned with the wireless charger, the magnetic signal emitted by the wireless charging base can induce a current in the receiving coil of the electronic device, thereby charging the battery of the electronic device.
[0003] With technological advancements, wireless reverse charging has been developed based on wireless charging technology. This means that electronic devices with wireless charging capabilities can charge other electronic devices with wireless charging capabilities. For example, battery 1 of electronic device 1 can power transmitting coil 1 and generate a magnetic signal. Transmitting coil 1 of electronic device 1 can be aligned with receiving coil 2 of electronic device 2. The magnetic signal generated by transmitting coil 1 can induce a current in receiving coil 2 of electronic device 2, allowing electronic device 1 to charge battery 2 of electronic device 2.
[0004] However, in actual application scenarios, when a user uses one electronic device to charge another electronic device, slow charging or even fake charging often occurs, which greatly affects the user experience. Summary of the Invention
[0005] The embodiments of the present application provide a wireless charging method, device, and system, which can reduce abnormal charging of charging devices and improve user experience in wireless reverse charging scenarios.
[0006] In a first aspect, a wireless charging method is provided, which is applied to a first electronic device. The method includes: the first electronic device receives first information from a second electronic device, and configures charging parameters according to device type information of the second electronic device in the first information, and provides a wireless reverse charging service for the second electronic device through the charging parameters.
[0007] In the above solution, before the first electronic device provides wireless reverse charging service for the second electronic device, it customizes charging parameters according to the device type of the second electronic device, that is, different charging parameters can be set for different types of devices, reducing the situation where some types of devices cause charging abnormalities (such as disconnection or slow charging) due to their own structural characteristics when using the same parameters for wireless reverse charging. For example, the device type of the second electronic device is a Bluetooth headset, and the Bluetooth headset usually contains a metal shaft inside. When the first electronic device performs wireless reverse charging for the Bluetooth headset according to the existing charging parameters, it may identify the Bluetooth headset as a foreign object, thereby disconnecting the charging or limiting the current of the second electronic device, resulting in a poor user experience. For another example, the device type of the second electronic device is a watch, and the back shell of the watch is usually thick. When the first electronic device performs wireless reverse charging for the watch according to the existing charging parameters, it may also identify the watch as a foreign object, thereby disconnecting the charging or limiting the current of the second electronic device, resulting in a poor user experience. Through the solution provided by this application, the charging parameters of this type of device that is easily identified as a foreign object can be adjusted in a targeted manner, reducing the situation where these devices are identified as foreign objects, thereby reducing charging abnormalities and improving the user experience.
[0008] In combination with the first aspect, in some possible implementations of the first aspect, the first information further includes model information of the second electronic device.
[0009] In the above solution, the first electronic device can configure charging parameters based on the device type and model information of the second electronic device. This is because different models of devices of the same type may have different structures. The model information can be used to determine the specific model of the second electronic device, thereby determining the technical parameters of the second electronic device, such as its structure, materials, and functions, allowing for more precise setting of charging parameters. For example, different models of Bluetooth headsets have different metal hinge sizes. For a second electronic device with a larger hinge, the first electronic device can set a relatively larger second threshold value, while for a second electronic device with a smaller hinge, the first electronic device can set a relatively smaller second threshold value. This ensures that the normal charging of the second electronic device is minimized while also enabling timely current limiting when safety risks or power consumption are high. For another example, different models of watches have different back case thicknesses. For a second electronic device with a thicker hinge, the first electronic device can set a relatively larger second threshold value, while for a second electronic device with a thinner hinge, the first electronic device can set a relatively smaller second threshold value. This ensures that the normal charging of the second electronic device is minimized while also enabling timely current limiting when safety risks or power consumption are high.
[0010] In combination with the first aspect, in some possible implementations of the first aspect, the charging parameter includes a first threshold; the first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameter, including: the first electronic device determines a power loss value; when the power loss value is greater than or equal to the first threshold, the first electronic device stops providing the wireless reverse charging service to the second electronic device.
[0011] In the above scheme, if the first electronic device detects that the power loss value is greater than or equal to the first threshold, it means that the current power loss value is too large. At this time, there may be a risk of overheating of the device and excessive power waste of the first electronic device. Therefore, the first electronic device can automatically stop providing wireless reverse charging service to the second electronic device, that is, the first electronic device stops charging the second electronic device to prevent safety problems and reduce the situation where both the first electronic device and the second electronic device are out of power due to excessive power loss. It can be understood that the first threshold is a value customized according to the first information, and the structural characteristics of the second electronic device have been taken into account when setting its size. For example, a relatively large first threshold may be set for a watch or Bluetooth headset. However, if in this case, the power loss value is still greater than the first threshold, it means that there is currently a large safety risk, and stopping charging can avoid this risk.
[0012] In combination with the first aspect, in some possible implementations of the first aspect, the charging parameters also include a second threshold; the first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameters, and also includes: when the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device switches the charging power from the first power to the second power, wherein the first power is greater than the second power.
[0013] When the power loss value is greater than or equal to the second threshold and less than the first threshold, the power loss value is relatively large but has not yet reached the charging interruption condition. Therefore, the first electronic device switches the charging power from the first power to the second power and continues to charge the second electronic device based on the second power. In other words, when the power loss value increases to a certain level but has not yet reached the charging interruption condition, the current of the second electronic device can be limited. This allows the second electronic device to continue charging while reducing safety risks and energy waste.
[0014] In combination with the first aspect, in some possible implementations of the first aspect, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the method includes: the first electronic device sends a first indication information to the second electronic device, and the first indication information is used to instruct the second electronic device to display a first notification message; the first notification message is used to prompt that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the coil position of the first electronic device and the second electronic device, or the first notification message is used to remind the user to check whether there is a foreign object between the first electronic device and the second electronic device.
[0015] In the above solution, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device can not only reduce power but also instruct the second electronic device to display a notification message to the user. Since the first and second thresholds have been set based on the first information, it is basically possible to avoid the situation where the power loss value exceeds the second threshold due to structural problems of the second electronic device itself (such as the metal hinge of a Bluetooth headset or the back cover of a watch). Therefore, the reason for the relatively large power loss value in this case is likely that the coil of the first electronic device is not aligned with the coil of the second device, or there is a foreign object between the first and second electronic devices. Therefore, in this case, the first electronic device can instruct the second electronic device to notify the user to check whether the coils of the two devices are not aligned, or to check whether there is a foreign object between the two devices. For example, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device sends a first indication message to the second electronic device, which is used to instruct the second electronic device to display a first notification message; the first notification message is used to indicate that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the position of the coils of the first and second electronic devices, or the first notification message is used to remind the user to check whether there is a foreign object between the first and second electronic devices.
[0016] It is understandable that when a first electronic device provides wireless reverse charging for a second electronic device, the first electronic device is typically placed upside down on a table, while the second electronic device is placed on top of the first electronic device. Therefore, if the first electronic device displays the first notification message, the user is likely to be unable to see it. Therefore, having the second electronic device display the first notification message makes it easier for the user to see the message and allows the user to perform foreign object detection or coil position detection based on the message, thereby improving the user experience.
[0017] In combination with the first aspect, in some possible implementations of the first aspect, the charging parameters also include a charging mode and / or a maximum charging power, and the charging mode includes at least two of the following three modes: BPP mode, EPP mode, and private mode. The private mode is a charging mode based on a private charging protocol, and the maximum charging power is the maximum transmission power allowed when the first electronic device provides a wireless reverse charging service to the second electronic device.
[0018] In the above scheme, the first electronic device can determine a specific charging mode based on the first information. For example, when the second electronic device is a Bluetooth headset, the BPP mode can be used (provided that both the first electronic device and the second electronic device support the BPP mode). This is because the battery capacity of a Bluetooth headset is usually relatively small, and generally a relatively small amount of power can support the Bluetooth headset for a relatively long time. Therefore, even if the charging power is relatively low, it can meet the user's needs. In addition, since Bluetooth headsets usually have metal coils, if the charging power is too high, the device will heat up seriously, posing certain safety risks. Therefore, using the BPP mode for charging can both meet user needs and reduce safety risks. For another example, when the second electronic device is a watch, the EPP mode can be used (provided that both the first electronic device and the second electronic device support the EPP mode). Because the battery capacity of a watch is usually relatively small, but the watch consumes power quickly, using the EPP mode for charging can increase the charging speed compared to the BPP mode. At the same time, since the back shell of a watch is usually thick, if the charging power is too high, the device will heat up seriously. Therefore, using the EPP mode to charge the watch can not only improve the charging speed to a certain extent, but also minimize the safety risks. For example, when the second electronic device is a mobile phone, the private mode can be used for charging, because the battery capacity of the mobile phone is usually relatively large, and the power consumption rate of the mobile phone is relatively fast. The wireless reverse charging function is usually used in emergency charging scenarios. Therefore, using the fast charging mode corresponding to the private mode to charge the mobile phone can increase the charging speed. At the same time, when the second electronic device is a mobile phone, a relatively small first threshold is usually set. Therefore, even if the charging power of the private mode is relatively high, the charging can be stopped in time when there is a safety risk. Therefore, using the private mode to charge the mobile phone can not only improve the charging speed, but also minimize the safety risks and improve the user experience.
[0019] Furthermore, during wireless reverse charging, higher power and faster charging speeds can also lead to more severe device heating. Therefore, the first electronic device determines the maximum transmission power based on the first information (the device type and / or model of the second device). The maximum transmission power can be customized based on the needs of different types of devices, thereby meeting the charging needs of the devices while reducing safety risks.
[0020] In combination with the first aspect, in some possible implementations of the first aspect, the method further includes: the first electronic device monitors the duty cycle, frequency, and size of the control error value, wherein the duty cycle and frequency are parameters used to adjust the charging power when the first electronic device provides a wireless reverse charging service for the second electronic device, and the first electronic device obtains the control error value from the second electronic device; when the duty cycle is greater than or equal to the third threshold, the frequency is greater than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold, n is a preconfigured value and n is a positive integer, the first electronic device sends a second indication information to the second electronic device, the second indication information is used to instruct the second electronic device to display a second notification message, the second notification message is used to prompt that the wireless reverse charging service is abnormal, or the second notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the second notification message is used to remind the user to check whether there is a foreign object between the first electronic device and the second electronic device.
[0021] In the above scheme, if at a certain moment the first electronic device detects that the duty cycle is greater than or equal to the third threshold, the frequency is less than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold (the fifth threshold is a positive number), this indicates that the first electronic device is outputting relatively high energy (because the larger the duty cycle and the smaller the frequency, the greater the energy output of the first electronic device). At the same time, the second electronic device still has a high power demand for n consecutive cycles. In other words, the first electronic device is outputting relatively high energy, but the energy received by the second electronic device is still seriously insufficient. In this case, a false charging situation may occur, where the second electronic device indicates that it is charging, but the actual charging power is very low. This situation is confusing to the user, as the user may think that the second electronic device is continuously charging, but the actual charging power is very limited, affecting the user experience. This situation may be caused by a large amount of energy lost to the air during the charging process. In this case, the first electronic device can instruct the second electronic device to notify the user to check whether the coils of the two devices are misaligned or whether there is any foreign object between the two devices to avoid power loss caused by these two situations. For example, when the duty cycle is greater than or equal to the third threshold, the frequency is greater than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold, the first electronic device sends a second indication message to the second electronic device, and the second indication message is used to instruct the second electronic device to display a second notification message, and the second notification message is used to prompt that the wireless reverse charging service is abnormal, or the second notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the second notification message is used to remind the user to check whether there is a foreign object between the first electronic device and the second electronic device. In other words, this solution can identify the situation of false charging and remind the user, reducing the situation where the user is confused by the false charging phenomenon during the process of charging the second electronic device through the first electronic device.
[0022] In one possible implementation, the above scheme can be further adjusted as follows: when the duty cycle is equal to 50%, the frequency is equal to 110, and n consecutive (n can be 10, for example) control error values are greater than or equal to the fifth threshold, n is a preconfigured value and n is a positive integer, the first electronic device sends a second indication information to the second electronic device.
[0023] In combination with the first aspect, in some possible implementations of the first aspect, the first electronic device receives the first information from the second electronic device, including: the first electronic device and the second electronic device perform a handshake based on a private protocol; if the handshake is successful, the first electronic device receives the first information from the second electronic device based on the private protocol.
[0024] In one example, before transmitting the first information through a private protocol, the second electronic device can perform a handshake with the first electronic device based on the private protocol. Only when the handshake is successful does the second electronic device send the first information to the first electronic device. It can be understood that a successful handshake means that the private protocol is configured between the first electronic device and the second electronic device, or that the first electronic device and the second electronic device belong to the same terminal manufacturer. Only in this case is it necessary for the second electronic device to send the first information to the first electronic device, otherwise the first electronic device cannot accurately identify and process the first information obtained from the second electronic device. Therefore, if the handshake fails, the second electronic device does not send the first information to the first electronic device to reduce unnecessary signaling overhead.
[0025] In a second aspect, a wireless charging method is provided, which is applied to a second electronic device, and includes: the second electronic device sends first information to a first electronic device, the first information including device type information of the second electronic device, the first electronic device is used to provide a wireless reverse charging service for the second electronic device, and the first information is used to configure charging parameters for the first electronic device; the second electronic device accepts the wireless reverse charging service provided by the first electronic device based on the charging parameters.
[0026] In the above scheme, before the second electronic device accepts the wireless reverse charging service of the first electronic device, it can send its own device type information to the first electronic device so that the first electronic device can customize the charging parameters according to the device type of the second electronic device, that is, set different charging parameters for different types of devices, reducing the situation where some types of devices have charging abnormalities (such as disconnection or slow charging) due to their own structural characteristics when using the same parameters for wireless reverse charging. For example, the device type of the second electronic device is a Bluetooth headset, and the Bluetooth headset usually contains a metal shaft inside. When the first electronic device performs wireless reverse charging for the Bluetooth headset according to the existing charging parameters, it may identify the Bluetooth headset as a foreign object, thereby disconnecting the charging of the second electronic device or limiting the current, resulting in a poor user experience. For another example, the device type of the second electronic device is a watch, and the back shell of the watch is usually thick. When the first electronic device performs wireless reverse charging for the watch according to the existing charging parameters, it may also identify the watch as a foreign object, thereby disconnecting the charging of the second electronic device or limiting the current, resulting in a poor user experience. Through the scheme provided by this application, the charging parameters of such devices that are easily identified as foreign objects can be adjusted in a targeted manner, reducing the situation where these devices are identified as foreign objects, thereby reducing charging abnormalities and improving the user experience.
[0027] In combination with the second aspect, in some possible implementations of the second aspect, the first information further includes model information of the second electronic device.
[0028] In the above solution, the second electronic device can also send model information to the first electronic device so that the first electronic device can configure charging parameters based on the device type and model information of the second electronic device. This is done because different models of devices of the same type may also have structural differences. The model information can be used to determine the specific model of the second electronic device, thereby determining the technical parameters of the second electronic device, such as its structure, materials, and functions, allowing for more precise setting of charging parameters. For example, different models of Bluetooth headsets have different metal hinge sizes. For a second electronic device with a larger hinge, the first electronic device can set a relatively larger second threshold value, while for a second electronic device with a smaller hinge, the first electronic device can set a relatively smaller second threshold value. This ensures that the normal charging of the second electronic device is minimized while also enabling timely current limiting when safety risks or power consumption are high. For another example, different models of watches have different back case thicknesses. For a second electronic device with a thicker back case, the first electronic device can set a relatively larger second threshold value, while for a second electronic device with a thinner back case, the first electronic device can set a relatively smaller second threshold value. This ensures that the normal charging of the second electronic device is minimized while also enabling timely current limiting when safety risks or power consumption are high.
[0029] In combination with the second aspect, in some possible implementations of the second aspect, the method also includes: the second electronic device receives first indication information from the first electronic device; the second electronic device displays a first notification message based on the first indication information, wherein the first notification message is used to prompt that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the coil position of the first electronic device and the second electronic device, or the first notification message is used to remind the user to check whether there is foreign matter between the first electronic device and the second electronic device.
[0030] In the above solution, the second electronic device can display a message to remind the user based on the instruction of the first electronic device, so that the user can manually eliminate the interference when charging anomalies occur. For example, when fake charging occurs, timely reminding the user can improve the user experience.
[0031] In combination with the second aspect, in some possible implementations of the second aspect, the second electronic device sends the first information to the first electronic device, including: the second electronic device and the first electronic device perform a handshake based on a private protocol; if the handshake is successful, the second electronic device sends the first information to the first electronic device based on the private protocol.
[0032] In one example, before transmitting the first information through a private protocol, the second electronic device can perform a handshake with the first electronic device based on the private protocol. Only when the handshake is successful does the second electronic device send the first information to the first electronic device. It can be understood that a successful handshake means that the private protocol is configured between the first electronic device and the second electronic device, or that the first electronic device and the second electronic device belong to the same terminal manufacturer. Only in this case is it necessary for the second electronic device to send the first information to the first electronic device, otherwise the first electronic device cannot accurately identify and process the first information obtained from the second electronic device. Therefore, if the handshake fails, the second electronic device does not send the first information to the first electronic device to reduce unnecessary signaling overhead.
[0033] In a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the electronic device implements the steps of the method described in any one of the first or second aspects above.
[0034] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps of the method described in any one of the first aspect or the second aspect are implemented.
[0035] In a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes any one of the methods in the first or second aspect.
[0036] In a sixth aspect, a chip system is provided, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement any one of the methods in the first or second aspect above.
[0037] The chip system may be a single chip or a chip module composed of multiple chips.
[0038] It can be understood that the beneficial effects of the third to sixth aspects mentioned above can be found in the relevant descriptions of the first and second aspects mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 Schematic diagram of three possible wireless reverse charging scenarios provided in the embodiments of the present application;
[0040] Figure 2 A schematic diagram of the architecture of a system 200 provided in an embodiment of the present application;
[0041] Figure 3 A schematic diagram of the interaction in the wireless reverse charging scenario provided by an embodiment of the present application;
[0042] Figure 4 A schematic interactive diagram of the wireless reverse charging method provided in an embodiment of the present application.
[0043] Figure 5 A diagram showing the user interface for enabling the wireless reverse charging function;
[0044] Figure 6 A schematic diagram of a user interface for a first electronic device displaying a reminder message when the wireless reverse charging function is enabled;
[0045] Figure 7 A schematic diagram of a user interface for a second electronic device to display a reminder message in the event of abnormal charging;
[0046] Figure 8 A schematic flow chart of a wireless reverse charging method provided in an embodiment of the present application;
[0047] Figure 9 A structural block diagram of a layered architecture of an electronic device provided in an embodiment of the present application;
[0048] Figure 10 A hardware architecture diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0050] Currently, many electronic devices are beginning to support wireless charging technology, which is developed based on electromagnetic technology. Specifically, electricity and magnetic fields can be converted into each other under certain conditions, and wireless charging is achieved through electricity generating magnetism and magnetism generating electricity. Specifically, the transmitting end device of wireless charging, such as a wireless charger, can obtain direct current, for example, from the mains through a DC charger, and then convert the obtained DC into alternating current through an inverter, and then convert the alternating current into a magnetic field output through power output. The receiving end of wireless charging, such as a smartphone, can obtain the magnetic field output by the transmitting coil (i.e., the power output coil) through a receiving coil (i.e., the power input coil), and then convert the magnetic field into alternating current. Then, through a rectifier circuit, such as a full-bridge rectifier circuit, the alternating current is converted into direct current, so that the converted direct current can be used to charge the battery in the wireless charging receiving end, thereby achieving wireless charging.
[0051] With the development of technology, electronic devices that support wireless reverse charging technology have begun to appear. It is easy to understand that charging an electronic device is actually charging the battery in the electronic device, while wireless reverse charging through an electronic device is actually using the battery of the electronic device to wirelessly charge other devices to be charged. For example, electronic device A is an electronic device that performs wireless reverse charging (i.e., a power supply device), and electronic device B is a device to be charged. After aligning the wireless discharge area of electronic device A with the wireless charging area of electronic device B, electronic device A can perform wireless reverse charging for electronic device B.
[0052] In one example, wireless reverse charging can be implemented based on the integrated power management circuit (PMIC) typically used in electronic device A. For example, when controlling electronic device A to perform wireless reverse charging, the battery can provide output, which is input into the integrated power management circuit, and then power is supplied to the transmitting coil, thereby performing wireless reverse charging for electronic device B to be charged.
[0053] It can be understood that the wireless discharge area of electronic device A refers to the discharge area corresponding to the transmitting coil used by electronic device A to transmit the magnetic field; the wireless charging area of electronic device B refers to the charging area corresponding to the receiving coil used by electronic device B to receive the magnetic field.
[0054] It is also understandable that electronic devices that support wireless reverse charging are generally also capable of wireless charging, and can achieve both charging and discharging through the same set of coils. That is, the transmitting coil of the above-mentioned electronic device A can also be a receiving coil. For example, electronic device A includes a power receiving output coil. When electronic device A performs wireless reverse charging for electronic device B, the power receiving output coil can serve as the transmitting end of the transmitting magnetic field, i.e., the transmitting coil. When electronic device A is placed on a wireless charging device (such as a wireless charging pad) for charging, electronic device A can receive the magnetic field emitted by the wireless charging transmitting end through the power receiving output coil, i.e., the receiving coil, and then charge the battery through the integrated power management circuit (power management IC, PMIC). That is, the power receiving output coil serves as the transmitting end of the transmitting magnetic field when electronic device A performs wireless reverse charging, and can also serve as the receiving end of the receiving magnetic field when the electronic device performs wireless charging.
[0055] It should also be understood that aligning the wireless discharge area of one electronic device with the wireless charging area of another electronic device in the embodiments of the present application refers to coupling (or pairing) the transmitting coil of one electronic device with the receiving coil of another electronic device. In this case, the two coils can be completely aligned or there can be a certain deviation, but the magnitude of the deviation usually needs to be within a certain range, and generally, the greater the deviation, the greater the power loss and the lower the charging efficiency.
[0056] Figure 1 Schematic diagrams of three possible wireless reverse charging scenarios provided by the embodiments of the present application. It should be understood that the wireless reverse charging scenario provided by the embodiments of the present application is merely an example. The embodiments of the present application are not intended to limit the specific form of the wireless reverse charging scenario. It should be understood that the solutions provided by the embodiments of the present application can also be applied to other wireless reverse charging scenarios.
[0057] like Figure 1 As shown in (a) in the figure, the wireless reverse charging scenario may include a mobile phone 110 and a watch 120. Among them, the mobile phone 110 has a wireless reverse charging function, and the watch 120 has a wireless charging function. After the mobile phone 110 turns on the wireless reverse charging function and the wireless charging area of the watch 120 (usually on the back of the watch 120) is aligned with the wireless discharge area of the mobile phone 110 (usually on the back of the mobile phone 110), the mobile phone 110 wirelessly charges the watch 120. It is understandable that the watch 120 may not have a wireless reverse charging function, or the watch 120 may not turn on the wireless reverse charging function temporarily.
[0058] While the watch 120 is being wirelessly charged via the mobile phone 110, the watch 120 may display an icon 121 on the display screen to remind the user that the watch 120 is currently charging. It is understood that the icon 121 is merely an example, and in actual application scenarios, the watch 120 may also use other methods to remind the user that the watch 120 is currently charging. For example, the watch 120 may directly display "Charging" in the status bar to indicate that the watch 120 is charging.
[0059] like Figure 1 As shown in (b) of FIG, the wireless reverse charging scenario may include a mobile phone 130 and a Bluetooth headset 140. The mobile phone 130 has a wireless reverse charging function, and the Bluetooth headset 140 has a wireless charging function. After the wireless reverse charging function is turned on on the mobile phone 130 and the wireless charging area of the Bluetooth headset 140 (usually on the back of the headset case of the Bluetooth headset 140) is aligned with the wireless discharge area of the mobile phone 130 (usually on the back of the mobile phone 130), the mobile phone 130 wirelessly charges the Bluetooth headset 140.
[0060] It can be understood that the Bluetooth headset 140 described in this application has a wireless charging function, which may specifically refer to the earphone box of the Bluetooth headset 140 having a wireless charging function, or it may refer to the earphone body of the Bluetooth headset 140 having a wireless charging function; the mobile phone 130 wirelessly charges the Bluetooth headset 140, which may specifically refer to the mobile phone 130 charging the earphone box of the Bluetooth headset 140, or it may refer to the mobile phone 130 charging the earphone body of the Bluetooth headset 140, or it may refer to the mobile phone 130 charging the earphone box and earphone body of the Bluetooth headset 140.
[0061] It is also understandable that the Bluetooth headset 140 may not have the wireless reverse charging function, or the Bluetooth headset 140 may not temporarily enable the wireless reverse charging function.
[0062] When the Bluetooth headset 140 is wirelessly charged via the mobile phone 130, the Bluetooth headset 140 can indicate that the Bluetooth headset 140 is currently charging through the indicator light 141 on the headset case. For example, when the indicator light 141 is red, it indicates that the Bluetooth headset 140 is currently charging. It is understood that the indicator light 141 is only an example. In actual application scenarios, the Bluetooth headset 140 can also use other methods to remind the user that the Bluetooth headset 140 is currently charging. For example, when the indicator light 141 flashes regularly, it indicates that the Bluetooth headset 140 is currently charging. For another example, the headset case of the Bluetooth headset 140 includes a display screen, and the display screen displays a preset icon or text to indicate that the Bluetooth headset 140 is currently charging.
[0063] like Figure 1 As shown in (c) of FIG, the wireless reverse charging scenario may include mobile phone 150 and mobile phone 160. Among them, mobile phone 150 has a wireless reverse charging function, and mobile phone 160 has a wireless charging function. After the wireless reverse charging function of mobile phone 150 is turned on and the wireless charging area of mobile phone 160 is aligned with the wireless discharge area of mobile phone 150, mobile phone 150 wirelessly charges mobile phone 160. It is understandable that mobile phone 160 may not have a wireless reverse charging function, or mobile phone 160 may temporarily not have the wireless reverse charging function turned on.
[0064] While mobile phone 160 is being wirelessly charged via mobile phone 150, mobile phone 160 may display icon 161 and / or icon 162 on the display screen to remind the user that mobile phone 160 is currently charging. It is understood that icon 161 or icon 162 is merely an example, and in actual application scenarios, mobile phone 160 may also use other methods to remind the user that mobile phone 160 is currently charging, for example, mobile phone 160 may directly display "Charging" in the status bar to indicate that mobile phone 160 is charging.
[0065] It should be understood that Figure 1 The three wireless reverse charging scenarios shown in the figure are merely examples, and the embodiments of this application do not limit the specific types of electronic devices used in wireless reverse charging scenarios. For example, the power supply device can be a tablet computer, laptop computer, or other portable electronic device in addition to a mobile phone. The power receiving device can be a keyboard, stylus, electric toothbrush, or other portable electronic device in addition to a watch, Bluetooth headset, or mobile phone.
[0066] Figure 2 The following is a schematic diagram of the architecture of the system 200 provided in the embodiment of the present application. Figure 2 The working principle of wireless charging between two electronic devices in the embodiment of the present application is briefly described.
[0067] like Figure 2 As shown, the system 200 includes a first electronic device 210 and a second electronic device 220, wherein the first electronic device 210 is a device that performs wireless reverse charging, that is, a power supply device, or a discharge device or a power output device, etc. Therefore, in this system, the first electronic device turns on the wireless reverse charging function and performs wireless reverse charging for other devices (such as the second electronic device 220 in the figure); the second electronic device 220 is a charging device, or a power input device, that is, an electronic device that is wirelessly charged by a power supply device (such as the first electronic device 210 in the figure).
[0068] The first electronic device 210 has a reverse charging function (optionally, the first electronic device may also have a wireless charging function), the second electronic device 220 has a wireless charging function, and the first electronic device 210 is used to provide a wireless reverse charging service for the second electronic device 220.
[0069] As an example, the first electronic device 210 may be Figure 1 The mobile phone 110 shown in (a) corresponds to the second electronic device, for example, Figure 1 Alternatively, the first electronic device 210 may be, for example, a watch 120 as shown in (a) of FIG. Figure 1 The mobile phone 130 shown in (b) corresponds to the second electronic device, for example, Figure 1 Alternatively, the first electronic device 210 may be, for example, a Bluetooth headset 140 as shown in (b) of FIG. Figure 1 The mobile phone 150 shown in (c) in FIG. 1 corresponds to the second electronic device, for example, Figure 1 The mobile phone 160 shown in (c) in FIG.
[0070] The first electronic device 210 may include, for example, a battery 211, a wireless charging chip 212, and a coil 213. The coil 213 supports transmitting a magnetic field, i.e., the coil 213 is a transmitting coil in the first electronic device (optionally, the coil 213 may also support receiving a magnetic field). The second electronic device 220 may include, for example, a battery 223, a wireless charging chip 222, and a coil 221. The coil 221 supports receiving a magnetic field, i.e., the coil 221 is a receiving coil in the second electronic device.
[0071] The first electronic device 210 can control the battery 211 to output current to the coil 213 through the wireless charging chip 212, thereby causing the coil 213 to emit a high-frequency magnetic field. When the coil 213 of the first electronic device 210 is coupled with the coil 221 of the second electronic device 220, the high-frequency magnetic field can pass through the coil 221, causing an induced current to be generated in the coil 221. The wireless charging chip 222 can detect this induced current and input it into the battery 223.
[0072] In addition, the wireless charging chip 212 and the wireless charging chip 222 can interact with each other through a wireless charging protocol (such as the wireless Qi protocol). Data packets of the wireless Qi protocol can be transmitted through the magnetic field medium between the coil 213 and the coil 221.
[0073] The following combination Figure 3 The method 300 in the present invention introduces the interaction process between the first electronic device and the second electronic device in a wireless reverse charging scenario.
[0074] S301: A first electronic device sends a pulse signal to a second electronic device.
[0075] For example, after the wireless reverse charging function of the first electronic device is turned on, it sends a pulse signal, i.e., a ping signal. The first electronic device can send the pulse signal at a certain frequency within a preset time period. The pulse signal can be used to determine the presence of the opposite device. For example, the first electronic device can determine the presence of the opposite device based on whether a response message to the pulse signal is received or the content of the received response message.
[0076] S302: The second electronic device sends a first standard packet to the first electronic device.
[0077] For example, after the coil of the second electronic device is coupled to the coil of the first electronic device, the second electronic device can receive the pulse signal from the first electronic device. The second electronic device then uses the RX chip to send a first standard packet to the first electronic device. The first standard packet includes but is not limited to a signal strength packet (SSP), an identifier data packet (IDP), and a charging configuration data packet (CFGP).
[0078] S303: The first electronic device determines the coupling degree, manufacturer information, etc. based on the first standard package.
[0079] For example, a first electronic device receives a first standard packet from a second electronic device, wherein the SSP in the first standard packet includes information indicating signal strength, and the first electronic device can determine the degree of magnetic flux coupling between the first electronic device and the second electronic device based on the SSP.
[0080] The IDP in the first standard package includes information indicating the identity of the second electronic device (such as manufacturer information of the second electronic device). The first electronic device can determine the identity of the second electronic device according to the IDP.
[0081] The CFGP in the first standard package is used to exchange configuration information related to the wireless charging service between the second electronic device and the first electronic device.
[0082] S304: The first electronic device and the second electronic device perform a reverse charging process.
[0083] For example, the first electronic device may determine the basic power based on the first standard packet and perform wireless reverse charging for the second electronic device, that is, the first electronic device and the second electronic device enter a power transmission (PT) phase.
[0084] During wireless reverse charging, the first electronic device needs to constantly detect the presence of the second electronic device and adjust the power output in real time based on the feedback from the second electronic device.
[0085] S304a: The second electronic device sends a second standard packet to the first electronic device.
[0086] Exemplarily, the second electronic device may further send a second standard packet to the first electronic device, wherein the second standard packet includes a control error package (CEP), and the CEP includes power adjustment information, and the power adjustment information is used to instruct the first electronic device to adjust the output power to meet the needs of the second electronic device. For example, the RX chip in the second electronic device determines the power requirement based on the target voltage and the actual voltage, and then sends power adjustment information to the first electronic device based on the power requirement to instruct the first electronic device to increase or decrease power. In one possible implementation, the power adjustment information is represented by a control error (CE) value. When the CE value is positive, it indicates that the first electronic device needs to increase power; when the CE value is negative, it indicates that the first electronic device needs to reduce power.
[0087] S304b: The first electronic device performs power adjustment based on the second standard package.
[0088] Exemplarily, a first electronic device receives a CEP from a second electronic device and adjusts its power based on the sign and magnitude of the CE value, where power refers to the electrical output power. When the CE value is positive, the first electronic device increases its power; when the CE value is negative, the first electronic device decreases its power. The magnitude of the power adjustment by the first electronic device is related to the absolute value of the CE value; a larger absolute value of the CE value indicates a greater power adjustment by the first electronic device.
[0089] It is understandable that the second electronic device needs to continuously send CEP to the first electronic device at a preset frequency during the wireless charging process until charging is completed. The first electronic device determines the presence of the second electronic device based on the received CEP. If the first electronic device does not receive the CEP from the second electronic device within a preset time (such as more than 1.6 seconds), the first electronic device can automatically turn off the wireless reverse charging function, that is, the first electronic device stops charging.
[0090] The process shown in the above method 300 is only an example. In the actual wireless reverse charging scenario, other additional steps may be included, which are not limited in this application. For example, before executing step S304, the first electronic device and the second electronic device may also verify with each other whether they support the same private fast charging protocol (specifically, verification can be performed through a handshake process, the specific process is not limited here). If supported, the first electronic device can perform high-power charging on the second electronic device based on the private fast charging protocol.
[0091] Based on the process shown in the above method 300, the first electronic device can provide wireless reverse charging services to the second electronic device. However, in the actual wireless reverse charging process, the charging efficiency may be too low and the device may overheat, which not only affects the performance of both devices but also poses certain safety risks.
[0092] Specifically, wireless power transmission is achieved by coupling the magnetic field between the transmitting coil and the receiving coil, thereby wirelessly transmitting electrical energy from the transmitting coil to the receiving coil. However, if there is a foreign object (such as a metal foreign object) between the two devices being wirelessly charged, the changing magnetic field generated between the transmitting coil and the receiving coil will generate eddy current loss and heat in the metal foreign object, which will also reduce the charging efficiency; and if the transmitting coil and the receiving coil are not aligned, that is, there is a certain deviation between the two coils but they can still be charged, the AC impedance of the transmitting coil may also change, and the charging efficiency will be greatly affected. In this case, the charging efficiency will be greatly affected, and the magnetic field will also generate additional losses. With the development of technology, the wireless charging power of electronic devices has gradually increased. The power loss and heat caused by the above two situations have also increased proportionally, and it may also cause the power supply device to consume too much power while the charging device has not increased much power, resulting in both electronic devices running out of power.
[0093] In view of this, this application provides two detection schemes for detecting the above situation, which are briefly described below.
[0094] In a possible implementation, the power loss (Ploss) method can be used for detection. Figure 3 Method 300 in the embodiment of the present invention is described as follows: In this implementation, during the wireless reverse charging process, the second electronic device sends a receiver power packet (RPP) to the first electronic device. The RPP includes information indicating the receiving power of the second electronic device (i.e., information indicating that the second electronic device has received magnetic field energy). The RPP can be included in the second standard packet. The first electronic device can calculate the power loss value Ploss based on its actual transmission power (i.e., the magnetic field energy actually transmitted by the first electronic device):
[0095] Ploss=P tx -P rx (Formula 1);
[0096] Among them, Ploss is the power loss value, which is used to characterize the magnitude of the magnetic field energy lost during the wireless reverse charging process. Ploss can also be called the power loss value. tx is the transmission power, that is, the magnitude of the magnetic field energy emitted by the first electronic device as the power output end, P rxThe received power is the magnitude of the magnetic field energy received by the second electronic device serving as the power receiving end.
[0097] During the wireless reverse charging process, the first electronic device can detect the power loss value at the current moment regularly or every preset period. When the power loss value is greater than the preset power threshold and the duration exceeds the preset time threshold, it is determined that there is a metal foreign object between the first electronic device and the second electronic device, or the coils of the first electronic device and the second electronic device are not aligned. At this time, the first electronic device can stop the current power transmission (such as directly turning off the wireless reverse charging function), thereby reducing the situation where the power of the first electronic device is wasted and the power of both devices is in urgent need of power. It can also reduce the energy loss and safety hazards caused by metal foreign objects or misalignment of coil positions during wireless charging.
[0098] In another possible implementation, the detection can be performed by using the Q value method. Figure 3 The method 300 in FIG. 3 is described as follows: In this implementation, the first electronic device may determine the Q value according to the following formula before S304:
[0099]
[0100] Where, f is the inductance L of the transmitting coil of the first electronic device. coi1 , the resistance R of the transmitting coil coil And the resonant frequency of the resonant network composed of the capacitor C1 of the transmitter resonant network, L coi1 is the inductance of the transmitting coil, R coil is the resistance of the transmitting coil.
[0101] When the transmitting coil and the receiving coil are not aligned, or there is a foreign object between the transmitting coil and the receiving coil, the inductance L of the transmitting coil will be coil , the resistance R of the transmitting coil coil The value of changes, according to the definition formula of Q value, the Q value will also change accordingly.
[0102] After obtaining the Q value, the first electronic device determines whether the Q value is greater than a preset threshold. If so, it continues with the subsequent process. If not, it determines that there is a metal foreign object between the first electronic device and the second electronic device, or the coils of the first electronic device and the second electronic device are not aligned. At this time, the first electronic device can stop the current power transmission (such as directly turning off the wireless reverse charging function).
[0103] However, when using wireless reverse charging technology to charge a device, users may experience sudden disconnections or "fake charging"—where the device displays a continuous charge, but the charge level changes very slowly. This significantly impacts the user experience. In light of this, embodiments of the present application provide a solution for customizing charging parameters based on device type to reduce charging anomalies and improve the user experience.
[0104] The following combination Figure 4 The method 400 in the embodiment of the present application is used as an example to illustrate the wireless charging method provided by the embodiment of the present application. It can be understood that in one implementation, Figure 4 The first electronic device and the second electronic device involved may correspond to Figure 2 The power supply device (ie, the first electronic device 210) and the charging device (ie, the second electronic device 220) in the system 200 are described.
[0105] S401: A first electronic device receives first information from a second electronic device.
[0106] For example, the first electronic device in the embodiment of the present application is a power supply device, which supports the wireless reverse charging function. The first electronic device can provide wireless reverse charging services to other electronic devices that support the wireless charging function, that is, the first electronic device uses the power in its own battery to wirelessly charge the batteries of other electronic devices.
[0107] The second electronic device is a charging device that supports a wireless charging function, that is, the second electronic device can be wirelessly charged using other wireless charging devices (such as a wireless charging base connected to a power source) or other devices that support wireless reverse charging.
[0108] Optionally, the first electronic device may also support a wireless charging function, which is not limited in this application.
[0109] After the wireless reverse charging function of the first electronic device is turned on, the first electronic device may send a pulse signal. For details, please refer to the description corresponding to step S301 in method 300, which will not be repeated here.
[0110] This application does not limit the specific implementation method of enabling the wireless reverse charging function of the first electronic device, and an exemplary description is given below.
[0111] In a possible implementation, the first electronic device turns on the wireless reverse charging function according to the user's instruction. Figure 5 An example user interface for enabling the wireless reverse charging function is provided.
[0112] Figure 5The user interface 500a shown in (a) of FIG. 1 may be, for example, a battery settings interface for the first electronic device. The user interface 500a may include a wireless reverse charging switch 501, which indicates that the wireless reverse charging function is not enabled. The first electronic device may enable the wireless reverse charging function in response to a user gesture (e.g., a click) on the switch 501.
[0113] Please refer to Figure 5 In the user interface 500b shown in (b), after the first electronic device turns on the wireless reverse charging function, the electronic device can display relevant prompt information 504 of the wireless reverse charging function on the user interface 500b, such as "Please place the device that supports wireless charging (mobile phone, wearable device, etc.) in the charging area on the back of this device" to guide the user's operation. At the same time, the user interface 500b includes a switch control 501', which is used to indicate that the wireless reverse charging function is turned on. The first electronic device can respond to a user gesture operation (such as a click operation, etc.) on the switch control 501' to turn off the wireless reverse charging function.
[0114] Optionally, when the wireless reverse charging function of the first electronic device is turned on, the first electronic device may display a wireless reverse charging icon 503 on the user interface 500 b , where the icon 503 is used to indicate that the wireless reverse charging function is turned on.
[0115] Optionally, the user interface 500a may further include a wireless reverse charging parameter setting control 502. The first electronic device may respond to a user gesture operation (such as a click operation, etc.) on the parameter setting control 502, thereby jumping to a user interface 500c for adjusting the wireless reverse charging parameters of the first electronic device, such as Figure 5 As shown in (c) in .
[0116] Figure 5 The user interface shown in (c) includes, for example, an automatic stop charging switch control 505. The first electronic device can respond to a user gesture operation (such as a click operation, etc.) on the switch control 505 to enable the automatic stop charging function of the first electronic device (i.e., the function of automatically turning off the wireless reverse charging function). In other words, when the automatic stop charging switch control 505 is turned on, the first electronic device can determine whether the preset condition for automatic stop charging is met. If the preset condition is met, the first electronic device can actively stop wireless reverse charging for the second electronic device.
[0117] In one example, the user interface 500c may further include a parameter control 506 for the local charging amount.
[0118] like Figure 5As shown in (c) in FIG, the charging stop capacity of the local device can be, for example, 40%. That is, when the current power of the first electronic device is less than 40%, or when the current power of the first electronic device drops to 40%, the first electronic device can automatically turn off the wireless reverse charging function of the first electronic device. Figure 6 In (a), after the first electronic device automatically turns off the wireless reverse charging function, a prompt message 601 indicating that the wireless reverse charging function is turned off may be displayed, such as "The mobile phone battery is low and the wireless reverse charging function cannot be turned on temporarily", or "The mobile phone battery is low and the reverse charging function has been automatically turned off".
[0119] The first electronic device can respond to a user gesture operation (e.g., click, etc.) on the parameter control 506, as well as a series of subsequent gesture operations (e.g., sliding, inputting characters, etc.), thereby adjusting the local charging stop amount. It should be understood that the embodiments of the present application may not limit the specific value of the local charging stop amount.
[0120] When the remaining power of the first electronic device is insufficient, the first electronic device can reduce its own power consumption by turning off the wireless reverse charging function, thereby facilitating increasing the standby time of the first electronic device.
[0121] In one example, the user interface 500c may include a parameter control 507 for a single power consumption limit.
[0122] like Figure 5 As shown in (c), the single power consumption limit may be, for example, 20%. That is, when the single power consumption limit is greater than 20%, the first electronic device may automatically disable the wireless reverse charging function of the first electronic device.
[0123] The first electronic device can adjust the single power consumption limit in response to a user gesture operation (e.g., a click operation, etc.) on the parameter control 507 and a subsequent series of gesture operations (e.g., sliding, inputting characters, etc.). It should be understood that the embodiment of the present application may not limit the specific value of the single power consumption limit.
[0124] When the first electronic device consumes too much power, it can reduce its own power consumption by turning off the wireless reverse charging function, which is beneficial to improving the standby time of the first electronic device and is also beneficial to the normal operation of other components of the first electronic device.
[0125] In one example, the user interface 500c may include a parameter control 508 for the charging amount of the peer device.
[0126] like Figure 5As shown in (c), the charging stop level of the other device can be, for example, 90%. That is, when the current battery level of the second electronic device is greater than 90%, or when the current battery level of the second electronic device rises to 90%, the first electronic device can automatically turn off the wireless reverse charging function of the first electronic device.
[0127] The first electronic device can respond to a user gesture operation (e.g., click, etc.) on the parameter control 508, as well as a subsequent series of gesture operations (e.g., sliding, inputting characters, etc.), thereby adjusting the charging level of the peer device. It should be understood that the embodiments of the present application may not limit the specific value of the charging level of the peer device.
[0128] When the remaining power of the second electronic device is relatively sufficient, the standby time of the second electronic device can be relatively long. By turning off the wireless reverse charging function, the power consumption of the first electronic device can be reduced, thereby helping to increase the standby time of the first electronic device.
[0129] In one example, user interface 500c may include a parameter control 509 for a historical charging device.
[0130] It is understandable that the first electronic device obtains the device identification of the other electronic device before providing wireless reverse charging to the other electronic device (or during the charging process). Therefore, the first electronic device can record the device identifications of these devices. Optionally, the first electronic device can count the number of times other electronic devices are wirelessly reverse charged through the first electronic device based on the device identification of the other electronic device.
[0131] The first electronic device can display on the user interface 500c the device identifications and wireless reverse charging times of other devices that have obtained the wireless reverse charging service of the first electronic device. Figure 5 As shown in (c) in the figure, the first electronic device has provided wireless reverse charging services for Bluetooth headset A, watch B, and Bluetooth headset C. Bluetooth headset A has been wirelessly reverse charged 20 times, watch B has been wirelessly reverse charged 15 times, Bluetooth headset C has been wirelessly reverse charged 8 times, and mobile phone D has been wirelessly reverse charged 18 times. Optionally, the first electronic device can respond to a user gesture operation (such as a click operation) on parameter control 509 to display the wireless reverse charging record of the first electronic device.
[0132] Collecting wireless reverse charging records for the first electronic device can help users coordinate their power consumption patterns. For example, if the first electronic device provided wireless reverse charging for a relatively large number of electronic devices within a week, this can help prompt the user to properly place chargers for other devices, thereby reducing the number of wireless reverse charging attempts on the first electronic device.
[0133] Optionally, the first electronic device may highlight the device identification of the second electronic device on the user interface 500c so that the user can view the current device information of the second electronic device.
[0134] Optionally, the first electronic device can respond to a user gesture operation (such as a click operation, etc.) on the parameter control 509, thereby setting the target device identifier in the device blacklist. For example, the first electronic device can obtain the device identifier of the second electronic device from the second electronic device, and determine whether the device identifier belongs to the device blacklist. If it does, the first electronic device can perform an automatic stop charging operation, that is, automatically turn off the wireless reverse charging function. If it does not belong, the first electronic device can keep the wireless reverse charging function turned on and wirelessly reverse charge the second electronic device.
[0135] The charging performance of the second electronic device may seriously affect the performance of the first electronic device. By determining whether the device identifier of the second electronic device belongs to the device blacklist, it is helpful to maintain the performance of the first electronic device.
[0136] In another possible implementation, the first electronic device can automatically enable the wireless reverse charging function. For example, when the first electronic device detects that the coil of another device is capacitively coupled with its own coil, and its own remaining power is greater than a preset value, the wireless reverse charging function can be automatically enabled. It is understandable that in this implementation, before the first electronic device enables the wireless reverse charging function, it can remind the user whether to enable the wireless reverse charging function, such as Figure 6 As shown in (b), the first electronic device displays a prompt message 602 on the display screen for turning on the wireless reverse charging function, such as "Confirm whether to turn on the wireless reverse charging function". In response to the user clicking the "OK" control, the first electronic device turns on the wireless reverse charging function; in response to the user clicking the "Cancel" control, the first electronic device does not turn on the wireless reverse charging function.
[0137] Furthermore, the second electronic device sends the first information to the first electronic device, and correspondingly, the first electronic device receives the first information from the second electronic device.
[0138] It is understood that this application does not limit the specific timing of executing step S401. The second electronic device can send the first information to the first electronic device at any time before charging officially starts. This application does not limit this. As an example, the second electronic device can send the first information to the first electronic device after sending a standard packet such as SSP, IDP, CFGP, etc. to the first electronic device. For example, if method 400 is combined with method 300, the second electronic device can send the first information to the first electronic device after step S302.
[0139] In one possible implementation, the first information is transmitted between the second electronic device and the first electronic device based on a private protocol. The private protocol is not a standard protocol such as the QI protocol, but rather a private customized protocol configured by the terminal manufacturer. Generally, electronic devices from the same terminal manufacturer are configured with the same private protocol, although it is not ruled out that electronic devices from terminal manufacturers with cooperative relationships may also be configured with the same private protocol.
[0140] The private protocol described in this application may be a protocol specifically used to transmit the first information, or may be other general private protocols, and this application does not limit this.
[0141] In one example, before transmitting the first information through a private protocol, the second electronic device can perform a handshake with the first electronic device based on the private protocol. Only when the handshake is successful does the second electronic device send the first information to the first electronic device. It can be understood that a successful handshake means that the private protocol is configured between the first electronic device and the second electronic device, or that the first electronic device and the second electronic device belong to the same terminal manufacturer. Only in this case is it necessary for the second electronic device to send the first information to the first electronic device, otherwise the first electronic device cannot accurately identify and process the first information obtained from the second electronic device. Therefore, if the handshake fails, the second electronic device does not send the first information to the first electronic device to reduce unnecessary signaling overhead.
[0142] It is understandable that the “handshake between the second electronic device and the first electronic device based on a private protocol” described in the above example refers to the handshake between the second electronic device and the first electronic device based on a handshake instruction related to the private protocol. For example, the second electronic device sends a handshake instruction to the first electronic device, and the handshake instruction may include the identity of the second electronic device. After the first electronic device receives the handshake instruction from the second electronic device, if it is able to recognize the handshake instruction and determines based on the identity of the second electronic device that the second electronic device and itself both support the private protocol (such as when the second electronic device and the first electronic device belong to the same terminal manufacturer, it is determined that the two support the same private protocol), in this case, the first electronic device sends a response message to the second electronic device to indicate that the handshake is successful. If the first electronic device fails to recognize the above handshake instruction, it will not respond to the handshake instruction, thereby indicating that the handshake has failed.
[0143] It can also be understood that the above example is described by taking the second electronic device initiating the handshake process as an example, but the present application is not limited to this. In some other examples, the handshake process can also be initiated by the first electronic device.
[0144] In one possible implementation, the first information includes device type information of the second electronic device. This device type information is used to indicate the type of device of the second electronic device, such as a watch, Bluetooth headset, or mobile phone. Optionally, the first information may also include model information of the second electronic device. This model information is used to indicate the manufacturer and model of the second electronic device. Therefore, based on this model information, technical parameters such as the structure, materials, and functions of the second electronic device can be determined.
[0145] The first information is used to configure charging parameters for the first electronic device. For details, please refer to the description of step S402.
[0146] S402: The first electronic device configures charging parameters according to the first information.
[0147] Exemplarily, after obtaining the first information from the second electronic device, the first electronic device configures charging parameters based on the first information. The charging parameters refer to configuration parameters used by the first electronic device when providing wireless reverse charging services to the second electronic device. An exemplary description is provided below.
[0148] In one example, the charging parameter includes a first threshold value. The first threshold value is a preconfigured threshold value corresponding to a power loss value (Ploss). The first electronic device can determine whether to disable the wireless reverse charging function, i.e., whether to stop charging the second electronic device, based on the first threshold value. For details, please refer to the description of step S403b, which is not repeated here.
[0149] The first electronic device can determine the first threshold value based on the model information in the first information. For example, if the device type of the second electronic device is a mobile phone, the first electronic device can determine a relatively small value as the first threshold value. This is because mobile phones typically have a relatively large charging power and require a relatively large amount of power (the battery capacity of mobile phones is generally larger than that of other small devices). If the power loss value is too large, it may cause severe heating and also cause the power of the first electronic device to be quickly wasted. By setting a relatively small first threshold value, charging can be stopped when the power loss value is greater than or equal to the first threshold value, thereby reducing safety risks and conserving power of the first electronic device. Because, if the second electronic device is a mobile phone, a large power loss value is usually due to the presence of foreign objects (such as metal foreign objects) between the two devices or the misalignment and large deviation of the coils of the two devices. Both of these situations can be manually avoided by the user. If the user does not take action within a certain period of time, the first electronic device should stop charging to save power loss and reduce safety risks.
[0150] For another example, if the second electronic device is a Bluetooth headset, the first electronic device can determine a relatively large value as the second threshold. This is because Bluetooth headsets typically have a relatively low charging power and require relatively little power. Therefore, even if the power loss is relatively large, the resulting heat and power waste will not be particularly severe. Most importantly, Bluetooth headsets typically contain a metal hinge, which often increases power loss. If the first threshold is relatively low, the Bluetooth headset may suddenly be disconnected during normal charging, significantly impacting the user experience. Alternatively, the first electronic device can determine the second threshold based on the specific device model. For example, different Bluetooth headset models have different metal hinge sizes. For a second electronic device with a larger hinge, the first electronic device can set a relatively large first threshold. For a second electronic device with a smaller hinge, the first electronic device can set a relatively small first threshold. This ensures that normal charging of the second electronic device is minimized while also enabling timely disconnection when safety risks or power loss are significant.
[0151] For another example, if the second electronic device is a watch (specifically, a smartwatch that supports wireless charging), the first electronic device can determine a relatively large value as the second threshold value. This is because the charging power of a watch is generally low and the power demand is relatively low. Therefore, even if the power loss value is relatively large, the resulting heat and power waste will not be particularly serious. Most importantly, the back case of a watch is generally thick, which usually increases the power loss value. If the first threshold value is relatively small, it may cause the watch to suddenly be disconnected from charging during normal charging, greatly affecting the user experience. Optionally, the first electronic device can also determine the second threshold value based on the specific device model. For example, the back case thickness of different watch models varies. For a second electronic device with a relatively thick back case, the first electronic device can set a relatively large first threshold value. For a second electronic device with a relatively thin back case, the first electronic device can set a relatively small first threshold value. In this way, the normal charging of the second electronic device can be minimized while the charging is interrupted in a timely manner when the safety risk is high or the power loss is high.
[0152] In one specific implementation, the first electronic device may preconfigure a list that includes first thresholds corresponding to different device types and / or device models. After obtaining the first information, the first electronic device determines the first threshold corresponding to the second electronic device by looking up the list. The values in the list may be obtained in advance through testing or experimentation, and are not limited here.
[0153] In one example, the charging parameter includes a second threshold value. The second threshold value is another preconfigured threshold value corresponding to the power loss value (Ploss). The first electronic device can determine whether to perform current limiting processing on the second electronic device based on the second threshold value, that is, whether to reduce the charging power of the second electronic device. For details, please refer to the description of step S403a, which will not be repeated here. It is understandable that the second threshold value should be less than or equal to the first threshold value.
[0154] The first electronic device can determine the second threshold value based on the type information in the first information. For example, if the device type of the second electronic device is a mobile phone, the first electronic device can determine a relatively large value as the second threshold value. In an extreme scenario, the second threshold value can be made the same as the first threshold value. In this case, when the power loss value is greater than or equal to the second threshold value, the first electronic device can directly turn off the wireless reverse charging function (i.e., trigger charging disconnection). Because for mobile phones, the relatively large power loss value is usually caused by the presence of foreign matter (such as metal foreign matter) between the two devices or the coils of the two devices are not aligned and the deviation is relatively large. Therefore, in this case, the first electronic device may not need to perform current limiting processing, but directly determine whether to stop charging. In this way, the wireless reverse charging function of the first electronic device can be turned off in time when the power loss value is abnormal, so as to save power loss and reduce safety risks.
[0155] For another example, if the second electronic device is a Bluetooth headset, the first electronic device can determine a relatively large value as the second threshold. This is because Bluetooth headsets typically have a relatively low charging power and require relatively little power. Therefore, even if the power loss is relatively high, the resulting heat generation and power waste will not be particularly severe. Most importantly, Bluetooth headsets typically contain a metal hinge, which often increases power loss. If the second threshold is relatively low, the Bluetooth headset may suddenly be current-limited during normal charging, significantly impacting the user experience. Alternatively, the first electronic device can determine the second threshold based on the specific device model. For example, different Bluetooth headset models have different metal hinge sizes. For second electronic devices with larger hinges, the first electronic device can set a relatively large second threshold, while for second electronic devices with smaller hinges, the first electronic device can set a relatively small second threshold. This approach minimizes impact on the normal charging of the second electronic device while enabling timely current limiting when safety risks or power loss are high.
[0156] For another example, if the second electronic device is a watch (specifically, a smartwatch that supports wireless charging), the first electronic device can determine a relatively large value as the second threshold value. This is because the charging power of a watch is generally low and the power demand is relatively low. Therefore, even if the power loss value is relatively large, the resulting heat and power waste will not be particularly serious. Most importantly, the back case of a watch is generally thick, which usually increases the power loss value. If the second threshold value is relatively small, it may cause the watch to suddenly be current-limited during normal charging, which greatly affects the user experience. Optionally, the first electronic device can also determine the second threshold value based on the specific device model. For example, the back case thickness of different watch models varies. For a second electronic device with a relatively thick back case, the first electronic device can set a relatively large second threshold value. For a second electronic device with a relatively thin back case, the first electronic device can set a relatively small second threshold value. In this way, the normal charging of the second electronic device can be minimized while current limiting can be performed in a timely manner when there is a high safety risk or high power loss.
[0157] In one specific implementation, the first electronic device may preconfigure a list that includes second thresholds corresponding to different device types and / or device models. After obtaining the first information, the first electronic device determines the second threshold corresponding to the second electronic device by looking up the list. The values in the list may be obtained in advance through testing or experimentation, and are not limited here.
[0158] It is understandable that the above charging parameters are only examples, and in actual applications, the charging parameters may also include other configuration parameters for the wireless reverse charging service, such as charging mode and / or maximum charging power.
[0159] The charging mode includes at least two of the following three modes: a baseline power profile (BPP) mode, an extended power profile (EPP) mode, and a private mode.
[0160] The BPP mode is a standard charging mode, and its corresponding charging power is generally 5 watts (W), that is, a charging mode with a voltage of 5 volts (V) and a current of 1 ampere (A).
[0161] EPP mode is another standard charging mode, and its corresponding charging power is generally between 10W and 25W. In specific applications, the specific charging power of the EPP charging mode can be determined by negotiation between the charging and discharging devices.
[0162] Private mode is a charging mode based on a private charging protocol, i.e., a non-standard charging mode. That is, when both the first electronic device and the second electronic device are deployed with the same private charging protocol, the two devices can charge each other according to the deployed private charging protocol. Typically, the charging power corresponding to private mode is relatively high, such as 50W or 100W, so private mode can also be called high-power mode.
[0163] The first electronic device can determine a specific charging mode based on the first information. For example, when the second electronic device is a Bluetooth headset, the BPP mode can be used (provided that both the first electronic device and the second electronic device support the BPP mode), because the battery capacity of the Bluetooth headset is usually relatively small, and generally a small amount of power can support the use of the Bluetooth headset for a relatively long time, so even if the charging power is relatively low, it can meet the user's needs. In addition, since Bluetooth headsets usually have metal coils, if the charging power is too high, the device will heat up more seriously, posing certain safety risks. Therefore, using the BPP mode for charging can not only meet user needs but also reduce safety risks; for another example, when the second electronic device is a watch, the EPP mode can be used (provided that both the first electronic device and the second electronic device support the EPP mode), because the battery capacity of the watch is usually relatively small, but the watch consumes power relatively quickly, so using the EPP mode for charging can increase the charging speed compared to the BPP mode. At the same time, since the back shell of a watch is usually thick, if the charging power is too high, the device will heat up seriously. Therefore, using the EPP mode to charge the watch can not only improve the charging speed to a certain extent, but also minimize the safety risks. For example, when the second electronic device is a mobile phone, the private mode can be used for charging, because the battery capacity of the mobile phone is usually relatively large, and the power consumption rate of the mobile phone is relatively fast. The wireless reverse charging function is usually used in emergency charging scenarios. Therefore, using the fast charging mode corresponding to the private mode to charge the mobile phone can increase the charging speed. At the same time, when the second electronic device is a mobile phone, a relatively small first threshold is usually set. Therefore, even if the charging power of the private mode is relatively high, the charging can be stopped in time when there is a safety risk. Therefore, using the private mode to charge the mobile phone can not only improve the charging speed, but also minimize the safety risks and improve the user experience.
[0164] The maximum charging power is the maximum transmission power allowed when the first electronic device provides wireless reverse charging service to the second electronic device. It should be understood that during wireless reverse charging, the greater the power, the faster the charging speed, and the more severe the device heating. Therefore, the first electronic device determines the maximum transmission power based on the first information (the device type and / or device model of the second device) and can customize the maximum transmission power based on the needs of different types of devices, so as to meet the charging needs of the devices while reducing safety risks.
[0165] S403: The first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameters.
[0166] For example, after determining the charging parameters, the first electronic device provides a wireless reverse charging service to the second electronic device based on the charging parameters. Specifically, the first electronic device uses its own battery to wirelessly reverse charge the battery of the second electronic device. Correspondingly, the second electronic device accepts the wireless reverse charging service provided by the first electronic device based on the charging parameters. Specifically, the second electronic device uses the first electronic device to wirelessly charge its own battery.
[0167] The following provides some possible implementations of the first electronic device providing the wireless reverse charging service for the second electronic device based on the charging parameters with reference to steps S403a to S403g.
[0168] S403a. Optionally, the first electronic device monitors the duty cycle, the frequency, and the size of the control error value.
[0169] For example, when a first electronic device is charging a second electronic device, it receives a CEP from the second electronic device. The CEP uses a control error value (CE value) to represent power adjustment information, namely the power demand of the second electronic device. When the control error value is positive, it indicates that the second electronic device wants the first electronic device to increase the charging power; when the control error value is negative, it indicates that the second electronic device wants the first electronic device to reduce the charging power. The absolute value of the control error value is used to indicate the magnitude of the power adjustment; the larger the absolute value, the greater the adjustment magnitude.
[0170] The first electronic device adjusts the magnitude of the charging power according to the control error value, or in other words, the first electronic device adjusts the magnitude of the transmission energy according to the control error value.
[0171] In a possible implementation, the first electronic device adjusts the size of the charging power, that is, the size of the transmitted energy, by adjusting the size of the duty cycle (duty) and / or the frequency (freq).
[0172] The duty cycle and frequency are parameters used by the first electronic device to adjust the charging power, or in other words, the output energy, when providing the wireless reverse charging service to the second electronic device. Specifically, the duty cycle refers to the proportion of the signal's high-level time to the total time within a complete cycle, typically ranging from 20% to 50%. The frequency refers to the power frequency used by the first electronic device to charge the second electronic device, typically ranging from 110 to 145.
[0173] Therefore, the first electronic device can control the output energy by adjusting the duty cycle and the frequency. The larger the duty cycle and the smaller the frequency, the greater the energy output by the first electronic device.
[0174] When the first electronic device performs the wireless reverse charging service for the second electronic device, the first electronic device may monitor the duty cycle, frequency, and the size of the control error value.
[0175] S403b. Optionally, when the duty cycle is greater than or equal to the third threshold, the frequency is less than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold, the first electronic device sends second indication information to the second electronic device.
[0176] S403c: The second electronic device displays a second notification message based on the second indication information.
[0177] For example, in the above scheme, if at a certain moment the first electronic device detects that the duty cycle is greater than or equal to the third threshold, the frequency is less than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold (the fifth threshold is a positive number), this indicates that the first electronic device is outputting relatively high energy (because the larger the duty cycle and the smaller the frequency, the greater the energy output of the first electronic device). At the same time, the second electronic device still has a high power demand for n consecutive cycles. In other words, the first electronic device has output a relatively high amount of energy, but the energy received by the second electronic device is still seriously insufficient. In this case, a false charging situation may occur, that is, the second electronic device displays that it is charging, but the actual charging power is very low. This situation is confusing to the user, because the user believes that the second electronic device is continuously charging, but the actual charging power is very limited, affecting the user experience. This situation may be caused by a large amount of energy lost to the air during the charging process. In this case, the first electronic device can instruct the second electronic device to notify the user to check whether the coils of the two devices are misaligned or whether there is any foreign object between the two devices to avoid the power loss caused by these two situations. For example, when the duty cycle is greater than or equal to the third threshold, the frequency is greater than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold, the first electronic device sends a second indication message to the second electronic device, and the second indication message is used to instruct the second electronic device to display a second notification message, and the second notification message is used to prompt that the wireless reverse charging service is abnormal, or the second notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the second notification message is used to remind the user to check whether there is a foreign object between the first electronic device and the second electronic device. Please refer to Figure 7 Assuming that the second electronic device is a watch, the first notification message may be, for example, "Reminder: Please note that the current charging is too slow" (see Figure 7(a) in the figure), or it could be "Please check whether the coil is aligned and whether there are any foreign objects in the charging position" (see Figure 7 (b) in FIG. 3 ). That is, the solution can identify the fake charging situation and remind the user, thereby reducing the situation where the user is confused by the fake charging phenomenon during the process of charging the second electronic device through the first electronic device.
[0178] In one possible implementation, the third threshold is 50% and the fourth threshold is 110. At this time, step S403b can be modified as follows: when the duty cycle is 50%, the frequency is 110, and n consecutive control error values are greater than or equal to the fifth threshold, the first device sends a second indication message to the second device. As can be seen from the above introduction, the duty cycle usually ranges from 20% to 50%, and the frequency usually ranges from 110 to 145. The larger the duty cycle and the smaller the frequency, the higher the energy. Therefore, when the duty cycle is 50% and the frequency is 110, it means that the first electronic device has output the maximum energy. At this time, if it is detected that n consecutive control error values are greater than or equal to the fifth threshold, the user can be reminded to check the coil position or check for foreign objects in order to manually eliminate possible interference.
[0179] It can be understood that the above n and the fifth threshold are both pre-configured values. As an example, n can be taken as 10 and the fifth threshold can be taken as 5.
[0180] S403d. Optionally, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device switches the charging power from the first power to the second power.
[0181] For example, during the charging process of the second electronic device, the first electronic device can obtain a power loss value (Ploss). For example, the first electronic device obtains the RPP from the second electronic device, determines the actual received power of the second electronic device based on the RPP, and then determines the power loss value based on its own actual transmit power and the actual received power of the second electronic device. The specific implementation process can be referred to the aforementioned description of the power loss value, which will not be repeated here.
[0182] It is understandable that the first electronic device obtains the RPP from the second electronic device at a certain frequency and calculates the power loss value. That is, the first electronic device continuously calculates the power loss value at a certain frequency. The first electronic device detects the calculated power loss value. When the power loss value calculated at a certain moment is greater than or equal to the second threshold, the first electronic device switches the charging power from the first power to the second power, where the second power is less than the first power. That is, when the power loss value is relatively large (greater than or equal to the second threshold) but has not yet reached the condition for triggering charging interruption (less than the first threshold), the first electronic device can first reduce the power, that is, limit the current of the second electronic device, but still continue to charge the second electronic device. Because when the power loss value is between the second threshold and the first threshold, it means that there is a certain power loss but it is still within an acceptable range, so charging can be temporarily continued. When the power loss value is greater than or equal to the second threshold, if charging is still carried out at the original power (i.e., the first power), it may cause the device to heat up severely, posing a certain safety risk. Therefore, by reducing the power, the second electronic device can be charged while reducing the safety risk.
[0183] Optionally, in one possible implementation, the first electronic device switches the charging power from the first power to the second power only when the power loss value remains greater than or equal to the second threshold and less than the first threshold for a duration exceeding a preset time. Because the power loss value may suddenly increase for some reason during the charging process but quickly returns to normal, the heat and energy loss caused by this situation are negligible. Therefore, there is no need to reduce the charging power, which saves control resources while maintaining a relatively high charging speed.
[0184] Optionally, in one possible implementation, after the first electronic device switches the charging power from the first power to the second power, if the first electronic device detects that the power loss value is less than the second threshold, that is, the power loss value has become smaller again, the first electronic device can switch the charging power from the second power back to the first power. Based on this solution, after the power loss value returns to a normal level (that is, less than the second threshold), the charging power can be increased again, thereby increasing the charging speed of the second electronic device while ensuring safety, thereby improving the user experience.
[0185] S403e. Optionally, the first electronic device sends first indication information to the second electronic device.
[0186] S403f. Optionally, the second electronic device displays a first notification message based on the first indication information.
[0187] Exemplarily, as described in step S403a, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the power loss value is relatively large, but the condition for disconnecting charging has not been met. Therefore, the first electronic device switches the charging power from the first power to the second power, and continues to charge the second electronic device based on the second power.
[0188] Since the first threshold and the second threshold have been set based on the first information, it is basically possible to avoid the situation where the power loss value exceeds the second threshold due to structural problems of the second electronic device itself (such as the metal hinge of a Bluetooth headset or the back cover of a watch). Therefore, the reason why the power loss value is relatively large at this time is likely that the coil of the first electronic device and the coil of the second device are not aligned, or there is a foreign object between the first electronic device and the second electronic device. Therefore, in this case, the first electronic device can instruct the second electronic device to notify the user to check whether the coils of the two devices are not aligned, or check whether there is a foreign object between the two devices. For example, when the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device sends a first indication message to the second electronic device, and the first indication message is used to instruct the second electronic device to display a first notification message; the first notification message is used to prompt that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the first notification message is used to remind the user to check whether there is a foreign object between the first electronic device and the second electronic device. For specific examples of the first notification message, please refer to Figure 7 (a) and Figure 7 Example in (b).
[0189] It should be noted that when the first electronic device provides wireless reverse charging service for the second electronic device, the first electronic device is usually placed upside down on the table, and the second electronic device is placed on the first electronic device (refer to Figure 1 (a) to Figure 1 (c) in the preceding text, if the first electronic device displays the first notification message, the user is likely to be unable to see the message. Therefore, having the second electronic device display the first notification message makes it easier for the user to see the message and, based on the message, perform foreign object detection or coil position detection.
[0190] Of course, if the first notification message is a non-text message (such as a voice message), the first notification message may also be displayed by the first electronic device, and this application does not impose any limitation on this.
[0191] S403g. Optionally, when the power loss value is greater than or equal to the first threshold, stop providing the wireless reverse charging service for the second electronic device.
[0192] For example, if the first electronic device detects a power loss value greater than or equal to a first threshold, it indicates that the current power loss value is excessive. This may pose a risk of device overheating and excessive power consumption by the first electronic device. Therefore, the first electronic device may automatically stop providing wireless reverse charging services to the second electronic device, i.e., the first electronic device stops charging the second electronic device, to prevent safety issues and reduce the possibility of both the first and second electronic devices running out of power due to excessive power consumption.
[0193] In an optional solution, the threshold corresponding to the Q value can be increased in advance, because the process of foreign object detection based on the Q value is usually before step S401. If the threshold corresponding to the Q value is too small, it may cause Bluetooth headsets, watches and other devices to be detected as foreign objects in advance. Because the present application solution can reduce the situation of foreign object recognition errors through subsequent customized parameters, increasing the threshold corresponding to the Q value can not only allow Bluetooth headsets, watches and other devices to enter the normal charging process, but also will not reduce the effect of foreign object detection.
[0194] In the above solution, before the first electronic device provides wireless reverse charging service for the second electronic device, it customizes charging parameters according to the device type of the second electronic device, that is, different charging parameters can be set for different types of devices, reducing the situation where some types of devices cause charging abnormalities (such as disconnection or slow charging) due to their own structural characteristics when using the same parameters for wireless reverse charging. For example, the device type of the second electronic device is a Bluetooth headset, and the Bluetooth headset usually contains a metal shaft inside. When the first electronic device performs wireless reverse charging for the Bluetooth headset according to the existing charging parameters, it may identify the Bluetooth headset as a foreign object, thereby disconnecting the charging or limiting the current of the second electronic device, resulting in a poor user experience. For another example, the device type of the second electronic device is a watch, and the back shell of the watch is usually thick. When the first electronic device performs wireless reverse charging for the watch according to the existing charging parameters, it may also identify the watch as a foreign object, thereby disconnecting the charging or limiting the current of the second electronic device, resulting in a poor user experience. Through the solution provided by this application, the charging parameters of this type of device that is easily identified as a foreign object can be adjusted in a targeted manner, reducing the situation where these devices are identified as foreign objects, thereby reducing charging abnormalities and improving the user experience.
[0195] Figure 8 FIG1 shows an exemplary flow chart of the method 800 provided in the embodiment of the application. It is understood that the method 800 can be Figure 2 The first electronic device in the system 200 is executed.
[0196] S801. Enable the wireless reverse charging function.
[0197] S802: Receive a response message from the second electronic device.
[0198] S803: Enter the power transmission (PT) phase.
[0199] For example, after the wireless reverse charging function of the first electronic device is turned on, the first electronic device can send a pulse signal (ping) to detect the peer device (i.e., the second electronic device). If the first electronic device receives a response message from the second electronic device, the first electronic device and the second electronic device enter the PT phase, i.e., the first electronic device begins to provide wireless reverse charging for the second electronic device. The specific implementation process can be referred to the description of S301 to S304 in method 300, which will not be repeated here.
[0200] S804: Receive a CEP from a second electronic device.
[0201] For example, during the PT phase, the first electronic device may receive a CEP from the second electronic device and determine a control error value (i.e., a CE value) based on the CEP. The control error value is used to indicate the power requirement of the second electronic device. The specific process can be found in step S304a of method 300 and is not further described here.
[0202] S805: Adjust the duty cycle and / or frequency to control the amount of transmission energy.
[0203] Exemplarily, the first electronic device adjusts the charging power according to the control error value, or in other words, adjusts the transmission energy according to the control error value. In one possible implementation, the first electronic device adjusts the charging power, that is, the transmission energy, by adjusting the duty cycle and / or frequency.
[0204] S806: Determine whether the duty cycle is greater than or equal to a third threshold and less than or equal to a fourth threshold.
[0205] S807: Determine whether n consecutive control error values are greater than or equal to a fifth threshold.
[0206] S808: Instruct the second electronic device to display a second notification message.
[0207] Exemplarily, the first electronic device monitors the duty cycle, frequency, and control error value. When the duty cycle is greater than or equal to the third threshold, the frequency is less than or equal to the fourth threshold, and n consecutive control error values are greater than or equal to the fifth threshold, the first electronic device instructs the second electronic device to display a second notification message to remind the user that the reverse charging service is abnormal, or to remind the user to check the coil positions of the first electronic device and the second electronic device, or to remind the user to check whether there are foreign objects between the first electronic device and the second electronic device. The specific implementation process can be referred to the description of steps S403a to S403c in method 400, which will not be repeated here.
[0208] S809: Continue to perform wireless reverse charging for the second electronic device.
[0209] Illustratively, regardless of whether the judgment conditions of steps S806 and S807 are met, the first electronic device continues to perform wireless reverse charging for the second electronic device.
[0210] S810: Receive an RPP from a second electronic device.
[0211] S811: Calculate the power loss value Ploss.
[0212] For example, during the charging process of the second electronic device, the first electronic device can obtain a power loss value (Ploss). For example, the first electronic device obtains the RPP from the second electronic device, determines the actual received power of the second electronic device based on the RPP, and then determines the power loss value based on its own actual transmit power and the actual received power of the second electronic device. The specific implementation process can be referred to the aforementioned description of the power loss value, which will not be repeated here.
[0213] S812: Determine whether Ploss is greater than or equal to the second threshold and less than the first threshold.
[0214] S813: Switch the charging power from the first power to the second power.
[0215] S814: Instruct the second electronic device to display the first notification message.
[0216] Exemplarily, the first electronic device detects the calculated power loss value. When the power loss value calculated at a certain moment is greater than or equal to the second threshold, the first electronic device switches the charging power from the first power to the second power, and instructs the second electronic device to display a second notification message to remind the user that the reverse charging service is abnormal, or remind the user to check the coil position of the first electronic device and the second electronic device, or remind the user to check whether there is any foreign object between the first electronic device and the second electronic device. For the specific absorption process, please refer to the description of steps S403d to S403f in method 400, which will not be repeated here.
[0217] S815: Determine whether Ploss is greater than or equal to a first threshold.
[0218] S816: Stop providing the wireless reverse charging function for the second electronic device.
[0219] For example, if the first electronic device detects that the power loss value Ploss is greater than or equal to the first threshold, indicating that the current power loss value is too large, the first electronic device can automatically stop providing wireless reverse charging service to the second electronic device, that is, the first electronic device stops charging the second electronic device. For details, please refer to the description of step S403g in method 400, which will not be repeated here.
[0220] It can be understood that when the first electronic device detects that the Ploss is less than the second threshold, the first electronic device continues to use the first power to perform wireless reverse charging for the second electronic device; when the first electronic device detects that the Ploss is greater than the second threshold and less than the first threshold, the first electronic device continues to use the second power to perform wireless reverse charging for the second electronic device.
[0221] Figure 9 This is a block diagram of a layered architecture 900 corresponding to a first electronic device provided in an embodiment of the present application. The steps performed by the first electronic device in the method provided in an embodiment of the present application can be performed by Figure 9 The software and hardware modules shown are implemented.
[0222] The layered architecture 900 includes software and hardware layers. The software layer is further divided into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. Figure 9 In the example shown, the software layer of the first electronic device includes at least an application layer, a framework layer, and a kernel layer. It should be understood that in actual applications, the software layer of the first electronic device may also include one or more other layers, such as a system library layer, a hardware abstraction layer, etc., which are not limited in this application.
[0223] The application layer is used to provide various applications. For example, the application layer includes a charging management application, through which the first electronic device can receive a user's instruction to enable the wireless reverse charging function.
[0224] It should be understood that the application layer may also include programs for implementing various other functions, such as gallery, calendar, call, map and other applications.
[0225] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. As an example, the application framework layer includes a battery service (BatteryService) and a battery statistics service (BatteryStatsService). The battery service provides an interface for obtaining battery information, charge and discharge status, etc. For example, in an embodiment of the present application, a first electronic device can use the battery service to obtain the current discharge status and remaining power information, wherein the discharge status is used to indicate whether the first electronic device is currently providing wireless reverse charging services to other devices, and the remaining power information is used to identify the current remaining power of the first electronic device. When providing wireless reverse charging services to other devices, when the remaining power is lower than a preset value, the first electronic device can drive the wireless reverse charging function to be turned off through the charging control logic of the kernel layer. Another main function of the battery service is to monitor battery information change messages and forward the messages to various locations in the system in the form of system broadcasts, so that the charging status information can be output through output devices such as the display screen, indicator lights, and speakers of the electronic device.
[0226] The power statistics service is mainly used for power consumption statistics. For example, in an embodiment of the present application, when a first electronic device provides a wireless reverse charging service to a second electronic device, it can use the power statistics service to obtain its actual transmission power.
[0227] It should be understood that the application framework layer may also include other interface services, such as a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0228] The kernel layer provides core system services for the first electronic device, acting as a bridge between software and hardware. The kernel layer may include battery-related drivers and drivers or modules related to charging and discharging events, such as a charging protocol driver, a battery driver, and a charging control logic module. The charging control protocol driver controls the switching of the first electronic device between different charging modes. The battery driver invokes the battery in the hardware layer to drive the coil to emit a magnetic field, thereby wirelessly recharging other devices. The charging control logic module enables and disables the wireless reverse charging function. For example, in an embodiment of the present application, the first electronic device may utilize the charging control logic module to obtain instructions to enable the wireless reverse charging function from the charging management program in the application layer and enable the wireless reverse charging function based on the instructions. For another example, the first electronic device may utilize the charging control logic module to disable the wireless reverse charging function if the power loss value is greater than or equal to a first threshold, thereby ceasing to provide wireless reverse charging services to the second electronic device. Furthermore, the first electronic device may utilize the charging control logic module to obtain first information from the second electronic device and configure charging parameters based on the first information. The specific implementation method can be found in the above-mentioned method embodiment and will not be further described here.
[0229] It should be understood that the kernel layer may also include other types of drivers or modules, such as display drivers, audio drivers, sensor drivers, etc.
[0230] The hardware layer includes a battery and a coil, and optionally, a wired interface. After the first electronic device turns on the wireless reverse charging function, it can use the power in the battery to drive the coil to emit a magnetic field to provide wireless reverse charging services to the second electronic device. The wired interface can be, for example, a universal serial bus (USB) interface, through which the first electronic device can charge the battery or transmit data.
[0231] It is understandable that the above layered architecture 900 may also correspond to a second electronic device, the main difference being that: for the second electronic device, Figure 9 The various modules in it are mainly used to perform functions related to wireless charging. For example, the second electronic device can use the charging control logic module to transmit the first information to the first electronic device. The solutions implemented by other modules are similar and will not be repeated here.
[0232] Figure 10 This is a hardware architecture diagram of an electronic device provided in an embodiment of the present application. In one implementation, Figure 10 The electronic device corresponds to the first electronic device in the above embodiment of the present application.
[0233] like Figure 10As shown, the electronic device includes but is not limited to a processor 1001, a memory 1002, a display screen 1003, a sensor 1004, a power management module 1005, a charging management module 1006, a wireless reverse charging management module 1007, a battery 1008, a USB interface 1009, an antenna 1, an antenna 2, a mobile communication module 1010, and a wireless communication module 1011.
[0234] It is understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0235] The wireless communication function of the electronic device can be implemented using antenna 1, antenna 2, mobile communication module 1010, wireless communication module 1011, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 1010, and antenna 2 is coupled to wireless communication module 1011, allowing the electronic device to communicate with the network and other devices via wireless communication technologies.
[0236] The mobile communication module 1010 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to electronic devices. The mobile communication module 1010 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 1010 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 1010 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 1010 can be set in the processor 1001. In some embodiments, at least some of the functional modules of the mobile communication module 1010 can be set in the same device as at least some of the modules of the processor 1001.
[0237] The wireless communication module 1011 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLA), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 1011 can be one or more devices that integrate at least one communication processing module. The wireless communication module 1011 receives Bluetooth signals via antenna 2, filters the received Bluetooth signals, and sends the processed signals to the processor 1001. The wireless communication module 1011 can also receive data signals to be sent from the processor 1001, frequency modulate and amplify them, and convert them into Bluetooth signals for transmission via antenna 2 or convert them into electromagnetic waves for radiation to be received by other devices.
[0238] In some embodiments, the first electronic device can communicate with the second electronic device via the mobile communication module 1010 and / or the wireless communication module 1011. For example, the first electronic device can receive first information from the second electronic device, and send first indication information and second indication information to the second electronic device via the mobile communication module 1010 and / or the wireless communication module 1011. The specific implementation process can be referred to the description of the above method embodiment, and will not be repeated here.
[0239] The processor 1001 may include one or more processing units. For example, the processor 1001 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In some embodiments, the processor 1001 may control the mobile communication module 1010 and / or the wireless communication module 1011 to collect first information and configure charging parameters based on the first information. In other embodiments, the processor 1001 may also be configured to monitor the duty cycle, frequency, and control error value, and, when the duty cycle is greater than or equal to a third threshold, the frequency is less than or equal to a fourth threshold, and n consecutive control error values are greater than or equal to a fifth threshold, control the mobile communication module 1010 and / or the wireless communication module 1011 via the controller to send a second indication message to the second electronic device. In yet other embodiments, the processor 1001 may also be configured to monitor the power loss value, and, when the power loss value is greater than or equal to the second threshold and less than the first threshold, control the power management module 1005 via the controller to switch the charging power from the first power to the second power, and, when the power loss value is greater than or equal to the first threshold, control the power management module 1005 via the controller to disable the wireless reverse charging function to stop providing wireless reverse charging service to the second electronic device.
[0240] Processor 1001 may also be connected to or internally provided with memory 1002 for storing instructions and data. In some embodiments, memory 1002 is a cache memory. Memory 1002 may store instructions or data used by processor 1001. If processor 1001 needs to use the instruction or data again, it may directly call it from memory 1002. This avoids repeated accesses, reduces the waiting time of processor 1001, and thus improves system efficiency. For example, memory 1002 may store a correspondence between different device types and / or device models and charging parameters. After obtaining first information through mobile communication module 1010 and / or wireless communication module 1011, processor 1001 may read the correspondence from memory 1002 and determine the actual charging parameters to be used based on the first information and the correspondence. For another example, memory 1002 may store various preset values: a first threshold, a second threshold, a third threshold, a fourth threshold, a fifth threshold, and n. When executing some judgment logic, the processor 1001 can directly read the corresponding threshold value from the memory 1002. The specific implementation scheme can refer to the above method embodiment and will not be repeated here.
[0241] In some embodiments, the processor 1001 may include one or more interfaces. The USB interface 1009 is an interface that complies with USB standards and specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 1009 can be used to connect a charger to charge an electronic device, transfer data between the electronic device and peripheral devices, or connect headphones to play audio. This interface can also be used to connect other electronic devices.
[0242] The charging management module 1006 is used to receive charging input, which can be used for both wired and wireless charging. In some wired charging embodiments, the charging management module 1006 can receive charging input from a wired charger via the USB interface 1009. In some wireless charging embodiments, the charging management module 1006 can receive wireless charging input via the wireless charging receiving coil of the electronic device. While the charging management module 1006 is charging the battery 1008, it can also power the electronic device through the power management module 1005.
[0243] The power management module 1005 is used to connect the processor 1001, the charging management module 1006, the battery 1008, and the wireless reverse charging management module 1007. The power management module 1005 receives input from the battery 1008 and / or the charging management module 1006 and provides power to the processor 1001, the memory 1002, the wireless reverse charging management module 1007, the wireless communication module 1011, the display 1003, the sensor 1004, etc. The power management module 1005 can also be used to monitor parameters such as battery capacity, remaining power, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 1005 can also be provided in the processor 1001.
[0244] Furthermore, in some embodiments, the wireless reverse charging management module 1007 can control the on / off state of the circuit containing the transmitting coil of the electronic device (i.e., turning the wireless reverse charging function on or off). Specifically, when the transmitting coil of the electronic device is connected (i.e., when the wireless reverse charging function is enabled), the transmitting coil of the electronic device outputs power to perform wireless reverse charging. In other embodiments, the power management module 1005 and the charging management module 1006 can also be provided in the same device.
[0245] In some embodiments, when determining to turn on the wireless reverse charging function, the processor 1001 may send an activation instruction to the power management module 1005 , and the power management module 1005 controls the wireless reverse charging management module 1007 to turn on the wireless reverse charging function according to the activation instruction.
[0246] It should be understood that Figure 2 The wireless charging chip 212 may correspond to the power management module 1005 and / or the charging management module 1006 , for example.
[0247] The sensor 1004 may include various types of sensors such as a pressure sensor, a gyroscope sensor, a distance sensor, a touch sensor, a temperature sensor, etc., for collecting various environmental data, distance data, etc.
[0248] The electronic device implements a display function through a display screen 1003 and an application processor. The display screen 1003 is used to display images, videos, etc. The display screen 1003 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 or 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 electronic device may include one or N display screens 1003, where N is a positive integer greater than one.
[0249] It should be understood that Figure 10 The electronic device shown may also correspond to the second electronic device in the embodiment of the present application. Compared with the first electronic device, the second electronic device may include more or fewer devices or modules. For example, the second electronic device may not include the wireless reverse charging management module 1007 because the second electronic device may not support the wireless reverse charging function. Figure 10 The description of the functions of the various components or modules in the description is also basically applicable to the second electronic device, the difference being that the second electronic device uses these components or modules to implement different solutions. For example, for the second electronic module, the processor 1001 can control the mobile communication module 1010 and / or the wireless communication module 1011 through the controller to send the first information to the first electronic device; for another example, the processor 1001 can control the mobile communication module 1010 and / or the wireless communication module 1011 through the controller to receive the first indication information and the second indication information from the first electronic device. For another example, the second electronic device can display the first notification message and the second notification message to the user through the display function of the display screen 1003.
[0250] This concludes the introduction to the hardware structure of electronic equipment. It is understandable that Figure 10 The components included in the hardware structure shown do not constitute a specific limitation of the electronic device. The electronic device may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure can be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0251] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.
[0252] An embodiment of the present application provides a computer program product. When the computer program product runs on a device, the device can implement the steps in the above-mentioned method embodiments when the computer program product is executed.
[0253] The present application provides a chip for executing instructions. When the chip is running, the technical solution of the above embodiment is executed. The implementation principle and technical effect are similar and will not be described here.
[0254] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DWD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0255] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, mobile hard disk, magnetic disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0256] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0257] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0258] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0259] It should be understood that the “embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0260] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
[0261] In addition, it should be noted that the various numerical numbers used in this application (such as the terms "first," "second," "third," "fourth," and other terminology (if any) in the specification, claims, and drawings) are merely for descriptive purposes and are not intended to limit the scope of this application. The order of execution of each process does not necessarily imply a specific order of execution; the execution order of each process should be determined by its function and inherent logic.
[0262] The terms "including" and "having" and any variations thereof mean "including but not limited to," unless specifically stated otherwise. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.
[0263] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0264] In the various embodiments of this application, unless otherwise specified or logically conflicting, the terms and / or descriptions between different embodiments are consistent and can be referenced from each other. The technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships. The specific operating methods in the method embodiments of this application can also be applied to the device embodiments or system embodiments.
Claims
1. A wireless charging method, characterized in that: The method is applied to a first electronic device, and includes: The first electronic device receives first information from a second electronic device, where the first information includes device type information of the second electronic device, and the first electronic device is configured to provide a wireless reverse charging service for the second electronic device; The first electronic device configures charging parameters according to the first information; The first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameters.
2. The method according to claim 1, characterized in that The first information also includes model information of the second electronic device.
3. The method according to claim 1 or 2, characterized in that The charging parameter includes a first threshold value; The first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameter, including: The first electronic device determines a power loss value; When the power loss value is greater than or equal to the first threshold, the first electronic device stops providing the wireless reverse charging service for the second electronic device.
4. The method according to claim 3, characterized in that The charging parameter further includes a second threshold value; The first electronic device provides a wireless reverse charging service for the second electronic device based on the charging parameter, further comprising: When the power loss value is greater than or equal to the second threshold and less than the first threshold, the first electronic device switches the charging power from the first power to the second power, wherein the first power is greater than the second power.
5. The method according to claim 4, characterized in that When the power loss value is greater than or equal to the second threshold and less than the first threshold, the method includes: The first electronic device sends first indication information to the second electronic device, where the first indication information is used to instruct the second electronic device to display a first notification message; the first notification message is used to prompt that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the first notification message is used to remind the user to check whether there is any foreign object between the first electronic device and the second electronic device.
6. The method according to any one of claims 1 to 5, characterized in that The charging parameters also include a charging mode and / or a maximum charging power, where the charging mode includes at least two of the following three modes: a baseline power profile (BPP) mode, an extended power profile (EPP) mode, and a private mode. The private mode is a charging mode based on a private charging protocol, and the maximum charging power is the maximum transmission power allowed when the first electronic device provides a wireless reverse charging service to the second electronic device.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The first electronic device monitors a duty cycle, a frequency, and a control error value, wherein the duty cycle and the frequency are parameters used by the first electronic device to adjust charging power when providing the wireless reverse charging service to the second electronic device, and the first electronic device obtains the control error value from the second electronic device; When the duty cycle is greater than or equal to a third threshold, the frequency is greater than or equal to a fourth threshold, and n consecutive control error values are greater than or equal to a fifth threshold, the first electronic device sends second indication information to the second electronic device, where n is a preconfigured value and n is a positive integer, and the second indication information is used to instruct the second electronic device to display a second notification message, and the second notification message is used to prompt that the wireless reverse charging service is abnormal, or the second notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the second notification message is used to remind the user to check whether there is any foreign object between the first electronic device and the second electronic device.
8. The method according to any one of claims 1 to 7, characterized in that The first electronic device receives first information from the second electronic device, including: The first electronic device and the second electronic device perform a handshake based on a private protocol; If the handshake is successful, the first electronic device receives the first information from the second electronic device based on the private protocol.
9. A wireless charging method, characterized in that: The method is applied to a second electronic device, and includes: The second electronic device sends first information to the first electronic device, where the first information includes device type information of the second electronic device, the first electronic device is used to provide a wireless reverse charging service for the second electronic device, and the first information is used for the first electronic device to configure charging parameters; The second electronic device receives the wireless reverse charging service provided by the first electronic device based on the charging parameter.
10. The method according to claim 9, characterized in that The first information also includes model information of the second electronic device.
11. The method according to claim 9 or 10, characterized in that The method further comprises: The second electronic device receives first indication information from the first electronic device; The second electronic device displays a first notification message based on the first indication information, wherein the first notification message is used to prompt that the wireless reverse charging service is abnormal, or the first notification message is used to remind the user to check the coil positions of the first electronic device and the second electronic device, or the first notification message is used to remind the user to check whether there is any foreign object between the first electronic device and the second electronic device.
12. The method according to any one of claims 9 to 11, characterized in that The second electronic device sending the first information to the first electronic device includes: The second electronic device and the first electronic device perform a handshake based on a private protocol; If the handshake is successful, the second electronic device sends the first information to the first electronic device based on the private protocol.
13. An electronic device, characterized in that: The electronic device includes: one or more processors, and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, wherein the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method as described in any one of claims 1 to 8, or to enable the electronic device to perform the method as described in any one of claims 9 to 12.
14. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 8, so that the electronic device executes the method as described in any one of claims 9 to 12.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium includes instructions, and when the instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 8, or executes the method according to any one of claims 9 to 12.
16. A wireless charging system, characterized in that: The electronic device comprises the first electronic device according to any one of claims 1 to 8, and the second electronic device according to any one of claims 9 to 12.
Citation Information
Patent Citations
Wireless charging method, device to be charged and wireless charging system
CN113169584A
Wireless charging method, device and system
CN114744691A
Equipment charging method and device, electronic equipment and storage medium
CN116937719A
Multi-coil safe charging method
CN118971397A
Wireless charging method, device to-be-charged and wireless charging system
US20210313846A1