Charging method and apparatus of terminal having data exchange function

A technology of data exchange and charging method, which is applied in the direction of circuit devices, battery circuit devices, transportation and packaging, etc., can solve the problem that the terminal cannot be charged, etc., and achieve the effect of solving the problem that the terminal cannot be charged and realizes the switching of access modes

Active Publication Date: 2015-11-18
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a charging method and device for a terminal with a data exchange function to solve the problem in the prior art that the terminal cannot be charged due to a short circuit of the USB interface of the terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Charging method and apparatus of terminal having data exchange function
  • Charging method and apparatus of terminal having data exchange function
  • Charging method and apparatus of terminal having data exchange function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] It is known from the prior art that when the USB interface of the USB cable inserted into the terminal and / or the USB interface of the terminal are short-circuited, resulting in a short-circuit of the USB interface of the terminal, the power supply pin of the USB interface of the terminal will output 5V voltage, causing the terminal to fail to realize Charge.

[0023] figure 2 It is a flow chart of a terminal charging method with data exchange function provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to a terminal with OTG function to judge whether to execute the device according to the state of the power pin of the USB interface. The case of charging access mode. The terminal can be any electronic device with an OTG function, such as a mobile phone, a tablet computer, and the like. The method can be executed by a charging device of a terminal having an OTG function, and the device can be implemented in softwa...

Embodiment 2

[0035] image 3 It is a flow chart of a terminal charging method with a data exchange function provided by Embodiment 2 of the present invention. The method can be executed by a charging device of a terminal with an OTG function, and the device can be implemented in software and / or hardware, and configured to be executed in the terminal. Such as image 3 As shown, the charging method of the terminal with data exchange function includes the following operations:

[0036] S201. Detect whether the voltage value at the power supply pin of the USB interface of the terminal is greater than or equal to a set threshold value.

[0037] The above steps may specifically be: when a USB cable is inserted into the USB interface of the terminal, firstly detect the voltage value at the power supply pin of the USB interface of the terminal, and compare the voltage value with the preset threshold value making a comparison to determine whether the voltage value is greater than or equal to a s...

Embodiment 3

[0049] Figure 4 It is a schematic diagram of a terminal charging device with a data exchange function provided by Embodiment 3 of the present invention. The device can implement the method for charging a terminal with an OTG function described in the above-mentioned embodiments in the form of software and / or hardware, and the device is configured to be executed in the terminal.

[0050] A charging device for a terminal with a data exchange function provided in this embodiment includes: a power pin detection module 310 , an access mode switching module 320 and an identification pin detection module 330 .

[0051] Wherein, the power pin detection module 310 is used to detect whether the power pin of the USB interface of the terminal receives a charging signal; the access mode switching module 320 is used to When the power supply pin of the interface receives a charging signal, switch the terminal to the device charging access mode and control the charging of the terminal; the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

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 power pin of a USB interface of a terminal receives a charging signal or not is detected; if so, the terminal is switched into an equipment charging access execution mode and the terminal is controlled to be charged; if not, a voltage value of an identified pin of the USB interface of the terminal is detected and corresponding control is executed. According to the embodiment of the invention, whether the power pin of the universal serial bus (USB) interface of the terminal receives the charging signal is used as the determination condition of switching to the terminal access mode, so that 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 USB interface of the terminal in the prior art can be solved.

Description

technical field [0001] The invention relates to charging technology, in particular to a charging method and device for a terminal with data exchange function. Background technique [0002] OTG (On-The-Go) is a technology developed in recent years, which is mainly used in the connection between various devices or mobile devices for data exchange. For example, connect a digital camera directly to a printer, and connect the USB interface between the two devices through OTG technology, and the photos taken can be printed immediately. [0003] figure 1 A schematic diagram of a USB interface of a terminal provided in the prior art, 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. Such as figure 1 As shown, the terminal is usually connected to an external power source through a USB cable so as to be charged through the external power source. The terminal detects the OTG...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H02J7/00
Inventor 李路路
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products