CN104978300A - Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment - Google Patents
Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment Download PDFInfo
- Publication number
- CN104978300A CN104978300A CN201510419355.9A CN201510419355A CN104978300A CN 104978300 A CN104978300 A CN 104978300A CN 201510419355 A CN201510419355 A CN 201510419355A CN 104978300 A CN104978300 A CN 104978300A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- external
- otg
- external device
- detection
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明涉及移动终端技术领域,本发明提供一种移动终端及其与外部设备连接的检测方法和装置,检测方法包括以下步骤:当检测移动终端的USB接口中的识别引脚被触发时,向外部设备输出OTG识别信号,并判断在预定时间内是否与外部设备进行通信,是,则识别为OTG设备接入USB接口,并与OTG设备进行通信,否,则停止输出OTG识别信号,并在判定外部适配接入时使外部适配器对移动终端充电,通过在预定时间内判断在微短路情形下与OTG设备之间的通信失败,停止输出识别信号以关闭OTG检测功能,从而恢复移动终端的充电功能,避免了移动终端的USB接口发生微短路时无法充电的缺陷。
The present invention relates to the technical field of mobile terminals. The present invention provides a mobile terminal and a detection method and device for connecting it with external equipment. The detection method includes the following steps: when the identification pin in the USB interface of the detection mobile terminal is triggered, send to The external device outputs an OTG identification signal, and judges whether it communicates with the external device within a predetermined time. When the external adapter is determined to be connected, the external adapter is charged to the mobile terminal. By judging that the communication with the OTG device fails in the case of a micro-short circuit within a predetermined time, the output of the identification signal is stopped to close the OTG detection function, thereby restoring the mobile terminal. The charging function avoids the defect that the USB interface of the mobile terminal cannot be charged when a micro-short circuit occurs.
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及一种移动终端及其与外部设备连接的检测方法和装置。The present invention relates to the technical field of mobile terminals, in particular to a mobile terminal and a detection method and device for connecting with external equipment.
背景技术Background technique
当前越来越多的手机具备OTG功能,正常情况下,手机对OTG设备的检测都是通过对识别引脚的识别以及USB通信来完成的,因此充电功能和OTG功能都是可以准确识别的。但由于用户使用环境的因素,例如在潮湿的环境或者容易腐蚀的环境下,USB接口会出现微短路的现象,此时对支持OTG的手机会存在不能充电的故障。当前大部分手机是内置电池,所以不能充电对用户而言是一个非常严重的问题。综上所述,现有技术中存在移动终端的USB接口出现微短路的现象时导致移动终端不能充电的缺陷。At present, more and more mobile phones have OTG function. Under normal circumstances, the detection of OTG devices by mobile phones is completed through the identification of identification pins and USB communication, so the charging function and OTG function can be accurately identified. However, due to the factors of the user's environment, such as in a humid environment or an environment that is prone to corrosion, a micro-short circuit will occur at the USB interface. At this time, there will be a failure to charge the mobile phone that supports OTG. Most of the current mobile phones have built-in batteries, so the inability to charge is a very serious problem for users. To sum up, in the prior art, there is a defect that the mobile terminal cannot be charged when a micro-short circuit occurs in the USB interface of the mobile terminal.
发明内容Contents of the invention
本发明的目的在于提供一种移动终端及其与外部设备连接的检测方法和装置,旨在解决针对现有技术中存在移动终端的USB接口出现微短路的现象时导致移动终端不能充电的缺陷。The purpose of the present invention is to provide a mobile terminal and a detection method and device for its connection with external equipment, aiming to solve the defect that the mobile terminal cannot be charged when there is a micro-short circuit in the USB interface of the mobile terminal in the prior art.
本发明是这样实现的,第一方面提供一种移动终端与外部设备连接的检测方法,所述检测方法包括以下步骤:The present invention is achieved in this way. The first aspect provides a detection method for connecting a mobile terminal to an external device, and the detection method includes the following steps:
A.当检测所述移动终端的USB接口中的识别引脚被触发时,向外部设备输出OTG识别信号,并判断在预定时间内是否与外部设备进行通信,是,则执行步骤B,否,则执行步骤C;A. When detecting that the identification pin in the USB interface of the mobile terminal is triggered, output the OTG identification signal to the external device, and judge whether to communicate with the external device within a predetermined time, yes, then perform step B, no, Then execute step C;
B.识别为OTG设备接入所述USB接口,并与所述OTG设备进行通信;B. Recognize that the OTG device is connected to the USB interface, and communicate with the OTG device;
C.停止输出OTG识别信号,并在判定外部适配接入时使外部适配器对移动终端充电。C. Stop outputting the OTG identification signal, and make the external adapter charge the mobile terminal when it is determined that the external adapter is connected.
结合第一方面,在第一方面的第一种的可能实现方式中,所述步骤A中所述检测所述移动终端的USB接口中的识别引脚被触发的步骤具体为:With reference to the first aspect, in the first possible implementation of the first aspect, the step of detecting that the identification pin in the USB interface of the mobile terminal is triggered in the step A is specifically:
检测到所述识别引否输入低电位时,判定所述识别引脚被触发。When it is detected whether the identification pin is input with a low potential, it is determined that the identification pin is triggered.
结合第一方面,在第一方面的第二种的可能实现方式中,所述步骤A中所述向外部设备发出OTG识别信号并判断在预定时间内是否与外部设备进行通信的步骤具体为:In combination with the first aspect, in the second possible implementation of the first aspect, the step of sending an OTG identification signal to the external device and judging whether to communicate with the external device within the predetermined time in the step A is specifically:
向外部设备输出电源电压,并在预定时间内判断是否与外部设备完成USB通信协议。Output the power supply voltage to the external device, and judge whether to complete the USB communication protocol with the external device within a predetermined time.
结合第一方面,在第一方面的第三种的可能实现方式中,所述步骤C中所述判定外部适配器接入的步骤具体为:With reference to the first aspect, in the third possible implementation of the first aspect, the step of determining the access of the external adapter in the step C is specifically:
检测到正差分信号引脚和负差分信号引脚短接时,判定外部适配器接入。When it is detected that the positive differential signal pin and the negative differential signal pin are short-circuited, it is determined that the external adapter is connected.
本发明第二方面提供一种移动终端与外部设备连接的检测装置,所述检测装置包括检测单元和控制单元;The second aspect of the present invention provides a detection device for connecting a mobile terminal to an external device, the detection device includes a detection unit and a control unit;
所述检测单元用于检测所述移动终端的USB接口中的识别引脚被触发时,向所述控制单元输出检测信号;The detection unit is configured to output a detection signal to the control unit when detecting that the identification pin in the USB interface of the mobile terminal is triggered;
所述控制单元用于向外部设备输出OTG识别信号,并判断在预定时间内是否与外部设备进行通信,当判断结果为是时,识别为OTG设备接入所述USB接口,并与所述OTG设备进行通信,当判断结果为否时,停止输出OTG识别信号,并在判定外部适配接入时使外部适配器对移动终端充电。The control unit is used to output an OTG identification signal to the external device, and judge whether to communicate with the external device within a predetermined time. The device communicates, and when the judgment result is negative, it stops outputting the OTG identification signal, and makes the external adapter charge the mobile terminal when it is judged that the external adapter is connected.
结合第二方面,在第二方面的第一种的可能实现方式中,所述步骤A中所述检测单元检测所述移动终端的USB接口中的识别引脚被触发的过程为:With reference to the second aspect, in the first possible implementation of the second aspect, the detection unit in the step A detects that the identification pin in the USB interface of the mobile terminal is triggered:
检测到所述识别引脚输入低电位时,判定所述识别引脚被触发。When it is detected that the identification pin inputs a low potential, it is determined that the identification pin is triggered.
结合第二方面,在第二方面的第二种的可能实现方式中,所述控制单元向外部设备发出OTG识别信号并判断在预定时间内是否与外部设备进行通信的过程为:With reference to the second aspect, in the second possible implementation of the second aspect, the process of the control unit sending an OTG identification signal to the external device and judging whether to communicate with the external device within a predetermined time is as follows:
向外部设备输出电源电压,并在预定时间内判断是否与外部设备完成USB通信协议。Output the power supply voltage to the external device, and judge whether to complete the USB communication protocol with the external device within a predetermined time.
结合第二方面,在第二方面的第三种的可能实现方式中,所述控制单元还用于检测到正差分信号引脚和负差分信号引脚短接时判定外部适配器接入。With reference to the second aspect, in a third possible implementation manner of the second aspect, the control unit is further configured to determine that an external adapter is connected when it detects that the positive differential signal pin and the negative differential signal pin are short-circuited.
本发明第三方面提供一种移动终端,包括上述第二方面所述的移动终端与外部设备连接的检测装置和USB接口。A third aspect of the present invention provides a mobile terminal, including the device for detecting the connection between the mobile terminal and the external device described in the second aspect and a USB interface.
本发明提供一种移动终端及其与外部设备连接的检测方法和装置,通过在预定时间内判断在微短路情形下与OTG设备之间的通信失败,停止输出识别信号以关闭OTG检测功能,从而恢复移动终端的充电功能,避免了移动终端的USB接口发生微短路时无法充电的缺陷。The present invention provides a mobile terminal and a detection method and device for its connection with external equipment. By judging within a predetermined time that the communication with the OTG equipment fails in the case of a micro-short circuit, the output of the identification signal is stopped to close the OTG detection function, thereby The charging function of the mobile terminal is restored, and the defect of being unable to charge when a micro-short circuit occurs at the USB interface of the mobile terminal is avoided.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本发明一种实施例提供的一种移动终端与外部设备连接的检测方法的流程图;FIG. 1 is a flow chart of a method for detecting a connection between a mobile terminal and an external device provided by an embodiment of the present invention;
图2是本发明另一种实施例提供的一种移动终端与外部设备连接的检测装置的结构示意图。Fig. 2 is a schematic structural diagram of an apparatus for detecting a connection between a mobile terminal and an external device according to another embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
为了说明本发明的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
本发明一种实施例提供一种移动终端与外部设备连接的检测方法,如图1所示,所述检测方法包括以下步骤:An embodiment of the present invention provides a detection method for connecting a mobile terminal to an external device. As shown in FIG. 1, the detection method includes the following steps:
步骤S101.当检测所述移动终端的USB接口中的识别引脚被触发时,向外部设备输出OTG识别信号,并判断在预定时间内是否与外部设备进行通信,是,则执行步骤S102,否,则执行步骤S103.Step S101. When detecting that the identification pin in the USB interface of the mobile terminal is triggered, output the OTG identification signal to the external device, and judge whether to communicate with the external device within a predetermined time, if yes, then execute step S102, if not , execute step S103.
所述步骤S101中,所述检测所述移动终端的USB接口中的识别引脚被触发的步骤具体为:In the step S101, the step of detecting that the identification pin in the USB interface of the mobile terminal is triggered is specifically:
检测到所述识别引否输入低电位时,判定所述识别引脚被触发。When it is detected whether the identification pin is input with a low potential, it is determined that the identification pin is triggered.
所述步骤S101中所述向外部设备发出OTG识别信号并判断在预定时间内是否与外部设备进行通信的步骤具体为:The step of sending an OTG identification signal to the external device and judging whether to communicate with the external device within a predetermined time is specifically as follows in the step S101:
向外部设备输出电源电压,并在预定时间内判断是否与外部设备完成USB通信协议。Output the power supply voltage to the external device, and judge whether to complete the USB communication protocol with the external device within a predetermined time.
具体的,当发生USB接口微短路的情形时,由于ID脚对地阻抗正常情况下1.5M,微短路的电阻在100至10Kohm之间,电路识别成OTG的电阻通常范围比较大在0至180K,因此,此时系统会输出5v电源与OTG设备进行通信。当插入充电器时由于移动终端作为OTG主设备,因此无法与适配器完成USB通信协议,此时系统会判断插入的设备是非OTG设备。Specifically, when a micro-short circuit occurs on the USB interface, since the impedance of the ID pin to ground is normally 1.5M, the resistance of the micro-short circuit is between 100 and 10Kohm, and the resistance that the circuit recognizes as OTG usually ranges from 0 to 180K. , therefore, at this time the system will output 5v power to communicate with the OTG device. When the charger is plugged in, because the mobile terminal is the OTG master device, the USB communication protocol with the adapter cannot be completed, and the system will judge that the device inserted is a non-OTG device.
步骤S102.识别为OTG设备接入所述USB接口,并与所述OTG设备进行通信。Step S102. Identify that the OTG device is connected to the USB interface, and communicate with the OTG device.
步骤S103.停止输出OTG识别信号,并在判定外部适配接入时使外部适配器对移动终端充电。Step S103. Stop outputting the OTG identification signal, and enable the external adapter to charge the mobile terminal when it is determined that the external adapter is connected.
在本步骤中,具体的,关闭OTG设备5v电源输出使能,使整个系统恢复充电通路。In this step, specifically, the 5v power output enable of the OTG device is turned off, so that the entire system restores the charging path.
在本步骤中,具体的,所述判定外部适配器接入的步骤具体为:In this step, specifically, the step of determining the access of the external adapter is specifically:
检测到正差分信号引脚和负差分信号引脚短接时,判定外部适配器接入。When it is detected that the positive differential signal pin and the negative differential signal pin are short-circuited, it is determined that the external adapter is connected.
进一步的,所述移动终端获取与该移动终端相连的外部适配器的电压信息;所述移动终端将接收到的电压信息与标准电压范围进行比较,如果所述电压信息在所述标准电压范围内,则能够识别出所述USB适配器为与所述手持机相匹配的USB适配器,否则,识别出所述适配器不是与所述移动终端相匹配的USB适配器,当所述适配器不是与所述移动终端相匹配的USB适配器时,将输入电压转换成标准电压后再进行充电。Further, the mobile terminal obtains voltage information of an external adapter connected to the mobile terminal; the mobile terminal compares the received voltage information with a standard voltage range, and if the voltage information is within the standard voltage range, Then it can be identified that the USB adapter is a USB adapter that matches the handset, otherwise, it is identified that the adapter is not a USB adapter that matches the mobile terminal, when the adapter is not a USB adapter that matches the mobile terminal When using a matching USB adapter, convert the input voltage to a standard voltage before charging.
本发明另一种实施例提供一种移动终端与外部设备连接的检测装置,所述检测装置包括检测单元201和控制单元202;Another embodiment of the present invention provides a detection device for connecting a mobile terminal to an external device, the detection device includes a detection unit 201 and a control unit 202;
所述检测单元201用于检测所述移动终端的USB接口中的识别引脚被触发时,向所述控制单元202输出检测信号;The detection unit 201 is configured to output a detection signal to the control unit 202 when detecting that the identification pin in the USB interface of the mobile terminal is triggered;
所述控制单元202用于向外部设备输出OTG识别信号,并判断在预定时间内是否与外部设备进行通信,当判断结果为是时,识别为OTG设备接入所述USB接口,并与所述OTG设备进行通信,当判断结果为否时,停止输出OTG识别信号,并在判定外部适配接入时使外部适配器对移动终端充电。The control unit 202 is used to output an OTG identification signal to the external device, and judge whether to communicate with the external device within a predetermined time, and when the judgment result is yes, identify that the OTG device is connected to the USB interface, and communicate with the The OTG device communicates, and when the judgment result is negative, stops outputting the OTG identification signal, and makes the external adapter charge the mobile terminal when it is judged that the external adapter is connected.
具体的,当发生USB接口微短路的情形时,由于ID脚对地阻抗正常情况下1.5M,微短的电阻在100至10Kohm之间,电路识别成OTG的电阻通常范围比较大在0至180K,因此,此时系统会输出5v电源与OTG设备进行通信。当插入充电器时由于移动终端作为OTG主设备,因此无法与适配器完成USB通信协议,此时系统会判断插入的设备是非OTG设备,通过停止输出OTG识别信号实现了移动终端的充电功能。Specifically, when a micro-short circuit occurs on the USB interface, since the impedance of the ID pin to ground is normally 1.5M, the resistance of the micro-short circuit is between 100 and 10Kohm, and the resistance that the circuit recognizes as OTG usually ranges from 0 to 180K. , therefore, at this time the system will output 5v power to communicate with the OTG device. When the charger is plugged in, because the mobile terminal is an OTG master device, it cannot complete the USB communication protocol with the adapter. At this time, the system will judge that the inserted device is a non-OTG device, and realize the charging function of the mobile terminal by stopping the output of the OTG identification signal.
所述检测单元201检测所述移动终端的USB接口中的识别引脚被触发的过程为:The process that the detection unit 201 detects that the identification pin in the USB interface of the mobile terminal is triggered is:
检测到所述识别引脚输入低电位时,判定所述识别引脚被触发。When it is detected that the identification pin inputs a low potential, it is determined that the identification pin is triggered.
所述控制单元202向外部设备发出OTG识别信号并判断在预定时间内是否与外部设备进行通信的过程为:The process of the control unit 202 sending an OTG identification signal to the external device and judging whether to communicate with the external device within a predetermined time is as follows:
向外部设备输出电源电压,并在预定时间内判断是否与外部设备完成USB通信协议。Output the power supply voltage to the external device, and judge whether to complete the USB communication protocol with the external device within a predetermined time.
所述控制单元202还用于检测到正差分信号引脚和负差分信号引脚短接时判定外部适配器接入。The control unit 202 is further configured to determine that an external adapter is connected when it detects that the positive differential signal pin and the negative differential signal pin are short-circuited.
进一步的,所述移动终端中的控制单元获取与该移动终端相连的外部适配器的电压信息;所述移动终端将接收到的电压信息与标准电压范围进行比较,如果所述电压信息在所述标准电压范围内,则能够识别出所述USB适配器为与所述手持机相匹配的USB适配器,否则,识别出所述适配器不是与所述移动终端相匹配的USB适配器,当所述适配器不是与所述移动终端相匹配的USB适配器时,驱动变压模块将输入电压转换成标准电压后再进行充电。Further, the control unit in the mobile terminal obtains the voltage information of the external adapter connected to the mobile terminal; the mobile terminal compares the received voltage information with the standard voltage range, if the voltage information is within the standard voltage range within the voltage range, it can be identified that the USB adapter is a USB adapter that matches the handset; otherwise, it is identified that the adapter is not a USB adapter that matches the mobile terminal. When using a USB adapter matching the above-mentioned mobile terminal, the drive transformer module converts the input voltage into a standard voltage before charging.
本发明另一种实施例提供一种移动终端,包括上述移动终端与外部设备连接的检测装置和USB接口。Another embodiment of the present invention provides a mobile terminal, including the above-mentioned device for detecting the connection between the mobile terminal and an external device and a USB interface.
本发明提供一种移动终端及其与外部设备连接的检测方法和装置,通过在预定时间内判断在微短路情形下与OTG设备之间的通信失败,停止输出识别信号以关闭OTG检测功能,从而恢复移动终端的充电功能,避免了移动终端的USB接口发生微短路时无法充电的缺陷。The present invention provides a mobile terminal and a detection method and device for its connection with external equipment. By judging within a predetermined time that the communication with the OTG equipment fails in the case of a micro-short circuit, the output of the identification signal is stopped to close the OTG detection function, thereby The charging function of the mobile terminal is restored, and the defect of being unable to charge when a micro-short circuit occurs at the USB interface of the mobile terminal is avoided.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明由所提交的权利要求书确定的专利保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, several equivalent substitutions or obvious modifications are made without departing from the concept of the present invention, and the performance or use is the same, all should be regarded as belonging to the present invention by the submitted claims The scope of patent protection determined by the book.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510419355.9A CN104978300B (en) | 2015-07-16 | 2015-07-16 | Mobile terminal and its detection method being connect with external equipment and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510419355.9A CN104978300B (en) | 2015-07-16 | 2015-07-16 | Mobile terminal and its detection method being connect with external equipment and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104978300A true CN104978300A (en) | 2015-10-14 |
| CN104978300B CN104978300B (en) | 2019-04-12 |
Family
ID=54274819
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510419355.9A Expired - Fee Related CN104978300B (en) | 2015-07-16 | 2015-07-16 | Mobile terminal and its detection method being connect with external equipment and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104978300B (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105573946A (en) * | 2016-03-01 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device for multiplexing universal serial bus interface |
| CN106412245A (en) * | 2016-09-06 | 2017-02-15 | 青岛海信移动通信技术股份有限公司 | Waterproof method for USB interface and mobile terminal |
| CN106532383A (en) * | 2016-10-31 | 2017-03-22 | 深圳市金立通信设备有限公司 | Compatible design method and circuit |
| CN106597143A (en) * | 2016-11-10 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Test device and test method |
| CN106786876A (en) * | 2016-12-20 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal is filled protection circuit, terminal and terminal and fills protection system soon soon |
| CN106786960A (en) * | 2017-01-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | Charge control method, device and terminal |
| CN106844265A (en) * | 2017-02-06 | 2017-06-13 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of general-purpose serial bus USB interface |
| CN106940670A (en) * | 2016-01-05 | 2017-07-11 | 中兴通讯股份有限公司 | Access state checking method, device and terminal |
| CN108780345A (en) * | 2016-03-09 | 2018-11-09 | 雷蛇(亚太)私人有限公司 | Computing device, power supply device, the method for controlling computing device and the method for controlling power supply device |
| CN108874708A (en) * | 2018-06-28 | 2018-11-23 | 努比亚技术有限公司 | OTG equipment, terminal charging method, mobile terminal and computer readable storage medium |
| CN113672438A (en) * | 2021-08-23 | 2021-11-19 | 紫光展讯通信(惠州)有限公司 | Method, device, communication system and storage medium for maintaining USB connection |
| CN115017073A (en) * | 2021-03-05 | 2022-09-06 | 龙芯中科技术股份有限公司 | Communication controller enabling method and device, electronic equipment and storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1402495A (en) * | 2001-08-10 | 2003-03-12 | 精工爱普生株式会社 | Power supply control circuit, electronic apparatus and charging method thereof |
| CN101097536A (en) * | 2006-06-30 | 2008-01-02 | 佛山市顺德区顺达电脑厂有限公司 | Operation mode judging system and method thereof |
| US20080265838A1 (en) * | 2007-04-24 | 2008-10-30 | Saurabh Garg | Battery charging using a USB-ID pin of a USB interface |
| CN101415043A (en) * | 2007-10-15 | 2009-04-22 | 三星电子株式会社 | Mobile terminal aware of externally connected device and control method for the same |
| CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | A method and device for realizing USB OTG function on electronic equipment |
| CN103186483A (en) * | 2011-12-27 | 2013-07-03 | 比亚迪股份有限公司 | Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same |
| CN203312846U (en) * | 2013-05-16 | 2013-11-27 | 方洪福 | A multifunctional mobile power supply |
| CN103744821A (en) * | 2014-01-10 | 2014-04-23 | 广东欧珀移动通信有限公司 | Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal |
| CN104638732A (en) * | 2015-03-03 | 2015-05-20 | 上海创远仪器技术股份有限公司 | System with external equipment accessing and battery charging management functions, and method thereof |
| TW201525702A (en) * | 2013-12-19 | 2015-07-01 | 湯姆生特許公司 | Method for charging first electronic device using second electronic device with USB connection and device for device USB device |
| CN104778140A (en) * | 2014-01-15 | 2015-07-15 | 深圳市可橙科技有限公司 | USB (Universal Serial Bus) automatic identification and conduction system of star-shaped framework and method thereof |
-
2015
- 2015-07-16 CN CN201510419355.9A patent/CN104978300B/en not_active Expired - Fee Related
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1402495A (en) * | 2001-08-10 | 2003-03-12 | 精工爱普生株式会社 | Power supply control circuit, electronic apparatus and charging method thereof |
| CN101097536A (en) * | 2006-06-30 | 2008-01-02 | 佛山市顺德区顺达电脑厂有限公司 | Operation mode judging system and method thereof |
| US20080265838A1 (en) * | 2007-04-24 | 2008-10-30 | Saurabh Garg | Battery charging using a USB-ID pin of a USB interface |
| CN101415043A (en) * | 2007-10-15 | 2009-04-22 | 三星电子株式会社 | Mobile terminal aware of externally connected device and control method for the same |
| CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | A method and device for realizing USB OTG function on electronic equipment |
| CN103186483A (en) * | 2011-12-27 | 2013-07-03 | 比亚迪股份有限公司 | Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same |
| CN203312846U (en) * | 2013-05-16 | 2013-11-27 | 方洪福 | A multifunctional mobile power supply |
| TW201525702A (en) * | 2013-12-19 | 2015-07-01 | 湯姆生特許公司 | Method for charging first electronic device using second electronic device with USB connection and device for device USB device |
| CN103744821A (en) * | 2014-01-10 | 2014-04-23 | 广东欧珀移动通信有限公司 | Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal |
| CN104778140A (en) * | 2014-01-15 | 2015-07-15 | 深圳市可橙科技有限公司 | USB (Universal Serial Bus) automatic identification and conduction system of star-shaped framework and method thereof |
| CN104638732A (en) * | 2015-03-03 | 2015-05-20 | 上海创远仪器技术股份有限公司 | System with external equipment accessing and battery charging management functions, and method thereof |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106940670A (en) * | 2016-01-05 | 2017-07-11 | 中兴通讯股份有限公司 | Access state checking method, device and terminal |
| CN105573946A (en) * | 2016-03-01 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device for multiplexing universal serial bus interface |
| CN105573946B (en) * | 2016-03-01 | 2019-03-01 | Oppo广东移动通信有限公司 | Method and device for multiplexing universal serial bus interface |
| CN108780345A (en) * | 2016-03-09 | 2018-11-09 | 雷蛇(亚太)私人有限公司 | Computing device, power supply device, the method for controlling computing device and the method for controlling power supply device |
| CN106412245A (en) * | 2016-09-06 | 2017-02-15 | 青岛海信移动通信技术股份有限公司 | Waterproof method for USB interface and mobile terminal |
| CN106532383A (en) * | 2016-10-31 | 2017-03-22 | 深圳市金立通信设备有限公司 | Compatible design method and circuit |
| CN106597143A (en) * | 2016-11-10 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Test device and test method |
| CN106597143B (en) * | 2016-11-10 | 2022-01-14 | 青岛海信移动通信技术股份有限公司 | Test equipment and test method |
| CN106786876B (en) * | 2016-12-20 | 2019-08-02 | 宇龙计算机通信科技(深圳)有限公司 | A terminal fast charging protection circuit, a terminal and a terminal fast charging protection system |
| CN106786876A (en) * | 2016-12-20 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | A kind of terminal is filled protection circuit, terminal and terminal and fills protection system soon soon |
| CN106786960A (en) * | 2017-01-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | Charge control method, device and terminal |
| CN106786960B (en) * | 2017-01-13 | 2019-10-25 | Oppo广东移动通信有限公司 | Charging control method, device and terminal |
| CN106844265B (en) * | 2017-02-06 | 2018-10-19 | 维沃移动通信有限公司 | A kind of control method and mobile terminal of general-purpose serial bus USB interface |
| CN106844265A (en) * | 2017-02-06 | 2017-06-13 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of general-purpose serial bus USB interface |
| CN108874708A (en) * | 2018-06-28 | 2018-11-23 | 努比亚技术有限公司 | OTG equipment, terminal charging method, mobile terminal and computer readable storage medium |
| CN115017073A (en) * | 2021-03-05 | 2022-09-06 | 龙芯中科技术股份有限公司 | Communication controller enabling method and device, electronic equipment and storage medium |
| CN115017073B (en) * | 2021-03-05 | 2023-08-29 | 龙芯中科技术股份有限公司 | Enabling method and device of communication controller, electronic equipment and storage medium |
| CN113672438A (en) * | 2021-08-23 | 2021-11-19 | 紫光展讯通信(惠州)有限公司 | Method, device, communication system and storage medium for maintaining USB connection |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104978300B (en) | 2019-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104978300A (en) | Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment | |
| CN104951034B (en) | Mobile terminal and USB interface state control method and device thereof | |
| US10910853B2 (en) | Quick charging method, power adapter and mobile terminal | |
| US9128691B2 (en) | Method and terminal for selecting internal circuit according to USB interface status | |
| JP6391700B2 (en) | Method for processing impedance abnormality of power adapter, terminal and charging circuit | |
| US10720778B2 (en) | Method for identifying type of cable, power adapter and cable | |
| CN106165236A (en) | Handling methods for terminal, power adapter and charging abnormalities | |
| CN105182154A (en) | Universal serial bus interface detection circuit and method | |
| CN104701937B (en) | charging method, terminal device and adapter | |
| CN106374581A (en) | Voltage output method for charger and charger | |
| CN103730933A (en) | Charging method and electronic devices | |
| CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
| CN108054794A (en) | A charging and discharging method, device, terminal and storage medium for an intelligent terminal | |
| CN104865477A (en) | A power adapter detection method and a power adapter detection device | |
| CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
| CN109254210B (en) | Electronic equipment port type detection method and device, detection circuit and electronic equipment | |
| CN105490334A (en) | Charging system and method for portable electronic devices | |
| CN106164686B (en) | A Terminal Leakage Current Detection System | |
| CN104617643B (en) | Charging method, charging equipment, power supply unit and charging system | |
| CN104578276A (en) | Charging method, USB (universal serial bus) transmission line and power supply equipment | |
| CN106233568B (en) | Method and device for self-loop detection of charging equipment | |
| CN104931847B (en) | It is a kind of judge NFC antenna whether the terminal and method of loose contact | |
| CN107608923A (en) | Test processing methods and related products | |
| CN108649654A (en) | A charging method, device and terminal equipment | |
| CN107465236A (en) | The determination methods of charger type, judge system and user terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190412 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |