CN116031960A - Method, device, equipment, system and storage medium for determining display electric quantity - Google Patents

Method, device, equipment, system and storage medium for determining display electric quantity Download PDF

Info

Publication number
CN116031960A
CN116031960A CN202111248223.6A CN202111248223A CN116031960A CN 116031960 A CN116031960 A CN 116031960A CN 202111248223 A CN202111248223 A CN 202111248223A CN 116031960 A CN116031960 A CN 116031960A
Authority
CN
China
Prior art keywords
charging
electric quantity
current
detecting
intelligent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111248223.6A
Other languages
Chinese (zh)
Inventor
乔文亮
蒋旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111248223.6A priority Critical patent/CN116031960A/en
Publication of CN116031960A publication Critical patent/CN116031960A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present disclosure relates to a method, apparatus, device, system and storage medium for determining a display power, the method comprising: detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment; detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value; and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device. The method and the device can improve the rationality of determining the current display electric quantity of the intelligent device, so that a user is reminded not to continue to charge the charging device, and the trouble to the user caused by the fact that the electric quantity cannot reach the state of 100% electric quantity is avoided, and user experience can be improved.

Description

Method, device, equipment, system and storage medium for determining display electric quantity
Technical Field
The disclosure relates to the technical field of intelligent devices, and in particular relates to a method, a device, equipment, a system and a storage medium for determining display electric quantity.
Background
With the wide application of intelligent devices, the charging problem of the intelligent devices is also getting more and more important. For example, when intelligent devices such as TWS (True Wireless Stereo) headphones and smart watches are charged by charging devices such as chargers and charger, abnormal charging conditions may occur, for example, the charging power displayed by the intelligent device is not up-regulated although the intelligent device and the charging device are in a connected state, so that the power of the intelligent device cannot be fully charged. At this time, the user may still continue to charge the intelligent device, but the electric quantity displayed by the intelligent device still cannot reach the state of 100% of electric quantity, so that trouble is brought to the user and user experience is affected.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a method, apparatus, device, system, and storage medium for determining a display power, which are used to solve the drawbacks in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a method of determining a display power, the method comprising:
detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
Detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
In an embodiment, the determining, based on the first setting manner, the current display power of the smart device includes:
acquiring a target charging electric quantity corresponding to the current charging time length based on a pre-constructed corresponding relation between the charging time length and the charging electric quantity;
and determining the current display electric quantity based on the target charging electric quantity.
In an embodiment, the method further comprises:
and in response to detecting that the charging current of the intelligent device is equal to the cut-off charging current of the first charging device, performing the operation of detecting the change condition of the charging current of the intelligent device.
In an embodiment, the method further comprises:
in response to detecting that the charging current of the intelligent device is greater than the off-charging current of the first charging device, performing the operation of detecting a change in the charging current of the intelligent device;
In response to detecting that the charging current decreases with an increase in charging duration, a current display power of the smart device is determined based on an actual power of the smart device.
In an embodiment, the method further comprises:
and in response to detecting that the intelligent device is disconnected from the first charging device, the current reduction speed of the displayed electric quantity is adjusted upwards according to a first set proportion.
In an embodiment, the method further comprises:
and in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the reduction speed of the current display electric quantity is adjusted downwards according to the first set proportion.
In an embodiment, the method further comprises:
and in response to detecting that the intelligent device is connected with a second charging device for charging under the condition that the actual electric quantity of the intelligent device is smaller than the current display electric quantity, the increasing speed of the current display electric quantity is adjusted downwards according to a second set proportion, and the second charging device is the first charging device or the charging device outside the first charging device.
In an embodiment, the method further comprises:
and in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the increasing speed of the current display electric quantity is adjusted upwards according to the second set proportion.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for determining a display power, the apparatus comprising:
the change condition detection module is used for detecting the change condition of the charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
the connection duration detection module is used for detecting duration of continuous connection of the intelligent device and the first charging device in response to detection that the charging current drops to a constant value;
and the display electric quantity determining module is used for determining the current display electric quantity of the intelligent equipment based on a first setting mode in response to the fact that the time length is greater than or equal to a set time length threshold value, wherein the first setting mode is a mode formulated in advance based on the ideal charging condition of the intelligent equipment.
In one embodiment, the display power determining module includes:
the target electric quantity determining unit is used for obtaining target electric quantity corresponding to the current charging time length based on the pre-established corresponding relation between the charging time length and the electric quantity;
and the display electric quantity determining unit is used for determining the current display electric quantity based on the target charging electric quantity.
In an embodiment, the change condition detection module is further configured to perform the operation of detecting the change condition of the charging current of the smart device in response to detecting that the charging current of the smart device is equal to the off-charging current of the first charging device.
In an embodiment, the change condition detection module is further configured to perform the operation of detecting the change condition of the charging current of the smart device in response to detecting that the charging current of the smart device is greater than the off-charging current of the first charging device;
the display electric quantity determining module is further used for determining the current display electric quantity of the intelligent device based on the actual electric quantity of the intelligent device in response to the fact that the charging current decreases along with the increase of the charging duration.
In an embodiment, the device further comprises:
and the speed reducing and up-regulating module is used for responding to the detection that the intelligent equipment is disconnected with the first charging equipment, and up-regulating the speed of reducing the current display electric quantity according to a first set proportion.
In an embodiment, the device further comprises:
and the speed reduction recovery module is used for responding to the fact that the actual electric quantity of the intelligent equipment is consistent with the current display electric quantity, and the speed reduction of the current display electric quantity is adjusted downwards according to the first set proportion.
In an embodiment, the device further comprises:
and the increasing speed down-regulating module is used for responding to the fact that the intelligent device is connected with a second charging device for charging under the condition that the actual electric quantity of the intelligent device is smaller than the current display electric quantity, and down-regulating the increasing speed of the current display electric quantity according to a second set proportion, wherein the second charging device is the first charging device or the charging devices outside the first charging device.
In an embodiment, the device further comprises:
and the increase speed recovery module is used for responding to the detection that the actual electric quantity of the intelligent equipment is consistent with the current display electric quantity, and the increase speed of the current display electric quantity is adjusted upwards according to the second set proportion.
According to a third aspect of embodiments of the present disclosure, there is provided a smart device, the device comprising:
a processor and a memory for storing a computer program;
wherein the processor is configured to implement, when executing the computer program:
detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements:
Detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the method and the device, the change condition of the charging current of the intelligent device is detected in the process that the intelligent device is connected with the first charging device for charging, the charging current is detected to be reduced to a constant value, the continuous connection duration of the intelligent device and the first charging device is detected, and then the current display electric quantity of the intelligent device is determined based on the first setting mode in response to the fact that the duration is detected to be greater than or equal to the set duration threshold value, so that the current display electric quantity of the intelligent device can be determined based on the first setting mode which is determined in advance according to the ideal charging condition under the condition that the charging current of the intelligent device is unchanged but continuously charged, the rationality of determining the current display electric quantity of the intelligent device can be improved, a user is reminded of not to continue charging the charging device, the situation that the electric quantity cannot reach 100% of electric quantity is avoided, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of determining a display power amount according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating how a current display power of the smart device is determined based on a first setting, according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating another method of determining a display power amount according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating yet another method of determining a display power amount according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating yet another method of determining a display power amount according to an exemplary embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating another method of determining a display power amount according to an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating an apparatus for determining a display power according to an exemplary embodiment of the present disclosure;
FIG. 8 is a block diagram illustrating yet another apparatus for determining a display power according to an exemplary embodiment of the present disclosure;
fig. 9 is a block diagram of a smart device, according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1 is a flow chart illustrating a method of determining a display power amount according to an exemplary embodiment; the method of the embodiment can be applied to intelligent devices (such as smart phones, tablet computers, wearable devices and the like) capable of being connected with the charging device for charging.
As shown in fig. 1, the method includes the following steps S101-S103:
in step S101, during the process of connecting and charging the smart device with the first charging device, a change condition of a charging current of the smart device is detected.
In this embodiment, in the process that the intelligent device is connected to the first charging device for charging, the intelligent device may detect a change condition of its own charging current. For example, after the smart device detects that itself is connected to the first charging device, a change in the value of the charging current of the smart device with time may be detected.
The first charging device may include any one of a charger, a charger bank, and the like, and this embodiment is not limited thereto.
In step S102, in response to detecting that the charging current decreases to a constant value, a duration for which the smart device is continuously connected to the first charging device is detected.
In this embodiment, when the intelligent device detects a change in charging current of the intelligent device during the process of connecting the intelligent device with the first charging device for charging, it may be detected whether the charging current drops to a constant value, i.e., whether the charging current does not drop any more, but stays at a constant value; if the charging current is detected to be reduced to a constant value, the duration of continuous connection of the intelligent device and the first charging device can be detected. For example, a timer may be started when it is detected that the charging current does not continue to drop, to detect a duration of time that the smart device and the first charging device continue to be connected thereafter. That is, in this embodiment, when it is detected that the charging current of the smart device is no longer decreasing, the connection duration of the smart device and the charging device is detected from this time, so as to determine the duration for which the user continues to use the first charging device to charge the smart device.
In step S103, in response to detecting that the duration is greater than or equal to a set duration threshold, determining a current display power of the intelligent device based on a first setting mode, where the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
In this embodiment, after detecting the duration of continuous connection between the intelligent device and the first charging device, the duration may be compared with a set duration threshold; and then, when the duration is detected to be greater than or equal to the set duration threshold, determining the current display electric quantity of the intelligent device based on a preset first setting mode. In an embodiment, the first setting manner may be a manner that is preset based on an ideal charging condition of the smart device. Wherein the ideal charging condition includes: the display electric quantity of the intelligent device continuously rises until reaching a state of 100% electric quantity (namely, electric quantity hundred-degree reporting) according to a normal charging curve, so that a user can be prompted that the intelligent device currently reaches the maximum charging electric quantity, the charging device is not required to be continuously charged, and the connection between the intelligent device and the first charging device can be disconnected.
In another embodiment, the above manner of determining the current display power of the smart device based on the first setting manner may also refer to an embodiment shown in fig. 2 described below, which is not described in detail herein.
As can be seen from the foregoing description, in the method of this embodiment, by detecting a change condition of a charging current of an intelligent device in a process of connecting and charging the intelligent device with a first charging device, and detecting a duration of continuous connection between the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value, further determining a current display electric quantity of the intelligent device in response to detecting that the duration is greater than or equal to a set duration threshold value, based on a first setting manner, it is possible to determine the current display electric quantity of the intelligent device based on the first setting manner determined in advance according to an ideal charging condition under a condition that the charging current of the intelligent device is unchanged but continuously charged, and therefore, rationality of determining the current display electric quantity of the intelligent device is improved, thereby reminding a user of not having to continue charging the charging device, avoiding trouble to the user due to a state that the electric quantity cannot reach 100% of the electric quantity, and improving user experience.
FIG. 2 is a flow chart illustrating how a current display power of the smart device is determined based on a first setting, according to an exemplary embodiment of the present disclosure; the present embodiment is exemplified on the basis of the above embodiment by taking as an example how the current display power of the smart device is determined based on the first setting manner. As shown in fig. 2, the determining the current display power of the smart device based on the first setting manner in the step S103 may include the following steps S201 to S202:
in step S201, a target charge amount corresponding to the current charge duration is obtained based on a pre-established correspondence between the charge duration and the charge amount.
In this embodiment, when the intelligent device detects a duration of continuous connection between the intelligent device and the first charging device, and further detects that the duration is greater than or equal to a set duration threshold, the target charging electric quantity corresponding to the current charging duration may be obtained based on a pre-constructed correspondence between the charging duration and the charging electric quantity.
The pre-constructed correspondence between the charging duration and the charging capacity may include: the charging electric quantity gradually rises along with the extension of the charging time until reaching the corresponding relation of 100% of the electric quantity.
In step S202, the current display power amount is determined based on the target charge power amount.
In this embodiment, after the intelligent device obtains the target charge amount corresponding to the current charge duration, the current display electric quantity may be determined based on the target charge amount.
For example, when the intelligent device obtains the target charging electric quantity corresponding to the current charging time length based on the pre-constructed correspondence between the charging time length and the charging electric quantity, the target charging electric quantity may be determined as the current display electric quantity, so as to be displayed by the intelligent device. That is, in this embodiment, after determining the current display power based on the target charging power, the smart device may display the "current display power" for the user on the screen, that is, the power displayed on the smart device is actually the target charging power corresponding to the current charging duration determined based on the correspondence, where the target charging power is not the actual power of the smart device, but may be regarded as an ideal power, and by displaying the change condition of the ideal power, it may be realized that the power of the user displaying the smart device rises according to the normal charging curve until reaching the state of 100% power, thereby avoiding the problem that the user continues charging the smart device because the smart device is not fully charged with the displayed power, avoiding the user from being bothered, and further improving the user experience.
FIG. 3 is a flowchart illustrating another method of determining a display power amount according to an exemplary embodiment of the present disclosure; the method of the embodiment can be applied to intelligent devices (such as smart phones, tablet computers, wearable devices and the like) capable of being connected with the charging device for charging.
As shown in fig. 3, the method includes the following steps S301 to S303:
in step S301, during the process of connecting and charging the smart device with the first charging device, it is detected that the charging current of the smart device is equal to the off charging current of the first charging device, and a change situation of the charging current of the smart device is detected.
In this embodiment, in the process that the intelligent device is connected to the first charging device for charging, the intelligent device may compare its own charging current with the off charging current of the first charging device, and further may continuously detect the change condition of the charging current of the intelligent device when detecting that the charging current of the intelligent device drops to be equal to the off charging current of the first charging device. For example, when it is detected that the charging current of the smart device drops to be equal to the off-charging current of the first charging device, a case in which the value of the charging current of the smart device changes with time may be detected.
The first charging device may include any one of a charger, a charger bank, and the like, and this embodiment is not limited thereto.
It should be noted that, when the smart device is mismatched with the first charging device (e.g., the off-charging current of the smart device is smaller than the off-charging current of the first charging device, etc.), the smart device may stop charging in advance, that is, the electric quantity of the smart device does not rise to 100% of the electric quantity, and charging is not performed. In this case, the user may misunderstand that the charging duration is insufficient and choose to continue to charge the smart device in an attempt to fully charge the smart device. However, because the off-charging current of the intelligent device is smaller than the off-charging current of the first charging device, when the charging current of the intelligent device decreases to be the same as the off-charging current of the first charging device along with the increase of the charging time, the charging current of the intelligent device cannot continuously decrease again, so that the charging current of the intelligent device cannot reach the off-charging current of the intelligent device, and further the intelligent device cannot display the electric quantity charged to 100%, thereby bringing trouble to a user and influencing the user experience. Therefore, in this embodiment, when detecting that the charging current of the intelligent device is equal to the off charging current of the first charging device during the charging process of the intelligent device, the change condition of the charging current of the intelligent device is detected, so that the subsequent time period for continuously connecting the intelligent device with the first charging device is detected in response to detecting that the charging current drops to a constant value, and the current display electric quantity of the intelligent device is determined based on a first setting mode in response to detecting that the time period is greater than or equal to a set time period threshold.
In step S302, in response to detecting that the charging current decreases to a constant value, a duration for which the smart device continues to be connected to the first charging device is detected.
In step S303, in response to detecting that the duration is greater than or equal to a set duration threshold, a current display power of the intelligent device is determined based on a first setting manner, where the first setting manner is a manner formulated in advance based on an ideal charging condition of the intelligent device.
The explanation and explanation of steps S302-S303 may be referred to steps S102-S103 in the embodiment shown in fig. 1, which are not described herein.
As can be seen from the foregoing description, in this embodiment, when detecting that the charging current of the intelligent device is equal to the off charging current of the first charging device in the charging process of the intelligent device, the change condition of the charging current of the intelligent device is detected, so that the current display of the intelligent device can be reasonably determined, the user is reminded not to continue to charge the charging device, the user experience is avoided, and the user experience is improved by detecting the duration of continuous connection between the intelligent device and the first charging device and by detecting that the duration is greater than or equal to the threshold value of the set duration, determining the current display electric quantity of the intelligent device based on the first setting mode, where the charging current of the intelligent device is equal to the off charging current of the first charging device and is not changed any more, in response to detecting that the charging current is reduced to a constant value.
FIG. 4 is a flowchart illustrating yet another method of determining a display power amount according to an exemplary embodiment of the present disclosure; the method of the embodiment can be applied to intelligent devices (such as smart phones, tablet computers, wearable devices and the like) capable of being connected with the charging device for charging.
As shown in fig. 4, this embodiment may further include the following steps S401 to S402 on the basis of the above embodiment:
in step S401, in response to detecting that the charging current of the smart device is greater than the off-charging current of the first charging device, a change condition of the charging current of the smart device is detected.
In this embodiment, in the process that the intelligent device is connected to the first charging device for charging, the intelligent device may compare its own charging current with the off charging current of the first charging device, and further may continuously detect the change condition of the charging current of the intelligent device when detecting that the charging current of the intelligent device is still greater than the off charging current of the first charging device. For example, when it is detected that the charging current of the smart device does not drop to the off-charging current of the first charging device, the detection of the change in the value of the charging current of the smart device over time may be continued.
The first charging device may include any one of a charger, a charger bank, and the like, and this embodiment is not limited thereto.
In step S402, in response to detecting that the charging current decreases with an increase in the charging duration, a current display power level of the smart device is determined based on an actual power level of the smart device.
In this embodiment, when detecting a change condition of the charging current of the intelligent device in response to detecting that the charging current of the intelligent device is greater than the off-charging current of the first charging device, if it is detected that the charging current decreases with an increase in charging duration, the current display power of the intelligent device may be determined based on the actual power of the intelligent device.
For example, in the process of connecting and charging the intelligent device with the first charging device, if it is detected that the charging current of the intelligent device does not drop to the off-charging current of the charging device, that is, the charging current of the intelligent device is still greater than the off-charging current of the first charging device, the change condition of the charging current of the intelligent device can be continuously detected; and then in the process of detecting that the charging current of the intelligent equipment is reduced along with the increase of the charging time length, determining the current display electric quantity of the intelligent equipment based on the actual electric quantity of the intelligent equipment. That is, the current display power of the smart device may be the actual power of the smart device. Thereafter, as the charging period increases, if the charging current is detected to drop to a constant value, the current display power of the smart device may be determined according to steps S101 to S103 in the embodiment shown in fig. 1.
As can be seen from the foregoing description, in this embodiment, by detecting, in response to detecting that the charging current of the intelligent device is greater than the off charging current of the first charging device, a change condition of the charging current of the intelligent device, and then in response to detecting that the charging current decreases with an increase in charging duration, determining, based on an actual electric quantity of the intelligent device, a current display electric quantity of the intelligent device may be accurately determined, and then, a subsequent actual electric quantity of the current intelligent device based on the current display electric quantity to remind a user may be implemented, so that a user's requirement may be satisfied, and user experience may be improved.
FIG. 5 is a flowchart illustrating yet another method of determining a display power amount according to an exemplary embodiment of the present disclosure; the method of the embodiment can be applied to intelligent devices (such as smart phones, tablet computers, wearable devices and the like) capable of being connected with the charging device for charging.
As shown in fig. 5, the method includes the following steps S501-S505:
in step S501, during the process of connecting and charging the smart device with the first charging device, a change condition of a charging current of the smart device is detected.
In step S502, in response to detecting that the charging current decreases to a constant value, a duration for which the smart device is continuously connected to the first charging device is detected.
In step S503, in response to detecting that the duration is greater than or equal to a set duration threshold, a current display power of the intelligent device is determined based on a first setting mode, where the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
The explanation and explanation of steps S501-S503 may be referred to steps S101-S103 in the embodiment shown in fig. 1, which are not described herein.
In step S504, in response to detecting that the smart device is disconnected from the first charging device, the current reduction speed of the display power is adjusted up according to a first set proportion.
In this embodiment, after the smart device executes the above steps S501 to S503, if it is detected that the smart device is disconnected from the first charging device, the current reduction speed of the displayed electric quantity may be adjusted up according to a first setting ratio.
For example, when the intelligent device detects that the charging current is reduced to a constant value in the process of connecting and charging the intelligent device with the first charging device, and detects that the time period is greater than or equal to a set time period threshold value, then after determining the current display electric quantity of the intelligent device based on a first setting mode, if the intelligent device is detected to be disconnected with the first charging device, the reducing speed of the current display electric quantity of the intelligent device can be increased, if the first setting proportion is adjusted on the basis of the original reducing speed, so that the intelligent device can adjust the current display electric quantity at a larger reducing speed, and then the current display electric quantity of the intelligent device is reduced at a relatively larger speed.
In step S505, in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the reducing speed of the current display electric quantity is adjusted down according to the first setting proportion.
In this embodiment, after the intelligent device responds to the detection that the intelligent device is disconnected from the first charging device and the current reduction speed of the displayed electric quantity is adjusted up according to a first set proportion, when the detection that the actual electric quantity of the intelligent device is consistent with the current displayed electric quantity, the current reduction speed of the displayed electric quantity may be adjusted down according to the first set proportion.
That is, when the current electric quantity displayed by the intelligent device is reduced at the above-mentioned relatively high speed, if it is detected that the actual electric quantity of the intelligent device is consistent with the current electric quantity displayed by the intelligent device, the reduction speed of the current electric quantity displayed by the intelligent device is adjusted down according to the first setting ratio, that is, the reduction speed is recovered to be the normal reduction speed before (it can be understood that the normal reduction speed is related to the actual battery usage situation of the intelligent device), so that the effect of accurately displaying the actual electric quantity of the intelligent device can be achieved under the condition that the current electric quantity displayed by the intelligent device is determined based on the first setting mode, so that the current electric quantity displayed by the intelligent device is consistent with the actual electric quantity of the intelligent device as soon as possible, and then the normal electric quantity reduction speed is recovered under the condition that the current electric quantity and the current electric quantity are consistent with the current electric quantity.
FIG. 6 is a flowchart illustrating another method of determining a display power amount according to an exemplary embodiment of the present disclosure; the method of the embodiment can be applied to intelligent devices (such as smart phones, tablet computers, wearable devices and the like) capable of being connected with the charging device for charging.
As shown in fig. 6, the method includes the following steps S601 to S607:
in step S601, during the process of connecting and charging the smart device with the first charging device, a change condition of a charging current of the smart device is detected.
In step S602, in response to detecting that the charging current decreases to a constant value, a duration for which the smart device is continuously connected to the first charging device is detected.
In step S603, in response to detecting that the duration is greater than or equal to a set duration threshold, a current display power of the intelligent device is determined based on a first setting mode, where the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
In step S604, in response to detecting that the smart device is disconnected from the first charging device, the current rate of decrease of the displayed electric quantity is adjusted up according to a first set proportion.
In step S605, in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the speed of reducing the current display electric quantity is adjusted down according to the first set proportion.
The explanation and explanation of steps S601 to S605 can be referred to steps S501 to S505 in the embodiment shown in fig. 5, and will not be repeated here.
In step S606, in response to detecting that the intelligent device is connected to a second charging device for charging if the actual electric quantity of the intelligent device is smaller than the current display electric quantity, the increasing speed of the current display electric quantity is adjusted down according to a second set proportion.
In this embodiment, after the smart device detects that the smart device is disconnected from the first charging device, if it detects that the actual electric quantity of the smart device is smaller than the current display electric quantity, and it detects that the smart device is connected to the second charging device for charging, the increasing speed of the current display electric quantity may be adjusted down according to a second set proportion, where the second charging device may be the first charging device, or may be a charging device other than the first charging device.
For example, when the intelligent device detects that the charging current decreases to a constant value and detects that the time period is greater than or equal to a set time period threshold in a charging process in which the intelligent device is connected with the first charging device, after determining the current display electric quantity of the intelligent device based on the first setting mode, if the intelligent device is detected to be disconnected from the first charging device, and then the intelligent device is detected to be connected with the second charging device for charging when the actual electric quantity of the intelligent device is smaller than the current display electric quantity, the increasing speed of the current display electric quantity of the intelligent device can be reduced, for example, the second setting proportion is adjusted downwards based on the original increasing speed, so that the intelligent device can adjust the current display electric quantity at a smaller increasing speed, that is, the current display electric quantity of the intelligent device is increased at a relatively smaller speed.
In step S607, in response to detecting that the actual electric quantity of the smart device is consistent with the current display electric quantity, the increasing speed of the current display electric quantity is adjusted up according to the second setting proportion.
In this embodiment, when the intelligent device detects that the intelligent device is connected to the second charging device for charging under the condition that the actual electric quantity of the intelligent device is smaller than the current display electric quantity, after the increasing speed of the current display electric quantity is adjusted down according to the second set proportion, if the actual electric quantity of the intelligent device is detected to be consistent with the current display electric quantity, the increasing speed of the current display electric quantity can be adjusted up according to the second set proportion.
That is, when the current electric quantity displayed by the intelligent device is increased at the above-mentioned small speed, if it is detected that the actual electric quantity of the intelligent device is consistent with the current electric quantity displayed by the intelligent device, the increasing speed of the current electric quantity displayed by the intelligent device is adjusted up according to the second setting proportion, that is, the normal increasing speed before the current electric quantity is restored (it can be understood that the normal increasing speed is related to the charging performances of the intelligent device and the second charging device), so that the effect of accurately displaying the actual electric quantity of the intelligent device can be achieved when the current electric quantity displayed by the intelligent device is determined based on the above-mentioned first setting mode, so that the current electric quantity displayed by the intelligent device is consistent with the actual electric quantity of the intelligent device as soon as possible, and then the normal electric quantity increasing speed is restored when the current electric quantity and the current electric quantity are consistent with the current electric quantity.
FIG. 7 is a block diagram illustrating an apparatus for determining a display power according to an exemplary embodiment; the device of the embodiment can be applied to intelligent equipment (such as a smart phone, a tablet computer, a wearable device and the like) capable of being connected with the charging equipment for charging. As shown in fig. 7, the apparatus may include: a change condition detection module 110, a connection duration detection module 120, and a display power determination module 130, wherein:
the change condition detection module 110 is configured to detect a change condition of a charging current of the intelligent device in a process that the intelligent device is connected to the first charging device for charging;
a connection duration detection module 120, configured to detect a duration during which the intelligent device is continuously connected to the first charging device, in response to detecting that the charging current decreases to a constant value;
the display power determining module 130 is configured to determine, based on a first setting manner, a current display power of the intelligent device in response to detecting that the duration is greater than or equal to a set duration threshold, where the first setting manner is a manner formulated in advance based on an ideal charging condition of the intelligent device.
As can be seen from the foregoing description, in the device of this embodiment, by detecting a change condition of a charging current of an intelligent device in a process that the intelligent device is connected to a first charging device for charging, and detecting a duration of continuous connection between the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value, further determining a current display electric quantity of the intelligent device in response to detecting that the duration is greater than or equal to a set duration threshold value, based on a first setting manner, it is possible to determine the current display electric quantity of the intelligent device based on the first setting manner determined in advance according to an ideal charging condition under a condition that the charging current of the intelligent device is unchanged but continuously charged, and therefore, rationality of determining the current display electric quantity of the intelligent device is improved, thereby reminding a user of not having to continue charging the charging device, avoiding trouble to the user due to a state that the electric quantity cannot reach 100% of the electric quantity, and improving user experience.
Fig. 8 is a block diagram illustrating an apparatus for determining a display power according to still another exemplary embodiment; the device of the embodiment can be applied to intelligent equipment (such as a smart phone, a tablet computer, a wearable device and the like) capable of being connected with the charging equipment for charging. The functions of the change condition detection module 210, the connection duration detection module 220, and the display power determination module 230 are the same as those of the change condition detection module 110, the connection duration detection module 120, and the display power determination module 130 in the embodiment shown in fig. 7, and are not described herein. As shown in fig. 8, the display power determining module 230 may include:
a target electric quantity determining unit 231, configured to obtain a target electric quantity corresponding to the current charging duration based on a pre-constructed correspondence between the charging duration and the electric quantity;
and a display power determining unit 232 configured to determine the current display power based on the target charge power.
In an embodiment, the change condition detection module 210 may be further configured to perform the operation of detecting the change condition of the charging current of the smart device in response to detecting that the charging current of the smart device is equal to the off-charging current of the first charging device.
In an embodiment, the change condition detection module 210 may be further configured to perform the operation of detecting the change condition of the charging current of the smart device in response to detecting that the charging current of the smart device is greater than the off-charging current of the first charging device;
the display power determination module 230 may be further configured to determine a current display power of the smart device based on an actual power of the smart device in response to detecting that the charging current decreases with an increase in the charging duration.
In an embodiment, the apparatus may further include:
and the speed-reducing up-regulating module 240 is configured to respond to detection that the intelligent device is disconnected from the first charging device, and to up-regulate the speed of reducing the current display power according to a first set proportion.
In an embodiment, the apparatus may further include:
and the reduction speed recovery module 250 is configured to, in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, perform a reduction speed of the current display electric quantity according to the first set proportion.
In an embodiment, the apparatus may further include:
and the increasing speed down-regulating module 260 is configured to, in response to detecting that the intelligent device is connected to charge with a second charging device when the actual electric quantity of the intelligent device is smaller than the current display electric quantity, down-regulate the increasing speed of the current display electric quantity according to a second set proportion, where the second charging device is the first charging device or a charging device other than the first charging device.
In an embodiment, the apparatus may further include:
and the increase speed recovery module 270 is configured to, in response to detecting that the actual electric quantity of the smart device is consistent with the current display electric quantity, adjust the increase speed of the current display electric quantity up according to the second set proportion.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 9 is a block diagram of a smart device, according to an example embodiment. For example, device 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, and the like.
Referring to fig. 9, device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 902 can include one or more modules that facilitate interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operations at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and the like. The memory 904 may be implemented by any type of volatile or nonvolatile memory device or 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, magnetic or optical disk.
The power supply component 906 provides power to the various components of the device 900. Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 900.
The multimedia component 908 comprises a screen between the device 900 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operational 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 focal length and optical zoom capabilities.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 914 includes one or more sensors for providing status assessment of various aspects of the device 900. For example, the sensor assembly 914 may detect the on/off state of the device 900, the relative positioning of the components, such as the display and keypad of the device 900, the sensor assembly 914 may also detect the change in position of the device 900 or one component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration/deceleration of the device 900, and the change in temperature of the device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 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 914 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communication between the device 900 and other devices, either wired or wireless. The device 900 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 916 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 900 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, microcontrollers, microprocessors, or other electronic components for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as a memory 904 including instructions executable by the processor 920 of the device 900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
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 disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A method of determining a display power, the method comprising:
detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
And in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
2. The method of claim 1, wherein determining the current display power of the smart device based on the first setting comprises:
acquiring a target charging electric quantity corresponding to the current charging time length based on a pre-constructed corresponding relation between the charging time length and the charging electric quantity;
and determining the current display electric quantity based on the target charging electric quantity.
3. The method according to claim 1, wherein the method further comprises:
and in response to detecting that the charging current of the intelligent device is equal to the cut-off charging current of the first charging device, performing the operation of detecting the change condition of the charging current of the intelligent device.
4. The method according to claim 1, wherein the method further comprises:
in response to detecting that the charging current of the intelligent device is greater than the off-charging current of the first charging device, performing the operation of detecting a change in the charging current of the intelligent device;
In response to detecting that the charging current decreases with an increase in charging duration, a current display power of the smart device is determined based on an actual power of the smart device.
5. The method according to claim 1, wherein the method further comprises:
and in response to detecting that the intelligent device is disconnected from the first charging device, the current reduction speed of the displayed electric quantity is adjusted upwards according to a first set proportion.
6. The method of claim 5, wherein the method further comprises:
and in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the reduction speed of the current display electric quantity is adjusted downwards according to the first set proportion.
7. The method of claim 5, wherein the method further comprises:
and in response to detecting that the intelligent device is connected with a second charging device for charging under the condition that the actual electric quantity of the intelligent device is smaller than the current display electric quantity, the increasing speed of the current display electric quantity is adjusted downwards according to a second set proportion, and the second charging device is the first charging device or the charging device outside the first charging device.
8. The method of claim 7, wherein the method further comprises:
and in response to detecting that the actual electric quantity of the intelligent device is consistent with the current display electric quantity, the increasing speed of the current display electric quantity is adjusted upwards according to the second set proportion.
9. An apparatus for determining a display power, the apparatus comprising:
the change condition detection module is used for detecting the change condition of the charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
the connection duration detection module is used for detecting duration of continuous connection of the intelligent device and the first charging device in response to detection that the charging current drops to a constant value;
and the display electric quantity determining module is used for determining the current display electric quantity of the intelligent equipment based on a first setting mode in response to the fact that the time length is greater than or equal to a set time length threshold value, wherein the first setting mode is a mode formulated in advance based on the ideal charging condition of the intelligent equipment.
10. An intelligent device, the device comprising:
a processor and a memory for storing a computer program;
Wherein the processor is configured to implement, when executing the computer program:
detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
11. A computer readable storage medium having stored thereon a computer program, the program being embodied when executed by a processor:
detecting the change condition of charging current of the intelligent equipment in the process of connecting and charging the intelligent equipment with the first charging equipment;
detecting the duration of continuous connection of the intelligent device and the first charging device in response to detecting that the charging current drops to a constant value;
and in response to detecting that the duration is greater than or equal to a set duration threshold, determining the current display electric quantity of the intelligent device based on a first setting mode, wherein the first setting mode is a mode formulated in advance based on an ideal charging condition of the intelligent device.
CN202111248223.6A 2021-10-26 2021-10-26 Method, device, equipment, system and storage medium for determining display electric quantity Pending CN116031960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248223.6A CN116031960A (en) 2021-10-26 2021-10-26 Method, device, equipment, system and storage medium for determining display electric quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248223.6A CN116031960A (en) 2021-10-26 2021-10-26 Method, device, equipment, system and storage medium for determining display electric quantity

Publications (1)

Publication Number Publication Date
CN116031960A true CN116031960A (en) 2023-04-28

Family

ID=86078278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248223.6A Pending CN116031960A (en) 2021-10-26 2021-10-26 Method, device, equipment, system and storage medium for determining display electric quantity

Country Status (1)

Country Link
CN (1) CN116031960A (en)

Similar Documents

Publication Publication Date Title
CN108365657B (en) Charging current control method, device and storage medium
EP4047780A1 (en) Charging method and apparatus, electronic device and storage medium
CN112701741B (en) Charging control method, device and storage medium
CN113824195B (en) Charging control method and device, terminal and computer readable storage medium
CN112909364B (en) Charging method and device, terminal equipment and storage medium
CN105720644A (en) Charging control method and device and terminal device
CN106407079A (en) Mobile terminal charging prompting method, device and equipment
CN113725954B (en) Charging method, device, equipment and storage medium
EP4109705A1 (en) Charging control method and apparatus, electronic device and storage medium
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN116545081B (en) Charging control method, device, equipment and storage medium
CN108429312B (en) Charging control method and device
CN107733021B (en) Control method and device of electronic equipment
CN107528098B (en) Charging method and device
CN112421702B (en) Lithium battery charging method and device
CN112448052B (en) Battery charging control method and device
CN108539823B (en) Charging method and device
CN111509789B (en) Charging method and device
CN109450032B (en) Wireless charging processing method, device and equipment
CN116031960A (en) Method, device, equipment, system and storage medium for determining display electric quantity
CN115940310A (en) Charging method, charging device, and storage medium
EP4170856A1 (en) Charging method and device, terminal device and computer readable storage medium
EP4322366A1 (en) Method and apparatus of charging processing and storage medium
CN112542861B (en) Battery charging method, device and medium
CN111130223B (en) Wireless charging display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination