Wireless reverse charging method for electronic equipment and electronic equipment

By setting a button on the electronic device to automatically trigger the wireless reverse charging indication, the problem of users forgetting to manually turn on the switch is solved, an automated reverse charging process is achieved, and the user experience is improved.

CN120676280APending Publication Date: 2025-09-19HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410321549.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

Users need to manually turn on the wireless reverse charging switch of the electronic device, which is easy to forget, resulting in failure to achieve reverse charging and reducing user experience.

Method used

A button is set on the electronic device. When the user presses the button, it triggers the sending of instruction information, indicating that the wireless reverse charging function is automatically turned on, and the receiving device automatically responds to start charging.

Benefits of technology

This avoids the need for users to manually activate the function, improves user experience, and ensures smooth reverse charging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676280A_ABST
    Figure CN120676280A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless reverse charging method for electronic equipment and the electronic equipment. A key is arranged on a first electronic device supporting a wireless charging function, after a user presses or clicks the key, the first electronic device can be triggered to send indication information, and the indication information is used for indicating to automatically turn on a wireless reverse charging switch. The second electronic equipment (supporting the wireless reverse charging function and used for carrying out wireless reverse charging on the first electronic equipment) which receives or detects the indication information responds to the indication information, and the wireless reverse charging function is automatically started, so that a user does not need to manually start the function on the second electronic equipment, and the user experience is improved. For example, the first electronic equipment comprises an earphone box and a TWS earphone, and the earphone box is provided with a key. The earphone box can send the indication information, or the earphone box can send the indication information through the TWS earphone. The first electronic device can send the indication information in a Bluetooth connection or Bluetooth broadcast mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and more specifically, to a method for wireless reverse charging of electronic devices and electronic devices. Background Art

[0002] With the development of electronic devices, more and more electronic devices support wireless charging. Moreover, some electronic devices not only support wireless charging for themselves, but also support wireless charging for other electronic devices. This function of an electronic device charging other electronic devices using wireless charging is called reverse wireless charging or wireless reverse charging.

[0003] Currently, before an electronic device can wirelessly charge another electronic device, the user must manually turn on the wireless reverse charging switch on the electronic device. Users may often forget to turn on this switch, resulting in reverse charging failure and a reduced user experience. Summary of the Invention

[0004] The present application provides a method and electronic device for wireless reverse charging of an electronic device, which can automatically enable the wireless reverse charging function on an electronic device that supports the wireless reverse charging function (also referred to as an electronic device that provides power or a second electronic device), avoiding the user from manually enabling the function on the second electronic device, thereby improving the user experience.

[0005] In a first aspect, a method for wireless reverse charging of an electronic device is provided, the method comprising: receiving a first operation by a user on a button on a first electronic device, wherein the first electronic device supports a wireless charging function; in response to the first operation, the first electronic device sends first indication information, the first indication information being used to instruct: automatically turning on the wireless reverse charging function; and when a second electronic device receives or detects the first indication information, in response to the first indication information, the second electronic device automatically turns on the wireless reverse charging function. The second electronic device supports the wireless reverse charging function and is configured to wirelessly reverse charge the first electronic device.

[0006] The first aspect provides a method for wireless reverse charging of electronic devices. By setting a button on a first electronic device being wirelessly reverse charged, a user pressing the button triggers the charged electronic device to send a first indication message. The first indication message is used to instruct the electronic device to automatically turn on the wireless reverse charging switch, that is, automatically enable the wireless reverse charging function. When a second electronic device (which supports the wireless reverse charging function and is used to wirelessly reverse charge the first electronic device) receives or detects the first indication message, the wireless reverse charging function is automatically enabled. The second electronic device can then wirelessly reverse charge the first electronic device, eliminating the need for the user to manually enable the function on the main electronic device and improving the user experience.

[0007] Exemplarily, the first electronic device may send the first indication information in a unicast or broadcast manner.

[0008] For example, if sent in the form of unicast (or multicast), the first electronic device can send a first indication message to one or more second electronic devices, and the first indication message is used to instruct: one or more second electronic devices to automatically turn on the wireless reverse charging function. In this way, one or more second electronic devices can receive the first indication message. The first indication message is sent in the form of unicast. Since the second electronic device that receives the first indication message is certain, the effectiveness of the first indication message and the success rate of receiving it can be improved, thereby improving the success rate of the second electronic device automatically turning on the wireless reverse charging function.

[0009] Illustratively, the first electronic device may establish a Bluetooth connection with one or more second electronic devices respectively, and the first electronic device may send the first indication information to the one or more second electronic devices respectively through the Bluetooth communication connection.

[0010] For another example, if the first electronic device is broadcasting, the first instruction information can be broadcasted via Bluetooth. The first instruction information is used to instruct: automatically turn on the wireless reverse charging function. After the second electronic device detects the first instruction information, it automatically turns on the wireless reverse charging function. Sending the first instruction information via Bluetooth broadcast can reduce the communication resources and complexity required to send the first instruction information, making it easier to implement and reducing communication resource consumption.

[0011] For example, the button on the first electronic device may be a physical button or a touch-sensitive button.

[0012] For example, the first operation includes: pressing a key once or pressing a key multiple times.

[0013] For example, the second electronic device includes: a smartphone, a smartphone, a PC, a tablet computer, a folding screen device (such as a folding screen mobile phone), a large screen device, etc.

[0014] For example, the first electronic device includes: a smart phone, a wearable device (such as a smart watch, a smart bracelet), etc.

[0015] In one possible implementation of the first aspect, in response to the first operation, the method further includes: establishing a Bluetooth connection between the first electronic device and the second electronic device; or, powering on or activating the first electronic device, and establishing a Bluetooth connection between the first electronic device and the second electronic device; or, powering on or activating the first electronic device. In this implementation, the first operation may also trigger the powering on or activation of the first electronic device, or the establishment of a Bluetooth connection between the first electronic device and the second electronic device, after which the first electronic device may send first indication information, and upon receiving or detecting the first indication information, the second electronic device automatically activates the wireless reverse charging function, further improving the user experience.

[0016] In a possible implementation of the first aspect, before receiving a first operation by a user on a button on a first electronic device, the method further includes: receiving a second operation by the user on a button on the first electronic device; in response to the second operation, the first electronic device and the second electronic device establish a Bluetooth connection; or, in response to the second operation, the first electronic device is powered on or activated, and the first electronic device and the second electronic device establish a Bluetooth connection; or, in response to the second operation, the first electronic device is powered on or activated. In this implementation, before the first operation, the user may also perform a second operation, which may trigger: the first electronic device to be powered on or activated, or the first electronic device and the second electronic device to establish a Bluetooth connection. Thereafter, the user's first operation is used to trigger the first electronic device to send a first indication message, and upon receiving or detecting the first indication message, the second electronic device automatically turns on the wireless reverse charging function, further improving the user experience.

[0017] In one possible implementation of the first aspect, a first electronic device includes an earphone case and a Bluetooth headset, the earphone case being configured to store and charge the Bluetooth headset, the earphone case being provided with the button, and the first electronic device transmitting first instruction information in response to a first operation, including: in response to the first operation, the earphone case transmitting second instruction information to the Bluetooth headset, the second instruction information being configured to instruct the Bluetooth headset to instruct the electronic device to automatically enable a wireless reverse charging function; and in response to the second instruction information, the Bluetooth headset transmitting the first instruction information. In this implementation, if the earphone case does not have communication functionality with a second electronic device, the earphone case can transmit the first instruction information via the Bluetooth headset in response to the user's first operation, and the second electronic device automatically enables the wireless reverse charging function upon receiving or detecting the first instruction information. Furthermore, this allows the second electronic device to automatically enable the wireless reverse charging function even if the earphone case does not have communication functionality with the second electronic device, further improving the user experience.

[0018] For example, the Bluetooth headset may be a TWS headset, and the TWS headset is placed in the headset box.

[0019] For example, a Bluetooth headset and a second electronic device can communicate via Bluetooth, NFC, Or use cellular technology to communicate, etc.

[0020] In one possible implementation of the first aspect, a first electronic device includes an earphone case for storing and charging a Bluetooth headset, the earphone case being provided with the button, and the first electronic device transmitting first indication information in response to a first operation, including: the earphone case transmitting the first indication information in response to the first operation. In this implementation, if the earphone case has communication functionality with a smartphone, the earphone case can transmit the first indication information in response to the user's first operation, and the second electronic device automatically activates the wireless reverse charging function upon receiving or detecting the first indication information, further improving the user experience.

[0021] In a possible implementation of the first aspect, before receiving a first operation by the user on a button on the earphone box, the method further includes: receiving a second operation by the user on a button on the earphone box; in response to the second operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated. In this implementation, when the earphone box or the Bluetooth headset is not powered on or activated, the second operation by the user on the button on the earphone box triggers the earphone box to be powered on or activated, or triggers the earphone box and the Bluetooth headset to be powered on or activated, so that after receiving the first operation, the earphone box sends a first indication message, or the earphone box sends the first indication message via the Bluetooth headset, and the second electronic device automatically activates the wireless reverse charging function after receiving or detecting the first indication message, further improving the user experience.

[0022] For example, the second operation includes: pressing the key once or multiple times.

[0023] In a possible implementation of the first aspect, the method further includes: in response to the first operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated. In this implementation, the first operation triggers the earphone box to power on or activate, or triggers the earphone box and the Bluetooth headset to power on or activate, thereby enabling the earphone box to send the first indication information, or the earphone box sends the first indication information via the Bluetooth headset, and the second electronic device automatically activates the wireless reverse charging function after receiving or detecting the first indication information, further improving the user experience.

[0024] In a possible implementation of the first aspect, a first electronic device includes an earphone case and a Bluetooth headset, the earphone case being configured to store and charge the Bluetooth headset, the earphone case being provided with the button, and the earphone case being in a closed state. Before receiving a first user operation on the button on the earphone case, the method further includes: receiving a user opening operation on the earphone case; in response to the opening operation, the earphone case is powered on or activated, or the earphone case is powered on or activated, and the earphone case controls the Bluetooth headset to power on or activate. In this implementation, when the earphone case is in the closed state and the earphone case is powered off or in a dormant state, or the Bluetooth headset in the earphone case is powered off or in a dormant state, the user opening operation triggers the earphone case to power on or activate, or triggers the earphone case and the Bluetooth headset to power on or activate, thereby causing the earphone case to send first indication information, or the earphone case to send the first indication information via the Bluetooth headset. Upon receiving or detecting the first indication information, the second electronic device automatically activates the wireless reverse charging function, further improving the user experience.

[0025] The earphone box or Bluetooth earphone may also send the first indication information in the form of unicast or broadcast.

[0026] For example, the earphone box or the Bluetooth earphone may broadcast the first indication information via Bluetooth.

[0027] For another example, the earphone box or Bluetooth earphone can send the first indication information to the one or more second electronic devices by using the Bluetooth links established between the earphone box and the one or more second electronic devices, that is, by unicast or multicast.

[0028] Optionally, after the second electronic device automatically turns on the wireless reverse charging function, the second electronic device can notify the user that the wireless reverse charging function is turned on by vibration, ringtone, voice prompt or displaying a prompt message on the interface, so that the user can know that the wireless reverse charging function is already in the turned-on state, thereby improving the user experience.

[0029] In a second aspect, a method for wireless reverse charging of an electronic device is provided. The executor of the method may be a first electronic device, or a chip, a chip system, or a processor that supports the first electronic device to implement the method. The method includes: receiving a first operation of a user on a button on the first electronic device, wherein the first electronic device supports a wireless charging function; in response to the first operation, the first electronic device sends a first indication message, and the first indication message is used to indicate: automatically turning on the wireless reverse charging function.

[0030] The second aspect provides a method for wireless reverse charging of an electronic device. By providing a button on a first electronic device, a user pressing the button triggers the first electronic device to transmit a first indication message, which instructs the electronic device to automatically turn on the wireless reverse charging switch, i.e., automatically activate the wireless reverse charging function. The electronic device (the main electronic device) that receives or detects the first indication message automatically activates the wireless reverse charging function, and can then perform wireless reverse charging for the first electronic device, eliminating the need for the user to manually activate the function on the main electronic device and improving the user experience.

