CN105048199A - Detection system for on-off of connector and detection method thereof - Google Patents

Detection system for on-off of connector and detection method thereof Download PDF

Info

Publication number
CN105048199A
CN105048199A CN201510336639.1A CN201510336639A CN105048199A CN 105048199 A CN105048199 A CN 105048199A CN 201510336639 A CN201510336639 A CN 201510336639A CN 105048199 A CN105048199 A CN 105048199A
Authority
CN
China
Prior art keywords
connector
detection
gpio mouth
output state
make
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
Application number
CN201510336639.1A
Other languages
Chinese (zh)
Other versions
CN105048199B (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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a detection system for the on-off of a connector and a detection method thereof, and relates to the technical field of automation detection. The detection system comprises detection terminals reserved by a female seat/male seat of the connector, grounding terminals arranged on the male seat/female seat corresponding to the positions of the detection terminals, GPIO ports connected with the detection terminals in a corresponding manner, detection modules connected with the GPIO ports in a corresponding manner, a determination module connected with the detection modules, and a control module connected with the determination module, wherein the detection modules are used for reading the output states of the GPIO ports, the determination module is used for determining whether the connector is normally connected according to the output states, and the control module is used for disconnecting power supplies passing through the connector when the connector is abnormally connected. According to the detection system and the detection method, the problem that when the connector is abnormally connected, a circuit in a cellphone may have short circuit faults can be avoided.

Description

A kind of detection system of connector break-make and detection method thereof
Technical field
The invention belongs to test technique automatic field, particularly relate to a kind of detection system and detection method thereof of connector break-make.
Background technology
Mobile phone is a kind of communication equipment that the society scope of application is the widest, telephony feature that transmitter circuitry and antenna, receiver and voicefrequency circuit, frequency synthesizer of phase locking, power circuit and pressurizer, display part, keyboard and key circuit, Subscriber Management System and associated subscriber use (as the tinkle of bells and vibration, background light) circuit, even Internet switch system, MP3 player, GPS (global positioning system), bluetooth module etc. are included in mobile phone.But these different circuit part, form a practical complete communication system, the connector of electronic signal transmission hinge just must be used as they to be interknited together.The connector of interior of mobile phone is generally FPC (FlexiblePrintedCircuitboard in the market, flexible print wiring board) connector or board to board connector, these two kinds of connectors are by female seat and male seat composition, when using connector to connect two different circuit parts, need male seat and female seat to be separately fixed at two different circuit parts, then the stitch of male seat is inserted in female seat, to make to form electrical connection between two different circuit parts.But, due to the defect of connector self structure, connection between female seat and male seat is not tight, mobile phone slightly falls the electrical connection between female seat and male seat also can be caused to disconnect, now, because connector is packaged in interior of mobile phone, cause user cannot learn line fault in time, such connector can roll at interior of mobile phone, and the circuit of interior of mobile phone may be caused to occur short trouble.
Summary of the invention
The object of the present invention is to provide a kind of detection system and detection method thereof of connector break-make, when being intended to solve the above-mentioned electrical connection when connector disconnection, user cannot learn line fault in time, such connector can roll at interior of mobile phone, and the circuit of interior of mobile phone may be caused to occur the problem of short trouble.
The present invention realizes like this, a kind of detection system of connector break-make, comprise detection terminal reserved in the female seat/male seat of described connector, the earth terminal that position corresponding with described detection terminal in described male seat/female seat is arranged, the GPIO mouth, with the described GPIO mouth corresponding detection module, the judge module that with described detection module be connected and the control module that with described judge module be connected that are connected that are connected corresponding to described detection terminal, wherein:
Described detection module, for reading the output state of the GPIO mouth corresponding to described detection terminal;
Described judge module, for judging according to described output state whether described connector connects normally;
Described control module, for when the connection of described connector is abnormal, disconnects each road power supply by described connector.
In the detection system of connector break-make of the present invention, also comprise reminding module, for when the connection of described connector is abnormal, connector described in prompting user connects abnormal.
In the detection system of connector break-make of the present invention, the two ends of described female seat/male seat are reserved with a detection terminal respectively, in described male seat/female seat, the position corresponding with described detection terminal is provided with earth terminal, and two detection terminals have been connected respectively a GPIO mouth and the 2nd GPIO mouth.
In the detection system of connector break-make of the present invention, described output state comprises low level and high-impedance state, described judge module specifically for:
When the output state of a described GPIO mouth and described 2nd GPIO mouth is low level, be judged as that the connection of described connector is normal;
Have at least in the output state of a described GPIO mouth and described 2nd GPIO mouth one for high-impedance state time, be judged as that the connection of described connector is abnormal.
In the detection system of connector break-make of the present invention, described connector is FPC connector or the board to board connector of interior of mobile phone.
Another object of the present invention is to the detection method of the detection system that a kind of connector break-make is provided, comprising:
Read the output state of the GPIO mouth corresponding to detection terminal;
Judge whether described connector connects normally according to described output state;
When the connection of described connector is abnormal, disconnect each road power supply by described connector.
In the detection method of the detection system of connector break-make of the present invention, judge described connector also comprises after whether connecting normally described according to described output state:
When the connection of described connector is abnormal, connector described in prompting user connects abnormal.
In the detection method of the detection system of connector break-make of the present invention, the two ends of described female seat/male seat are reserved with a detection terminal respectively, in described male seat/female seat, the position corresponding with described detection terminal is provided with earth terminal, and two detection terminals have been connected respectively a GPIO mouth and the 2nd GPIO mouth.
In the detection method of the detection system of connector break-make of the present invention, described output state comprises low level and high-impedance state, describedly judges whether described connector connects according to described output state and normally specifically comprises:
When the output state of a described GPIO mouth and described 2nd GPIO mouth is low level, be judged as that the connection of described connector is normal;
Have at least in the output state of a described GPIO mouth and described 2nd GPIO mouth one for high-impedance state time, be judged as that the connection of described connector is abnormal.
In the detection method of the detection system of connector break-make of the present invention, described connector is FPC connector or the board to board connector of interior of mobile phone.
Detection method and the system of implementing the detection system of connector break-make provided by the invention have following beneficial effect:
The present invention owing to being reserved with detection terminal in female seat/male seat, position corresponding with detection terminal in male seat/female seat is provided with earth terminal, and the equal correspondence of each detection terminal is connected with a GPIO mouth, then read the output state of the GPIO mouth corresponding to detection terminal; Judge whether described connector connects normally according to described output state; When the connection of described connector is abnormal, disconnect each road power supply by described connector, thus when the electrical connection in connector between female seat and male seat can be avoided to disconnect, user cannot learn line fault in time, and the circuit of interior of mobile phone may be caused to occur the problem of short trouble.
Accompanying drawing explanation
Fig. 1 is the detection system application schematic diagram in a particular embodiment of connector break-make provided by the invention;
Fig. 2 is the structural representation of connector in a preferred embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of the detection method of the detection system of connector break-make provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the detection system application schematic diagram in a particular embodiment of the connector break-make provided.Illustrate only part related to the present invention for convenience of explanation.
Shown in Figure 1, in the present invention, connector 1 comprises the female seat 11 and male seat 12 that form electrical connection, described detection system comprises detection terminal 111 reserved in described female seat 11/ male seat 12, the earth terminal 112 that in described male seat 12/ female seat 11, the position corresponding with described detection terminal 111 is arranged, GPIO (the GeneralPurposeInputOutput that connect corresponding to described detection terminal 111, universal input/output) mouth 2, the detection module 3 that connect corresponding to described GPIO mouth 2, the judge module 4 be connected with described detection module 3 and the control module 5 be connected with described judge module 4, wherein:
Described detection module 3, for reading the output state of the GPIO mouth 2 corresponding to described detection terminal 111;
Described judge module 4, for judging according to described output state whether described connector 1 connects normally;
Described control module 5, for when the connection of described connector 1 is abnormal, disconnects each road power supply by described connector 1.
In embodiments of the present invention, position and the quantity of reserved in described female seat/male seat detection terminal 111 can freely be arranged.Shown in Figure 2, row are shown as a better realization, the two ends of described female seat 11/ male seat 12 are reserved with a detection terminal 111 respectively, in described male seat 12/ female seat 11, the position corresponding with described detection terminal 111 is provided with earth terminal 112, and two detection terminals 111 have been connected respectively a GPIO mouth 2 and the 2nd GPIO mouth 2.Further, described output state comprises low level and high-impedance state, described judge module 4 specifically for:
When the output state of a described GPIO mouth 2 and described 2nd GPIO mouth 2 is low level, be judged as that the connection of described connector 1 is normal;
Have at least in the output state of a described GPIO mouth 2 and described 2nd GPIO mouth 2 one for high-impedance state time, be judged as that the connection of described connector 1 is abnormal.
In embodiments of the present invention, when detecting the equal close contact of pin and grounding pin, the output state of the GPIO mouth 2 be connected with detection pin is low level, now, the output state of the GPIO mouth 2 that all detection modules 3 are read is 0, and the male seat 12 of connector 1 is connected with female seat 11 normally; When at least one electrical connection detected between pin and grounding pin disconnects, so this detection pin is in vacant state, the output state of the GPIO mouth 2 be connected with this detection pin is high-impedance state, the output state now having at least a detection module 3 to read GPIO mouth 2 is not 0, and the male seat 12 of connector 1 is connected exception with female seat 11.
Further, the detection system of described connector break-make, also comprises reminding module 6, and for when the connection of described connector is abnormal, connector described in prompting user connects abnormal.
In embodiments of the present invention, described connector 1 is FPC connector 1 or the board to board connector 1 of interior of mobile phone.Described reminding module 6 can be the display screen of mobile phone, the display screen that control module 5 controls mobile phone when described connector connects abnormal shows the information of described connector exception, this information comprises sign number and the connection status of described connection, such user can find out the position of the abnormal connector of interior of mobile phone connection fast according to the sign of described connector number, substantially increase maintenance efficiency.
First the detection system of the connector break-make that the embodiment of the present invention provides owing to reading the output state of the GPIO mouth corresponding to detection terminal, then judge whether described connector connects normally according to described output state, disconnect by connector Shang Ge road power supply when the connection of connector is abnormal, thus can avoid because connector causes the problem of interior of mobile phone short circuit rolling of interior of mobile phone, in addition, the embodiment of the present invention, due to when the connection of connector is abnormal, send described connector to user and connect abnormal information, described information comprises identification number and the connection status of connector, thus can position (same interior of mobile phone includes multiple connector) it fast when the connector of interior of mobile phone connects abnormal, and then can maintenance efficiency be improved.
Fig. 3 shows the specific implementation flow chart of the detection method of the detection system of connector 1 break-make provided by the invention.Shown in Figure 3, this detection method comprises:
In S301, read the output state of the GPIO mouth 2 corresponding to detection terminal 111.
In S302, judge whether described connector 1 connects normally according to described output state.
In S303, when described connector 1 connects abnormal, disconnect each road power supply by described connector 1.
Optionally, judge described connector also comprises after whether connecting normally described according to described output state:
When the connection of described connector is abnormal, connector described in prompting user connects abnormal.
Optionally, the two ends of described female seat 11/ male seat 12 are reserved with a detection terminal 111 respectively, in described male seat 12/ female seat 11, the position corresponding with described detection terminal 111 is provided with earth terminal 112, and two detection terminals 111 have been connected respectively a GPIO mouth 2 and the 2nd GPIO mouth 2.
Optionally, the output state of described GPIO mouth 2 comprises low level and high-impedance state, describedly judges whether described connector 1 connects according to described output state and normally specifically comprises:
When the output state of a described GPIO mouth 2 and described 2nd GPIO mouth 2 is low level, be judged as that the connection of described connector 1 is normal;
Have at least in the output state of a described GPIO mouth 2 and described 2nd GPIO mouth 2 one for high-impedance state time, be judged as that the connection of described connector 1 is abnormal.
Optionally, described connector 1 is FPC connector 1 or the board to board connector 1 of interior of mobile phone.
It should be noted that, each step in said method, due to present system embodiment based on same design, its technique effect brought is identical with present system embodiment, particular content see describing in present system embodiment, can repeat no more herein.
The detection method of the detection system of connector break-make provided by the invention, can avoid, because connector causes the problem of interior of mobile phone short circuit rolling of interior of mobile phone, in addition, can also improving maintenance efficiency equally.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the detection system of a connector break-make, it is characterized in that, comprise earth terminal, the GPIO mouth, with the described GPIO mouth corresponding detection module, the judge module that with described detection module be connected and the control module that with described judge module be connected that are connected that are connected corresponding to described detection terminal that in detection terminal reserved in the female seat/male seat of described connector, described male seat/female seat, the position corresponding with described detection terminal is arranged, wherein:
Described detection module, for reading the output state of the GPIO mouth corresponding to described detection terminal;
Described judge module, for judging according to described output state whether described connector connects normally;
Described control module, for when the connection of described connector is abnormal, disconnects each road power supply by described connector.
2. the detection system of connector break-make as claimed in claim 1, is characterized in that, also comprise reminding module, and for when the connection of described connector is abnormal, connector described in prompting user connects abnormal.
3. the detection system of connector break-make as claimed in claim 1, it is characterized in that, the two ends of described female seat/male seat are reserved with a detection terminal respectively, in described male seat/female seat, the position corresponding with described detection terminal is provided with earth terminal, and two detection terminals have been connected respectively a GPIO mouth and the 2nd GPIO mouth.
4. the detection system of connector break-make as claimed in claim 3, it is characterized in that, described output state comprises low level and high-impedance state, described judge module specifically for:
When the output state of a described GPIO mouth and described 2nd GPIO mouth is low level, be judged as that described connector connects normal;
Have at least in the output state of a described GPIO mouth and described 2nd GPIO mouth one for high-impedance state time, be judged as that described connector connects abnormal.
5. the detection system of connector break-make as claimed in claim 1, it is characterized in that, described connector is FPC connector or the board to board connector of interior of mobile phone.
6. a detection method for the detection system of connector break-make, is characterized in that, comprising:
Read the output state of the GPIO mouth corresponding to described detection terminal;
Judge whether described connector connects normally according to described output state;
When the connection of described connector is abnormal, disconnect each road power supply by described connector.
7. the detection method of connector break-make as claimed in claim 6, is characterized in that, judges described connector also comprises after whether connecting normally described according to described output state:
When the connection of described connector is abnormal, connector described in prompting user connects abnormal.
8. the detection method of the detection system of connector break-make as claimed in claim 6, it is characterized in that, the two ends of described female seat/male seat are reserved with a detection terminal respectively, in described male seat/female seat, the position corresponding with described detection terminal is provided with earth terminal, and two detection terminals have been connected respectively a GPIO mouth and the 2nd GPIO mouth.
9. the detection method of the detection system of connector break-make as claimed in claim 8, it is characterized in that, described output state comprises low level and high-impedance state, describedly judges whether described connector connects according to described output state and normally specifically comprises:
When the output state of a described GPIO mouth and described 2nd GPIO mouth is low level, be judged as that the connection of described connector is normal;
Have at least in the output state of a described GPIO mouth and described 2nd GPIO mouth one for high-impedance state time, be judged as that the connection of described connector is abnormal.
10. the detection method of the detection system of connector break-make as claimed in claim 6, it is characterized in that, described connector is FPC connector or the board to board connector of interior of mobile phone.
CN201510336639.1A 2015-06-17 2015-06-17 A kind of detecting system and its detection method of connector break-make Active 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 true CN105048199A (en) 2015-11-11
CN105048199B CN105048199B (en) 2018-03-30

Family

ID=54454539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510336639.1A Active 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)

Cited By (5)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040102868A1 (en) * 2002-11-21 2004-05-27 Thomas Linehan Connection error detection and response
CN101459305A (en) * 2007-12-14 2009-06-17 华硕电脑股份有限公司 Portable electronic device, electric power detecting joint and electric power detecting 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040102868A1 (en) * 2002-11-21 2004-05-27 Thomas Linehan Connection error detection and response
CN101459305A (en) * 2007-12-14 2009-06-17 华硕电脑股份有限公司 Portable electronic device, electric power detecting joint and electric power detecting 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106229767A (en) * 2016-08-31 2016-12-14 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN106229767B (en) * 2016-08-31 2018-09-04 北京握奇智能科技有限公司 A kind of adapter, card machine communication system and method
CN107918080A (en) * 2016-10-11 2018-04-17 大陆汽车电子(连云港)有限公司 Sensor connection state detection method, device and sensor
CN106654647A (en) * 2016-10-18 2017-05-10 深圳市华昌德电子有限公司 10PIN connector of a mobile phone and detection method
CN109739790A (en) * 2018-12-12 2019-05-10 珠海亿智电子科技有限公司 A kind of universal input/output interface module
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

Also Published As

Publication number Publication date
CN105048199B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN105048199A (en) Detection system for on-off of connector and detection method thereof
US7239892B2 (en) Alternating current power strip with network repeating and management
EP3139579B1 (en) Radio frequency test socket and radio frequency test cable
CN108804261B (en) Connector testing method and device
US9258024B2 (en) SIM card connector and mobile terminal
CN103344863B (en) The method of testing of mobile terminal and test system
CN202135267U (en) Television system possessing functions of error detection and report
CN107452305B (en) Current detection device, system and method for screen detection
CN1896755B (en) Display apparatus for detecting cable connection state
US9157953B2 (en) Test systems with cables that support multiple communications buses
CN102681807B (en) Electronic equipment and interface identification method
CN103178405A (en) Connecting device capable of detecting connecting states, electric connection assembly and electronic device
CN201839519U (en) Radio-frequency circuit board and terminal equipment
CN102682830A (en) Mobile terminal and write-protection method for memory card in mobile terminal
CN102984097B (en) For the transceiver self-diagnostic that electromagnetic interference in stationary channel reduces
CN103986615A (en) Testing method and device
US8320963B2 (en) Subscriber identity module card and terminal device having the same
CN106093672A (en) A kind of grafting situation sensors having supplementary contact and elastic contact
CN102654964B (en) The programmable gate array test plate of liquid crystal display and programmable gate array test system
CN106154071A (en) A kind of device and method detecting intelligent electric energy meter RS485 bus failure
CN106788565A (en) Communication terminal transmits anti-interference method with communication terminal signals
CN102693117B (en) Interface circuit and there is the electronic installation of interface circuit
CN215006660U (en) Vehicle-mounted subscriber identity module circuit
WO2021253805A1 (en) Detection assistance circuit, apparatus, motherboard, and terminal device
JP2006203295A (en) Radio equipment and radio master unit used for the same

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: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.