Wireless charging control method, device, electronic device and storage medium
By determining whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device during the wireless charging stage, the problem of manual operation is solved, and the automatic control of the wireless communication module and power saving is realized.
Patent Information
- Application Number
- CN202210869844.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-07-21
AI Technical Summary
In the prior art, the electronic device and the wireless charging device need to manually operate to enable the wireless communication module, such as the Bluetooth module, during the interaction process.
In the wireless charging stage, by obtaining the first message that complies with the wireless charging protocol, the device identification of the wireless charging device is obtained, and whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device is determined, and the status of the wireless communication module is automatically controlled based on the judgment result.
The automatic control of the wireless communication module is realized, which avoids manual manual operation, reduces power loss and user operation, and improves convenience.
Smart Images

Figure CN115208076B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging technology, and in particular to a wireless charging control method, a wireless charging control device, an electronic device, and a storage medium. Background Art
[0002] Wireless charging is the process by which a wireless charging transmitter supplies energy to a wireless charging receiver through a coil, using the principle of electromagnetic induction. During the charging process, the wireless charging transmitter and wireless charging receiver can achieve some simple communication by adjusting the voltage amplitude.
[0003] Currently, when an electronic device interacts with a wireless charging device, manual operation is required to activate a wireless communication module, such as a Bluetooth module, of the electronic device. Summary of the Invention
[0004] The embodiments of the present application hope to provide a wireless charging control method, a wireless charging control device, an electronic device and a storage medium to solve the problem in the related art that during the interaction between the electronic device and the wireless charging device, the wireless communication module of the electronic device, such as the Bluetooth module, can only be turned on by manual operation.
[0005] The technical solution of this application is achieved as follows:
[0006] A wireless charging control method, applied to an electronic device, comprising:
[0007] When entering the wireless charging phase, obtaining a first message that complies with the wireless charging protocol, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device;
[0008] Based on the device identifier, obtaining a determination result of whether the wireless charging device supports a service of automatically turning on the wireless communication module of the electronic device;
[0009] Based on the determination result, the state of the wireless communication module is controlled.
[0010] A wireless charging control device, comprising:
[0011] Communication transmission, used for obtaining a first message that complies with the wireless charging protocol when entering the wireless charging phase, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device;
[0012] a processing module, configured to obtain, based on the device identifier, a determination result of whether the wireless charging device supports a service of automatically turning on a wireless communication module of an electronic device;
[0013] The processing module is configured to control a state of the wireless communication module based on the determination result.
[0014] An electronic device, comprising: a processor, a memory, and a communication bus;
[0015] The communication bus is used to realize the communication connection between the processor and the memory;
[0016] The processor is used to execute the wireless charging control program stored in the memory to implement the steps of the wireless charging control method as described above.
[0017] A storage medium stores one or more programs, wherein the one or more programs can be executed by one or more processors to implement the steps of the wireless charging control method as described above.
[0018] The present application provides a wireless charging control method, a wireless charging control device, an electronic device and a storage medium, wherein the wireless charging control method includes: when entering the wireless charging stage, obtaining a first message that complies with the wireless charging protocol, wherein the first message that complies with the wireless charging protocol carries a device identification of the wireless charging device; based on the device identification, obtaining a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device; based on the determination result, controlling the state of the wireless communication module; that is, the present application introduces the first message that complies with the wireless charging protocol in the wireless charging stage to determine whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device, and then realizes corresponding automatic control of the state of the wireless communication module according to the determination result, thereby avoiding relying on manual operation to turn on the wireless communication module when the wireless communication module is required in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of a wireless charging control method provided in an embodiment of the present application;
[0020] Figure 2 A flowchart of another wireless charging control method provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of a wireless charging base provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of multiple wireless charging bases provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of an interactive scenario in which multiple mobile phones are placed on multiple wireless charging bases according to an embodiment of the present application;
[0024] Figure 6 A schematic diagram of a scenario in which a mobile phone and a vehicle's wireless charging base interact with each other in an embodiment of the present application;
[0025] Figure 7 A flowchart of another wireless charging control method provided in an embodiment of the present application;
[0026] Figure 8 A schematic structural diagram of a wireless charging control device provided in an embodiment of the present application;
[0027] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0029] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following relevant technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all fall within the protection scope of the embodiments of the present application.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0031] The present application provides a wireless charging control method for electronic devices. Figure 1 As shown, the method includes the following steps:
[0032] Step 101: When entering the wireless charging phase, obtain a first message that complies with the wireless charging protocol.
[0033] The first message complying with the wireless charging protocol carries a device identifier of the wireless charging device.
[0034] Here, the corresponding device identifier can be flexibly selected for different wireless charging stages. For example, the device identifier carried in the first message received by the electronic device can be different in different wireless charging stages; or the device identifier carried in the first message received by the electronic device can be the same in some wireless charging stages, but different in the remaining wireless charging stages, etc.
[0035] In the embodiments of the present application, wireless charging protocols include but are not limited to the Qi standard launched by the Wireless Power Consortium (WPC) and the Power Matters Alliance (PMA) standard. The Qi standard and the PMA standard use the principle of magnetic induction for wireless charging.
[0036] Taking the Qi standard as an example, the Qi standard defines two modes: Baseline Power Profile (BPP) mode and Extended Power Profile (EPP) mode. In BPP mode, the wireless charging process includes the following phases: Selection Phase, Ping Phase, Identification & Configuration Phase, and Power Transfer Phase. During these phases, the wireless charging device and the electronic device will communicate and send or receive messages that comply with the Qi standard.
[0037] Step 102: Based on the device identification, a determination result is obtained as to whether the wireless charging device supports a service for automatically turning on the wireless communication module of the electronic device.
[0038] In an embodiment of the present application, based on the device identification, obtaining a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device can be achieved through the following steps: the electronic device compares the device identification with the standard identification. If the device identification and the standard identification are the same, a determination result is generated that the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device; if the device identification and the standard identification are different, a determination result is generated that the wireless charging device does not support the service of automatically turning on the wireless communication module of the electronic device. The standard identification and the device identification have the same identification attributes. The standard identification can be pre-stored in the electronic device. Of course, the standard identification can also be obtained from other devices before comparison.
[0039] Step 103: Based on the determination result, control the state of the wireless communication module.
[0040] In an embodiment of the present application, controlling the state of the wireless communication module based on the determination result includes: if the determination result indicates that the wireless charging device supports a service for automatically enabling the wireless communication module of the electronic device, at least controlling the wireless communication module to enable the wireless communication function; and if the determination result indicates that the wireless charging device does not support the service for automatically enabling the wireless communication module of the electronic device, at least prohibiting the wireless communication module from enabling the wireless communication function.
[0041] In the embodiment of the present application, the wireless communication module includes but is not limited to a Bluetooth module and a Near Field Communication (NFC) module.
[0042] The wireless charging control method provided in this application can be applied to smart transportation scenarios, such as the interaction between an in-vehicle wireless charging device and an electronic device, and can also be applied to smart home scenarios, such as the interaction between a Bluetooth speaker and a wireless charging device. Of course, it can also be applied to other wireless charging scenarios, which are not specifically limited in this application.
[0043] In an embodiment of the present application, the electronic device may be a terminal device, which may be a mobile terminal such as a mobile phone, a game console, a tablet computer, an e-book reader, a smart wearable device, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart home device, an augmented reality (AR) device, a virtual reality (VR) device, or other mobile terminals. It may also be a rechargeable electronic device with a charging function such as a wireless headset and a Bluetooth speaker. Alternatively, the electronic device may also be a personal computer (PC), such as a laptop computer and a desktop computer.
[0044] A wireless charging control method provided in an embodiment of the present application obtains a first message that complies with the wireless charging protocol when entering the wireless charging stage, wherein the first message that complies with the wireless charging protocol carries a device identification of the wireless charging device; based on the device identification, a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device is obtained; based on the determination result, the state of the wireless communication module is controlled; that is, the present application introduces the first message that complies with the wireless charging protocol in the wireless charging stage to determine whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device, and then implements corresponding automatic control of the state of the wireless communication module according to the determination result, thereby avoiding relying on manual operation to turn on the wireless communication module when the wireless communication module is required in the related technology.
[0045] The present application provides a wireless charging control method for electronic devices. Figure 2 As shown, the method includes the following steps:
[0046] Step 201: When entering the wireless charging phase, obtain a first message that complies with the wireless charging protocol.
[0047] The first message complying with the wireless charging protocol carries a device identifier of the wireless charging device.
[0048] In some embodiments, the wireless charging phase includes a ConfigurationPhase in an extended power configuration mode, and the device identifier includes a manufacturer code of the wireless charging device. Here, the manufacturer code is used to determine whether the wireless charging device and / or the wireless charging base of the wireless charging device supports a service that automatically enables the wireless communication module of the electronic device. The manufacturer code includes, but is not limited to, the manufacturer and / or model of at least one of the wireless charging device and the wireless charging base of the wireless charging device.
[0049] In other embodiments, the wireless charging phase includes a Power Transfer Phase in an extended power configuration mode, and the device identifier includes power parameters of the wireless charging device. The power parameters of the wireless charging device are used to determine whether the wireless charging base of the wireless charging device supports a service that automatically enables the wireless communication module of the electronic device. The power parameters of the wireless charging device include, but are not limited to, the power parameters of the wireless charging base, such as the maximum power of the wireless charging base.
[0050] Step 202: Based on the device identification, a determination result is obtained as to whether the wireless charging device supports a service for automatically turning on the wireless communication module of the electronic device.
[0051] In an embodiment of the present application, if the device identifier is a manufacturer code, the standard identifier includes the manufacturer codes of multiple manufacturers that support the service of automatically turning on the wireless communication module of the electronic device. If the device identifier is the power parameter of the wireless charging device, the standard identifier includes the power parameter of the wireless charging base that supports the service of automatically turning on the wireless communication module of the electronic device. Assuming that the standard identifier includes that the maximum power of the wireless charging base is 35W, when entering the wireless charging stage, the maximum power of the current wireless charging base is obtained. When the electronic device determines that the maximum power of the current wireless charging base is 35W, it determines that the current wireless charging base supports the service of automatically turning on the wireless communication module of the electronic device.
[0052] In the embodiment of the present application, the wireless charging device includes but is not limited to at least one wireless charging base.
[0053] Step 203: If the determination result indicates that the wireless charging device supports the service, at least control the wireless communication module to enable the wireless communication function.
[0054] In other embodiments of the present application, if the judgment result indicates that the wireless charging device supports the service, when the wireless communication module is turned on, the electronic device can also control the wireless receiving module of the electronic device to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device.
[0055] It can be seen that the wireless charging control method provided by the present application does not require the addition of additional devices for electronic devices and / or wireless charging devices. As long as the wireless charging device manufacturer and the electronic device wireless charging device support private protocols, the first message carrying the device identifier that complies with the wireless charging protocol is introduced during the wireless charging stage, and the status of the wireless communication module can be automatically controlled.
[0056] Step 204: If the determination result indicates that the wireless charging device does not support the service, control the wireless receiving module of the electronic device to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, convert the electromagnetic signal into an output voltage and an output current, and charge the electronic device.
[0057] In other embodiments of the present application, when the wireless communication function of the wireless communication module is enabled, the electronic device may further perform the following steps: communicating with the wireless charging device via the wireless communication module, and sending or receiving a second message that complies with the wireless charging protocol. Here, the second message carries service information of the communication service involved in the communication process.
[0058] Based on the above content, it can be seen that the wireless charging control method provided by this application allows electronic devices to automatically turn on the wireless communication module at an appropriate time and communicate wirelessly with the wireless charging device. This not only avoids the loss of power to the mobile phone caused by the wireless communication module being always on, but also eliminates the need to manually turn on the switch of the wireless communication module.
[0059] In other embodiments of the present application, a wireless charging system may include: an electronic device, a wireless charging device, and a power supply. The power supply may be a power adapter, a power bank, or other device. The wireless charging device may include at least one wireless charging base, which receives power from the power supply via an input terminal.
[0060] Example 1, see Figure 3As shown, the first wireless charging device 300 includes a wireless charging base. When entering the wireless charging stage, the electronic device obtains a first message that complies with the wireless charging protocol. The first message that complies with the wireless charging protocol carries the device identifier of this wireless charging base. The device identifier of this wireless charging base can be the manufacturer and / or model of the wireless charging base. The device identifier of this wireless charging base can also be the maximum power of the wireless charging base. In one case, the electronic device determines that the manufacturer and / or model is the manufacturer and / or model included in the standard identifier, then this wireless charging base supports the service of automatically turning on the wireless communication module of the electronic device. In another case, the electronic device determines that the maximum power of this wireless charging base is the maximum power included in the standard identifier, then this wireless charging base supports the service of automatically turning on the wireless communication module of the electronic device. Otherwise, the electronic device determines that this wireless charging base does not support the service of automatically turning on the wireless communication module of the electronic device.
[0061] Example 2: This example is a scenario example of multiple wireless charging bases, see Figure 4 and Figure 5 As shown, the second wireless charging device 400 includes two wireless charging bases, such as a first wireless charging base 401 and a second wireless charging base 402. Figure 5As shown, for example, a first mobile phone 403 is placed on a first wireless charging base 401, and a second mobile phone 404 is placed on a second wireless charging base 402. When the first mobile phone 403 enters the wireless charging phase, it receives a first message that complies with the wireless charging protocol and carries the device identifier of the first wireless charging base 401, such as the manufacturer and / or model. When the second mobile phone 404 enters the wireless charging phase, it receives a first message that complies with the wireless charging protocol and carries the device identifier of the second wireless charging base 402, such as the maximum power. In one scenario, if the first mobile phone 403 determines that the manufacturer and / or model are included in the standard identifier, the first wireless charging base 401 supports the service of automatically activating the wireless communication module of the electronic device. If the second mobile phone 404 determines that the maximum power of this wireless charging base is not included in the standard identifier, the second wireless charging base 402 does not support the service of automatically activating the wireless communication module of the electronic device. In this case, both the first mobile phone 403 and the second mobile phone 404 can be placed on the charging base for charging, but only the first mobile phone 403 has the wireless communication function enabled, for example, communicating with the vehicle's onboard wireless communication function module. In another scenario, if the first mobile phone 403 determines that the manufacturer and / or model are not included in the manufacturer and / or model number of the standard identifier, the first wireless charging base 401 does not support the service of automatically turning on the wireless communication module of the electronic device. If the second mobile phone 404 determines that the maximum power of this wireless charging base is included in the maximum power number of the standard identifier, the second wireless charging base 402 supports the service of automatically turning on the wireless communication module of the electronic device. In this case, both the first mobile phone 403 and the second mobile phone 404 can be placed on the charging base for charging, but only the second mobile phone 404 can enable the wireless communication function, such as communicating with the vehicle-mounted wireless communication module. In yet another scenario, if the first mobile phone 403 determines that the manufacturer and / or model number are included in the standard identifier, the first wireless charging base 401 supports the service of automatically turning on the wireless communication module of the electronic device. If the second mobile phone 404 determines that the maximum power of this wireless charging base is included in the maximum power number of the standard identifier, the second wireless charging base 402 supports the service of automatically turning on the wireless communication module of the electronic device. In this case, the mobile phone that previously established a connection with the vehicle-mounted wireless communication module communicates with the vehicle-mounted wireless communication module. Alternatively, the vehicle-mounted wireless communication function module determines to communicate with one of the multiple mobile phones based on the priority of the device identification.
[0062] It should be noted that in the scenario of multiple wireless charging bases, the number of bases can be flexibly set according to demand, and this application does not make specific restrictions on this.
[0063] It should be noted that, for the description of the same steps and contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0064] In a feasible scenario, taking the electronic device as a mobile phone, the wireless communication module as a Bluetooth module, and the wireless charging device as a vehicle-mounted wireless charging device as an example, referring to Figure 6 As shown, in this scenario, the mobile phone includes a wireless receiving module, a mobile phone processor, and a mobile phone Bluetooth module, and the vehicle-mounted wireless charging device includes a wireless charging base, a vehicle-mounted processor, and a vehicle-mounted Bluetooth module; Here, the wireless charging control method provided by this application is further explained, with reference to Figure 7 As shown, the method includes the following steps:
[0065] Step 601: Place the mobile phone on the wireless charging base of the vehicle-mounted wireless charging device.
[0066] Here, the vehicle-mounted wireless charging device includes but is not limited to at least one wireless charging base.
[0067] Step 602: The mobile phone obtains the manufacturer code of the wireless charging base through the wireless receiving module.
[0068] Exemplarily, the wireless receiving module includes but is not limited to a wireless charging receiving (Receive, RX) chip.
[0069] Here, when the wireless receiving module obtains the manufacturer code, the wireless receiving module sends the manufacturer code to the mobile phone processor through the communication bus interface.
[0070] Step 603: The mobile phone determines, through the mobile phone processor and based on the manufacturer code, whether the vehicle-mounted wireless charging device supports automatically turning on the Bluetooth service of the mobile phone's Bluetooth module, and obtains a determination result.
[0071] Step 604: If the determination result indicates that the vehicle-mounted wireless charging device supports automatically enabling the Bluetooth service of the mobile phone's Bluetooth module, the mobile phone enables the mobile phone's Bluetooth module via a universal asynchronous receiver / transmitter (UART) interface via the mobile phone processor.
[0072] Here, the mobile phone can also control the wireless receiving module through the mobile phone processor to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, convert the electromagnetic signal into output voltage and output current, and charge the electronic device. Exemplary wireless transmitting modules include but are not limited to wireless charging transmitting (TX) chips.
[0073] That is to say, when using a car-mounted wireless charging device, when the mobile phone is placed on the wireless charging base of the car-mounted wireless charging device, as long as the wireless charging base supports automatic Bluetooth function, the mobile phone's Bluetooth module will be automatically turned on, and then the mobile phone will be interconnected with the car's Bluetooth communication module through the mobile phone's Bluetooth module for Bluetooth communication. This not only avoids the loss of mobile phone power caused by the mobile phone's Bluetooth module being turned on all the time, but also eliminates the need to manually turn on the switch of the mobile phone's Bluetooth module, and also reduces the user's operation on the car computer.
[0074] Step 605: If the determination result indicates that the vehicle-mounted wireless charging device does not support automatically turning on the Bluetooth service of the mobile phone's Bluetooth module, the mobile phone controls the wireless receiving module through the mobile phone processor to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, converts the electromagnetic signal into an output voltage and an output current, and charges the electronic device without turning on the mobile phone's Bluetooth module.
[0075] The embodiment of the present application provides a wireless charging control device, which can be applied to Figure 1 、 Figure 2 In a wireless charging control method provided by a corresponding embodiment, referring to Figure 8 As shown, the wireless charging control device 700 includes:
[0076] The communication transmission module 701 is configured to obtain a first message that complies with the wireless charging protocol when entering the wireless charging phase, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device;
[0077] The processing module 702 is configured to obtain a determination result of whether the wireless charging device supports a service of automatically turning on the wireless communication module of the electronic device based on the device identification;
[0078] The processing module 702 is configured to control the state of the wireless communication module based on the determination result.
[0079] In other embodiments of the present application, the processing module 702 is configured to at least control the wireless communication module to enable a wireless communication function if the determination result indicates that the wireless charging device supports the service.
[0080] In other embodiments of the present application, the processing module 702 is used to control the wireless receiving module of the electronic device to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device when the determination result indicates that the wireless charging device supports the service, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device when the wireless communication module is turned on.
[0081] In other embodiments of the present application, the wireless charging stage includes a configuration stage in an extended power configuration mode, and the device identification includes a manufacturer code of the wireless charging device.
[0082] In other embodiments of the present application, the wireless charging stage includes a power transmission stage in an extended power configuration mode, and the device identification includes a power parameter of the wireless charging device.
[0083] In other embodiments of the present application, the processing module 702 is used to control the wireless receiving module of the electronic device to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device if the determination result indicates that the wireless charging device does not support the service, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device.
[0084] In other embodiments of the present application, when the wireless communication function of the wireless communication module is turned on, the communication transmission module 701 is used to communicate with the wireless charging device through the wireless communication module to send or receive a second message that complies with the wireless charging protocol.
[0085] A wireless charging control device provided in an embodiment of the present application obtains a first message that complies with the wireless charging protocol when entering the wireless charging stage, wherein the first message that complies with the wireless charging protocol carries a device identification of the wireless charging device; based on the device identification, a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device is obtained; based on the determination result, the state of the wireless communication module is controlled; that is, the present application introduces the first message that complies with the wireless charging protocol in the wireless charging stage to determine whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device, and then implements corresponding automatic control of the state of the wireless communication module according to the determination result, thereby avoiding reliance on manual operation to turn on the wireless communication module when the wireless communication module is required in the related technology.
[0086] It should be noted that, for the description of the same steps and contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0087] An embodiment of the present application provides an electronic device, which resides in a serving cell and is in a connected state. The electronic device can be applied to Figure 1 、 Figure 2 In a wireless charging control method provided by a corresponding embodiment, referring to Figure 9 As shown, the electronic device 800 ( Figure 9 The electronic device 800 and Figure 8 The wireless charging control device 700 includes a processor 801, a memory 802, and a communication bus 803, wherein:
[0088] The communication bus 803 is used to realize the communication connection between the processor 801 and the memory 802;
[0089] The processor 801 is configured to execute the wireless charging control program stored in the memory 802 to implement the following steps:
[0090] When entering the wireless charging phase, obtaining a first message that complies with the wireless charging protocol, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device;
[0091] Based on the device identification, obtaining a determination result of whether the wireless charging device supports a service of automatically turning on the wireless communication module of the electronic device;
[0092] Based on the determination result, the state of the wireless communication module is controlled.
[0093] In other embodiments of the present application, the processor 801 is used to execute the wireless charging control program stored in the memory 802 to implement the following steps: if the determination result indicates that the wireless charging device supports the service, at least control the wireless communication module to enable the wireless communication function.
[0094] In other embodiments of the present application, the processor 801 is used to execute the wireless charging control program stored in the memory 802 to implement the following steps: if the judgment result indicates that the wireless charging device supports the service, when the wireless communication module is turned on, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device.
[0095] In other embodiments of the present application, the wireless charging stage includes a configuration stage in an extended power configuration mode, and the device identification includes a manufacturer code of the wireless charging device.
[0096] In other embodiments of the present application, the wireless charging stage includes a power transmission stage in an extended power configuration mode, and the device identification includes a power parameter of the wireless charging device.
[0097] In other embodiments of the present application, the processor 801 is used to execute the wireless charging control program stored in the memory 802 to implement the following steps: if the judgment result indicates that the wireless charging device does not support the service, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device.
[0098] In other embodiments of the present application, when the wireless communication function of the wireless communication module is turned on, the processor 801 is used to execute the wireless charging control program stored in the memory 802 to implement the following steps: communicate with the wireless charging device through the wireless communication module, and send or receive a second message that complies with the wireless charging protocol.
[0099] An electronic device provided in an embodiment of the present application obtains a first message that complies with the wireless charging protocol when entering the wireless charging stage, wherein the first message that complies with the wireless charging protocol carries a device identification of the wireless charging device; based on the device identification, a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device is obtained; based on the determination result, the state of the wireless communication module is controlled; that is, the present application introduces the first message that complies with the wireless charging protocol in the wireless charging stage to determine whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device, and then implements corresponding automatic control of the state of the wireless communication module according to the determination result, thereby avoiding reliance on manual operation to turn on the wireless communication module when the wireless communication module is required in the related technology.
[0100] It should be noted that, for the description of the same steps and contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0101] An embodiment of the present application provides a computer storage medium storing one or more programs. The one or more programs can be executed by one or more processors to implement the following steps:
[0102] When entering the wireless charging phase, obtaining a first message that complies with the wireless charging protocol, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device;
[0103] Based on the device identification, obtaining a determination result of whether the wireless charging device supports a service of automatically turning on the wireless communication module of the electronic device;
[0104] Based on the determination result, the state of the wireless communication module is controlled.
[0105] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented: if the determination result indicates that the wireless charging device supports the service, at least the wireless communication module is controlled to enable the wireless communication function.
[0106] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented: if the determination result indicates that the wireless charging device supports the service, when the wireless communication module is turned on, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and convert the electromagnetic signal into an output voltage and an output current to charge the electronic device.
[0107] In other embodiments of the present application, the wireless charging stage includes a configuration stage in an extended power configuration mode, and the device identification includes a manufacturer code of the wireless charging device.
[0108] In other embodiments of the present application, the wireless charging stage includes a power transmission stage in an extended power configuration mode, and the device identification includes a power parameter of the wireless charging device.
[0109] In other embodiments of the present application, the one or more programs can be executed by one or more processors, and the following steps can also be implemented: if the judgment result indicates that the wireless charging device does not support the service, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and the electromagnetic signal is converted into an output voltage and an output current to charge the electronic device.
[0110] In other embodiments of the present application, when the wireless communication function of the wireless communication module is turned on, the one or more programs can be executed by one or more processors, and the following steps can also be implemented: communicate with the wireless charging device through the wireless communication module to send or receive a second message that complies with the wireless charging protocol.
[0111] A storage medium provided in an embodiment of the present application obtains a first message that complies with the wireless charging protocol when entering the wireless charging stage, wherein the first message that complies with the wireless charging protocol carries a device identification of the wireless charging device; based on the device identification, a determination result of whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device is obtained; based on the determination result, the state of the wireless communication module is controlled; that is, the present application introduces the first message that complies with the wireless charging protocol in the wireless charging stage to determine whether the wireless charging device supports the service of automatically turning on the wireless communication module of the electronic device, and then implements corresponding automatic control of the state of the wireless communication module according to the determination result, thereby avoiding reliance on manual operation to turn on the wireless communication module when the wireless communication module is required in the related technology.
[0112] It should be noted that, for the description of the same steps and contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0113] It should be noted that the above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0114] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0115] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0116] In addition, the functional units in the embodiments of the present application can all be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. It can be understood by ordinary technicians in this field that all or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the above-mentioned storage medium includes: mobile storage devices, read-only memory (ROM), random access memory (RAM), disks or optical disks, etc. Various media that can store program codes.
[0117] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0118] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0119] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0120] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art 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 wireless charging control method, characterized in that: Applied to electronic equipment, the method includes: When entering the wireless charging phase, obtaining a first message that complies with the wireless charging protocol, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device; Based on a comparison result between the device identifier and the standard identifier, a determination result is obtained as to whether the wireless charging device supports a service of automatically enabling a wireless communication module of the electronic device; wherein the wireless communication module is different from a communication module of the electronic device that obtains the first message that complies with the wireless charging protocol; and wherein the standard identifier and the device identifier have the same identification attribute; Based on the determination result, controlling the state of the wireless communication module; The controlling the state of the wireless communication module based on the determination result includes: If the determination result indicates that the wireless charging device supports the service, the wireless communication function of the electronic device is enabled by controlling the wireless communication module at least through a universal asynchronous receiver / transmitter.
2. The method according to claim 1, characterized in that If the determination result indicates that the wireless charging device supports the service, when the wireless communication module is turned on, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and the electromagnetic signal is converted into an output voltage and an output current to charge the electronic device.
3. The method according to claim 1, characterized in that The wireless charging stage includes a configuration stage in an extended power configuration mode, and the device identifier includes a manufacturer code of the wireless charging device.
4. The method according to claim 1, wherein The wireless charging stage includes a power transmission stage in an extended power configuration mode, and the device identifier includes a power parameter of the wireless charging device.
5. The method according to any one of claims 1, 3 and 4, characterized in that: If the determination result indicates that the wireless charging device does not support the service, the wireless receiving module of the electronic device is controlled to receive the electromagnetic signal transmitted by the wireless transmitting module of the wireless charging device, and the electromagnetic signal is converted into an output voltage and an output current to charge the electronic device.
6. The method according to any one of claims 1 to 4, characterized in that When the wireless communication function of the wireless communication module is turned on, the method further includes: Communicate with the wireless charging device through the wireless communication module to send or receive a second message that complies with the wireless charging protocol.
7. A wireless charging control device, characterized in that: The wireless charging control device includes: Communication transmission, used for obtaining a first message that complies with the wireless charging protocol when entering the wireless charging phase, wherein the first message that complies with the wireless charging protocol carries a device identifier of the wireless charging device; a processing module, configured to determine, based on a comparison result between the device identifier and the standard identifier, whether the wireless charging device supports a service for automatically enabling a wireless communication module of the electronic device; wherein the wireless communication module is different from a communication module of the electronic device that obtains the first message that complies with the wireless charging protocol; and wherein the standard identifier and the device identifier have the same identification attribute; The processing module is configured to control the state of the wireless communication module based on the determination result; The processing module is configured to control the wireless communication module to enable the wireless communication function of the electronic device at least through a universal asynchronous receiver / transmitter if the determination result indicates that the wireless charging device supports the service.
8. An electronic device, characterized in that: The electronic device includes: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is configured to execute a wireless charging control program stored in a memory to implement the steps of the wireless charging control method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the wireless charging control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Wireless charging method and device, terminal storage medium and electronic device
CN109904884A
Wireless charging communication method, device and equipment and storage medium
CN112020044A
Powering up a wireless power receiving device
US20170090537A1