[0031] In a possible implementation of the second aspect, in response to the first operation, the first electronic device sends the first indication information, including: in response to the first operation, the first electronic device sends the first indication information to the second electronic device through the Bluetooth connection established between the first electronic device and the second electronic device, and the first indication information is used to indicate: the second electronic device automatically turns on the wireless reverse charging function; or, in response to the first operation, the first electronic device broadcasts the first indication information via Bluetooth.

[0032] In a possible implementation of the second aspect, in response to the first operation, the method further includes: the first electronic device and the second electronic device establish a Bluetooth connection; or, the first electronic device is powered on or activated, and the first electronic device and the second electronic device establish a Bluetooth connection; or, the first electronic device is powered on or activated.

[0033] In a possible implementation of the second aspect, before receiving a first operation of a user on a button on the first electronic device, the method further includes: receiving a second operation of a user on a button on the first electronic device; in response to the second operation, the first electronic device and the second electronic device establish a Bluetooth connection; or, in response to the second operation, the first electronic device is powered on or activated, and the first electronic device and the second electronic device establish a Bluetooth connection; or, in response to the second operation, the first electronic device is powered on or activated.

[0034] In a possible implementation of the second aspect, the first electronic device includes an earphone box and a Bluetooth headset, the earphone box is used to store the Bluetooth headset and charge the Bluetooth headset, the earphone box is provided with the button, and in response to the first operation, the first electronic device sends a first indication message, including: in response to the first operation, the earphone box sends a second indication message to the Bluetooth headset, the second indication message is used to indicate: the Bluetooth headset instructs the electronic device to automatically turn on the wireless reverse charging function; in response to the second indication message, the Bluetooth headset sends the first indication message.

[0035] In a possible implementation of the second aspect, the first electronic device includes an earphone box, which is used to store and charge the Bluetooth earphones. The button is provided on the earphone box, and in response to the first operation, the first electronic device sends the first indication information, including: in response to the first operation, the earphone box sends the first indication information.

[0036] In a possible implementation of the second aspect, before receiving a first operation of a button on the earphone box by the user, the method further includes: receiving a second operation of a button on the earphone box by the user; in response to the second operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

[0037] In a possible implementation of the second aspect, the method further includes: in response to the first operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

[0038] In a possible implementation of the second aspect, the first electronic device includes an earphone box and a Bluetooth headset, the earphone box is used to store the Bluetooth headset and charge the Bluetooth headset, the button is provided on the earphone box, and the earphone box is in a closed state; before receiving a first operation of the user on the button on the earphone box, the method further includes: receiving an opening operation of the earphone box by the user; in response to the opening operation, the earphone box is turned on or activated, or the earphone box is turned on or activated, and the earphone box controls the Bluetooth headset to turn on or activate.

[0039] The beneficial effects of various possible implementations of the second aspect can be referred to the description of the beneficial effects of various possible implementations corresponding to the first aspect, and will not be repeated here.

[0040] According to a third aspect, a method for wireless reverse charging of an electronic device is provided, the method comprising: a first electronic device sends a first indication message, the first indication message being used to indicate: automatically turning on a wireless reverse charging function; wherein the first electronic device supports the wireless charging function, a magnet is provided in the first electronic device, the magnet being used to generate a magnetic field, and when the second electronic device detects the magnetic field generated by the magnet and the first indication message, the second electronic device automatically turns on the wireless reverse charging function, wherein the second electronic device supports the wireless reverse charging function, and the second electronic device is used to perform wireless reverse charging for the first electronic device.

[0041] The third aspect provides a method for wireless reverse charging of an electronic device, wherein the first electronic device has an approach communication function and is provided with a magnet. The first electronic device sends a first indication message. When the second electronic device detects or receives the first indication message sent by the first electronic device and the magnetic field generated by the first electronic device, the wireless reverse charging function is automatically turned on, thereby enabling the second electronic device to charge the first electronic device, avoiding the user from manually turning on the function on the first electronic device, and improving the user experience. In addition, through the dual protection of the first indication message and the magnetic field, the probability of misoperation of the first electronic device can be reduced, and the accuracy and reliability of the automatic activation of the wireless reverse charging function of the first electronic device can be improved.

[0042] For example, the second electronic device includes: a smartphone, a smartphone, a PC, a tablet computer, a folding screen device (such as a folding screen mobile phone), a large screen device, etc.

[0043] For example, the first electronic device includes: a smart phone, a wearable device (such as a smart watch, a smart bracelet), etc.

[0044] Exemplarily, the first electronic device includes an earphone box and a Bluetooth earphone (for example, a TWS earphone), and the earphone box is used to store the Bluetooth earphone and charge the Bluetooth earphone.

[0045] Exemplarily, the first indication information includes: NFC information or Bluetooth information. In other words, the first electronic device has a Bluetooth function or an NFC function.

[0046] Exemplarily, the first electronic device may send the first indication information in the form of unicast (for example, via a Bluetooth connection) or broadcast (for example, Bluetooth broadcast).

[0047] In one possible implementation of the third aspect, a first electronic device includes an earphone case and a Bluetooth headset. The earphone case may be provided with a button, and a magnet may also be provided within the earphone case. Before the first electronic device sends the first indication information, the method further includes: the earphone case receiving a first user operation on the button on the first electronic device; and in response to the first operation, the earphone case sending the first indication information. In this implementation, a button is provided on the earphone case, and a first user operation on the button triggers the earphone case to send the first indication information. When the second electronic device detects the first indication information sent by the earphone case and the magnetic field generated by the magnet of the earphone case, the wireless reverse charging function is automatically activated, thereby enabling the second electronic device to charge the earphone case, thereby improving the user experience. Furthermore, triggering the earphone case to send the first indication information through the first operation can prevent the earphone case from continuously sending the first indication information, reducing the power consumption of the earphone case and increasing the usability of the earphone case.

[0048] In one possible implementation of the third aspect, a first electronic device includes an earphone case and a Bluetooth headset. The earphone case may be provided with a button and may also contain a magnet. The earphone case is in a closed state. Before the first electronic device sends the first indication information, the method further includes: receiving a user opening operation of the earphone case; and in response to the opening operation, the earphone case sending the first indication information. In this implementation, the first operation may be a user opening or unpacking the earphone case, and the first operation triggers the earphone case to send the first indication information. This prevents the earphone case from continuously sending the first indication information, reduces the power consumption of the earphone case, and increases the usability of the earphone case.

[0049] In a fourth aspect, a method for wireless reverse charging of an electronic device is provided. The executor of the method can be a first electronic device, or a chip, chip system, or processor that supports the first electronic device to implement the method. The first electronic device supports the wireless charging function, and a magnet is provided in the first electronic device, which is used to generate a magnetic field. The method includes: the first electronic device sends a first indication information, and the first indication information is used to indicate: automatically turn on the wireless reverse charging function.

[0050] A fourth aspect provides a method for wireless reverse charging of electronic devices, wherein a first electronic device has near-field communication functionality and is provided with a magnet. The first electronic device transmits first instruction information and generates a magnetic field. The first instruction information is used to instruct: automatically turning on the wireless reverse charging function. When a second electronic device detects the first instruction information and the magnetic field transmitted by the first electronic device, the second electronic device automatically turns on the wireless reverse charging function, thereby enabling the second electronic device to charge the first electronic device, avoiding the need for the user to manually turn on the function on the first electronic device, thereby improving the user experience.

[0051] Exemplarily, the first indication information includes: NFC information or Bluetooth information. In other words, the first electronic device has a Bluetooth function or an NFC function.

[0052] Exemplarily, the first electronic device may send the first indication information in the form of unicast (for example, via a Bluetooth connection) or broadcast (for example, Bluetooth broadcast).

[0053] In one possible implementation of the fourth aspect, the first electronic device includes an earphone case and a Bluetooth headset. The earphone case may be provided with a button, and a magnet may be further provided within the earphone case. Before the first electronic device sends the first indication information, the method further includes: the earphone case receiving a first user operation on a button on the first electronic device; and in response to the first operation, the earphone case sending the first indication information. In this implementation, the earphone case is provided with a button, and the user performing the first operation on the button triggers the earphone case to send the first indication information.

[0054] For example, the operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0055] In a possible implementation of the fourth aspect, the first electronic device includes an earphone box and a Bluetooth headset, the earphone box may be provided with a button, and a magnet may be provided inside the earphone box, and the earphone box is in a closed state; before the first electronic device sends the first indication information, the method also includes: receiving a user's opening operation of the earphone box; in response to the opening operation, the earphone box sends the first indication information.

[0056] The beneficial effects of various possible implementations of the fourth aspect can be referred to the description of the beneficial effects of various possible implementations corresponding to the third aspect, and will not be repeated here.

[0057] In a fifth aspect, a method for wireless reverse charging of an electronic device is provided. The execution subject of the method may be a second electronic device, or a chip, chip system, or processor that supports the second electronic device to implement the method. The method includes: when the second electronic device detects the magnetic field generated by the magnet and the first indication information, or when the second electronic device detects the first indication information, the second electronic device automatically turns on the wireless reverse charging function, wherein the first indication information is used to indicate: automatically turn on the wireless reverse charging function, wherein the second electronic device supports the wireless reverse charging function, and the second electronic device is used to perform wireless reverse charging for the first electronic device.

[0058] Exemplarily, the first indication information may be sent in the form of unicast (eg, Bluetooth connection) or broadcast (eg, Bluetooth broadcast).

[0059] The fifth aspect provides a method for wireless reverse charging of electronic devices. When the second electronic device detects or receives the first indication information and magnetic field sent by the first electronic device, or when the second electronic device detects the first indication information, the second electronic device automatically turns on the wireless reverse charging function, thereby enabling the second electronic device to charge the first electronic device, avoiding the user from manually turning on the function on the first electronic device, and improving the user experience.

[0060] In the sixth aspect, a communication device is provided, which includes: a module for executing each step in the second aspect or any possible implementation of the second aspect (for example, including a processing module and an interface module), or a module for executing each step in the fourth aspect or any possible implementation of the fourth aspect (for example, including a processing module and an interface module), or a module for executing each step in the fifth aspect (for example, including a processing module and an interface module).

[0061] In the seventh aspect, a communication device is provided, which includes at least one processor and a memory, and the at least one processor is used to execute: the method in the second aspect or any possible implementation of the second aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0062] In an eighth aspect, a communication device is provided, which includes at least one processor and an interface circuit, and the at least one processor is used to execute: the method in the second aspect or any possible implementation of the second aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0063] In a ninth aspect, an electronic device is provided, which includes any one of the communication devices provided in the sixth, seventh or eighth aspects above.

[0064] For example, the electronic device supports a wireless charging function.

[0065] For another example, the electronic device supports the wireless reverse charging function, and is used to perform wireless reverse charging for other devices that support the wireless charging function.

[0066] Optionally, the electronic device has a button, and / or a magnet is provided in the electronic device.

[0067] Optionally, the electronic device has a Bluetooth function or an NFC function.

[0068] For example, the electronic device may include: a smart phone, a wearable device (such as a smart watch, a smart bracelet), etc.

[0069] For another example, the electronic device includes an earphone box and a TWS earphone, and buttons may be provided on the earphone box.

[0070] Optionally, a magnet may be provided in the earphone box. The earphone box may have a Bluetooth communication function, or the earphone box may not have a Bluetooth communication function.

[0071] In the tenth aspect, a computer program product is provided, which includes a computer program, which, when executed by a processor, is used to execute the method in the second aspect or any possible implementation of the second aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0072] In the eleventh aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed, it is used to execute: the method in the second aspect or any possible implementation of the second aspect, or the method in the fourth aspect or any possible implementation of the fourth aspect, or the method in the fifth aspect.

[0073] In the twelfth aspect, a chip is provided, which includes: a processor for calling and running a computer program from a memory, so that a communication device equipped with the chip executes: the method in the above second aspect or any possible implementation of the second aspect, or the method in the above second aspect or any possible implementation of the second aspect, or the method in the above fifth aspect.

[0074] In the thirteenth aspect, a system for wireless reverse charging of an electronic device is provided, the system including a first electronic device and a second electronic device, the first electronic device is provided with a button, the first electronic device is used to execute the method executed by the first electronic device in the first aspect or any possible implementation of the first aspect, and the second electronic device is used to execute the method executed by the second electronic device in the first aspect or any possible implementation of the first aspect.

[0075] In the fourteenth aspect, a system for wireless reverse charging of an electronic device is provided, the system including a first electronic device and a second electronic device, the first electronic device being provided with a magnet and having a near-field communication function, the first electronic device being used to execute the method executed by the first electronic device in the above third aspect or any possible implementation of the third aspect, and the second electronic device being used to execute the method executed by the second electronic device in the above third aspect or any possible implementation of the third aspect.

[0076] For example, a system for wireless reverse charging of an electronic device may include: a TWS headset, an earphone box, and a smartphone. For another example, a system for wireless reverse charging of an electronic device may include: an earphone box and a smartphone. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 This is a schematic diagram of a TWS headset and an earphone box.

[0078] Figure 2 This is another schematic diagram of TWS earphones and earphone box.

[0079] Figure 3 This is a schematic diagram of a user manually turning on the "wireless reverse charging" switch on the display interface of a smartphone.

[0080] Figure 4 This is a schematic diagram of the wireless charging coil area of ​​a smartphone.

[0081] Figure 5 This is a schematic diagram of an example of physical buttons set on an earphone box provided in an embodiment of the present application.

[0082] Figure 6 This is a schematic flowchart of a method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0083] Figure 7 This is a schematic diagram of the internal circuit control of an earphone box and TWS earphones provided in an embodiment of the present application.

[0084] Figure 8 This is a schematic diagram of the processing flows of an earphone box, a TWS earphone, and a smartphone provided in an embodiment of the present application.

[0085] Figure 9 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0086] Figure 10 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0087] Figure 11 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0088] Figure 12 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0089] Figure 13 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0090] Figure 14 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0091] Figure 15 This is a schematic flowchart of another method for wireless reverse charging of an electronic device provided in an embodiment of the present application.

[0092] Figure 16 This is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

[0093] Figure 17 This is a schematic diagram of a chip system provided in this application. DETAILED DESCRIPTION

[0094] The technical solution in this application will be described below with reference to the accompanying drawings.

[0095] In the description of the embodiments of this application, unless otherwise specified, " / " represents or. For example, A / B can represent A or B. "And / or" in this article is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "plurality" means two or more than two.

[0096] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0097] In an embodiment of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software. In addition, the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the present application. As long as the method provided in the embodiment of the present application can be executed by running a program that records the code of the method provided in the embodiment of the present application, for example, the execution subject of the method provided in the embodiment of the present application can be an electronic device, or a functional module in an electronic device that can call a program and execute the program.

[0098] In addition, various aspects or features of the present application can be implemented as methods, devices or products using standard programming and / or engineering techniques. The term "product" as used in this application covers computer programs that can be accessed from any computer-readable device, carrier or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memories (EPROMs), cards, sticks or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.

[0099] With the development of electronic devices (such as smartphones, tablets, and Bluetooth headsets), more and more electronic devices support wireless charging. The electronic devices are charged through electromagnetic induction between them and wireless charging devices (such as wireless chargers, wireless charging pads, and wireless charging bases), eliminating the need for charging cables and greatly improving the user experience.

[0100] With the development of technology, some electronic devices can not only charge themselves wirelessly, but also charge other electronic devices wirelessly. Of course, other electronic devices also need to support wireless charging. For example, some smartphones can use wireless charging to charge smart watches, smart bracelets, Bluetooth headsets, etc. The function of an electronic device charging other electronic devices using wireless charging is called reverse wireless charging or wireless reverse charging.

[0101] Currently, before an electronic device performs reverse wireless charging, a user needs to manually turn on a wireless reverse charging switch on the electronic device before wireless charging can be performed on other electronic devices.

[0102] For example, assuming that the electronic device is a smartphone, it is necessary to reverse wirelessly charge a true wireless stereo (TWS) headset. TWS headsets are usually equipped with an earphone box (or it can also be called an earphone charging box, charging box, etc.). The earphone box can not only be used to store and charge the TWS headset, but also send relevant instructions to the TWS headset through communication to achieve functions such as pairing and connection of the TWS headset. For example, the earphone box can be connected to the TWS headset with a pogo pin connector to charge the TWS headset and send relevant instructions to the TWS headset. The current charging methods for the earphone box include wired charging and wireless charging.

[0103] For example, Figure 1 The figure shows a schematic diagram of a TWS headset and a headset box. Figure 1 The picture a in the figure shows a TWS headset. Figure 1 The earphone box is shown in Figure b, and the earphone box is in a closed (or shut down) state. Figure 2 The following is a schematic diagram of a TWS headset and headset box. Figure 2 In the example shown, the earphone box is in an unboxing (or opened) state.

[0104] It is understandable that the reverse wireless charging of TWS earphones by smartphones is actually the reverse wireless charging of earphone boxes by smartphones. Figure 3As shown, before the smartphone can reverse wirelessly charge the earphone box, the user needs to manually turn on the "wireless reverse charging" switch on the smartphone's display interface, and then place the earphone box on the smartphone's wireless charging coil area. Figure 4 As shown, the wireless charging coil area of ​​a smartphone is generally located on the back of the phone (the back of the phone can be understood as the non-display surface of the phone, or the opposite side of the display surface (i.e., the front of the phone)). That is to say, after the user manually turns on the "wireless reverse charging" switch of the smartphone, the earphone box is placed on the back of the phone, so that the smartphone can reverse wirelessly charge the earphone box. It can be understood that during the process of reverse wireless charging of the earphone box by the smartphone, the TWS earphones can be stored in the earphone box or not.

[0105] However, because users must manually turn on the wireless reverse charging switch on an electronic device before wireless reverse charging can be used for other electronic devices, users may often forget to turn on this switch, resulting in reverse charging failure. For example, a user may place an earphone case on the back of a phone to start reverse wireless charging, but forget to turn on the switch. As a result, the charging indicator on the earphone case does not light up, and the user may feel that reverse wireless charging is not working, which reduces the user experience.

[0106] In view of this, the present application provides a method for wireless reverse charging of an electronic device, by setting a button on the electronic device being wirelessly reverse charged (a first electronic device, the first electronic device supports a wireless charging function), and after the user presses and clicks the button (i.e., performs a first operation), the first electronic device can be triggered to send a first indication message, and the first indication message is used to indicate that a switch for automatically turning on wireless reverse charging is automatically turned on, i.e., to indicate that the wireless reverse charging function is automatically turned on. When a second electronic device (the electronic device supports the wireless reverse charging function and is used to perform wireless reverse charging for the first electronic device) receives or detects the first indication message, the wireless reverse charging function is automatically turned on. After that, the second electronic device can perform wireless reverse charging for the first electronic device, avoiding the user manually turning on the function on the second electronic device, thereby improving the user experience.

[0107] Optionally, the button on the first electronic device may be a physical button. Of course, this button may also be a touch-sensitive button, which is not limited in the embodiment of the present application.

[0108] For example, the first operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0109] It should be understood that in the embodiment of the present application, the second electronic device can be any electronic device with a reverse wireless charging function, including, for example: a smartphone, a personal computer (PC), a tablet computer, a folding screen device (such as a folding screen mobile phone), a large screen device, a car computer, etc.

[0110] The electronic device being wirelessly reverse charged (or also referred to as the first electronic device) can be any electronic device with a wireless charging function, including, for example, a smartphone, a wearable device (such as a smartwatch, a Bluetooth headset, a smart bracelet, or a headphone box), etc. The specific form of the first electronic device and the second electronic device is not limited in the embodiments of the present application.

[0111] It can be understood that the second electronic device can be used to perform wireless reverse charging for the first electronic device.

[0112] For example, the first electronic device and the second electronic device can communicate with each other via Bluetooth, near field communication (NFC), wireless-fidelity technology ( ) for communication, or using cellular technology (Cellular), etc. The present application embodiment is not limited here.

[0113] It can be understood that in the embodiments of the present application, regardless of the state of the first electronic device, for example, whether the first electronic device is powered on, powered off, in sleep mode, or in working mode, the user can perform a first operation on a button on the first electronic device (for example, the user clicks or presses a button once or multiple times). After the first electronic device receives the user's first operation, it can trigger the first electronic device to send a first indication message. The first indication message is used to indicate: automatically turn on the wireless reverse charging function. When the second electronic device receives or detects the first indication message, it automatically turns on the wireless reverse charging function in response to the first indication message. This avoids the user having to manually turn on the function on the second electronic device, thereby improving the user experience.

[0114] For example, if the first electronic device is powered on or in operation, and a communication connection (e.g., a Bluetooth connection, a Wi-Fi connection, etc.) has been established between the first electronic device and the second electronic device, in this case, the user can perform a first operation on a button on the first electronic device. After the first electronic device receives the user's first operation, it can trigger the first electronic device to send a first indication message to the second electronic device via the communication connection. The first indication message is used to instruct the second electronic device to automatically turn on the wireless reverse charging function. In response to the first indication message, the second electronic device automatically turns on the wireless reverse charging function.

[0115] For another example, if the first electronic device is powered on or in working state, and a communication connection has not been established between the first electronic device and the second electronic device, in this case, the user can perform a first operation on a button on the first electronic device. After the first electronic device receives the user's first operation, one possible implementation method is: the first operation can trigger: establishing a communication connection between the first electronic device and the second electronic device, and the first electronic device sends a first indication message to the second electronic device through the communication connection, and the first indication message is used to instruct: the second electronic device to automatically turn on the wireless reverse charging function; or another possible implementation method is: the first operation can trigger the first electronic device to send a first indication message (sent in the form of a broadcast), and the first indication message is used to instruct: automatically turn on the wireless reverse charging function. After receiving or detecting the first indication message, the second electronic device can automatically turn on the wireless reverse charging function in response to the first indication message.

[0116] For another example, if the first electronic device is in a shutdown or dormant state, in this case, the user can perform a first operation on a button on the first electronic device. After the first electronic device receives the user's first operation, it can trigger: the first electronic device switches from a shutdown or dormant state to a power-on or working (activation) state, a communication connection is established between the first electronic device and the second electronic device, and the first electronic device sends a first indication message to the second electronic device through the communication connection. The first indication message is used to instruct: the second electronic device to automatically turn on the wireless reverse charging function. The second electronic device automatically turns on the wireless reverse charging function in response to the first indication message.

[0117] Of course, if the first electronic device maintains a communication connection with the second electronic device while in sleep mode, the first operation may trigger: the first electronic device switches from sleep mode to working mode, and the first electronic device sends a first indication message to the second electronic device through the communication connection.

[0118] For another example, if the first electronic device is in a powered-off or dormant state, in this case, the user can perform a first operation on a button on the first electronic device. After the first electronic device receives the user's first operation, it can trigger: the first electronic device switches from the powered-off or dormant state to the powered-on or working (activated) state, and the first electronic device sends a first indication message, which is used to instruct: the wireless reverse charging function to be automatically turned on. The second electronic device that receives or detects the first indication message automatically turns on the wireless reverse charging function in response to the first indication message.

[0119] That is to say, in some possible implementations of the present application, the user's first operation may trigger: the first electronic device sends the first indication information; or the first electronic device establishes a Bluetooth connection with the second electronic device, and the first electronic device sends the first indication information through the Bluetooth connection; or the first electronic device is turned on or activated, the first electronic device and the second electronic device establish a Bluetooth connection, and the first electronic device sends the first indication information through the Bluetooth connection; or the first electronic device is turned on or activated, and the first electronic device sends the first indication information.

[0120] Of course, in other possible implementations of the present application, before receiving the first user operation on a key on the first electronic device, the first electronic device may also receive a second user operation on a key on the first electronic device; the second operation may trigger: the first electronic device to establish a Bluetooth connection with the second electronic device; or the first electronic device to be powered on or activated, and the first electronic device to establish a Bluetooth connection with the second electronic device; or the first electronic device to be powered on or activated. Thereafter, the user may perform the first operation on a key on the first electronic device, and upon receiving the first user operation, the first electronic device may trigger: the first electronic device to send the first indication information.

[0121] For example, the second operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0122] Of course, the second operation and the first operation can be continuous operations, for example, the user clicks or presses a button on the first electronic device multiple times (for example, twice). Alternatively, there can be a short interval between the second operation and the first operation. In other words, for the user, the second operation and the first operation can be a single operation as a whole, and this single operation can be: clicking or pressing the button multiple times. Alternatively, the second operation and the first operation can be two separate operations. This embodiment of the present application is not limited here.

[0123] It should be understood that in the embodiment of the present application, when the first electronic device sends the first indication information, it can be sent in a unicast, multicast or broadcast manner.

[0124] For example, if the first electronic device has previously established a communication connection (such as a Bluetooth connection) with one or more second electronic devices, the first electronic device may send the first indication information in a unicast or multicast manner. That is, after the first electronic device receives the user's first operation, it can be triggered: the first electronic device sends the first indication information to one or more second electronic devices through the communication connection. In this case, the first indication information is used to instruct: the second electronic device automatically turns on the wireless reverse charging function. One or more second electronic devices can automatically turn on the wireless reverse charging function in response to the first indication information.

[0125] For another example, if the first electronic device has not previously established a communication connection with other electronic devices, the first electronic device may transmit the first indication information via Bluetooth broadcast. That is, after the first electronic device receives the user's first operation, it may trigger the first electronic device to broadcast the first indication information via Bluetooth. In this case, the first indication information is used to instruct the user to automatically turn on the wireless reverse charging function. The one or more second electronic devices that receive or detect the first indication information may automatically turn on the wireless reverse charging function in response to the first indication information.

[0126] Optionally, if multiple second electronic devices automatically turn on the wireless reverse charging function, the user can place the first electronic device in the wireless charging coil area of ​​a second electronic device (such as a first smartphone) that needs reverse wireless charging according to their needs, thereby performing wireless reverse charging for the first electronic device.

[0127] Optionally, for a second electronic device (such as a tablet computer) that does not need to perform reverse wireless charging for the first electronic device, within a preset time period, if the tablet computer detects that it has not performed reverse wireless charging for the first electronic device, the tablet computer can automatically turn off the wireless reverse charging function, thereby saving power and increasing the usage time of the tablet computer.

[0128] The following describes the method for wireless reverse charging of an electronic device provided by the present application with reference to specific examples.

[0129] In the following examples, reverse wireless charging of a smartphone to a first electronic device is used as an example for explanation, that is, the smartphone is the main electronic device or the second electronic device, and the first electronic device is the electronic device being charged. For example, the first electronic device may include a Bluetooth headset (TWS headset is used as an example for explanation) and an earphone box, and the earphone box supports wireless charging. However, it should be understood that in other implementations of the present application, the main electronic device and / or the electronic device being charged may also be other forms of electronic devices, and the embodiments of the present application are not limited thereto.

[0130] It should also be understood that the following description takes Bluetooth communication or NFC communication between a smartphone and a TWS headset, or between a smartphone and a headset box as an example, but it should be understood that in other implementations of the present application, other communication methods may be used between a smartphone and a TWS headset, or between a smartphone and a headset box, such as using The present invention does not limit the communication.

[0131] Since TWS earphones are usually equipped with an earphone box, a button can be set on the earphone box in the embodiment of the present application. Optionally, this button can be a physical button, that is, the user needs to press this button to trigger the corresponding processing process. Of course, this button can also be a touch button, and the user only needs to touch or click with a finger to trigger the corresponding processing process.

[0132] For example, Figure 5 The figure shows a schematic diagram of a physical button set on the earphone box. The user can press the button with his finger to trigger the earphone box or TWS earphones to send a Bluetooth message to the mobile phone. After the mobile phone receives the Bluetooth message, it can automatically turn on the wireless reverse charging function.

[0133] certainly, Figure 5 This is merely an example and should not limit the embodiments of the present application. For example, in other implementations of the present application, the physical button can be set in other locations or other areas of the earphone box, and the shape of the physical button can also be other shapes (such as a circle, etc.), which are not limited in the embodiments of the present application.

[0134] In some possible implementations, it is assumed that the earphone box does not have Bluetooth functionality and its main function is to store and charge the TWS earphones. In this case, the earphone box may be in a powered-on or powered-off state, and the TWS earphones in the earphone box may also be in a powered-on or powered-off state. These states will be described below. Optionally, in the embodiment of the present application, the powered-off state may also be referred to as a dormant or sleeping state, and the powered-on state may also be referred to as an active state or a working state.

[0135] In the following examples, the method is described by taking TWS earphones, earphone boxes, and smartphones as the execution subjects of the method. As an example and not a limitation, the TWS earphones, earphone boxes, and smartphones in this application may also be chips, chip systems, or processors that support the TWS earphones, earphone boxes, and smartphones to implement the method. The embodiments of this application are not limited here.

[0136] Status 1: The earphone box is powered off or in sleep mode, the TWS earphones are in the earphone box, and the TWS earphones are also powered off or in sleep mode.

[0137] Figure 6 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in state 1. Figure 6 As shown, the method 600 includes:

[0138] S601: The earphone box receives a second operation of a user on a button on the earphone box.

[0139] For example, the second operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0140] S602: In response to the second operation, the earphone box is powered on or activated, and the earphone box controls the TWS earphone to be powered on or activated.

[0141] For example, when a user presses a button on the headset box for the first time, the power supply inside the headset box is connected, and the battery inside the headset box powers up the microcontroller unit (MCU) inside the headset box, causing the MCU inside the headset box to switch from a dormant state to an active state. After the MCU inside the headset box switches from a dormant state to an active state, the MCU inside the headset box begins loading software and other processes. After these processes are completed, the headset box is in the powered-on or activated state.

[0142] Optionally, the earphone box can light up its own indicator light to show the user that the earphone box has been activated.

[0143] Optionally, when the earphone box transitions from a dormant state to an active state, the MCU inside the earphone box can control the earphone box to perform processes such as hardware startup, software loading (boot roader), and button function initialization. After these processes are completed, the earphone box is in an active state, and the earphone box (i.e., the MCU inside the earphone box) can process user commands normally. For example, the earphone box can detect or recognize the user's operation on the button on the earphone box and execute the corresponding instructions or functions corresponding to these operations.

[0144] After the earphone box is activated, since the TWS earphones are stored in the earphone box, the earphone box can control the TWS earphones to change from a dormant state to an active state through the control circuit. For example, the earphone box can control the TWS earphones through the metal contacts between the TWS earphones and the earphone box. In other words, after the earphone box is activated, the earphone box can activate the TWS earphones through the control circuit.

[0145] For example, the MCU in the earphone box can control the TWS earphones to perform hardware startup, software loading (boot roader) and other processing processes. After these processing processes are completed, the TWS earphones are in an activated state.

[0146] That is to say, in state one, the user's second operation on the button on the earphone box is used to trigger: the earphone box is activated, and the earphone box activates the TWS earphones.

[0147] It should be understood that when the TWS headset is activated or started, the Bluetooth of the TWS headset will also enter an activated or working state, so that the TWS headset can establish a Bluetooth connection with the smartphone and establish a Bluetooth transmission channel. In other words, in method 600, "the TWS headset is activated or started" or "the second operation" can trigger "establishing a Bluetooth connection between the TWS headset and the smartphone."

[0148] For example, since the Bluetooth of a smartphone will periodically send paging signals, the Bluetooth of the TWS headset enters the paging scan state after being activated. In this state, the TWS headset can reply to the response information of the smartphone, and the Bluetooth connection link between the TWS headset and the smartphone is established.

[0149] Optionally, in some possible implementations, assuming that there are multiple second electronic devices around the TWS headset (i.e., within the Bluetooth signal coverage range of the TWS headset), if the TWS headset has previously been paired or connected to an electronic device among the multiple second electronic devices (for example, a first smartphone) through Bluetooth, the TWS headset automatically prioritizes Bluetooth connection with the first smartphone to establish a Bluetooth transmission channel.

[0150] Optionally, in some other possible implementations, assuming that there are multiple second electronic devices around the TWS headset, if the TWS headset has not been paired or connected with these multiple second electronic devices before, or if the TWS headset has been paired or connected with multiple (at least two) second electronic devices before, one possible implementation is: the user can choose to connect to the TWS headset through Bluetooth on the Bluetooth connection interface of a second electronic device (for example, a first smartphone) that needs to perform reverse wireless charging for the headset box, and establish a Bluetooth transmission channel. Another possible implementation is: the TWS headset can also be connected to multiple second electronic devices through Bluetooth, so that the TWS headset can establish Bluetooth transmission channels with multiple second electronic devices respectively.

[0151] Of course, if there is only one second electronic device around the TWS headset, regardless of whether the electronic device has been paired or connected to the TWS headset through Bluetooth before, the TWS headset automatically connects to the electronic device through Bluetooth and establishes a Bluetooth transmission channel.

[0152] S603: The earphone box receives a first operation of a button on the earphone box by the user.

[0153] For example, the first operation may be that the user clicks or presses a button on the earphone box once. Of course, in other implementations of the present application, the second operation may also be that the user clicks or presses the button multiple times.

[0154] S604, in response to the first operation, the earphone box sends a second indication message to the TWS earphone, where the second indication message is used to indicate: the TWS earphone instructs the electronic device to automatically turn on the wireless reverse charging function.

[0155] Correspondingly, the TWS headset receives the second indication information.

[0156] For example, since the earphone box is connected to the TWS earphone via a pogo pin connector, the earphone box can send the second indication information to the TWS earphone via the pogo pin connector, that is, the second indication information is directional. In other words, the second indication information can be understood as being sent in unicast form.

[0157] Since the earphone box does not determine which electronic device or electronic devices the TWS earphones will instruct to automatically turn on the wireless reverse charging function, the second indication information sent by the earphone box to the TWS earphones is used to indicate that the TWS earphones instruct the electronic device to automatically turn on the wireless reverse charging function. It can be understood that the "electronic device" indicated by the TWS earphones includes: one or more electronic devices that can receive the first indication information sent by the TWS earphones, such as a smartphone.

[0158] For example, after the user clicks or presses the button once or multiple times (i.e., the first operation), the MCU in the earphone box detects the user's first operation. Since the MCU in the earphone box has previously stored a mapping relationship or correspondence between the user's operation on the button and the corresponding instruction, after the MCU in the earphone box detects the user's operation on the button, according to the instruction corresponding to the operation, the MCU in the earphone box can send the second indication information to the TWS earphone.

[0159] For example, when the earphone box is in an activated state or after it is started, each press or click of a button on the earphone box by the user is used to trigger: the earphone box sends the second indication information to the TWS earphones.

[0160] For example, the MCU in the earphone box transmits the information corresponding to the key action (i.e., the first operation) recorded in the cache (for example, "0X70", which indicates that reverse wireless charging is turned on) to the TWS earphones through the communication link between the earphone box and the TWS earphones.

[0161] Exemplarily, the MCU in the earphone box can send the second indication information to the TWS earphone through the control circuit.

[0162] Of course, the above-mentioned second operation and first operation can be continuous operations. For example, the user continuously clicks or presses the button on the earphone box multiple times (for example, twice). These multiple clicks or presses are used to trigger: the earphone box is turned on, the earphone box activates the TWS earphones, and the MCU in the earphone box sends a second indication message to the TWS earphones. Alternatively, there can be a short interval between the second operation and the first operation, such as an interval of 1 second. That is to say, for the user, the second operation and the first operation can be one operation as a whole, and this operation can be: clicking or pressing the button multiple times. Alternatively, the second operation and the first operation can be two separate operations. The embodiments of the present application are not limited here.

[0163] S605. In response to the second indication information, the TWS headset sends a first indication information to the smartphone, where the first indication information is used to instruct the smartphone to automatically turn on the wireless reverse charging function.

[0164] Correspondingly, the smartphone receives the first indication information.

[0165] Exemplarily, the TWS headset can send the first indication information to the mobile phone through the Bluetooth transmission channel between the TWS headset and the smart phone.

[0166] S606: The smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0167] For example, the smartphone automatically turns on the “wireless reverse charging” switch according to the first instruction information.

[0168] It is understandable that the TWS headset can send a first indication message to one or more second electronic devices that have been connected to it by Bluetooth (i.e., a Bluetooth transmission channel has been established). After receiving the first indication message, the one or more second electronic devices connected to the TWS headset by Bluetooth automatically turn on the wireless reverse charging function. If multiple second electronic devices automatically turn on the wireless reverse charging function, the user can place the earphone box in the wireless charging coil area of ​​a second electronic device (such as a first smartphone) that needs reverse wireless charging according to their needs, thereby performing wireless reverse charging for the earphone box.

[0169] Optionally, for electronic devices that do not need reverse wireless charging for the headphone box, within a preset time period, if the electronic device detects that it has not performed reverse wireless charging for the headphone box, the electronic device can automatically turn off the wireless reverse charging function, thereby saving power and increasing the usage time of the electronic device.

[0170] Optionally, after the smartphone automatically turns on the wireless reverse charging function, the smartphone can notify the user that the wireless reverse charging function has been turned on by vibration, ringtone, voice prompt or displaying a prompt message on the interface, so that the wireless reverse charging function is already in the turned-on state, thereby improving the user experience.

[0171] Optionally, in some possible implementations, after the smartphone automatically turns on the wireless reverse charging function, the user can place the earphone box containing the TWS earphones on the back of the smartphone, for example, Figure 4 As shown, the smartphone can be used to reverse wirelessly charge the earphone box or TWS earphones.

[0172] Alternatively, in some other possible implementations, during the execution of method 600, the user may also place the earphone box containing the TWS earphones on the back of the smartphone. That is, during the entire execution of method 600, the earphone box containing the TWS earphones is located on the back of the smartphone.

[0173] Through the above method, a button is set on the earphone box, and the user's second operation on the button can trigger: the earphone box changes from a dormant state to an active state, and the earphone box activates the TWS earphones. After that, the user's first operation on the button can trigger the earphone box to send a signal to the smartphone through the TWS earphones. After receiving the signal, the smartphone automatically turns on the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, avoiding the user manually turning on the function on the smartphone, and improving the user experience. In addition, through the first operation triggering: the earphone box sends the second indication information to the TWS earphones, and the TWS earphones sends the first indication information to the smartphone, it can avoid the earphone box continuously sending the second information and the TWS earphones continuously sending the first indication information, thereby reducing the power consumption of the earphone box and the TWS earphones, and increasing the usage time of the earphone box.

[0174] Optionally, as a possible implementation, in method 600, the earphone box may be in a closed (or turned off) state. That is, in some possible implementations, if the earphone box is in the closed (or turned off) state, it means that the earphone box is in a powered-off or dormant state.

[0175] Optionally, as another possible implementation, in method 600, the earphone box may also be in an unboxed (or opened) state.

[0176] Optionally, as a possible implementation, if the earphone box is in a closed (or powered off) state, then in method 600, S601 may be replaced by: the user opens the earphone box. That is, the second operation may be the user opening or unpacking the earphone box, and the second operation is used to trigger: the earphone box is powered on or activated, and the earphone box activates the TWS earphones.

[0177] Optionally, as a possible implementation method, in the above-mentioned state one, the user may also only perform the first operation or the second operation on the button on the earphone box. In this case, the first operation or the second operation of the user on the button on the earphone box is used to trigger: the earphone box is activated, the earphone box activates the TWS earphones, the earphone box sends the second indication information to the TWS earphones, and the TWS earphones send the first indication information to the smartphone. After the first operation or the second operation is completed, the earphone box can be activated, the earphone box activates the TWS earphones, and the earphone box can send the second indication information to the TWS earphones. The TWS earphones can respond to the second indication information and send the first indication information to the smartphone, and the smartphone can automatically turn on the wireless reverse charging function according to the first indication information. Optionally, the first operation or the second operation can be that the user clicks or presses the button on the earphone box once or multiple times.

[0178] For example, Figure 7 An example is shown in Figure 6 In the method shown, the schematic diagram of the internal circuit control of the earphone box and TWS earphone is as follows Figure 7 As shown, the earphone box may include: a battery, a power manager (charger), an MCU, and a control circuit. The power manager (charger) is connected to the battery, the MCU, and the control circuit.

[0179] exist Figure 7 In the example shown, the earphone box is initially in a dormant state. When the user presses the button on the earphone box for the first time (i.e., when performing the second operation), the button on the earphone box triggers the power manager (charger) to power on. After the power manager works, it connects the battery and the MCU, controls the battery to power on the MCU, and after powering on, the MCU is in a normal working state and starts loading software, starting hardware, initializing buttons, etc., to control the earphone box to be in a working or active state. At the same time, the MCU activates the TWS earphones through the control circuit, and the TWS earphones start to start and start to establish a Bluetooth connection with the smartphone. When the user presses the button on the earphone box for the second time (i.e., when performing the first operation), the MCU records the button action and passes the instruction corresponding to this action (instructing the mobile phone to automatically turn on the wireless reverse charging function) to the TWS earphones, and the TWS earphones send the instruction to the smartphone via Bluetooth.

[0180] For example, Figure 8 An example is shown in Figure 6 In the method shown, the schematic diagram of the processing flow of the earphone box, TWS earphones and smartphone is as follows: Figure 8 As shown, the earphone box is initially in a dormant state. When the user presses a button on the earphone box (for example, the first time, i.e., performing the second operation), the MCU in the earphone box is powered on and the TWS earphones are activated. When the user presses the button on the earphone box again (for example, the second time, i.e., performing the first operation), the MCU in the earphone box sends the instruction corresponding to the user operation (the second indication information) to the TWS earphones. The TWS earphones transmit the instruction (the first indication information) to the smartphone via the Bluetooth transmission channel. In response to the instruction, the smartphone automatically turns on the wireless reverse charging function.

[0181] State 2: The earphone box is powered off or in sleep mode, the TWS earphones are in the earphone box, and the TWS earphones are powered on or activated.

[0182] Figure 9 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state 2. Figure 9 As shown, the method 900 includes:

[0183] S901: The earphone box receives a second operation of a button on the earphone box by the user.

[0184] For example, the second operation may be that the user clicks or presses a button on the box one or more times.

[0185] S902: In response to the second operation, the earphone box is powered on or activated.

[0186] Since the TWS headset is in an activated state, the Bluetooth of the TWS headset will also enter an activated or working state. In this way, the TWS headset can establish a Bluetooth connection with the smartphone and establish a Bluetooth transmission channel.

[0187] That is to say, in the case of state 2, the user's second operation on the button on the earphone box is used to trigger: activation of the earphone box.

[0188] S903: The earphone box receives a first operation of a button on the earphone box by the user.

[0189] For example, the first operation can be that the user clicks or presses a button on the box once. Of course, in other implementations of the present application, the first operation can also be that the user clicks or presses this button multiple times.

[0190] S904, in response to the first operation, the earphone box sends a second indication message to the TWS earphone, where the second indication message is used to indicate: the TWS earphone instructs the electronic device to automatically turn on the wireless reverse charging function.

[0191] S905. In response to the second indication information, the TWS headset sends a first indication information to the smartphone, where the first indication information is used to instruct the smartphone to automatically turn on the wireless reverse charging function.

[0192] Correspondingly, the smartphone receives the first indication information.

[0193] S906: The smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0194] It can be seen that the difference between method 900 and method 600 is that after the earphone box is turned on or activated, the MCU in the earphone box does not need to activate the TWS earphones again.

[0195] For detailed descriptions of the various steps of method 900, reference may be made to the above descriptions of the corresponding steps in method 600, which will not be repeated here for the sake of brevity.

[0196] Through the above method, a button is set on the earphone box, and the user's second operation on the button can trigger the earphone box to change from a dormant state to an active state. Afterwards, the user's first operation on the button can trigger the earphone box to send a first indication message to the smartphone through the TWS earphones. After receiving the first indication message, the smartphone automatically turns on the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, avoiding the user manually turning on this function on the smartphone, and improving the user experience. In addition, through the first operation trigger: the earphone box sends the second indication message to the TWS earphones, and the TWS earphones sends the first indication message to the smartphone, it can avoid the earphone box continuously sending the second indication message and the TWS earphones continuously sending the first indication message, thereby reducing the power consumption of the earphone box and the TWS earphones, and increasing the usage time of the earphone box.

[0197] Optionally, as a possible implementation, in method 900, the earphone box may be in a closed (or powered off) state.

[0198] Optionally, in some possible implementations, if the earphone box is in a closed (or turned off) state, it means that the earphone box is in a powered-off or dormant state.

[0199] Optionally, as a possible implementation, if the earphone box is in a closed (or powered off) state, then in method 900, S901 may be replaced by: the user opening the earphone box. That is, the second operation may be the user opening or unpacking the earphone box, and the second operation is used to trigger: powering on or activating the earphone box.

[0200] Optionally, as a possible implementation method, in the above-mentioned state two, the user may also only perform the first operation or the second operation on the button on the earphone box. In this case, the first operation or the second operation of the user on the button on the earphone box is used to trigger: the earphone box is activated, the earphone box sends the second indication information to the TWS earphones, and the TWS earphones send the first indication information to the smartphone. After the first operation or the second operation is completed, the earphone box can be activated, the earphone box activates the TWS earphones, and the earphone box can send the second indication information to the TWS earphones. The second indication information is used to indicate: the TWS earphones instruct the electronic device to automatically turn on the wireless reverse charging function. In response to the second indication information, the TWS earphones can send the first indication information to the smartphone, and the smartphone can automatically turn on the wireless reverse charging function according to the first indication information. Optionally, the first operation or the second operation can be that the user clicks or presses the button on the earphone box once or multiple times.

[0201] State three: The earphone box is powered on or activated, the TWS earphones are in the earphone box, and the TWS earphones are powered off or in sleep mode.

[0202] Figure 10 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state three. Figure 10 As shown, the method 1000 includes:

[0203] S1001: The earphone box receives a first operation of a user on a button on the earphone box.

[0204] For example, the first operation may be that the user clicks or presses a button on the box one or more times.

[0205] S1002, in response to the first operation, the earphone box controls the TWS earphone to turn on or activate, and the earphone box sends a second indication information to the TWS earphone, where the second indication information is used to indicate: the TWS earphone instructs the electronic device to automatically turn on the wireless reverse charging function.

[0206] After the TWS headset enters the activated state, the Bluetooth of the TWS headset will also enter the activated or working state, so that the TWS headset can establish a Bluetooth connection with the smartphone and establish a Bluetooth transmission channel. In other words, in method 1000, "the TWS headset is activated or started" or "the first operation" can trigger "establishing a Bluetooth connection between the TWS headset and the smartphone."

[0207] That is to say, in state three, the user's first operation on the button on the earphone box is used to trigger: the earphone box activates the TWS earphones, and the earphone box sends second indication information to the TWS earphones.

[0208] Correspondingly, the TWS headset receives the second indication information.

[0209] S1003, in response to the second indication information, the TWS headset sends a first indication information to the smartphone, where the first indication information is used to instruct: the smartphone to automatically turn on the wireless reverse charging function.

[0210] Correspondingly, the smartphone receives the first indication information.

[0211] S1004: The smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0212] It can be seen that the difference between method 1000 and method 600 is that there is no need to activate the earphone box, and the user can only operate the button on the earphone box once (i.e., the first operation). This operation can be: click or press the button once or multiple times, which can trigger the earphone box to activate the TWS earphones, and the earphone box sends the second indication information to the TWS earphones, and the TWS earphones send the first indication information to the smartphone.

