CN106786997A - Charging method and device - Google Patents

Charging method and device Download PDF

Info

Publication number
CN106786997A
CN106786997A CN201710100782.XA CN201710100782A CN106786997A CN 106786997 A CN106786997 A CN 106786997A CN 201710100782 A CN201710100782 A CN 201710100782A CN 106786997 A CN106786997 A CN 106786997A
Authority
CN
China
Prior art keywords
current
charging
temperature
terminal
current value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710100782.XA
Other languages
Chinese (zh)
Inventor
杨晓星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710100782.XA priority Critical patent/CN106786997A/en
Publication of CN106786997A publication Critical patent/CN106786997A/en
Pending legal-status Critical Current

Links

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

Landscapes

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

Abstract

Present disclose provides a kind of charging method and device, belong to field of terminal technology.The method is applied to terminal, and terminal includes charging inlet and the headset assembly being disposed adjacent with charging inlet, temperature sensor is provided with headset assembly, including:In charging process, the Current Temperatures detected by temperature sensor are obtained;Whether detection Current Temperatures meet predetermined current adjusting condition;If Current Temperatures meet predetermined current adjusting condition, according to Current Temperatures, the charging current of terminal is adjusted to target charge current value, present charging current value of the target charge current value less than terminal.The disclosure is by charging process, the temperature of charging inlet is detected by using the temperature sensor in terminal earphone component, and the temperature based on charge port interface, when charging current is excessive, charging current is turned down, the safety of charging process is ensure that, and terminal saves cost without setting temperature sensor specifically designed for charging inlet.

Description

Charging method and device
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of charging method and device.
Background technology
With the development of science and technology, increasing for the terminal function such as smart mobile phone causes terminal in use Power consumption increases, therefore common requirements of the quick charge as user how are carried out to terminal.
At present, the charging interval of terminal is generally shortened by the way of charging current is increased, however, under some scenes Big charging current can bring certain potential safety hazard.Such as, when the charging inlet of terminal has foreign conducting matter, or mobile phone is worked as During in moist environment, generation short circuit current at charging inlet is easily caused, now, big charging current causes that charging inlet is produced Heat is increased dramatically, and is caught fire so as to burn out mobile phone or even cause, and is caused any property loss to user.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of charging method and device, the technical scheme It is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of charging method, terminal is applied to, the terminal includes filling Electrical interface and the headset assembly being disposed adjacent with the charging inlet, are provided with temperature sensor, institute in the headset assembly The method of stating includes:
In charging process, the Current Temperatures detected by the temperature sensor are obtained;
Detect whether the Current Temperatures meet predetermined current adjusting condition;
If the Current Temperatures meet the predetermined current adjusting condition, according to the Current Temperatures, by the terminal Charging current be adjusted to target charge current value, current charging current of the target charge current value less than the terminal Value.
In a kind of possible implementation, whether the detection Current Temperatures meet predetermined current adjusting condition bag Include:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets described default Electric current adjusting condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, it is determined that described The temperature rate-of-rise of charging inlet;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures are expired The foot predetermined current adjusting condition.
Detect whether Current Temperatures meet predetermined current adjusting condition by different ways so that can be by many Kind of approach determines the need for adjusting charging current, improves the flexibility of regulation charging current.
It is described according to the Current Temperatures in a kind of possible implementation, the charging current of the terminal is adjusted For target charge current value includes:
According to the Current Temperatures, the target charge current value of the terminal is determined;
The charging current of the terminal is adjusted to the target charge current value by the present charging current value.
It is described according to the Current Temperatures in a kind of possible implementation, determine the target charging electricity of the terminal Flow valuve includes:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and adjusted with the temperature The corresponding charging current value of section grade;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and adjusted with the temperature The corresponding electric current regulated value of section grade;By the present charging current value and the difference of the electric current regulated value, it is defined as described Target charge current value.
Target charge current is determined by the temperature adjustment grade according to belonging to Current Temperatures, enabling according to charging The actual conditions of interface Current Temperatures, carry out reasonable adjusting target charge current, to cause that terminal is carried out using target charge current Charge, reduction Current Temperatures that can be good, so as to reach the purpose of safe charging.
In a kind of possible implementation, methods described also includes:
When detecting the terminal and being converted to charged state by non-charged state, start the temperature sensor to carry out Temperature detection;
When detecting the terminal and being converted to non-charged state by charged state, control the temperature sensor stop into Trip temperature is detected.
It is start-up temperature sensor by charging, it is closing temperature sensor not charge, reduces the power consumption of terminal.
In a kind of possible implementation, distance is in the temperature between the temperature sensor and the charging inlet Spend in the effective temperature detection range of sensor so that the temperature that temperature sensor is detected can more accurately represent charging The temperature of interface.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of charging device, terminal is applied to, the terminal includes filling Electrical interface and the headset assembly being disposed adjacent with the charging inlet, are provided with temperature sensor, institute in the headset assembly Stating device includes:
Acquisition module, in charging process, obtaining the Current Temperatures detected by the temperature sensor;
Detection module, for detecting whether the Current Temperatures meet predetermined current adjusting condition;
Current regulating module, if meeting the predetermined current adjusting condition for the Current Temperatures, works as according to described Preceding temperature, target charge current value is adjusted to by the charging current of the terminal, and the target charge current value is less than the end The present charging current value at end.
In a kind of possible implementation, the detection module is used for:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets described default Electric current adjusting condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, it is determined that described The temperature rate-of-rise of charging inlet;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures are expired The foot predetermined current adjusting condition.
In a kind of possible implementation, the adjustment module includes:
Determining unit, for according to the Current Temperatures, determining the target charge current value of the terminal;
Adjustment unit, fills for the charging current of the terminal to be adjusted into the target by the present charging current value Electric current value.
In a kind of possible implementation, the determining unit is used for:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and adjusted with the temperature The corresponding charging current value of section grade;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and adjusted with the temperature The corresponding electric current regulated value of section grade;By the present charging current value and the difference of the electric current regulated value, it is defined as described Target charge current value.
In a kind of possible implementation, described device also includes:
Starting module, for when detecting the terminal and being converted to charged state by non-charged state, starting the temperature Sensor is spent to carry out temperature detection;
Control module, for when detecting the terminal and being converted to non-charged state by charged state, controlling the temperature Degree sensor stops carrying out temperature detection.
In a kind of possible implementation, distance is in the temperature between the temperature sensor and the charging inlet Spend in the effective temperature detection range of sensor.
Beneficial effect produced by any one possible implementation of the second aspect and second aspect, with above-mentioned On the one hand the beneficial effect and in first aspect produced by possible implementation correspondence technological means is identical, does not do herein superfluous State.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of charging device, including:
Processor;
Memory for storing processor-executable instruction;
Charging inlet, the headset assembly being disposed adjacent with the charging inlet is provided with temperature biography in the headset assembly Sensor;
Wherein, the processor is configured as:In charging process, obtain current detected by the temperature sensor Temperature;Detect whether the Current Temperatures meet predetermined current adjusting condition;If the Current Temperatures meet the default electricity Stream adjusting condition, according to the Current Temperatures, target charge current value, the target is adjusted to by the charging current of the terminal Present charging current value of the charging current value less than the terminal.
Beneficial effect produced by the third aspect, the beneficial effect produced by technological means corresponding with above-mentioned first aspect It is identical, will not be described here.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In charging process, the temperature of charging inlet is detected by using the temperature sensor in terminal earphone component, And the temperature based on charge port interface, when charging current is excessive, charging current is turned down, it is ensured that the safety of charging process, And terminal saves cost without setting temperature sensor specifically designed for charging inlet.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the charging method according to an exemplary embodiment.
Fig. 2A is a kind of flow chart of the charging method according to an exemplary embodiment.
Fig. 2 B are current direction schematic diagrames in a kind of charging process according to an exemplary embodiment.
Fig. 2 C are the positions of a kind of charging inlet according to an exemplary embodiment and temperature sensor in headset assembly Put relation schematic diagram.
Fig. 3 is a kind of block diagram of the charging device according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the charging device according to an exemplary embodiment.
Specific embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the charging method according to an exemplary embodiment, is applied to terminal, the terminal bag Charging inlet and the headset assembly being disposed adjacent with the charging inlet are included, temperature sensor is provided with the headset assembly, wrapped Include following steps:
In a step 101, in charging process, the Current Temperatures in acquisition headset assembly detected by temperature sensor.
In a step 102, detect whether the Current Temperatures meet predetermined current adjusting condition.
In step 103, if the Current Temperatures meet the predetermined current adjusting condition, according to the Current Temperatures, by this The current charging current of terminal is adjusted to target charge current value, and the target charge current value is less than the present charging current value.
The method that the present embodiment is provided, in charging process, comes by using the temperature sensor in terminal earphone component The temperature of charging inlet, and the temperature based on charge port interface are detected, when charging current is excessive, charging current is turned down, protected The safety of charging process has been demonstrate,proved, and terminal saves cost without setting temperature sensor specifically designed for charging inlet.
In a kind of possible implementation, whether the detection Current Temperatures meet predetermined current adjusting condition includes:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets predetermined current tune Section condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, the charging inlet is determined Temperature rate-of-rise;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures meet the predetermined current Adjusting condition.
Detect whether Current Temperatures meet predetermined current adjusting condition by different ways so that can be by many Kind of approach determines the need for adjusting charging current, improves the flexibility of regulation charging current.
In a kind of possible implementation, the charging current of the terminal is adjusted to target by this according to the Current Temperatures Charging current value includes:
According to the Current Temperatures, the target charge current value of the terminal is determined;
The charging current of the terminal is adjusted to the target charge current value by the present charging current value.
In a kind of possible implementation, this determines the target charge current value bag of the terminal according to the Current Temperatures Include:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and the temperature adjustment grade Corresponding charging current value;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and the temperature adjustment grade Corresponding electric current regulated value;By the present charging current value and the difference of the electric current regulated value, it is defined as the target charge current Value.
Target charge current is determined by the temperature adjustment grade according to belonging to Current Temperatures, enabling according to charging The actual conditions of interface Current Temperatures, carry out reasonable adjusting target charge current, to cause that terminal is carried out using target charge current Charge, reduction Current Temperatures that can be good, so as to reach the purpose of safe charging.
In a kind of possible implementation, the method also includes:
When detecting the terminal and being converted to charged state by non-charged state, start the temperature sensor to enter trip temperature Detection;
When detecting the terminal and being converted to non-charged state by charged state, the temperature sensor is controlled to stop carrying out temperature Degree detection.
It is start-up temperature sensor by charging, it is closing temperature sensor not charge, reduces the power consumption of terminal.
In a kind of possible implementation, distance is in the TEMP between the temperature sensor and the charging inlet In the effective temperature detection range of device so that the temperature that temperature sensor is detected can more accurately represent charging inlet Temperature.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, herein no longer using any combination Repeat one by one.
Fig. 2A is a kind of flow chart of the charging method according to an exemplary embodiment, as shown in Figure 2 A, is applied to Terminal, comprises the following steps:
In step 201, in charging process, the current temperature in acquisition terminal earphone component detected by temperature sensor Degree.
In the present embodiment, terminal includes charging inlet and the headset assembly being disposed adjacent with the charging inlet.
Wherein, the charging inlet of terminal can be USB (Universal Serial Bus, USB) Type-C The interface of the types such as interface, Micro USB interfaces or Lighting interfaces.The charging inlet can by USB data line with fill Electrical equipment is connected, and charger provides the terminal with electric energy, charged with to terminal by USB data line.Charged to terminal During, as shown in Figure 2 B, charging current is by charger for the flow direction of charging current between the charging inlet and charger of terminal The voltage bus pin (VBUS) of interface flows to the voltage bus pin of terminal charge interface.Terminal also includes charging circuit, should Charging circuit is connected with charging inlet and battery, for the electric energy of acquisition to be supplied into battery, to realize the charging to battery. Charging current is flowed to the grounding pin of charger interface by the grounding pin (GND) of terminal so that the battery of charger and terminal Between form charge circuit.And in charging process, if the charging inlet of terminal has foreign conducting matter, or terminal is in Moist environment, it is likely that terminal short circuit at charging inlet can be made, now, a part of charging current is directly connect by terminal charge The voltage bus pin of mouth flows to the grounding pin of terminal charge interface.It should be noted that the charging inlet of terminal can set Put in the bottom of terminal, top or lateral edges, the present embodiment is not construed as limiting to this.
Wherein, temperature sensor, earphone interface (being referred to as receiver J-Horner) are provided with headset assembly and are used for Earphone interface is coordinated to realize the electronic component of audio signal input/output function, such as modulus conversion chip, digital-to-analogue conversion core Piece and audio signal amplifier etc..Wherein, the distance between the temperature sensor and charging inlet are in the effective of temperature sensor In temperature detection range, that is to say that the charging inlet of terminal is located in the effective temperature detection range of temperature sensor so that should The temperature of temperature sensor detection can represent the temperature of charging inlet.It should be noted that in headset assembly, TEMP Device can be arranged on the position adjacent with the outside of earphone interface, it is also possible to be arranged on earphone interface, with test earphone interface Temperature.The headset assembly is desirably integrated into charging circuit, and now, earphone interface can be integrated with charging inlet, It is that the charging inlet both can be used for connecting charger, it is also possible to the ear speaker device for connecting outside.
A kind of plan view from above of the terminal provided referring to Fig. 2 C, is only located in terminal bottom in figure with charging inlet Portion, the temperature sensor of headset assembly are arranged on the position adjacent with charging inlet upper right side to exemplify.It should be noted that The present embodiment is integrally not construed as limiting to headset assembly with the relative position of charging inlet, such as, headset assembly integrally may be located at The left side or right side of charging inlet, certainly, when the earphone interface of headset assembly is integrated with the charging inlet, the charging The position of mouth is just arranged on headset assembly inside etc..
In the present embodiment, when terminal is detected is converted to charged state by non-charged state, the TEMP is started Device carries out temperature detection, and the temperature that the temperature sensor can be in real time to charging inlet is detected.Terminal can periodically from this Temperature sensor obtains the temperature of the charging inlet, such as, terminal can be obtaining a temperature for charging inlet each second.Terminal The temperature of charging inlet that can be to obtaining each time is recorded, such as, in a charging process, terminal will be obtained each time The temperature of the charging inlet for taking is corresponding with the corresponding acquisition time to be stored.Wherein, a charging process can be examined for terminal Measure and charged state is entered by non-charged state, to the process for being again introduced into non-charged state.It should be noted that ought once fill At the end of electric process, that is to say, when detecting the terminal and being converted to non-charged state by charged state, in order to reduce terminal consumption Can, terminal can also control the temperature sensor to stop carrying out temperature detection.
It should be noted that can also start the temperature sensor when the headset assembly of terminal is in running order, to survey The temperature of earphone interface is measured, the performance of headset assembly is calibrated with the temperature according to the measurement, so that under various circumstances Ensure the voice frequency listening effect of stabilization.If terminal by non-charged state when charged state is converted to, the headphone set is detected The temperature sensor of part has been started up, then without performing the step of starting the temperature sensor again.In addition, in order to avoid headphone set Heat production is impacted to the temperature detection of charging inlet in part itself course of work, in charging process, if terminal is detected During audio broadcast state or talking state under headset mode, user can be pointed out to exit audio playing function, such as moved back Go out audio player, with the security of intensified charging process.
In step 202., detect whether the Current Temperatures meet predetermined current adjusting condition.
In the present embodiment, when the Current Temperatures meet predetermined current adjusting condition, terminal there may be potential safety hazard, Such as terminal temperature is too high to damage terminal component, or even causes and catch fire.Can be by following two kinds of sides in implementation process Formula detects whether the Current Temperatures of charging inlet meet predetermined current adjusting condition:
First way, whether the Current Temperatures are detected higher than preset temperature threshold value, if the Current Temperatures are higher than default Temperature threshold, it is determined that the Current Temperatures meet predetermined current adjusting condition.
Wherein, preset temperature threshold value is more than or equal to the maximum for charging normal temperature range, and this charges normal temperature Scope can be obtained by the way that different terminals are carried out with the experimental data statistics of charging measurement, and certain terminal can also be according to actual need The preset temperature threshold value is modified, the present embodiment is not construed as limiting to this.When the temperature of charging inlet is higher than the default temperature During degree threshold value, illustrate the temperature of charging inlet beyond charging normal temperature range, it is understood that there may be potential safety hazard.
Whether the second way, the temperature rate-of-rise of detection charging inlet are more than scheduled rate, if should be more than default Speed, it is determined that the temperature of the charging inlet meets predetermined current adjusting condition.
Wherein, the determination mode of the temperature rate-of-rise of charging inlet can be:Obtain the historical temperature of charging inlet, root According to the Current Temperatures and the historical temperature of the charging inlet, the temperature rate-of-rise of the charging inlet is determined.Such as, terminal can From the corresponding relation of the temperature for obtaining time and charging inlet of storage, to obtain the going through for the previous period of current time History temperature, determines the acquisition time interval of difference, historical temperature and the Current Temperatures of historical temperature and Current Temperatures, by the difference With the ratio of the time interval as charging inlet temperature rate-of-rise.Wherein, scheduled rate can be by different terminals The experimental data statistics for carrying out charging measurement is obtained, and certain terminal can also be repaiied to the scheduled rate according to actual needs Change, the present embodiment is not construed as limiting to this.When the temperature rate-of-rise of charging inlet is more than scheduled rate, the charging inlet is illustrated Temperature continuously steeply rise, it is likely that there is potential safety hazard.
In the second way, terminal it could also be because that some outside causes cause the temperature of charging inlet temporarily Rapidly rise, soon fall after rise to normal temperature range afterwards, may not there is potential safety hazard in the case of this kind.Therefore, it is Improve and detect whether the temperature of charging inlet meets the accuracy of predetermined current adjusting condition in the step 202, terminal may be used also When being more than scheduled rate with the temperature rate-of-rise that charging inlet is determined in continuous n times, then determine that the temperature of charge port meets pre- If electric current adjusting condition.Wherein N is the integer more than 1.
In step 203, if the Current Temperatures meet predetermined current adjusting condition, according to the current temperature of the charging inlet Degree, determines the target charge current value of the terminal.
Wherein, present charging current value of the target charge current value less than terminal.Because target charge current value is less than Present charging current value, the quantity of heat production of charging inlet can be reduced by reducing charging current, so reduce the temperature of terminal with Ensure safe charging.
Wherein, charge controlling chip can be included in the charging circuit of terminal, the charge controlling chip can monitor charging The size of electric current, terminal can obtain present charging current value in real time by the charge controlling chip.
Wherein, according to the Current Temperatures, determine that the process of the target charge current value of terminal can be with:
Terminal determines the temperature adjustment grade belonging to the Current Temperatures of charging inlet according to the Current Temperatures of charging inlet, Target charge current value is determined according to the temperature adjustment grade.
Wherein, whether the two ways of predetermined current adjusting condition, the root are met for detection Current Temperatures in step 202 According to the Current Temperatures, determine that the temperature adjustment grade belonging to the Current Temperatures is also corresponded to as follows with two ways:
First way in first way, this kind of mode correspondence above-mentioned steps 202, terminal can be with this kind of mode Multiple temperature adjustment grades are preset, different temperature adjustment grades can correspond to different temperature ranges, when the current temperature When degree falls into certain temperature range, the corresponding temperature adjustment grade of the temperature range is the temperature belonging to the temperature of the charging inlet Degree regulation grade.Wherein, the temperature indicated by temperature range is higher, and the corresponding temperature adjustment grade higher of the temperature range, It is that Current Temperatures are higher, the temperature adjustment grade higher belonging to it.
The second way in the second way, this kind of mode correspondence above-mentioned steps 202, different temperature adjustment grades pair Different speed ranges are answered, in the temperature that charging inlet is determined according to the historical temperature of the Current Temperatures and charging inlet Rise after speed, the speed range belonging to the temperature rate-of-rise is determined, by the speed range pair belonging to the temperature rate-of-rise The temperature adjustment grade answered, is defined as the temperature adjustment grade belonging to Current Temperatures.Wherein, the speed indicated by speed range is got over Height, the temperature adjustment grade higher indicated by the speed range, that is to say, Current Temperatures are higher, temperature adjustment belonging to it etc. Level is higher.
Wherein, according to temperature adjustment grade, determine that target charge current value can be using following two implementation methods come real It is existing:
In one embodiment, a temperature adjustment grade can correspond to a charging current value, temperature adjustment grade Higher, its corresponding charging current value is smaller.Terminal can directly according to the corresponding relation, by the temperature adjustment grade with determination Corresponding charging current value is defined as target charge current value.
Wherein, in order to reduce the temperature of terminal as early as possible, less target can be set when present charging current value is larger Charging current value.For example, the battery normal charging current of 1000mAh (MAH) is 400mA (milliampere) to the maximum, it is assumed that currently fill Correspondence target charge current value 1 when electric current value is 450mA, correspondence target charge current when present charging current value is 470mA Value 2, then target charge current value 1 is less than target charge current value 2.
In another embodiment, a temperature adjustment grade can correspond to an electric current regulated value.Because temperature is adjusted Section grade higher, illustrates that the Current Temperatures of charging inlet are higher, therefore, in order to more quickly lower the temperature to charge port, can be with Charging current is farthest reduced, therefore, in this kind of implementation method, temperature adjustment grade higher, and its corresponding electric current is adjusted Section value is bigger.Terminal is obtained corresponding with the temperature adjustment grade after the temperature adjustment grade belonging to the Current Temperatures is determined Electric current regulated value, the difference of present charging current value and the electric current regulated value is defined as target charge current value.Certainly, mesh Mark charging current value can also be the ratio of present charging current value and the electric current regulated value, in the case of this kind, electric current regulation Value is the numerical value more than or equal to 1, additionally, target charge current value can also be adjusted by present charging current value and first electric current Section value is obtained by other algorithm computings, and the present embodiment is not construed as limiting to this.
It should be noted that when terminal has very serious potential safety hazard, such as when charging inlet is short-circuited, now In order to ensure the safety that charges, it is ensured that terminal is not damaged by, terminal can also forbid charging, and that is to say and for charging current to be reduced to zero. Therefore, it is above-mentioned according to the Current Temperatures, determine the target charge current value of the terminal process can also comprise the following steps a or Step b:
Step a:Whether the Current Temperatures are detected higher than maximum temperature threshold value, if the Current Temperatures are higher than maximum temperature threshold Value, it is determined that the size of the target charge current is zero, forbids terminal to continue to charge.
It should be noted that the maximum temperature threshold value is higher than the preset temperature threshold value mentioned in step 202, when this is current When temperature is higher than maximum temperature threshold value, illustrate that the charging inlet may have occurred short circuit.When in step 202 pass through first way After detecting whether the Current Temperatures meet predetermined current adjusting condition, step a can be performed.
Step b:Obtain in the temperature of the charging inlet determined by the historical temperature of the Current Temperatures and the charging inlet Rise speed;If the temperature rate-of-rise is more than flank speed threshold value, it is determined that the size of the target charge current is zero, is forbidden Terminal continues to charge.
It should be noted that the flank speed threshold value is more than the scheduled rate in the second way of above-mentioned steps 202, when filling When the temperature rate-of-rise of electrical interface is more than the flank speed threshold value, illustrate that the charging inlet may have occurred short circuit.Work as step In 202 after the second way detects whether the Current Temperatures meet predetermined current adjusting condition, step b can be performed.
In step 204, the charging current of the terminal is adjusted to the target charge current by the present charging current value Value.
Terminal can send electric current regulating command to charging equipment, and the electric current regulating command includes the target charge current Value, the target charge current is set to by charger by charging current.
Above-mentioned steps 203 to 204 are when the Current Temperatures of charging inlet meet predetermined current adjusting condition, by terminal Charging current is adjusted to the process of target charge current, so as to avoid charging inlet temperature it is too high when, to terminal cause damage.
The method that the present embodiment is provided, in charging process, comes by using the temperature sensor in terminal earphone component The temperature of charging inlet, and the temperature based on charge port interface are detected, when charging current is excessive, charging current is turned down, protected The safety of charging process has been demonstrate,proved, and terminal saves cost without setting temperature sensor specifically designed for charging inlet.
Fig. 3 is a kind of block diagram of the charging device according to an exemplary embodiment.Reference picture 3, the device is applied to Terminal, the terminal includes charging inlet and the headset assembly being disposed adjacent with the charging inlet, is provided with the headset assembly Temperature sensor, the device includes acquisition module 301, detection module 302 and current regulating module 303.
Wherein, acquisition module 301 is connected with detection module 302, in charging process, obtaining the temperature sensor institute The Current Temperatures for detecting;Detection module 302 is connected with current regulating module 303, for detecting whether the Current Temperatures meet Predetermined current adjusting condition;Current regulating module 303, if meeting the predetermined current adjusting condition, root for the Current Temperatures According to the Current Temperatures, the charging current of the terminal is adjusted to target charge current value, the target charge current value is less than the end The present charging current value at end.
In a kind of possible implementation, the detection module 302 is used for:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets predetermined current tune Section condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, the charging inlet is determined Temperature rate-of-rise;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures meet the predetermined current Adjusting condition.
In a kind of possible implementation, the adjustment module includes:
Determining unit, for according to the Current Temperatures, determining the target charge current value of the terminal;
Adjustment unit, for the charging current of the terminal to be adjusted into the target charge current by the present charging current value Value.
In a kind of possible implementation, the determining unit is used for:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and the temperature adjustment grade Corresponding charging current value;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain and the temperature adjustment grade Corresponding electric current regulated value;By the present charging current value and the difference of the electric current regulated value, it is defined as the target charge current Value.
In a kind of possible implementation, the device also includes:
Starting module, for when detecting the terminal and being converted to charged state by non-charged state, starting temperature biography Sensor is carrying out temperature detection;
Control module, for when detecting the terminal and being converted to non-charged state by charged state, controlling the temperature to pass Sensor stops carrying out temperature detection.
In a kind of possible implementation, distance is in the TEMP between the temperature sensor and the charging inlet In the effective temperature detection range of device.
The device that the embodiment of the present disclosure is provided, in charging process, by using the TEMP in terminal earphone component Device detects the temperature of charging inlet, and the temperature based on charge port interface, when charging current is excessive, charging current is adjusted It is small, it is ensured that the safety of charging process, and terminal is without specifically designed for charging inlet setting temperature sensor, saving into This.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the charging device according to an exemplary embodiment.For example, device 400 can be moved Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building sets It is standby, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing assembly 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, input/output (I/O) interface 412, sensor cluster 414, Yi Jitong Letter component 416.
The integrated operation of the usual control device 400 of processing assembly 402, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 402 can include one or more modules, just Interaction between processing assembly 402 and other assemblies.For example, processing assembly 402 can include multi-media module, it is many to facilitate Interaction between media component 408 and processing assembly 402.
Memory 404 is configured as storing various types of data supporting the operation in device 400.These data are shown Example includes the instruction for any application program or method operated on device 400, and contact data, telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, charging inlet, and other generate, manage and distribute the component that electric power is associated with for device 400.
Multimedia groupware 408 is included in one screen of output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 404 or via communication set Part 416 sends.Also include headset assembly 405 in audio-frequency assembly 410, temperature sensor is provided with the headset assembly and earphone connects Mouthful, when device 400 is under headset mode, can be input into by earphone interface or exports audio signal.In some embodiments In, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect the opening/closed mode of device 400, the relative positioning of component is for example described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, user is presence or absence of with what device 400 was contacted, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing above-mentioned charging method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage is situated between Instruction in matter by terminal computing device when so that terminal is able to carry out above-mentioned charging method.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a kind of charging method, is applied to terminal, it is characterised in that the terminal include charging inlet and with the charging The headset assembly that mouth is disposed adjacent, is provided with temperature sensor in the headset assembly, methods described includes:
In charging process, the Current Temperatures detected by the temperature sensor are obtained;
Detect whether the Current Temperatures meet predetermined current adjusting condition;
If the Current Temperatures meet the predetermined current adjusting condition, according to the Current Temperatures, by filling for the terminal Electric current is adjusted to target charge current value, and the target charge current value is less than the present charging current value.
2. method according to claim 1, it is characterised in that whether the detection Current Temperatures meet predetermined current Adjusting condition includes:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets the predetermined current Adjusting condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, the charging is determined The temperature rate-of-rise of interface;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures meet institute State predetermined current adjusting condition.
3. method according to claim 1, it is characterised in that described according to the Current Temperatures, by filling for the terminal Electric current is adjusted to target charge current value to be included:
According to the Current Temperatures, the target charge current value of the terminal is determined;
The charging current of the terminal is adjusted to the target charge current value by the present charging current value.
4. method according to claim 3, it is characterised in that described according to the Current Temperatures, determines the terminal Target charge current value includes:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain with the temperature adjustment etc. The corresponding charging current value of level;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain with the temperature adjustment etc. The corresponding electric current regulated value of level;By the present charging current value and the difference of the electric current regulated value, it is defined as the target Charging current value.
5. method according to claim 1, it is characterised in that methods described also includes:
When detecting the terminal and being converted to charged state by non-charged state, start the temperature sensor to enter trip temperature Detection;
When detecting the terminal and being converted to non-charged state by charged state, the temperature sensor is controlled to stop carrying out temperature Degree detection.
6. the method according to claim any one of 1-5, it is characterised in that the temperature sensor and the charging inlet Between distance in the effective temperature detection range of the temperature sensor.
7. a kind of charging device, is applied to terminal, it is characterised in that the terminal include charging inlet and with the charging The headset assembly that mouth is disposed adjacent, is provided with temperature sensor in the headset assembly, described device includes:
Acquisition module, in charging process, obtaining the Current Temperatures detected by the temperature sensor;
Detection module, for detecting whether the Current Temperatures meet predetermined current adjusting condition;
Current regulating module, if meeting the predetermined current adjusting condition for the Current Temperatures, according to the current temperature Degree, target charge current value is adjusted to by the charging current of the terminal, and the target charge current value is less than the terminal Present charging current value.
8. device according to claim 7, it is characterised in that the detection module is used for:
If the Current Temperatures are higher than preset temperature threshold value, it is determined that the temperature of the charging inlet meets the predetermined current Adjusting condition;Or,
The historical temperature of the charging inlet is obtained, according to the Current Temperatures and the historical temperature, the charging is determined The temperature rate-of-rise of interface;If the temperature rate-of-rise is more than scheduled rate, it is determined that the Current Temperatures meet institute State predetermined current adjusting condition.
9. device according to claim 7, it is characterised in that the adjustment module includes:
Determining unit, for according to the Current Temperatures, determining the target charge current value of the terminal;
Adjustment unit, for the charging current of the terminal to be adjusted into the target charging electricity by the present charging current value Flow valuve.
10. device according to claim 9, it is characterised in that the determining unit is used for:
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain with the temperature adjustment etc. The corresponding charging current value of level;The charging current value is defined as the target charge current value;Or,
According to the Current Temperatures, the temperature adjustment grade belonging to the Current Temperatures is determined;Obtain with the temperature adjustment etc. The corresponding electric current regulated value of level;By the present charging current value and the difference of the electric current regulated value, it is defined as the target Charging current value.
11. devices according to claim 7, it is characterised in that described device also includes:
Starting module, passes for when detecting the terminal and being converted to charged state by non-charged state, starting the temperature Sensor is carrying out temperature detection;
Control module, for when detecting the terminal and being converted to non-charged state by charged state, controlling the temperature to pass Sensor stops carrying out temperature detection.
12. device according to claim any one of 7-11, it is characterised in that the temperature sensor and the charging Distance is in the effective temperature detection range of the temperature sensor between mouthful.
A kind of 13. terminals, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Charging inlet, the headset assembly being disposed adjacent with the charging inlet is provided with temperature sensor in the headset assembly;
Wherein, the processor is configured as:In charging process, the current temperature detected by the temperature sensor is obtained Degree;Detect whether the Current Temperatures meet predetermined current adjusting condition;If the Current Temperatures meet the predetermined current Adjusting condition, according to the Current Temperatures, target charge current value is adjusted to by the charging current of the terminal, and the target is filled Present charging current value of the electric current value less than the terminal.
CN201710100782.XA 2017-02-23 2017-02-23 Charging method and device Pending CN106786997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710100782.XA CN106786997A (en) 2017-02-23 2017-02-23 Charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710100782.XA CN106786997A (en) 2017-02-23 2017-02-23 Charging method and device

Publications (1)

Publication Number Publication Date
CN106786997A true CN106786997A (en) 2017-05-31

Family

ID=58960310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710100782.XA Pending CN106786997A (en) 2017-02-23 2017-02-23 Charging method and device

Country Status (1)

Country Link
CN (1) CN106786997A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108110839A (en) * 2017-12-28 2018-06-01 合肥联宝信息技术有限公司 A kind of method for controlling power supply and electronic equipment
CN108899959A (en) * 2018-08-07 2018-11-27 Oppo广东移动通信有限公司 Electronic equipment charge protector, method, apparatus, electronic equipment and medium
CN110386009A (en) * 2018-04-20 2019-10-29 丰田自动车株式会社 Vehicle and charging system
CN110429672A (en) * 2019-07-15 2019-11-08 百富计算机技术(深圳)有限公司 Battery charging management method, terminal device and storage medium
CN113055804A (en) * 2021-04-09 2021-06-29 东莞市科奈信精密制造有限公司 Earphone heating test system and earphone heating test method
CN113937834A (en) * 2020-06-29 2022-01-14 Oppo广东移动通信有限公司 Configuration circuit and method of charging current and equipment to be charged
CN114336895A (en) * 2022-02-15 2022-04-12 北京小米移动软件有限公司 Charging method, charging device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090146609A1 (en) * 2007-12-10 2009-06-11 Cesario Dos Santos Charging Base with Testing Capability for Medical Device
CN101997318A (en) * 2009-08-14 2011-03-30 富港电子(东莞)有限公司 Battery charging method and device
CN104377751A (en) * 2013-08-14 2015-02-25 诺基亚公司 Charging connector overheat detection and protection apparatus
CN105471008A (en) * 2014-09-03 2016-04-06 联想(北京)有限公司 Information processing method, first electronic equipment and second electronic equipment
CN106130094A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of USB port charge protection device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090146609A1 (en) * 2007-12-10 2009-06-11 Cesario Dos Santos Charging Base with Testing Capability for Medical Device
CN101997318A (en) * 2009-08-14 2011-03-30 富港电子(东莞)有限公司 Battery charging method and device
CN104377751A (en) * 2013-08-14 2015-02-25 诺基亚公司 Charging connector overheat detection and protection apparatus
CN105471008A (en) * 2014-09-03 2016-04-06 联想(北京)有限公司 Information processing method, first electronic equipment and second electronic equipment
CN106130094A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of USB port charge protection device and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108110839A (en) * 2017-12-28 2018-06-01 合肥联宝信息技术有限公司 A kind of method for controlling power supply and electronic equipment
CN110386009A (en) * 2018-04-20 2019-10-29 丰田自动车株式会社 Vehicle and charging system
CN110386009B (en) * 2018-04-20 2022-09-23 丰田自动车株式会社 Vehicle and charging system
CN108899959A (en) * 2018-08-07 2018-11-27 Oppo广东移动通信有限公司 Electronic equipment charge protector, method, apparatus, electronic equipment and medium
CN110429672A (en) * 2019-07-15 2019-11-08 百富计算机技术(深圳)有限公司 Battery charging management method, terminal device and storage medium
CN113937834A (en) * 2020-06-29 2022-01-14 Oppo广东移动通信有限公司 Configuration circuit and method of charging current and equipment to be charged
CN113937834B (en) * 2020-06-29 2024-01-12 Oppo广东移动通信有限公司 Configuration circuit and method of charging current and equipment to be charged
CN113055804A (en) * 2021-04-09 2021-06-29 东莞市科奈信精密制造有限公司 Earphone heating test system and earphone heating test method
CN114336895A (en) * 2022-02-15 2022-04-12 北京小米移动软件有限公司 Charging method, charging device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106786997A (en) Charging method and device
CN106410303B (en) Charging method and device
CN104539009B (en) charging management method and device
CN107843802A (en) Internal short-circuit detection method and device
EP3813221A1 (en) Battery charging method, battery charging apparatus and storage medium
CN107196372A (en) Charging method and device
CN106786871A (en) Charge control method, apparatus and system
CN106712219A (en) Charging protection method and device
CN105356529B (en) The reminding method and device of quick-charge state
CN106505688A (en) Charge control method and device
CN105720644A (en) Charging control method and device and terminal device
CN108574123A (en) Battery charging control method, device and battery
CN108964182A (en) The adjusting method and device of reverse charging equipment, reverse charging electric current
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN105137831A (en) Power-saving mode starting method and device
CN108091809A (en) Battery, equipment, charge control method and device
CN106067571A (en) Method and electronic equipment for battery charging
CN107331910A (en) Charging method and device
CN108091808A (en) Battery, equipment, charge control method and device
CN104600786B (en) Portable power source and power information display methods
CN106898832A (en) Charging method and device
CN107546873A (en) The control method and device of wireless charging distance, electronic equipment
CN108539804A (en) Battery charging control method, battery charging control device and electronic equipment
CN106549455A (en) Charge control method and device
CN108267972A (en) Control method of electronic device and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication