Wireless charging method, apparatus, electronic device, and storage medium
The method and device provide secure and flexible wireless charging by verifying device identity using dual boost circuits and encryption, ensuring safe high-power charging based on device compatibility.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-12-27
- Publication Date
- 2026-07-08
AI Technical Summary
Existing wireless charging technologies lack identity verification between power supply and charging devices, leading to the need for low-power charging to avoid device damage, limiting the flexibility of power adjustment.
Implementing a method and device with dual boost circuits and encryption algorithms to verify the identity of charging devices, allowing flexible power adjustment based on device compatibility.
Enables secure and flexible wireless charging by verifying device identity, allowing high-power charging only after successful verification, thus protecting devices and optimizing power usage.
Smart Images

Figure 0007886933000001 
Figure 0007886933000002 
Figure 0007886933000003
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technologies, and particularly to a wireless charging method, apparatus, electronic device, and storage medium.
Background Art
[0002] With the development of wireless charging technology, a device that supports wireless charging can also output energy to the outside with itself as the power supply side, thereby performing reverse wireless charging on other devices that support wireless charging.
[0003] However, in this process, since the identities of each other cannot be verified between the power supply side device and the charging target device, in order to avoid damage to the charging target device caused by high-power charging, the power supply side device can only wirelessly charge other charging target devices in a single low-power mode.
Summary of the Invention
Problems to be Solved by the Invention
[0004] In order to overcome the problems existing in the related technologies, the present disclosure provides a wireless charging method, apparatus, electronic device, and storage medium.
[0005] According to a first embodiment of the embodiments of the present disclosure, a wireless charging method is provided which is applied to a power supply device, the power supply device comprising a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, wherein the battery is connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively, and the method comprises the steps of enabling the first boost circuit so that the battery supplies power to the wireless power supply chip based on the first boost circuit, 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 receiving verification data transmitted from the device to be charged. If so, the method includes: performing an encryption process on the verification data based on a pre-set 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; if a verification success message transmitted from the device to be charged is received, disabling the first boost circuit; enabling the second boost circuit so that the battery can supply power to the wireless power supply chip based on the second boost circuit; and charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply 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: establishing a communication connection with the device to be charged again based on the wireless power supply chip; receiving verification data transmitted from the device to be charged again and returning the corresponding encryption result to the device to be charged; and charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply chip, if a verification success message transmitted from the device to be charged is received again, the method includes charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply chip.
[0007] In some embodiments, the step of performing an encryption process on the verification data based on a preset encryption algorithm to generate an encrypted result includes, if the amount of electricity in the power supply device is greater than a first preset value, the step of performing an encryption process on the verification data based on a preset encryption algorithm to generate an encrypted result.
[0008] According to a second embodiment of the embodiments of the present disclosure, a wireless charging method is provided which is applied to a device to be charged, the device to be charged includes a wireless charging chip, and the method includes the steps of: establishing a communication connection with a power supply device based on the wireless charging chip when the power supply device is detected; transmitting verification data to the power supply device if the device to be charged supports a target charging power; receiving an encrypted result of the verification data returned from the power supply device and verifying the encrypted result; transmitting a verification success message to the power supply device if the encrypted result passes verification; and receiving electrical energy transmitted by the power supply device at the target charging power to cause the device to be charged.
[0009] In some embodiments, the method further includes the step of supplying power to the wireless charging chip based on electrical energy transmitted by the power supply device through the coil before the encryption result passes verification or after the device to be charged is in a charging state.
[0010] In some embodiments, the method further includes the steps of disconnecting the communication connection between the power supply device and the device to be charged after the encryption result has passed verification, and supplying power to 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.
[0011] In some embodiments, the method includes the steps of: disconnecting the communication connection between the power supply device and the device to be charged after the encryption result has passed verification; re-establishing a communication connection with the power supply device based on the wireless charging chip; sending verification data to the power supply device again and verifying the encryption result returned from the power supply device; and, if the encryption result has passed verification, sending a verification success message to the power supply device again.
[0012] In some embodiments, the method further includes the step that, if the communication connection is disconnected, the charging status indicator displayed on the screen of the device being charged does not change.
[0013] In some embodiments, the step of transmitting verification data to the power supply device includes the step of 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 embodiment of the embodiments of the present disclosure, a wireless charging device is provided which is applied to a power supply device, the power supply device comprising a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, wherein the battery is connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively, and the device comprises a first enable module for enabling the first boost circuit so that the battery supplies 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 preset The system includes: an encryption module for encrypting the verification data based on an encryption algorithm to generate an encrypted result; a return module for returning the encrypted result to the device to be charged so that the device to be charged can verify the encrypted result; a receiving module for disabling the first boost circuit when a verification success message transmitted from the device to be charged is received; a second enable module for enabling the second boost circuit so that the battery can supply power to the wireless power supply chip based on the second boost circuit; and a charging module for charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply chip.
[0015] According to a fourth embodiment of the embodiments of the present disclosure, a wireless charging device is provided which is applied to a device to be charged, the device to be charged includes a wireless charging chip, the device includes: a detection module for establishing a communication connection with a power supply device based on the wireless charging chip when the power supply device is detected; a first transmission 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 encrypted result of the verification data returned from the power supply device and verifying the encrypted result; a second transmission module for transmitting a verification success message to the power supply device if the encrypted result passes verification; and a charging module for receiving electrical energy transmitted by the power supply device at the target charging power to put the device to be charged into a charging state.
[0016] According to a fifth embodiment of the embodiments of the present disclosure, an electronic device is provided 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 embodiment or the method of the second embodiment by executing the executable instructions.
[0017] According to a sixth embodiment of the embodiments of the present disclosure, a computer-readable storage medium is provided in which a computer program is stored, and when the computer program is executed by a processor, the method of the first embodiment or the method of the second embodiment is implemented.
[0018] According to the technical proposal provided by the embodiments of this disclosure, the power supply device includes a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, wherein the battery supplies power to the wireless power supply chip by the first boost circuit or the second boost circuit, thereby enabling the wireless power supply chip to output different wireless charging powers. Specifically, the power supply device can first supply power to the wireless power supply chip by the first boost circuit. When it is detected 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 wireless power supply chip. When verification data transmitted from the device to be charged is received, the power supply device can encrypt the verification data based on a pre-configured encryption algorithm, generate an encrypted result, and then return the encrypted result to the device to be charged so that the device to be charged can verify the encrypted result. When the power supply device receives a verification success message transmitted from the device to be charged, it switches the power supply circuit for supplying power to the wireless power supply chip to a second boost circuit, and then, based on the wireless power supply chip, can charge the device to be charged with the voltage supplied by the second boost circuit. Thus, according to the technical proposal provided by the embodiments of this disclosure, identity verification can be performed between the power supply device and the device to be charged using verification data, and after passing the verification, the voltage input to the wireless power supply chip can be switched. This allows the power supply device to flexibly adjust the power supply voltage for different devices to be charged, thereby realizing wireless charging of different power levels. [Brief explanation of the drawing]
[0019] [Figure 1] A schematic diagram of the system architecture in one embodiment of this disclosure is shown. [Figure 2] A schematic flowchart of a wireless charging method in one embodiment of this disclosure is shown. [Figure 3] This diagram shows a schematic configuration of a data packet containing verification data in one embodiment of the present disclosure. [Figure 4]Shows a schematic diagram of the interaction between a power supply device and a device to be charged in an embodiment of the present disclosure. [Figure 5] Shows a schematic flowchart of another wireless charging method in an embodiment of the present disclosure. [Figure 6] Shows a schematic configuration diagram of a wireless charging device in an embodiment of the present disclosure. [Figure 7] Shows a schematic configuration diagram of another wireless charging device in an embodiment of the present disclosure. [Figure 8] Shows a schematic configuration diagram of an electronic device in an embodiment of the present disclosure.
Mode for Carrying Out the Invention
[0020] Here, exemplary embodiments will be described in detail, and the examples will be shown in the drawings. When the following description relates to the drawings, unless otherwise expressed, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments that conform to the present disclosure. Rather, they are merely examples of devices and methods that conform to some aspects of the present disclosure, which are described in detail in the appended claims.
[0021] Embodiments of the present disclosure provide a wireless charging method, which is applicable to a wireless reverse charging scenario. Identity verification is performed by transmitting verification data between a power supply device and a device to be charged. After passing the verification, the voltage input to the wireless power supply chip can be switched. As a result, the power supply device can flexibly adjust the power supply voltage according to different devices to be charged and achieve wireless charging with different powers.
[0022] The power supply device and the device to be charged in the embodiments of the present disclosure may each be any electronic device having a wireless charging function, such as a smartphone or a tablet. The above examples are not intended to be understood as limitations of the present disclosure.
[0023] Exemplarily, FIG. 1 shows a schematic diagram of an exemplary system architecture of a wireless charging method applicable to an embodiment of the present disclosure.
[0024] As shown in FIG. 1, this 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 power supply chip, and the device to be charged 120 includes a battery to be charged, a first buck circuit, a second buck circuit, and a wireless charging chip.
[0025] Exemplarily, the power supply batteries are respectively connected to the wireless power supply chip via the first boost circuit and the second boost circuit, and the wireless charging chip is respectively connected to the battery to be charged via the first buck circuit and the second buck circuit.
[0026] In the wireless reverse charging scenario, both the power supply device 110 and the device to be charged 120 are electronic devices having wireless charging capabilities, and the charging architectures of both are similar. That is, the first boost circuit and the first buck circuit may be circuits of substantially the same type, and the boost or buck capabilities can be realized based on the different current input directions in this circuit. 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 to the wireless power supply 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 by the battery to be charged, and then input it to the battery to be charged.
[0027] Similarly, the second boost circuit and the second buck circuit may be circuits of the same type, and similarly, the boost or buck capabilities can be realized based on the different current input directions in this circuit, and the embodiments of the present disclosure do not limit this.
[0028] By the same principle, the wireless power transfer chip and the wireless charging chip may be the same type of chip. This chip can be a wireless power transfer chip in the power supply device 110 to output energy externally. This chip can also be a wireless charging chip in the device to be charged 120, receiving energy input from an external source and converting it into electric current.
[0029] For example, the first boost circuit and the first buck circuit may be power management integrated circuits (PMICs), and the second boost circuit and the second buck circuit may be charge pump chips.
[0030] The following describes this embodiment in detail, combining drawings and examples.
[0031] First, embodiments of the present disclosure provide a wireless charging method, which can be performed by any device that supports wireless charging functionality. Exemplaryly, this device may be a power supply device in a wireless reverse charging scenario when performing the method provided by embodiments of the present disclosure.
[0032] Figure 2 shows a schematic flowchart of a wireless charging method in one embodiment of the present disclosure. As shown in Figure 2, the wireless charging method provided by the embodiment of the present disclosure includes the following steps S201 to S206.
[0033] In S201, the first boost circuit is enabled so that the battery supplies power to the wireless power supply chip based on the first boost circuit.
[0034] For example, the power supply device can be configured such that the first boost circuit is enabled and the second boost circuit is disabled, thereby boosting the voltage output from the battery in the power supply device using the first boost circuit and supplying power to the wireless power supply chip.
[0035] In some embodiments, the voltage output by the battery through the first boost circuit may be lower than the voltage output through the second boost circuit. That is, when the wireless charging process is initiated, the battery supplies power to the wireless power supply chip at a relatively low voltage, thereby causing the wireless power supply chip to output relatively small amounts of energy externally via its coils, thus 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 power supply chip.
[0037] In some embodiments, the communication connection between the power supply device and the device being charged can be established based on a wireless charging protocol such as BPP (Baseline Power Profile) or EPP (Extended Power Profile).
[0038] For example, when a wireless power transfer chip is powered on, it can transmit a fixed-frequency signal externally to detect whether the device being charged is being accessed. When it is detected that the device being charged is being accessed, the wireless power transfer chip transmits a signal with sufficient energy externally to enable the wireless charging chip's communication function on the device being charged, thereby establishing a communication connection between the power transfer device and the device being charged.
[0039] In some embodiments, after a communication connection is established between the power supply device and the device being charged, the device being charged transmits charging parameters, such as the required charging power, to the power supply device so that the wireless power supply chip outputs the corresponding charging power. Since the communication connection between the power supply device and the device being charged can be established based on a wireless charging protocol such as BPP or EPP, the charging power requested here is not greater than the upper limit of charging power specified by the protocol. In other words, the power supply device can then charge the device being charged based on a relatively small charging power specified by the protocol.
[0040] In S203, when verification data is received from the device being charged, the verification data is encrypted based on a pre-configured encryption algorithm, and the encrypted result is generated.
[0041] In some embodiments, the verification data may be any random number generated by the device being charged. The power supply device can encrypt this random number using a pre-configured encryption algorithm (in the power supply device) to generate an encrypted result. This encryption algorithm may be a symmetric encryption algorithm or an asymmetric encryption algorithm, and the embodiments of this disclosure are not limited thereto.
[0042] In some embodiments, the device being charged can transmit verification data to the power supply device using an amplitude shift keying (ASK) modulation scheme. Specifically, the device being charged can change the magnitude of the transmitted energy by altering the resonator parameters of the wireless charging chip (by switching the communication capacitor on and off), which causes regular fluctuations in the voltage or current of the power supply device, and these fluctuations can be used to transmit verification data.
[0043] Figure 3 shows a schematic diagram of a data packet containing verification data. As shown in Figure 3, this data packet includes a preamble, a packet header, a data frame, and a verification frame. The preamble is a set of pulses where all are 1s, and it serves to enable the power supply device to accurately detect the start bit of the packet header. The packet header contains 1 byte and consists of a combination of 0s and 1s, and is used to tell the power supply device the type of data packet. The data frame can contain 1 to 27 bytes and consists of a combination of 0s and 1s, and is used to store the verification data. The verification frame contains 1 byte and is provided to the power supply device, which uses it to determine whether the received verification data is correct or not.
[0044] In some embodiments, verification data can be sent to the power supply device when the amount of charge in the device being charged is less than a second preset value. If the verification data passes the verification, both the power supply device and the device being charged enter high-power charging mode, and in a wireless reverse charging scenario, high-power charging rapidly depletes the amount of charge in the power supply device itself. Therefore, the timing of sending the verification data can be limited, thereby controlling the timing of the start of high-power charging mode and avoiding the power supply device's charge being consumed more rapidly than necessary.
[0045] In some embodiments, if the amount of electricity a power supply device has is greater than a first preset value, it may encrypt the verification data based on a preset encryption algorithm and obtain the encrypted result. That is, if the power supply device has a large amount of remaining electricity, it may recalculate the encrypted result to complete the verification with the device being charged, ensuring that the power supply device does not rapidly consume its own electricity through wireless reverse charging.
[0046] In S204, the encryption result is returned to the device being charged, allowing the device to verify the encryption result.
[0047] In some embodiments, a power supply device can transmit encryption results to a device being charged using a frequency shift keying (FSK) modulation scheme. Specifically, the power supply device can alter the fluctuations in energy received by the device being charged by reciprocally increasing / decreasing the drive frequency of a wireless power supply chip. When these fluctuations vary according to a specific rule, they can be used to transmit encryption results.
[0048] Exemplary, the structure of a data packet containing the encryption result is similar to the data packet structure shown in Figure 3, the difference being that a data frame is used to store the encryption result. Therefore, the structure of a data packet containing the encryption result can be seen by referring to the data packet structure shown in Figure 3, and the embodiments of this disclosure are not limited thereto.
[0049] In step S205, if a verification success message is received from the device being charged, the first boost circuit is disabled.
[0050] In some embodiments, the device being charged can, after receiving the encryption result returned from the power supply device, 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 for the charging device against the encryption result involves using a pre-configured decryption algorithm on the charging device to decrypt the encryption result. If the decrypted result matches the verification data sent to the power supply device, the verification is successful; otherwise, it fails.
[0052] For example, the verification method for the charging device against the encryption result involves encrypting the verification data sent to the power supply device using a pre-configured encryption algorithm on the charging device. If the obtained encrypted result matches the encrypted result returned from the power supply device, the verification is successful; otherwise, it fails.
[0053] In some embodiments, when a power supply device receives a verification success message from a device being charged, it can determine that both the power supply device and the device being charged support high-power charging of the target charging power. Since the boost ratio of the second boost circuit is greater than that of the first boost circuit, powering the wireless charging chip by the second boost circuit can cause the power supply device to output the target charging power.
[0054] Therefore, when the power supply device receives a verification success message from the device being charged, it needs to switch the circuit supplying power to the wireless power supply chip to the second boost circuit. To avoid damaging the device due to excessively high output power when both boost circuits are enabled simultaneously, the first boost circuit must be disabled before enabling the second boost circuit.
[0055] In S206, the second boost circuit is enabled so that the battery supplies power to the wireless power supply 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 boosting the voltage output from the battery in the power supply device and supplying power to the wireless power supply chip.
[0057] For example, the voltage output by the battery through the second boost circuit may be greater than the voltage output through the first boost circuit. Therefore, by switching the power supply circuit for supplying power to the wireless power supply chip to the second boost circuit, the energy that the wireless power supply chip outputs externally via the coil can be increased, thereby improving wireless charging power.
[0058] In S207, the device to be charged is charged using a voltage supplied by a second boost circuit based on the wireless power transfer chip.
[0059] Here, since the device to be charged and the power supply device have confirmed that they can both support high-power wireless charging modes, the power supply device can perform high-power wireless reverse charging on the device to be charged using the voltage supplied by the second boost circuit, based on the wireless power supply chip.
[0060] According to the embodiments provided in this disclosure, identity verification can be performed between the power supply device and the device being charged using verification data, and the voltage input to the wireless power supply chip can be switched after the verification is passed. This allows the power supply device to flexibly adjust the power supply voltage based on different devices being charged, thereby enabling wireless charging of different power levels.
[0061] The overall concept of the wireless charging method provided by the embodiments of this disclosure has been described above, in conjunction with Figures 2 and 3.
[0062] Furthermore, when the power supply device switches the power supply circuit of the wireless power supply chip, it is necessary to first disable the first boost circuit and then enable the second boost circuit.
[0063] When the wireless power supply chip is powered, the wireless charging chip is powered by the energy transmitted by the wireless power supply chip via the coil. Therefore, after the first boost circuit is disabled and before the second boost circuit is enabled, the wireless power supply chip in the power supply device is temporarily powered off and cannot transmit energy to the outside via the coil. At this time, the wireless charging chip in the device being charged is also powered off, and the communication connection between the power supply device and the device being charged is disconnected.
[0064] In some embodiments, to avoid the need for the wireless power transfer chip and the wireless charging chip to re-establish communication after power is restored, the wireless charging chip of the device being charged can be powered via the device being charged's own battery to maintain communication between the device being charged and the power transfer device while the power transfer device switches the power transfer circuit of the wireless power transfer chip. This allows the device being charged to directly receive wireless charging energy of the target charging power emitted by the power transfer device's wireless power transfer chip at a voltage supplied by a second boost circuit after the power transfer device has switched the power transfer circuit.
[0065] In some embodiments, the wireless power supply 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 supply device switches the power supply circuit for supplying power to the wireless power supply chip to a second boost circuit, the power supply chip can re-establish a communication connection with the device to be charged based on the wireless power supply chip. Subsequently, it receives verification data transmitted from the device to be charged again and returns the corresponding encrypted result to the device to be charged. If a verification success message transmitted from the device to be charged is received again, the device to be charged is charged with the voltage supplied by the second boost circuit based on the wireless power supply chip (in this case, since it is not related to the switching of the power supply circuit, there is no power outage). In this embodiment, the power outage of the wireless charging chip is reflected in the charging status displayed on the screen of the device to be charged; that is, the screen temporarily displays that the device to be charged has finished charging. To avoid inconveniencing users (for example, causing them to mistakenly believe there is a poor connection), the charging status indicator displayed on the screen of the device being charged can be kept constant when the communication connection is interrupted (during power supply circuit switching), meaning that the device being charged can always be displayed as being in a charging state.
[0066] Figure 4 shows a schematic diagram of the interaction between a power supply device and a device to be charged in one embodiment of the present disclosure. As shown in Figure 4, the power supply device can first supply power to its wireless power supply chip using a first boost circuit. When it is detected that the device to be charged has been accessed, the power supply device can establish a communication connection with the device to be charged.
[0067] Subsequently, the device being charged can send verification data to the power supply device. After the power supply device receives the verification data, it can use an encryption algorithm pre-stored in the power supply device to encrypt the verification data and obtain the encrypted result.
[0068] Next, the power supply device can return the encryption result to the device being charged. After receiving the encryption result returned from the power supply device, the device being charged can verify the encryption result.
[0069] For example, if verification is successful, the device being charged can use its own battery to power its wireless charging chip in order to maintain communication. The device being charged can also send a verification success message to the power supply device after successfully verifying the encryption result. When the power supply device receives the verification success message, after a short delay (to ensure that the wireless charging chip switches to battery power), it can disable the first boost circuit and then enable the second boost circuit, thereby enabling high-power charging of the device being charged with the voltage supplied by the second boost circuit.
[0070] For example, if verification is successful, the device being charged does not need to use its battery to maintain its communication state. That is, after the power supply device receives a verification success message and switches to supplying power to its wireless power supply chip via the second boost circuit, the communication connection between the power supply device and the device being charged can be re-established and verified in the manner described above. If the power supply device receives another verification success message, it is not related to the switching of the power supply circuit, and in this case, high-power charging can be performed on the device being charged directly with the voltage supplied by the second boost circuit.
[0071] Based on the same inventive concept, embodiments of the present disclosure provide another wireless charging method, which can be performed by any device that supports wireless charging functionality. Exemplaryly, this device may be the device to be charged in a wireless reverse charging scenario when performing the method provided by embodiments of the present disclosure.
[0072] Figure 5 shows a schematic flowchart of a wireless charging method in one embodiment of the present disclosure. As shown in Figure 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 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.
[0075] For example, the charging power supplied by the second boost circuit is greater than the charging power supplied by the first boost circuit. Therefore, to avoid damaging devices that do not support high-power charging, the wireless power supply chip initially supplies power through the first boost circuit to establish a communication connection with the device to be charged.
[0076] In S502, if the device to be charged supports the target charging power, verification data is sent to the power supply device.
[0077] For example, the target charging power may be the charging power supplied by the power supply device through a second boost circuit. If the device being charged supports the target charging power, verification data can be proactively sent to the power supply device to allow it to sense the charging power that the device can support.
[0078] In S503, the encryption result of the verification data returned from the power supply device is received, and the encryption result is verified.
[0079] If the power supply device supports outputting the target charging power, the power supply device encrypts the verification data based on a pre-configured encryption algorithm and returns the generated encrypted result to the device being charged.
[0080] In S504, if the encryption result passes 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 both the device to be charged and the power supply device have completed their "shake-up," 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 electrical energy transmitted by the power supply device at the target charging power is received, and the device to be charged is brought into a charging state.
[0083] In some embodiments, after receiving a verification success message, the power supply device needs to switch the circuit for supplying power to the wireless power supply chip from a first boost circuit to a second boost circuit in order to output electrical energy of the target charge power. At this time, the power supply device needs to first disable the first boost circuit and then enable the second boost circuit, which results in a temporary power outage to the wireless power supply chip in the power supply device.
[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 power supply chip is powered off, preventing the power supply device from transmitting electrical energy through the coil, which in turn powers off the wireless charging chip and ultimately disconnects communication between the power supply device and the device to be charged.
[0085] In view of this, after the encryption result has passed verification, the device to be charged supplies power to the wireless charging chip based on the battery of the device to be charged in order to maintain the communication connection between the device to be charged and the power supply device. Accordingly, when the power supply device receives a verification success message, it disables the first boost circuit after a short delay, thereby ensuring that the device to be charged can supply power to the wireless charging chip using its own battery before the first boost circuit is disabled (i.e., before the wireless power supply chip is powered off).
[0086] In some embodiments, the communication connection between the power supply device and the device being charged can be re-established after the connection has been disconnected. Exemplarily, the device being charged can re-establish a communication connection with the power supply device based on the wireless charging chip. Subsequently, it sends verification data to the power supply device again and verifies the encrypted result returned from the power supply device. If the encrypted result passes verification, it sends a verification success message to the power supply device again, requesting the wireless power supply chip to transmit energy through the coil at the voltage supplied by the second boost circuit.
[0087] When re-establishing the communication connection, the supply device is not involved in switching the power supply circuit, so the communication connection is not interrupted. The power supply device can directly output the energy of the target charging power through the second boost circuit and charge the device to be charged.
[0088] In some embodiments, the charging status indicator displayed on the screen of the device being charged does not change if the communication connection is lost.
[0089] In some embodiments, S502 may include the step of 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] Since the principle by which this embodiment of the wireless charging method solves the problem is the same as that of the embodiment of the method shown in Figure 2 above, the implementation of this embodiment of the wireless charging method can be done by referring to the implementation of the embodiment of the method shown in Figure 2 above, and explanations of overlapping points will be omitted.
[0091] Based on the same inventive concept, embodiments of this disclosure further provide a wireless charging device, as described below. Since the principle by which this embodiment of the wireless charging device solves the problem is the same as that of the embodiment of the method shown in Figure 2 above, the implementation of this embodiment of the wireless charging device can be done by referring to the implementation of the embodiment of the method shown in Figure 2 above, and explanations of overlapping points will be omitted.
[0092] Figure 6 shows a schematic configuration diagram of a wireless charging device in one embodiment of the present disclosure. This wireless charging device can be applied to a power supply device. This power supply device includes 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.
[0093] Specifically, as shown in Figure 6, the wireless charging device 600 includes a first enable module 601, a detection module 602, an encryption module 603, a return module 604, a receiving module 605, a second enable module 606, and a charging module 607.
[0094] The first enable module 601 enables the first boost circuit so that the battery supplies power to the wireless power supply chip based on the first boost circuit.
[0095] If 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 power supply chip.
[0096] When the encryption module 603 receives verification data transmitted from the device to be charged, it performs encryption processing on the verification data based on a pre-configured encryption algorithm and generates an encrypted result.
[0097] The return module 604 returns the encryption result to the device being charged, allowing the device to verify the encryption result.
[0098] When the receiving module 605 receives a verification success message sent from the device to be charged, it disables the first boost circuit.
[0099] The second enable module 606 enables the second boost circuit, causing the battery to power the wireless power supply chip based on the second boost circuit.
[0100] The charging module 607 charges the device to be charged using a voltage supplied by a second boost circuit, based on the wireless power transfer 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 device 600 further includes a communication module (not shown) which, based on the wireless power supply chip, re-establishes a communication connection with the device to be charged, re-receives verification data transmitted from the device to be charged, and returns the corresponding encrypted result to the device to be charged.
[0102] Specifically, the charging module 607, upon receiving a verification success message from the device to be charged again, charges the device to be charged with a voltage supplied by the second boost circuit based on the wireless power supply chip.
[0103] In some embodiments, the encryption module 603 specifically performs encryption on the verification data based on a preset encryption algorithm and obtains the encryption result when the amount of electricity in the power supply device is greater than a first preset value.
[0104] Based on the same inventive concept, embodiments of this disclosure further provide another wireless charging device, as described below. Since the principle by which this embodiment of the wireless charging device solves the problem is the same as that of the embodiment of the method shown in Figure 5 above, the implementation of this embodiment of the wireless charging device can be referenced from the implementation of the embodiment of the method shown in Figure 5 above, and explanations of overlapping points will be omitted.
[0105] Figure 7 shows a schematic configuration diagram of a wireless charging device in one embodiment of the present disclosure. This wireless charging device 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 Figure 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 a 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 transmitting module 702 transmits verification data to the power supply 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 transmitting module 704 sends a verification success message to the power supply device if the encryption result passes verification.
[0111] The charging module 705 receives electrical energy transmitted by the power supply device at the target charging power and brings the device to be charged into a charging state.
[0112] In some embodiments, the wireless charging device 700 further includes a power supply module (not shown) which powers a wireless charging chip based on electrical energy transmitted through a coil before the encryption result passes verification or after the device to be charged is in a charging state.
[0113] In some embodiments, the power supply module further disconnects the communication connection between the power supply device and the device being charged after the encryption result has passed verification. To maintain the communication connection between the device being charged and the power supply device, power is supplied to the wireless charging chip based on the battery level of the device being charged.
[0114] In some embodiments, the wireless charging device 700 further includes a communication module (not shown) for disconnecting the communication connection between the power supply device and the device to be charged after the encryption result has passed verification, re-establishing a communication connection with the power supply device based on the wireless charging chip, re-transmitting verification data to the power supply device, verifying the encryption result returned from the power supply device, and, if the encryption result has passed verification, sending a verification success message to the power supply device again.
[0115] In some embodiments, the wireless charging device 700 further includes a display module (not shown) such that, if the communication connection is interrupted, the charging status indicator displayed on the screen of the device being charged does not change.
[0116] In some embodiments, the first transmitting module 702 transmits 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] Hereinafter, an electronic device 800 that can realize the embodiments of this disclosure will be described with reference to Figure 8. The electronic device 800 shown in Figure 8 is merely an example and should not limit the function and scope of the embodiments of this disclosure in any way.
[0118] As shown in Figure 8, the electronic device 800 is represented as a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to, at least one processor 810, at least one memory 820, and a bus 830 connected to different system components (including the memory 820 and the processor 810).
[0119] The memory stores program code which can be executed by the processor 810, which performs steps of various exemplary embodiments of the disclosure as described in the “Exemplary Methods” section above.
[0120] In some embodiments, the processor 810 can perform the next steps of the embodiments of the above method. Enable the first boost circuit so that the battery supplies power to the wireless power supply chip based on the first boost circuit, and 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 wireless power supply chip, and when verification data transmitted from the device to be charged is received, encrypt the verification data based on a pre-configured encryption algorithm to generate an encrypted result, return the encrypted result to the device to be charged so that the device to be charged can verify the encrypted result, and when a verification success message transmitted from the device to be charged is received, disable the first boost circuit, enable the second boost circuit so that the battery supplies power to the wireless power supply chip based on the second boost circuit, and charge the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply chip.
[0121] In some embodiments, the processor 810 may also perform the following steps of the embodiments of the above method: If a power supply device is detected, establish a communication connection with the power supply device based on the wireless charging chip, send verification data to the power supply device if the device to be charged supports the target charging power, receive the encrypted result of the verification data returned from the power supply device, verify the encrypted result, and if the encrypted result passes verification, send a verification success message to the power supply device, receive the electrical energy transmitted by the power supply device at the target charging power, and cause 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] Memory 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to, an operating system, one or more applications, other program modules, and program data, and 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 that uses any of the bus structures among the multiple bus structures.
[0125] The electronic device 800 can communicate with one or more external devices 840 (e.g., keyboards, pointing devices, Bluetooth® devices, etc.), and with one or more devices that enable a user to interact with the electronic device 800, and / or with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication can be performed via the input / output (I / O) interface 850. The electronic device 800 can also communicate with one or more networks (local area networks (LANs), wide area networks (WANs), and / or public networks such as the Internet) via the network adapter 860. As shown in Figure 8, the network adapter 860 communicates with other modules of the electronic device 800 via the bus 830. Although not shown, other hardware and / or software modules can be used in conjunction with the electronic device 800, including, but not limited to, microcode, device drives, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0126] As will be readily apparent to those skilled in the art from the above description of the embodiments, the exemplary embodiments described herein can be implemented by software, or by combining the necessary hardware with the software. Accordingly, the technical solutions of the embodiments of this disclosure can be expressed in the form of a software product, which can be stored on a non-volatile storage medium (such as a CD-ROM, USB memory, or external hard disk) or on a network, and which includes a number of instructions that enable a computing device (such as a personal computer, server, terminal device, or network device) to perform a method based on the embodiments of this disclosure.
[0127] In exemplary embodiments of the present disclosure, a computer-readable storage medium is further provided, which may be a readable signal medium or a readable storage medium on which a program product capable of implementing the above-described methods of the present disclosure is stored. In some possible embodiments, various aspects of the present disclosure can be implemented in the form of a program product comprising program code, which, when the program product is executed on a terminal device, is used to cause the terminal device to perform the steps of the various exemplary embodiments of the present disclosure described in the “exemplary methods” portion of the present disclosure.
[0128] A person skilled in the art, after reviewing the specification and practicing the inventions disclosed herein, will readily conceive of other embodiments of the present disclosure. This disclosure is intended to cover any variations, uses, or appropriate modifications of the present disclosure, which will adhere to the general principles of the present disclosure and include common knowledge or conventional art means of the art not disclosed herein. The specification and examples are to be considered merely illustrative, and the true scope and spirit of the present disclosure are defined by the following claims.
Claims
1. A wireless charging method applied to a power supply device, the power supply device comprising a battery, a wireless power supply chip, a first boost circuit, and a second boost circuit, wherein the battery is connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively. The aforementioned method, The steps include enabling the first boost circuit so that the battery supplies power to the wireless power supply chip based on the first boost circuit, If it is detected that the device to be charged has been accessed, the wireless power supply chip is used to establish a communication connection with the device to be charged. When verification data transmitted from the device to be charged is received, the verification data is encrypted based on a pre-configured encryption algorithm to generate an encrypted result. The steps include: returning the encryption result to the device to be charged so that the device to be charged can verify the encryption result; If a verification success message is received from the device to be charged, the first boost circuit is disabled. The steps include enabling the second boost circuit so that the battery supplies power to the wireless power supply chip based on the second boost circuit, The steps include, in this order, charging the device to be charged with a voltage supplied by the second boost circuit based on the wireless power supply chip, A wireless charging method characterized by the following features.
2. The 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 proceeds as follows: The steps include establishing a communication connection with the device to be charged again based on the wireless power supply chip, The process further includes the step of receiving the verification data transmitted from the device to be charged again and returning the corresponding encryption result to the device to be charged, The step of charging the device to be charged with the voltage supplied by the second boost circuit based on the wireless power supply chip is: If a verification success message transmitted from the device to be charged is received again, the wireless power supply chip is used to charge the device with the voltage supplied by the second boost circuit, the following steps are taken: The wireless charging method according to feature 1.
3. The step of performing an encryption process on the verification data based on the aforementioned pre-set encryption algorithm to generate an encryption result is: If the amount of electricity in the power supply device is greater than a first preset value, the process includes the step of 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 feature 1.
4. A wireless charging method, applied to a device to be charged, wherein the device to be charged includes a wireless charging chip, and the method is If a power supply device is detected, the steps include 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, the step of sending verification data to the power supply device, The steps include receiving the encryption result for the verification data returned from the power supply device and verifying the encryption result, If the encryption result passes verification, the step of sending a verification success message to the power supply device, After the encryption result has passed verification, the communication connection between the power supply device and the device to be charged is disconnected. The steps include establishing a communication connection with the power supply device again based on the wireless charging chip, The steps include sending 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, the step of sending a verification success message to the power supply device again, The steps include, in this order, receiving 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 method characterized by the following features.
5. The aforementioned method, The step further includes supplying 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, The wireless charging method according to feature 4.
6. The aforementioned method, If the aforementioned communication connection is disconnected, the charging status indicator displayed on the screen of the device to be charged does not change. The wireless charging method according to feature 4.
7. The step of sending verification data to the power supply device is: The step of 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, The wireless charging method according to feature 4.
8. A wireless charging device, 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, wherein the battery is connected to the wireless power supply chip via the first boost circuit and the second boost circuit, respectively. The aforementioned device is A first enable module for enabling the first boost circuit so that the battery supplies power to the wireless power supply chip based on the first boost circuit, If it is detected that the device to be charged has been accessed, a detection module is used to establish a communication connection with the device to be charged based on the wireless power supply chip, When a communication connection is established with the device to be charged and verification data transmitted from the device to be charged is received, an encryption module is provided to perform encryption processing on the verification data based on a pre-configured encryption algorithm and generate an encrypted 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, When a verification success message is received from the device to be charged, a receiving module for disabling the first boost circuit is provided. A second enable module for enabling the second boost circuit after the first boost circuit has been disabled, so that the battery supplies power to the wireless power supply chip based on the second boost circuit, A charging module for charging the device to be charged with a voltage supplied by the second boost circuit based on the wireless power supply chip, A wireless charging device characterized by the following features.
9. A wireless charging device, which is applied to a device to be charged, the device to be charged includes a wireless charging chip, and the device is If a power supply device is detected, a detection module is used to establish 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, a first transmission module for transmitting verification data to the power supply device while a communication connection has been established with the device to be charged, A receiving module for receiving the encryption result of the verification data returned from the power supply device and verifying the encryption result, If the encryption result passes verification, a second transmission module for sending a verification success message to 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, a communication connection is re-established with the power supply device based on the wireless charging chip, verification data is sent to the power supply device again, the encryption result returned from the power supply device is verified, and if the encryption result passes verification, a verification success message is sent to the power supply device again by a communication module. After the verification success message is sent again, a charging module is included to receive electrical energy transmitted by the power supply device at the target charging power, thereby causing the device to be charged to enter a charging state. A wireless charging device characterized by the following features.
10. It is an electronic device, Processor and Includes a memory for storing instructions that can be executed by the processor, The processor is configured to execute the wireless charging method described in any one of claims 1 to 3, or the wireless charging method described in any one of claims 4 to 7, by executing the executable instructions. An electronic device characterized by the following features.
11. A computer-readable storage medium in which a computer program is stored, wherein when the computer program is executed by a processor, the wireless charging method described in any of claims 1 to 3 or the wireless charging method described in any of claims 4 to 7 is realized. A computer-readable storage medium characterized by the following features.