[0213] For detailed descriptions of other steps of method 1000, please refer to the above descriptions of corresponding steps in method 600. For the sake of brevity, they will not be repeated here.

[0214] Through the above method, a button is set on the earphone box. When the user presses or clicks the button, it can be triggered: the earphone box activates the TWS earphones, and the earphone box sends a first indication message to the smartphone through the TWS earphones. After receiving the first indication message, the smartphone automatically turns on the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, avoiding the user from manually turning on the function on the smartphone, and improving the user experience.

[0215] Status 4: The earphone box is powered on or activated, the TWS earphones are in the earphone box, and the TWS earphones are also powered on or activated.

[0216] Figure 11 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state four. Figure 11 As shown, the method 1100 includes:

[0217] S1101: The earphone box receives a first operation of a user on a button on the earphone box.

[0218] For example, the first operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0219] S1102, in response to the first operation, the earphone box sends a second indication message to the TWS earphone, where the second indication message is used to indicate: the TWS earphone instructs the electronic device to automatically turn on the wireless reverse charging function.

[0220] S1103, in response to the second indication information, the TWS headset sends a first indication information to the smartphone, where the first indication information is used to instruct: the smartphone to automatically turn on the wireless reverse charging function.

[0221] Correspondingly, the smartphone receives the first indication information.

[0222] S1104, the smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0223] It can be seen that the difference between method 1100 and method 600 is that the earphone box and the TWS earphones in the earphone box do not need to be activated. The user can only operate the button on the earphone box once (i.e., the first operation), which can be: clicking or pressing the button once or multiple times. This can trigger the earphone box to send the second indication information to the TWS earphones, and the TWS earphones to send the first indication information to the smartphone.

[0224] For detailed descriptions of other steps of method 1100, please refer to the above descriptions of corresponding steps in method 600. For the sake of brevity, they will not be repeated here.

[0225] Through the above method, a button is set on the earphone box. After the user presses or clicks the button, the earphone box can be triggered to send a first indication message to the smartphone through the TWS earphones. After receiving the first indication message, the smartphone automatically turns on the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, avoiding the user from manually turning on this function on the smartphone, and improving the user experience. In addition, through the first operation triggering: the earphone box sends the second indication message to the TWS earphones, and the TWS earphones send the first indication message to the smartphone, it can avoid the earphone box continuously sending the second indication message and the TWS earphones continuously sending the first indication message, thereby reducing the power consumption of the earphone box and the TWS earphones, and increasing the usage time of the earphone box.

[0226] In other possible implementations, the earphone box can also have Bluetooth functionality. For example, a Bluetooth chip can be set up in the earphone box, and the MCU in the earphone box can control the Bluetooth chip. In this case, the main functions of the earphone box include: storing TWS earphones, charging TWS earphones, and communicating with other devices (such as TWS earphones, smartphones, etc.) through Bluetooth. The earphone box can also be in the off (sleep) or on (active) state. These states are described below.

[0227] State 5: The earphone box has Bluetooth functionality and is powered off or in sleep mode. Optionally, the earphone box may contain a TWS earphone (i.e., the TWS earphone is in the earphone box), or the earphone box may not contain a TWS earphone (i.e., the TWS earphone is not in the earphone box).

[0228] Figure 12 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state five. Figure 12 As shown, the method 1200 includes:

[0229] S1201: The earphone box receives a second operation of a user on a button on the earphone box.

[0230] For example, the second operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0231] S1202: In response to the second operation, the earphone box is powered on or activated.

[0232] It is understood that when the earphone box is activated or started, the Bluetooth of the earphone box will also be activated or in operation, so that the earphone box can establish a Bluetooth connection with the smartphone and establish a Bluetooth transmission channel. In other words, in method 1200, "the earphone box is activated or started" or "the second operation" can trigger the establishment of a Bluetooth connection between the earphone box and the smartphone.

[0233] That is to say, in the case of state five, the user's first operation of the button on the earphone box is used to trigger: the earphone box is activated.

[0234] For the process of establishing a Bluetooth connection between the earphone box and the smartphone, please refer to the description of the Bluetooth connection between the TWS earphones and the smartphone in S602 of method 600. For the sake of brevity, it will not be repeated here.

[0235] S1203: The earphone box receives a first operation of a button on the earphone box by the user.

[0236] For example, the first operation may be that the user clicks or presses a button on the earphone box once. Of course, in other implementations of the present application, the first operation may also be that the user clicks or presses the button multiple times.

[0237] S1204: In response to the first operation, the earphone box sends a first instruction message to the smartphone, where the first instruction message is used to instruct the smartphone to automatically turn on the wireless reverse charging function.

[0238] Correspondingly, the smartphone receives the first indication information.

[0239] Exemplarily, the earphone box may send the indication information to the smartphone via a Bluetooth transmission channel between the earphone box and the smartphone.

[0240] S1205: The smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0241] It is understandable that the earphone box can send the first indication information to one or more second electronic devices that have been connected to it by Bluetooth (i.e., a Bluetooth transmission channel has been established). After receiving the first indication information, the one or more second electronic devices connected to the earphone box by Bluetooth automatically turn on the wireless reverse charging function. If multiple second electronic devices automatically turn on the wireless reverse charging function, the user can place the earphone box in the wireless charging coil area of ​​a second electronic device (such as a first smartphone) that needs reverse wireless charging according to their needs.

[0242] Optionally, for electronic devices that do not need reverse wireless charging for the headphone box, within a preset time period, if the electronic device detects that it has not performed reverse wireless charging for the headphone box, the electronic device can automatically turn off the wireless reverse charging function, thereby saving power and increasing the usage time of the electronic device.

[0243] Through the above method, a button is set on the earphone box, and the user's second operation on the button can trigger the earphone box to switch from a dormant state to an active state. After that, the user's first operation on the button can trigger the earphone box to send a signal (i.e., the first indication information) to the smartphone via Bluetooth. After receiving the signal, the smartphone automatically activates the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, avoiding the user's need to manually activate this function on the smartphone, and improving the user experience. In addition, by triggering the earphone box to send the first indication information to the smartphone through the first operation, the earphone box can be prevented from continuously sending the first indication information, thereby reducing the power consumption of the earphone box and increasing the usage time of the earphone box.

[0244] Optionally, as a possible implementation, in method 1200, the earphone box may be in a closed (or shut down) state.

[0245] Optionally, in some possible implementations, if the earphone box is in a closed (or turned off) state, it means that the earphone box is in a powered-off or dormant state.

[0246] Optionally, as another possible implementation, in method 1200, the earphone box may also be in an unboxed (or opened) state.

[0247] Optionally, as a possible implementation, if the earphone box is in a closed (or powered off) state, then in method 1200, S1201 may be replaced by: the user opening the earphone box. That is, the second operation may be the user opening or unpacking the earphone box, and the second operation is used to trigger: powering on or activating the earphone box.

[0248] Alternatively, as a possible implementation, in the aforementioned state five, the user may only perform the first operation or the second operation on the button on the earphone box. In this case, the first operation or the second operation on the button on the earphone box triggers: activation of the earphone box and sending of the first indication information to the smartphone. After the first operation or the second operation is completed, the earphone box can be activated, and the earphone box can send the first indication information to the smartphone.

[0249] State 6: The earphone box has Bluetooth functionality and is powered on or activated. Optionally, the earphone box may contain a TWS earphone (i.e., the TWS earphone is in the earphone box); or the earphone box may not contain a TWS earphone (i.e., the TWS earphone is not in the earphone box).

[0250] It can be understood that when the earphone box is in an activated state, the Bluetooth of the earphone box will also enter an activated or working state, so that the earphone box can establish a Bluetooth connection with the smartphone and establish a Bluetooth transmission channel.

[0251] Figure 13 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state six. Figure 13 As shown, the method 1300 includes:

[0252] S1301: The earphone box receives a first operation of a user on a button on the earphone box.

[0253] For example, the first operation may be that the user clicks or presses a button on the earphone box once or multiple times (for example, twice).

[0254] S1302: In response to the first operation, the earphone box sends a first instruction message to the smartphone, where the first instruction message is used to instruct the smartphone to automatically turn on the wireless reverse charging function.

[0255] Correspondingly, the smartphone receives the first indication information.

[0256] S1303: The smartphone automatically turns on the wireless reverse charging function according to the first instruction information.

[0257] It can be seen that the difference between method 1300 and method 1200 is that there is no need to activate the earphone box.

[0258] For detailed descriptions of each step of method 1300, please refer to the above descriptions of the corresponding steps in method 1200. For the sake of brevity, they will not be repeated here.

[0259] Through the above method, a button is provided on the earphone box, and a user's first operation on the button can trigger the earphone box to send a first instruction message to the smartphone via Bluetooth. After receiving the first instruction message, the smartphone automatically activates the wireless reverse charging function, thereby enabling the smartphone to charge the earphone box, eliminating the need for the user to manually activate this function on the smartphone, and improving the user experience. Furthermore, triggering the earphone box to send the first instruction message through the first operation can prevent the earphone box from continuously sending the first instruction message, thereby reducing the power consumption of the earphone box and increasing the usage time of the earphone box.

[0260] Alternatively, as a possible implementation, if the earphone box is in a closed (or powered off) state, then in method 1300, S1301 may be replaced by: the user opening the earphone box. That is, the first operation may be the user opening or unpacking the earphone box, and the first operation is used to trigger: the earphone box sending the first indication information to the smartphone.

[0261] It should be understood that in the examples shown in states 1 to 6 above, the earphone box or TWS earphones sends the first indication information in unicast form, that is, the first indication information is directional. For example, the earphone box or TWS earphones uses the Bluetooth connection established between the earphone box and the smartphone to send the first indication information to the smartphone, and the first indication information is used to instruct the smartphone to automatically turn on the wireless reverse charging function.

[0262] Optionally, in other implementations of the present application, the earphone box or TWS earphones may also send the first indication information in the form of broadcast, that is, the first indication information is not directional. For example, the earphone box or TWS earphones does not need to establish a communication connection with other electronic devices (including smart phones). In this case, when the earphone box or TWS earphones sends the first indication information, it can be sent in Bluetooth broadcast mode. For example, the earphone box or TWS earphones broadcasts the first indication information via Bluetooth, and the first indication information is used to indicate: automatically turn on the wireless reverse charging function. One or more second electronic devices (for example, including smart phones) that receive or detect the first indication information can automatically turn on the wireless reverse charging function in response to the first indication information.

[0263] In other possible implementations, the earphone case may also be equipped with a magnet and near field communication (NFC) functionality. For example, an NFC chip may be installed in the earphone case, and the earphone case can use NFC to send NFC information to nearby devices. This NFC information indicates that the wireless reverse charging function should be automatically activated. Because the magnet in the earphone case generates a magnetic field, a magnetic sensor (or magnetic inductor) in the smartphone can detect the magnetic field or changes in the magnetic field generated by the magnet in the earphone case. For example, if the earphone case is far from the smartphone, the magnetic sensor in the smartphone may not detect the magnetic field generated by the magnet in the earphone case. However, if the earphone case is close to the smartphone, the magnetic sensor in the smartphone can detect the magnetic field generated by the magnet in the earphone case. For another example, as the distance between the earphone case and the smartphone changes, the magnetic sensor in the smartphone can detect changes in the magnetic field generated by the magnet in the earphone case. Furthermore, as the distance between the earphone case and the smartphone decreases, the magnetic sensor in the smartphone detects that the magnetic field generated by the magnet in the earphone case will become stronger or stronger. Optionally, the earphone case may be in a powered-off (sleep) or powered-on (active) state. These states are described below.

[0264] Alternatively, as a possible implementation, the NFC chip or component in the headset box may not require the headset box to provide power. That is, regardless of whether the headset box is powered off or active, the NFC chip or component in the headset box can continuously send NFC information, which is used to instruct: automatically turn on the wireless reverse charging function. For example, the NFC in the headset box may include active NFC and passive NFC, etc., which are not limited in this embodiment of the present application.

[0265] Status 7: The earphone box has NFC functionality and is equipped with magnets. Optionally, the earphone box can contain TWS earphones (i.e., the TWS earphones are in the earphone box), or the earphone box can also not contain TWS earphones (i.e., the TWS earphones are not in the earphone box).

[0266] Figure 14 The figure shows a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in the case of state seven. Figure 14 As shown, the method 1400 includes:

[0267] S1401: The earphone box sends NFC information, which is used to instruct: automatically turn on the wireless reverse charging function.

[0268] S1402: The smartphone detects the NFC information sent by the earphone box and the magnetic field generated by the magnet of the earphone box.

[0269] S1403, when the smartphone detects the NFC information sent by the earphone box and the magnetic field generated by the magnet of the earphone box, the wireless reverse charging function is automatically turned on.

[0270] Optionally, the NFC information in S1401 may also be referred to as first indication information, and the first indication information is used to indicate: automatically turning on the wireless reverse charging function.

[0271] For example, as a possible implementation method, when the earphone box is relatively close to the smartphone, the smartphone can detect the magnetic field generated by the magnet of the earphone box, and when the smartphone detects the NFC information sent by the earphone box, the smartphone automatically turns on the wireless reverse charging function.

[0272] For another example, as another possible implementation method, when the earphone box is close to the smartphone and the distance between the earphone box and the smartphone changes, for example, when the user moves the earphone box closer and closer to the smartphone, the smartphone can detect the change in the magnetic field generated by the magnet in the earphone box, and when the smartphone detects the NFC information sent by the earphone box, the smartphone automatically turns on the wireless reverse charging function.

[0273] Through the above method, the earphone box has NFC functionality and is equipped with a magnet. The earphone box sends NFC information. When the smartphone detects the NFC information sent by the earphone box and the magnetic field generated by the earphone box's magnet, the wireless reverse charging function is automatically activated, allowing the smartphone to charge the earphone box, eliminating the need for the user to manually activate this function on the smartphone, thereby improving the user experience. Furthermore, the dual protection of NFC information and magnetic field can reduce the probability of smartphone misoperation and improve the accuracy and reliability of the smartphone's automatic activation of the wireless reverse charging function.

[0274] Alternatively, as another possible implementation, if the NFC chip or component in the headset box requires power from the headset box, that is, the MCU in the headset box can control the NFC chip. In this case, the headset box needs to be in an activated state before the NFC chip can be activated, and the NFC chip can only send NFC information after it is activated. For example, in the case described in state eight:

[0275] State 8: The earphone box has NFC functionality and is equipped with a magnet, and is powered off or in sleep mode. Optionally, a button may be provided on the earphone box.

[0276] Optionally, the earphone box may contain a TWS earphone (ie, the TWS earphone is in the earphone box), or the earphone box may not contain a TWS earphone (ie, the TWS earphone is not in the earphone box).

[0277] Figure 15 FIG. 1 is a schematic flow chart of a method for wireless reverse charging of an electronic device provided by the present application in state eight. Figure 15 As shown, the method 1500 includes:

[0278] S1501: The earphone box receives a first operation of a user on a button on the earphone box.

[0279] For example, the first operation may be that the user clicks or presses a button on the earphone box once or multiple times.

[0280] S1502: In response to a first operation on a button on the earphone box, the earphone box is powered on or activated, and the earphone box sends NFC information, where the NFC information is used to instruct: automatically turn on the wireless reverse charging function.

[0281] When the earphone box is in an activated state, the NFC function in the earphone box is enabled, that is, the MCU in the earphone box controls the NFC chip to send NFC information, and the NFC information is used to indicate: automatically turn on the wireless reverse charging function.

[0282] Of course, when the earphone box is in an activated state, the earphone box does not need to continuously send NFC information. In this case, the user's first operation of the button on the earphone box can trigger: the NFC chip in the earphone box sends NFC information.

[0283] That is, in state eight, the user's first operation of the button on the earphone box triggers the earphone box to be activated, and the NFC chip inside the earphone box to send NFC information. Alternatively, the user's first operation of the button on the earphone box triggers the NFC chip inside the earphone box to send NFC information.

[0284] Optionally, the NFC information in S1502 may also be referred to as first indication information, and the first indication information is used to indicate: automatically turning on the wireless reverse charging function.

[0285] S1503, when the smartphone detects the NFC information sent by the earphone box and the magnetic field generated by the magnet of the earphone box, the wireless reverse charging function is automatically turned on.

[0286] Through the above method, the earphone box has NFC function and is provided with a magnet. A button is set on the earphone box, and the user can trigger the first operation of the button: the earphone box changes from a dormant state to an active state, and the earphone box sends NFC information. When the smartphone detects the NFC information sent by the earphone box and the magnetic field generated by the magnet of the earphone box, the wireless reverse charging function is automatically turned on, so that the smartphone can charge the earphone box, avoiding the user from manually turning on the function on the smartphone, thereby improving the user experience. In addition, through the dual protection of NFC information and magnetic field, the probability of misoperation of the smartphone can be reduced, and the accuracy and reliability of the automatic activation of the wireless reverse charging function of the smartphone can be improved. In addition, by triggering the earphone box to send NFC information through the first operation, the earphone box can be prevented from continuously sending NFC information, reducing the power consumption of the earphone box and increasing the usage time of the earphone box.

[0287] Optionally, as a possible implementation method, if the earphone box is in a closed (or powered off) state, in method 1500, S1501 can be replaced by: the user opens the earphone box, that is, the first operation can be the operation of the user opening the earphone box or opening the box, and the first operation is used to trigger: the earphone box is turned on or activated, and the NFC chip in the earphone box sends NFC information; or, the first operation is used to trigger: the NFC chip in the earphone box sends NFC information.

[0288] Optionally, in method 1400 and method 1500, NFC information may also be replaced by Bluetooth information.

[0289] Of course, in the above-mentioned method 1400 and method 1500, if the earphone box does not have the NFC function, or in other words, the earphone box does not have the function of sending the first indication information to the smartphone, in this case, the earphone box can also send the first indication information to the smartphone through the TWS earphones. For example, the earphone box can send a second indication information to the TWS earphones, and the second indication information is used to indicate: the TWS earphones instruct the electronic device to automatically turn on the wireless reverse charging function. The TWS earphones respond to the second indication information and send the first indication information. The first indication information is used to indicate: automatically turn on the wireless reverse charging function. When the smartphone detects the first indication information and the magnetic field generated by the magnet of the earphone box, the wireless reverse charging function is automatically turned on. When the TWS earphones send the first indication information, it can also be sent in unicast, multicast or broadcast mode.

[0290] It should be understood that the above is only intended to help those skilled in the art better understand the embodiments of the present application, and is not intended to limit the scope of the embodiments of the present application. Based on the above examples given, those skilled in the art can obviously make various equivalent modifications or changes. For example, some steps in the above method embodiments may not be necessary, or some new steps may be added. Or a combination of any two or any multiple embodiments described above. Such modifications, changes, or combined solutions also fall within the scope of the embodiments of the present application.

[0291] It should also be understood that the division of the modes, situations, categories and embodiments in the embodiments of the present application is only for the convenience of description and should not constitute a special limitation. The features of various modes, categories, situations and embodiments can be combined without contradiction.

[0292] It should also be understood that the various numerical numbers involved in the embodiments of this application are only for the convenience of description and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0293] It should also be understood that the above description of the embodiments of the present application focuses on emphasizing the differences between the various embodiments. The same or similar points that are not mentioned can be referenced with each other. For the sake of brevity, they will not be repeated here.

[0294] Combination of the above Figures 1 to 15 The method of the embodiment of the present application is described in detail. Figure 16 and Figure 17 The electronic device according to the embodiment of the present application is described in detail.

[0295] The embodiment of the present application can divide the functional modules of each electronic device (including the first electronic device and the second electronic device mentioned above) according to the above-mentioned method embodiment. For example, it can be divided into various functional modules corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. It should be noted that the relevant content of each step involved in the above-mentioned method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0296] It should be understood that the first electronic device supports a wireless charging function, the second electronic device supports a wireless reverse charging function, and the second electronic device is used to perform wireless reverse charging for the first electronic device.

[0297] Optionally, as a possible implementation, the first electronic device is provided with a button. This button may be a physical button, that is, the user needs to press this button to trigger the first electronic device to execute the corresponding processing process. Of course, this button may also be a touch button, and the user only needs to touch or click with a finger to trigger the corresponding processing process executed by the first electronic device.

[0298] Optionally, the first electronic device may have a Bluetooth function.

[0299] Alternatively, as another possible implementation, a magnet is provided in the first electronic device, which can generate a magnetic field. Furthermore, the first electronic device has a Bluetooth function or an NFC function. For example, the first electronic device can send Bluetooth information or NFC information.

[0300] For example, the first electronic device may include an earphone box and a TWS earphone, and buttons may be set on the earphone box, and the second electronic device may be a smart phone.

[0301] Optionally, a magnet is provided in the earphone box, and the magnet can generate a magnetic field.

[0302] The electronic device provided in the embodiments of the present application (including the above-mentioned first electronic device and second electronic device) is used to execute the method for wireless reverse charging of an electronic device provided in any of the above embodiments, so that the same effect as the above-mentioned implementation method can be achieved. In the case of an integrated unit, the first electronic device or the second electronic device may include a processing module (processing unit), a storage module (storage unit) and a communication module (communication unit). Among them, the processing module can be used to control and manage the actions of the first electronic device or the second electronic device. For example, it can be used to support the first electronic device or the second electronic device to execute the steps executed by the processing unit (for example, triggering the sending of a first indication message based on the user's operation on a button, etc.). The storage module can be used to support the storage of program codes and data, etc. The communication module can be used to support the communication between the first electronic device or the second electronic device and other devices.

[0303] The processing module may be a processor or a controller. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module may be a memory. The communication module may specifically be a device that interacts with other terminal devices, such as a radio frequency circuit, a Bluetooth chip, or a Wi-Fi chip.

[0304] For example, Figure 16The schematic diagram of the structure of an example electronic device 1600 provided in the present application is shown. The electronic device 1600 can be any electronic device in the above-mentioned embodiments, for example, the first electronic device or the second electronic device.

[0305] like Figure 16 As shown, electronic device 1600 may include a processor 1610, an external memory interface 1620, an internal memory 1621, a universal serial bus (USB) interface 1630, an antenna 1, a wireless communication module 1660, a charging management module 1640, a power management module 1641, a battery 1642, etc. Electronic device 1600 is configured to execute the steps performed by the first electronic device or the second electronic device in the method of any of the above embodiments.

[0306] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 1600. In other embodiments of the present application, the electronic device 1600 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.

[0307] For example, when the electronic device 1600 is a smartphone (second electronic device), the electronic device may further include a wireless mobile communication module, a display screen, a camera, a speaker, a microphone, a receiver, an earphone jack, various sensors (such as a magnetic sensor), etc. In addition, the electronic device 1600 supports a wireless reverse charging function.

[0308] For another example, when the electronic device 1600 is a first electronic device (for example, the first electronic device includes an earphone box and a TWS earphone), a button may be further provided on the earphone box, or a magnet may be further provided. This embodiment of the present application is not limited thereto.

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

[0310] A memory may also be provided in the processor 1610 for storing instructions and data. In some embodiments, the memory in the processor 1610 is a cache memory. The memory may store instructions or data that the processor 1610 has just used or is reusing. If the processor 1610 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated accesses and reduces the waiting time of the processor 1610, thereby improving the efficiency of the system. For example, the processor may automatically turn on the wireless reverse charging switch based on the received first indication information. Alternatively, the processor may send the first indication information based on the user's operation on a button, etc.

[0311] The wireless communication function of the electronic device 1600 can be implemented through the antenna 1, the wireless communication module 1660, the modem processor and the baseband processor.

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

[0313] The wireless communication module 1660 can provide wireless communication solutions for the electronic device 1600, including wireless local area networks (WLAN), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology (IR), etc. The wireless communication module 1660 can be one or more devices that integrate at least one communication processing module. The wireless communication module 1660 receives electromagnetic waves via antenna 1, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1610. The wireless communication module 1660 can also receive signals to be transmitted from the processor 1610, frequency modulate them, amplify them, and convert them into electromagnetic waves for radiation through antenna 1. For example, the wireless communication module 1660 can be used to send or receive the first indication information or the second indication information mentioned above.

[0314] The external memory interface 1620 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1600. The external memory card communicates with the processor 1610 via the external memory interface 1620 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0315] The internal memory 1621 can be used to store computer executable program codes, which include instructions. The processor 1610 executes various functional applications and data processing of the electronic device 1600 by running the instructions stored in the internal memory 1621. The internal memory 1621 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 1600 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 1621 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0316] Of course, the electronic device 1600 may also include a charging management module, a power management module, a battery, etc., and the embodiment of the present application does not impose any restrictions on this.

[0317] The present application also provides a chip system. Figure 17 As shown, the chip system includes at least one processor 1701 and at least one interface circuit 1702. The processor 1701 and the interface circuit 1702 can be interconnected via lines. For example, the interface circuit 1702 can be used to receive signals from other devices (such as the memory of the first electronic device or the second electronic device mentioned above). For another example, the interface circuit 1702 can be used to send signals to other devices (such as the processor 1701). Exemplarily, the interface circuit 1702 can read the instructions stored in the memory and send the instructions to the processor 1701. When the instructions are executed by the processor 1701, the chip system can execute the various steps performed by the first electronic device or the second electronic device in the above-mentioned various method embodiments. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0318] The present application also provides an apparatus, included in an electronic device, that implements the behavior of the first or second electronic device described in any of the above embodiments. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes at least one module or unit corresponding to the above functionality.

[0319] For example, the apparatus may include a processing module and a communication module. Alternatively, the apparatus may include a processing unit and a communication unit. Optionally, the communication unit may include a receiving unit and a sending unit.

[0320] The present application also provides an electronic device, which includes the device provided in the above-mentioned embodiment of the present application.

[0321] Optionally, the electronic device is provided with buttons.

[0322] Optionally, a magnet is provided in the electronic device, and the magnet is used to generate a magnetic field.

[0323] Optionally, the electronic device is provided with a button and a magnet, and the magnet is used to generate a magnetic field.

[0324] An embodiment of the present application further provides a system for wireless reverse charging of an electronic device, the system for wireless reverse charging of an electronic device comprising: the first electronic device and the second electronic device mentioned above.

[0325] For example, a system for wireless reverse charging of an electronic device may include: a TWS headset and a headset box. For another example, a system for wireless reverse charging of an electronic device may include: a headset box and a smartphone. For another example, a system for wireless reverse charging of an electronic device may include: a TWS headset, a headset box and a smartphone.

[0326] The present invention also provides a computer-readable storage medium for storing computer program code, wherein the computer program code includes instructions for executing the steps performed by the first electronic device or the second electronic device in the method provided in the embodiment of the present invention. The computer-readable storage medium can be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the present invention.

[0327] The present application also provides a computer program product, which includes instructions. When the instructions are executed, the electronic device executes the steps performed by the first electronic device or the second electronic device in the method provided in the above-mentioned embodiment of the present application.

[0328] The present application also provides a chip within a communication device, comprising a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin, or a circuit. The processing unit may execute computer instructions to cause the communication device to perform any of the methods for wireless reverse charging of an electronic device provided in the embodiments of the present application.

[0329] Optionally, the computer instructions are stored in a storage unit.

[0330] Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the terminal, such as a ROM or other type of static storage device that can store static information and instructions, random access RAM, etc. The processor mentioned in any of the above can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the above-mentioned electronic device display screen adjustment method. The processing unit and the storage unit can be decoupled and respectively set on different physical devices, and connected by wired or wireless means to implement the respective functions of the processing unit and the storage unit to support the system chip to implement the various functions in the above-mentioned embodiments. Alternatively, the processing unit and the memory can also be coupled on the same device.

[0331] Among them, the electronic device, device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0332] It should also be understood that the division of units in the above device is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. Moreover, the units in the device can all be implemented in the form of software called through processing elements; or all be implemented in the form of hardware; or some units can be implemented in the form of software called through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated into a certain chip of the device. In addition, it can also be stored in a memory in the form of a program, and called by a certain processing element of the device to execute the function of the unit. Here, the processing element can also be called a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by the integrated logic circuit of the hardware in the processor element or in the form of software called through the processing element. In one example, the unit in any of the above devices may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

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

[0334] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0335] The functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0336] 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 technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.

[0337] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for wireless reverse charging of an electronic device, characterized in that: The method comprises: receiving a first operation of a button on a first electronic device by a user, wherein the first electronic device supports a wireless charging function; In response to the first operation, the first electronic device sends first indication information, where the first indication information is used to instruct: automatically turning on a wireless reverse charging function; When the second electronic device receives the first indication information, in response to the first indication information, the second electronic device automatically turns on the wireless reverse charging function. The second electronic device supports the wireless reverse charging function and is used to perform wireless reverse charging for the first electronic device.

2. The method according to claim 1, characterized in that In response to the first operation, the first electronic device sends first indication information, including: In response to the first operation, the first electronic device sends the first indication information to the second electronic device through the Bluetooth connection established between the first electronic device and the second electronic device, where the first indication information is used to instruct the second electronic device to automatically turn on the wireless reverse charging function; or In response to the first operation, the first electronic device broadcasts the first indication information via Bluetooth.

3. The method according to claim 2, characterized in that In response to the first operation, the method further includes: The first electronic device and the second electronic device establish a Bluetooth connection; or, The first electronic device is powered on or activated, and a Bluetooth connection is established between the first electronic device and the second electronic device; or The first electronic device is powered on or activated.

4. The method according to claim 2, characterized in that Before receiving a first operation of a user on a key on the first electronic device, the method further includes: receiving a second operation of a button on the first electronic device by a user; In response to the second operation, the first electronic device and the second electronic device establish a Bluetooth connection; or, In response to the second operation, the first electronic device is powered on or activated, and a Bluetooth connection is established between the first electronic device and the second electronic device; or In response to the second operation, the first electronic device is powered on or activated.

5. The method according to claim 1 or 2, characterized in that The first electronic device includes an earphone box and a Bluetooth headset, the earphone box is used to store the Bluetooth headset and charge the Bluetooth headset, the earphone box is provided with the button, and in response to the first operation, the first electronic device sends first indication information, including: In response to the first operation, the earphone box sends second instruction information to the Bluetooth earphone, where the second instruction information is used to instruct: the Bluetooth earphone instructs the electronic device to automatically turn on the wireless reverse charging function; In response to the second indication information, the Bluetooth headset sends the first indication information.

6. The method according to claim 1 or 2, characterized in that The first electronic device includes an earphone box, the earphone box is used to store a Bluetooth earphone and charge the Bluetooth earphone, the earphone box is provided with the button, and in response to the first operation, the first electronic device sends the first indication information, including: In response to the first operation, the earphone box sends the first indication information.

7. The method according to claim 5 or 6, characterized in that Before receiving a first operation of a button on the earphone box by the user, the method further includes: receiving a second operation of a button on the earphone box by the user; In response to the second operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

8. The method according to claim 5 or 6, characterized in that The method further comprises: In response to the first operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

9. The method according to claim 5 or 6, characterized in that The earphone box is in a closed state; Before receiving a first operation of a button on the earphone box by the user, the method further includes: Receiving a user's opening operation of the earphone box; In response to the box opening operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

10. The method according to any one of claims 1 to 9, characterized in that The first operation includes: pressing a key once or multiple times, and / or the second operation includes: pressing a key once or multiple times.

11. A method for wireless reverse charging of an electronic device, characterized in that: The method is applied to a first electronic device, the first electronic device supporting a wireless charging function, and the method includes: receiving a first operation of a button on a first electronic device by a user; In response to the first operation, the first electronic device sends first indication information, where the first indication information is used to indicate: automatically turning on the wireless reverse charging function.

12. The method according to claim 11, characterized in that In response to the first operation, the first electronic device sends first indication information, including: In response to the first operation, the first electronic device sends the first indication information to the second electronic device through the Bluetooth connection established between the first electronic device and the second electronic device, where the first indication information is used to instruct the second electronic device to automatically turn on the wireless reverse charging function, wherein the second electronic device supports the wireless reverse charging function and is used to perform wireless reverse charging for the first electronic device; or In response to the first operation, the first electronic device broadcasts the first indication information via Bluetooth.

13. The method according to claim 12, characterized in that In response to the first operation, the method further includes: The first electronic device and the second electronic device establish a Bluetooth connection; or, The first electronic device is powered on or activated, and a Bluetooth connection is established between the first electronic device and the second electronic device; or The first electronic device is powered on or activated.

14. The method according to claim 12, characterized in that Before receiving a first operation of a user on a key on the first electronic device, the method further includes: receiving a second operation of a button on the first electronic device by a user; In response to the second operation, the first electronic device and the second electronic device establish a Bluetooth connection; or, In response to the second operation, the first electronic device is powered on or activated, and a Bluetooth connection is established between the first electronic device and the second electronic device; or In response to the second operation, the first electronic device is powered on or activated.

15. The method according to claim 11 or 12, characterized in that The first electronic device includes an earphone box and a Bluetooth headset, the earphone box is used to store the Bluetooth headset and charge the Bluetooth headset, the earphone box is provided with the button, and in response to the first operation, the first electronic device sends first indication information, including: In response to the first operation, the earphone box sends second instruction information to the Bluetooth earphone, where the second instruction information is used to instruct: the Bluetooth earphone instructs the electronic device to automatically turn on the wireless reverse charging function; In response to the second indication information, the Bluetooth headset sends the first indication information.

16. The method according to claim 11 or 12, characterized in that The first electronic device includes an earphone box, the earphone box is used to store a Bluetooth earphone and charge the Bluetooth earphone, the earphone box is provided with the button, and in response to the first operation, the first electronic device sends the first indication information, including: In response to the first operation, the earphone box sends the first indication information.

17. The method according to claim 15 or 16, characterized in that Before receiving a first operation of a button on the earphone box by the user, the method further includes: receiving a second operation of a button on the earphone box by the user; In response to the second operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

18. The method according to claim 15 or 16, characterized in that The method further comprises: In response to the first operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

19. The method according to claim 15 or 16, characterized in that The earphone box is in a closed state; Before receiving a first operation of a button on the earphone box by the user, the method further includes: Receiving a user's opening operation of the earphone box; In response to the box opening operation, the earphone box is powered on or activated; or, the earphone box is powered on or activated, and the earphone box controls the Bluetooth headset to be powered on or activated.

20. The method according to any one of claims 11 to 19, characterized in that The first operation includes: pressing a key once or multiple times, and / or the second operation includes: pressing a key once or multiple times.

21. An electronic device, characterized in that: The electronic device is provided with a button, and the electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to read the instructions to execute the method according to any one of claims 11-20.

22. The electronic device according to claim 21, wherein: The electronic device includes an earphone box and a Bluetooth earphone, the earphone box is used to store the Bluetooth earphone and charge the Bluetooth earphone, and the button is provided on the earphone box.

23. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which includes program instructions, which, when executed by a processor, cause the processor to execute: the method as described in any one of claims 11-20, or the instructions of the method executed by the second electronic device as described in any one of claims 1 to 10.

24. A system for wireless reverse charging of electronic devices, characterized in that: The system includes a first electronic device and a second electronic device, wherein the first electronic device is provided with a key, and the first electronic device is used to execute the method as described in any one of claims 11 to 20, and the second electronic device is used to execute the method executed by the second electronic device as described in any one of claims 1 to 10.

25. A computer program product, characterized in that The computer program product comprises: instructions for executing the method according to any one of claims 11 to 20, or instructions for executing the method according to any one of claims 1 to 10 executed by the second electronic device.

26. A chip, characterized in that: Comprising: a processor, configured to call and run a computer program from a memory, so that a communication device equipped with the chip executes: a method as claimed in any one of claims 11 to 20, or a method executed by a second electronic device as claimed in any one of claims 1 to 10.