CN106160073B - A kind of electronic equipment and its control method - Google Patents

A kind of electronic equipment and its control method Download PDF

Info

Publication number
CN106160073B
CN106160073B CN201610509733.7A CN201610509733A CN106160073B CN 106160073 B CN106160073 B CN 106160073B CN 201610509733 A CN201610509733 A CN 201610509733A CN 106160073 B CN106160073 B CN 106160073B
Authority
CN
China
Prior art keywords
serial bus
bus interface
electronic equipment
universal serial
state
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
CN201610509733.7A
Other languages
Chinese (zh)
Other versions
CN106160073A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610509733.7A priority Critical patent/CN106160073B/en
Publication of CN106160073A publication Critical patent/CN106160073A/en
Application granted granted Critical
Publication of CN106160073B publication Critical patent/CN106160073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0077
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Landscapes

  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

There is provided a kind of electronic equipment, comprising: current detector is connected between the Universal Serial Bus Interface of the electronic equipment and Universal Serial Bus Interface controller, for detecting the charging current in the Universal Serial Bus Interface;And Universal Serial Bus Interface controller, the charging current for being detected according to the current detector are configured the state of the Universal Serial Bus Interface of the electronic equipment.The electronic equipment can in existing electronic equipment circuit structure and its control method carry out some optimizations and improvement, allow to when the system of electronic equipment enters sleep state, the state of USB interface is set by the current value of the charging pins of detection USB interface, anti- locking system enters after sleep state the situation that can not be supported USB interface external input function or can not support data-transformation facility etc., so that the USB interface charge function in electronic equipment becomes more efficiently and practical, the usage experience of user is improved.

Description

A kind of electronic equipment and its control method
Technical field
The present invention relates to a kind of electronic equipment, and relate more specifically to a kind of electronics with quick-charge function and set It is standby.
Background technique
Currently, in the quick charge function by using USB (Universal Serial Bus, universal serial bus) interface When can be carried out quick charge, because USB charge controller can disconnect two data lines in USB interface with host, because This, can not transmit data-signal by USB interface.
Moreover, if this USB interface connection for supporting quick-charge function at this time is that USB keyboard or mouse etc. make The input work of USB external input device can not be supported when system enters sleep state with the external input device of USB interface Can, affect the usage experience of user.
Summary of the invention
A kind of electronic equipment is provided according to an aspect of the present invention in order to solve above-mentioned shortcoming in the prior art, Include: current detector, is connected to the Universal Serial Bus Interface and Universal Serial Bus Interface controller of the electronic equipment Between, for detecting the charging current in the Universal Serial Bus Interface;And Universal Serial Bus Interface controller, it is used for State of the charging current detected according to the current detector to the Universal Serial Bus Interface of the electronic equipment It is configured.
In addition, according to one embodiment of present invention, wherein the Universal Serial Bus Interface controller further wraps It includes: charge controller, if external equipment is connected to the electronic equipment and described by the Universal Serial Bus Interface The system of electronic equipment enters sleep state, then when the Universal Serial Bus Interface controller judges the current detector inspection When the charging current value measured is greater than first threshold, the charge controller is by the Universal Serial Bus Interface of the electronic equipment State be set as quick-charge state.
In addition, according to one embodiment of present invention, wherein when the charge controller is by the general of the electronic equipment When the state of serial bus interface is set as quick-charge state, if the external equipment supports Universal Serial Bus Interface fast Mold filling formula, then the state of the Universal Serial Bus Interface of the electronic equipment is remained quick charge shape by the charge controller State.
In addition, according to one embodiment of present invention, wherein when the charge controller is by the general of the electronic equipment When the state of serial bus interface is set as quick-charge state, if the external equipment does not support Universal Serial Bus Interface Fast charge mode, then the state of the Universal Serial Bus Interface of the electronic equipment is set as commonly charging by the charge controller State.
In addition, according to one embodiment of present invention, wherein if external equipment passes through the Universal Serial Bus Interface The system for being connected to the electronic equipment and the electronic equipment enters sleep state, then when the Universal Serial Bus Interface When the charging current value that controller judges that the current detector detects is not more than first threshold, the universal serial bus is connect The state of the Universal Serial Bus Interface of the electronic equipment is set data transmission state by mouth controller.
According to another aspect of the present invention, the control method of a kind of electronic equipment is provided, wherein the electronic equipment includes Current detector is connected between the Universal Serial Bus Interface of the electronic equipment and Universal Serial Bus Interface controller, For detecting the charging current in the Universal Serial Bus Interface, which comprises detected according to the current detector To charging current the state of the Universal Serial Bus Interface of the electronic equipment is configured.
In addition, according to one embodiment of present invention, wherein the control method further comprises: if external equipment Enter sleep state by the system that the Universal Serial Bus Interface is connected to the electronic equipment and the electronic equipment, Then when the charging current value for judging that the current detector detects is greater than first threshold, by the general string of the electronic equipment The state of row bus interface is set as quick-charge state.
In addition, according to one embodiment of present invention, wherein the control method further comprises: when by the electronics When the state of the Universal Serial Bus Interface of equipment is set as quick-charge state, if the external equipment supports general serial Bus interface fast charge mode, then remain quick-charge state for the state of the Universal Serial Bus Interface of the electronic equipment.
In addition, according to one embodiment of present invention, wherein the control method further comprises: when by the electronics When the state of the Universal Serial Bus Interface of equipment is set as quick-charge state, if the external equipment does not support general string Row bus interface fast charge mode, then set the shape that commonly charges for the state of the Universal Serial Bus Interface of the electronic equipment State.
In addition, according to one embodiment of present invention, wherein the control method further comprises: if external equipment Enter sleep state by the system that the Universal Serial Bus Interface is connected to the electronic equipment and the electronic equipment, Then when the charging current value that the current detector detects is not more than first threshold, by the general serial of the electronic equipment The state of bus interface is set as data transmission state.
It can be seen that electronic equipment provided by the invention and its control method, to the circuit knot in existing electronic equipment Structure and its control method carry out some optimizations and improvement, allow to pass through when the system of electronic equipment enters sleep state The current value of the charging pins of USB interface is detected the state of USB interface is arranged, anti-locking system can not prop up after entering sleep state The situation held USB interface external input function or can not support data-transformation facility etc., so that the USB in electronic equipment Interface charge function becomes more efficiently and practical, improves the usage experience of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, making below by required in the description to embodiment Attached drawing is briefly described.The accompanying drawings in the following description is only exemplary embodiment of the present invention:
Fig. 1 shows the schematic structure of the circuit structure according to an embodiment of the present invention for being applied to an electronic equipment 100 Block diagram;
Fig. 2 shows the one according to the present invention exemplary schematic block diagrams for being applied to an electronic equipment 200;
Fig. 3 shows the process of the one according to the present invention exemplary control method 300 for being applied to an electronic equipment 100 Figure;And
Fig. 4 shows the process of the one according to the present invention exemplary control method 400 for being applied to an electronic equipment 200 Figure.
Specific embodiment
In order to enable the object, technical solutions and advantages of the present invention become apparent, it is described in detail below with reference to accompanying drawings An exemplary embodiment of the present invention.Note that in the present description and drawings, there is substantially the same step and element phase Same appended drawing reference will be omitted the repetition of explanation of these steps and element to indicate.
Obviously, described embodiment is only a part of the embodiments of the present invention, rather than whole implementations of the invention Example.Mentioned " one embodiment " or " embodiment " means the spy in conjunction with described in the embodiment to this specification in the whole text Determine feature, structure or characteristic is contained at least one described embodiment.Therefore, phrase " is implemented at one in the description Example in " or the appearance of " in one embodiment " be not necessarily all referring to the same embodiment.In addition, the special characteristic, structure or spy Property can be combined in any suitable manner in one or more embodiments.It should be understood that the present invention is not shown by described herein The limitation of example embodiment.Based on the embodiment of the present invention described in the disclosure, those skilled in the art are not paying creativeness Obtained all other embodiment should all be fallen under the scope of the present invention in the case where labour.
Fig. 1 shows the schematic structure of the circuit structure according to an embodiment of the present invention for being applied to an electronic equipment 100 Block diagram, generally, as shown in Figure 1, the electronic equipment 100 may include current detector 110 and Universal Serial Bus Interface Controller 120.
Specifically, the current detector 110 of electronic equipment 100 can connect the universal serial bus in the electronic equipment Between interface and Universal Serial Bus Interface controller 120, for detecting the charging current in the Universal Serial Bus Interface. Generally, current detector 110 can be a current sense resistor, be connected on the pin of the USB_5V of USB interface, with inspection It surveys USB interface and is in charged state or data transmission state.
Universal Serial Bus Interface controller 120 can be used for examining the 110 charging electricity measured according to the current detector Stream size is configured the state of the Universal Serial Bus Interface of the electronic equipment.Specifically, in a reality of the invention It applies in example, the Universal Serial Bus Interface controller 120 of electronic equipment 100 may further include charge controller.If outer The system that portion's equipment is connected to the electronic equipment 100 and the electronic equipment 100 by the Universal Serial Bus Interface Into sleep state, then when the Universal Serial Bus Interface controller 120 judges the charging that the current detector detects When current value is greater than first threshold, the state of the Universal Serial Bus Interface of the electronic equipment is arranged the charge controller For quick-charge state.Generally, it is connected to the external equipment of electronic equipment 100 by USB interface, is set if not charging It is standby, such as the external equipment is the external input devices such as keyboard, mouse, at this point, the electric current on the pin of the USB_5V of USB interface Value is usually 40-50mA, does not exceed 100mA generally, if the external equipment is storage equipment, such as USB flash disk or USB interface Mobile hard disk etc., when electronic equipment 100 is in sleep state, the current value on the pin of the USB_5V of USB interface is usual It is not more than 100mA.As a result, in one example, the first threshold can be set to 100mA, at this point, when system enters After dormant state, serial bus interface controller 120 can detecte the current value on the charging pins of the USB_5V of USB interface, When the current value is greater than 100mA, it can determine that be connected to the external equipment of electronic equipment 100 by USB interface sets for charging Standby, serial bus interface controller 120 can be by its internal charge controller by the USB interface of electronic equipment 100 at this time State be set as quick-charge state.
At this point, in one embodiment of the invention, when the charge controller is by the general string of the electronic equipment 100 When the state of row bus interface is set as quick-charge state, if the external equipment supports Universal Serial Bus Interface fast charge Mode, then the state of the Universal Serial Bus Interface of the electronic equipment 100 is remained quick charge by the charge controller State.In another embodiment of the present invention, when the charge controller is by the universal serial bus of the electronic equipment 100 When the state of interface is set as quick-charge state, if the external equipment does not support the fast mold filling of Universal Serial Bus Interface Formula, then the state of the Universal Serial Bus Interface of the electronic equipment 100 is set the shape that commonly charges by the charge controller State.Wherein, the charging current of common charged state is less than the charging current of quick-charge state.For example, in one example, when After system enters dormant state, serial bus interface controller 120 be can detecte on the charging pins of the USB_5V of USB interface Current value, when serial bus interface controller 120 is arranged by its internal charge controller by the general string of electronic equipment 100 When the state of row bus interface is set as quick-charge state, if being connected to the outer of electronic equipment 100 by USB interface at this time Portion's equipment supports fast charge mode, then charge controller is successful by the state of the Universal Serial Bus Interface of the electronic equipment 100 It is set as quick-charge state.On the other hand, after system enters dormant state, serial bus interface controller 120 detects USB Current value on the charging pins of the USB_5V of interface and by its internal charge controller setting by electronic equipment 100 After the state of Universal Serial Bus Interface is set as quick-charge state, electricity is connected to by USB interface if detected at this time The external equipment of sub- equipment 100 does not support fast charge mode, then charge controller is by the universal serial bus of the electronic equipment 100 The state of interface is set as the normal charging mode that charging current is less than quick-charge state.
In addition, in one embodiment of the invention, if external equipment is connected by the Universal Serial Bus Interface System to the electronic equipment 100 and the electronic equipment 100 enters sleep state, then when the universal serial bus connects When the charging current value that mouth controller 120 judges that the current detector 110 detects is not more than first threshold, the general string The state of the Universal Serial Bus Interface of the electronic equipment 100 is set data transmission shape by row bus interface controller 120 State.For example, in one example, first threshold can be set to 100mA, at this point, after system enters dormant state, it is serial total Line interface controller 120 can detecte the current value on the charging pins of the USB_5V of USB interface, when the current value is not more than When 100mA, it can be determined that by the external equipment that USB interface is connected to electronic equipment 100 be not charging equipment, for example, can be with It is external input device or External memory equipment etc., at this point, serial bus interface controller 120 can filling by its inside Electric controller, which is arranged, transmits power mode for the condition setup data of the Universal Serial Bus Interface of electronic equipment 100, guarantees that USB connects The data pin of mouth is in the state of normal ON and work, and entering after sleep state to prevent locking system can not support to pass through USB The case where functions such as external input or the data transmission of interface.
In order to which the electronics of the circuit structure provided by the invention with USB interface charging current detector is described in more detail The use situation of equipment in the above-described embodiments, is exemplified below referring to Fig. 2.It is exemplary Fig. 2 shows one according to the present invention Schematic block diagram applied to an electronic equipment 200.Wherein, in this example, as shown, external equipment 240 passes through USB interface 210 is connected to electronic equipment 200, and electronic equipment 200 may include: USB interface 210, current detector 220 and USB Interface controller 230.As shown in Fig. 2, USB interface 210 may include four pins: charging pins USB_5V, data pin D+, Data pin D- and grounding pin GND.Wherein, current detector can be current sense resistor, it may be connected to USB interface 210 charging pins USB_5V, to detect the charging current of the USB interface 210, usb interface controller 230 be can connect To the data pin D+ and data pin D- and current detector of USB interface, for what is detected according to current detector 220 Charging current controls data pin D+ and data pin D- enabled state, to set to the state of USB interface 210 It sets.Specifically, usb interface controller 230 may further include charge controller.If the system of electronic equipment 200 enters Sleep state, then when the charging current value that usb interface controller 230 judges that current detector 220 detects is greater than 100mA, It may determine that external equipment 240 is charging equipment, at this point, the charge controller of usb interface controller 230 can be by USB interface 210 data pin D+ and data pin D- is disconnected, to set quick-charge state for the state of USB interface 210.This When, if the external equipment 240 supports USB interface fast charge mode, the charge controller of usb interface controller 230 is by institute The state for stating the USB interface 210 of electronic equipment 200 remains quick-charge state, so that successfully setting USB interface 210 is fast Fast charged state;If external equipment 240 does not support USB interface fast charge mode, the charge control of usb interface controller 230 The state of the USB interface 210 of the electronic equipment 200 is set the lesser common charged state of charging current by device.In addition, such as The system of fruit electronic equipment 200 enters sleep state, then when usb interface controller 230 judges what current detector 220 detected When charging current value is not more than 100mA, it can determine that external equipment 240 is non-charging equipment, for example, external input device, outside Portion stores equipment etc..At this point, the charge controller of usb interface controller 230 can by the data pin D+ of USB interface 210 with And data pin D- is enabled, to set the state of USB interface 210 to guarantee that external equipment 240 and electronic equipment 200 are normal Carry out the data transmission state of data communication, anti-locking system enter after sleep state can not support it is defeated by the outside of USB interface Enter or data transmission etc. functions the case where generation.
It can be seen that by using the electronic equipment provided by the invention with USB charging current detection function, so that can To be connect by detecting the current value of charging pins of USB interface USB is arranged when the system of electronic equipment enters sleep state The state of mouth, anti-locking system can not support USB interface external input function after entering sleep state or data can not be supported to pass The situation of transmission function etc. improves user so that the USB interface charge function in electronic equipment becomes more efficiently and practical Usage experience.
In addition, another aspect of the present invention additionally provides the control method 300 of a kind of electronic equipment 100.Fig. 3 shows basis The flow chart of the exemplary control method 300 for being applied to an electronic equipment 100 of of the invention one.Wherein, as shown in Figure 1, institute Stating electronic equipment 100 may include current detector 110.The current detector 110 of electronic equipment 100 can connect in the electricity Between the Universal Serial Bus Interface and Universal Serial Bus Interface controller 120 of sub- equipment, for detecting the general serial Charging current in bus interface.The control method 300 of electronic equipment 100 may further include: according to the current detecting The charging current that device detects is configured the state of the Universal Serial Bus Interface of the electronic equipment.
Specifically, as shown in figure 3, the control method 300 of the electronic equipment 100 may further include: step S310, if external equipment is connected to the electronic equipment 100 by the Universal Serial Bus Interface and the electronics is set Standby system enters sleep state, then when judging that charging current value that the current detector 110 detects is greater than first threshold When, quick-charge state is set by the state of the Universal Serial Bus Interface of the electronic equipment;Step S320, when will be described When the state of the Universal Serial Bus Interface of electronic equipment is set as quick-charge state, if external equipment support is general Serial bus interface fast charge mode, then remain quick charge shape for the state of the Universal Serial Bus Interface of the electronic equipment State;And step S330, when setting quick-charge state for the state of the Universal Serial Bus Interface of the electronic equipment 100 When, if the external equipment does not support Universal Serial Bus Interface fast charge mode, by the general string of the electronic equipment 100 The state of row bus interface is set as common charged state.Particularly, the control method 300 of the electronic equipment 100 may be used also To further comprise: if external equipment 100 by the Universal Serial Bus Interface be connected to the electronic equipment 100 and The system of the electronic equipment enters sleep state, then when the charging current value that the current detector detects is not more than first When threshold value, data transmission state is set by the state of the Universal Serial Bus Interface of the electronic equipment.
In order to which the control of the electronic equipment provided by the invention with USB interface charging current detector is described in more detail The use situation of method in the above-described embodiments, is exemplified below referring to Fig. 4.Fig. 4 show one according to the present invention it is exemplary The flow chart of control method 400 applied to an electronic equipment 200.Wherein, in this example, external equipment 240 is connect by USB Mouth 210 is connected to electronic equipment 200, and electronic equipment 200 may include: USB interface 210, current detector 220 and USB interface Controller 230.As shown in Fig. 2, USB interface 210 may include four pins: charging pins USB_5V, data pin D+, data Pin D- and grounding pin GND.Wherein, current detector can be current sense resistor, it may be connected to USB interface 210 Charging pins USB_5V, to detect the charging current of the USB interface 210, usb interface controller 230 be may be coupled to The data pin D+ and data pin D- and current detector of USB interface, fill for what is detected according to current detector 220 Electric current controls data pin D+ and data pin D- enabled state, to be configured to the state of USB interface 210. 400 specific implementation of the electronic equipment 200 of USB interface charging current detector is described referring to Fig. 4.In step In S410, when electronic equipment 200 enters sleep state, judge whether the charging current value that current detector 220 detects is big In first threshold.If the charging current value that current detector 220 detects is greater than first threshold, in the step s 420, USB Interface controller 230 can be set the state of the USB interface 210 of electronic equipment 200 to by its internal charge controller Quick-charge state;If the charging current value that current detector 220 detects is not more than first threshold, in step S430 In, usb interface controller 230 can be by its internal charge controller by the state of the USB interface 210 of electronic equipment 200 It is set as data transmission state.Then, in step S440, judge whether external equipment 240 supports USB interface fast charge mode. If external equipment 240 supports USB interface fast charge mode, in step S450, by the USB interface of the electronic equipment 200 210 state remains quick-charge state;If external equipment 240 does not support USB interface fast charge mode, in step S460 In, the state of the USB interface 210 of the electronic equipment 200 is set as charging by the charge controller of usb interface controller 230 The lesser common charged state of electric current.
It can be seen that by using the control of the electronic equipment provided by the invention with USB charging current detection function Method 300 can to carry out some optimizations to the control method in existing electronic equipment, allow in electronic equipment When system enters sleep state, the state of USB interface is set by the current value of the charging pins of detection USB interface, is prevented System enters after sleep state the feelings that can not be supported USB interface external input function or can not support data-transformation facility etc. Condition improves the usage experience of user so that the USB interface charge function in electronic equipment becomes more efficiently and practical.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing not only include with sequence described here in temporal sequence The processing of execution, and the processing including executing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all be implemented by hardware.Based on this understanding, Technical solution of the present invention can be embodied in the form of software products in whole or in part to what background technique contributed, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make It obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present invention Or method described in certain parts of embodiment.
The present invention is described in detail above, specific case used herein is to the principle of the present invention and embodiment party Formula is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile it is right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (8)

1. a kind of electronic equipment, comprising:
Current detector, be connected to the electronic equipment Universal Serial Bus Interface and Universal Serial Bus Interface controller it Between, for detecting the charging current in the Universal Serial Bus Interface;And
Universal Serial Bus Interface controller, the charging current for being detected according to the current detector is to the electricity The state of the Universal Serial Bus Interface of sub- equipment is configured,
Wherein, Universal Serial Bus Interface controller is connected to the data pin of current detector and Universal Serial Bus Interface,
Wherein, if external equipment is connected to the electronic equipment by the Universal Serial Bus Interface and the electronics is set Standby system enters sleep state, then when the Universal Serial Bus Interface controller judges what the current detector detected When charging current value is not more than first threshold, the Universal Serial Bus Interface controller is by the general serial of the electronic equipment The state of bus interface is set as data transmission state.
2. electronic equipment according to claim 1, wherein the Universal Serial Bus Interface controller further comprises:
Charge controller, if external equipment is connected to the electronic equipment and described by the Universal Serial Bus Interface The system of electronic equipment enters sleep state, then when the Universal Serial Bus Interface controller judges the current detector inspection When the charging current value measured is greater than first threshold, the charge controller is by the Universal Serial Bus Interface of the electronic equipment State be set as quick-charge state.
3. electronic equipment according to claim 2, wherein when the charge controller is by the general string of the electronic equipment When the state of row bus interface is set as quick-charge state, if the external equipment supports Universal Serial Bus Interface fast charge Mode, then the state of the Universal Serial Bus Interface of the electronic equipment is remained quick charge shape by the charge controller State.
4. electronic equipment according to claim 3, wherein when the charge controller is by the general string of the electronic equipment When the state of row bus interface is set as quick-charge state, if the external equipment does not support that Universal Serial Bus Interface is fast Mold filling formula, then the state of the Universal Serial Bus Interface of the electronic equipment is set the shape that commonly charges by the charge controller State.
5. the control method of a kind of electronic equipment is connected to the electronics and sets wherein the electronic equipment includes current detector Between standby Universal Serial Bus Interface and Universal Serial Bus Interface controller, for detecting the Universal Serial Bus Interface On charging current, which comprises the charging current detected according to the current detector sets the electronics The state of standby Universal Serial Bus Interface is configured,
Wherein, Universal Serial Bus Interface controller is connected to the data pin of current detector and Universal Serial Bus Interface,
If external equipment is connected to the electronic equipment and the electronic equipment by the Universal Serial Bus Interface System enters sleep state, then, will be described when the charging current value that the current detector detects is not more than first threshold The state of the Universal Serial Bus Interface of electronic equipment is set as data transmission state.
6. control method according to claim 5, further comprises:
If external equipment is connected to the electronic equipment and the electronic equipment by the Universal Serial Bus Interface System enters sleep state, then when the charging current value for judging that the current detector detects is greater than first threshold, by institute The state for stating the Universal Serial Bus Interface of electronic equipment is set as quick-charge state.
7. control method according to claim 6, further comprises:
When setting quick-charge state for the state of the Universal Serial Bus Interface of the electronic equipment, if the outside Equipment supports Universal Serial Bus Interface fast charge mode, then keeps the state of the Universal Serial Bus Interface of the electronic equipment For quick-charge state.
8. control method according to claim 7, further comprises: being connect when by the universal serial bus of the electronic equipment When the state of mouth is set as quick-charge state, if the external equipment does not support Universal Serial Bus Interface fast charge mode, Then common charged state is set by the state of the Universal Serial Bus Interface of the electronic equipment.
CN201610509733.7A 2016-06-30 2016-06-30 A kind of electronic equipment and its control method Active CN106160073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610509733.7A CN106160073B (en) 2016-06-30 2016-06-30 A kind of electronic equipment and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610509733.7A CN106160073B (en) 2016-06-30 2016-06-30 A kind of electronic equipment and its control method

Publications (2)

Publication Number Publication Date
CN106160073A CN106160073A (en) 2016-11-23
CN106160073B true CN106160073B (en) 2019-06-25

Family

ID=57350839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610509733.7A Active CN106160073B (en) 2016-06-30 2016-06-30 A kind of electronic equipment and its control method

Country Status (1)

Country Link
CN (1) CN106160073B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009939A (en) * 2019-11-25 2020-04-14 青岛海信移动通信技术股份有限公司 Quick charging method and terminal
CN112199313A (en) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 USB fast charging switching device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102388520A (en) * 2009-02-27 2012-03-21 飞兆半导体公司 Peripheral device host charging
CN102593930A (en) * 2012-02-28 2012-07-18 惠州Tcl移动通信有限公司 Charging system of mobile terminal
CN102768570A (en) * 2011-12-23 2012-11-07 联想(北京)有限公司 Electronic equipment
CN102810884A (en) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 Charging circuit
CN104102613A (en) * 2014-06-20 2014-10-15 联想(北京)有限公司 Electronic equipment and information processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8368355B2 (en) * 2010-04-14 2013-02-05 Apple Inc. Portable electronic device power manager with current limit feedback control loop modification for stabilizing an external power supply

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102388520A (en) * 2009-02-27 2012-03-21 飞兆半导体公司 Peripheral device host charging
CN102810884A (en) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 Charging circuit
CN102768570A (en) * 2011-12-23 2012-11-07 联想(北京)有限公司 Electronic equipment
CN102593930A (en) * 2012-02-28 2012-07-18 惠州Tcl移动通信有限公司 Charging system of mobile terminal
CN104102613A (en) * 2014-06-20 2014-10-15 联想(北京)有限公司 Electronic equipment and information processing method

Also Published As

Publication number Publication date
CN106160073A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US10983152B2 (en) USB data pin impedance detection
EP2879014A1 (en) Tablet interface extension method and device
US7631203B2 (en) Dedicated power supply apparatus, terminal, power supply system, and power supply method
CN102393837B (en) USB charger recognition device and method
CN105814767B (en) A kind of electronic equipment fast charge method, device and equipment
EP2860638B1 (en) Serial communication over communication control pin
CN103064489A (en) Method for selecting internal circuit according to conditions of universal serial bus (USB) interface and terminal
TW201329731A (en) Apparatus and method of identifying a USB or an MHL device
CN105914810A (en) Method for charging electronic equipment, and electronic equipment
US20120306455A1 (en) Method and system for determining whether a portable device is charging
CN106160073B (en) A kind of electronic equipment and its control method
CN106329654A (en) Electronic device and charging method thereof
CN105896639B (en) Charging control method and electronic equipment
CN109254210A (en) Electronic device port type detection method, apparatus, detection circuit and electronic equipment
CN106300549A (en) Electronic installation and charging method thereof
EP2648068B1 (en) Method and terminal for starting universal serial bus state machine
CN113364974A (en) Camera and camera hot-plug power supply control method
CN105824732A (en) USB detection method and detection system
CN104578276A (en) Charging method, USB (universal serial bus) transmission line and power supply equipment
CN114465319A (en) Electronic device, method for determining path impedance, chip, and storage medium
CN106451617A (en) Electronic device and charging method thereof
JP2015207155A (en) Electronic apparatus
CN108092363B (en) Charging method and device
CN106650512B (en) A kind of method and electronic equipment for protecting electronic equipment
CN106356935A (en) Electronic device and charging method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant