Detailed Description
In order to make the objects, technical solutions and technical effects of the present application clearer and clearer, the following further detailed description of the present application should be understood that the specific embodiments described herein are only used for explaining the present application and are not used for limiting the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a charging method provided in an embodiment of the present application, which is applied to a mobile terminal, and a specific flow of the charging method may be as follows:
s101: when the electric quantity of the battery of the mobile terminal is lower than a first preset electric quantity, whether a charger is inserted into the mobile terminal is detected, if yes, S102 is executed, and if not, no processing is carried out.
In this embodiment, when the power of the battery of the mobile terminal is lower than a first preset power (e.g., 10% of full power), the battery of the mobile terminal may be considered to be in a low power state. And, in order to avoid the power of the battery from further decreasing to cause the shutdown of the mobile terminal, the user may insert a charger into the mobile terminal to charge the battery with the output power obtained by the charger from the external power source.
In an embodiment, since the voltage of the battery (e.g., a lithium battery) generally decreases as the charge of the battery decreases, the remaining charge of the battery can be roughly determined by the voltage of the battery, and specifically, before S101, the method may include:
step A: a voltage of a battery of the mobile terminal is detected.
And B: and judging whether the voltage of the battery of the mobile terminal is lower than a preset voltage threshold value or not.
When the voltage of the battery of the mobile terminal is lower than a preset voltage threshold (e.g., 3.2V), the battery of the mobile terminal may be considered to be in a low-power state. Specifically, taking a battery of the mobile terminal as an ordinary lithium battery as an example, the voltage (i.e., full-charge voltage) of the lithium battery when the lithium battery is fully charged is generally 4.2V, and when the voltage is lower than 3.2V, the electric quantity of the lithium battery is already low, and then continues to be reduced, so that the mobile terminal is instantly shut down due to too low voltage.
Further, S101 may specifically include: whether the charger is inserted into the mobile terminal is detected when the voltage of the battery is lower than a preset voltage threshold, and, in particular, whether the charger is inserted into the mobile terminal may be detected once every preset time period (e.g., 1 minute).
S102: before charging the battery, the virtual power storage module is charged with the output power acquired by the charger from the external power supply.
A scene schematic diagram of the charging system provided in this embodiment of the present application may be as shown in fig. 2, where the charging system may include a mobile terminal, a charger inserted into the mobile terminal, and an external Power source electrically connected to the charger, and the mobile terminal may include a virtual Power storage module, a battery, and a PMIC (Power management Integrated Circuit, also referred to as a Power management chip), where the virtual Power storage module may be any device or module capable of rapidly storing electric energy, for example, a super capacitor or a superconducting magnetic energy storage device for rapidly storing electric energy, and the PMIC is used to convert electric energy into various voltages and currents required by each module of the mobile terminal.
Specifically, compare with mobile terminal's battery, the charge-discharge time of above-mentioned virtual electricity storage module shortens greatly, so, through before utilizing the output electric quantity that the charger obtained from external power source to charge mobile terminal's battery, utilize the output electric quantity that this charger obtained to charge the virtual electricity storage module in the mobile terminal earlier, can be favorable to the quick storage of electric energy.
In addition, before the battery is charged, the virtual power storage module is charged by using the output power acquired by the charger from the external power supply, and the mobile terminal and the charger are also supplied with power by using the power of the battery. Furthermore, with reference to fig. 2, an arrow in fig. 2 illustrates a current direction in the charging system, when the electric quantity stored in the virtual electricity storage module is sufficient, the virtual electricity storage module can replace the battery of the mobile terminal to supply power to the mobile terminal (i.e., PMIC), and can also charge the battery of the mobile terminal, thereby avoiding the problem that the mobile terminal is shut down due to too low battery electric quantity.
S103: and at the moment of charging the battery, the mobile terminal is powered by the charged electric quantity in the charged virtual electricity storage module, and the battery is charged.
In an embodiment, the S103 may specifically include: at the moment of charging the battery, the mobile terminal and the charger are powered by part of the charged electric quantity in the virtual electricity storage module, and the battery is charged by the residual charged electric quantity.
Specifically, before the battery is charged, that is, before the battery is charged, the charging capacity in the virtual power storage module is not high enough, for example, the output voltage of the virtual power storage module is lower than the sum of the operating voltage of the mobile terminal and the operating voltage of the charger, so that the virtual power storage module cannot replace the battery of the mobile terminal to supply power to the mobile terminal and the charger before the battery is charged. However, after charging for a period of time, the charging capacity in the virtual power storage module is sufficient at a moment (i.e., at the instant of charging the battery), for example, the output voltage of the virtual power storage module is not lower than the sum of the operating voltage of the mobile terminal and the operating voltage of the charger, so that the virtual power storage module can replace the battery of the mobile terminal to supply power to the mobile terminal and the charger, and the remaining charging capacity can be used for charging the battery, so as to avoid the problem that the battery is too low at the instant of charging to cause shutdown of the mobile terminal.
In some alternative embodiments, as shown in fig. 3, after the above S102, the method may further include:
s104: at the moment of charging the battery, when the electric quantity of the battery is lower than a first preset electric quantity and higher than a second preset electric quantity, the electric quantity of the battery is utilized to supply power to the charger, wherein the second preset electric quantity is smaller than the first preset electric quantity.
Specifically, when the charging electric quantity in the virtual electric storage module meets the requirement of the first-level electric quantity, for example, the output voltage (for example, 0.2V) of the virtual electric storage module is not lower than the working voltage (for example, 0.1V) of the mobile terminal, it may be detected whether the electric quantity of the battery is lower than a first preset electric quantity (10% of full charge) and higher than a second preset electric quantity (5% of full charge), if so, it may be considered that the charging moment of the battery has arrived, and the mobile terminal may be powered and the battery may be charged by the charging electric quantity in the charged virtual electric storage module, and at the same time, the charger may be powered by the electric quantity of the battery, and if not, it may be considered that the charging moment of the battery has not arrived.
S105: and at the moment of charging the battery, when the electric quantity of the battery is lower than a second preset electric quantity, the charger is powered by the charged electric quantity in the charged virtual electricity storage module.
Specifically, when the charging electric quantity in the virtual electric storage module meets the requirement of the second level electric quantity, for example, the output voltage (e.g., 0.5V) of the virtual electric storage module is not lower than the sum of the operating voltage (e.g., 0.1V) of the mobile terminal and the operating voltage (e.g., 0.2V) of the charger, it may be detected whether the electric quantity of the battery is lower than a second preset electric quantity (5% of full charge), if so, it may be considered that the charging moment of the battery has been reached, and the mobile terminal and the charger may be powered and charged by the charging electric quantity in the charged virtual electric storage module, and if not, it may be considered that the charging moment of the battery has not been reached.
So, in the twinkling of an eye through charging at the battery, according to the different residual capacity condition of mobile terminal's battery, adopt different power supply modes to the charger, be favorable to utilizing the electric quantity of charging in the virtual electricity storage module more quickly to charge mobile terminal's battery to avoid because battery electric quantity crosses the problem that leads to mobile terminal to shut down excessively.
In other embodiments, as shown in fig. 3, after S103, the method may further include:
s106: and when the electric quantity of the battery is higher than a third preset electric quantity, the battery is charged by utilizing the output electric quantity acquired by the charger from the external power supply, and the mobile terminal and the charger are powered by utilizing the electric quantity of the battery, wherein the third preset electric quantity is larger than the first preset electric quantity.
Specifically, when it is detected that the electric quantity of the battery is higher than a third preset electric quantity (for example, 20% of full charge), it may be considered that the battery of the mobile terminal can supply power to the mobile terminal and the charger for a longer time without a shutdown problem of the mobile terminal due to low battery electric quantity, and the virtual electric shock module may be controlled not to supply power to the mobile terminal and/or the charger any more, but to supply power to the mobile terminal and the charger using the electric quantity of the battery.
Different from the prior art, the charging method in this embodiment is applied to a mobile terminal, and detects whether a charger is inserted into the mobile terminal when the electric quantity of a battery of the mobile terminal is lower than a first preset electric quantity, and charges a virtual power storage module by using the output electric quantity acquired by the charger from an external power supply before charging the battery when the charger is inserted into the mobile terminal, and then supplies power to the mobile terminal and charges the battery by using the charged electric quantity in the charged virtual power storage module at the charging instant of the battery, so that when the battery of the mobile terminal is in a low-electric-quantity state, the output electric quantity acquired by the charger from the external power supply can be quickly provided to the mobile terminal, so that the electric quantity of the battery is not consumed at the charging instant of the battery by the mobile terminal, and thus avoiding instant shutdown, short-term shutdown, or short-term shutdown of the mobile terminal due to increase in the electric quantity of the battery after the charger is inserted into the mobile terminal, And the problem that communication information is easy to lose.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a charging device according to an embodiment of the present disclosure. As shown in fig. 4, the charging storage device 50 may be specifically integrated in a mobile terminal, and includes:
(1) detection module 51
The detecting module 51 is configured to detect whether a charger is plugged into the mobile terminal when the power of the battery of the mobile terminal is lower than a first preset power.
(2) First charging module 52
The first charging module 52 is configured to charge the virtual power storage module with the output power obtained by the charger from the external power source before charging the battery when the charger is detected to be plugged into the mobile terminal.
(3) Second charging module 53
The second charging module 53 is configured to, at the moment of charging the battery, utilize the charged electric quantity in the charged virtual electricity storage module to supply power to the mobile terminal and charge the battery.
In one embodiment, the second charging module 53 may be specifically configured to: at the moment of charging the battery, the mobile terminal and the charger are powered by part of the charged electric quantity in the virtual electricity storage module, and the battery is charged by the residual charged electric quantity.
In some embodiments, the charging device 50 may further include:
(4) first power supply module
The first power supply module is used for supplying power to the mobile terminal and the charger by using the electric quantity of the battery before charging the battery.
In other embodiments, the charging device 50 may further include:
(5) second power supply module
And the second power supply module is used for supplying power to the charger by using the electric quantity of the battery when the electric quantity of the battery is lower than the first preset electric quantity and higher than the second preset electric quantity at the charging moment of the battery, wherein the second preset electric quantity is smaller than the first preset electric quantity.
(6) Third power supply module
And the third power supply module is used for supplying power to the charger by using the charging electric quantity in the charged virtual power storage module when the electric quantity of the battery is lower than the second preset electric quantity at the charging moment of the battery.
In some embodiments, the first charging module 52 may further be configured to: and after the charging moment of the battery, when the electric quantity of the battery is higher than a third preset electric quantity, the battery is charged by utilizing the output electric quantity acquired by the charger from the external power supply, and the mobile terminal and the charger are powered by utilizing the electric quantity of the battery, wherein the third preset electric quantity is larger than the first preset electric quantity.
Different from the prior art, the charging device in this embodiment is applied to a mobile terminal, and detects whether a charger is inserted into the mobile terminal when the electric quantity of a battery of the mobile terminal is lower than a first preset electric quantity, and charges a virtual electricity storage module by using the output electric quantity acquired by the charger from an external power source before charging the battery when the charger is inserted into the mobile terminal, and then supplies power to the mobile terminal by using the charged electric quantity in the charged virtual electricity storage module and charges the battery in the charging moment of the battery, so that when the battery of the mobile terminal is in a low-electric-quantity state, the output electric quantity acquired by the charger from the external power source can be quickly provided to the mobile terminal, so that the electric quantity of the battery is not consumed any more in the charging moment of the battery, and thus avoiding instant shutdown, short-circuit and short circuit of the mobile terminal caused by increase in electric quantity of the battery after the charger is inserted into the mobile terminal, And the problem that communication information is easy to lose.
Correspondingly, the embodiment of the application further provides the mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. As shown in fig. 5, the mobile terminal 800 includes a processor 801, a memory 802. The processor 801 is electrically connected to the memory 802.
The processor 801 is a control center of the mobile terminal 800, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 801 in the mobile terminal 800 loads instructions corresponding to processes of one or more application programs into the memory 802, and the processor 801 executes the application programs stored in the memory 802 according to the following steps, so as to implement various functions:
when the electric quantity of a battery of the mobile terminal is lower than a first preset electric quantity, detecting whether a charger is inserted into the mobile terminal;
if yes, before the battery is charged, the virtual electricity storage module is charged by using the output electric quantity acquired by the charger from the external power supply;
and at the moment of charging the battery, the mobile terminal is powered by the charged electric quantity in the charged virtual electricity storage module, and the battery is charged.
The mobile terminal may implement the steps in any embodiment of the charging method provided in the embodiment of the present application, and therefore, beneficial effects that can be achieved by any charging method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
Fig. 6 is a block diagram showing a specific structure of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be used to implement the charging method provided in the foregoing embodiment. This mobile terminal 900 may be an AR glasses, an AR helmet, an AR head-up display (HUD), a smartphone, or a laptop, among other devices.
The RF circuit 910 is used for receiving and transmitting electromagnetic waves, and interconverting the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. RF circuit 910 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 910 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE 802.2.access, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Microwave Access (Microwave for Wireless Communication), other suitable protocols for short message service (Max), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 920 may be used to store software programs and modules, such as program instructions/modules corresponding to the charging method in the foregoing embodiments, and the processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920, that is, functions of charging a backup battery, charging a battery, and the like. The memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 920 may further include memory located remotely from the processor 980, which may be connected to the mobile terminal 900 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 931 (e.g., operations by a user on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 940 may include a Display panel 941, and optionally, the Display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 931 can overlay display panel 941, and when touch operation is detected on or near touch-sensitive surface 931, processor 680 can determine the type of touch event, and processor 980 can then provide a corresponding visual output on display panel 941 according to the type of touch event. Although the touch-sensitive surface 931 and the display panel 941 are shown as two separate components to implement input and output functions, in some embodiments, the touch-sensitive surface 931 and the display panel 941 may be integrated to implement input and output functions.
The mobile terminal 900 may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 900, further description is omitted here.
The audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and the mobile terminal 900. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to another terminal via the RF circuit 910, or outputs the audio data to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 900.
The mobile terminal 900, which can assist the user in receiving requests, sending messages, etc., through a transmission module 970 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although the transmission module 970 is illustrated in the drawings, it is understood that it does not belong to the essential constitution of the mobile terminal 900 and can be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 980 is a control center of the mobile terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 900 and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile terminal. Optionally, processor 980 may include one or more processing cores; in some embodiments, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The mobile terminal 900 also includes a power supply 990 (e.g., a battery backup or battery) that provides power to the various components and, in some embodiments, may be logically connected to the processor 980 via a power management system that provides management of charging, discharging, and power consumption. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal 900 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the electric quantity of a battery of the mobile terminal is lower than a first preset electric quantity, detecting whether a charger is inserted into the mobile terminal;
if yes, before the battery is charged, the virtual electricity storage module is charged by using the output electric quantity acquired by the charger from the external power supply;
and at the moment of charging the battery, the mobile terminal is powered by the charged electric quantity in the charged virtual electricity storage module, and the battery is charged.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps of any embodiment of the charging method provided in the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any embodiment of the charging method provided in the embodiment of the present application, the beneficial effects that can be achieved by any charging method provided in the embodiment of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The charging method, the charging device, the storage medium, and the mobile terminal provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and implementations of the present application, and the description of the embodiments above is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.