CN107733021B - Control method and device of electronic equipment - Google Patents

Control method and device of electronic equipment Download PDF

Info

Publication number
CN107733021B
CN107733021B CN201711003998.0A CN201711003998A CN107733021B CN 107733021 B CN107733021 B CN 107733021B CN 201711003998 A CN201711003998 A CN 201711003998A CN 107733021 B CN107733021 B CN 107733021B
Authority
CN
China
Prior art keywords
charger
electronic equipment
actual
target
current
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.)
Active
Application number
CN201711003998.0A
Other languages
Chinese (zh)
Other versions
CN107733021A (en
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 CN201711003998.0A priority Critical patent/CN107733021B/en
Publication of CN107733021A publication Critical patent/CN107733021A/en
Application granted granted Critical
Publication of CN107733021B publication Critical patent/CN107733021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Abstract

The disclosure relates to a control method and device of electronic equipment. The method comprises the following steps: acquiring the actual charging current input into the electronic equipment; acquiring actual current suppression information; when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information, and the actual charging current is smaller than or equal to the first current threshold, prompt information is output, the prompt information is used for prompting a user to replace an actual charging line, connected with the charger and the electronic equipment, with a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line. This technical scheme can be under the prerequisite that need not special check out test set, and the suggestion user changes actual charging wire for the lower target charging wire of resistance when the resistance of charging wire is too high, has improved electronic equipment's charging efficiency, has improved user experience.

Description

Control method and device of electronic equipment
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a method and an apparatus for controlling an electronic device.
Background
With the development of science and technology, electronic devices such as smart phones and tablet computers have become more and more abundant, and become an essential part of people's work and life. However, as the functions of the electronic device increase, the power consumption thereof also increases, and the frequency of charging the electronic device using the charger also increases. The charger is connected with the electronic equipment through a charging wire, and in the charging process, the charger outputs charging current which is input into the electronic equipment through the charging wire. But the charging wire can appear wearing and tearing after using the longer time, and its constitution material also can appear ageing, makes the resistance increase of charging wire to lead to input electronic equipment's charging current to reduce, reduced electronic equipment's charging efficiency, impaired user experience.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for controlling an electronic device. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method for controlling an electronic device, the method being applied to a control apparatus of the electronic device, the method including:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information, and the actual charging current is smaller than or equal to the first current threshold, prompt information is output, the prompt information is used for prompting a user to replace an actual charging line, connected with the charger and the electronic equipment, with a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line.
In the technical scheme provided by the embodiment of the disclosure, by acquiring the actual charging current and the actual current suppression information input into the electronic device, when the actual charging current is less than or equal to the first current threshold, it is determined that the actual charging current is too small to meet the requirement of charging the electronic device, and because the actual charging current is not limited by the electronic device according to the actual current suppression information, the actual charging current is too small because the resistance value of the actual charging wire connecting the charger and the electronic device is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Consequently the technical scheme that this disclosed embodiment provided can be under the prerequisite that need not special check out test set, when the resistance of charging wire was too high, the suggestion user changed actual charging wire for the lower target charging wire of resistance, has improved electronic equipment's charging efficiency, has improved user experience.
In one embodiment, obtaining actual current suppression information comprises:
acquiring the residual capacity of a battery in the electronic equipment and the temperature of the electronic equipment, and determining the working state of a display screen in the electronic equipment;
determining the magnitude of the actual charging current which is not limited by the electronic equipment according to the actual current suppression information, wherein the determining step comprises the following steps:
when the residual capacity of the battery in the electronic equipment is less than or equal to the capacity threshold, the display screen in the electronic equipment is in the screen-off state, and the temperature of the electronic equipment is less than or equal to the temperature threshold, determining that the electronic equipment does not limit the actual charging current.
When the residual capacity of the battery in the electronic equipment is greater than the capacity threshold, the electronic equipment is in a constant-voltage charging state, and in the state, in order to avoid causing over-charging of the battery, the electronic equipment can limit the actual charging current; when a display screen in the electronic equipment is not in a screen-off state, for example, the display screen is in a screen-on state, the display screen generates more heat, and in order to avoid that the temperature of the electronic equipment rises too fast, the electronic equipment limits the actual charging current so as to reduce the heat generated by charging; when the temperature of the electronic equipment is higher than the temperature threshold, in order to avoid the temperature of the electronic equipment from continuously rising, the electronic equipment limits the magnitude of the actual charging current so as to reduce the heat generated by charging; therefore, by acquiring the residual capacity of the battery in the electronic equipment and the temperature of the electronic equipment and determining the working state of the display screen in the electronic equipment, when the residual capacity of the battery in the electronic equipment is less than or equal to the capacity threshold, the display screen in the electronic equipment is in the screen-off state and the temperature of the electronic equipment is less than or equal to the temperature threshold, it is determined that the electronic equipment does not limit the actual charging current, and therefore the accuracy of determining that the electronic equipment does not limit the actual charging current is improved.
In one embodiment, the method further comprises:
when the charger is determined to be the target charger, acquiring the magnitude of target charging current output by the target charger;
and when the fact that the electronic equipment does not limit the magnitude of the actual charging current is determined according to the actual current suppression information, and the difference value between the target charging current and the actual charging current is larger than or equal to the second current threshold value, outputting prompt information.
When the charger is determined to be the target charger, the electronic device can obtain the magnitude of the target charging current output by the target charger, and when the difference between the target charging current and the actual charging current is determined to be larger than or equal to a second current threshold value, namely the difference between the target charging current output by the target charger and the actual charging current input into the electronic device is too large, if the electronic device is determined to not limit the magnitude of the actual charging current according to the actual current suppression information, the reason that the difference between the actual charging current and the target charging current is too large is determined to be that the resistance value of an actual charging wire connecting the charger and the electronic device is too high; through outputting prompt information to reach the purpose that the suggestion user changes actual charging wire for the lower target charging wire of resistance, avoid because of the too high charging current that leads to the charger output of the resistance of the charging wire of connecting charger and electronic equipment appearing great loss in the transmission process through the charging wire, improved electronic equipment's charge efficiency, improved user experience.
In one embodiment, the method further comprises:
acquiring a target charger confirmation instruction;
determining that the charger is a target charger, comprising:
and determining the charger as the target charger according to the target charger confirmation instruction.
By acquiring the target charger confirmation instruction and determining the charger as the target charger according to the target charger confirmation instruction, the charger can be rapidly determined as the target charger, and the speed of determining the charger as the target charger is improved.
In one embodiment, determining that the charger is the target charger comprises:
and detecting the charger, and determining the charger as a target charger according to the detection result.
The charger is detected, and the charger is determined to be the target charger according to the detection result, so that the charger can be accurately determined to be the target charger, and the accuracy of determining the charger to be the target charger is improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a control apparatus of an electronic device, including:
the actual current acquisition module is used for acquiring the actual charging current input into the electronic equipment;
the current suppression acquisition module is used for acquiring actual current suppression information;
the first prompt module is used for outputting prompt information when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information and the actual charging current is smaller than or equal to a first current threshold, the prompt information is used for prompting a user to replace an actual charging line connected with the charger and the electronic equipment into a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line.
In one embodiment, a current rejection acquisition module includes:
the electronic equipment information sub-acquisition module is used for acquiring the residual electric quantity of a battery in the electronic equipment and the temperature of the electronic equipment and determining the working state of a display screen in the electronic equipment;
a first cue module comprising:
and the prompting submodule is used for determining that the actual charging current of the electronic equipment is not limited when the residual electric quantity of the battery in the electronic equipment is less than or equal to the electric quantity threshold, the display screen in the electronic equipment is in the screen-off state and the temperature of the electronic equipment is less than or equal to the temperature threshold.
In one embodiment, the apparatus further comprises:
the target current acquisition module is used for acquiring the magnitude of a target charging current output by a target charger when the charger is determined to be the target charger;
and the second prompting module is used for outputting prompting information when the fact that the electronic equipment does not limit the actual charging current according to the actual current suppression information is determined, and the difference value between the target charging current and the actual charging current is larger than or equal to a second current threshold value.
In one embodiment, the apparatus further comprises:
the instruction acquisition module is used for acquiring a target charger confirmation instruction;
a target current acquisition module comprising:
and the first target charger determining submodule is used for determining the charger as a target charger according to the target charger confirming instruction.
In one embodiment, a target current acquisition module includes:
and the second target charger determining submodule is used for detecting the charger and determining the charger as a target charger according to the detection result.
According to a third aspect of embodiments of the present disclosure, there is provided a control apparatus of an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information, and the actual charging current is smaller than or equal to the first current threshold, prompt information is output, the prompt information is used for prompting a user to replace an actual charging line, connected with the charger and the electronic equipment, with a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, implement the steps of the method of any one of the first aspect of the embodiments of the present disclosure.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a charging scenario shown in accordance with an exemplary embodiment;
FIG. 2a is a schematic flow chart diagram 1 illustrating a method of controlling an electronic device according to an exemplary embodiment;
FIG. 2b is a flowchart illustration 2 showing a method of controlling an electronic device, according to an example embodiment;
FIG. 2c is a flowchart illustration 3 showing a method of controlling an electronic device, according to an example embodiment;
FIG. 3 is a flow chart diagram illustrating a method of controlling an electronic device according to an exemplary embodiment;
FIG. 4 is a flow chart diagram illustrating a method of controlling an electronic device in accordance with an exemplary embodiment;
fig. 5a is a schematic structural diagram 1 illustrating a control apparatus of an electronic device according to an exemplary embodiment;
FIG. 5b is a schematic diagram of a configuration of a control device of the electronic device shown in FIG. 2 according to an exemplary embodiment;
FIG. 5c is a schematic diagram of a configuration of a control device of the electronic device shown in FIG. 3 according to an exemplary embodiment;
FIG. 5d is a schematic diagram 4 illustrating the structure of a control device of the electronic device according to an exemplary embodiment;
FIG. 5e is a schematic diagram 5 illustrating the structure of a control device of the electronic device according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
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.
With the development of science and technology, electronic devices such as smart phones and tablet computers have become more and more abundant, and become an essential part of people's work and life. However, as the functions of the electronic device increase, the power consumption thereof also increases, and the frequency of charging the electronic device using the charger also increases.
Fig. 1 is a schematic diagram of a charging scenario, as shown in fig. 1, involving two parties as shown in fig. 1: charger 101 and electronic equipment 102, charger 101 is connected with electronic equipment 102 through charging wire 103, and charger 101 can be charger or portable power source, and other devices that charge electronic equipment through the mode of wire. The electronic device 102 may be a mobile phone, a tablet computer, a smart wearable device, and other devices that can be charged in a wired manner, which is not limited in the embodiments of the disclosure.
When the electronic device 102 is charged using the charger 101, the charger 101 outputs a charging current, and the charging current is input to the electronic device 102 through the charging line 103. But the wearing and tearing can appear after using the longer time in charging wire 103, and its constitution material also can appear ageing, leads to the resistance increase of charging wire 103, and when charging current continued to transmit through charging wire 103, the loss of charging current in the transmission course can show and increase to the charging current that leads to input electronic equipment reduces, has reduced electronic equipment's charge efficiency, has impaired user experience. In the related art, because the charging current of input electronic equipment is less, probably because electronic equipment has restricted this charging current's size, also probably because the too big charging current that makes the charging current more loss in transmission process of charging wire resistance leads to input electronic equipment's charging current less, for the concrete reason that the charging current that makes input electronic equipment is less of confirming, through disconnecting charging wire and electronic equipment and charger, use check out test set for example universal meter to detect the resistance of charging wire, and confirm whether too high according to the resistance of charging wire according to the testing result, the suggestion user changes the charging wire when the resistance of charging wire is too high, in order to improve electronic equipment's charging efficiency. But above-mentioned scheme need detect the charging wire through dedicated check out test set, has increased the cost that the suggestion user changed the charging wire when the resistance of charging wire is too high, has impaired user experience.
In order to solve the above problem, in the technical scheme provided in the embodiment of the present disclosure, by obtaining the actual charging current and the actual current suppression information input to the electronic device, when the actual charging current is less than or equal to the first current threshold, it is determined that the actual charging current is too small to meet the requirement of charging the electronic device, and at the same time, it is also determined that the electronic device does not limit the actual charging current according to the actual current suppression information, so that the reason that the actual charging current is too small is that the resistance value of the actual charging line connecting the charger and the electronic device is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Consequently the technical scheme that this disclosed embodiment provided can be under the prerequisite that need not special check out test set, and the suggestion user changes actual charging wire for the lower target charging wire of resistance when the resistance of charging wire is too high, has improved electronic equipment's charging efficiency, has improved user experience.
An embodiment of the present disclosure provides a method for controlling an electronic device, where the method is applied to a control device of an electronic device, where the control device of the electronic device may be located in the electronic device or may be another device other than the electronic device, and the electronic device may be a smart phone, a tablet computer, a smart wearable device, or the like, as shown in fig. 2a, the method includes the following steps 201 to 203:
in step 201, the magnitude of the actual charging current input to the electronic device is obtained.
For example, the obtaining of the actual charging current input to the electronic device may be the electronic device detecting the actual charging current input to the electronic device and obtaining the actual charging current input to the electronic device according to the detection result, or may be the electronic device reading actual charging current information stored in the electronic device and obtaining the actual charging current input to the electronic device according to the actual charging current information, or may receive actual charging current information sent by another device or system and obtaining the actual charging current input to the electronic device according to the actual charging current information.
In step 202, actual current suppression information is acquired.
Wherein the actual current suppression information is used to indicate whether the electronic device limits the magnitude of the actual charging current.
For example, the obtaining of the actual current suppression information may be reading the actual current suppression information stored in the electronic device, or may be receiving actual current suppression information transmitted by other devices or systems.
It should be noted that the sequence of step 201 and step 202 may be reversed.
In step 203, when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information, and the actual charging current is less than or equal to the first current threshold, the prompt information is output.
Wherein, the prompt message is used for the suggestion user to change the actual charging wire of connecting charger and electronic equipment for the target charging wire, and the resistance of target charging wire is less than the resistance of actual charging wire.
For example, the first current threshold stored in the electronic device may be read from the electronic device, or the first current threshold transmitted by another apparatus or system may be received. For example, the first current threshold is 300mA, which may be stored in the electronic device in advance. The prompt information is output, and the prompt information can be displayed through a display screen on the electronic equipment, or the voice of the read prompt information can be played through a loudspeaker on the electronic equipment. For example, the following text is presented through a display screen on the electronic device: "the charging wire state is abnormal, please change the charging wire".
In the technical scheme provided by the embodiment of the disclosure, by acquiring the actual charging current and the actual current suppression information input into the electronic device, when the actual charging current is less than or equal to the first current threshold, it is determined that the actual charging current is too small to meet the requirement of charging the electronic device, and because the actual charging current is not limited by the electronic device according to the actual current suppression information, the actual charging current is too small because the resistance value of the actual charging wire connecting the charger and the electronic device is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Consequently the technical scheme that this disclosed embodiment provided can be under the prerequisite that need not special check out test set, when the resistance of charging wire was too high, the suggestion user changed actual charging wire for the lower target charging wire of resistance, has improved electronic equipment's charging efficiency, has improved user experience.
In one embodiment, as shown in fig. 2b, in step 202, the actual current suppression information is obtained, which can be implemented by step 2021:
in step 2021, acquiring the remaining power of the battery in the electronic device and the temperature of the electronic device, and determining the operating state of the display screen in the electronic device;
for example, the obtaining of the remaining power of the battery in the electronic device, the operating state of the display screen in the electronic device, and the temperature of the electronic device may be reading information of the remaining power of the battery, information of the operating state of the display screen, and temperature information stored in the electronic device, obtaining the remaining power of the battery in the electronic device according to the information of the remaining power, and determining the operating state of the display screen in the electronic device according to the information of the operating state of the display screen. Wherein the working state of the display screen at least comprises a screen-off state, when the display screen is in the screen-off state, the display screen does not display any content,
in step 203, when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information, and the actual charging current is less than or equal to the first current threshold, the prompt information is output, which may be implemented by steps 2031 to 2032:
in step 2031, it is determined that the electronic device does not limit the actual charging current when the remaining power of the battery in the electronic device is less than or equal to the power threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold.
In step 2032, when it is determined that the electronic device does not limit the magnitude of the actual charging current and the actual charging current is less than or equal to the first current threshold, a prompt message is output.
For example, the power threshold and the temperature threshold stored in the electronic device may be read from the electronic device, or the power threshold and the temperature threshold transmitted by other apparatuses or systems may be received. For example, the power threshold is 80%, the temperature threshold is 25 ℃, and both the power threshold and the temperature threshold can be stored in the electronic device in advance.
When the residual capacity of the battery in the electronic equipment is greater than the capacity threshold, the electronic equipment is in a constant-voltage charging state, and in the state, in order to avoid causing over-charging of the battery, the electronic equipment can limit the actual charging current; when a display screen in the electronic equipment is not in a screen-off state, for example, the display screen is in a screen-on state, the display screen generates more heat, and in order to avoid that the temperature of the electronic equipment rises too fast, the electronic equipment limits the actual charging current so as to reduce the heat generated by charging; when the temperature of the electronic equipment is higher than the temperature threshold, in order to avoid the temperature of the electronic equipment from continuously rising, the electronic equipment limits the magnitude of the actual charging current so as to reduce the heat generated by charging; therefore, by acquiring the residual capacity of the battery in the electronic equipment and the temperature of the electronic equipment, and determining the working state of the display screen in the electronic equipment, when the residual capacity of the battery in the electronic equipment is less than or equal to the capacity threshold, the display screen in the electronic equipment is in the screen-off state, and the temperature of the electronic equipment is less than or equal to the temperature threshold, it is determined that the electronic equipment does not limit the actual charging current, and therefore the accuracy of determining that the electronic equipment does not limit the actual charging current is improved.
In one embodiment, as shown in fig. 2c, the method for controlling an electronic device according to an embodiment of the present disclosure further includes steps 204 to 205:
in step 204, when the charger is determined to be the target charger, the magnitude of the target charging current output by the target charger is acquired.
Illustratively, the target charger is a charger matched with the electronic device, and when the target charger is used for charging the electronic device, the charging efficiency of the electronic device is high. Wherein the charging current is the target charging current when the target charger charges the electronic device through the target charging line.
The charger is determined to be the target charger, the target charger confirmation instruction can be obtained, the charger is determined to be the target charger according to the target charger confirmation instruction, the charger can also be detected by the electronic equipment, and the charger is determined to be the target charger according to the detection result. The target charger confirmation instruction is obtained, the target charger confirmation instruction input by a user can be obtained for the electronic device through the touch screen, and the target charger confirmation instruction sent by other devices or systems can also be received for the electronic device. The method comprises the steps of obtaining the magnitude of a target charging current output by a target charger, detecting the target charger for the electronic equipment, and determining the magnitude of the target charging current according to a detection result. For example, the electronic device may send a detection instruction to the charger according to an Automatic Input Current Limit (AICL) technique, and determine an attribute of the charger according to attribute information returned by the charger in response to the detection instruction, where the attribute of the charger includes a type of the charger, a magnitude of a charging Current output by the charger, and the like, and when the type of the charger is the same as a preset type, determine that the charger is a target charger, and obtain the magnitude of the target charging Current according to the attribute of the charger.
By acquiring the target charger confirmation instruction, determining the charger as the target charger according to the target charger confirmation instruction, or detecting the charger, and determining the charger as the target charger according to the detection result, the charger can be rapidly determined as the target charger, so that the speed of determining the charger as the target charger is improved.
In step 205, when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information, and the difference between the target charging current and the actual charging current is greater than or equal to the second current threshold, a prompt message is output.
For example, the second current threshold stored in the electronic device may be read from the electronic device, and the second current threshold transmitted by another apparatus or system may also be received.
When the charger is determined to be the target charger, the electronic device can obtain the magnitude of the target charging current output by the target charger, and when the difference between the target charging current and the actual charging current is determined to be larger than or equal to a second current threshold value, namely the difference between the target charging current output by the target charger and the actual charging current input into the electronic device is too large, if the electronic device is determined to not limit the magnitude of the actual charging current according to the actual current suppression information, the reason that the difference between the actual charging current and the target charging current is too large is determined to be that the resistance value of an actual charging wire connecting the charger and the electronic device is too high; through outputting prompt information, the suggestion user changes actual charging wire for the lower target charging wire of resistance, avoids appearing great loss in the charging current through the charging wire transmission process that leads to the charger output because of the too high resistance of the charging wire of connecting charger and electronic equipment, has improved electronic equipment's charge efficiency, has improved user experience.
Fig. 3 is a schematic flow chart diagram illustrating a method of controlling an electronic device, according to an exemplary embodiment. As shown in fig. 3, the method comprises the following steps:
in step 301, the magnitude of the actual charging current input to the electronic device is obtained.
In step 302, the remaining power of the battery in the electronic device and the temperature of the electronic device are obtained, and the operating state of the display screen in the electronic device is determined.
In step 303, when the remaining power of the battery in the electronic device is less than or equal to the power threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold, it is determined that the electronic device does not limit the magnitude of the actual charging current.
In step 304, when it is determined that the electronic device does not limit the magnitude of the actual charging current and the actual charging current is less than or equal to the first current threshold, a prompt message is output.
Wherein, the prompt message is used for the suggestion user to change the actual charging wire of connecting charger and electronic equipment for the target charging wire, and the resistance of target charging wire is less than the resistance of actual charging wire.
By obtaining the actual charging current and the actual current suppression information input into the electronic device, when the actual charging current is smaller than or equal to the first current threshold, it is determined that the actual charging current is too small to meet the requirement of charging the electronic device. When the residual capacity of the battery in the electronic equipment is greater than the capacity threshold, the electronic equipment is in a constant-voltage charging state, and in the state, in order to avoid causing over-charging of the battery, the electronic equipment can limit the actual charging current; when a display screen in the electronic equipment is not in a screen-off state, for example, the display screen is in a screen-on state, the display screen generates more heat, and in order to avoid that the temperature of the electronic equipment rises too fast, the electronic equipment limits the actual charging current so as to reduce the heat generated by charging; when the temperature of the electronic equipment is higher than the temperature threshold, in order to avoid the temperature of the electronic equipment from continuously rising, the electronic equipment limits the magnitude of the actual charging current so as to reduce the heat generated by charging; therefore, by acquiring the remaining capacity of the battery in the electronic device and the temperature of the electronic device, and determining the working state of the display screen in the electronic device, when the remaining capacity of the battery in the electronic device is less than or equal to the capacity threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold, it is determined that the electronic device does not limit the actual charging current. If the actual charging current is smaller than or equal to the first current threshold and it is determined that the electronic equipment does not limit the actual charging current, the reason that the actual charging current is too small is that the resistance value of an actual charging line connecting the charger and the electronic equipment is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Thereby under the prerequisite that need not special check out test set, when the resistance of charging wire was too high, the suggestion user changed actual charging wire for the lower target charging wire of resistance, improved electronic equipment's charge efficiency, improved user experience.
Fig. 4 is a schematic flow chart diagram illustrating a method of controlling an electronic device, according to an exemplary embodiment. As shown in fig. 4, the method comprises the following steps:
in step 401, the remaining power of the battery in the electronic device and the temperature of the electronic device are obtained, and the operating state of the display screen in the electronic device is determined.
In step 402, it is determined that the electronic device does not limit the actual charging current when the remaining power of the battery in the electronic device is less than or equal to the power threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold.
In step 403, the magnitude of the actual charging current input to the electronic device is obtained.
In step 404, when it is determined that the electronic device does not limit the magnitude of the actual charging current and the actual charging current is less than or equal to the first current threshold, a prompt message is output.
Wherein, the prompt message is used for the suggestion user to change the actual charging wire of connecting charger and electronic equipment for the target charging wire, and the resistance of target charging wire is less than the resistance of actual charging wire.
In step 405, when the charger is determined to be the target charger, the magnitude of the target charging current output by the target charger is acquired.
In step 406, when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information and the difference between the target charging current and the actual charging current is greater than or equal to the second current threshold, a prompt message is output.
By obtaining the actual charging current and the actual current suppression information input into the electronic device, when the actual charging current is smaller than or equal to the first current threshold, it is determined that the actual charging current is too small to meet the requirement of charging the electronic device. When the residual capacity of the battery in the electronic equipment is greater than the capacity threshold, the electronic equipment is in a constant-voltage charging state, and in the state, in order to avoid causing over-charging of the battery, the electronic equipment can limit the actual charging current; when a display screen in the electronic equipment is not in a screen-off state, for example, the display screen is in a screen-on state, the display screen generates more heat, and in order to avoid that the temperature of the electronic equipment rises too fast, the electronic equipment limits the actual charging current so as to reduce the heat generated by charging; when the temperature of the electronic equipment is higher than the temperature threshold, in order to avoid the temperature of the electronic equipment from continuously rising, the electronic equipment limits the magnitude of the actual charging current so as to reduce the heat generated by charging; therefore, by acquiring the remaining capacity of the battery in the electronic device and the temperature of the electronic device, and determining the working state of the display screen in the electronic device, when the remaining capacity of the battery in the electronic device is less than or equal to the capacity threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold, it is determined that the electronic device does not limit the actual charging current. If the actual charging current is smaller than or equal to the first current threshold and it is determined that the electronic equipment does not limit the actual charging current, the reason that the actual charging current is too small is that the resistance value of an actual charging line connecting the charger and the electronic equipment is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Thereby under the prerequisite that need not special check out test set, when the resistance of charging wire was too high, the suggestion user changed actual charging wire for the lower target charging wire of resistance, improved electronic equipment's charge efficiency, improved user experience.
When the charger is determined to be a target charger, the electronic device can obtain the magnitude of a target charging current output by the target charger, and when the difference between the target charging current and the actual charging current is determined to be larger than or equal to a second current threshold value, namely the difference between the target charging current output by the target charger and the actual charging current input into the electronic device is too large, if the electronic device is determined to not limit the magnitude of the actual charging current according to the actual current suppression information, the reason for enabling the difference between the actual charging current and the target charging current to be too large is determined to be that the resistance value of an actual charging wire connecting the charger and the electronic device is too high; through outputting prompt information to reach the purpose that the suggestion user changes actual charging wire for the lower target charging wire of resistance, avoid because of the too high charging current that leads to the charger output of the resistance of the charging wire of connecting charger and electronic equipment appearing great loss in the transmission process through the charging wire, improved electronic equipment's charge efficiency, improved user experience.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 5a is a block diagram of a control device 50 of an electronic device according to an exemplary embodiment, where the control device 50 of the electronic device may be a terminal or a part of the terminal, and the control device 50 of the electronic device may be implemented as a part or all of the electronic device through software, hardware, or a combination of the two. As shown in fig. 5a, the control device 50 of the electronic apparatus includes:
an actual current obtaining module 501, configured to obtain a magnitude of an actual charging current input to the electronic device;
a current suppression obtaining module 502, configured to obtain actual current suppression information;
the first prompting module 503 is configured to output a prompting message when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information, and the actual charging current is less than or equal to the first current threshold.
Wherein, the prompt message is used for the suggestion user to change the actual charging wire of connecting charger and electronic equipment for the target charging wire, and the resistance of target charging wire is less than the resistance of actual charging wire.
In one embodiment, as shown in fig. 5b, the current suppression acquisition module 502 includes:
the electronic device information obtaining submodule 5021 is used for obtaining the residual electric quantity of a battery in the electronic device and the temperature of the electronic device and determining the working state of a display screen in the electronic device;
the first prompt module 503 includes:
the prompting submodule 5031 is configured to determine that the electronic device does not limit the actual charging current when the remaining power of the battery in the electronic device is less than or equal to the power threshold, the display screen in the electronic device is in the screen-off state, and the temperature of the electronic device is less than or equal to the temperature threshold.
In one embodiment, as shown in fig. 5c, the control device 50 of the electronic apparatus further includes:
a target current obtaining module 504, configured to obtain a target charging current output by a target charger when the charger is determined to be the target charger;
and a second prompting module 505, configured to output a prompting message when it is determined that the electronic device does not limit the magnitude of the actual charging current according to the actual current suppression information, and the difference between the target charging current and the actual charging current is greater than or equal to a second current threshold.
In one embodiment, as shown in fig. 5d, the control device 50 of the electronic device further includes: :
an instruction obtaining module 506, configured to obtain a target charger confirmation instruction;
a target current acquisition module 504 comprising:
the first target charger determining submodule 5041 is configured to determine that the charger is the target charger according to the target charger confirmation instruction.
In one embodiment, as shown in fig. 5e, the target current obtaining module 504 includes:
and the second target charger determining submodule 5042 is configured to detect a charger and determine that the charger is a target charger according to a detection result.
According to the control device of the electronic equipment, the control device of the electronic equipment obtains the actual charging current and the actual current suppression information input into the electronic equipment, when the actual charging current is smaller than or equal to the first current threshold, the actual charging current is determined to be too small, and the requirement of charging the electronic equipment cannot be met, and because the actual charging current is determined not to be limited by the electronic equipment according to the actual current suppression information, the reason that the actual charging current is too small is that the resistance value of an actual charging wire connecting a charger and the electronic equipment is too high; through output prompt information, reach the purpose that the suggestion user will be actual charging wire is changed for the lower target charging wire of resistance to ensure that the actual charging current of input electronic equipment can not be because of the too high undersize of resistance of charging wire. Consequently the technical scheme that this disclosed embodiment provided can be under the prerequisite that need not special check out test set, when the resistance of charging wire was too high, the suggestion user changed actual charging wire for the lower target charging wire of resistance, has improved electronic equipment's charging efficiency, has improved user experience.
Fig. 6 is a block diagram illustrating a control device 60 of an electronic apparatus according to an exemplary embodiment, where the control device 60 of the electronic apparatus may be a server or a part of the server, and the control device 60 of the electronic apparatus includes:
a processor 601;
a memory 602 for storing instructions executable by the processor 601;
wherein the processor 601 is configured to:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information, and the actual charging current is smaller than or equal to the first current threshold, prompt information is output, the prompt information is used for prompting a user to replace an actual charging line, connected with the charger and the electronic equipment, with a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line.
In one embodiment, the processor 601 may be further configured to:
acquiring the residual capacity of a battery in the electronic equipment and the temperature of the electronic equipment, and determining the working state of a display screen in the electronic equipment;
when the residual capacity of the battery in the electronic equipment is less than or equal to the capacity threshold, the display screen in the electronic equipment is in the screen-off state, and the temperature of the electronic equipment is less than or equal to the temperature threshold, determining that the electronic equipment does not limit the actual charging current.
In one embodiment, the processor 601 may be further configured to:
when the charger is determined to be the target charger, acquiring the magnitude of target charging current output by the target charger;
and when the fact that the electronic equipment does not limit the magnitude of the actual charging current is determined according to the actual current suppression information, and the difference value between the target charging current and the actual charging current is larger than or equal to the second current threshold value, outputting prompt information.
In one embodiment, the processor 601 may be further configured to:
acquiring a target charger confirmation instruction;
and determining the charger as the target charger according to the target charger confirmation instruction.
In one embodiment, the processor 601 may be further configured to:
and detecting the charger, and determining the charger as a target charger according to the detection result.
According to the control device of the electronic equipment provided by the embodiment of the disclosure, by acquiring the actual charging current and the actual current suppression information input into the electronic equipment, when the actual charging current is less than or equal to the first current threshold, the actual charging current is too small, so that the requirement of charging the electronic equipment cannot be met, and meanwhile, the actual charging current is not limited by the electronic equipment according to the actual current suppression information, so that the reason that the actual charging current is too small is that the resistance value of an actual charging wire connecting the charger and the electronic equipment is too high; through output prompt information, reach the suggestion user and change the purpose of the lower target charging wire of resistance with actual charging wire, avoid because of the too high actual charging current undersize that leads to input electronic equipment of resistance of the charging wire of connecting charger and electronic equipment, improved electronic equipment's charge efficiency, improved user experience.
Fig. 7 is a block diagram illustrating an apparatus 700 for controlling an electronic device, the apparatus 700 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, according to an example embodiment.
The apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store no various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 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 708 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 700 is in an operation mode, such as a photographing 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 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 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 716 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 716 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 700 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 methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method 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.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an apparatus 700, enable the apparatus 700 to perform a method of controlling the electronic device described above, the method comprising:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when the fact that the electronic equipment does not limit the actual charging current is determined according to the actual current suppression information, and the actual charging current is smaller than or equal to the first current threshold, prompt information is output, the prompt information is used for prompting a user to replace an actual charging line, connected with the charger and the electronic equipment, with a target charging line, and the resistance value of the target charging line is smaller than that of the actual charging line.
In one embodiment, obtaining actual current suppression information comprises:
acquiring the residual capacity of a battery in the electronic equipment and the temperature of the electronic equipment, and determining the working state of a display screen in the electronic equipment;
determining the magnitude of the actual charging current which is not limited by the electronic equipment according to the actual current suppression information, wherein the determining step comprises the following steps:
when the residual capacity of the battery in the electronic equipment is less than or equal to the capacity threshold, the display screen in the electronic equipment is in the screen-off state, and the temperature of the electronic equipment is less than or equal to the temperature threshold, determining that the electronic equipment does not limit the actual charging current.
In one embodiment, the method further comprises:
when the charger is determined to be the target charger, acquiring the magnitude of target charging current output by the target charger;
and when the fact that the electronic equipment does not limit the magnitude of the actual charging current is determined according to the actual current suppression information, and the difference value between the target charging current and the actual charging current is larger than or equal to the second current threshold value, outputting prompt information.
In one embodiment, the method further comprises:
acquiring a target charger confirmation instruction;
determining that the charger is a target charger, comprising:
and determining the charger as the target charger according to the target charger confirmation instruction.
In one embodiment, determining that the charger is the target charger comprises:
and detecting the charger, and determining the charger as a target charger according to the detection result.
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.

Claims (12)

1. A method for controlling an electronic device, the method being applied to a control apparatus of the electronic device, the method comprising:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when it is determined that the electronic equipment does not limit the actual charging current according to the actual current suppression information and the actual charging current is smaller than or equal to a first current threshold, prompt information is output and used for prompting a user to replace an actual charging wire connecting a charger and the electronic equipment with a target charging wire, and the resistance value of the target charging wire is smaller than that of the actual charging wire.
2. The method of controlling an electronic device according to claim 1, wherein the obtaining actual current suppression information includes:
acquiring the residual capacity of a battery in the electronic equipment and the temperature of the electronic equipment, and determining the working state of a display screen in the electronic equipment;
the determining that the electronic device does not limit the actual charging current according to the actual current suppression information includes:
when the residual capacity of the battery in the electronic equipment is smaller than or equal to a capacity threshold, the display screen in the electronic equipment is in a screen-off state, and the temperature of the electronic equipment is smaller than or equal to a temperature threshold, determining that the electronic equipment does not limit the actual charging current.
3. The method of controlling an electronic device according to claim 1, the method further comprising:
when the charger is determined to be a target charger, acquiring the magnitude of a target charging current output by the target charger;
and when the fact that the electronic equipment does not limit the magnitude of the actual charging current is determined according to the actual current suppression information, and the difference value between the target charging current and the actual charging current is larger than or equal to a second current threshold value, outputting the prompt information.
4. The method of controlling an electronic device according to claim 3, further comprising:
acquiring a target charger confirmation instruction;
the determining that the charger is a target charger includes:
and determining that the charger is the target charger according to the target charger confirmation instruction.
5. The method of claim 3, wherein the determining that the charger is a target charger comprises:
and detecting the charger, and determining the charger as the target charger according to the detection result.
6. A control apparatus of an electronic device, comprising:
the actual current acquisition module is used for acquiring the actual charging current input into the electronic equipment;
the current suppression acquisition module is used for acquiring actual current suppression information;
the first prompting module is used for outputting prompting information when it is determined that the electronic equipment does not limit the actual charging current according to the actual current suppression information and the actual charging current is smaller than or equal to a first current threshold value, wherein the prompting information is used for prompting a user to replace an actual charging wire which is connected with a charger and the electronic equipment with a target charging wire, and the resistance value of the target charging wire is smaller than that of the actual charging wire.
7. The control device of the electronic apparatus according to claim 6, wherein the current suppression acquisition module includes:
the electronic equipment information sub-acquisition module is used for acquiring the residual electric quantity of a battery in the electronic equipment and the temperature of the electronic equipment and determining the working state of a display screen in the electronic equipment;
the first prompt module includes:
and the prompting submodule is used for determining that the actual charging current is not limited by the electronic equipment when the residual electric quantity of the battery in the electronic equipment is less than or equal to an electric quantity threshold value, the display screen in the electronic equipment is in a screen-off state, and the temperature of the electronic equipment is less than or equal to a temperature threshold value.
8. The control apparatus of an electronic device according to claim 6, characterized in that the apparatus further comprises:
the target current acquisition module is used for acquiring the magnitude of a target charging current output by a target charger when the charger is determined to be the target charger;
and the second prompting module is used for outputting the prompting information when the electronic equipment is determined not to limit the actual charging current according to the actual current suppression information and the difference value between the target charging current and the actual charging current is greater than or equal to a second current threshold value.
9. The control apparatus of an electronic device according to claim 8, characterized in that the apparatus further comprises:
the instruction acquisition module is used for acquiring a target charger confirmation instruction;
the target current acquisition module includes:
and the first target charger determining submodule is used for determining that the charger is the target charger according to the target charger determining instruction.
10. The control device of the electronic apparatus according to claim 8, wherein the target current obtaining module includes:
and the second target charger determining submodule is used for detecting the charger and determining the charger as the target charger according to the detection result.
11. A control apparatus of an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the actual charging current input into the electronic equipment;
acquiring actual current suppression information;
when it is determined that the electronic equipment does not limit the actual charging current according to the actual current suppression information and the actual charging current is smaller than or equal to a first current threshold, prompt information is output and used for prompting a user to replace an actual charging wire connecting a charger and the electronic equipment with a target charging wire, and the resistance value of the target charging wire is smaller than that of the actual charging wire.
12. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 5.
CN201711003998.0A 2017-10-24 2017-10-24 Control method and device of electronic equipment Active CN107733021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711003998.0A CN107733021B (en) 2017-10-24 2017-10-24 Control method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711003998.0A CN107733021B (en) 2017-10-24 2017-10-24 Control method and device of electronic equipment

Publications (2)

Publication Number Publication Date
CN107733021A CN107733021A (en) 2018-02-23
CN107733021B true CN107733021B (en) 2020-06-02

Family

ID=61212540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711003998.0A Active CN107733021B (en) 2017-10-24 2017-10-24 Control method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN107733021B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108321897B (en) * 2018-02-28 2022-03-25 Tcl移动通信科技(宁波)有限公司 Charging control method based on temperature balance, mobile terminal and storage medium
CN114336895A (en) * 2022-02-15 2022-04-12 北京小米移动软件有限公司 Charging method, charging device, terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088195A (en) * 2009-12-08 2011-06-08 扬智科技股份有限公司 Portable electronic device and related charging control method
CN105703423A (en) * 2016-01-22 2016-06-22 珠海市魅族科技有限公司 Charging control method, charging equipment, and charging system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154527A1 (en) * 2001-04-23 2002-10-24 Maks Lin AC/DC PORTABLE CHARGER FOR Li-ION BATTERIES, CELLULAR TELEPHONES AND PDAS
US9397517B2 (en) * 2014-01-08 2016-07-19 Infineon Technologies Austria Ag Cable compensation by zero-crossing compensation current and resistor
US9728983B2 (en) * 2014-12-09 2017-08-08 Verizon Patent And Licensing Inc. Weak component detection for charging capacity control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088195A (en) * 2009-12-08 2011-06-08 扬智科技股份有限公司 Portable electronic device and related charging control method
CN105703423A (en) * 2016-01-22 2016-06-22 珠海市魅族科技有限公司 Charging control method, charging equipment, and charging system

Also Published As

Publication number Publication date
CN107733021A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
US20170064182A1 (en) Method and device for acquiring image file
EP3136699A1 (en) Method and device for connecting external equipment
EP3200116A1 (en) Method and apparatus for acquiring information via a virtual identity module from lost or stolen terminal
CN108121631B (en) Screen abnormal state reminding method and device
CN108110854B (en) Charging method, charging device and computer-readable storage medium
CN107331910B (en) Charging method and device
CN105720644A (en) Charging control method and device and terminal device
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
US11205906B2 (en) Charging processing method, terminal device and storage medium
CN107733021B (en) Control method and device of electronic equipment
CN107681727B (en) Control method and device of electronic equipment
CN108718439B (en) Data transmission method and device
CN106877451B (en) Charging port short-circuit protection method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN107222576B (en) Photo album synchronization method and device
CN106506808B (en) Method and device for prompting communication message
EP3099023A1 (en) Method and device for sending message
CN106919332B (en) Information transmission method and equipment
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN106446827B (en) Iris recognition function detection method and device
CN105072245A (en) Network service providing method and device
CN112421702B (en) Lithium battery charging method and device
CN115940310A (en) Charging method, charging device, and storage medium

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
GR01 Patent grant
GR01 Patent grant