CN104167786B - Method for controlling output current of charger based on mobile terminal and mobile terminal - Google Patents

Method for controlling output current of charger based on mobile terminal and mobile terminal Download PDF

Info

Publication number
CN104167786B
CN104167786B CN201410391509.3A CN201410391509A CN104167786B CN 104167786 B CN104167786 B CN 104167786B CN 201410391509 A CN201410391509 A CN 201410391509A CN 104167786 B CN104167786 B CN 104167786B
Authority
CN
China
Prior art keywords
mobile terminal
charger
output current
value
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410391509.3A
Other languages
Chinese (zh)
Other versions
CN104167786A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weihai Bangyue Electronic Technology Co ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410391509.3A priority Critical patent/CN104167786B/en
Publication of CN104167786A publication Critical patent/CN104167786A/en
Application granted granted Critical
Publication of CN104167786B publication Critical patent/CN104167786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for controlling output current of a charger based on a mobile terminal and the mobile terminal. The method comprises the steps that a charger output current value corresponding to each application program is stored in the mobile terminal in advance when the mobile terminal is charged; when the mobile terminal is charged, an application program list opened currently is obtained; the pre-stored charger output current values corresponding to the opened application programs are inquired and are compared, and a minimum current value is obtained; the output current used by the mobile terminal in the charger is set as the minimum current value. By means of the method for controlling output current of the charger based on the mobile terminal and the mobile terminal, proper charger output current is controlled according to the opened applications of the mobile terminal, charging safety of the mobile terminal is guaranteed, safety risks are reduced, and safety is improved.

Description

A kind of method and mobile terminal controlling output current of charger based on mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly, to one kind control output current of charger based on mobile terminal Method and mobile terminal.
Background technology
Development with mobile communication and the continuous improvement of people's living standard, the use of various mobile terminals such as mobile phone is got over More to popularize, mobile phone has become as indispensable means of communication in people's life.Existing mobile terminal function gets more and more, It is a problem that its battery charges.
The needs fast in order to meet high capacity cell charging, mobile terminal will be furnished with high-power charger, to improve charging Speed.However, when user connects charger and uses mobile terminal, electric current should being confessed due to charger and is used for charging, again Confess electric current to use for mobile terminal, therefore, output current of charger is very big;If being not added with to output current of charger controlling System, can lead to mobile terminal temperature to increase rapidly, bring danger.
Therefore, prior art has yet to be improved and developed.
Content of the invention
The technical problem to be solved in the present invention is, uses mobile terminal for user in prior art in connection charger When, the defect that mobile terminal temperature increases rapidly, provide a kind of based on mobile terminal control output current of charger method and Mobile terminal.The method providing a kind of control output current of charger of fast and reliable, decreases potential safety hazard, improves peace Quan Xing.
The technical scheme that present invention solution technical problem is adopted is as follows:
A kind of method that output current of charger is controlled based on mobile terminal, wherein, comprising:
A, preserve when mobile terminal charges each application program corresponding charger output electricity in advance in the terminal Flow valuve;
B, when mobile terminal charges, obtain currently open the application list;
The output current of charger value corresponding with all application programs opened that c, inquiry prestore, and compare this A little application program corresponding output current of charger values opened, obtain wherein one minimum current value;
D, by be used in charger mobile terminal use output current be set to described minimum current value.
Described controls the method for output current of charger it is characterised in that described step c is also wrapped based on mobile terminal Include:
C1, when only opening an application program in mobile terminal charging process, then obtain the corresponding charger of this application Output current value;
C2, the output current using for mobile terminal of the current setting of acquisition, and answer with being somebody's turn to do of acquisition in step c1 Compared with corresponding output current of charger value.
The described method that output current of charger is controlled based on mobile terminal, wherein, described step d also includes:
If this application program of d1 corresponding output current of charger value is less than using for mobile terminal of current setting Output current, then will be used in charger for mobile terminal use output current be set to the corresponding charging of this application program Device output current value.
The described method that output current of charger is controlled based on mobile terminal, wherein, described step a also includes:
Preserve each application program corresponding output current of charger value in advance in a memory in the mobile terminal.
The described method that output current of charger is controlled based on mobile terminal, wherein, described step b also includes:
B1, when mobile terminal charges, detect and determine whether that application is opened;
B2, when there being application to open, then obtain currently open the application list.
A kind of mobile terminal, wherein, comprising:
Prestore module, correspond to for preserving each application program when mobile terminal charges in advance in the terminal Output current of charger value;
Open program acquisition module, for when mobile terminal charges, obtaining currently open the application list;
Inquiry and comparison module, defeated for inquiring about the charger corresponding with all application programs opened prestoring Go out current value, and compare the application program corresponding output current of charger value that these have opened, obtain wherein one minimum current Value;
Applied current setup module, for by be used in charger mobile terminal use output current be set to described in Small current value.
Described mobile terminal, wherein, described inquiry is included with comparison module:
Query unit, for inquiring about the output current of charger corresponding with all application programs opened prestoring Value;When only opening an application program in mobile terminal charging process, then obtain the corresponding output current of charger of this application Value;
Acquiring unit and comparing unit, the corresponding output current of charger value of the application program for more having opened, obtain Arrive wherein one minimum current value;Or when only opening an application program in mobile terminal charging process, obtain and currently arrange For mobile terminal use output current, and with obtain this application corresponding output current of charger value compared with Relatively.
Described mobile terminal, wherein, described applied current setup module includes:
First arranging unit, supplies for the output current being used for mobile terminal use in charger is set to application program Minimum current value in electric current;
Second arranging unit, for when only opening an application program in mobile terminal charging process, if this application journey Sequence corresponding output current of charger value is less than the output current using for mobile terminal of current setting, then by charger In for for mobile terminal use output current be set to this application program corresponding output current of charger value.
Described mobile terminal, wherein, the described module that prestores includes: memory cell, in advance mobile whole Each application program corresponding output current of charger value is preserved in the memorizer at end.
Described mobile terminal, wherein, described program acquisition module of opening includes:
Detector unit, for when mobile terminal charges, detecting and determining whether that application is opened;
Acquiring unit, for when there being application to open, then obtaining currently open the application list.
A kind of method and mobile terminal controlling output current of charger based on mobile terminal provided by the present invention, due to Employ when mobile terminal charges, obtain currently open the application list;What inquiry prestored is beaten with all The application program corresponding output current of charger value opened, and compare the application program corresponding charger output that these have opened Current value, obtains wherein one minimum current value;By be used in charger mobile terminal use output current be set to described in Small current value.Its suitable output current of charger of application control that can be opened according to mobile terminal is it is ensured that mobile terminal The safety charging, decreases potential safety hazard, improves safety.
Brief description
Fig. 1 is the flow process of the first preferred embodiment of method that the present invention controls output current of charger based on mobile terminal Figure.
Fig. 2 is that the method based on mobile terminal control output current of charger described in second embodiment of the invention is preferably real The flow chart applying example.
Fig. 3 is the functional schematic block diagram of the preferred embodiment of the mobile terminal of the present invention.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention further describes.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and without In the restriction present invention.
Refer to Fig. 1, Fig. 1 is the first preferable reality of the method that the present invention controls output current of charger based on mobile terminal The flow chart applying example.The method that output current of charger is controlled based on mobile terminal shown in Fig. 1, comprising:
Step s100, preserve the corresponding charger of each application program when mobile terminal charges in advance in the terminal Output current value.
In the embodiment of the present invention, need to preserve the corresponding charging of each application program in advance in a memory in the mobile terminal Device output current value, that is, store the output current of charger value that each application program needs when charging.For example: wechat is corresponding Charger current value is 1300ma, and the corresponding charger current value of MPC is 900ma, cuts the corresponding charger current of Citrullus vulgariss It is worth for 950ma.
Step s200, when mobile terminal charges, obtain currently open the application list;I.e. when mobile terminal is opened When machine charges, detect and determine whether that application is opened, when there being application to open, then obtain currently open Application Column Table.
The output current of charger value corresponding with all application programs opened that step s300, inquiry prestore, And compare the application program corresponding output current of charger value that these have opened, obtain wherein one minimum current value.
After obtaining currently open the application list, then one by one inquiry prestore with all opened should With program one-to-one output current of charger value, and compare the application program corresponding charger output electricity that these have opened Flow valuve, obtains wherein one minimum current value.
Step s400, by be used in charger mobile terminal use output current be set to described minimum current value.
The maximum output current that will use for mobile terminal in charger in the present invention be set to all open should With minimum output current of charger value in program.For example, currently open application has: wechat, MPC, cuts Citrullus vulgariss; If getting the corresponding charger current value of wechat from memorizer is 1300ma, the corresponding charger current value of MPC is 900ma, cutting the corresponding charger current value of Citrullus vulgariss is 950ma;Then choosing the little value of the electricity in these current values is 900ma, by filling On electric current setting charger, the maximum allowable electric current flowing through is 900ma.
The method that output current of charger is controlled based on mobile terminal described in second embodiment of the invention, as shown in Fig. 2 Comprise the following steps:
Step s10, when only opening an application program in mobile terminal charging process, then obtain that this application is corresponding to fill Electrical equipment output current value;
Step s20, obtain the output current using for mobile terminal of current setting, and with step s10 in obtain This application corresponding output current of charger value compare:
If this application program of step s30 corresponding output current of charger value is less than the whole for moving of current setting The output current that end uses, then be set to this application program by the output current being used in charger using for mobile terminal and correspond to Output current of charger value.
In this second embodiment when an application program is opened, first whether detection mobile terminal connects charger;As Fruit mobile terminal has connected charger and has then obtained this application corresponding output current of charger value from memorizer.
Obtain the output current of charger of current setting, and with obtain this application corresponding output current of charger value phase Relatively, if this application program corresponding output current of charger value is less than the output using for mobile terminal of current setting Electric current, then be set to the output of this application program corresponding charger by the output current being used in charger using for mobile terminal Current value.For example: if currently having arranged the maximum allowable electric current tided on charger is 950ma, if application program cuts Citrullus vulgariss quilt Open, then obtaining from memorizer and cutting Citrullus vulgariss corresponding output current of charger value is 900ma;Then maximum fair on setting charger Being permitted the electric current that flows through is 900ma, to limit the electric current of charger output it is ensured that the safety of mobile terminal.
Therefore, the invention provides a kind of method of the control output current of charger of fast and reliable, decrease peace Full hidden danger, improves safety.
Based on above-described embodiment, present invention also offers a kind of mobile terminal, as shown in Figure 3, comprising:
Prestore module 410, for preserving each application program when mobile terminal charges in advance in the terminal Corresponding output current of charger value;As detailed above.
Open program acquisition module 420, for when mobile terminal charges, obtaining currently open Application Column Table;As detailed above.
Inquiry and comparison module 430, for inquiring about the charging corresponding with all application programs opened prestoring Device output current value, and compare the application program corresponding output current of charger value that these have opened, obtain wherein one minimum Current value;As detailed above.
Applied current setup module 440, for being set to institute by the output current being used for mobile terminal use in charger State minimum current value;As detailed above.
Described mobile terminal, wherein, described inquiry is included with comparison module:
Query unit, for inquiring about the output current of charger corresponding with all application programs opened prestoring Value;When only opening an application program in mobile terminal charging process, then obtain the corresponding output current of charger of this application Value;As detailed above.
Acquiring unit and comparing unit, the corresponding output current of charger value of the application program for more having opened, obtain Arrive wherein one minimum current value;Or when only opening an application program in mobile terminal charging process, obtain and currently arrange For mobile terminal use output current, and with obtain this application corresponding output current of charger value compared with Relatively;As detailed above.
Described mobile terminal, wherein, described applied current setup module includes:
First arranging unit, supplies for the output current being used for mobile terminal use in charger is set to application program Minimum current value in electric current;As detailed above.
Second arranging unit, for when only opening an application program in mobile terminal charging process, if this application journey Sequence corresponding output current of charger value is less than the output current using for mobile terminal of current setting, then by charger In for for mobile terminal use output current be set to this application program corresponding output current of charger value;Specifically as above Described.
Described mobile terminal, wherein, the described module that prestores includes: memory cell, in advance mobile whole Each application program corresponding output current of charger value is preserved in the memorizer at end;As detailed above.
Described mobile terminal, wherein, described program acquisition module of opening includes:
Detector unit, for when mobile terminal charges, detecting and determining whether that application is opened;As detailed above.
Acquiring unit, for when there being application to open, then obtaining currently open the application list;Concrete as above institute State.
In sum, a kind of method and movement controlling output current of charger based on mobile terminal provided by the present invention Terminal, due to employing when mobile terminal charges, obtains currently open the application list;Inquiry prestore with The corresponding output current of charger value of all application programs opened, and compare that the application program that these have opened is corresponding to be filled Electrical equipment output current value, obtains wherein one minimum current value;The output current setting of mobile terminal use will be used in charger For described minimum current value.Its suitable output current of charger of application control that can be opened according to mobile terminal it is ensured that The safety that mobile terminal charges, decreases potential safety hazard, improves safety.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention Shield scope.

Claims (8)

1. a kind of method based on mobile terminal control output current of charger is it is characterised in that include:
A, preserve each application program corresponding output current of charger value when mobile terminal charges in advance in the terminal;
B, when mobile terminal charges, obtain currently open the application list;
The output current of charger value corresponding with all application programs opened that c, inquiry prestore, and compare these The application program corresponding output current of charger value opened, obtains wherein one minimum current value;
D, by be used in charger mobile terminal use output current be set to described minimum current value;
Described step c also includes:
C1, when only opening an application program in mobile terminal charging process, then obtain this application corresponding charger output Current value;
C2, the output current using for mobile terminal of the current setting of acquisition, and right with this application of acquisition in step c1 The output current of charger value answered compares.
2. according to claim 1 the method for output current of charger is controlled it is characterised in that described based on mobile terminal Step d also includes:
If this application program of d1 corresponding output current of charger value is less than the defeated for mobile terminal use of current setting Go out electric current, then the output current being used in charger using for mobile terminal is set to the corresponding charger of this application program defeated Go out current value.
3. according to claim 1 the method for output current of charger is controlled it is characterised in that described based on mobile terminal Step a also includes:
Preserve each application program corresponding output current of charger value in advance in a memory in the mobile terminal.
4. according to claim 1 the method for output current of charger is controlled it is characterised in that described based on mobile terminal Step b also includes:
B1, when mobile terminal charges, detect and determine whether that application is opened;
B2, when there being application to open, then obtain currently open the application list.
5. a kind of mobile terminal is it is characterised in that include:
Prestore module, each application program is corresponding to be filled for preserving in the terminal in advance when mobile terminal charges Electrical equipment output current value;
Open program acquisition module, for when mobile terminal charges, obtaining currently open the application list;
Inquiry and comparison module, the charger output electricity corresponding with all application programs opened prestoring for inquiry Flow valuve, and compare the application program corresponding output current of charger value that these have opened, obtain wherein one minimum current value;
Applied current setup module, for being set to described minimum electricity by the output current being used for mobile terminal use in charger Flow valuve;
Described inquiry is included with comparison module:
Query unit, for inquiring about the output current of charger value corresponding with all application programs opened prestoring; When only opening an application program in mobile terminal charging process, then obtain this application corresponding output current of charger value;
Acquiring unit and comparing unit, the corresponding output current of charger value of the application program for more having opened, obtain it In a minimum current value;Or when only opening an application program in mobile terminal charging process, obtain the use of current setting The output current using in mobile terminal, and compared with this corresponding output current of charger value of application obtaining.
6. mobile terminal according to claim 5 is it is characterised in that described applied current setup module includes:
First arranging unit, powers electricity for the output current being used for mobile terminal use in charger is set to application program Minimum current value in stream;
Second arranging unit, for when only opening an application program in mobile terminal charging process, if this application program pair The output current of charger value answered is less than the output current using for mobile terminal of current setting, then will use in charger It is set to this application program corresponding output current of charger value in the output current using for mobile terminal.
7. mobile terminal according to claim 5 is it is characterised in that the described module that prestores includes: memory cell, For preserving each application program corresponding output current of charger value in advance in a memory in the mobile terminal.
8. mobile terminal according to claim 5 is it is characterised in that described program acquisition module of opening includes:
Detector unit, for when mobile terminal charges, detecting and determining whether that application is opened;
Acquiring unit, for when there being application to open, then obtaining currently open the application list.
CN201410391509.3A 2014-08-11 2014-08-11 Method for controlling output current of charger based on mobile terminal and mobile terminal Active CN104167786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410391509.3A CN104167786B (en) 2014-08-11 2014-08-11 Method for controlling output current of charger based on mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410391509.3A CN104167786B (en) 2014-08-11 2014-08-11 Method for controlling output current of charger based on mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN104167786A CN104167786A (en) 2014-11-26
CN104167786B true CN104167786B (en) 2017-02-01

Family

ID=51911491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410391509.3A Active CN104167786B (en) 2014-08-11 2014-08-11 Method for controlling output current of charger based on mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN104167786B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331220B (en) * 2015-06-23 2020-12-04 中兴通讯股份有限公司 Terminal and current control method and device thereof
CN106450533A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method, charging device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242113A (en) * 2007-02-08 2008-08-13 佛山市顺德区顺达电脑厂有限公司 Power supply system
CN103956792A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method and device for controlling charging temperature rise of mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100486548B1 (en) * 2002-12-21 2005-05-03 엘지전자 주식회사 Systme and method for charging of mobile communication terminal
JP2008228394A (en) * 2007-03-09 2008-09-25 Nec Corp Power supply circuit having functions of monitoring and controlling consumed current of terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242113A (en) * 2007-02-08 2008-08-13 佛山市顺德区顺达电脑厂有限公司 Power supply system
CN103956792A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method and device for controlling charging temperature rise of mobile terminal

Also Published As

Publication number Publication date
CN104167786A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US9431841B2 (en) Device to device charging via USB type-C interfaces
CN104600796B (en) The mobile terminal and method of quick charge, system
CN106532186B (en) A kind of charging method, charging circuit and mobile terminal
CN104301547B (en) The management method of battery electric quantity and mobile terminal
US9583975B2 (en) Charging and audio usage
CN105048524B (en) Radio source receiving circuit, charging system and charge control method
CN104185305B (en) It is a kind of to apply networking methods and mobile terminal with priority
CN103167151A (en) Automatic screen-locking system and method for mobile phone placed in pocket
CN106655432B (en) Charge control method, device, adapter and system
CN105024997A (en) Method and device for associating control terminal with controlled terminal
CN107895468A (en) Remote control matching method, device and computer-readable recording medium
CN104142475B (en) A kind of insulation monitoring module evaluating apparatus and method
CN105511585A (en) Method and device for adjusting terminal standby duration and terminal
CN106713068A (en) Intelligent terminal WIFI network display control method and system and intelligent terminal
CN105762883B (en) Method and electronic equipment for charging for electronic equipment
CN104167786B (en) Method for controlling output current of charger based on mobile terminal and mobile terminal
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN103928725B (en) A kind of mobile terminal and charging method thereof and device
CN104836290B (en) The detection method and detecting system that a kind of Mobile terminal charger insertion is extracted
CN110492575A (en) For the quick charging system and method for handheld device, handheld device
CN107257146A (en) A kind of wireless charging method and wireless charging router based on charging priority
CN105281407A (en) Charging acceleration method and system for mobile terminal
CN107985593A (en) Method, communication base station, unmanned plane and the UAV system of charging service are provided
CN105762856A (en) Vehicle-mounted interconnection system having temperature control function, and central processing unit thereof
CN105978069A (en) Charging method and apparatus of mobile terminal, and mobile 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
TR01 Transfer of patent right

Effective date of registration: 20211202

Address after: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee after: Weihai Regional Innovation Center Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240310

Address after: Room 202, No. 169-1 Torch Road, Yiyuan Street, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200

Patentee after: Weihai Bangyue Electronic Technology Co.,Ltd.

Country or region after: China

Address before: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee before: Weihai Regional Innovation Center Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right