Wireless charging method and apparatus, electronic device and storage medium
The method and apparatus provide identity verification in wireless charging by encrypting verification data and switching boost circuits, enabling safe and efficient power adjustment for compatible devices.
Patent Information
- Application Number
- JP2024232185
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-09
- Filing Date
- 2024-12-27
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-12-27
AI Technical Summary
Existing wireless charging technologies lack identity verification between power supplying devices and devices being charged, leading to the need for low-power charging to prevent damage, limiting the charging power that can be delivered.
Implementing a method and apparatus that perform identity verification through encryption of verification data exchanged between devices, allowing the power supply device to switch between boost circuits to adjust charging power based on the verified identity of the device being charged.
Enables flexible adjustment of charging power based on the device's capabilities, ensuring safe and efficient wireless charging by confirming compatibility before transitioning to higher power modes.
Smart Images

Figure 2026031338000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to the field of charging technology, and in particular to wireless charging methods, apparatus, electronic devices and storage media. [Background technology]
[0002] With the development of wireless charging technology, devices that support wireless charging can also output energy to the outside as a power source, thereby enabling reverse wireless charging of other devices that also support wireless charging.
[0003] However, in this process, the identity of the power supplying device and the device being charged cannot be verified. Therefore, to avoid damaging the device being charged due to high-power charging, the power supplying device can only wirelessly charge other devices being charged in a single low-power mode. Summary of the Invention [Problem to be solved by the invention]
[0004] To overcome the problems existing in the related art, the present disclosure provides a wireless charging method, apparatus, electronic device, and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a wireless charging method, which is applied to a power supply device, the power supply device including a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, the battery being connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively, the method including the steps of: enabling the first boost circuit to cause the battery to supply power to the wireless power supply chip based on the first boost circuit; when it is detected that the device to be charged has been accessed, establishing a communication connection with the device to be charged based on the wireless power supply chip; and receiving verification data transmitted from the device to be charged. if a verification success message is received from the device to be charged, the method includes: performing an encryption process on the verification data based on a preset encryption algorithm to generate an encryption result; returning the encryption result to the device to be charged so that the device to be charged can verify the encryption result; disabling the first boost circuit if a verification success message sent from the device to be charged is received; enabling the second boost circuit so that the battery supplies power to the wireless charging chip based on the second boost circuit; and charging the device to be charged with a voltage supplied by the second boost circuit based on the wireless charging chip.
[0006] In some embodiments, the communication connection between the power supply device and the device to be charged is disconnected when the first boost circuit is disabled, and after enabling the second boost circuit, the method includes the steps of again establishing a communication connection with the device to be charged based on the wirelessly powered chip, and again receiving verification data sent from the device to be charged and returning a corresponding encryption result to the device to be charged, and the step of charging the device to be charged with the voltage supplied by the second boost circuit based on the wirelessly powered chip includes, when a verification success message sent from the device to be charged is again received, charging the device to be charged with the voltage supplied by the second boost circuit based on the wirelessly powered chip.
[0007] In some embodiments, the step of performing an encryption process on the verification data based on the preset encryption algorithm to generate an encryption result includes the step of performing an encryption process on the verification data based on the preset encryption algorithm to generate an encryption result when the electrical quantity of the power supply device is greater than a first preset value.
[0008] According to a second aspect of an embodiment of the present disclosure, there is provided a wireless charging method, which is applied to a device to be charged, the device to be charged including a wireless charging chip, the method including: when a power supply device is detected, establishing a communication connection with the power supply device based on the wireless charging chip; when the device to be charged supports a target charging power, sending verification data to the power supply device; receiving an encryption result for the verification data returned from the power supply device and verifying the encryption result; when the encryption result passes verification, sending a verification success message to the power supply device; and receiving electrical energy transmitted by the power supply device at the target charging power, so as to cause the device to be charged to enter a charging state.
[0009] In some embodiments, the method further includes powering the wireless charging chip based on electrical energy transmitted by the power supply device through a coil before the encryption result passes verification or after the device to be charged enters a charging state.
[0010] In some embodiments, the method further includes: after the encryption result passes verification, disconnecting the communication connection between the power supply device and the device to be charged; and powering the wireless charging chip based on a battery of the device to be charged, so that the communication connection between the device to be charged and the power supply device is maintained.
[0011] In some embodiments, the method includes: after the encryption result passes verification, disconnecting a communication connection between the power supply device and the device to be charged; again establishing a communication connection with the power supply device based on the wireless charging chip; again sending verification data to the power supply device and verifying the encryption result returned from the power supply device; and again sending a verification success message to the power supply device if the encryption result passes verification.
[0012] In some embodiments, the method further comprises the step of: if the communication connection is lost, a charging status indicator displayed on a screen of the device to be charged remains unchanged.
[0013] In some embodiments, transmitting verification data to the power supply device includes transmitting verification data to the power supply device if the amount of electricity in the device to be charged is less than a second preset value.
[0014] According to a third aspect of an embodiment of the present disclosure, there is provided a wireless charging apparatus, which is applied to a power supply device, the power supply device including: a battery; a wireless power supply chip; a first boost circuit; and a second boost circuit, the battery being connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively; the apparatus including: a first enable module for enabling the first boost circuit to cause the battery to supply power to the wireless power supply chip based on the first boost circuit; a detection module for establishing a communication connection with the device to be charged based on the wireless power supply chip when it is detected that the device to be charged has been accessed; and a detection module for detecting a predetermined access point when verification data transmitted from the device to be charged is received. The charging device includes: an encryption module for performing an encryption process on the verification data based on an encryption algorithm to generate an encryption result; a return module for returning the encryption result to the device to be charged so that the device to be charged can verify the encryption result; a receiving module for disabling the first boost circuit when a verification success message sent from the device to be charged is received; a second enable module for enabling the second boost circuit so that the battery powers the wireless charging chip based on the second boost circuit; and a charging module for charging the device to be charged with a voltage supplied by the second boost circuit based on the wireless charging chip.
[0015] According to a fourth aspect of an embodiment of the present disclosure, a wireless charging apparatus is provided, which is applied to a device to be charged, the device to be charged includes a wireless charging chip, and the apparatus includes: a detection module for establishing a communication connection with the power supplying device based on the wireless charging chip when a power supplying device is detected; a first transmission module for transmitting verification data to the power supplying device when the device to be charged supports a target charging power; a receiving module for receiving an encryption result for the verification data returned from the power supplying device and verifying the encryption result; a second transmission module for transmitting a verification success message to the power supplying device when the encryption result passes verification; and a charging module for receiving electrical energy transmitted by the power supplying device at the target charging power so that the device to be charged enters a charging state.
[0016] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to perform the method of the first aspect or the method of the second aspect by executing the executable instructions.
[0017] According to a sixth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, the computer program being adapted to implement the method according to the first aspect or the method according to the second aspect when executed by a processor.
[0018] According to a technical solution provided by an embodiment of the present disclosure, a power supply device includes a battery, a wirelessly powered chip, a first boost circuit, and a second boost circuit. The battery supplies power to the wirelessly powered chip via the first boost circuit or the second boost circuit, thereby allowing the wirelessly powered chip to output different wireless charging powers. Specifically, the power supply device can first supply power to the wirelessly powered chip via the first boost circuit. When it detects that the device to be charged has been accessed, the power supply device can establish a communication connection with the device to be charged based on the wirelessly powered chip. When verification data sent from the device to be charged is received, the power supply device can encrypt the verification data based on a preset encryption algorithm to generate an encryption result, and then return the encryption result to the device to be charged, allowing the device to verify the encryption result. When the power supply device receives the verification success message sent from the device to be charged, it switches the power supply circuit for supplying power to the wirelessly powered chip to the second boost circuit, and then charges the device to be charged with the voltage provided by the second boost circuit based on the wirelessly powered chip. Therefore, according to the technical solution provided by the embodiments of the present disclosure, identity verification is performed between the power supply device and the device to be charged using verification data, and the voltage input to the wirelessly powered chip can be switched after the verification is passed, so that the power supply device can flexibly adjust the power supply voltage according to different devices to be charged and realize wireless charging of different powers. [Brief explanation of the drawings]
[0019] [Figure 1] 1 shows a schematic diagram of a system architecture in one embodiment of the present disclosure. [Figure 2] 1 shows a schematic flowchart of a wireless charging method according to an embodiment of the present disclosure. [Figure 3] FIG. 10 shows a schematic configuration diagram of a data packet including verification data in an embodiment of the present disclosure. [Figure 4]1 illustrates a schematic diagram of an interaction between a power supply device and a device to be charged in one embodiment of the present disclosure. [Figure 5] 1 shows a schematic flowchart of another wireless charging method according to an embodiment of the present disclosure. [Figure 6] 1 shows a schematic configuration diagram of a wireless charging device according to an embodiment of the present disclosure. [Figure 7] FIG. 10 shows a schematic configuration diagram of another wireless charging device according to an embodiment of the present disclosure. [Figure 8] 1 shows a schematic configuration diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0020] Illustrative embodiments will now be described in detail, examples of which are illustrated in the drawings. Where the following description refers to the drawings, like numerals in different drawings represent the same or similar elements unless otherwise stated. The embodiments described in the following illustrative examples do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0021] An embodiment of the present disclosure provides a wireless charging method for a wireless reverse charging scenario, in which identity verification is performed by transmitting verification data between a power supply device and a device to be charged, and the voltage input to the wireless charging chip can be switched after the verification is passed, so that the power supply device can flexibly adjust the power supply voltage according to different devices to be charged, thereby realizing wireless charging with different powers.
[0022] In the embodiments of the present disclosure, both the power supply device and the device to be charged may be any electronic device with wireless charging capabilities, such as a smartphone or tablet, and the above examples should not be understood as limitations of the present disclosure.
[0023] Illustratively, FIG. 1 shows a schematic diagram of an exemplary system architecture of a wireless charging method applicable to embodiments of the present disclosure.
[0024] 1, the system architecture 100 includes a power supply device 110 and a device to be charged 120. The power supply device 110 includes a power supply battery, a first boost circuit, a second boost circuit, and a wireless charging chip, and the device to be charged 120 includes a battery to be charged, a first step-down circuit, a second step-down circuit, and a wireless charging chip.
[0025] For example, the power supply battery is connected to the wireless power supply chip via a first boost circuit and a second boost circuit, respectively, and the wireless charging chip is connected to the battery to be charged via a first step-down circuit and a second step-down circuit, respectively.
[0026] In a wireless reverse charging scenario, the power supply device 110 and the device to be charged 120 are both electronic devices with wireless charging capabilities, and their charging architectures are similar. That is, the first boost circuit and the first step-down circuit may be substantially the same type of circuit, and the boost or step-down capability can be realized based on the different current input directions in the circuits. For example, when used for the power supply device 110, this circuit can receive the voltage output from the power supply battery, boost it, and then input it into the wireless charging chip to improve the charging power. On the other hand, when used for the device to be charged 120, this circuit can receive the voltage input from the wireless charging chip, reduce the voltage to the voltage required for the battery to be charged, and then input it into the battery to be charged.
[0027] Similarly, the second boost circuit and the second step-down circuit may be the same type of circuit, and similarly, the step-up or step-down capability can be realized based on the difference in the current input direction in this circuit, and the embodiments of the present disclosure are not limited thereto.
[0028] According to the same principle, the wireless power transfer chip and the wireless charging chip may be the same type of chip, which may be a wireless power transfer chip in the power transfer device 110 to output energy to the outside, or a wireless charging chip in the device to be charged 120 to receive energy input from the outside and convert it into current.
[0029] Illustratively, the first boost circuit and the first step-down circuit may be power management integrated circuits (PMICs), and the second boost circuit and the second step-down circuit may be charge pump chips.
[0030] The present embodiment will be described in detail below in combination with the drawings and examples.
[0031] First, an embodiment of the present disclosure provides a wireless charging method, which can be performed by any device that supports wireless charging function. Illustratively, the device can be a power supply device in a wireless reverse charging scenario when performing the method provided by the embodiment of the present disclosure.
[0032] FIG. 2 shows a schematic flowchart of a wireless charging method in an embodiment of the present disclosure. As shown in FIG. 2, the wireless charging method provided by the embodiment of the present disclosure includes the following steps S201 to S206.
[0033] In S201, a first boost circuit is enabled so that the battery powers the wireless charging chip according to the first boost circuit.
[0034] Illustratively, the power supply device enables the first boost circuit and disables the second boost circuit, thereby allowing the voltage output from the battery in the power supply device to be boosted by the first boost circuit and used to supply power to the wirelessly powered chip.
[0035] In some embodiments, the voltage output by the battery through the first boost circuit may be lower than the voltage output by the second boost circuit, i.e., when the wireless charging process is initiated, the battery supplies power to the wireless charging chip with a relatively low voltage, thereby causing the wireless charging chip to output a relatively low amount of energy via the coil to the outside, and avoiding damage to the device being charged that is incompatible with high-power wireless charging.
[0036] In S202, if it is detected that the device to be charged has been accessed, a communication connection is established with the device to be charged based on the wireless charging chip.
[0037] In some embodiments, the communication connection between the power supply device and the device to be charged may be established based on a wireless charging protocol such as Baseline Power Profile (BPP) or Extended Power Profile (EPP).
[0038] For example, when the wirelessly powered chip is powered on, it can transmit a signal with a fixed frequency to the outside to detect whether the device to be charged is being accessed. When it detects that the device to be charged is being accessed, the wirelessly powered chip can transmit a signal with sufficient energy to the outside to enable the communication function of the wireless charging chip in the device to be charged, thereby establishing a communication connection between the power supply device and the device to be charged.
[0039] In some embodiments, after a communication connection between the power sourcing device and the device to be charged is established, the device to be charged transmits charging parameters, such as a required charging power, to the power sourcing device, so that the power sourcing device outputs the corresponding charging power via a wireless charging chip. Because the communication connection between the power sourcing device and the device to be charged can be established based on a wireless charging protocol such as BPP or EPP, the required charging power is not greater than the upper limit of the charging power specified by the protocol. That is, the power sourcing device can then charge the device to be charged based on the relatively small charging power specified by the protocol.
[0040] In S203, when the verification data transmitted from the device to be charged is received, the verification data is encrypted based on a preset encryption algorithm to generate an encryption result.
[0041] In some embodiments, the verification data may be any random number generated by the device to be charged. The power supplying device may perform an encryption process on the random number using a preset encryption algorithm (in the power supplying device) to generate an encryption result. The encryption algorithm may be a symmetric encryption algorithm or an asymmetric encryption algorithm, and the embodiments of the present disclosure are not limited thereto.
[0042] In some embodiments, the device to be charged can transmit verification data to the power supply device using Amplitude Shift Keying (ASK) modulation. Specifically, the device to be charged can change the magnitude of the transferred energy by changing the resonator parameters of the wireless charging chip (by switching on / off the communication capacitor), which generates a regular fluctuation in the voltage or current of the power supply device, which can be used to transmit the verification data.
[0043] FIG. 3 shows a schematic diagram of a data packet containing verification data. As shown in FIG. 3, this data packet includes a preamble, a packet header, a data frame, and a verification frame. The preamble is a set of pulses that are all 1s and allows the power-supplying device to accurately detect the start bit of the packet header. The packet header includes one byte, is composed of a combination of 0s and 1s, and is used to inform the power-supplying device of the type of data packet. The data frame can include 1 to 27 bytes, is composed of a combination of 0s and 1s, and is used to store verification data. The verification frame includes one byte and is provided to the power-supplying device and is used by the power-supplying device to determine whether the received verification data is correct.
[0044] In some embodiments, the verification data can be transmitted by the device to be charged to the power supplying device when the amount of electricity in the device to be charged is less than a second preset value. If the verification data passes verification, both the power supplying device and the device to be charged enter a high-power charging mode. In a wireless reverse charging scenario, high-power charging rapidly reduces the amount of electricity in the power supplying device itself. Therefore, the timing of transmitting the verification data can be limited, thereby controlling the start timing of the high-power charging mode to avoid the power supplying device from consuming electricity more rapidly than necessary.
[0045] In some embodiments, when the amount of electricity of the power supply device is greater than a first preset value, the power supply device may perform an encryption process on the verification data based on a preset encryption algorithm to obtain an encryption result, that is, when the remaining amount of electricity of the power supply device is large, the power supply device may recalculate the encryption result to complete the verification with the device to be charged, and ensure that the power supply device does not consume its amount of electricity rapidly through wireless reverse charging.
[0046] In S204, the encryption result is returned to the device to be charged, so that the device to be charged can verify the encryption result.
[0047] In some embodiments, the power supply device may transmit the encryption result to the device to be charged using a frequency shift keying (FSK) modulation scheme. Specifically, the power supply device may change the fluctuation of the energy received by the device to be charged by reciprocatingly increasing / decreasing the driving frequency of the wirelessly powered chip. When this fluctuation fluctuates according to a specific rule, it can be used to transmit the encryption result.
[0048] Illustratively, the structure of the data packet including the encryption result is similar to the structure of the data packet shown in Fig. 3, except that a data frame is used to store the encryption result. Therefore, the structure of the data packet including the encryption result can refer to the structure of the data packet shown in Fig. 3, and the embodiments of the present disclosure are not limited thereto.
[0049] In S205, if a verification success message sent from the device to be charged is received, the first boost circuit is disabled.
[0050] In some embodiments, after receiving the encryption result returned from the power supply device, the device to be charged can verify the encryption result and send a verification success message / verification failure message to the power supply device to inform the power supply device of the verification result.
[0051] For example, the verification method of the encryption result by the device to be charged is to perform a decryption process on the encryption result using a pre-set decryption algorithm in the device to be charged, and if the result obtained by decryption matches the test data sent to the power supply device, the verification is successful; if not, the verification fails.
[0052] For example, the verification method of the encryption result by the device to be charged encrypts the verification data sent to the power supply device using a preset encryption algorithm in the device to be charged, and if the obtained encryption result matches the encryption result returned from the power supply device, the verification is successful; otherwise, the verification fails.
[0053] In some embodiments, when the power supply device receives a verification success message from the device to be charged, it can determine that both the power supply device and the device to be charged support high-power charging of the target charging power. Because the boost ratio of the second boost circuit is greater than that of the first boost circuit, when the second boost circuit powers the wireless charging chip, the power supply device can output the target charging power.
[0054] Therefore, when the power supply device receives a verification success message sent from the device to be charged, it needs to switch the circuit that supplies power to the wireless charging chip to the second boost circuit. To avoid the two boost circuits being enabled simultaneously and causing the output power to be too high, which could damage the device, it is necessary to disable the first boost circuit before enabling the second boost circuit.
[0055] In S206, the second boost circuit is enabled so that the battery powers the wireless charging chip based on the second boost circuit.
[0056] In some embodiments, when the first boost circuit is disabled, the power supply device enables the second boost circuit, thereby allowing the voltage output from the battery in the power supply device to be boosted by the second boost circuit and used to power the wirelessly powered chip.
[0057] For example, the voltage output by the battery via the second boost circuit may be higher than the voltage output via the first boost circuit, and the power supply circuit for supplying power to the wirelessly powered chip may be switched to the second boost circuit, thereby increasing the energy output by the wirelessly powered chip via the coil and thereby improving wireless charging power.
[0058] In S207, the target device is charged with the voltage supplied by the second boost circuit based on the wireless charging chip.
[0059] Here, since the device to be charged and the power supply device have confirmed that they can support each other's high-power wireless charging modes, the power supply device can perform high-power wireless reverse charging of the device to be charged based on the wireless power supply chip with the voltage supplied by the second boost circuit.
[0060] According to the solution provided by the embodiments of the present disclosure, identity verification is performed between the power supply device and the device to be charged using verification data, and the voltage input to the wireless power supply chip can be switched after the verification is passed, so that the power supply device can flexibly adjust the power supply voltage according to different devices to be charged, and realize wireless charging with different powers.
[0061] Above, the overall concept of the wireless charging method provided by the embodiment of the present disclosure has been described in conjunction with FIGS.
[0062] In addition, when the power supply device switches the power supply circuit of the wirelessly powered chip, it must first disable the first boost circuit and then enable the second boost circuit.
[0063] When the wireless charging chip is powered, the wireless charging chip is powered by the energy transmitted by the wireless charging chip through the coil. Therefore, after the first boost circuit is disabled and before the second boost circuit is enabled, the wireless charging chip in the charging device is temporarily powered off and cannot transmit energy to the outside through the coil. At this time, the wireless charging chip in the device to be charged is also powered off, and the communication connection between the charging device and the device to be charged is cut off.
[0064] In some embodiments, to avoid the need for the wireless power transfer chip and the wireless charging chip to re-establish a communication connection after power supply is restored, while the power transfer device switches the power transfer circuit of the wirelessly power transfer chip, the wireless charging chip of the device to be charged can be powered through its own battery to maintain the communication connection between the device to be charged and the power transfer device, so that the device to be charged can directly receive wireless charging energy of the target charging power emitted by the wirelessly power transfer chip of the power transfer device at the voltage supplied by the second boost circuit after the power transfer device switches the power transfer circuit.
[0065] In some embodiments, the wireless power transfer chip and the wireless charging chip can re-establish a communication connection after power is restored, and then perform high-power wireless charging. Specifically, after the power transfer device switches the power transfer circuit for powering the wireless power transfer chip to the second boost circuit, the power transfer chip can again establish a communication connection with the device to be charged based on the wireless power transfer chip. Then, the power transfer chip receives verification data from the device to be charged again and returns the corresponding encryption result to the device to be charged. If a successful verification message is received again from the device to be charged, the device to be charged is charged with the voltage provided by the second boost circuit based on the wireless power transfer chip (in this case, the switching of the power transfer circuit is not involved, and therefore no power cut occurs). In this embodiment, the power cut of the wireless charging chip is reflected in the charging status displayed on the screen of the device to be charged, i.e., the screen temporarily displays that the device to be charged has finished charging. In order to avoid causing inconvenience to the user (e.g., the user mistaking it for a poor connection), when the communication connection is cut off (during switching of the power supply circuit), the charging status indicator displayed on the screen of the device to be charged can be kept constant, i.e., it can always show that the device to be charged is in a charging state.
[0066] 4 illustrates a schematic diagram of an interaction between a power supply device and a device to be charged according to an embodiment of the present disclosure. As shown in FIG. 4, the power supply device may first use a first boost circuit to supply power to its own wireless power supply chip. When it detects that the device to be charged has been accessed, the power supply device may establish a communication connection with the device to be charged.
[0067] Thereafter, the charge target device can transmit verification data to the power supply device, and after the power supply device receives the verification data, the power supply device can perform an encryption process on the verification data using an encryption algorithm pre-stored in the power supply device to obtain an encryption result.
[0068] The power supplying device can then return the encryption result to the device to be charged. After receiving the encryption result returned from the power supplying device, the device to be charged can verify the encryption result.
[0069] For example, if the verification is successful, the device to be charged can use its battery to power its wireless charging chip to maintain communication. After successfully verifying the encryption result, the device to be charged can also send a verification success message to the power supply device. When the power supply device receives the verification success message, it disables the first boost circuit after a short delay (to ensure that the wireless charging chip switches to battery power) and then enables the second boost circuit, thereby allowing the voltage provided by the second boost circuit to provide high-power charging to the device to be charged.
[0070] For example, if the verification is successful, the device to be charged does not need to maintain its communication state using the battery. That is, after the power supply device receives the verification success message and switches to powering its own wireless power supply chip using the second boost circuit, the communication connection between the power supply device and the device to be charged can be re-established and verified in the above manner. If the power supply device receives the verification success message again, there is no need to switch the power supply circuit, so in this case, the device to be charged can be directly charged with high power using the voltage supplied by the second boost circuit.
[0071] Based on the same inventive concept, an embodiment of the present disclosure provides another wireless charging method, which can be performed by any device that supports wireless charging function. Illustratively, the device can be a charging target device in a wireless reverse charging scenario when performing the method provided by the embodiment of the present disclosure.
[0072] FIG. 5 shows a schematic flowchart of a wireless charging method in an embodiment of the present disclosure. As shown in FIG. 5, the wireless charging method provided by the embodiment of the present disclosure includes the following steps S501 to S505.
[0073] In S501, if a power supply device is detected, a communication connection is established with the power supply device based on the wireless charging chip.
[0074] The power supply device includes a battery, a wirelessly powered chip, a first boost circuit, and a second boost circuit, and the battery is connected to the wirelessly powered chip via the first boost circuit and the second boost circuit, respectively.
[0075] For example, the charging power provided by the second boost circuit is greater than the charging power provided by the first boost circuit, so that the wireless charging chip initially uses the first boost circuit to establish a communication connection with the device to be charged, in order to avoid damaging devices that do not support high-power charging.
[0076] In S502, if the device to be charged supports the target charging power, it sends verification data to the power supply device.
[0077] For example, the target charging power may be a charging power supplied to the power sourcing device by the second boost circuit. If the device to be charged supports the target charging power, verification data may be actively transmitted to the power sourcing device to enable the power sourcing device to sense the charging power that the device to be charged can support.
[0078] In S503, the encryption result for the verification data returned from the power supply device is received and the encryption result is verified.
[0079] If the power supplying device supports the output of the target charging power, the power supplying device encrypts the verification data based on a preset encryption algorithm and returns the generated encryption result to the device to be charged.
[0080] In S504, if the encryption result passes the verification, a verification success message is sent to the power supply device.
[0081] In some embodiments, after the device to be charged sends a verification success message to the power supply device, it means that the device to be charged and the power supply device have completed the handshake, and the power supply device charges the device to be charged with the target charging power output from the second boost circuit.
[0082] In S505, the electric energy transmitted by the power supply device at the target charging power is received, so that the device to be charged enters a charging state.
[0083] In some embodiments, after receiving the verification success message, the power supply device needs to switch the circuit for powering the wirelessly powered chip from the first boost circuit to the second boost circuit to output electrical energy of the target charging power, at which time the power supply device needs to first disable the first boost circuit and then enable the second boost circuit, which process will result in the wirelessly powered chip in the power supply device being temporarily powered off.
[0084] For example, before the encryption result passes verification or after the device to be charged enters a charging state, the device to be charged supplies power to the wireless charging chip based on the electrical energy transmitted by the power supply device through the coil. After the encryption result passes verification, the wireless charging chip is powered off, preventing the power supply device from transmitting electrical energy through the coil, which causes the wireless charging chip to be powered off, and ultimately disconnects the communication between the power supply device and the device to be charged.
[0085] In view of this, after the encryption result passes verification, the device to be charged powers the wireless charging chip based on the battery of the device to be charged to maintain a communication connection between the device to be charged and the power supply device. Accordingly, when the power supply device receives the verification success message, it disables the first boost circuit after a short delay, thereby ensuring that the device to be charged can power the wireless charging chip using its own battery before the first boost circuit is disabled (i.e., before the wireless charging chip is powered off).
[0086] In some embodiments, after the communication connection between the power sourcing device and the device to be charged is terminated, the communication connection can be re-established. For example, the device to be charged can again establish a communication connection with the power sourcing device based on the wireless charging chip. Then, the device to be charged again transmits verification data to the power sourcing device and verifies the encryption result returned from the power sourcing device. If the encryption result passes verification, the device again transmits a verification success message to the power sourcing device, requesting the wireless charging chip to transmit energy through the coil at the voltage provided by the second boost circuit.
[0087] When the communication connection is re-established, the supplying device is not involved in switching the power supply circuit, so the communication connection is not disconnected. The power supplying device can directly output energy of the target charging power through the second boost circuit to charge the device to be charged.
[0088] In some embodiments, if the communication connection is lost, the charging status indicator displayed on the screen of the device being charged does not change.
[0089] In some embodiments, S502 may include sending verification data to the power supply device if the amount of electricity in the device to be charged is less than a second preset value.
[0090] The principle by which this embodiment of the wireless charging method solves the problem is similar to that of the embodiment of the method shown in Figure 2 above, so the implementation of this embodiment of the wireless charging method can refer to the implementation of the embodiment of the method shown in Figure 2 above, and overlapping points will not be described again.
[0091] Based on the same inventive concept, the embodiments of the present disclosure further provide a wireless charging device, as shown in the following embodiments: The principle of solving the problem in this wireless charging device embodiment is similar to that in the method embodiment shown in Fig. 2 above, so the implementation of this wireless charging device embodiment can refer to the implementation of the method embodiment shown in Fig. 2 above, and overlapping points will not be described again.
[0092] 6 shows a schematic diagram of a wireless charging apparatus according to an embodiment of the present disclosure. This wireless charging apparatus can be applied to a power supply device. The power supply device includes a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, and the battery is connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively.
[0093] Specifically, as shown in FIG. 6 , the wireless charging device 600 includes a first enabling module 601, a detection module 602, an encryption module 603, a return module 604, a receiving module 605, a second enabling module 606 and a charging module 607.
[0094] The first enable module 601 enables the first boost circuit so that the battery powers the wireless charging chip based on the first boost circuit.
[0095] When the detection module 602 detects that the device to be charged has been accessed, it establishes a communication connection with the device to be charged based on the wireless charging chip.
[0096] When the encryption module 603 receives the verification data transmitted from the device to be charged, it performs encryption processing on the verification data based on a preset encryption algorithm and generates an encryption result.
[0097] The return module 604 returns the encryption result to the device to be charged so that the device to be charged can verify the encryption result.
[0098] The receiving module 605 disables the first boost circuit when a verification success message sent from the device to be charged is received.
[0099] The second enable module 606 enables the second boost circuit, so that the battery powers the wirelessly powered chip based on the second boost circuit.
[0100] The charging module 607 charges the target device with the voltage provided by the second boost circuit based on the wireless charging chip.
[0101] In some embodiments, the communication connection between the power supply device and the device to be charged is disconnected when the first boost circuit is disabled. The wireless charging apparatus 600 further includes a communication module (not shown), which again establishes a communication connection with the device to be charged based on the wireless power supply chip, again receives the verification data sent from the device to be charged, and returns the corresponding encryption result to the device to be charged.
[0102] Specifically, when the charging module 607 receives the verification success message sent from the device to be charged again, it charges the device to be charged with the voltage supplied by the second boost circuit based on the wireless charging chip.
[0103] In some embodiments, the encryption module 603 specifically performs an encryption process on the verification data based on a preset encryption algorithm when the electrical quantity of the power supply device is greater than a first preset value, and obtains an encryption result.
[0104] Based on the same inventive concept, the embodiments of the present disclosure further provide another wireless charging device, as shown in the following embodiment: Since the principle of solving the problem in this wireless charging device embodiment is similar to that in the method embodiment shown in Figure 5 above, the implementation of this wireless charging device embodiment can refer to the implementation of the method embodiment shown in Figure 5 above, and overlapping points will not be described again.
[0105] 7 shows a schematic diagram of a wireless charging device according to an embodiment of the present disclosure, which can be applied to a device to be charged, and the device to be charged includes a wireless charging chip.
[0106] Specifically, as shown in FIG. 7, the wireless charging device 700 includes a detection module 701, a first transmitting module 702, a receiving module 703, a second transmitting module 704, and a charging module 705.
[0107] If the power supply device is detected, the detection module 701 establishes a communication connection with the power supply device based on the wireless charging chip.
[0108] The first sending module 702 sends verification data to the power supplying device if the device to be charged supports the target charging power.
[0109] The receiving module 703 receives the encryption result of the verification data returned from the power supply device and verifies the encryption result.
[0110] The second sending module 704 sends a verification success message to the power supply device if the encryption result passes verification.
[0111] The charging module 705 receives the electrical energy transmitted by the power supply device at the target charging power, and causes the device to be charged to enter a charging state.
[0112] In some embodiments, the wireless charging device 700 further includes a power supply module (not shown), which supplies power to the wireless charging chip based on the electrical energy transmitted by the power supply device through the coil before the encryption result passes verification or after the device to be charged enters a charging state.
[0113] In some embodiments, the power supply module further powers the wireless charging chip based on the battery of the device to be charged, so as to maintain the communication connection between the device to be charged and the power supply device, after the encryption result passes verification, the communication connection between the power supply device and the device to be charged is disconnected.
[0114] In some embodiments, after the encryption result passes verification, the communication connection between the power supply device and the device to be charged is disconnected, and the wireless charging apparatus 700 further includes a communication module (not shown) for re-establishing a communication connection with the power supply device based on the wireless charging chip, re-sending verification data to the power supply device, verifying the encryption result returned from the power supply device, and again sending a verification success message to the power supply device if the encryption result passes verification.
[0115] In some embodiments, the wireless charging device 700 further includes a display module (not shown), which prevents a charging status indicator displayed on the screen of the device to be charged from changing when the communication connection is lost.
[0116] In some embodiments, the first sending module 702 sends verification data to the power supply device if the amount of electricity in the device to be charged is less than a second preset value.
[0117] An electronic device 800 capable of implementing an embodiment of the present disclosure will now be described with reference to Fig. 8. The electronic device 800 shown in Fig. 8 is merely an example and should not limit the functionality and application scope of the embodiment of the present disclosure in any way.
[0118] 8, electronic device 800 is depicted as a general-purpose computing device. Components of electronic device 800 may include, but are not limited to, at least one processor 810, at least one memory 820, and a bus 830 connecting different system components (including memory 820 and processor 810).
[0119] The memory has stored therein program code that can be executed by the processor 810 to cause the processor 810 to perform the steps of the various exemplary embodiments of the present disclosure described above in the "Exemplary Method" section of the present disclosure.
[0120] In some embodiments, the processor 810 may perform the following steps of the above method embodiments: enable a first boost circuit to allow the battery to power the wirelessly powered chip based on the first boost circuit; when it is detected that the device to be charged has been accessed, establish a communication connection with the device to be charged based on the wirelessly powered chip; when verification data sent from the device to be charged is received, perform an encryption process on the verification data based on a preset encryption algorithm to generate an encryption result, and return the encryption result to the device to be charged so that the device to be charged verifies the encryption result; when a verification success message sent from the device to be charged is received, disable the first boost circuit, enable a second boost circuit to allow the battery to power the wirelessly powered chip based on the second boost circuit; and charge the device to be charged with a voltage provided by the second boost circuit based on the wirelessly powered chip.
[0121] In some embodiments, the processor 810 may also perform the following steps of the above method embodiments: if a power sourcing device is detected, establish a communication connection with the power sourcing device based on the wireless charging chip; if the device to be charged supports the target charging power, send verification data to the power sourcing device, receive an encryption result for the verification data returned from the power sourcing device, verify the encryption result; if the encryption result passes verification, send a verification success message to the power sourcing device, and receive electrical energy transmitted by the power sourcing device at the target charging power, so as to allow the device to be charged to enter a charging state.
[0122] The memory 820 may include readable media in the form of volatile memory, such as random access memory (RAM) 8201 and / or cache memory 8202 , and may further include read only memory (ROM) 8203 .
[0123] The memory 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, including, but not limited to, an operating system, one or more applications, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0124] Bus 830 may represent one or more of several classes of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics accelerator port, a processor, or a local bus using any of a number of bus structures.
[0125] The electronic device 800 can communicate with one or more external devices 840 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that allow a user to interact with the electronic device 800, and / or any devices (e.g., a router, a modem, etc.) that allow the electronic device 800 to communicate with one or more other computing devices. Such communication can occur via an input / output (I / O) interface 850. The electronic device 800 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 860. As shown in FIG. 8 , the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. Although not shown, it should be understood that other hardware and / or software modules can be used in combination with the electronic device 800, including, but not limited to, microcode, device drives, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, etc.
[0126] From the description of the above embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described herein can be realized by software, or can be realized by combining necessary hardware with software. Therefore, the technical solutions of the embodiments of the present disclosure can be expressed in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB memory, an external hard disk, etc.) or a network, and includes multiple instructions, allowing a computing device (such as a personal computer, a server, a terminal device, or a network device) to execute a method according to the embodiments of the present disclosure.
[0127] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, which may be a readable signal medium or a readable storage medium, and a program product capable of implementing the above-described method of the present disclosure is stored thereon. In some possible embodiments, various aspects of the present disclosure may be implemented in the form of a program product including program code, and when the program product is executed on a terminal device, the program code is used to cause the terminal device to perform the steps of various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present disclosure.
[0128] Those skilled in the art will readily appreciate other embodiments of the present disclosure after studying the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which variations, uses, or adaptations follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are considered to be exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
Claims
1. A wireless charging method applied to a power supply device, the power supply device including a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, the battery being connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively; The method comprises: Enabling the first boost circuit so that the battery powers the wireless power transfer chip according to the first boost circuit; When it is detected that the device to be charged has been accessed, establishing a communication connection with the device to be charged based on the wireless charging chip; When the verification data transmitted from the device to be charged is received, an encryption process is performed on the verification data based on a preset encryption algorithm to generate an encryption result; returning the encryption result to the device to be charged so that the device to be charged verifies the encryption result; Disabling the first boost circuit when a verification success message sent from the device to be charged is received; enabling the second boost circuit so that the battery powers the wireless power transfer chip according to the second boost circuit; charging the target device with the voltage supplied by the second boost circuit based on the wireless power transfer chip; A wireless charging method characterized by the above.
2. a communication connection between the power supply device and the device to be charged is disconnected when the first boost circuit is disabled; After enabling the second boost circuit, the method includes: Establishing a communication connection with the device to be charged again based on the wireless charging chip; receiving the verification data sent from the device to be charged again and returning the corresponding encryption result to the device to be charged; charging the target device with the voltage supplied by the second boost circuit based on the wireless power transfer chip, and when a verification success message transmitted from the device to be charged is received again, charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless charging chip. The wireless charging method according to claim 1 .
3. The step of encrypting the verification data based on the preset encryption algorithm to generate an encryption result includes: If the amount of electricity in the power supply device is greater than a first preset value, performing an encryption process on the verification data based on a preset encryption algorithm to generate an encryption result. The wireless charging method according to claim 1 .
4. 1. A wireless charging method applied to a device to be charged, the device to be charged including a wireless charging chip, the method comprising: if a power supply device is detected, establishing a communication connection with the power supply device based on the wireless charging chip; If the device to be charged supports the target charging power, sending verification data to the power supply device; receiving an encryption result for the verification data returned from the power supply device and verifying the encryption result; If the encryption result passes verification, sending a verification success message to the power supply device; receiving electrical energy transmitted at the target charging power by the power supply device, and causing the device to be charged to enter a charging state; A wireless charging method characterized by the above.
5. The method comprises: Before the encryption result passes verification or after the device to be charged enters a charging state, the method further includes: powering the wireless charging chip based on the electrical energy transmitted by the power supply device through a coil; The wireless charging method according to claim 4 .
6. The method comprises: After the encryption result passes verification, disconnecting the communication connection between the power supply device and the device to be charged; and powering the wireless charging chip based on a battery of the device to be charged, so that a communication connection between the device to be charged and the power supply device is maintained. The wireless charging method according to claim 4 .
7. The method comprises: After the encryption result passes verification, disconnecting the communication connection between the power supply device and the device to be charged; again establishing a communication connection with the power supply device based on the wireless charging chip; transmitting verification data to the power supply device again and verifying the encryption result returned from the power supply device; If the encryption result passes verification, sending a verification success message to the power supply device again. The wireless charging method according to claim 4 .
8. The method comprises: and if the communication connection is disconnected, a charging status indicator displayed on a screen of the device to be charged is not changed. The wireless charging method according to claim 7 .
9. The step of transmitting verification data to the power supply device includes: If the amount of electricity in the device to be charged is less than a second preset value, transmitting verification data to the power supply device; The wireless charging method according to claim 4 .
10. A wireless charging apparatus applied to a power supply device, the power supply device including a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, the battery being connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively; The device comprises: a first enable module for enabling the first boost circuit so that the battery powers the wireless charging chip according to the first boost circuit; a detection module for establishing a communication connection with the device to be charged based on the wireless charging chip when it is detected that the device to be charged has been accessed; an encryption module for, when receiving verification data transmitted from the device to be charged, performing encryption processing on the verification data based on a preset encryption algorithm to generate an encryption result; a return module for returning the encryption result to the device to be charged so that the device to be charged can verify the encryption result; a receiving module for disabling the first boost circuit when a verification success message sent from the device to be charged is received; a second enable module for enabling the second boost circuit so that the battery powers the wireless charging chip according to the second boost circuit; a charging module for charging the target device with a voltage supplied by the second boost circuit based on the wireless power transfer chip; A wireless charging device characterized by:
11. A wireless charging device is applied to a device to be charged, the device to be charged includes a wireless charging chip, the device comprises: a detection module for establishing a communication connection with the power supply device based on the wireless charging chip when the power supply device is detected; a first transmitting module for transmitting verification data to the power supply device if the device to be charged supports a target charging power; a receiving module for receiving an encryption result of the verification data returned from the power supply device and verifying the encryption result; a second sending module for sending a verification success message to the power supply device if the encryption result passes verification; a charging module for receiving the electrical energy transmitted by the power supply device at the target charging power and causing the device to be charged to enter a charging state; A wireless charging device characterized by:
12. 1. An electronic device comprising: a processor; a memory for storing instructions executable by said processor; The processor is configured to execute the executable instructions to perform the wireless charging method according to any one of claims 1 to 3 or to perform the wireless charging method according to any one of claims 4 to 9. An electronic device characterized by:
13. A computer-readable storage medium storing a computer program, which, when executed by a processor, realizes the wireless charging method according to any one of claims 1 to 3 or the wireless charging method according to any one of claims 4 to 9. A computer-readable storage medium comprising:
Citation Information
Patent Citations
System and method for wireless power control communication using Bluetooth® Low Energy
JP2015520593A
Power receiving device, control method, and program
JP2020191775A
Charging method, device, terminal, and storage medium
JP2021129492A