CN106066438B - A kind of method and system of the mobile terminal based on OTG detection device charged state - Google Patents
A kind of method and system of the mobile terminal based on OTG detection device charged state Download PDFInfo
- Publication number
- CN106066438B CN106066438B CN201610592968.7A CN201610592968A CN106066438B CN 106066438 B CN106066438 B CN 106066438B CN 201610592968 A CN201610592968 A CN 201610592968A CN 106066438 B CN106066438 B CN 106066438B
- Authority
- CN
- China
- Prior art keywords
- otg
- mobile terminal
- charged state
- equipment
- electric current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 44
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000005611 electricity Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 abstract description 50
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention relates to technical field of mobile terminals, disclose a kind of method and system of the mobile terminal based on OTG detection device charged state, which comprises after mobile terminal and OTG equipment are attached, whether the OTG function of detecting mobile terminal starts;After the OTG function starting of mobile terminal, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;Judge whether the electric current of connected OTG equipment consumption is greater than threshold value, if the OTG equipment then connected is in charged state, the OTG equipment otherwise connected is not in charged state.It is contemplated that being able to detect whether the equipment is in charged state, and shown on mobile terminals when mobile terminal is by OTG connection equipment, to allow users to the charged state for correctly learning connected OTG equipment.
Description
Technical field
OTG detection device is based on the present invention relates to technical field of mobile terminals more particularly to a kind of mobile terminal to fill
The method and system of electricity condition.
Background technique
OTG(On The Go) technology is widely used in the terminal, be mainly used in a variety of different equipment or
Connection between mobile device carries out data exchange, to be connected with each other between each equipment by OTG technology and carry out data
Exchange, charging etc.;Without as before, PC(Personal Computer must be passed through between each equipment) Lai Jinhang
Connection.
USB data line is used to connect mobile phone and computer, can be by the photo inside computer to access mobile phone, music, mobile phone
It is used as USB flash disk.OTG data line is then not necessarily to PC, and mobile phone can directly pass through the USB devices such as OTG data line and USB flash disk, mouse, keyboard
Connection, connection USB flash disk directly search data, connect mouse and facilitate object for appreciation game, connect keyboard can fast typing, connect the direct browse graph of camera
Piece, transmitting as soon as shooting.OTG extends the function of mobile phone.
The interface of USB data line and OTG data line is much like, distinguishes then which type of there is actually, such as Fig. 1 and Fig. 2
It is shown: dismantling both threads, after observing its interface structure, it is found that the 4pin(ID foot of USB data line) it is hanging, OTG
The 4pin(ID foot of data line) be shorted to ground, chip for cell phone be exactly by 4pin judgement insertion be OTG data line
Or USB data line.
Mobile terminal can connect the external equipments such as USB mouse, USB keyboard, USB flash disk by OTG line, also can be other movements
Equipment, charger baby charge.But there are such problems when using OTG technology at present, although mobile terminal can pass through
The equipment that OTG is connected effectively is detected, and the charged state of connected device cannot be but detected, therefore, when user uses
Mobile terminal can only be sentenced by rule of thumb by that can not know whether mobile terminal charges for the equipment when OTG connection equipment
It is disconnected, such as judge not charge to keyboard when mobile terminal is by OTG connection USB keyboard by rule of thumb, when mobile terminal passes through OTG
It can charge to charger baby when connecting charger baby, so still can not very easily know the charging of connected external equipment
State.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing a kind of mobile terminal base
In the method and system of OTG detection device charged state, it is intended to when making mobile terminal by OTG connection equipment, be able to detect institute
It states whether equipment is in charged state, and is shown on mobile terminals, connected to allow users to correctly learn
OTG equipment charged state.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of method of the mobile terminal based on OTG detection device charged state, wherein include:
Step A, after mobile terminal and OTG equipment are attached, whether the OTG function of detecting mobile terminal starts;
Step B, after the OTG function starting of mobile terminal, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;
Step C, judges whether the electric current of connected OTG equipment consumption is greater than threshold value, if at the OTG equipment then connected
In charged state, the OTG equipment otherwise connected is not in charged state.
Method of the mobile terminal based on OTG detection device charged state, wherein the step A is specifically included:
A1, after being attached mobile terminal and external equipment with USB interface by OTG, by judging power supply pipe
The related register value of chip is managed to detect whether the OTG function of mobile terminal starts;
A2, when the related register value for detecting power management chip is 1, mobile terminal backward is powered outward, then is sentenced
Disconnected OTG function has been started up, if detecting register value for the closing of 0, OTG function.
Method of the mobile terminal based on OTG detection device charged state, wherein the step B is specifically included:
B1 closes OTG function after the OTG function starting of mobile terminal, and acquisition for mobile terminal cells export electric current
Size P1;
After B2, record current value P1, restart OTG function, acquisition for mobile terminal cells export the size P2 of electric current;
B3, the difference of the current value P2 and P1 of acquisition for mobile terminal are the connected OTG equipment consumption electric current of mobile terminal
Size.
Method of the mobile terminal based on OTG detection device charged state, wherein the step C is specifically included:
C1 calculates connected OTG equipment consumption size of current are as follows: P=P2-P1, when P value is greater than preset threshold value
When, then the OTG equipment connected is in charged state, and result is shown on mobile terminal screen;
C2, when P value is not greater than preset threshold value, then the OTG equipment connected is not in charged state, equally will
As a result it is shown on mobile terminal screen.
Method of the mobile terminal based on OTG detection device charged state, wherein the preset threshold value of electric current
For 50mA.
Method of the mobile terminal based on OTG detection device charged state, wherein the OTG equipment connected includes:
Other equipment with USB connection such as USB mouse, USB keyboard, USB flash disk, digital camera, video camera, printer, tablet computer.
A kind of system of the mobile terminal based on OTG detection device charged state, wherein include:
Connecting detection module, for detecting the OTG function of mobile terminal after mobile terminal and OTG equipment are attached
Whether start;
Current drain module, for when mobile terminal OTG function starting after, the connected OTG equipment of acquisition for mobile terminal
The electric current of consumption;
Charged state judgment module, for judging whether the electric current of connected OTG equipment consumption is greater than threshold value, if then institute
The OTG equipment of connection is in charged state, and the OTG equipment otherwise connected is not in charged state.
System of the mobile terminal based on OTG detection device charged state, wherein the connecting detection module is specifically wrapped
It includes:
Connection judgment unit, after mobile terminal and external equipment with USB interface are attached by OTG,
Detect whether the OTG function of mobile terminal starts by judging the related register value of power management chip;
Function-judging unit, for when detect power management chip related register value be 1 when, mobile terminal backward
Power supply outward, then judge that OTG function has been started up, if detecting register value for the closing of 0, OTG function.
System of the mobile terminal based on OTG detection device charged state, wherein the current drain module is specifically wrapped
It includes:
First electric current acquiring unit, for closing OTG function, mobile terminal obtains after the OTG function starting of mobile terminal
It is derived from the size P1 of body cell output current;
Second electric current acquiring unit, for after record current value P1, restarting OTG function, acquisition for mobile terminal itself electricity
The size P2 of pond output electric current;
Electric current acquiring unit is consumed, the difference of current value P2 and P1 for acquisition for mobile terminal are that mobile terminal is connected
The size of OTG equipment consumption electric current.
System of the mobile terminal based on OTG detection device charged state, wherein the charged state judgment module tool
Body includes:
First display unit, for calculating connected OTG equipment consumption size of current are as follows: P=P2-P1, when P value is greater than
When preset threshold value, then the OTG equipment connected is in charged state, and result is shown on mobile terminal screen
Show;
Second display unit, for when P value is not greater than preset threshold value, then the OTG equipment connected to be not in
Charged state equally shows result on mobile terminal screen.
System of the mobile terminal based on OTG detection device charged state, wherein the preset threshold value of electric current
For 50mA.
A kind of method and system the invention discloses mobile terminal based on OTG detection device charged state, the method
It include: after mobile terminal and OTG equipment are attached, whether the OTG function of detecting mobile terminal starts;When mobile terminal
After the starting of OTG function, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;Judge the electric current of connected OTG equipment consumption
Whether threshold value is greater than, if the OTG equipment then connected is in charged state, the OTG equipment otherwise connected is not in charging
State.It is contemplated that it is able to detect whether the equipment is in charged state when mobile terminal is by OTG connection equipment,
And shown on mobile terminals, to allow users to the charged state for correctly learning connected OTG equipment.
Detailed description of the invention
Fig. 1 is USB data line interface connection schematic diagram in the present invention.
Fig. 2 is OTG data line interface connection schematic diagram in the present invention.
Fig. 3 is the flow chart of the preferred embodiment of method of the mobile terminal of the present invention based on OTG detection device charged state.
Fig. 4 is method specific implementation flow chart of the mobile terminal of the present invention based on OTG detection device charged state.
Fig. 5 is that the function of the preferred embodiment of system of the mobile terminal of the present invention based on OTG detection device charged state is former
Manage block diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Referring to Fig. 3, Fig. 3 is the preferable implementation of method of the mobile terminal of the present invention based on OTG detection device charged state
The flow chart of example.
As shown in figure 3, side of a kind of mobile terminal based on OTG detection device charged state provided in an embodiment of the present invention
Method, comprising the following steps:
Step S100, after mobile terminal and OTG equipment are attached, whether the OTG function of detecting mobile terminal starts.
The condition that mobile terminal is connected with external equipment is that OTG equipment must have USB data line interface, because of OTG number
It cooperates and connects according to the interface of line and the interface of USB data line, such as OTG data line one end connects mobile phone, other end connects
Connect USB mouse, then can be directly controlled by mouse mobile phone carry out relevant operation, in this case mobile phone be will not be right
What USB mouse charged, if mobile phone is connected to charger baby by OTG data line, then mobile phone will carry out charger baby
Charging, but these judgements are judged by experience, so needing to learn by a kind of display mode of determination outer
Connect whether equipment is in charged state.
In the present invention, specifically included in the step S100: by OTG by mobile terminal and with the external of USB interface
After equipment is attached, detected by judging the related register value of power management chip mobile terminal OTG function whether
Starting;When the related register value for detecting power management chip is 1, mobile terminal backward is powered outward, then judges OTG function
It can have been started up, if detecting register value for the closing of 0, OTG function.
Step S200, after the OTG function starting of mobile terminal, the electricity of the connected OTG equipment consumption of acquisition for mobile terminal
Stream.
The electric current of the connected OTG equipment consumption of acquisition for mobile terminal is to close and open by OTG function to obtain battery electricity
The difference of stream obtains, when closing OTG function, the size P1 of acquisition for mobile terminal cell output current, the closing OTG function
Can be performed by the setting of the related register value to power management chip, when register value is set as 0, that is, close
OTG function;When opening OTG function, the size P2 of acquisition for mobile terminal cell output current, the unlatching OTG function is to pass through
The setting of the related register value of power management chip is performed, when register value is set as 1, that is, opens OTG function;
Obtaining for electric current is by obtaining resistance voltage difference of the two ends between power management chip and battery, then divided by the resistance
Cell output current P1 and P2 are obtained, and P2 is greater than P1, so size P=P2-P1 of connected OTG equipment consumption electric current.
The step S200 is specifically included: after the OTG function starting of mobile terminal, closing OTG function, mobile terminal obtains
It is derived from the size P1 of body cell output current;After record current value P1, restart OTG function, acquisition for mobile terminal cells
Export the size P2 of electric current;The difference of the current value P2 and P1 of acquisition for mobile terminal are the connected OTG equipment consumption of mobile terminal
The size of electric current.
Step S300, judges whether the electric current of connected OTG equipment consumption is greater than threshold value, if the OTG then connected is set
Standby to be in charged state, the OTG equipment otherwise connected is not in charged state.
Before the electric current for calculating connected OTG equipment consumption, a threshold value, the threshold are set in the terminal in advance
Value is preferably 50mA, convenient for being compared after the electric current for calculating connected OTG equipment consumption with default threshold value,
It obtains comparison result, as a result includes two kinds of situations: first is that connected OTG equipment consumption electric current is greater than preset threshold value, then
The OTG equipment connected is in charged state;Second is that connected OTG equipment consumption electric current is less than or equal to preset threshold
Value, then the OTG equipment connected are not in charged state;Two kinds of results are shown on mobile terminal, are learnt convenient for user
The charged state of the OTG equipment connected.
In the present invention, the step S300 is specifically included: calculating connected OTG equipment consumption size of current are as follows: P=P2-
P1, when P value is greater than preset threshold value, then the OTG equipment connected is in charged state, and by result in mobile terminal
It is shown on screen;When P value is not greater than preset threshold value, then the OTG equipment connected is not in charged state, together
Sample shows result on mobile terminal screen.
Fig. 4 is referred to, Fig. 4 is method specific implementation stream of the mobile terminal of the present invention based on OTG detection device charged state
Cheng Tu.
Such as Fig. 4, a kind of method implementation of the mobile terminal based on OTG detection device charged state provided in an embodiment of the present invention
Process, comprising the following steps:
S20, mobile terminal and OTG equipment are attached;
Whether S21, the OTG function of detecting mobile terminal start, if starting, executes S22, if inactive, return is held
Row S20;
S22, after the OTG function starting of mobile terminal, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;
S23, judges whether the electric current of connected OTG equipment consumption is greater than threshold value, if so then execute S24, if otherwise executing
S25;
S24, if it is determined that the electric current of connected OTG equipment consumption is greater than threshold value, then the OTG equipment connected, which is in, fills
Electricity condition;
S25, if it is determined that the electric current of connected OTG equipment consumption is not greater than threshold value, then the OTG equipment connected is not in
Charged state.
S26, no matter whether the electric current of connected OTG equipment consumption is greater than threshold value, all by the charging shape of connected OTG equipment
On mobile terminal screen, the charged state of connected OTG equipment is learnt convenient for user as the result is shown for state.
Based on the above embodiment, it is the present invention also provides a kind of compressed file byte-aligned for checking and optimizing application
System, referring to Fig. 5, Fig. 5 is the function of the preferred embodiment of system of the mobile terminal of the present invention based on OTG detection device charged state
It can functional block diagram.
As shown in figure 5, the system comprises:
Connecting detection module 310, for detecting the OTG function of mobile terminal after mobile terminal and OTG equipment are attached
Whether can start;As detailed above.
Current drain module 320, for after the OTG function starting of mobile terminal, the connected OTG of acquisition for mobile terminal to be set
The electric current of standby consumption;As detailed above.
Charged state judgment module 330, for judging whether the electric current of connected OTG equipment consumption is greater than threshold value, if
The OTG equipment then connected is in charged state, and the OTG equipment otherwise connected is not in charged state;As detailed above.
Further, system of the mobile terminal based on OTG detection device charged state, wherein the connecting detection
Module specifically includes:
Connection judgment unit, after mobile terminal and external equipment with USB interface are attached by OTG,
Detect whether the OTG function of mobile terminal starts by judging the related register value of power management chip;Specific institute as above
It states.
Function-judging unit, for when detect power management chip related register value be 1 when, mobile terminal backward
Power supply outward, then judge that OTG function has been started up, if detecting register value for the closing of 0, OTG function;Specific institute as above
It states.
System of the mobile terminal based on OTG detection device charged state, wherein the current drain module is specifically wrapped
It includes:
First electric current acquiring unit, for closing OTG function, mobile terminal obtains after the OTG function starting of mobile terminal
It is derived from the size P1 of body cell output current;As detailed above.
Second electric current acquiring unit, for after record current value P1, restarting OTG function, acquisition for mobile terminal itself electricity
The size P2 of pond output electric current;As detailed above.
Electric current acquiring unit is consumed, the difference of current value P2 and P1 for acquisition for mobile terminal are that mobile terminal is connected
The size of OTG equipment consumption electric current;As detailed above.
System of the mobile terminal based on OTG detection device charged state, wherein the charged state judgment module tool
Body includes:
First display unit, for calculating connected OTG equipment consumption size of current are as follows: P=P2-P1, when P value is greater than
When preset threshold value, then the OTG equipment connected is in charged state, and result is shown on mobile terminal screen
Show;As detailed above.
Second display unit, for when P value is not greater than preset threshold value, then the OTG equipment connected to be not in
Charged state equally shows result on mobile terminal screen;As detailed above.
System of the mobile terminal based on OTG detection device charged state, wherein the preset threshold value of electric current
For 50mA;As detailed above.
In conclusion the method and system the invention discloses a kind of mobile terminal based on OTG detection device charged state,
The described method includes: whether the OTG function of detecting mobile terminal starts after mobile terminal and OTG equipment are attached;Work as shifting
After the OTG function starting of dynamic terminal, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;Judge that connected OTG equipment disappears
Whether the electric current of consumption is greater than threshold value, if the OTG equipment then connected is in charged state, the OTG equipment otherwise connected is not
In charged state.It is contemplated that being able to detect the equipment when mobile terminal is by OTG connection equipment and whether being in and fill
Electricity condition, and shown on mobile terminals, to allow users to the charging shape for correctly learning connected OTG equipment
State.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method,
It is that related hardware (such as processor, controller etc.) can be instructed to complete by computer program, the program can store
In a computer-readable storage medium, which may include the process such as above-mentioned each method embodiment when being executed.Its
Described in storage medium can be for memory, magnetic disk, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (8)
1. a kind of method of mobile terminal based on OTG detection device charged state characterized by comprising
Step A, after mobile terminal and OTG equipment are attached, whether the OTG function of detecting mobile terminal starts;
The step A is specifically included:
A1, after being attached mobile terminal and external equipment with USB interface by OTG, by judging power management core
The related register value of piece detects whether the OTG function of mobile terminal starts;
A2, when the related register value for detecting power management chip is 1, mobile terminal backward is powered outward, then judges OTG
Function has been started up, if detecting register value for the closing of 0, OTG function;
Step B, after the OTG function starting of mobile terminal, the electric current of the connected OTG equipment consumption of acquisition for mobile terminal;
Step C, judges whether the electric current of connected OTG equipment consumption is greater than threshold value, fills if the OTG equipment then connected is in
Electricity condition, the OTG equipment otherwise connected are not in charged state.
2. method of the mobile terminal based on OTG detection device charged state according to claim 1, which is characterized in that described
Step B is specifically included:
B1 closes OTG function after the OTG function starting of mobile terminal, and acquisition for mobile terminal cells export the big of electric current
Small P1;
After B2, record current value P1, restart OTG function, acquisition for mobile terminal cells export the size P2 of electric current;
B3, the difference of the current value P2 and P1 of acquisition for mobile terminal are the size of the connected OTG equipment consumption electric current of mobile terminal.
3. method of the mobile terminal based on OTG detection device charged state according to claim 1, which is characterized in that described
Step C is specifically included:
C1 calculates connected OTG equipment consumption size of current are as follows: P=P2-P1, when P value is greater than preset threshold value, then
The OTG equipment connected is in charged state, and result is shown on mobile terminal screen;
C2, when P value is not greater than preset threshold value, then the OTG equipment connected is not in charged state, equally by result
It is shown on mobile terminal screen.
4. method of the mobile terminal based on OTG detection device charged state according to claim 3, which is characterized in that described
The preset threshold value of electric current is 50mA.
5. a kind of system of mobile terminal based on OTG detection device charged state characterized by comprising
Connecting detection module, for after mobile terminal and OTG equipment are attached, detect mobile terminal OTG function whether
Starting;
The connecting detection module specifically includes:
Connection judgment unit passes through after being attached mobile terminal and external equipment with USB interface by OTG
The related register value of power management chip is judged to detect whether the OTG function of mobile terminal starts;
Function-judging unit, for when the related register value for detecting power management chip is 1, mobile terminal backward to be outside
Power supply, then judge that OTG function has been started up, if detecting register value for the closing of 0, OTG function;
Current drain module, for after the OTG function starting of mobile terminal, the connected OTG equipment of acquisition for mobile terminal to be consumed
Electric current;
Charged state judgment module, for judging whether the electric current of connected OTG equipment consumption is greater than threshold value, if then being connected
OTG equipment be in charged state, the OTG equipment otherwise connected is not in charged state.
6. system of the mobile terminal based on OTG detection device charged state according to claim 5, which is characterized in that described
Current drain module specifically includes:
First electric current acquiring unit, for closing OTG function, acquisition for mobile terminal is certainly after the OTG function starting of mobile terminal
The size P1 of body cell output current;
Second electric current acquiring unit, for restarting OTG function, acquisition for mobile terminal cells are defeated after record current value P1
The size P2 of electric current out;
Electric current acquiring unit is consumed, the difference of current value P2 and P1 for acquisition for mobile terminal are the connected OTG of mobile terminal
The size of equipment consumption electric current.
7. system of the mobile terminal based on OTG detection device charged state according to claim 5, which is characterized in that described
Charged state judgment module specifically includes:
First display unit, for calculating connected OTG equipment consumption size of current are as follows: P=P2-P1, when P value is greater than in advance
When the threshold value of setting, then the OTG equipment connected is in charged state, and result is shown on mobile terminal screen;
Second display unit, for when P value is not greater than preset threshold value, then the OTG equipment connected to be not in charging
State equally shows result on mobile terminal screen.
8. system of the mobile terminal based on OTG detection device charged state according to claim 5, which is characterized in that described
The preset threshold value of electric current is 50mA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592968.7A CN106066438B (en) | 2016-07-26 | 2016-07-26 | A kind of method and system of the mobile terminal based on OTG detection device charged state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610592968.7A CN106066438B (en) | 2016-07-26 | 2016-07-26 | A kind of method and system of the mobile terminal based on OTG detection device charged state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106066438A CN106066438A (en) | 2016-11-02 |
CN106066438B true CN106066438B (en) | 2019-07-09 |
Family
ID=57207010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610592968.7A Active CN106066438B (en) | 2016-07-26 | 2016-07-26 | A kind of method and system of the mobile terminal based on OTG detection device charged state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106066438B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106597143B (en) * | 2016-11-10 | 2022-01-14 | 青岛海信移动通信技术股份有限公司 | Test equipment and test method |
CN112737061A (en) * | 2021-01-22 | 2021-04-30 | 惠州Tcl移动通信有限公司 | Charger charging processing method and device, charging terminal equipment and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4186315B2 (en) * | 1999-04-21 | 2008-11-26 | トヨタ自動車株式会社 | Secondary battery control system and method |
TWI253226B (en) * | 2004-12-31 | 2006-04-11 | Ali Corp | Battery charging set and method for portable equipment with On-The-Go function |
JP4583283B2 (en) * | 2005-10-05 | 2010-11-17 | 東芝燃料電池システム株式会社 | Inverter for grid connection, control method thereof and interconnected operation system |
TWI490688B (en) * | 2012-12-18 | 2015-07-01 | Simplo Technology Company Ltd | Power consumption reduction method for a stored battery |
CN203218936U (en) * | 2013-04-22 | 2013-09-25 | 长沙理工大学 | Mobile phone battery charging device based on wind power |
CN204190786U (en) * | 2013-09-29 | 2015-03-04 | 上海市共进通信技术有限公司 | Support the portable router of OTG convert charging function |
CN103576544B (en) * | 2013-11-04 | 2016-08-17 | 惠州Tcl移动通信有限公司 | A kind of terminal with OTG function |
CN105429199B (en) * | 2015-11-11 | 2019-10-29 | 上海斐讯数据通信技术有限公司 | Reverse charging mobile terminal and method |
-
2016
- 2016-07-26 CN CN201610592968.7A patent/CN106066438B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106066438A (en) | 2016-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11411412B2 (en) | Battery charging control base on recurring interactions with an electronic device | |
JP6377157B2 (en) | Device and method for facilitating USB charger detection | |
CN103019355B (en) | Charging device and charging method thereof | |
CN110729790B (en) | Charging method and device, computer equipment and storage medium | |
US20150058642A1 (en) | Electronic device and method for controlling the same | |
KR102015972B1 (en) | Device Charging Over USB Using a Plurality of Handshakes | |
CN102694400B (en) | Imput output circuit | |
TW200908509A (en) | Power source detection system, charger can provide power source detection and the detection method thereof | |
CN109256825B (en) | Charging method and electronic device | |
JP2016531368A (en) | Apparatus and method for changing current limit value | |
CN113113959B (en) | A charger | |
CN108155678A (en) | Electronic device and the method for controlling the electronic device charge and discharge | |
CN106066438B (en) | A kind of method and system of the mobile terminal based on OTG detection device charged state | |
CN104795864B (en) | A kind of mobile terminal and charged state detection method of accurate detection charged state | |
CN107681727A (en) | The control method and device of electronic equipment | |
CN105896639B (en) | Charging control method and electronic equipment | |
CN103701168B (en) | The charging management method and charging management system of lithium battery | |
CN103037099B (en) | Mobile phone photographing preview method and device | |
CN106026232A (en) | Detecting method and apparatus for USB port type | |
CN106300549A (en) | Electronic installation and charging method thereof | |
CN106921192A (en) | Terminal and electricity sharing method | |
CN103219556A (en) | Method and system for charging mobile terminal | |
CN109148986B (en) | A charging method and device | |
CN107742909A (en) | Charging circuit, intelligent terminal and its charging method | |
CN105896662A (en) | Single-port mobile power control circuit and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201027 Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5 Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd. Address before: 10 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5 Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd. |
|
TR01 | Transfer of patent right |