CN107196389B - Processing method and device of terminal charger - Google Patents

Processing method and device of terminal charger Download PDF

Info

Publication number
CN107196389B
CN107196389B CN201710629108.0A CN201710629108A CN107196389B CN 107196389 B CN107196389 B CN 107196389B CN 201710629108 A CN201710629108 A CN 201710629108A CN 107196389 B CN107196389 B CN 107196389B
Authority
CN
China
Prior art keywords
charger
terminal
charging current
charging
type
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
CN201710629108.0A
Other languages
Chinese (zh)
Other versions
CN107196389A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710629108.0A priority Critical patent/CN107196389B/en
Publication of CN107196389A publication Critical patent/CN107196389A/en
Application granted granted Critical
Publication of CN107196389B publication Critical patent/CN107196389B/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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a processing method and a device of a terminal charger, wherein the charger and a terminal respectively have corresponding charging information, and the method comprises the following steps: determining a charger currently adapted to the terminal; and if the terminal is provided with a charger which is adapted in advance, configuring the charging information of the terminal according to the charging information corresponding to the charger which is adapted in advance and the charging information corresponding to the charger which is adapted in advance. The embodiment of the invention is used for enhancing the adaptability of the terminal to different chargers.

Description

Processing method and device of terminal charger
The present application is a divisional application of chinese patent application 201510142137.5 entitled "a method and apparatus for processing a terminal charger" filed on 27/3/2015.
Technical Field
The present invention relates to the field of terminal charging technologies, and in particular, to a processing method of a terminal charger and a processing apparatus of the terminal charger.
Background
Most of the terminals currently on the market use standard chargers, for example, Universal Serial Bus (USB) chargers to perform single-path charging. With the development of charging technology, wireless charging technology is mature and widely used, and some special terminal products can use non-standard chargers such as round-mouth chargers and also can perform multi-path charging. Therefore, the emergence of new situations such as non-standard chargers and multi-path charging requires technical countermeasures.
The USB interface charger interface is standardized, and chargers of different manufacturers can be basically used universally, so that terminals charged by large current cannot use low rated current chargers, and compatibility of the terminals to the chargers is limited.
Aiming at the problem that the terminal adopting the high-current charger cannot adopt the low-current charger, the special charger is identified by some special circuits and methods at present, identification circuits are required to be added at the terminal and the charger end respectively, the method can ensure that the charging function of the terminal is normal, but needs to increase the manufacturing cost, and meanwhile, chargers compatible with other manufacturers are thoroughly abandoned.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a processing method of a terminal charger, which is used for enhancing the adaptability of a terminal to different chargers.
Correspondingly, the embodiment of the invention also provides a switching device of the terminal charger, which is used for ensuring the realization and the application of the method.
In order to solve the above problems, the present invention discloses a processing method of a terminal charger, wherein the charger and a terminal respectively have corresponding charging information, and the method comprises:
determining a charger currently adapted to the terminal;
and if the terminal is provided with a charger which is adapted in advance, configuring the charging information of the terminal according to the charging information corresponding to the charger which is adapted in advance and the charging information corresponding to the charger which is adapted in advance.
Preferably, the charging information includes a charging current, and the step of configuring the charging information of the terminal according to the charging information corresponding to the currently adapted charger and the charging information corresponding to the previously adapted charger includes:
judging whether the charging current corresponding to the currently adapted charger is higher than that of the previously adapted charger;
and if so, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger.
Preferably, after the step of determining whether the charging current corresponding to the currently adapted charger is higher than the charging current of the previously adapted charger, the method further includes:
and if not, modifying the charging current of the terminal according to a preset rule.
Preferably, the step of modifying the charging current of the terminal according to a preset rule includes:
the substep S1, judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value; if yes, go to substep S2; if not, go to substep S3;
substep S2, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
a substep S3 of generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
a substep S4 of determining whether the candidate charging current reaches a rated charging current of the terminal; if yes, executing the substep S5, otherwise, returning to the substep S1;
and a substep S5 of maintaining said candidate charging current at said terminal.
Preferably, the charger comprises a round-mouth charger, a USB mouth charger and a wireless charger.
The embodiment of the invention also discloses a processing device of the terminal charger, the charger and the terminal are respectively provided with corresponding charging information, and the device comprises:
the determining module is used for determining a charger which is currently adapted to the terminal;
and the configuration module is used for configuring the charging information of the terminal according to the charging information corresponding to the currently adapted charger and the charging information corresponding to the previously adapted charger when the terminal is provided with the previously adapted charger.
Preferably, the charging information includes a charging current, and the configuration module includes:
the judging submodule is used for judging whether the charging current corresponding to the currently adapted charger is higher than the charging current of the previously adapted charger; if yes, calling a first modification submodule, and if not, calling a second modification submodule;
and the first modification submodule is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger.
Preferably, the apparatus further comprises:
and the second modification submodule is used for modifying the charging current of the terminal according to a preset rule.
Preferably, the second modification submodule includes:
the first judging unit is used for judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value or not; if yes, calling a first modification unit; if not, calling a second modification unit;
the first modification unit is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
the second modification unit is used for generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
the second judging unit is used for judging whether the candidate charging current reaches the rated charging current of the terminal; if yes, the holding unit is called, and if not, the first judging unit is called;
a holding unit for holding the candidate charging current at the terminal.
Preferably, the charger comprises a round-mouth charger, a USB mouth charger and a wireless charger.
Compared with the prior art, the embodiment of the invention has the following advantages:
the embodiment of the invention determines the charger which is currently adapted to the terminal when different chargers exist, and configures the charging information of the terminal according to the charging information corresponding to the currently adapted charger and the charging information corresponding to the previously adapted charger. According to the embodiment of the invention, the charging information of the terminal is correspondingly configured according to the charging information corresponding to the charger existing in the terminal, so that the adaptability of the terminal to different chargers is enhanced.
Specifically, the embodiment of the invention adopts dynamic current increase for charging, so that when a small charging current charger with low power supply capacity is connected to a large charging current terminal, the problem that the terminal considers that the charger is pulled out and cannot be charged due to too low output voltage is avoided, and the adaptability of the terminal to different chargers is enhanced.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for processing a terminal charger according to the present invention;
FIG. 2 is a schematic diagram of the relationship between the output current (I) and the output voltage (U) of a charger of the present invention;
FIG. 3 is a flow chart of a terminal charging current process of the present invention;
fig. 4 is a block diagram of a second embodiment of a processing device of a terminal charger according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating a first step of a processing method of a terminal charger according to a first embodiment of the present invention is shown, where the charger and the terminal may respectively have corresponding charging information, and the method specifically includes the following steps:
step 101, determining a charger currently adapted to a terminal;
it should be noted that the terminal in the embodiment of the present invention may include a mobile phone, a personal computer, a tablet and other devices capable of implementing the present invention, where the charger includes a round charger, a USB charger, a wireless charger and other chargers, which are not limited in the embodiment of the present invention.
In a particular implementation, the charger has its corresponding type attribute. The identification of the type attribute of the charger is an important work for charging the terminal, and the correct identification of the type attribute is required to ensure the charging information configured correctly by the terminal. Different charging information will be shown when different chargers are connected with the terminal, so the type attribute can be identified according to the charging information generated when the chargers are connected with the terminal.
The type attribute in the embodiment of the present invention is also referred to as a charger type, and may specifically include a USB (Universal Serial Bus) charging type of a standard charger, and a round charging type and a wireless charging type of a non-standard charger.
Currently, the type attribute of a terminal is a USB charging type, and the USB charging type may include an SDP (Standard downlink interface) type and an AC (Alternating Current) type. The SDP type is a type attribute recognized by a terminal when the terminal is inserted into a computer for charging, and the AC type is a type attribute recognized by a charger attached to the terminal for charging. The charger power supply capabilities differ for different types of attributes, for example the SDP type typically only provides a maximum of 500mA charging current, whereas the AC type is higher than the SDP type.
Taking an android phone as an example, the USB port of the android phone has four lines, namely VBUS (USB voltage line), D + (positive differential signal line), D- (negative differential signal line), and GND (power ground), and the detection process of the android phone to USB charging with the type attribute is usually: when the android mobile phone detects that VBUS becomes high level, an interrupt is triggered, and then the charging type of the charger is judged by judging the states of D + and D-in an interrupt service function.
It should be noted that the above checking manner is only an example, and in a specific implementation, the type attribute of the charger may be identified in other manners, and besides the identification of the USB charging type, the wireless charging type, and the round charging type, if there are chargers with other types of attributes, the type attribute may also be added to the identification process of the charger according to the embodiment of the present invention, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, when the type attribute of the charger is correctly identified, the charger currently adapted to the terminal can be determined according to the identified type attribute of the terminal.
In an example of a specific application of the present invention, a charger adapted to a current terminal may be determined according to a priority level of a type attribute, assuming that three chargers, namely a USB port charger, a wireless charger and a round port charger, are identified on the terminal, and the priorities of the three types of attributes may be set as: and if the wireless charging type > round charging type > USB port charging type, the charger for identifying the wireless charging type is used as the charger currently adapted to the terminal.
It can be understood that there are many types of terminal chargers, and if all the chargers connected to the terminal are identified one by one, more system resources are consumed. Therefore, considering that the identification of some chargers consumes system resources very much, and according to the preset preference level of the charger and the like, in the case of accessing a plurality of chargers on the terminal, the identification process for some chargers may not be performed, but the identification process for such chargers may be skipped.
When a plurality of chargers exist in a terminal, in order to avoid the problem of mutual interference of multi-path coexisting charging, in the embodiment of the invention, a charger currently adapted to the terminal can be selected according to the type attribute of the identified one or more chargers, and then charging information in the terminal can be adjusted according to the charger currently adapted to the terminal, so that the charger can work normally.
And 102, when a charger which is adapted in advance exists on the terminal, configuring the charging information of the terminal according to the charging information corresponding to the charger which is adapted in advance and the charging information corresponding to the charger which is adapted in advance.
In a preferred embodiment of the present invention, the charging information may include a charging current, and the step 102 may include the following sub-steps:
a substep S11, when there is a charger adapted in advance on the terminal, judging whether the charging current corresponding to the charger adapted in advance is higher than the charging current of the charger adapted in advance; if yes, performing the substep S12, otherwise, performing the substep S13;
substep S12, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
and a substep S13 of modifying the charging current of the terminal according to a preset rule.
In practical applications, there is a special case that a charger with a large rated charging current is connected to a terminal with a small rated charging current, which causes damage to the charger. For example, when the round-mouth charger and the USB-mouth charger are connected simultaneously, the round-mouth charger is used by default, and the charging current may be above 1A (the USB standard requires that the power is supplied to the outside by 500mA at most), if the round-mouth charger is pulled out, since the VBUS level is not changed, the charging current can only be expected to be changed by polling, but there will be a considerable delay, and the USB-mouth is likely to be charged with the charging current above 500mA during the delay, which may damage the USB controller at the computer end.
In one example of a specific application of the present invention, the interrupt service function is processed as follows:
int in _ usb = get _ chip _ status (),/read charging chip status register
If (WIRELESS _ BIT = = in _ usb) {// WIRELESS charging path status is set
Return, if the priority of radio is highest, it returns directly and does not detect any more
If (get _ GPIO _ in (DC _ DET _ NUM)) {// read round mouth charger detect GPIO
Charge _ type = STD _ CIRCULARITY// type is round mouth Charger
} else {
Charge _ type = NON _ STD// identifying as a NON-standard Charger
Set _ charging _ current (NON _ STD)// modifying the charging current to a minimum value (500 mA)
}
In the embodiment of the invention, an interrupt function can be added on the round port detection port, when the level of the round port detection port changes, interrupt is triggered, and the interrupt service function judges that if the round port charger is pulled out and the USB port is provided with the charger, the type of the charger is modified into the USB charging type, and meanwhile, the terminal charging current is configured to a reasonable value, for example, the terminal charging current can be configured to the minimum charging current value corresponding to the charger of the USB charging type. Therefore, when the charger with large rated charging current is connected to the terminal with small rated charging current, the charging current of the terminal can be modified in time, and the charger is prevented from being damaged.
In a specific implementation, charging interfaces of terminals can be unified, chargers of different manufacturers in the market can be generally used, so that a mobile phone charged with a large rated current can be plugged into a charger with a small rated charging current, but generally, the terminal cannot be charged, and refer to a schematic diagram of a relationship between an output current (I) and an output voltage (U) of a charger of the present invention shown in fig. 2. The charger has a rated voltage value and a rated current value, when the output current exceeds the rated value, the output voltage can be reduced, and when the output current is reduced to a Voltage (VBUS) threshold value of the terminal, the terminal can think that the charger is pulled out and stops charging.
In order to improve the adaptability of the terminal to different chargers, the embodiment of the invention provides a dynamic current increasing mode for charging. In a preferred embodiment of the invention, the terminal may have a nominal charging current; the sub-step S13 may include the following sub-steps:
the substep S1, judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value; if yes, go to substep S2; if not, go to substep S3;
substep S2, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
a substep S3 of generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
a substep S4 of determining whether the candidate charging current reaches a rated charging current of the terminal; if yes, executing the substep S5, otherwise, returning to the substep S1;
and a substep S5 of maintaining said candidate charging current at said terminal.
The embodiment of the invention can adopt a mode of increasing the charging current step by step and monitoring the charging voltage of the terminal for charging, stops increasing the charging current when the charging voltage of the terminal is lower than a certain threshold value, and keeps the current charging current for charging. The specific value of the current level is usually determined by the charging current classification supported by the charging chip, for example, the current level may be 125mA first.
For better understanding of the embodiment of the present invention, reference may be made to a processing flow chart of a terminal charging current of the present invention shown in fig. 3, and specific steps may be:
step 1, starting charging from the lowest current gear (charging current of a charger);
step 2, judging whether the charging voltage of the lowest current gear exceeds the lower limit of VBUS; if yes, executing step 5, otherwise, executing step 3;
step 3, adding one gear to the charging current on the basis of the lowest current gear;
step 4, judging whether the rated charging current of the terminal is reached; if yes, executing step 5, otherwise, executing step 2;
and 5, keeping the current charging current for charging.
The embodiment of the invention adopts dynamic current increase for charging, can avoid the problem that the terminal considers the charger to be pulled out and cannot charge due to too low output voltage when a small rated charging current charger with low power supply capacity is connected to a large rated charging current terminal, and enhances the adaptability of the terminal to different chargers.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a second embodiment of the processing apparatus of the terminal charger of the present invention is shown, which may specifically include the following modules:
a determining module 201, configured to determine a charger currently adapted to the terminal;
in a preferred embodiment of the present invention, the charger may include a round mouth charger, a USB mouth charger, a wireless charger.
A configuration module 202, configured to configure, when there is a charger adapted in advance on the terminal, charging information of the terminal according to charging information corresponding to the currently adapted charger and charging information corresponding to the charger adapted in advance.
In a preferred embodiment of the present invention, the charging information may include a charging current, and the configuration module 202 may include the following sub-modules:
the judging submodule is used for judging whether the charging current corresponding to the currently adapted charger is higher than the charging current of the previously adapted charger; if yes, calling a first modification submodule, and if not, calling a second modification submodule;
and the first modification submodule is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger.
In a preferred embodiment of the present invention, the configuration module 202 may further include the following sub-modules:
and the second modification submodule is used for modifying the charging current of the terminal according to a preset rule.
In a preferred embodiment of the present invention, the second modification submodule may include the following units:
the first judging unit is used for judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value or not; if yes, calling a first modification unit; if not, calling a second modification unit;
the first modification unit is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
the second modification unit is used for generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
the second judging unit is used for judging whether the candidate charging current reaches the rated charging current of the terminal; if yes, the holding unit is called, and if not, the first judging unit is called;
a holding unit for holding the candidate charging current at the terminal.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a processing method of a terminal charger and a processing apparatus of a terminal charger provided by the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (2)

1. A processing method of a terminal charger is characterized in that the charger and a terminal respectively have corresponding charging information, the charging information comprises charging current, and the method comprises the following steps:
identifying the type of a charger which is currently adapted to a terminal, wherein the charger comprises a round-mouth charger, a USB (universal serial bus) mouth charger and a wireless charger;
selecting a charger with a currently adapted terminal according to the identified type attribute of the charger, wherein the priority of the charger type is as follows: the wireless charging type > round charging type > USB port charging type;
judging whether the charging current corresponding to the currently adapted charger is higher than that of the previously adapted charger;
if not, modifying the charging current of the terminal according to a preset rule;
the step of modifying the charging current of the terminal according to a preset rule comprises:
the substep S1, judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value; if yes, go to substep S2; if not, go to substep S3;
substep S2, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
a substep S3 of generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
a substep S4 of determining whether the candidate charging current reaches a rated charging current of the terminal; if yes, executing the substep S5, otherwise, returning to the substep S1;
a substep S5 of maintaining the candidate charging current at the terminal;
and if so, modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger.
2. A processing apparatus of a terminal charger, wherein the charger and the terminal have corresponding charging information respectively, and the charging information includes a charging current, the apparatus comprising:
the determining module is used for identifying the type of a charger which is currently adapted to the terminal, and the charger comprises a round-mouth charger, a USB (universal serial bus) mouth charger and a wireless charger;
the configuration module is used for selecting the charger with the currently adapted terminal according to the identified type attribute of the charger, and the priority of the charger type is as follows: the wireless charging type > round charging type > USB port charging type;
the second modification submodule is used for modifying the charging current of the terminal according to a preset rule;
the second modification submodule includes:
the first judging unit is used for judging whether the charging current corresponding to the currently adapted charger exceeds a first preset value or not; if yes, calling a first modification unit; if not, calling a second modification unit;
the first modification unit is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger;
the second modification unit is used for generating candidate charging currents step by step according to a preset current gear based on the charging current corresponding to the currently adapted charger;
the second judging unit is used for judging whether the candidate charging current reaches the rated charging current of the terminal; if yes, the holding unit is called, and if not, the first judging unit is called;
a holding unit for holding the candidate charging current at the terminal;
the judging submodule is used for judging whether the charging current corresponding to the currently adapted charger is higher than the charging current of the previously adapted charger; if yes, calling a first modification submodule, and if not, calling a second modification submodule;
and the first modification submodule is used for modifying the charging current of the terminal into the charging current corresponding to the currently adapted charger.
CN201710629108.0A 2015-03-27 2015-03-27 Processing method and device of terminal charger Active CN107196389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710629108.0A CN107196389B (en) 2015-03-27 2015-03-27 Processing method and device of terminal charger

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710629108.0A CN107196389B (en) 2015-03-27 2015-03-27 Processing method and device of terminal charger
CN201510142137.5A CN104767241B (en) 2015-03-27 2015-03-27 A kind for the treatment of method and apparatus of terminal charger

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510142137.5A Division CN104767241B (en) 2015-03-27 2015-03-27 A kind for the treatment of method and apparatus of terminal charger

Publications (2)

Publication Number Publication Date
CN107196389A CN107196389A (en) 2017-09-22
CN107196389B true CN107196389B (en) 2020-12-01

Family

ID=53648933

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510142137.5A Active CN104767241B (en) 2015-03-27 2015-03-27 A kind for the treatment of method and apparatus of terminal charger
CN201710629108.0A Active CN107196389B (en) 2015-03-27 2015-03-27 Processing method and device of terminal charger

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510142137.5A Active CN104767241B (en) 2015-03-27 2015-03-27 A kind for the treatment of method and apparatus of terminal charger

Country Status (1)

Country Link
CN (2) CN104767241B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107863808B (en) * 2017-12-11 2021-01-01 深圳锐源微电子科技有限公司 Charging control method and device for mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006158153A (en) * 2004-12-01 2006-06-15 Brother Ind Ltd Electronic equipment
CN101079550A (en) * 2006-12-06 2007-11-28 华为技术有限公司 Determination system, terminal charging method, terminal and charger of charger style
CN101179199A (en) * 2007-11-08 2008-05-14 宇龙计算机通信科技(深圳)有限公司 Terminal and charging method thereof
CN103560556A (en) * 2013-10-30 2014-02-05 广东明创软件科技有限公司 Charging method with charging currents selected in gears and mobile terminal thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917313A (en) * 2010-06-18 2010-12-15 深圳桑菲消费通信有限公司 System and charger for mobile terminal to access Ethernet by electric power circuit
KR101979786B1 (en) * 2012-11-12 2019-05-17 삼성전자 주식회사 Processing Method of a battery state and Electronic Device supporting the same
CN103269106B (en) * 2013-05-31 2015-05-13 Tcl通讯(宁波)有限公司 Charging method for setting charging current automatically and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006158153A (en) * 2004-12-01 2006-06-15 Brother Ind Ltd Electronic equipment
CN101079550A (en) * 2006-12-06 2007-11-28 华为技术有限公司 Determination system, terminal charging method, terminal and charger of charger style
CN101179199A (en) * 2007-11-08 2008-05-14 宇龙计算机通信科技(深圳)有限公司 Terminal and charging method thereof
CN103560556A (en) * 2013-10-30 2014-02-05 广东明创软件科技有限公司 Charging method with charging currents selected in gears and mobile terminal thereof

Also Published As

Publication number Publication date
CN104767241B (en) 2017-09-29
CN104767241A (en) 2015-07-08
CN107196389A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
US9128691B2 (en) Method and terminal for selecting internal circuit according to USB interface status
CN106340932B (en) Connection detection method and system of mobile terminal based on USB interface charger
JP2009011153A (en) Device and method for detecting power supply
CN103744821A (en) Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal
CN106230070B (en) Charging method and device
CN104978300A (en) Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment
CN103237189A (en) Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
CN104519405A (en) Control method and electronic equipment
CN106160033B (en) A kind for the treatment of method and apparatus of terminal charger
US10284199B2 (en) Voltage tolerant termination presence detection
EP3179598A1 (en) Method of eliminating interference on touch screen from charger, and mobile terminal
US20190204895A1 (en) Electronic device and control method thereof
US10996734B2 (en) Electronic device that receives power from power supply apparatus and method thereof
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN105244942A (en) Charging current control method and mobile terminal
CN107422825A (en) A kind of CDP mouths charge control method, device, storage medium and electronic equipment
CN107306458A (en) The work SIM card collocation method and communication terminal of a kind of communication terminal
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN107196389B (en) Processing method and device of terminal charger
CN106329625B (en) charging method and device
CN111830394A (en) Charging circuit fault detection method, electronic device and computer readable storage medium
CN111327087B (en) Electronic equipment and charging method thereof
CN107887938B (en) Method and mobile terminal compatible with USB standard charging and quick charging
EP4089875A1 (en) Fast/slow charging self-adaption method and apparatus, and electronic device
US11003230B2 (en) Electronic device that receives power from power supply apparatus and method thereof

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.