CN103532211B - Terminal and charge control method - Google Patents
Terminal and charge control method Download PDFInfo
- Publication number
- CN103532211B CN103532211B CN201310522746.4A CN201310522746A CN103532211B CN 103532211 B CN103532211 B CN 103532211B CN 201310522746 A CN201310522746 A CN 201310522746A CN 103532211 B CN103532211 B CN 103532211B
- Authority
- CN
- China
- Prior art keywords
- charge
- terminal
- charge mode
- mode
- charging
- 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
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a kind of terminal and a kind of charge control method, wherein, terminal includes: switch unit, there is provided and select a charge mode as the switching interface of the charge mode of terminal in multiple charge modes, the charge mode notice driver element that user is selected, wherein, the corresponding charging current limitation value of each charge mode; Driver element, it is connected to switch unit, type according to the charger being connected with terminal determines rated charge flow valuve, and judges the size between charging current limitation value and rated charge flow valuve, determines the actual charge current value of terminal according to judged result. The present invention provides user to select and switches the function of charge mode, it is possible to targetedly charging current is controlled, and can improve the terminal compatibility to charger, ensure the reliability of charging connection to the full extent.
Description
Technical field
The present invention relates to communication technical field, in particular to a kind of terminal and a kind of charge control method.
Background technology
USB is widely used by electronic equipment as general electric and data-interface, and at present, mobile phone terminal many employings USB interface is charged. Electronic equipment needs first to mate the device type of opposite end by USB before being charged, to limit charging current, this can by carrying out level match realization to two ports of the D+/D-in USB interface. Illustrate, if D+/D-can communicate, and defer to usb protocol, then can regard as usb data interface, be not to be exceeded 500mA according to USB charging current; If D+/D-short circuit pulls up, then can regard as AC charger, it is provided that higher input current. This process is all completed by equipment Auto-matching, it is not necessary to user participates in.
There are a kind of data-interface and 4 kinds of level combinations in the D+/D-of Universal USB interface, it may be assumed that usb data interface type, height-high and low-low, high-low, low-high. Some special USB-type interface, as, in the privately owned standard of Apple, D+/D-made a distinction identification by the mode of different voltage ratios, situation is more complicated.
Current USB interface on charge type not strong " national standard " or " industry standard " carry out specification, this has resulted in different manufacturers accepted standard disunity, in turn result in the problem of compatible difficulty between the equipment of different manufacturers, for instance following two situation institute produced problem.
The first situation: the charger baby occurred on the market, major part is customized by semiworks miscellaneous, and these numerous semiworks are for the impact of the factors such as cost, location, market, interface have employed different standards, and between these standards, be likely present overlapping and conflict part. For Mobile phone, as a consequence it is hardly possible to be entirely through automatic knowledge and be distinguished by otherwise.
Such as part charger baby (especially old-fashioned) is though adopting AC interface, but it is likely to actual fan-out capability and only has 1000mA, even 500mA, if so handset identity goes out AC interface and is charged with the electric current of 2A, then most likely result in the direct power down shutdown of charger baby, it is impossible to charge normal.
The intrinsic output of old-fashioned charger baby cannot change, and the charging current of mobile phone to increase be the trend of a certainty, this contradiction can hinder the lifting of charging current, or causes that old-fashioned charger baby is forced to eliminate, and can cause the significant wastage of resource.
The second situation: according to usb protocol, USB interface need to be supported that 500mA fan-out capability, general mobile phone are all given tacit consent to and be charged according to this standard. But the USB interface of computer would be likely to occur problems with:
1. producer uses inferior materials and turns out substandard goods, and the fan-out capability causing reality is not enough;
2. ageing equipment, causes fan-out capability to decline;
3. user is likely on one interface and connects multiple design in using, or uses USB connecting line inferior, causes the output scarce capacity to external device of reality.
Owing to above Railway Project is all likely to cause USB to connect, or often connecting situation about disconnecting, its reason is that USB interface current output capability is not enough, causes operation irregularity. And the USB function of general mobile phone and charge function binding, usb communication to be used simultaneously just will necessarily to charge, ultimately result in that charge function is abnormal but have impact on usb communication connection.
Therefore, how compatible different charger, it is achieved charging normal becomes urgent need and solve the technical problem that.
Summary of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of terminal, it is provided that the handoff functionality of charge mode, adjusts suitable charging current by the switching of charge mode, with compatible charger, it is ensured that charge normal.
In view of this, the present invention proposes a kind of terminal, including: switch unit, there is provided and select a charge mode as the switching interface of the charge mode of described terminal in multiple charge modes, the charge mode notice driver element that user is selected, wherein, the corresponding charging current limitation value of each described charge mode; Described driver element, it is connected to described switch unit, type according to the charger being connected with described terminal determines rated charge flow valuve, and judge the size between described charging current limitation value and described rated charge flow valuve, the actual charge current value of described terminal is determined according to judged result.
Terminal is likely to be mistake according to the rated charge stream that the type Auto-matching of charger is determined, do not meet real application scenarios, owing to the use time is longer, such as charger causes that fan-out capability declines, therefore, can not meet the requirement of the big charging current of terminal, if being charged still according to rated charge stream, then may result in connecting abnormal or charging unsuccessfully, impact charges normal, and user is not aware that it is what reason, think that terminal goes wrong or charger goes wrong, had a strong impact on user's experience. the present invention is to solve this technical problem, provide multiple charge mode, user can select to be suitable for the charging current of current scene in multiple charge mode, every kind of charge mode has corresponding explanation, the corresponding charging current limitation value of each charge mode, user can check related description and select suitable charge mode, after selecting charge mode, the rated charge flow valuve of charging current limitation value corresponding for this charge mode Yu terminal Auto-matching is compared by terminal, by the finishing rate value that charging current value minimum in both is terminal, this makes it possible to adjust the charging current of terminal, rather than all the time adopt terminal Auto-matching charging current as final charging current, so that the charging current of terminal is not mated with the fan-out capability of charger.Therefore, after so processing, the compatibility of terminal can be improved.
In technique scheme, it is preferred that described driver element using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
In any of the above-described technical scheme, it is preferred that terminal can also include: detection unit, after described terminal is connected with charger, detect the charged state of described terminal, testing result is notified the first reminding unit; Described first reminding unit, when described testing result is for charging exception, reminds described user to switch charge mode.
In some cases, user is not aware that whether the current charge mode of terminal meets current charging scenarios, whether the current charge mode that just can automatically determine terminal after adopting the technological means of the charged state detecting terminal is suitable, and remind user need to switch charge mode, user after seeing this prompting, changeable charge mode.
In any of the above-described technical scheme, preferably, described first reminding unit is additionally operable to, when described rated charge flow valuve is more than the actual current output valve of described charger, remind described user to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
When reminding user need to switch charge mode, user is likely to still not know specifically should switch to which charge mode, and at this moment, which kind of switch mode is terminal can should switch to and point out user by automatic decision. Generally, the fan-out capability of charger and the rated charge stream of terminal need to be considered, if the fan-out capability of charger can load terminal, then can be charged according to the rated charge stream of terminal, if the fan-out capability of charger can not load terminal, then need reduce terminal charging current, therefore, when bad connection occur or charging unsuccessfully, illustrating that the fan-out capability of charger is not enough, prompting switches to normal charging mode. Again such as, terminal is when adopting USB interface as charging inlet, and charging inlet and data-interface are general, in order to ensure communication function, can forbid charging, therefore can provide and forbid charge mode. It is appreciated that this charging current limitation value forbidding that charge mode is corresponding is zero, owing to choosing the minima actual charge current value as terminal in charging current limitation value and rated charge stream, therefore after have selected and forbidding charge mode, the actual charge current value of terminal is zero.
Can certainly remind, directly automatically switch on suitable charge mode.
In any of the above-described technical scheme, it is preferred that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
In any of the above-described technical scheme, it is preferred that described terminal can also include: memorizer, being connected to described switch unit, preserve the charge mode that described user selects, in order to during charging next time, the described charge mode of reading and saving also notifies described driver element. Terminal can preserve the charge mode that user selects, and when charging next time, the charge mode that acquiescence selects before using.
In any of the above-described technical scheme, it is preferred that, it is also possible to including: the second reminding unit, be used for when charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then remind user to switch to described appointment switch mode.
In order to avoid special charge mode such as forbids charge mode, affect the next charging process of terminal, therefore, after this charging terminates, or in charging next time, the charge mode that user is current can be reminded, or remind user to switch to the normal charge mode charge mode that such as major part charger is general.
According to a further aspect in the invention, additionally provide a kind of charge control method, including: provide and select a charge mode as the switching interface of the charge mode of described terminal in multiple charge modes, receive the charge mode that user selects, wherein, it is provided that the corresponding charging current limitation value of each described charge mode; Type according to the charger being connected with described terminal determines rated charge flow valuve, and judges the size between described charging current limitation value and described rated charge flow valuve; The actual charge current value of described terminal is determined according to judged result.
Terminal is likely to be mistake according to the rated charge stream that the type Auto-matching of charger is determined, do not meet real application scenarios, owing to the use time is longer, such as charger causes that fan-out capability declines, therefore, can not meet the requirement of the big charging current of terminal, if being charged still according to rated charge stream, then may result in connecting abnormal or charging unsuccessfully, impact charges normal, and user is not aware that it is what reason, think that terminal goes wrong or charger goes wrong, had a strong impact on user's experience. the present invention is to solve this technical problem, provide multiple charge mode, user can select to be suitable for the charging current of current scene in multiple charge mode, every kind of charge mode has corresponding explanation, the corresponding charging current limitation value of each charge mode, user can check related description and select suitable charge mode, after selecting charge mode, the rated charge flow valuve of charging current limitation value corresponding for this charge mode Yu terminal Auto-matching is compared by terminal, by the finishing rate value that charging current value minimum in both is terminal, this makes it possible to adjust the charging current of terminal, rather than all the time adopt terminal Auto-matching charging current as final charging current, so that the charging current of terminal is not mated with the fan-out capability of charger. therefore, after so processing, the compatibility of terminal can be improved.
In technique scheme, it is preferred that the step of the described actual charge current value determining described terminal according to judged result includes: using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
In any of the above-described technical scheme, it is preferred that, it is also possible to including: after described terminal is connected with charger, detect the charged state of described terminal; When testing result is for charging exception, described user is reminded to switch charge mode. In some cases, user is not aware that whether the current charge mode of terminal meets current charging scenarios, whether the current charge mode that just can automatically determine terminal after adopting the technological means of the charged state detecting terminal is suitable, and remind user need to switch charge mode, user after seeing this prompting, changeable charge mode.
In any of the above-described technical scheme, it is preferred that when described rated charge flow valuve is more than the actual current output valve of described charger, remind described user to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
When reminding user need to switch charge mode, user is likely to still not know specifically should switch to which charge mode, and at this moment, which kind of switch mode is terminal can should switch to and point out user by automatic decision.Generally, the fan-out capability of charger and the rated charge stream of terminal need to be considered, if the fan-out capability of charger can load terminal, then can be charged according to the rated charge stream of terminal, if the fan-out capability of charger can not load terminal, then need reduce terminal charging current, therefore, when bad connection occur or charging unsuccessfully, illustrating that the fan-out capability of charger is not enough, prompting switches to normal charging mode. Again such as, terminal is when adopting USB interface as charging inlet, and charging inlet and data-interface are general, in order to ensure communication function, can forbid charging, therefore can provide and forbid charge mode. It is appreciated that this charging current limitation value forbidding that charge mode is corresponding is zero, owing to choosing the minima actual charge current value as terminal in charging current limitation value and rated charge stream, therefore after have selected and forbidding charge mode, the actual charge current value of terminal is zero.
In any of the above-described technical scheme, it is preferred that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
In any of the above-described technical scheme, it is preferred that preserve the charge mode that described user selects, in order to during charging next time, use the charge mode of described selection. Terminal can preserve the charge mode that user selects, and when charging next time, the charge mode that acquiescence selects before using.
In any of the above-described technical scheme, it is preferred that, it is also possible to comprise the following steps: when charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then remind user to switch to described appointment switch mode.
In order to avoid special charge mode such as forbids charge mode, affect the next charging process of terminal, therefore, after this charging terminates, or in charging next time, the charge mode that user is current can be reminded, or remind user to switch to the normal charge mode charge mode that such as major part charger is general.
Accompanying drawing explanation
Fig. 1 illustrates the schematic diagram of terminal according to an embodiment of the invention;
Fig. 2 illustrates the flow chart of the charge control method in correlation technique;
Fig. 3 illustrates the flow chart of charge control method according to an embodiment of the invention;
Fig. 4 illustrates battery menu schematic diagram according to an embodiment of the invention;
Fig. 5 illustrates that charge mode selects menu schematic diagram according to an embodiment of the invention;
Fig. 6 illustrates that charge mode reminds schematic diagram according to an embodiment of the invention;
Fig. 7 illustrates the flow chart of charge control method according to an embodiment of the invention.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail. It should be noted that when not conflicting, embodiments herein and the feature in embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention; but; the present invention can also adopt other to be different from other modes described here to implement, and therefore, protection scope of the present invention is by the restriction of following public specific embodiment.
Fig. 1 illustrates the schematic diagram of terminal according to an embodiment of the invention.
As shown in Figure 1, terminal 100 according to an embodiment of the invention, including: switch unit 102, there is provided and select a charge mode as the switching interface of the charge mode of described terminal in multiple charge modes, the charge mode notice driver element that user is selected, wherein, the corresponding charging current limitation value of each described charge mode;Described driver element 104, it is connected to described switch unit 102, type according to the charger being connected with described terminal determines rated charge flow valuve, and judge the size between described charging current limitation value and described rated charge flow valuve, the actual charge current value of described terminal is determined according to judged result.
Terminal is likely to be mistake according to the rated charge stream that the type Auto-matching of charger is determined, do not meet real application scenarios, owing to the use time is longer, such as charger causes that fan-out capability declines, therefore, can not meet the requirement of the big charging current of terminal, if being charged still according to rated charge stream, then may result in connecting abnormal or charging unsuccessfully, impact charges normal, and user is not aware that it is what reason, think that terminal goes wrong or charger goes wrong, had a strong impact on user's experience. the present invention is to solve this technical problem, provide multiple charge mode, user can select to be suitable for the charging current of current scene in multiple charge mode, every kind of charge mode has corresponding explanation, the corresponding charging current limitation value of each charge mode, user can check related description and select suitable charge mode, after selecting charge mode, the rated charge flow valuve of charging current limitation value corresponding for this charge mode Yu terminal Auto-matching is compared by terminal, by the finishing rate value that charging current value minimum in both is terminal, this makes it possible to adjust the charging current of terminal, rather than all the time adopt terminal Auto-matching charging current as final charging current, so that the charging current of terminal is not mated with the fan-out capability of charger. therefore, after so processing, the compatibility of terminal can be improved.
In technique scheme, it is preferred that described driver element 104 using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
In any of the above-described technical scheme, it is preferred that terminal can also include: detection unit 106, after described terminal is connected with charger, detect the charged state of described terminal, testing result is notified the first reminding unit; Described first reminding unit 108, when described testing result is for charging exception, reminds described user to switch charge mode.
In some cases, user is not aware that whether the current charge mode of terminal meets current charging scenarios, whether the current charge mode that just can automatically determine terminal after adopting the technological means of the charged state detecting terminal is suitable, and remind user need to switch charge mode, user after seeing this prompting, changeable charge mode.
In any of the above-described technical scheme, preferably, described first reminding unit 108 is additionally operable to, when described rated charge flow valuve is more than the actual current output valve of described charger, remind described user to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
When reminding user need to switch charge mode, user is likely to still not know specifically should switch to which charge mode, and at this moment, which kind of switch mode is terminal can should switch to and point out user by automatic decision. Generally, the fan-out capability of charger and the rated charge stream of terminal need to be considered, if the fan-out capability of charger can load terminal, then can be charged according to the rated charge stream of terminal, if the fan-out capability of charger can not load terminal, then need reduce terminal charging current, therefore, when bad connection occur or charging unsuccessfully, illustrating that the fan-out capability of charger is not enough, prompting switches to normal charging mode.Again such as, terminal is when adopting USB interface as charging inlet, and charging inlet and data-interface are general, in order to ensure communication function, can forbid charging, therefore can provide and forbid charge mode. It is appreciated that this charging current limitation value forbidding that charge mode is corresponding is zero, owing to choosing the minima actual charge current value as terminal in charging current limitation value and rated charge stream, therefore after have selected and forbidding charge mode, the actual charge current value of terminal is zero.
In any of the above-described technical scheme, it is preferred that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
In any of the above-described technical scheme, it is preferred that described terminal can also include: memorizer 110, it is connected to described switch unit, preserving the charge mode that described user selects, in order to during charging next time, the described charge mode of reading and saving also notifies described driver element. Terminal can preserve the charge mode that user selects, and when charging next time, the charge mode that acquiescence selects before using.
In any of the above-described technical scheme, preferably, it is also possible to including: the second reminding unit 112, it is used for when charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then user is reminded to switch to described appointment switch mode.
In order to avoid special charge mode such as forbids charge mode, affect the next charging process of terminal, therefore, after this charging terminates, or in charging next time, the charge mode that user is current can be reminded, or remind user to switch to the normal charge mode charge mode that such as major part charger is general.
Fig. 2 illustrates the flow chart of the charge control method in correlation technique.
As in figure 2 it is shown, after charger is connected with terminal, terminal can according to following process step Self Matching charging current:
Step 202, obtains USB hardware interface signal. Step 204, according to usb protocol judgment device type. Step 206, selects charging current Icharge according to device type. Step 208, configures charging current I equal to Icharge to charging chip.
Terminal Self Matching process (electronic equipment needs first to mate the device type of opposite end by USB before being charged, to limit charging current) described in said process and background technology. The charging current of this Self Matching is likely to be mistake, because, the fan-out capability of charger is not fixing, affected by use time, process materials etc., therefore this charger may not the terminal of load high charge current, in order to enable the terminals to be adapted to various charger, propose handling process as shown in Figure 3 according to embodiments of the invention.
Fig. 3 illustrates the flow chart of charge control method according to an embodiment of the invention.
As it is shown on figure 3, the terminal according to the present invention provides multiple charge mode, every kind of charge mode has the charging current limitation value of correspondence, it is provided that the selection interface of charge mode, can select to be applicable to the charge mode of current scene pointedly.
Step 302, reminds user to select suitable charge mode. Step 304, user selects interface to select charge mode at charge mode. Step 306, determines charging current limitation value Ilimit according to the charge mode that user selects.
On the other hand, terminal still carries out Self Matching process to obtain rated charge flow valuve according to flow process as shown in Figure 2.
Step 308, obtains USB hardware interface signal. Step 310, according to usb protocol judgment device type. Step 312, determines rated charge stream Icharge according to device type.
It is charged electric current arbitration process below, namely finally determines suitable charging current.
Step 314, it is judged that the size of charging current limitation value Ilimit and rated charge stream Icharge.
Step 316, if charging current limitation value Ilimit is less than rated charge stream Icharge, it is determined that the actual charge current I of the terminal got off is charging current limitation value Ilimit.
Step 318, if charging current limitation value Ilimit is more than rated charge stream Icharge, it is determined that the actual charge current I of the terminal got off is rated charge stream Icharge.
Charging chip is carried out configuration actual charge current I.
Further illustrate according to technical scheme below in conjunction with Fig. 4 to Fig. 6.
In the present embodiment, control method according to the present invention provides a kind of charge mode control mechanism, for targetedly charging current being controlled under special applications scene, to improve the compatibility of some non-standard chargers, ensure the USB reliability connected to the full extent.
1. application layer controls interface
Mode selection interface is provided, for android software architecture in application layer:
1.1 initially enter first order menu, increase the U/I interface " charge mode selection " that charge mode selects in " setting-> battery " option, and in lower section with the current charge mode selected of small character prompting, as shown in Figure 4.
1.2 click " charge mode selection option ", enter second layer menu, it is provided that various modes selects (single choice); Click discretionary choices, then set the charge mode charge mode as terminal of selection a menu on auto-returned, and update the prompting printed words of the present mode of " charge mode selection " lower section. As it is shown in figure 5, provide 4 kinds of charge modes altogether in the present embodiment, it is prohibited from charge mode, USB compatibility mode, normal charging mode and fast charge mode (suggestion uses), the corresponding charging current limitation value of each pattern respectively.
1.3 click options as Fig. 5 menu in carries out after pattern arranges, and software should should " charge mode " indicate to memorizer in the storage of calling system interface, and notifies that bottom charging driving is charged pattern and switches.
1.4 when os starting, should actively read " charge mode " mark of storage, and recover current charge mode accordingly, and informs that bottom charging drives by software interface simultaneously.
2. drive layer to process
2.1 users select charge mode by high-level interface, and drive layer charged state handover event by software interface notice, drive layer to determine charging current upper limit Ilimit according to current charge mode.
2.2 drive layer according to usb protocol, it is judged that the current usb type connected, and determine rated charge stream Icharge according to type;
2.3 when charge event occurs, according to charging current arbitration process, the size of Icharge and Ilimit is judged, if Icharge > Ilimit, then finally select I=Ilimit, otherwise select I=Icharge, and finally for standard, charging chip is configured with electric current I.
Such as, when upper strata arrange charge mode be normal charging mode time, Ilimit=1000mA. When bottom layer driving detect charging inlet type be Icharge=2000mA quick charge time, then should with restriction electric current compare, it has been found that Ilimit, less than Icharge, is actively limited to I=Ilimit=1000mA;When bottom layer driving detects the USB interface that charge type is Icharge=500mA, after restriction electric current Ilimit comparison, I=Icharge=500mA should be kept.
It should be noted that, additionally provide multiple prompting function according to embodiments of the invention:
1 is abnormal in connection status or when charge unsuccessfully, the charge mode of terminal is switched over by prompting user's trial, is not that terminal goes wrong.
2 remind user to attempt to handoff to specify charge mode. Such as USB interface is to have gathered charging inlet and data communication interface, when computer load is limited in one's ability, can preferentially ensure data communication, therefore, can point out to switch to and forbid charge mode.
3 after user have selected and forbids charge mode, by this charge mode of preservation, the charge mode of reading and saving being charged according to this charge mode when next time charges, owing to forbidding that charge mode is special charge mode, get sample to improve user's use, prevent when charging next time, it is impossible to charge fast and effectively, the charge mode that user is current can be reminded.
Owing to fast charging current is big, generate heat relatively serious; Common charging current is less, generates heat less, and therefore fast charging current is big, and charging is fast, but life-time service can reduce " battery life ", uses when being suitable for being pressed for time; Common charging current is less, and charging is relatively slow, but favourable to keeping battery health, is suitable for normality and uses.
During due to large current charge, relative energy loss big (heating); And electric current controls " energy loss is little " (CURRENT DISTRIBUTION of general " general mode " is at best effort section) when best effort section. For the charger of the such finite energy of portable power source, adopt " normal charging mode " that the capacity usage ratio higher than " quick charge " can be obtained. Therefore, it is possible to provide multiple charge mode selects for user, user is made in light of the circumstances, optimal charge mode can be selected.
In the present embodiment, can be " special charge mode " by the pattern definition except " recommendation charge mode ", the alternative scheme that this class charge mode provides principally for reply special applications scene, due to the impact of the factors such as charge efficiency, is not suitable for life-time service. So prompting function should be provided in application layer, it is to avoid user is because of maloperation, or forgets to recover normal setting, causes that mobile phone is chronically at non-conventional charged states such as " forbidding charged state ".
Specific practice is: when terminal is charged, it is judged that when charge mode is " special pattern " that do not recommend, then remind user's charge mode for " special pattern " by the mode of " status bar " or " prompting frame ", if to need to be switched to normal mode.
As shown in Figure 6, in the charging house keeper of drop-down menu, can the reason 602 that why can not charge normal of prompting mobile telephone set, and charge mode 604 charge mode that prompt terminal is current in prompting frame 602 that prompting mobile telephone set is presently in is USB compatibility mode.
The USB function of general mobile phone and charge function binding, use usb communication just will necessarily charge simultaneously, when USB interface current output capability deficiency, will eventually lead to the abnormal usb communication that also have impact on of charge function connect, therefore, in this case optional as shown in Figure 5 forbid charge mode, preferentially ensure communication function.
Fig. 7 illustrates the flow chart of charge control method according to an embodiment of the invention.
As it is shown in fig. 7, charge control method according to an embodiment of the invention, it is possible to comprise the following steps:
Step 702, it is provided that select charge mode as the switching interface of the charge mode of terminal in multiple charge modes, receive the charge mode that user selects, wherein, it is provided that the corresponding charging current limitation value of each charge mode;Step 704, determines rated charge flow valuve according to the type of the charger being connected with terminal, and judges the size between charging current limitation value and rated charge flow valuve; Step 706, determines the actual charge current value of terminal according to judged result.
Terminal is likely to be mistake according to the rated charge stream that the type Auto-matching of charger is determined, do not meet real application scenarios, owing to the use time is longer, such as charger causes that fan-out capability declines, therefore, can not meet the requirement of the big charging current of terminal, if being charged still according to rated charge stream, then may result in connecting abnormal or charging unsuccessfully, impact charges normal, and user is not aware that it is what reason, think that terminal goes wrong or charger goes wrong, had a strong impact on user's experience. the present invention is to solve this technical problem, provide multiple charge mode, user can select to be suitable for the charging current of current scene in multiple charge mode, every kind of charge mode has corresponding explanation, the corresponding charging current limitation value of each charge mode, user can check related description and select suitable charge mode, after selecting charge mode, the rated charge flow valuve of charging current limitation value corresponding for this charge mode Yu terminal Auto-matching is compared by terminal, by the finishing rate value that charging current value minimum in both is terminal, this makes it possible to adjust the charging current of terminal, rather than all the time adopt terminal Auto-matching charging current as final charging current, so that the charging current of terminal is not mated with the fan-out capability of charger. therefore, after so processing, the compatibility of terminal can be improved.
In technique scheme, it is preferred that the step of the described actual charge current value determining described terminal according to judged result includes: using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
In any of the above-described technical scheme, it is preferred that, it is also possible to including: after described terminal is connected with charger, detect the charged state of described terminal; When testing result is for charging exception, described user is reminded to switch charge mode.
In some cases, user is not aware that whether the current charge mode of terminal meets current charging scenarios, whether the current charge mode that just can automatically determine terminal after adopting the technological means of the charged state detecting terminal is suitable, and remind user need to switch charge mode, user after seeing this prompting, changeable charge mode.
In any of the above-described technical scheme, it is preferred that when described rated charge flow valuve is more than the actual current output valve of described charger, remind described user to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
When reminding user need to switch charge mode, user is likely to still not know specifically should switch to which charge mode, and at this moment, which kind of switch mode is terminal can should switch to and point out user by automatic decision. Generally, the fan-out capability of charger and the rated charge stream of terminal need to be considered, if the fan-out capability of charger can load terminal, then can be charged according to the rated charge stream of terminal, if the fan-out capability of charger can not load terminal, then need reduce terminal charging current, therefore, when bad connection occur or charging unsuccessfully, illustrating that the fan-out capability of charger is not enough, prompting switches to normal charging mode.Again such as, terminal is when adopting USB interface as charging inlet, and charging inlet and data-interface are general, in order to ensure communication function, can forbid charging, therefore can provide and forbid charge mode. It is appreciated that this charging current limitation value forbidding that charge mode is corresponding is zero, owing to choosing the minima actual charge current value as terminal in charging current limitation value and rated charge stream, therefore after have selected and forbidding charge mode, the actual charge current value of terminal is zero.
In any of the above-described technical scheme, it is preferred that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
In any of the above-described technical scheme, it is preferred that preserve the charge mode that described user selects, in order to during charging next time, use the charge mode of described selection. Terminal can preserve the charge mode that user selects, and when charging next time, the charge mode that acquiescence selects before using.
In any of the above-described technical scheme, it is preferred that, it is also possible to comprise the following steps: when charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then remind user to switch to described appointment switch mode.
In order to avoid special charge mode such as forbids charge mode, affect the next charging process of terminal, therefore, after this charging terminates, or in charging next time, the charge mode that user is current can be reminded, or remind user to switch to the normal charge mode charge mode that such as major part charger is general.
The technical problem that following two situation occurs is can solve the problem that according to technical scheme:
1. the battery capacity of current phone is increasing, and this just inevitably results in charging current and constantly improves. And due to factors such as technology, cost, planning, a large amount of charger baby that market exists, charger output, interface standardization on all there is very big defect. This may result in the charger that new cell-phone cannot be compatible old, causes the significant wastage of resource, and cause the user is lost. And for this situation, can suitably limit mobile phone by technical scheme absorbs electric current, at least can ensure that these old chargers can continue with. Do not cause the wasting of resources.
2. at present the charging inlet of mobile phone and usb data interface are general, and charge function all automatically turns on, and at some in particular cases, user just hopes use communication function, and pay no attention to charge function. But the USB interface of some PCs is aging seriously, and load capacity sharply declines. If at this moment opening charge function, then often cause USB disconnection because PC current load ability is not enough. In this case, can limit or forbid charging according to technical scheme, then can ensure that usb data connects to the full extent unimpeded.
For both the above situation, due to user cannot unrestricted choice and control charge function, so once going wrong and will feel simply helpless. According to technical scheme by providing the charge control method improved, it is provided that user's interactive interface, it is possible to provide the user with the function of an active adjustment charge mode, tackle these special circumstances, thus promoting Consumer's Experience.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.
Claims (12)
1. a terminal, it is characterised in that including:
Switch unit, it is provided that selecting a charge mode as the switching interface of the charge mode of described terminal in multiple charge modes, charge mode user selected notifies driver element, wherein, the corresponding charging current limitation value of each described charge mode;
Described driver element, it is connected to described switch unit, type according to the charger being connected with described terminal determines rated charge flow valuve, and judge the size between described charging current limitation value and described rated charge flow valuve, the actual charge current value of described terminal is determined according to judged result;
Second reminding unit, is used for when charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then reminds user to switch to described appointment switch mode.
2. terminal according to claim 1, it is characterised in that described driver element using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
3. terminal according to claim 1, it is characterised in that also include:
Detection unit, after described terminal is connected with charger, detects the charged state of described terminal, testing result notifies the first reminding unit;
Described first reminding unit, when described testing result is for charging exception, reminds described user to switch charge mode.
4. terminal according to claim 3, it is characterized in that, described first reminding unit is additionally operable to, when described rated charge flow valuve is more than the actual current output valve of described charger, remind described user to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
5. terminal according to claim 4, it is characterised in that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
6. terminal according to claim 1, it is characterised in that described terminal also includes:
Memorizer, is connected to described switch unit, preserves the charge mode that described user selects, in order to during charging next time, and the described charge mode of reading and saving also notifies described driver element.
7. a charge control method, it is characterised in that including:
There is provided and select charge mode as the switching interface of the charge mode of terminal in multiple charge modes, receive the charge mode that user selects, wherein, it is provided that the corresponding charging current limitation value of each described charge mode;
Type according to the charger being connected with described terminal determines rated charge flow valuve, and judges the size between described charging current limitation value and described rated charge flow valuve;
The actual charge current value of described terminal is determined according to judged result;
When charging complete or the time of starting to charge up, if the current charge mode of described terminal is not specify switch mode, then user is reminded to switch to described appointment switch mode.
8. charge control method according to claim 7, it is characterized in that, the step of the described actual charge current value determining described terminal according to judged result includes: using the minimum current value in described charging current limitation value and described rated charge flow valuve as described actual charge current value.
9. charge control method according to claim 7, it is characterised in that also include:
After described terminal is connected with charger, detect the charged state of described terminal;
When testing result is for charging exception, described user is reminded to switch charge mode.
10. charge control method according to claim 9, it is characterized in that, when described rated charge flow valuve is more than the actual current output valve of described charger, described user is reminded to switch to charge mode charging current limitation value corresponding to less than described rated charge flow valuve.
11. charge control method according to claim 10, it is characterised in that a kind of charge mode in the described charge mode corresponding to charging current limitation value less than described rated charge flow valuve is for forbidding charge mode.
12. charge control method according to claim 7, it is characterised in that preserve the charge mode that described user selects, in order to during charging next time, use the charge mode of described selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310522746.4A CN103532211B (en) | 2013-10-29 | 2013-10-29 | Terminal and charge control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310522746.4A CN103532211B (en) | 2013-10-29 | 2013-10-29 | Terminal and charge control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103532211A CN103532211A (en) | 2014-01-22 |
CN103532211B true CN103532211B (en) | 2016-06-08 |
Family
ID=49934000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310522746.4A Active CN103532211B (en) | 2013-10-29 | 2013-10-29 | Terminal and charge control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103532211B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988417B (en) * | 2014-01-28 | 2023-07-25 | Oppo广东移动通信有限公司 | Power adapter and terminal |
CN104022544B (en) * | 2014-04-30 | 2019-02-15 | 努比亚技术有限公司 | A kind of charging management method and device of mobile terminal |
KR102320853B1 (en) * | 2014-09-02 | 2021-11-02 | 삼성전자 주식회사 | Electronic device, method for charging control of the electronic device, charging device, and method for providing power of the charging device |
CN105846484A (en) * | 2015-01-15 | 2016-08-10 | 中兴通讯股份有限公司 | Charging control method, terminal, and charger |
CN106684954B (en) * | 2015-11-10 | 2019-05-07 | 华为终端(东莞)有限公司 | The method of calibration and equipment and charger of a kind of charge parameter |
CN105406528A (en) * | 2015-11-25 | 2016-03-16 | 深圳市金立通信设备有限公司 | Charging method and terminal |
CN105653421B (en) * | 2015-12-21 | 2018-06-05 | 北京金山安全软件有限公司 | Information detection method and device |
CN105591449A (en) * | 2016-02-29 | 2016-05-18 | 镇江艾迪智能科技有限公司 | Multifunctional charger |
CN106356946A (en) * | 2016-10-18 | 2017-01-25 | 乐视控股(北京)有限公司 | Charging method and device |
CN108321897B (en) * | 2018-02-28 | 2022-03-25 | Tcl移动通信科技(宁波)有限公司 | Charging control method based on temperature balance, mobile terminal and storage medium |
CN110138035A (en) * | 2019-05-22 | 2019-08-16 | 深圳市海派通讯科技有限公司 | Mobile terminal charging control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1043824A2 (en) * | 1999-04-09 | 2000-10-11 | Fujitsu Limited | Battery charge control circuit, battery charging device, and battery charge control method |
CN101512868A (en) * | 2006-06-28 | 2009-08-19 | 波士顿电力公司 | Electronics with multiple charge rate |
CN102222963A (en) * | 2011-06-28 | 2011-10-19 | 深圳市英威腾电源有限公司 | Charger current-limiting control method, charger current-limiting control device and uninterrupted power supply system |
CN102231543A (en) * | 2011-06-28 | 2011-11-02 | 惠州Tcl移动通信有限公司 | System capable of identifying charging capability of charger and charging method thereof |
-
2013
- 2013-10-29 CN CN201310522746.4A patent/CN103532211B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1043824A2 (en) * | 1999-04-09 | 2000-10-11 | Fujitsu Limited | Battery charge control circuit, battery charging device, and battery charge control method |
CN101512868A (en) * | 2006-06-28 | 2009-08-19 | 波士顿电力公司 | Electronics with multiple charge rate |
CN102222963A (en) * | 2011-06-28 | 2011-10-19 | 深圳市英威腾电源有限公司 | Charger current-limiting control method, charger current-limiting control device and uninterrupted power supply system |
CN102231543A (en) * | 2011-06-28 | 2011-11-02 | 惠州Tcl移动通信有限公司 | System capable of identifying charging capability of charger and charging method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103532211A (en) | 2014-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532211B (en) | Terminal and charge control method | |
US10797502B2 (en) | Charging method and electronic devices | |
CN106981900B (en) | Wireless charging method and device | |
US9728989B2 (en) | Method for charging battery inside electronic device with a plurality of power supplies and a plurality of charging modules with USB OTG functionality | |
US9231427B2 (en) | Electronic device with battery recharge notification while in a disabled state | |
EP2619843B1 (en) | Providing power to a component | |
CN110166994B (en) | Data time-sharing transmission interoperability method, system, mobile terminal and storage medium | |
CN109256825B (en) | Charging method and electronic device | |
JP6544008B2 (en) | Electrical apparatus and control method thereof | |
CA2547204C (en) | Inter-processor parameter management in a multiple-processor wireless mobile communication device operating on a processor specific communication network | |
CN111817097A (en) | Charging control method and data line | |
CN107910911B (en) | Charging control method, terminal and computer storage medium | |
CN103246336A (en) | Electronic apparatus and driving control method thereof | |
CN108683236A (en) | A kind of mobile terminal OTG charging methods and device | |
CN108254703A (en) | A kind of computer readable storage medium and mobile terminal for the lamp test that glistens | |
US10481576B2 (en) | Method and device for implementing connection control | |
CN107370196A (en) | Charging device and charging method | |
JP6922291B2 (en) | Control device, power receiving device, power receiving control system, electronic device and non-contact power transmission system | |
KR100765234B1 (en) | method for charging mobile phone using authentication code, and mobile phone thereof | |
CN105762884B (en) | Method for charging electronic device and electronic device | |
CN110022573B (en) | Smart card detection method and electronic equipment | |
CN109408418B (en) | USB mode switching device and method and USB equipment | |
CN101316045A (en) | Battery charging apparatus used for portable system | |
CN107196389A (en) | A kind for the treatment of method and apparatus of terminal charger | |
US20130221904A1 (en) | Terminal and method for charging battery of sub terminal connected to main terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |