CN105071488A - Charging method and apparatus of terminal having data exchange function - Google Patents
Charging method and apparatus of terminal having data exchange function Download PDFInfo
- Publication number
- CN105071488A CN105071488A CN201510532478.3A CN201510532478A CN105071488A CN 105071488 A CN105071488 A CN 105071488A CN 201510532478 A CN201510532478 A CN 201510532478A CN 105071488 A CN105071488 A CN 105071488A
- Authority
- CN
- China
- Prior art keywords
- terminal
- access mode
- charging
- data exchange
- usb interface
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000001514 detection method Methods 0.000 claims description 22
- 206010048669 Terminal state Diseases 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005260 corrosion Methods 0.000 description 1
- 230000007797 corrosion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention discloses a charging method and apparatus of a terminal having a data exchange function. The method comprises: whether a terminal is in a turning-off state is detected; if so, a data exchange access mode of the USB interface of the terminal is turned off and switching to an equipment charging access execution mode is carried out. According to the invention, whether the display panel of the terminal is in a turning-off state is detected and is used as the determination condition of switching to the terminal access mode. Therefore, switching of the access mode of the USB interface of the terminal is realized and a problem that the terminal can not be charged due to short circuit of the identification pin of the USB interface of the terminal in the prior art can be solved.
Description
Technical Field
The present invention relates to charging technologies, and in particular, to a method and an apparatus for charging a terminal having a data exchange function.
Background
At present, more and more electronic terminal equipment such as mobile phones have an On-The-Go (OTG) function, and after The terminal with The OTG function is connected with The OTG equipment, communication between The equipment can be carried out, and after The terminal with The OTG function is connected with an external power supply, The terminal can be charged through The external power supply.
Taking a mobile phone terminal as an example, fig. 1 is a schematic diagram of a Universal Serial Bus (USB) interface of a mobile phone provided in the prior art, where the USB interface has a ground pin GND, an identification pin ID, a positive voltage data pin D +, a negative voltage data pin D-, and a power supply pin VBUS. The mobile phone detects the OTG equipment by identifying the OTG through an identification pin (ID) of the USB interface, and detects the external power supply by identifying a power supply pin (VBUS) of the USB interface, so that the mobile phone can accurately identify the external OTG equipment and the external power supply through the USB interface. When the OTG equipment is accessed to the USB interface of the mobile phone, the ID pin of the mobile phone can be connected with the chip of the OTG equipment, and communication with external OTG equipment is realized. When the USB interface of the terminal is communicated with the external OTG equipment, the terminal is in an OTG access mode; or when the USB interface of the terminal is connected with an external power supply to charge, the terminal is in an equipment charging access mode.
The USB interfaces of most terminals are directly exposed to air, and the external devices are frequently plugged into or pulled out of the USB interfaces, so the USB interfaces are very susceptible to corrosion or wear, which results in a micro short circuit.
Specifically, for a mobile phone as an example, the ID pin of the USB interface of the mobile phone is easily corroded to cause a micro short circuit, and at this time, the ID pin is short-circuited with the surrounding metal (such as the GND pin). The impedance of the ID pin to ground is 1.5M under normal conditions, the resistance range of the OTG equipment identified by the ID pin is between 0 and 180K omega, and after the GND pin and the ID pin are short-circuited, the micro-short resistance of the ID pin is between 0.1K omega and 10K omega, so that the short circuit of the ID pin can be identified as the access of the OTG equipment by a mobile phone system. When the mobile phone system identifies that the OTG equipment is accessed, the mobile phone system can output a 5V power supply through a VBUS pin to carry out OTG detection, namely, the OTG equipment is detected and identified in an OTG access mode. If the external power supply is connected to the mobile phone at the present moment, the mobile phone cannot realize the charging function because the mobile phone system is in the OTG access mode. When the mobile phone is powered off due to the shortage of the electric quantity of the mobile phone, the mobile phone is still in the OTG access mode due to the short circuit of the ID pin, and even if the mobile phone is connected with an external power supply, the mobile phone cannot be charged.
Currently, most electronic terminal devices are built-in batteries, and the short circuit of an ID pin causes that the terminal cannot be charged even in a power-off state, so that the normal use of a user is influenced, and much inconvenience is brought to the user.
Disclosure of Invention
The invention provides a charging method and a charging device of a terminal with a data exchange function, which aim to solve the problem that the charging cannot be carried out due to the short circuit of a USB interface of the terminal in the prior art.
In a first aspect, an embodiment of the present invention provides a method for charging a terminal having a data exchange function, where the method includes:
detecting whether the terminal is in a power-off state or not;
and when the terminal is detected to be in a shutdown state, closing a data exchange access mode of a USB interface of the terminal and switching the data exchange access mode into an execution equipment charging access mode.
In a second aspect, an embodiment of the present invention further provides a charging apparatus for a terminal having a data exchange function, where the charging apparatus includes:
the terminal state detection module is used for detecting whether the terminal is in a shutdown state or not;
and the access mode switching module is used for closing the data exchange access mode of the USB interface of the terminal and switching the data exchange access mode into an execution equipment charging access mode when the terminal is detected to be in a shutdown state.
The invention provides a charging method and a charging device of a terminal with a data exchange function, which control to close a data exchange access mode of a USB interface of the terminal and control to switch to an execution equipment charging access mode to control the terminal to charge by detecting whether the terminal is in a shutdown state or not and when the terminal is detected to be in the shutdown state. The invention takes whether the detection terminal is in the shutdown state as the judgment condition for switching the access mode of the terminal, thereby not only realizing the access mode switching of the USB interface of the terminal, but also solving the problem that the terminal can not be charged due to the short circuit of the identification pin of the USB interface of the terminal in the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a USB interface of a mobile phone provided in the prior art;
fig. 2 is a flowchart illustrating a charging method for a terminal with a data exchange function according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a charging method for a terminal with a data exchange function according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a charging apparatus of a terminal having a data exchange function according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Known from the prior art, when the USB interface of the terminal with the OTG function is short-circuited, no matter whether the USB interface of the terminal is inserted with an external OTG device, the terminal is always in a detection mode, i.e., a data exchange (OTG) access mode, for the OTG device in the shutdown state and the startup state, and at this time, the terminal cannot be charged.
In actual operation, a terminal with an OTG function generally performs OTG communication in a power-on state, and does not perform OTG communication when the terminal is in a power-off state. Therefore, the method for closing the OTG access mode when the terminal is powered off ensures that charging can be realized under the condition that the ID pin is invalid, and reduces inconvenience of users.
Example one
Fig. 2 is a flowchart illustrating a method for charging a terminal with a data exchange function according to an embodiment of the present invention. The technical scheme of the embodiment is suitable for the terminal with the OTG function, and controls the situation of executing the data exchange access mode or the equipment charging access mode according to the starting or shutdown state of the terminal. The terminal can be any electronic device with an OTG function, typically a mobile phone, a tablet computer, and the like. The method can be executed by a charging device of the terminal with the OTG function, and the device can be realized in a software and/or hardware mode and is configured to be executed in the terminal. The method for charging a terminal with a data exchange function provided in this embodiment specifically includes:
and S110, detecting whether the terminal is in a power-off state.
As described above, the USB interface of the terminal has the ground pin GND, the identification pin ID, the positive voltage data pin D +, the negative voltage data pin D-, and the power supply pin VBUS. The terminal needs to determine whether the terminal is in a shutdown state, so as to determine whether the terminal enters a corresponding data exchange access mode or an equipment charging access mode, and complete corresponding operations.
In the step, whether the terminal is in a shutdown state or not is detected as a judgment basis for forcing the terminal to enter a charging state, so that the terminal is in an equipment charging access mode in the shutdown state.
And S120, when the terminal is detected to be in a shutdown state, closing a data exchange access mode of a USB interface of the terminal and switching to an execution equipment charging access mode.
As described above, when it is detected that the terminal is in the shutdown state, indicating that the OTG operation cannot be executed even if the USB interface of the terminal is connected to the OTG device, at this time, the data exchange access mode of the USB interface of the terminal is forcibly controlled to be closed, and the USB interface of the terminal is controlled to be switched to the execution device charging access mode. Therefore, if the USB interface is connected with the power supply equipment, the terminal can be charged.
It should be noted that, a data exchange identification circuit is disposed on the terminal, and the data exchange identification circuit is used for performing detection, identification and access to the external OTG device, that is, the data exchange identification circuit performs a data exchange access mode. Therefore, when the terminal is detected to be in the shutdown state, the data exchange access mode for controlling to close the USB interface of the terminal is to control to close the data exchange identification circuit, so that the data exchange identification circuit stops access detection, identification and access to the OTG device.
In this step, no matter the USB interface is short-circuited or normal, as long as the terminal is detected to be in the power-off state, the terminal is forced to be switched to the device charging access mode, so that the terminal can be charged when the USB interface is accessed by the power device.
In this embodiment, whether the terminal is in the shutdown state is detected as a determination condition for switching the access mode of the terminal, which not only realizes the access mode switching of the USB interface of the terminal, but also solves the problem that the terminal cannot be charged even in the shutdown state due to a short circuit of the identification pin of the USB interface of the terminal in the prior art.
Example two
Fig. 3 is a flowchart illustrating a terminal charging method with a data exchange function according to a second embodiment of the present invention. The method can be executed by a charging device of the terminal with the OTG function, and the device can be realized in a software and/or hardware mode and is configured to be executed in the terminal. The method for charging a terminal with a data exchange function provided in this embodiment specifically includes:
s210, detecting whether the terminal sends the electromagnetic wave
When the terminal is in the power-on running state, the terminal can send electromagnetic signals to carry out communication or search nearby networks, so that whether the terminal is in the power-on running state can be judged by detecting whether the terminal sends electromagnetic waves.
When detecting that the terminal sends the electromagnetic wave, the terminal is judged to be in a starting state, and the USB interface of the corresponding terminal executes a data exchange access mode. When detecting that the terminal does not send electromagnetic waves, judging that the terminal is in a shutdown state, correspondingly controlling to close a data exchange access mode of the USB interface and forcing the terminal to be switched into an execution equipment charging access mode so as to charge.
In this step, whether the terminal sends the electromagnetic wave is used as a judgment basis for detecting whether the terminal is in a power-off state.
And S220, when the terminal is detected to be in the shutdown state, closing the data exchange access mode of the USB interface of the terminal and switching the data exchange access mode into the execution equipment charging access mode.
And when the terminal is detected to be in a shutdown state, if the current terminal is in the equipment charging access mode, controlling the terminal to continue executing the equipment charging access mode. When the terminal is detected to be in a shutdown state, if the current terminal is in a data exchange access mode, closing the data exchange access mode of the USB interface of the terminal, and controlling the terminal to be switched into an execution equipment charging access mode.
Optionally, the specific execution process of closing the data exchange access mode of the USB interface of the terminal may be: and disconnecting the enabling signal transmitted to the data exchange identification circuit in the terminal so as to close the data exchange access mode.
The terminal controls the USB interface to be in the data exchange access mode, and particularly enables the data exchange identification circuit to be in the data exchange mode by inputting an enabling signal to the data exchange identification circuit. When the terminal controls the USB interface to be in the equipment charging access mode, the terminal needs to control the data exchange identification circuit to be closed so that the data exchange identification circuit is no longer in the data exchange access mode. The terminal can therefore switch off the data exchange identification circuit by disconnecting the enable signal transmitted to the data exchange identification circuit, and the corresponding control switches off the data exchange access mode.
And S230, detecting whether the voltage of a power supply pin of the USB interface of the terminal is greater than or equal to a charging voltage threshold value or not in the equipment charging access mode.
When the USB interface of the terminal is switched to the device charging access mode, the USB interface needs to confirm whether power supply equipment is accessed or not, so that the device charging is carried out immediately when the power supply equipment is accessed. Specifically, whether a voltage signal of a power pin of the USB interface is greater than or equal to a preset charging voltage threshold value is detected to determine whether to charge. If the voltage signal of the power supply pin of the USB interface is greater than or equal to the charging voltage threshold, determining that the USB interface of the terminal has power supply equipment to be accessed; and if the voltage signal of the power supply pin of the USB interface is smaller than the charging voltage threshold value, determining that the USB interface of the terminal has no power supply equipment to be connected.
In the step, in the device charging access mode, whether the USB interface is connected with the power supply device is determined by detecting whether a voltage signal of a power supply pin of the USB interface of the terminal is greater than or equal to a charging voltage threshold value.
And S240, when the voltage of the power supply pin is detected to be smaller than the charging voltage threshold, returning and continuously detecting whether the terminal sends the electromagnetic wave.
When the terminal USB interface is determined to have no power equipment access, the terminal can return to and continue to detect whether the terminal sends the electromagnetic waves. And switching the access mode of the terminal according to the detection result and executing corresponding control.
The step can enable the terminal to perform access detection of the power supply equipment under the condition that the USB interface is short-circuited, so as to solve the problem that the terminal cannot enter the equipment charging access mode in a shutdown or startup state due to the short-circuit of the USB interface in the prior art.
And S250, when the voltage of the power supply pin of the USB interface of the terminal is detected to be larger than or equal to the charging voltage threshold, charging the equipment through the USB interface.
When the voltage of the power pin of the USB interface of the terminal is larger than or equal to the charging power threshold, it indicates that the USB interface of the terminal has power equipment connected, and at this time, in the equipment charging access mode, the power equipment charges the terminal through the USB interface of the terminal.
It should be noted that, when detecting the electromagnetic wave transmitted by the terminal, it can be determined that the terminal is in the power-on state, and then the terminal is in the data exchange mode. Therefore, step S210 is followed by: and S260, in the data exchange access mode, when the identification pin of the terminal USB interface is detected to be lower than the low level state, executing data exchange with the external equipment. When the identification pin of the terminal USB interface is lower than the low level state, it indicates that an OTG device is detected to be accessed at the USB interface of the terminal, and then the terminal can perform OTG detection, identification, and access on the accessed OTG device to perform data exchange with the OTG device.
The present embodiment further provides another charging method for a terminal with a data exchange function, which is different from the above charging method of the present embodiment in that: whether the power supply of the terminal is disconnected or not is detected so as to detect whether the terminal is in a shutdown state or not.
Obviously, when the terminal is in the power-on state, the terminal generally supplies power to each internal functional module, the internal power supply is generally connected, and the USB interface of the corresponding terminal executes a data exchange access mode. When the terminal is in a shutdown state, most functional modules of the terminal are in a shutdown state, and a power supply inside the terminal is disconnected from the functional modules, so that the shutdown state of the terminal can be judged according to the disconnection condition of the power supply inside the terminal, the data exchange access mode of the USB interface is correspondingly controlled to be closed, and the terminal is forced to be switched to an execution equipment charging access mode so as to be charged.
The charging method comprises the following steps: firstly, detecting whether a terminal power supply is disconnected, specifically, judging whether a power supply of a necessary functional module is disconnected when the terminal is maintained to work, and if so, determining that the terminal is in a shutdown state; when the terminal is detected to be in a shutdown state, closing a data exchange access mode of a USB interface of the terminal and switching the data exchange access mode into an execution equipment charging access mode; detecting whether the voltage of a power supply pin of a USB interface of a terminal is greater than or equal to a charging voltage threshold value or not in an equipment charging access mode; and when the voltage of the power supply pin is detected to be greater than or equal to the charging voltage threshold, charging the equipment through the USB interface.
It should be noted that, if it is detected that the power of the terminal is not turned off, it is determined that the terminal is in the power-on state, and the terminal executes the data exchange access mode. When the identification pin of the terminal USB interface is detected to be in a low level state, it can be determined that the USB interface has an external OTG device to access, and then the terminal and the external OTG device can perform data exchange.
In the charging method of the terminal with the data exchange function provided in this embodiment, when it is detected that the terminal does not send electromagnetic waves or cuts off a power supply, the terminal is in a shutdown state, the data exchange access mode of the USB interface is controlled to be closed and switched to the execution device charging access mode, and when it is detected that the voltage of the power supply pin is greater than or equal to the preset charging voltage threshold, the terminal is controlled to perform charging. In this embodiment, whether the terminal is in the shutdown state is detected as a determination condition for switching the access mode of the terminal, which not only realizes the access mode switching of the USB interface of the terminal, but also solves the problem that the terminal cannot be charged even in the shutdown state due to a short circuit of the identification pin of the USB interface of the terminal in the prior art.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a terminal charging device with a data exchange function according to a third embodiment of the present invention. The apparatus may perform the charging method of the terminal with the OTG function in a software and/or hardware manner, and the apparatus is configured to be executed in the terminal.
A charging device of a terminal with a data exchange function provided in this embodiment includes: a terminal state detection module 310 and an access mode switching module 320.
The terminal state detection module 310 is configured to detect whether the terminal is in a power-off state; the access mode switching module 320 is configured to, when detecting that the terminal is in a shutdown state, close a data exchange access mode of a USB interface of the terminal and switch the access mode to an execution device charging access mode.
Optionally, the terminal status detecting module 310 includes: an electromagnetic wave detection unit 311 or a power supply detection unit 312.
The electromagnetic wave detection unit 311 is configured to detect whether the terminal sends an electromagnetic wave, and if not, determine that the terminal is in a power-off state; or the power detection unit 312 is configured to detect whether the power of the terminal is turned off, and if so, determine that the terminal is in a power-off state.
Optionally, the specific execution process of the access mode switching module 320 for closing the data exchange access mode of the USB interface of the terminal is as follows: and disconnecting the enabling signal transmitted to the data exchange identification circuit in the terminal so as to close the data exchange access mode.
Optionally, the charging device further comprises: a data mode executing module 330, configured to, after the terminal state detecting module 310 detects that the terminal is in a power-on state, execute data exchange with an external device in the data exchange access mode when the identification pin of the USB interface is detected to be in a low level state.
Optionally, the charging device further comprises: a power pin detection module 340 and a charging mode execution module 350.
The power pin detecting module 340 is configured to detect whether a voltage of a power pin of the USB interface of the terminal is greater than or equal to a charging voltage threshold in the device charging access mode after the access mode switching module 320 closes the data exchange access mode of the USB interface of the terminal and switches to the device charging access mode; the charging mode execution module 350 is configured to charge the device through the USB interface when detecting that the voltage of the power pin is greater than or equal to the charging voltage threshold.
In the charging apparatus for a terminal with a data exchange function provided in this embodiment, whether the terminal is in a shutdown state is detected by the terminal state detection module, and when it is detected that the terminal is in the shutdown state, the access mode switching module closes the data exchange access module of the USB interface of the terminal and switches the data exchange access module into the execution device charging access mode, so as to control the terminal to perform charging. In this embodiment, whether the terminal is in the shutdown state is detected as a determination condition for switching the access mode of the terminal, which not only realizes the access mode switching of the USB interface of the terminal, but also solves the problem that the terminal cannot be charged due to a short circuit of the identification pin of the USB interface of the terminal in the prior art.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for charging a terminal having a data exchange function, comprising:
detecting whether the terminal is in a power-off state or not;
and when the terminal is detected to be in a shutdown state, closing a data exchange access mode of a Universal Serial Bus (USB) interface of the terminal and switching the data exchange access mode into an execution equipment charging access mode.
2. The charging method according to claim 1, wherein detecting whether the terminal is in a power-off state comprises:
detecting whether the terminal sends electromagnetic waves or not, and if not, determining that the terminal is in a power-off state; or
And detecting whether the power supply of the terminal is disconnected, and if so, determining that the terminal is in a shutdown state.
3. The charging method according to claim 1, wherein the specific implementation procedure for closing the data exchange access mode of the USB interface of the terminal is as follows:
and disconnecting the enabling signal transmitted to the data exchange identification circuit in the terminal so as to close the data exchange access mode.
4. The charging method according to claim 2, wherein after detecting that the terminal is in the power-on state, the method further comprises:
and in the data exchange access mode, when the identification pin of the USB interface is detected to be in a low level state, executing data exchange with external equipment.
5. The charging method according to claim 1, wherein after detecting that the terminal is in a power-off state, closing a data exchange access mode of the USB interface of the terminal and switching to an execution device charging access mode, the method further comprises:
detecting whether the voltage of a power supply pin of a USB interface of the terminal is greater than or equal to a charging voltage threshold value or not in the equipment charging access mode;
and when the voltage of the power supply pin is detected to be greater than or equal to the charging voltage threshold, charging the equipment through the USB interface.
6. A charging apparatus for a terminal having a data exchange function, comprising:
the terminal state detection module is used for detecting whether the terminal is in a shutdown state or not;
and the access mode switching module is used for closing the data exchange access mode of the USB interface of the terminal and switching the data exchange access mode into an execution equipment charging access mode when the terminal is detected to be in a shutdown state.
7. The charging device according to claim 6, wherein the terminal state detection module comprises:
the electromagnetic wave detection unit is used for detecting whether the terminal sends electromagnetic waves or not, and if not, the terminal is determined to be in a power-off state; or,
and the power supply detection unit is used for detecting whether the power supply of the terminal is disconnected, and if so, determining that the terminal is in a shutdown state.
8. The charging device according to claim 1, wherein the specific execution process of the access mode switching module for turning off the data exchange access mode of the USB interface of the terminal is as follows:
and disconnecting the enabling signal transmitted to the data exchange identification circuit in the terminal so as to close the data exchange access mode.
9. The charging device according to claim 7, further comprising:
and the data mode execution module is used for executing data exchange with external equipment in the data exchange access mode when detecting that the identification pin of the USB interface is in a low level state after detecting that the terminal is in a power-on state.
10. The charging device of claim 6, further comprising:
the power supply pin detection module is used for detecting whether the voltage of a power supply pin of the USB interface of the terminal is greater than or equal to a charging voltage threshold value or not in the equipment charging access mode after the data exchange access mode of the USB interface of the terminal is closed and the terminal is switched to the execution equipment charging access mode;
and the charging mode execution module is used for charging equipment through the USB interface when detecting that the voltage of the power supply pin is greater than or equal to the charging voltage threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532478.3A CN105071488B (en) | 2015-08-25 | 2015-08-25 | A kind of charging method and device of the terminal with data exchanging function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532478.3A CN105071488B (en) | 2015-08-25 | 2015-08-25 | A kind of charging method and device of the terminal with data exchanging function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105071488A true CN105071488A (en) | 2015-11-18 |
CN105071488B CN105071488B (en) | 2017-11-21 |
Family
ID=54500799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510532478.3A Expired - Fee Related CN105071488B (en) | 2015-08-25 | 2015-08-25 | A kind of charging method and device of the terminal with data exchanging function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105071488B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106684967A (en) * | 2016-11-29 | 2017-05-17 | 维沃移动通信有限公司 | Charging method for mobile terminal and mobile terminal |
CN110442539A (en) * | 2019-06-17 | 2019-11-12 | 华为技术有限公司 | Mobile phone OTG switching method and apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1158306A2 (en) * | 2000-05-23 | 2001-11-28 | Canon Kabushiki Kaisha | Detecting method for detecting internal state of a rechargeable battery, detecting device for practicing said detecting method, and instrument provided with said detecting device |
CN203312846U (en) * | 2013-05-16 | 2013-11-27 | 方洪福 | A multifunctional mobile power supply |
-
2015
- 2015-08-25 CN CN201510532478.3A patent/CN105071488B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1158306A2 (en) * | 2000-05-23 | 2001-11-28 | Canon Kabushiki Kaisha | Detecting method for detecting internal state of a rechargeable battery, detecting device for practicing said detecting method, and instrument provided with said detecting device |
CN203312846U (en) * | 2013-05-16 | 2013-11-27 | 方洪福 | A multifunctional mobile power supply |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106684967A (en) * | 2016-11-29 | 2017-05-17 | 维沃移动通信有限公司 | Charging method for mobile terminal and mobile terminal |
CN106684967B (en) * | 2016-11-29 | 2019-07-26 | 维沃移动通信有限公司 | A kind of charging method and mobile terminal of mobile terminal |
CN110442539A (en) * | 2019-06-17 | 2019-11-12 | 华为技术有限公司 | Mobile phone OTG switching method and apparatus |
CN110442539B (en) * | 2019-06-17 | 2021-08-31 | 荣耀终端有限公司 | Mobile phone OTG switching method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105071488B (en) | 2017-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103618356B (en) | The charging system of a kind of mobile terminal and charging method thereof | |
US9450441B2 (en) | Mobile terminal, and device and method for charging same | |
US20160336779A1 (en) | Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal | |
US20150236522A1 (en) | Usb charging system with variable charging voltage, charger and smart terminal | |
US20130335010A1 (en) | Connector and control chip | |
CN103024195B (en) | Smart mobile terminal and implementation method of charging of smart mobile terminal | |
CN106655316B (en) | Charging circuit and terminal device | |
CN111880635B (en) | Electronic equipment and power supply control method and power supply control system thereof | |
CN107885683B (en) | Terminal and current testing method thereof | |
CN105071484A (en) | Charging method and apparatus of terminal having data exchange function | |
KR20160100973A (en) | Method and apparatus for charging electronic device with usb connection | |
CN105068959A (en) | Terminal and charging method and apparatus for terminal with data exchange function | |
CN110797950A (en) | Automatic switching method based on Type-C and AC charging and mobile terminal thereof | |
CN106340780A (en) | Terminal device and control method thereof | |
CN105576753A (en) | Information processing method and electronic equipment | |
CN106647539A (en) | Electronic device having waterproof circuit | |
CN105071489A (en) | Charging method and apparatus of terminal having data exchange function | |
CN106706998B (en) | Terminal test system and terminal test method | |
CN105048018A (en) | Charging method and device for terminal having on-the-go (OTG) function | |
CN106797414A (en) | The leakage current detection circuit and terminal of a kind of terminal | |
CN109167420B (en) | Charging control circuit, charging circuit and charging control method | |
CN108181978B (en) | Power control method and device for electronic equipment | |
CN105071488A (en) | Charging method and apparatus of terminal having data exchange function | |
CN104953631A (en) | Current control method and terminal device | |
CN106200442B (en) | Method and device for realizing connection control |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171121 |