[go: up one dir, main page]

CN105048199B - A kind of detecting system and its detection method of connector break-make - Google Patents

A kind of detecting system and its detection method of connector break-make Download PDF

Info

Publication number
CN105048199B
CN105048199B CN201510336639.1A CN201510336639A CN105048199B CN 105048199 B CN105048199 B CN 105048199B CN 201510336639 A CN201510336639 A CN 201510336639A CN 105048199 B CN105048199 B CN 105048199B
Authority
CN
China
Prior art keywords
connector
detection
gpio port
connection
output 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.)
Expired - Fee Related
Application number
CN201510336639.1A
Other languages
Chinese (zh)
Other versions
CN105048199A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510336639.1A priority Critical patent/CN105048199B/en
Publication of CN105048199A publication Critical patent/CN105048199A/en
Application granted granted Critical
Publication of CN105048199B publication Critical patent/CN105048199B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Telephone Set Structure (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

本发明提供一种连接器通断的检测系统及其检测方法,涉及自动化检测技术领域。该检测系统包括连接器的母座/公座预留的检测端子、公座/母座上与检测端子对应的位置处设置的接地端子、与检测端子对应连接的GPIO口、与GPIO口对应连接的检测模块、与检测模块连接的判断模块以及与判断模块连接的控制模块,其中:检测模块用于读取GPIO口的输出状态;判断模块用于根据输出状态判断连接器是否连接正常;控制模块用于当连接器连接异常时,断开通过连接器的各路电源。本发明能够避免连接器连接异常时,可能导致手机内部的电路出现短路故障的问题。

The invention provides a connector on-off detection system and a detection method thereof, which relate to the technical field of automatic detection. The detection system includes a detection terminal reserved for the female/male connector of the connector, a grounding terminal set on the male/female seat corresponding to the detection terminal, a GPIO port corresponding to the detection terminal, and a corresponding connection to the GPIO port. The detection module, the judgment module connected with the detection module and the control module connected with the judgment module, wherein: the detection module is used to read the output state of the GPIO port; the judgment module is used to judge whether the connector is connected normally according to the output state; the control module It is used to cut off the power supply passing through the connector when the connector connection is abnormal. The invention can avoid the problem that the circuit inside the mobile phone may be short-circuited when the connector is abnormally connected.

Description

一种连接器通断的检测系统及其检测方法A connector on-off detection system and detection method thereof

技术领域technical field

本发明属于自动化检测技术领域,尤其涉及一种连接器通断的检测系统及其检测方法。The invention belongs to the technical field of automatic detection, and in particular relates to a detection system and a detection method for the on-off of a connector.

背景技术Background technique

手机是当今社会使用范围最广的一种通信设备,手机中包含有发射机电路和天线、接收机和音频电路、锁相频率合成器、电源电路和稳压器、显示部份、键盘和按键电路、用户管理系统及有关用户使用的电话功能(如铃声和振动、背景灯)电路,甚至因特网接入系统、MP3播放器、GPS(全球定位系统)、蓝牙模块等。但是这些不同的电路部份,要组成一个实用的完整的通信系统,就必须使用作为电子信号传输枢纽的连接器将它们互相联系在一起。目前市场上手机内部的连接器一般为FPC(Flexible Printed Circuit board,挠性印刷电路板)连接器或板对板连接器,这两种连接器均由母座和公座组成,在使用连接器连接两个不同的电路部分时,需要将公座和母座分别固定在两个不同的电路部分,然后公座的针脚插入到母座中,以使两个不同的电路部分之间形成电气连接。但是,由于连接器自身结构的缺陷,母座和公座之间的连接并不紧密,手机轻微跌落也会导致母座和公座之间的电气连接断开,此时,由于连接器封装于手机内部,致使用户无法及时得知线路故障,这样连接器会在手机内部左右摇晃,可能导致手机内部的电路出现短路故障。The mobile phone is the most widely used communication device in today's society. The mobile phone includes a transmitter circuit and an antenna, a receiver and an audio circuit, a phase-locked frequency synthesizer, a power supply circuit and a voltage regulator, a display part, a keyboard and buttons Circuits, user management systems and related telephone functions used by users (such as ringtones and vibrations, background lights) circuits, and even Internet access systems, MP3 players, GPS (Global Positioning System), Bluetooth modules, etc. However, in order to form a practical and complete communication system for these different circuit parts, they must be connected with each other using connectors as the hub of electronic signal transmission. At present, the internal connectors of mobile phones on the market are generally FPC (Flexible Printed Circuit board, flexible printed circuit board) connectors or board-to-board connectors, both of which are composed of a female seat and a male seat. When connecting two different circuit parts, the male seat and the female seat need to be respectively fixed on the two different circuit parts, and then the pins of the male seat are inserted into the female seat to form an electrical connection between the two different circuit parts . However, due to the structural defects of the connector itself, the connection between the female seat and the male seat is not tight, and a slight drop of the mobile phone will also cause the electrical connection between the female seat and the male seat to be disconnected. At this time, because the connector is packaged in The inside of the mobile phone prevents the user from knowing the line failure in time, so the connector will shake left and right inside the mobile phone, which may cause a short circuit failure in the internal circuit of the mobile phone.

发明内容Contents of the invention

本发明的目的在于提供一种连接器通断的检测系统及其检测方法,旨在解决上述当连接器的电气连接断开时,用户无法及时得知线路故障,这样连接器会在手机内部左右摇晃,可能导致手机内部的电路出现短路故障的问题。The purpose of the present invention is to provide a detection system and detection method for connector on-off, aiming at solving the problem that when the electrical connection of the connector is disconnected, the user cannot know the line failure in time, so the connector will be left and right inside the mobile phone. Shaking may cause a short-circuit fault in the circuit inside the phone.

本发明是这样实现的,一种连接器通断的检测系统,包括所述连接器的母座/公座上预留的检测端子,所述公座/母座上与所述检测端子对应的位置处设置的接地端子、与所述检测端子对应连接的GPIO口、与所述GPIO口对应连接的检测模块、与所述检测模块连接的判断模块以及与所述判断模块连接的控制模块,其中:The present invention is achieved in this way, a detection system for connector on-off, including detection terminals reserved on the female seat/male seat of the connector, and detection terminals corresponding to the detection terminals on the male seat/female seat The ground terminal set at the position, the GPIO port correspondingly connected to the detection terminal, the detection module connected correspondingly to the GPIO port, the judgment module connected to the detection module and the control module connected to the judgment module, wherein :

所述检测模块,用于读取所述检测端子所对应的GPIO口的输出状态;The detection module is used to read the output state of the GPIO port corresponding to the detection terminal;

所述判断模块,用于根据所述输出状态判断所述连接器是否连接正常;The judging module is used to judge whether the connector is connected normally according to the output state;

所述控制模块,用于当所述连接器的连接异常时,断开通过所述连接器的各路电源。The control module is configured to cut off the power supplies passing through the connector when the connection of the connector is abnormal.

在本发明所述的连接器通断的检测系统中,还包括提示模块,用于当所述连接器的连接异常时,提示用户所述连接器连接异常。In the connector on-off detection system of the present invention, a prompting module is also included, configured to prompt the user that the connector is abnormally connected when the connector is abnormally connected.

在本发明所述的连接器通断的检测系统中,所述母座/公座的两端分别预留有一个检测端子,所述公座/母座上与所述检测端子对应的位置处设置有接地端子,且两个检测端子分别对应连接有第一GPIO口和第二GPIO口。In the on-off detection system of the connector according to the present invention, a detection terminal is respectively reserved at both ends of the female seat/male seat, and the position corresponding to the detection terminal on the male seat/female seat is A ground terminal is provided, and the two detection terminals are respectively connected to the first GPIO port and the second GPIO port.

在本发明所述的连接器通断的检测系统中,所述输出状态包括低电平和高阻态,所述判断模块具体用于:In the connector on-off detection system of the present invention, the output state includes low level and high impedance state, and the judgment module is specifically used for:

当所述第一GPIO口和所述第二GPIO口的输出状态均为低电平时,判断为所述连接器的连接正常;When the output states of the first GPIO port and the second GPIO port are both low level, it is judged that the connection of the connector is normal;

当所述第一GPIO口和所述第二GPIO口的输出状态中至少有一个为高阻态时,判断为所述连接器的连接异常。When at least one of the output states of the first GPIO port and the second GPIO port is in a high-impedance state, it is determined that the connection of the connector is abnormal.

在本发明所述的连接器通断的检测系统中,所述连接器为手机内部的FPC连接器或板对板连接器。In the on-off detection system of the connector according to the present invention, the connector is an FPC connector or a board-to-board connector inside the mobile phone.

本发明的另一目的在于提供一种连接器通断的检测系统的检测方法,包括:Another object of the present invention is to provide a detection method for a connector on-off detection system, including:

读取检测端子所对应的GPIO口的输出状态;Read the output status of the GPIO port corresponding to the detection terminal;

根据所述输出状态判断所述连接器是否连接正常;judging whether the connector is properly connected according to the output state;

当所述连接器的连接异常时,断开通过所述连接器的各路电源。When the connection of the connector is abnormal, all the power sources passing through the connector are disconnected.

在本发明所述的连接器通断的检测系统的检测方法中,在所述根据所述输出状态判断所述连接器是否连接正常之后还包括:In the detection method of the connector on-off detection system according to the present invention, after judging whether the connector is connected normally according to the output state, it also includes:

当所述连接器的连接异常时,提示用户所述连接器连接异常。When the connection of the connector is abnormal, the user is prompted that the connection of the connector is abnormal.

在本发明所述的连接器通断的检测系统的检测方法中,所述母座/公座的两端分别预留有一个检测端子,所述公座/母座上与所述检测端子对应的位置处设置有接地端子,且两个检测端子分别对应连接有第一GPIO口和第二GPIO口。In the detection method of the connector on-off detection system according to the present invention, a detection terminal is respectively reserved at both ends of the female seat/male seat, and the detection terminal corresponds to the detection terminal on the male seat/female seat. A grounding terminal is provided at the position of , and the two detection terminals are respectively connected to the first GPIO port and the second GPIO port.

在本发明所述的连接器通断的检测系统的检测方法中,所述输出状态包括低电平和高阻态,所述根据所述输出状态判断所述连接器是否连接正常具体包括:In the detection method of the connector on-off detection system according to the present invention, the output state includes low level and high impedance state, and the judging whether the connector is connected normally according to the output state specifically includes:

当所述第一GPIO口和所述第二GPIO口的输出状态均为低电平时,判断为所述连接器的连接正常;When the output states of the first GPIO port and the second GPIO port are both low level, it is judged that the connection of the connector is normal;

当所述第一GPIO口和所述第二GPIO口的输出状态中至少有一个为高阻态时,判断为所述连接器的连接异常。When at least one of the output states of the first GPIO port and the second GPIO port is in a high-impedance state, it is determined that the connection of the connector is abnormal.

在本发明所述的连接器通断的检测系统的检测方法中,所述连接器为手机内部的FPC连接器或板对板连接器。In the detection method of the connector on-off detection system according to the present invention, the connector is an FPC connector or a board-to-board connector inside the mobile phone.

实施本发明提供的连接器通断的检测系统的检测方法及系统具有以下有益效果:Implementing the detection method and system of the connector on-off detection system provided by the present invention has the following beneficial effects:

本发明由于在母座/公座上预留有检测端子,在公座/母座上与检测端子对应的位置处设置有接地端子,且每个检测端子均对应连接有一GPIO口,然后读取检测端子所对应的GPIO口的输出状态;根据所述输出状态判断所述连接器是否连接正常;当所述连接器的连接异常时,断开通过所述连接器的各路电源,从而能够避免连接器中母座和公座之间的电气连接断开时,用户无法及时得知线路故障,可能会导致手机内部的电路出现短路故障的问题。In the present invention, since detection terminals are reserved on the female seat/male seat, a grounding terminal is provided at the position corresponding to the detection terminal on the male seat/female seat, and each detection terminal is correspondingly connected to a GPIO port, and then read Detect the output state of the GPIO port corresponding to the terminal; judge whether the connector is connected normally according to the output state; When the electrical connection between the female seat and the male seat in the connector is disconnected, the user cannot know the line fault in time, which may cause a short circuit fault in the circuit inside the mobile phone.

附图说明Description of drawings

图1是本发明提供的连接器通断的检测系统在具体实施例中的应用示意图;Fig. 1 is a schematic diagram of the application of the connector on-off detection system provided by the present invention in a specific embodiment;

图2是本发明一较佳实施例中连接器的结构示意图;Fig. 2 is a schematic structural view of a connector in a preferred embodiment of the present invention;

图3是本发明提供的连接器通断的检测系统的检测方法的具体实现流程图。Fig. 3 is a specific implementation flow chart of the detection method of the connector on-off detection system provided by the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。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.

图1示出了提供的连接器通断的检测系统在具体实施例中的应用示意图。为了便于说明仅仅示出了与本发明相关的部分。Fig. 1 shows a schematic diagram of the application of the provided connector on-off detection system in a specific embodiment. For ease of illustration, only the parts relevant to the present invention are shown.

参见图1所示,本发明中连接器1包括形成电气连接的母座11和公座12,所述检测系统包括所述母座11/公座12上预留的检测端子111、所述公座12/母座11上与所述检测端子111对应的位置处设置的接地端子112、与所述检测端子111对应连接的GPIO(GeneralPurpose Input Output,通用输入/输出)口2、与所述GPIO口2对应连接的检测模块3、与所述检测模块3连接的判断模块4以及与所述判断模块4连接的控制模块5,其中:Referring to Fig. 1, the connector 1 in the present invention includes a female seat 11 and a male seat 12 that form an electrical connection, and the detection system includes a detection terminal 111 reserved on the female seat 11/male seat 12, the male seat 11, and the male seat 12. The ground terminal 112 provided at the position corresponding to the detection terminal 111 on the seat 12/female seat 11, the GPIO (General Purpose Input Output, general purpose input/output) port 2 connected to the detection terminal 111 correspondingly, and the GPIO Port 2 corresponds to the detection module 3 connected, the judgment module 4 connected to the detection module 3 and the control module 5 connected to the judgment module 4, wherein:

所述检测模块3,用于读取所述检测端子111所对应的GPIO口2的输出状态;The detection module 3 is configured to read the output state of the GPIO port 2 corresponding to the detection terminal 111;

所述判断模块4,用于根据所述输出状态判断所述连接器1是否连接正常;The judging module 4 is used to judge whether the connector 1 is connected normally according to the output state;

所述控制模块5,用于当所述连接器1的连接异常时,断开通过所述连接器1的各路电源。The control module 5 is configured to disconnect the power supplies passing through the connector 1 when the connection of the connector 1 is abnormal.

在本发明实施例中,所述母座/公座上预留的检测端子111的位置和数量是可以自由设置的。参见图2所示,作为一较佳实现示列,所述母座11/公座12的两端分别预留有一个检测端子111,所述公座12/母座11上与所述检测端子111对应的位置处设置有接地端子112,且两个检测端子111分别对应连接有第一GPIO口2和第二GPIO口2。进一步的,所述输出状态包括低电平和高阻态,所述判断模块4具体用于:In the embodiment of the present invention, the position and quantity of the detection terminals 111 reserved on the female socket/male socket can be freely set. Referring to Fig. 2, as an example of a better implementation, a detection terminal 111 is reserved at both ends of the female seat 11/male seat 12, and the detection terminal 111 is connected to the male seat 12/female seat 11. A ground terminal 112 is provided at a position corresponding to 111 , and the two detection terminals 111 are respectively connected to the first GPIO port 2 and the second GPIO port 2 . Further, the output state includes low level and high impedance state, and the judgment module 4 is specifically used for:

当所述第一GPIO口2和所述第二GPIO口2的输出状态均为低电平时,判断为所述连接器1的连接正常;When the output states of the first GPIO port 2 and the second GPIO port 2 are both low level, it is determined that the connection of the connector 1 is normal;

当所述第一GPIO口2和所述第二GPIO口2的输出状态中至少有一个为高阻态时,判断为所述连接器1的连接异常。When at least one of the output states of the first GPIO port 2 and the second GPIO port 2 is in a high-impedance state, it is determined that the connection of the connector 1 is abnormal.

在本发明实施例中,当检测引脚与接地引脚均紧密接触时,与检测引脚连接的GPIO口2的输出状态均为低电平,此时,所有检测模块3读到的GPIO口2的输出状态均为0,连接器1的公座12和母座11连接正常;当至少一个检测引脚与接地引脚之间的电气连接断开时,那么该检测引脚处于悬空状态,与该检测引脚连接的GPIO口2的输出状态为高阻态,此时至少有一个检测模块3读到GPIO口2的输出状态不为0,连接器1的公座12和母座11连接异常。In the embodiment of the present invention, when the detection pins are in close contact with the ground pins, the output states of the GPIO ports 2 connected to the detection pins are all low level. At this time, the GPIO ports read by all detection modules 3 The output states of 2 are all 0, and the connection between the male seat 12 and the female seat 11 of connector 1 is normal; when the electrical connection between at least one detection pin and the ground pin is disconnected, then the detection pin is in a floating state, The output state of the GPIO port 2 connected to the detection pin is a high-impedance state. At this time, at least one detection module 3 reads that the output state of the GPIO port 2 is not 0, and the male seat 12 of the connector 1 is connected to the female seat 11. abnormal.

进一步的,所述连接器通断的检测系统,还包括提示模块6,用于当所述连接器的连接异常时,提示用户所述连接器连接异常。Further, the connector on-off detection system further includes a prompt module 6, configured to prompt the user that the connector is abnormally connected when the connector is abnormally connected.

在本发明实施例中,所述连接器1为手机内部的FPC连接器1或板对板连接器1。所述提示模块6可以为手机的显示屏,当所述连接器连接异常时控制模块5控制手机的显示屏显示所述连接器异常的提示信息,该提示信息包括所述连接的标示号和连接状态,这样用户可以根据所述连接器的标示号快速找出手机内部连接异常的连接器的位置,大大提高了维修效率。In the embodiment of the present invention, the connector 1 is an FPC connector 1 or a board-to-board connector 1 inside the mobile phone. The prompt module 6 can be a display screen of a mobile phone. When the connector is abnormally connected, the control module 5 controls the display screen of the mobile phone to display a prompt message indicating that the connector is abnormal. status, so that the user can quickly find out the position of the abnormal connector inside the mobile phone according to the identification number of the connector, which greatly improves the maintenance efficiency.

本发明实施例提供的连接器通断的检测系统由于首先读取检测端子所对应的GPIO口的输出状态,然后根据所述输出状态判断所述连接器是否连接正常,当连接器的连接异常时断开通过连接器上的各路电源,从而可以避免由于连接器在手机内部的左右摇晃导致手机内部电路短路的问题,此外,本发明实施例,由于在连接器的连接异常时,向用户发送所述连接器连接异常的提示信息,所述提示信息中包括连接器的标识号以及连接状态,从而可以在手机内部的连接器连接异常时快速对其进行定位(同一手机内部包含有多个连接器),进而可以提高维修效率。The on-off detection system of the connector provided by the embodiment of the present invention first reads the output state of the GPIO port corresponding to the detection terminal, and then judges whether the connector is connected normally according to the output state. When the connection of the connector is abnormal Disconnect the various power sources passing through the connector, so as to avoid the short circuit of the internal circuit of the mobile phone caused by the left and right shaking of the connector inside the mobile phone. In addition, in the embodiment of the present invention, when the connection of the connector is abnormal, a message is sent to the user. The prompt information of the abnormal connection of the connector, the prompt information includes the identification number and the connection status of the connector, so that it can be quickly located when the connector inside the mobile phone is abnormally connected (the same mobile phone contains multiple connections) device), which in turn can improve maintenance efficiency.

图3示出了本发明提供的连接器1通断的检测系统的检测方法的具体实现流程图。参见图3所示,该检测方法包括:FIG. 3 shows a specific implementation flow chart of the detection method of the connector 1 on-off detection system provided by the present invention. Referring to Fig. 3, the detection method includes:

在S301中,读取检测端子111所对应的GPIO口2的输出状态。In S301, the output state of the GPIO port 2 corresponding to the detection terminal 111 is read.

在S302中,根据所述输出状态判断所述连接器1是否连接正常。In S302, it is judged according to the output status whether the connector 1 is connected normally.

在S303中,当所述连接器1连接异常时,断开通过所述连接器1的各路电源。In S303, when the connection of the connector 1 is abnormal, disconnect the power supplies passing through the connector 1 .

可选的,在所述根据所述输出状态判断所述连接器是否连接正常之后还包括:Optionally, after judging whether the connector is connected normally according to the output status, the method further includes:

当所述连接器的连接异常时,提示用户所述连接器连接异常。When the connection of the connector is abnormal, the user is prompted that the connection of the connector is abnormal.

可选的,所述母座11/公座12的两端分别预留有一个检测端子111,所述公座12/母座11上与所述检测端子111对应的位置处设置有接地端子112,且两个检测端子111分别对应连接有第一GPIO口2和第二GPIO口2。Optionally, a detection terminal 111 is reserved at both ends of the female seat 11/male seat 12, and a ground terminal 112 is provided at a position corresponding to the detection terminal 111 on the male seat 12/female seat 11 , and the two detection terminals 111 are connected to the first GPIO port 2 and the second GPIO port 2 respectively.

可选的,所述GPIO口2的输出状态包括低电平和高阻态,所述根据所述输出状态判断所述连接器1是否连接正常具体包括:Optionally, the output state of the GPIO port 2 includes low level and high impedance state, and the judging whether the connector 1 is connected normally according to the output state specifically includes:

当所述第一GPIO口2和所述第二GPIO口2的输出状态均为低电平时,判断为所述连接器1的连接正常;When the output states of the first GPIO port 2 and the second GPIO port 2 are both low level, it is determined that the connection of the connector 1 is normal;

当所述第一GPIO口2和所述第二GPIO口2的输出状态中至少有一个为高阻态时,判断为所述连接器1的连接异常。When at least one of the output states of the first GPIO port 2 and the second GPIO port 2 is in a high-impedance state, it is determined that the connection of the connector 1 is abnormal.

可选的,所述连接器1为手机内部的FPC连接器1或板对板连接器1。Optionally, the connector 1 is an FPC connector 1 or a board-to-board connector 1 inside the mobile phone.

需要说明的是,上述方法中的各个步骤,由于与本发明系统实施例基于同一构思,其带来的技术效果与本发明系统实施例相同,具体内容可参见本发明系统实施例中的叙述,此处不再赘述。It should be noted that, since each step in the above method is based on the same concept as the system embodiment of the present invention, the technical effect brought by it is the same as that of the system embodiment of the present invention. For details, please refer to the description in the system embodiment of the present invention. I won't repeat them here.

本发明提供的连接器通断的检测系统的检测方法,同样可以避免由于连接器在手机内部的左右摇晃导致手机内部电路短路的问题,此外,还可以提高维修效率。The detection method of the connector on-off detection system provided by the present invention can also avoid the short circuit of the internal circuit of the mobile phone caused by the left and right shaking of the connector inside the mobile phone, and can also improve the maintenance efficiency.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1.一种连接器通断的检测系统,用于检测连接器的连接是否存在异常,其特征在于,所述检测系统包括所述连接器的母座/公座上预留的检测端子、所述母座/公座上与所述检测端子对应的位置处设置的接地端子、与所述检测端子对应连接的GPIO口、与所述GPIO口对应连接的检测模块、与所述检测模块连接的判断模块以及与所述判断模块连接的控制模块,其中:1. A detection system for connector on-off, used to detect whether there is abnormality in the connection of the connector, it is characterized in that the detection system includes detection terminals reserved on the female seat/male seat of the connector, the The ground terminal set at the position corresponding to the detection terminal on the female seat/male seat, the GPIO port correspondingly connected to the detection terminal, the detection module connected correspondingly to the GPIO port, and the detection module connected A judging module and a control module connected to the judging module, wherein: 所述检测模块,用于读取所述检测端子所对应的GPIO口的输出状态;The detection module is used to read the output state of the GPIO port corresponding to the detection terminal; 所述判断模块,用于根据所述输出状态判断所述连接器是否连接正常;The judging module is used to judge whether the connector is connected normally according to the output state; 所述控制模块,用于当所述连接器的连接异常时,断开通过所述连接器的各路电源;The control module is configured to disconnect the power supplies passing through the connector when the connection of the connector is abnormal; 其中,所述输出状态包括低电平和高阻态;当所有的GPIO口的输出状态均为低电平时,检测读到GPIO口的输出状态均为0,判断为所述连接器的连接正常;当至少有一个GPIO口的输出状态为高阻态时,检测读到至少有一个GPIO口的输出状态不为0,判断所述连接器的连接异常。Wherein, the output state includes low level and high impedance state; when the output state of all GPIO ports is low level, the output state of the GPIO port is detected to be 0, and it is judged that the connection of the connector is normal; When the output state of at least one GPIO port is a high-impedance state, the detection reads that the output state of at least one GPIO port is not 0, and it is judged that the connection of the connector is abnormal. 2.如权利要求1所述的连接器通断的检测系统,其特征在于,还包括提示模块,用于当所述连接器的连接异常时,提示用户所述连接器连接异常。2 . The connector continuity detection system according to claim 1 , further comprising a prompting module, configured to prompt the user that the connector is abnormally connected when the connector is abnormally connected. 3 . 3.如权利要求1所述的连接器通断的检测系统,其特征在于,所述母座/公座的两端分别预留有一个检测端子,所述母座/公座上与所述检测端子对应的位置处设置有接地端子,且两个检测端子分别对应连接有第一GPIO口和第二GPIO口。3. The on-off detection system of the connector according to claim 1, wherein a detection terminal is reserved at both ends of the female seat/male seat respectively, and the said female seat/male seat is connected to the said A ground terminal is provided at a position corresponding to the detection terminal, and the two detection terminals are respectively connected to a first GPIO port and a second GPIO port. 4.如权利要求3所述的连接器通断的检测系统,其特征在于,所述判断模块具体用于:4. The detection system for connector on-off as claimed in claim 3, wherein the judging module is specifically used for: 当所述第一GPIO口和所述第二GPIO口的输出状态均为低电平时,判断为所述连接器连接正常;When the output states of the first GPIO port and the second GPIO port are both low level, it is judged that the connector is connected normally; 当所述第一GPIO口和所述第二GPIO口的输出状态中至少有一个为高阻态时,判断为所述连接器连接异常。When at least one of the output states of the first GPIO port and the second GPIO port is in a high-impedance state, it is determined that the connector is abnormally connected. 5.如权利要求1所述的连接器通断的检测系统,其特征在于,所述连接器为手机内部的FPC连接器或板对板连接器。5. The connector on-off detection system according to claim 1, wherein the connector is an FPC connector or a board-to-board connector inside the mobile phone. 6.一种用于权利要求1所述的连接器通断的检测系统的检测方法,用于检测所述连接器的连接是否存在异常,其特征在于,包括:6. A detection method for the connector on-off detection system according to claim 1, for detecting whether there is an abnormality in the connection of the connector, characterized in that it comprises: 读取所述检测端子所对应的GPIO口的输出状态;Read the output state of the GPIO port corresponding to the detection terminal; 根据所述输出状态判断所述连接器是否连接正常;judging whether the connector is properly connected according to the output state; 当所述连接器的连接异常时,断开通过所述连接器的各路电源。When the connection of the connector is abnormal, all the power sources passing through the connector are disconnected. 7.如权利要求6所述的连接器通断的检测系统的检测方法,其特征在于,在所述根据所述输出状态判断所述连接器是否连接正常之后还包括:7. The detection method of the connector on-off detection system as claimed in claim 6, characterized in that, after said judging whether said connector is connected normally according to said output state, further comprising: 当所述连接器的连接异常时,提示用户所述连接器连接异常。When the connection of the connector is abnormal, the user is prompted that the connection of the connector is abnormal. 8.如权利要求6所述的连接器通断的检测系统的检测方法,其特征在于,所述母座/公座的两端分别预留有一个检测端子,所述母座/公座上与所述检测端子对应的位置处设置有接地端子,且两个检测端子分别对应连接有第一GPIO口和第二GPIO口。8. The detection method of the connector on-off detection system according to claim 6, wherein a detection terminal is reserved at both ends of the female seat/male seat, and a detection terminal is reserved on the female seat/male seat. A ground terminal is provided at a position corresponding to the detection terminal, and the two detection terminals are respectively connected to a first GPIO port and a second GPIO port. 9.如权利要求8所述的连接器通断的检测系统的检测方法,其特征在于,所述根据所述输出状态判断所述连接器是否连接正常具体包括:9. The detection method of the connector on-off detection system as claimed in claim 8, wherein said judging whether said connector is connected normally according to said output state specifically comprises: 当所述第一GPIO口和所述第二GPIO口的输出状态均为低电平时,判断为所述连接器的连接正常;When the output states of the first GPIO port and the second GPIO port are both low level, it is judged that the connection of the connector is normal; 当所述第一GPIO口和所述第二GPIO口的输出状态中至少有一个为高阻态时,判断为所述连接器的连接异常。When at least one of the output states of the first GPIO port and the second GPIO port is in a high-impedance state, it is determined that the connection of the connector is abnormal. 10.如权利要求6所述的连接器通断的检测系统的检测方法,其特征在于,所述连接器为手机内部的FPC连接器或板对板连接器。10. The detection method of the connector on-off detection system according to claim 6, wherein the connector is an FPC connector or a board-to-board connector inside the mobile phone.
CN201510336639.1A 2015-06-17 2015-06-17 A kind of detecting system and its detection method of connector break-make Expired - Fee Related CN105048199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510336639.1A CN105048199B (en) 2015-06-17 2015-06-17 A kind of detecting system and its detection method of connector break-make

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510336639.1A CN105048199B (en) 2015-06-17 2015-06-17 A kind of detecting system and its detection method of connector break-make

Publications (2)

Publication Number Publication Date
CN105048199A CN105048199A (en) 2015-11-11
CN105048199B true CN105048199B (en) 2018-03-30

Family

ID=54454539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510336639.1A Expired - Fee Related CN105048199B (en) 2015-06-17 2015-06-17 A kind of detecting system and its detection method of connector break-make

Country Status (1)

Country Link
CN (1) CN105048199B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106229767B (en) * 2016-08-31 2018-09-04 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN107918080B (en) * 2016-10-11 2020-12-18 大陆汽车电子(连云港)有限公司 Sensor connection state detection method and device and sensor
CN106654647A (en) * 2016-10-18 2017-05-10 深圳市华昌德电子有限公司 10PIN connector of a mobile phone and detection method
CN109739790B (en) * 2018-12-12 2020-07-14 珠海亿智电子科技有限公司 General input/output interface module
CN113960502A (en) * 2021-09-15 2022-01-21 中国航空工业集团公司西安飞机设计研究所 State detection method for universal EWIS electric connector
CN115407748A (en) * 2022-07-27 2022-11-29 岚图汽车科技有限公司 Vehicle-mounted controller connection detection circuit, detection method and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459305A (en) * 2007-12-14 2009-06-17 华硕电脑股份有限公司 Portable electronic device, power detection connector and power detection method
CN103178405A (en) * 2011-12-21 2013-06-26 神讯电脑(昆山)有限公司 Connecting device capable of detecting connecting states, electric connection assembly and electronic device
CN103237189A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
CN203260867U (en) * 2013-04-19 2013-10-30 深圳市怡华兴电子有限公司 USB connection line with status display function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6813537B2 (en) * 2002-11-21 2004-11-02 D-M-E Company Connection error detection and response

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459305A (en) * 2007-12-14 2009-06-17 华硕电脑股份有限公司 Portable electronic device, power detection connector and power detection method
CN103178405A (en) * 2011-12-21 2013-06-26 神讯电脑(昆山)有限公司 Connecting device capable of detecting connecting states, electric connection assembly and electronic device
CN103237189A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
CN203260867U (en) * 2013-04-19 2013-10-30 深圳市怡华兴电子有限公司 USB connection line with status display function

Also Published As

Publication number Publication date
CN105048199A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105048199B (en) A kind of detecting system and its detection method of connector break-make
US7746090B1 (en) System for testing connections of two connectors
US9258024B2 (en) SIM card connector and mobile terminal
US20130335010A1 (en) Connector and control chip
CN107452305B (en) Current detection device, system and method for screen detection
CN106526403B (en) A terminal leakage current detection circuit, a terminal and a terminal leakage current detection system
CN108132408B (en) Detection circuit and electronic equipment
CN107209224A (en) A method, terminal and detection device for detecting the reliability of BTB fastening
CN108054541B (en) Switching device, multi-equipment detection system and detection method thereof
US20140344962A1 (en) Preventing water damage in portable devices
US20160146862A1 (en) DC Level Detection Circuit Between High Speed Signal Line Connecting Ports, A System Including the Circuit, and Methods of Making and Using the Same
US8320963B2 (en) Subscriber identity module card and terminal device having the same
CN103135028B (en) Antenna detection module and electronic device thereof
US9257737B2 (en) Antenna switching circuit and electronic device and antenna switching method thereof
US8780514B2 (en) Data cable and electronic device using same
CN109478174B (en) Switch for reversible interface
CN107706977A (en) Method for detecting charging current and charging device
WO2017070828A1 (en) Loudspeaker module, audio compensation method and device
US9501116B2 (en) Power integrated device and power control method thereof
CN102469190B (en) Based on complete machine debugging method and the device of mobile communication terminal
CN102012986A (en) Electronic device with interface protection function
US8806079B2 (en) Interface circuit and an electronic device including the same
CN111337841A (en) Mobile terminal and battery state detection system thereof
CN103259557A (en) Antenna switching circuit, electronic device of antenna switching circuit and antenna switching method of antenna switching circuit
TWI668937B (en) Smart charging apparatus

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
CP03 Change of name, title or address
CP03 Change of name, title or address

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 523841 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: 20180330