Charging control method and device, electronic equipment and storage medium
By forming a first path for wireless reverse charging in the electronic device, and directly using the electrical energy of the external charging device for wireless reverse charging, the problem of low power utilization in the prior art is solved, and more efficient power utilization and battery life are achieved.
Patent Information
- Application Number
- CN202311597540.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-05-27
AI Technical Summary
The prior art solution of storing electrical energy into a battery and then wirelessly charging reduces the utilization rate of electricity.
By responding to the wireless reverse charging demand of the electronic device, the electrical connection status of the charging interface and the external charging device is obtained, and the electronic device is controlled to perform wireless reverse charging through the first path formed by the charging interface, the switch switching module and the wireless charging module.
It improves the utilization rate of electricity and extends the battery life, avoiding the process of electricity passing through the battery.
Smart Images

Figure CN120049543A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of control technologies, and in particular, to a charging control method, apparatus, electronic device, and storage medium. Background Art
[0002] More and more electrical loads are carried by electronic devices, and the capacity of their batteries is getting larger and larger. To facilitate charging, electronic devices are configured with various charging methods, such as wired charging, fast charging, wireless charging, and so on.
[0003] In related technologies, when an electronic device has a wired charging method, it can charge the battery through the wired charging method; when the electronic device has a wireless charging method, it can convert the electrical energy of the battery into an alternating current signal and then radiate it into space.
[0004] However, the solution of storing electrical energy in the battery and then performing wireless charging in related technologies reduces the utilization rate of electrical energy. Summary of the Invention
[0005] The present disclosure provides a charging control method, apparatus, electronic device, and storage medium to solve the above technical problems.
[0006] According to a first aspect of the present disclosure, there is provided a charging control method, including:
[0007] In response to a wireless reverse charging requirement of the electronic device, obtaining whether the charging interface of the electronic device is electrically connected to an external charging device;
[0008] In response to the charging interface being electrically connected to the external charging device, controlling the electronic device to perform wireless reverse charging through a first path; the first path includes the charging interface, a switch switching module, and a wireless charging module.
[0009] Optionally, controlling the electronic device to perform wireless reverse charging through the first path includes:
[0010] Controlling the charging voltage of the wired charging mode in the electronic device to be a first preset voltage;
[0011] In response to the charging voltage of the wired charging mode being the first preset voltage, controlling the wireless charging module of the electronic device to be in a working state to form the first path;
[0012] Controlling the wireless charging module to perform wireless reverse charging according to the first preset voltage.
[0013] Optionally, the method further includes:
[0014] In response to the charging interface not being connected to the external charging device, control the electronic device to perform wireless reverse charging through a second path; the second path includes a battery, a power management module, a switch switching device module, and a wireless charging module.
[0015] Optionally, controlling the electronic device to perform wireless reverse charging through a second path includes:
[0016] Control the power management module of the electronic device to switch to the working state and control the wireless charging module of the electronic device to be in the working state to form the second path;
[0017] Control the power management module to perform buck-boost processing on the battery voltage to obtain a DC voltage;
[0018] Control the wireless charging module to perform wireless reverse charging according to the DC voltage.
[0019] Optionally, the method further includes:
[0020] Control the charge pump module of the electronic device to charge the battery.
[0021] According to a second aspect of the present disclosure, a charging control device is provided, including:
[0022] An interface state acquisition module, configured to acquire whether the charging interface of the electronic device is electrically connected to an external charging device in response to a wireless reverse charging requirement of the electronic device;
[0023] A wireless reverse charging control module, configured to control the electronic device to perform wireless reverse charging through a first path in response to the charging interface being electrically connected to the external charging device; the first path includes the charging interface, a switch switching module, and a wireless charging module.
[0024] Optionally, the wireless reverse charging control module includes:
[0025] A charging voltage control unit, configured to control the charging voltage of the wired charging mode in the electronic device to be a first preset voltage;
[0026] A first path control unit, configured to control the wireless charging module of the electronic device to be in the working state to form the first path in response to the charging voltage of the wired charging mode being the first preset voltage;
[0027] Control the wireless charging module to perform wireless reverse charging according to the first preset voltage.
[0028] Optionally, the device further includes:
[0029] A second path control module, configured to control the electronic device to perform wireless reverse charging through a second path in response to the charging interface not being connected to the external charging device; the second path includes a battery, a power management module, a switch switching device module, and a wireless charging module.
[0030] Optionally, the second path control module includes:
[0031] A second path control unit, configured to control the power management module of the electronic device to switch to a working state and control the wireless charging module of the electronic device to be in a working state to form the second path;
[0032] A DC voltage acquisition unit, configured to control the power management module to perform buck-boost processing on the battery voltage to obtain a DC voltage;
[0033] A reverse charging control unit, configured to control the wireless charging module to perform wireless reverse charging according to the DC voltage.
[0034] Optionally, the device further includes:
[0035] A charge pump charging module, configured to control the charge pump module of the electronic device to charge the battery.
[0036] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0037] A processor and a memory; the memory is used to store a computer program executable by the processor;
[0038] Wherein, the processor is configured to execute the computer program in the memory to implement the method according to any one of the first aspect.
[0039] Optionally, the electronic device further includes a charging interface, a switch switching module, and a wireless charging module; the charging interface is electrically connected to the switch switching module, and the switch switching module is electrically connected to the wireless charging module;
[0040] The processor is further configured to control the charging interface, the switch switching module, and the wireless charging module to form a first path for wireless reverse charging in response to the electronic device having a wireless reverse charging requirement and the charging interface being electrically connected to the external charging device.
[0041] Optionally, the electronic device further includes a charge pump module, and the charge pump module is respectively electrically connected to the switch switching module, the wireless charging module, and the battery;
[0042] The processor is further configured to control the charge pump module of the electronic device to charge the battery.
[0043] Optionally, the electronic device further includes a power management module, which is electrically connected to the switch switching module and the battery respectively;
[0044] The processor is further configured to, in response to a wireless reverse charging requirement of the electronic device and the charging interface not being connected to an external charging device, control the power management module and the wireless charging module to form a second path for wireless reverse charging.
[0045] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium, which can implement the method according to any one of the first aspects when the executable computer program in the storage medium is executed by a processor.
[0046] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0047] The solution provided in this embodiment can, in response to a wireless reverse charging requirement of the electronic device, obtain whether the charging interface of the electronic device is electrically connected to an external charging device; then, in response to the charging interface being electrically connected to the external charging device, control the electronic device to perform wireless reverse charging through a first path; the first path includes the charging interface, the switch switching module, and the wireless charging module. In this way, this embodiment forms a first path for wireless reverse charging through the charging interface, the switch switching module, and the wireless charging module, without first charging the battery and then converting the energy of the battery for wireless reverse charging, which can improve the power utilization rate and extend the service life of the battery.
[0048] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a block diagram of an electronic device according to an embodiment of the present disclosure.
[0050] Figure 2 It is a block diagram of an electronic device performing wireless reverse charging through a first path according to an embodiment of the present disclosure.
[0051] Figure 3 It is a block diagram of an electronic device performing wireless reverse charging through a second path according to an embodiment of the present disclosure.
[0052] Figure 4 It is a block diagram of an electronic device performing wired charging through a wired charging channel according to an embodiment of the present disclosure.
[0053] Figure 5 It is a block diagram of an electronic device performing wired charging through a wired fast charging path according to an embodiment of the present disclosure.
[0054] Figure 6 Flowchart of a charging control method according to an embodiment of the present disclosure.
[0055] Figure 7 Block diagram of an electronic device according to an embodiment of the present disclosure. Detailed implementation manners
[0056] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0057] Considering that the wireless reverse charging scheme in the related art requires battery transfer, resulting in low power utilization efficiency and reducing the service life of the battery.
[0058] To solve the above technical problems, an embodiment of the present disclosure provides an electronic device. Figure 1 Structural schematic diagram of an electronic device according to an embodiment of the present disclosure. Refer to Figure 1 , the electronic device 10 includes a processor (not shown in the figure), a battery 11, a power management module 12, a charge pump module 13, a switch switching module 14, a charging interface 15, and a wireless charging module 16.
[0059] In one example, the processor can be implemented by a device with processing functions such as a single-chip microcomputer, a DSP, or an FPGA. When it is used to obtain whether the electronic device has a need for wireless reverse charging and whether the charging interface is electrically connected to an external charging device, it then selects a charging path according to the obtained result to achieve the effect of controlling the charging and discharging of the electronic device.
[0060] In one example, the battery 11 can be implemented by at least one battery cell or capacitor, and can be selected according to the specific scenario when it can store electrical energy, which is not limited herein.
[0061] In one example, the power management module 12 can be implemented by a power management chip. The power management chip can include a Boost circuit and a Buck circuit to achieve power conversion functions such as DC-DC, AC-DC, and DC-AC. When the above functions can be achieved, the corresponding power management chips fall within the protection scope of the present disclosure.
[0062] In one example, the charge pump module 13 can be composed of a plurality of switching devices and a plurality of capacitors. For example, a plurality of switching devices can be controlled to be turned on or off, so that the plurality of capacitors are charged in series to charge with a high voltage; then, the plurality of switching devices are controlled to be turned on or off, so that the plurality of capacitors are discharged in parallel to charge with a large current, thereby accelerating the charging speed.
[0063] It should be noted that, to improve the cleanliness of the drawings, the pins of the above-mentioned power management module 12, charge pump module 13, switch switching module 14, charging interface 15, and wireless charging module 16 are represented in gray scale. For example, the pins of the power management module 12 such as WLS_IN, USB_IN, VRE_BOB, WLS_nEN, PMID, Vbat, VPH_PWR, VSW, etc., for example, the pins in the charge pump module 13 such as VBUS, VUSB, VWPC, WPC_gate, PMID, Vout, C1PA, C2PA, and C3PA, etc., the pins of the wireless charging module 16 such as AC1, AC2, Sleep, Vout, Vout, I2C, and GPIO, etc. The above-mentioned pins maintain their original functions and are not changed in the present disclosure.
[0064] In one example, the wireless charging module 16 can be implemented by a wireless TX / RX chip, which can implement power conversion functions such as AC-DC, DC-AC, or AC-AC. In the case where the above functions can be implemented, the corresponding wireless TX / RX chips all fall within the protection scope of the present disclosure.
[0065] In one example, the charging interface 15 is electrically connected to the switch switching module 14, and the switch switching module 14 is electrically connected to the wireless charging module 16. When the switch switching module 14 is turned on, the charging interface 15 is electrically connected to the wireless charging module 16, thereby forming a first path for wireless reverse charging. Among them, wireless reverse charging means that the electronic device acts as an energy transmitting device, and radiates the electric energy in its own battery 11 into the space to wirelessly charge other devices. Among them, the circuit path during wireless reverse charging using the first path is as Figure 2 shown.
[0066] In one example, the charging interface 15 is electrically connected to the switch switching module 14, the switch switching module 14 is electrically connected to the power management module 12, and the power management module 12 is electrically connected to the battery 11. When the switch switching module 14 is turned on and the power management module 12 is in a working state, the charging interface 15, the switch switching module 14, the power management module 12, and the battery 11 can form a wired charging path. Or, the battery 11, the power management module 12, the switch switching module 14, and the charging interface 15 form a second path for wireless reverse charging. The difference between the second path and the first path is that the electric energy of the second path comes from the battery 11, while the electric energy of the first path comes from the charging interface 15.
[0067] In one example, referring to Figure 3 , the charging interface 15 is electrically connected to the switch switching module 14, the switch switching module 14 is electrically connected to the power management module 12, and the power management module 12 is electrically connected to the battery 11. When the switch switching module 14 is turned on and the power management module 12 is in the working state, the charging interface 15, the switch switching module 14, the power management module 12, and the battery 11 can form a wired charging path, and the current path of this wired charging path is as Figure 4 shown.
[0068] In one example, referring to Figure 5 , the charging interface 15 is electrically connected to the switch switching module 14, the switch switching module 14 is electrically connected to the charge pump module 13, and the charge pump module 13 is electrically connected to the battery. When the switch switching module 14 is turned on and the charge pump module 13 is activated, the charging interface 15, the switch switching module 14, the power management module 12, and the battery 11 can form a wired charging path, which is usually referred to as a fast charging path.
[0069] Combining the above analysis, the electronic device provided in this embodiment may include 2 wired charging paths and 2 wireless charging paths. On this basis, the embodiments of the present disclosure also provide a charging control method, referring to Figure 6 , including step 61 and step 62.
[0070] In step 61, in response to a wireless reverse charging requirement of the electronic device, it is determined whether the charging interface of the electronic device is electrically connected to an external charging device.
[0071] In this step, the processor of the electronic device can determine whether there is a need for wireless reverse charging. In one example, the processor can obtain the current state in the state machine; and the current state can include the state of whether there is wireless reverse charging, that is, whether there is a need for wireless reverse charging. Among them, the state machine includes at least one state that the processor needs to process. In another example, the processor can obtain the configuration data of the electronic device, and the configuration data includes the target configuration information for wireless reverse charging to other devices with a distance less than or equal to a preset distance. When it is detected that the above target configuration information is parsed from the configuration data, it can be determined that the electronic device has a need for wireless reverse charging. In yet another example, the processor can obtain the interaction operation information. The processor is electrically connected to the interaction device, and the interaction device can include a display, or a touch device provided inside the display, or an external interaction device (such as a button, etc.); when it is detected that the distance between another device and the electronic device is less than or equal to the preset distance, an interaction pop-up window can be displayed on the display of the electronic device. The interaction pop-up window can include prompt information such as whether to perform wireless reverse charging, a confirmation button indicating consent to wireless reverse charging, and / or a cancel button for rejecting wireless reverse charging; when it is detected that the interaction operation information of selecting the confirmation button is obtained, the processor can determine that the electronic device has a need for wireless reverse charging.
[0072] In this step, when it is confirmed that the electronic device has a need for wireless reverse charging, the processor can obtain whether the charging interface of the electronic device is electrically connected to an external charging device. Among them, the external charging device refers to a device that provides electrical energy for the electronic device, such as a charger, a laptop computer, and / or a power bank, etc. For example, the charging interface includes a pull-up resistor. When the voltage at the pull-up resistor is greater than or equal to a preset voltage, it can be determined that the charging interface of the electronic device is electrically connected to an external charging device; when the voltage at the pull-up resistor is less than the preset voltage, it can be determined that the charging interface of the electronic device is not electrically connected to an external charging device.
[0073] In step 62, in response to the charging interface being electrically connected to the external charging device, control the electronic device to perform wireless reverse charging through the first path; the first path includes the charging interface, a switch switching module, and a wireless charging module.
[0074] In this step, when it is determined that the charging interface is electrically connected to an external charging device, the processor can control the electronic device to perform wireless reverse charging through the first path.
[0075] In one example, when the electronic device performs wireless reverse charging through the second channel, the processor may disconnect the second channel, for example, turn off the power management module (PMIC); then, the processor and the external charging device may coordinate according to a preset charging protocol (such as the PD protocol or the fast charging protocol, etc.), and may adjust the charging voltage of the wired charging mode to a first preset voltage, which may be 5V, 9V, etc., and may be adjusted according to the specific scenario, so as to meet the requirements of wireless reverse charging. When it is detected that the charging voltage of the wired charging mode is the first preset voltage, the processor may control the wireless charging module (such as the RX chip) of the electronic device to switch to the working state. At this time, the charging interface, the switch switching module, and the wireless charging module may form a first path; then, the processor may control the wireless charging module to convert the first preset voltage into an alternating current voltage and output it to the transmitting coil of the electronic device, and the transmitting coil may radiate electromagnetic waves into the space, that is, the wireless charging module may be controlled to perform wireless reverse charging according to the first preset voltage.
[0076] In another example, when the electronic device does not have wireless reverse charging but has a wireless reverse charging requirement, the processor and the external charging device may coordinate according to a preset charging protocol (such as the PD protocol or the fast charging protocol, etc.), and adjust the charging voltage of the wired charging mode to a first preset voltage, which may be 5V, 9V, etc., and may be adjusted according to the specific scenario, so as to meet the requirements of wireless reverse charging. When it is detected that the charging voltage of the wired charging mode is the first preset voltage, the processor may control the wireless charging module (such as the RX chip) of the electronic device to switch to the working state. At this time, the charging interface, the switch switching module, and the wireless charging module may form a first path; then, the processor may control the wireless charging module to convert the first preset voltage into an alternating current voltage and output it to the transmitting coil of the electronic device, and the transmitting coil may radiate electromagnetic waves into the space, that is, the wireless charging module may be controlled to perform wireless reverse charging according to the first preset voltage.
[0077] In one example, considering that the charging interface is electrically connected to the external charging device, the processor may control the power management module to switch to the working state. At this time, the charging interface, the switch switching module, the power management module, and the battery may form a wired charging path. In this way, the electronic device may charge the battery through the above-mentioned wired charging path. That is to say, the electronic device may synchronously adopt the wired charging mode for charging during the wireless reverse charging process, which is beneficial to improving the charging efficiency of the electronic device.
[0078] In one example, during the wireless reverse charging process, the processor may control the charge pump module to switch to the working state. At this time, the charging interface, the switch switching module, the charge pump module, and the battery constitute a wired fast charging path, and at this time, the processor may charge the battery according to the electronic device passing through the wired fast charging path.
[0079] In one example, when it is detected that the charging interface is not connected to an external charging device, the processor may control the electronic device to perform reverse charging through a second path. For example, the processor may control the power management module of the electronic device to switch to the working state and control the wireless charging module of the electronic device to be in the working state, so as to form a second path including the battery, the power management module, the switch switching device module, and the wireless charging module; then, the processor may control the power management module to perform buck-boost processing on the battery voltage. For example, the power management module may use a Boost circuit to boost the battery voltage or use a Buck circuit to reduce the battery voltage to obtain a DC voltage; finally, the processor may control the wireless charging module to perform wireless reverse charging according to the above DC voltage.
[0080] So far, the solution provided in this embodiment can, in response to the wireless reverse charging requirement of the electronic device, obtain whether the charging interface of the electronic device is electrically connected to an external charging device; then, in response to the charging interface being electrically connected to the external charging device, control the electronic device to perform wireless reverse charging through a first path; the first path includes the charging interface, the switch switching module, and the wireless charging module. In this way, this embodiment forms the first path for wireless reverse charging through the charging interface, the switch switching module, and the wireless charging module, without first charging the battery and then converting the energy of the battery for wireless reverse charging, which can improve the power utilization rate and extend the battery life.
[0081] Based on the charging control method provided in the embodiments of the present disclosure, the embodiments of the present disclosure further provide a charging control device, including:
[0082] An interface state acquisition module, configured to, in response to the wireless reverse charging requirement of the electronic device, obtain whether the charging interface of the electronic device is electrically connected to an external charging device;
[0083] A wireless reverse charging control module, configured to, in response to the charging interface being electrically connected to the external charging device, control the electronic device to perform wireless reverse charging through a first path; the first path includes the charging interface, the switch switching module, and the wireless charging module.
[0084] In one embodiment, the wireless reverse charging control module includes:
[0085] A charging voltage control unit, configured to control the charging voltage of the wired charging mode in the electronic device to be a first preset voltage;
[0086] A first path control unit, configured to, in response to the charging voltage of the wired charging mode being the first preset voltage, control the wireless charging module of the electronic device to be in the working state to form the first path;
[0087] Control the wireless charging module to perform wireless reverse charging according to the first preset voltage.
[0088] In one embodiment, the device further includes:
[0089] A second path control module, configured to control the electronic device to perform wireless reverse charging through a second path in response to the charging interface not being connected to the external charging device; the second path includes a battery, a power management module, a switch switching device module, and a wireless charging module.
[0090] In one embodiment, the second path control module includes:
[0091] A second path control unit, configured to control the power management module of the electronic device to switch to a working state and control the wireless charging module of the electronic device to be in a working state to form the second path;
[0092] A DC voltage acquisition unit, configured to control the power management module to perform buck-boost processing on the battery voltage to obtain a DC voltage;
[0093] A reverse charging control unit, configured to control the wireless charging module to perform wireless reverse charging according to the DC voltage.
[0094] In one embodiment, the device further includes:
[0095] A charge pump charging module, configured to control the charge pump module of the electronic device to charge the battery.
[0096] It should be noted that the device embodiments shown in this embodiment match the content of the above method embodiments, and the content of the above method embodiments can be referred to and will not be elaborated here.
[0097] Figure 7 It is a block diagram of an electronic device shown according to an exemplary embodiment. For example, the electronic device 700 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0098] Referring to Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, a communication component 716, and an image acquisition component 718.
[0099] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute computer programs. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702. In one example, the processor 720 may implement the solution of the above power supply control method.
[0100] The memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of such data include computer programs for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0101] The power component 706 provides power to various components of the electronic device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 700. The power component 706 may include a power chip, and the controller can communicate with the power chip to control the power chip to turn on or off the first switching device, so that the battery supplies power to the main board circuit or not.
[0102] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the target object.
[0103] In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input information from the target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation.
[0104] The audio component 710 is configured to output and / or input audio file information. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio file information when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio file information can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio file information.
[0105] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc.
[0106] The sensor component 714 includes one or more sensors for providing an assessment of the status of various aspects of the electronic device 700. For example, the sensor component 714 can detect the on / off state of the electronic device 700, the relative positioning of components, such as the display screen and keypad of the electronic device 700. The sensor component 714 can also detect a change in the position of the electronic device 700 or a component, the presence or absence of contact between a target object and the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. In this example, the sensor component 714 can include a magnetic sensor, a gyroscope, and a magnetic field sensor, and can also include an inertial sensor, an image sensor, etc. The magnetic field sensor includes at least one of the following: a Hall sensor, a thin film magnetoresistive sensor, and a magnetic fluid acceleration sensor.
[0107] The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a wireless network based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0108] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0109] In an exemplary embodiment, the embodiments of the present disclosure further provide a non-transitory computer-readable storage medium. When the executable computer program in the storage medium is executed by a processor, the above-described method can be implemented.
[0110] In an exemplary embodiment, a chip is further provided. The chip includes a processor and an interface, and is configured to read a computer program through the interface to implement the above-described method. Wherein, the chip may be a conventional CPU (central processing unit) chip, a GPU (graphics processing unit) chip, etc., or may be an acceleration chip dedicated to artificial intelligence technology, such as an AI (Artificial Intelligence) accelerator, etc.
[0111] After considering the specification and practicing the disclosure herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0112] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A charging control method, characterized in that, it includes: In response to the wireless reverse charging requirement of the electronic device, obtain whether the charging interface of the electronic device is electrically connected to an external charging device; In response to the charging interface being electrically connected to the external charging device, control the electronic device to perform wireless reverse charging through a first path; the first path includes the charging interface, a switch switching module, and a wireless charging module.
2. The method according to claim 1, characterized in that, Controlling the electronic device to perform wireless reverse charging through the first path includes: Controlling the charging voltage of the wired charging mode in the electronic device to be a first preset voltage; In response to the charging voltage of the wired charging mode being the first preset voltage, control the wireless charging module of the electronic device to be in a working state to form the first path; Control the wireless charging module to perform wireless reverse charging according to the first preset voltage.
3. The method according to claim 1, characterized in that, The method further includes: In response to the charging interface not being connected to the external charging device, control the electronic device to perform wireless reverse charging through a second path; the second path includes a battery, a power management module, a switch switching device module, and a wireless charging module.
4. The method according to claim 3, characterized in that, Controlling the electronic device to perform wireless reverse charging through the second path includes: Controlling the power management module of the electronic device to switch to a working state and controlling the wireless charging module of the electronic device to be in a working state to form the second path; Control the power management module to perform buck-boost processing on the battery voltage to obtain a DC voltage; Control the wireless charging module to perform wireless reverse charging according to the DC voltage.
5. The method according to claim 1, characterized in that, The method further includes: Control the charge pump module of the electronic device to charge the battery.
6. A charging control device, characterized in that, it includes: An interface status acquisition module, configured to obtain whether the charging interface of the electronic device is electrically connected to an external charging device in response to the wireless reverse charging requirement of the electronic device; A wireless reverse charging control module, configured to control the electronic device to perform wireless reverse charging through a first path in response to the charging interface being electrically connected to the external charging device; the first path includes the charging interface, a switch switching module, and a wireless charging module.
7. The device according to claim 6, characterized in that, The wireless reverse charging control module includes: A charging voltage control unit, configured to control the charging voltage of the wired charging mode in the electronic device to be a first preset voltage; A first path control unit, configured to control the wireless charging module of the electronic device to be in a working state to form the first path in response to the charging voltage of the wired charging mode being the first preset voltage; Control the wireless charging module to perform wireless reverse charging according to the first preset voltage.
8. The device according to claim 7, characterized in that, The device further includes: A second path control module, configured to control the electronic device to perform wireless reverse charging through a second path in response to the charging interface not being connected to the external charging device; the second path includes a battery, a power management module, a switch switching device module, and a wireless charging module.
9. The apparatus according to claim 8, wherein, the second path control module includes: A second path control unit, configured to control the power management module of the electronic device to switch to a working state and control the wireless charging module of the electronic device to be in a working state, so as to form the second path; A DC voltage acquisition unit, configured to control the power management module to perform step-up and step-down processing on the battery voltage to obtain a DC voltage; A reverse charging control unit, configured to control the wireless charging module to perform wireless reverse charging according to the DC voltage.
10. The apparatus according to claim 6, wherein, the apparatus further includes: A charge pump charging module, configured to control the charge pump module of the electronic device to charge the battery.
11. An electronic device, wherein, includes: A processor and a memory; The memory is used to store a computer program executable by the processor; wherein, the processor is configured to execute the computer program in the memory to implement the method according to any one of claims 1 to 5.
12. The electronic device according to claim 11, wherein, the electronic device further includes a charging interface, a switch switching module, and a wireless charging module; the charging interface is electrically connected to the switch switching module, and the switch switching module is electrically connected to the wireless charging module; The processor is further configured to control the charging interface, the switch switching module, and the wireless charging module to form a first path in response to the electronic device having a wireless reverse charging requirement and the charging interface being electrically connected to the external charging device, and the first path is used for wireless reverse charging.
13. The electronic device according to claim 12, wherein, the electronic device further includes a charge pump module, and the charge pump module is respectively electrically connected to the switch switching module, the wireless charging module, and the battery; The processor is further configured to control the charge pump module of the electronic device to charge the battery.
14. The electronic device according to claim 13, wherein, the electronic device further includes a power management module, and the power management module is respectively electrically connected to the switch switching module and the battery; The processor is further configured to control the power management module and the wireless charging module to form a second path in response to the electronic device having a wireless reverse charging requirement and the charging interface not being connected to the external charging device, and the second path is used for wireless reverse charging.
15. A non-transitory computer-readable storage medium, wherein, when the executable computer program in the storage medium is executed by a processor, it can implement the method according to any one of claims 1 to 5.