Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal, which can be a mobile phone, a tablet computer, a notebook computer and other devices capable of installing an APP, and the embodiment of the disclosure does not limit the terminal. In the related technology, when the terminal is charged in a wireless mode, the terminal detects the current of wireless charging in real time, and when the current of wireless charging is larger than zero, a wireless charging icon is displayed; when the current of the wireless charging is equal to zero, the wireless charging is determined to be disconnected, at the moment, the wireless charging icon is forbidden to be displayed, and the alarm is controlled to send a charging disconnection signal. However, in the practical application process, when the electric quantity of the battery is close to the rated electric quantity, the current required by the battery is reduced, the current provided by the battery through wireless charging is also reduced, at the moment, if a user loads a high-power load, such as WeChat APP, Taobao APP and the like, because the current required by the high-power load is large, the current provided by the wireless charging is also increased, but the wireless charging system cannot increase the current in time, interruption will occur, at the moment, the terminal cannot detect the current of the wireless charging, so that the display screen can be controlled not to display a wireless charging icon, and a charging disconnection signal is sent out, if the user continuously opens the high-power load, the wireless charging icon can be continuously interrupted by the terminal, the charging disconnection signal is continuously sent out, and the user experience is reduced. In the technical scheme provided by the embodiment of the disclosure, in the wireless charging process, when the wireless charging is disconnected, when the battery capacity of the terminal is close to the preset capacity value, namely the battery of the terminal is about to be fully charged, if a user loads a high-power load to cause the wireless charging disconnection, the terminal can show the wireless charging state within the preset time period from the moment of the wireless charging disconnection, instead of forbidding showing the wireless charging state as long as the wireless charging disconnection occurs, so that the user experience is improved.
Fig. 1a is a flowchart illustrating a wireless charging exhibition method according to an exemplary embodiment, and as shown in fig. 1a, the wireless charging exhibition method includes the following steps 101 and 102:
in step 101, in the wireless charging process, when disconnection of wireless charging is detected, the battery capacity of the terminal is acquired.
Illustratively, the wireless charging module of the terminal comprises a wireless charging receiving coil, a wireless charging chip and a power management chip, the wireless charging receiving coil is connected with the input end of the power management chip through the wireless charging chip, the output end of the power management chip is connected with the battery of the terminal, the power management chip is also connected with the processor, the wireless charging receiving coil is used for receiving the electromagnetic signal transmitted by the wireless transmitting module, converting the received electromagnetic signal into a current signal and then transmitting the current signal to the wireless charging chip, the wireless charging chip inputs the received current signal to the battery through the power management chip to realize the wireless charging of the battery, and during the wireless charging process, the power management chip can detect the current value of the current signal received by the wireless charging chip in real time and transmit the detected current value of the current signal to the processor, the processor determines that the wireless charging is disconnected when determining that the current value of the received current signal is zero; the power management chip also detects the battery current and voltage of the terminal in real time, and sends the detected battery current and voltage values of the terminal to the processor, so that the processor determines the battery capacity according to the battery current and voltage, and the battery capacity of the terminal is obtained.
In step 102, when it is determined that the battery capacity of the terminal is close to the preset capacity value, the wireless charging state is displayed within a preset time period counted from the disconnection of the wireless charging.
The preset electric quantity value is a rated electric quantity value corresponding to the rated capacity of the battery; the preset time period is a predicted time period from the time when the wireless charging state is interrupted by mistake to the time when the battery electric quantity is close to the preset electric quantity value.
For example, when the processor receives the wireless charging disconnection signal, the battery current and the voltage value, the battery power is determined according to the battery current and the voltage value, then the battery power is compared with the preset power value, when the difference value between the battery power and the preset power value is determined to be smaller than or equal to the preset value, the battery power is determined to be close to the preset power value, timing is started, and in the preset time period from the start of timing to the end of timing time, no matter whether the wireless charging is disconnected or not, a wireless charging icon is displayed on a terminal interface, the wireless charging indicator lamp is controlled to be turned on, and the alarm is prohibited from sending the wireless charging disconnection signal.
For example, assuming that the preset electric quantity value of the battery is 1000mAh, the preset value is 10mAh, and the preset time period is 0.5s, when the electric quantity of the battery is 990mAh, the electric quantity of the battery is considered to be close to 1000mAh, due to the inherent property of the battery, the current required by the battery during wireless charging is reduced from 2A to 10mA, at this time, if the user turns on an APP requiring 1A current, the wireless charging chip cannot immediately increase the charging current from 10mA to 1A, so that the wireless charging chip is disconnected, the battery is not charged, at this time, the processor of the terminal starts timing when receiving a wireless charging disconnection signal, and within 0.5s of timing, no matter whether the wireless charging is disconnected, the wireless charging icon is displayed on the terminal interface, the wireless charging indicator lamp is controlled to be turned on, the alarm is prohibited from sending a wireless charging disconnection signal, and the wireless charging disconnection signal is prohibited in the related art as long as the wireless charging is disconnected, the wireless charging indicator lamp is controlled to be turned off, and the alarm is triggered to send a wireless charging disconnection signal, so that the user experience is improved.
It should be noted that the preset electric quantity value of the battery is an inherent property of the battery, that is, when the electric quantity of the battery is not close to the preset electric quantity value, the current required by the battery during charging is constant; when the electric quantity of the battery is close to the preset electric quantity value, the current required by the battery during charging is reduced to a certain value, and when different manufacturers produce the battery, the preset electric quantity value of the battery is different and can be specifically selected according to the requirements of users.
It should be noted that the preset time period is set according to the wireless charging circuit framework and software programming, and is generally a predicted time period, and the specific value may be set according to an empirical value, which is not limited in this embodiment.
It should be noted that, the displaying of the wireless charging status may include displaying a wireless charging icon, controlling the wireless charging indicator light to light, and prohibiting the alarm from sending one or more of wireless charging disconnection signals, which is not limited in this embodiment.
In the technical scheme provided by the embodiment of the disclosure, in the wireless charging process, when the wireless charging is disconnected, when the battery capacity of the terminal is close to the preset capacity value, namely the battery of the terminal is about to be fully charged, if a user loads a high-power load to cause the wireless charging disconnection, the terminal can show the wireless charging state within the preset time period from the moment of the wireless charging disconnection, instead of forbidding showing the wireless charging state as long as the wireless charging disconnection occurs, so that the user experience is improved.
Fig. 1b is a flowchart illustrating a wireless charging exhibition method according to an exemplary embodiment, and as shown in fig. 1b, the wireless charging exhibition method includes the following steps 101 and 106:
in step 101, in the wireless charging process, when disconnection of wireless charging is detected, the battery capacity of the terminal is acquired.
It should be noted that, the following steps are performed differently according to the determination result of whether the battery power of the terminal is close to the preset power value. When the battery capacity of the terminal is determined to be close to the preset capacity value, executing the step 102, the step 104 to the step 106; when it is determined that the battery power of the terminal is not close to the preset power value, step 103 is performed.
In step 102, when it is determined that the battery capacity of the terminal is close to the preset capacity value, the wireless charging state is displayed within a preset time period counted from the disconnection of the wireless charging.
In step 103, when it is determined that the battery power of the terminal is not close to the preset power value, the wireless charging unconnected state is displayed.
For example, when the terminal determines that the difference between the battery capacity and the preset capacity value is greater than the preset value, it determines that the battery capacity is not close to the preset capacity value, at this time, the current required by the battery for wireless charging is a fixed value, for example, the preset capacity value of the battery is 1000mAh, when the battery capacity is 800mAh, the current required by the battery for wireless charging is 2A, at this time, the user turns on a high-power APP, for example, when the power required by the APP is 1A or 2A, the current provided by the wireless charging chip can meet the requirement of the APP, so the wireless charging chip will not disconnect charging due to turning on the APP, if the disconnection of the wireless charging is detected, also due to external factors, for example, a failure of a wireless transmitting module for providing an electromagnetic signal to the wireless charging module, or poor contact of an adapter for providing power to the wireless transmitting module, or the user actively cuts off the wireless charging, etc., at the moment, the terminal at least executes one operation of not displaying the wireless charging icon, controlling the wireless charging indicator lamp to be turned off, and triggering the alarm to send out a wireless charging disconnection signal.
In step 104, it is detected whether the wireless charging is disconnected at the end of the preset time period.
For example, when the processor of the terminal detects that the preset time period is reached, the power management chip detects a current value of the current signal received by the wireless charging chip, and sends the current value detected at this time to the processor, so that the processor determines whether the wireless charging is disconnected according to the received current value.
It should be noted that, the processor of the terminal determines whether the wireless charging is disconnected according to the received current value, and the following steps are also performed differently. When the wireless charging is determined to be in the connection state, executing step 105; when it is determined that the wireless charging is in the off state, step 106 is performed.
In step 105, upon determining that the wireless charging is a connected state, the wireless charging state is presented.
For example, when the processor determines that the received current value is greater than the preset value, it is determined that the wireless charging chip normally charges the battery through the power management chip, that is, it is determined that the wireless charging is in a connected state, at this time, the terminal performs at least one operation of displaying a wireless charging icon, controlling the wireless charging indicator lamp to be turned on, and prohibiting the alarm from sending a wireless charging off signal.
It should be noted that the preset value may be zero or a value greater than zero, and specifically, the preset value needs to be related to characteristics of the wireless charging chip, the wireless charging receiving coil, and the like, and the present embodiment is not limited herein.
In step 106, upon determining that the wireless charging is in the disconnected state, a wireless charging unconnected state is shown.
For example, when it is determined that the detected current value is less than or equal to the preset value, it is determined that the wireless charging is in a disconnected state, which indicates that the user actively cuts off the wireless charging, at this time, the terminal performs at least one operation of not displaying the wireless charging icon, controlling the wireless charging indicator lamp to be turned off, and triggering the alarm to send a wireless charging disconnection signal.
In the technical scheme provided by the embodiment of the disclosure, in the wireless charging process, when the wireless charging is disconnected, when the battery electric quantity of the terminal is close to a preset electric quantity value and a preset time period is over, whether the wireless charging is disconnected or not is detected again, when the wireless charging connection is determined, the wireless charging is reconnected after the preset time period, and at this time, the wireless charging state is displayed; when the wireless charging is determined to be disconnected, the user is indicated to actively cut off the wireless charging, the wireless charging unconnected state is displayed at the moment, the wireless charging state is not forbidden to be displayed as long as the wireless charging is disconnected, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 2a is a schematic structural diagram illustrating a wireless charging demonstration apparatus 20 according to an exemplary embodiment, where the apparatus 20 may be implemented as part of or all of an electronic device through software, hardware or a combination of both. As shown in fig. 2a, the wireless charging demonstration apparatus 20 includes an obtaining module 201 and a first demonstration module 202.
The obtaining module 201 is configured to obtain the battery capacity of the terminal when detecting disconnection of wireless charging in the wireless charging process.
The first display module 202 is configured to display a wireless charging state within a preset time period from the start of the wireless charging disconnection when it is determined that the battery power of the terminal is close to a preset power value; and the preset electric quantity value is a rated electric quantity value corresponding to the rated capacity of the battery.
In one embodiment, the predetermined time period is a predicted time period from when the wireless charging state is erroneously interrupted to reconnection when the battery capacity approaches the predetermined capacity value.
In one embodiment, as shown in FIG. 2b, the apparatus 20 further comprises a detection module 203, a second presentation module 204, and a third presentation module 205.
The detection module 203 is configured to detect whether the wireless charging is disconnected when the preset time period ends.
A second showing module 204, configured to show the wireless charging unconnected state when it is determined that the wireless charging is in the disconnected state.
A third presenting module 205, configured to present the wireless charging status when it is determined that the wireless charging is in the connection status.
The embodiment of the disclosure provides a wireless charging display device, which can be used for displaying a wireless charging state in a preset time period starting at the moment of wireless charging disconnection if a user loads a high-power load to cause wireless charging disconnection when determining that the electric quantity of a battery is close to a preset electric quantity value in the wireless charging disconnection process, namely the battery is about to be fully charged, instead of forbidding displaying the wireless charging state as long as the wireless charging disconnection occurs, and user experience is improved.
The embodiment of the present disclosure provides a wireless display device that charges, this wireless display device that charges includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the wireless charging process, when the disconnection of wireless charging is detected, the battery electric quantity of the terminal is obtained;
when the battery electric quantity of the terminal is determined to be close to a preset electric quantity value, the wireless charging state is displayed within a preset time period from the start of timing of the wireless charging disconnection; and the preset electric quantity value is a rated electric quantity value corresponding to the rated capacity of the battery.
In one embodiment, the predetermined time period is a predicted time period from when the wireless charging state is erroneously interrupted to reconnection when the battery capacity approaches the predetermined capacity value.
In one embodiment, the processor may be further configured to:
detecting whether the wireless charging is disconnected or not when the preset time period is over;
when the wireless charging is determined to be in a disconnected state, displaying a wireless charging unconnected state;
and when the wireless charging is determined to be in the connection state, displaying the wireless charging state.
The embodiment of the disclosure provides a wireless charging display device, which can be used for displaying a wireless charging state in a preset time period starting at the moment of wireless charging disconnection if a user loads a high-power load to cause wireless charging disconnection when determining that the electric quantity of a battery is close to a preset electric quantity value in the wireless charging disconnection process, namely the battery is about to be fully charged, instead of forbidding displaying the wireless charging state as long as the wireless charging disconnection occurs, and user experience is improved.
With regard to the apparatus in the above-described embodiment, a specific method in which each module performs an operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 3 is a block diagram illustrating a wireless charging demonstration apparatus 30 according to an exemplary embodiment, wherein the apparatus 30 is suitable for a terminal device. For example, the apparatus 30 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 30 may include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 312, sensor component 314, and communication component 316.
The processing component 302 generally controls overall operation of the device 30, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the apparatus 30. Examples of such data include instructions for any application or method operating on device 30, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, 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, magnetic or optical disks.
The power supply component 306 provides power to the various components of the device 30. The power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 30.
The multimedia component 308 includes a screen providing an output interface between the device 30 and the user. 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 may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 30 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 30 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for device 30. For example, sensor assembly 314 may detect an open/closed state of device 30, the relative positioning of components, such as a display and keypad of device 30, the change in position of device 30 or a component of device 30, the presence or absence of user contact with device 30, the orientation or acceleration/deceleration of device 30, and the change in temperature of device 30. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 30 and other devices. The device 30 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 30 may 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, micro-controllers, microprocessors or other electronic components for performing the above-described wireless charging exposure method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 304, that are executable by processor 320 of device 30 to perform the wireless charging presentation method of the terminal is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to perform the above-mentioned wireless charging display method, and the method includes:
in the wireless charging process, when the disconnection of wireless charging is detected, the battery electric quantity of the terminal is obtained;
when the battery electric quantity of the terminal is determined to be close to a preset electric quantity value, the wireless charging state is displayed within a preset time period from the start of timing of the wireless charging disconnection; and the preset electric quantity value is a rated electric quantity value corresponding to the rated capacity of the battery.
In one embodiment, the predetermined time period is a predicted time period from when the wireless charging state is erroneously interrupted to reconnection when the battery capacity approaches the predetermined capacity value.
In one embodiment, the method further comprises:
detecting whether the wireless charging is disconnected or not when the preset time period is over;
when the wireless charging is determined to be in a disconnected state, displaying a wireless charging unconnected state;
and when the wireless charging is determined to be in the connection state, displaying the wireless charging state.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.