CN106299898A - A kind of interface protector and guard method - Google Patents
A kind of interface protector and guard method Download PDFInfo
- Publication number
- CN106299898A CN106299898A CN201510295468.2A CN201510295468A CN106299898A CN 106299898 A CN106299898 A CN 106299898A CN 201510295468 A CN201510295468 A CN 201510295468A CN 106299898 A CN106299898 A CN 106299898A
- Authority
- CN
- China
- Prior art keywords
- connection
- wire
- contact
- exposed contact
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000001012 protector Effects 0.000 title abstract 4
- 238000001514 detection method Methods 0.000 claims description 225
- 239000002184 metal Substances 0.000 claims description 136
- 238000010586 diagram Methods 0.000 description 11
- 238000013459 approach Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000005389 magnetism Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000009736 wetting Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a kind of interface protector; described interface protector is built in the first equipment; described interface protector includes detector unit and connects unit, and described connection unit is connected with expose contact, the internal circuit of described first equipment and the described detector unit of described first equipment respectively;Described detector unit, for when exposing contact described in external connection is close or connects, sending to described connection unit and connect signal;When external connection away from or disconnect described in expose contact time, to described connection unit send connect signal;Described external connection is data wire or the charging wire of described first equipment;Described connection unit, for when receiving the connection signal that described detector unit sends, make described in expose contact and connect with described internal circuit;When not receiving the connection signal that described detector unit sends, make described in expose contact and described internal circuit and disconnect.The invention also discloses a kind of interface protection method.
Description
Technical Field
The present invention relates to the field of interface technologies, and in particular, to an interface protection apparatus and a protection method.
Background
Wearable devices refer to portable devices that can be worn directly on the body or integrated into the clothing or accessories of a user, such as wrist-supported watch-like devices (including wrist watches, wristbands, and the like).
The current wearable equipment is limited by the size, and a contact type interface design is adopted, so that the interface is mainly used for charging the wearable equipment, communicating with a computer end to interact data, or updating firmware, downloading programs and the like when the equipment leaves a factory.
Referring to one of the schematic diagrams of the contact type wearable device shown in fig. 1, since the contacts of the wearable device are directly exposed on the surface of the device, the contacts are short-circuited by water splashing, wetting and the like, and thus the wearable device is damaged. To this end, a common protection or waterproof design is usually to add a rubber plug (see the second schematic diagram of the contact type wearable device shown in fig. 2), and when the wearable device is charged through the device contact or data is exchanged with the wearable device, the rubber plug does not block the device contact, and the device contact is blocked by the rubber plug under other circumstances, however, the design shown in fig. 2 may not only increase the production cost and the workload, but also cause the rubber plug to easily fall off due to tedious operations for plugging and unplugging the rubber plug and long-term use of the rubber plug to block the contact.
Disclosure of Invention
In view of the above, an embodiment of the present invention provides an interface protection apparatus and a protection method thereof, so as to achieve the purpose of preventing equipment from being damaged due to the conditions that exposed contacts of the equipment are wetted and water splashed without adding a rubber plug.
In order to achieve the above object, an embodiment of the present invention provides an interface protection device, where the interface protection device is built in a first device, the interface protection device includes a detection unit and a connection unit, and the connection unit is respectively connected to an exposed contact of the first device, an internal circuit of the first device, and the detection unit;
the detection unit is used for sending a connection signal to the connection unit when an external wire is close to or connected with the exposed contact; when the external wire is far away from or is disconnected with the exposed contact, a connection signal is not sent to the connection unit; the external connection line is a data line or a charging line of the first device;
the connecting unit is used for connecting the exposed contact with the internal circuit when receiving a connection signal sent by the detection unit; and when the connection signal sent by the detection unit is not received, the exposed contact is disconnected with the internal circuit.
Preferably, the detection unit is a magnetic switch, and the external wire is a magnetic contact type external wire;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the connecting unit; when the external wire is far away from or is disconnected with the exposed contact, the external wire is disconnected, and no electric signal is output to the connecting unit; the electrical signal is the turn-on signal;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a first contact connected with a ground wire, and the exposed contact is connected with a power line of the first equipment through a series resistor;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for detecting the state of the exposed contact when receiving the electric signal; when the exposed contact is detected to be at a low level, judging that the first contact is connected with the exposed contact, and sending a connection signal to the connection unit; when the high level on the exposed contact is detected, the first contact is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a second contact and a third contact which are mutually connected, and the exposed contact comprises a fourth contact connected with a power line of the first equipment through a series resistor and a fifth contact connected with a ground wire of the first equipment;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for detecting the state of the exposed contact when receiving the electric signal; when the fourth contact is detected to be at a low level, judging that the contact on the external wire is connected with the exposed contact, and sending a connection signal to the connection unit; when the fourth contact is detected to be at a high level, the contact on the external wire is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch, a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet, the magnetic switch and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; the external connection wire is a magnetic contact type external connection wire;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for not sending a connection signal to the connection unit when detecting that a signal wire connected with the metal elastic sheet in the first equipment is high in level and receives the electric signal, or when detecting that the signal wire connected with the metal elastic sheet in the first equipment is high in level and does not receive the electric signal, or when detecting that the signal wire connected with the metal elastic sheet in the first equipment is low in level and does not receive the electric signal; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is in a low level and receives the electric signal, sending a connection signal to the connection unit;
or,
the detection unit comprises a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment;
the detection module is used for not sending a connection signal to the connection unit when detecting that a signal wire connected with a metal elastic sheet in the first device is at a high level; and when detecting that the signal wire connected with the metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit.
Preferably, the connection unit is a switch integrated circuit or a switch circuit built up of discrete components and logic gates.
Preferably, the first device is a wearable device.
The embodiment of the invention also provides an interface protection method, which is applied to an interface protection device, wherein the interface protection device is arranged in the first equipment and comprises a detection unit and a connection unit, and the connection unit is respectively connected with the exposed contact of the first equipment, the internal circuit of the first equipment and the detection unit; the method comprises the following steps:
when an external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit; when the external wire is far away from or is disconnected with the exposed contact, the detection unit does not send a connection signal to the connection unit; the external connection line is a data line or a charging line of the first device;
when the connecting unit receives a connection signal sent by the detection unit, the connecting unit enables the exposed contact to be connected with the internal circuit; when the connection unit does not receive the connection signal sent by the detection unit, the connection unit enables the exposed contact to be disconnected with the internal circuit.
Preferably, the detection unit is a magnetic switch, and the external wire is a magnetic contact type external wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the connecting unit; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the connecting unit; the electrical signal is the turn-on signal;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a first contact connected with a ground wire, and the exposed contact is connected with a power line of the first equipment through a series resistor; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the exposed contact is detected to be at a low level, judging that the first contact is connected with the exposed contact, and sending a connection signal to the connection unit; when the high level on the exposed contact is detected, the first contact is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a second contact and a third contact which are mutually connected, and the exposed contact comprises a fourth contact connected with a power line of the first equipment through a series resistor and a fifth contact connected with a ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the fourth contact is detected to be at a low level, judging that the contact on the external wire is connected with the exposed contact, and sending a connection signal to the connection unit; when the fourth contact is detected to be at a high level, the contact on the external wire is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch, a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet, the magnetic switch and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; the external connection wire is a magnetic contact type external connection wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module detects that a signal wire connected with the metal elastic sheet in the first equipment is at a high level and receives the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at the high level and does not receive the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at a low level and does not receive the electric signal, the detection module does not send a connection signal to the connection unit; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is in a low level and receives the electric signal, sending a connection signal to the connection unit;
or,
the detection unit comprises a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the detection module detects that a signal wire connected with a metal elastic sheet in the first device is at a high level, a connection signal is not sent to the connection unit; and when detecting that the signal wire connected with the metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit.
Preferably, the connection unit is a switch integrated circuit or a switch circuit built up of discrete components and logic gates.
Preferably, the first device is a wearable device.
The interface protection device and the protection method provided by the embodiment of the invention have the advantages that the interface protection device is arranged between the exposed contact of the first equipment and the internal circuit of the first equipment, when the charging wire or the data wire is close to or connected with the exposed contact, the interface protection device can connect the exposed contact with the internal circuit so as to charge the first equipment or perform data interaction with the first equipment, and when the charging wire or the data wire is far away from or disconnected with the exposed contact, the interface protection device can disconnect the exposed contact with the internal circuit, so that the short circuit of a power supply on the first equipment due to the reasons that the exposed contact is splashed with water, drenched and the like can be avoided, the damage or the burnout of the first equipment can be further avoided, and the safe use of the first equipment can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art contact wearable device;
FIG. 2 is a second schematic diagram of a prior art contact wearable device;
FIG. 3 is a schematic diagram of an interface protection apparatus according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of an interface protection apparatus according to the second embodiment of the present invention;
FIG. 5 is a third schematic diagram of an interface protection apparatus according to a third embodiment of the present invention;
FIG. 6 is a fourth schematic diagram of an interface protection apparatus according to an embodiment of the present invention;
FIG. 7 is a fifth schematic view of an interface protection apparatus according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating an interface protection method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The interface protection device provided by the embodiment of the invention is used in first equipment, the first equipment is provided with a contact exposed on the surface of the first equipment, the first equipment is charged or performs data transmission by utilizing the exposed contact, namely, the charging wire of the first equipment is respectively connected with the exposed contact of the first equipment and a power supply to realize charging of the first equipment, and the data wire of the first equipment is respectively connected with the exposed contact of the first equipment and communication equipment (such as a computer and the like) to realize communication between the first equipment and the communication equipment. The first device may be any device that utilizes an exposed contact to perform charging or data transmission, and specifically, the first device is a wearable device, but is not limited to a wearable device.
The interface protection device provided by the embodiment of the invention is arranged between the exposed contact of the first equipment and the internal circuit of the first equipment, so that in practical use, the short circuit of a power supply on the first equipment due to the reason that the exposed contact is splashed, drenched and the like can be avoided, the first equipment is prevented from being damaged or burnt, and the safe use of the first equipment is ensured. The following specifically describes embodiments of the present invention.
Example one
Referring to fig. 3, which is one of schematic diagrams of an interface protection apparatus according to an embodiment of the present invention, the interface protection apparatus 3 is embedded in a first device, the interface protection apparatus 3 includes a detection unit 31 and a connection unit 32, and the connection unit 32 is connected to an exposed contact 2 of the first device, an internal circuit 4 of the first device, and the detection unit 31, respectively.
The detection unit 31 is used for sending a connection signal to the connection unit 32 when an external wire 1 approaches or is connected with the exposed contact 2; when the external wire 1 is far away from or opens the exposed contact 2, a connection signal is not sent to the connection unit 32; the external connection line 1 is a data line or a charging line of the first device.
The connecting unit 32 is used for connecting the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the detection unit 31; when the on signal sent by the detection unit 31 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the first embodiment of the present invention, when the external connection 1 is disconnected from the exposed contact 2 (i.e., when the first device is not charged or data transmission is not performed with the first device), or when the external connection 1 is not detected to be close to the exposed contact 2 (i.e., when the external connection 1 is far away from the exposed contact 2), the exposed contact 2 is separated from the internal circuit 4 by using the connection unit 32, so that when the device contact is exposed, it is ensured that the first device is not mistakenly short-circuited with the power supply of the first device due to factors such as splashing and wetting of the contact, and the first device is further prevented from being damaged. When the external wire 1 is connected to the exposed contact 2 (i.e. when the first device is charged or data transmission is performed with the first device), or when the external wire 1 is detected to be close to the exposed contact 2, the connecting unit 32 is used to connect the exposed contact 2 of the first device to the internal circuit 4, so as to ensure the subsequent function of charging the first device or performing data transmission with the first device.
Example two
Referring to the second schematic diagram of the interface protection apparatus shown in fig. 4, on the basis of the first embodiment, the detecting unit 31 may be specifically a magnetic switch 311, and the external connection 1 is a magnetic contact type external connection.
The magnetic switch 311 is configured to be closed when the external wire 1 approaches or is connected to the exposed contact 2, and output an electrical signal to the connection unit 32; when the external wire 1 is far away from or opens the exposed contact 2, the external wire is disconnected, and no electric signal is output to the connecting unit 32; the electrical signal is the turn-on signal.
The connecting unit 32 is configured to connect the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the magnetic switch 311; when the on signal sent by the magnetic switch 311 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the second embodiment of the present invention, it is assumed that the first device is a wearable device. Generally, the external connection wire 1 of the wearable device contains magnetism, and when the external connection wire 1 contacts the wearable device, the external connection wire can be stably adsorbed on the wearable device so as to ensure the integrity of charging or data interaction.
In the second embodiment of the present invention, the interface protection device 3 includes two parts, a magnetic switch 311 and a connection unit 32. The magnetic switch 311 is used for switching on the connection unit 32 when the external wire 1 approaches or contacts the wearable device, and when the external wire 1 is close to or connected with the wearable device, the magnetic switch 311 is closed and outputs an electrical signal to open the connection unit 32, so that the pin on the exposed contact 2 of the wearable device can be connected to the internal circuit 4 of the wearable device. Otherwise, the magnetic switch 311 is turned off, so that the signal output by the magnetic switch 311 in the off state turns off the connection unit 32, so that the pin on the exposed contact 2 of the wearable device is isolated from the internal circuit 4 of the wearable device. The connection unit 32 is used for realizing short circuit or open circuit between the pin on the exposed contact 2 of the wearable device and the internal circuit 4 of the wearable device, and the state of the short circuit or open circuit depends on the closing or opening of the magnetic switch 311. It can be seen that the exposed contacts of the wearable device communicate with the internal circuitry of the wearable device only when the dedicated magnetic charging wire or magnetic data wire is near or in contact with the exposed contacts of the wearable device.
When a magnetic object approaches or is connected with the interface protection device 3, the magnetic switch in the interface protection device 3 is closed, and some simple requirements are usually met by the above design, however, in some strict requirements, a detection module for detecting whether the magnetic contact type external wires and the exposed contacts are actually connected is also required to be added. See, in particular, examples three through five.
EXAMPLE III
Referring to the third schematic diagram of the interface protection apparatus shown in fig. 5, on the basis of the first embodiment, the detection unit 31 includes a magnetic switch 312 and a detection module 313, the detection module 313 is respectively connected to the exposed contact 2, the magnetic switch 312 and the connection unit 32, the external connection 1 is a magnetic contact type external connection, the external connection 1 includes a first contact connected to a ground line, and the exposed contact 2 is connected to a power line of the first device through a series resistor.
The magnetic switch 312 is configured to be closed when the external connection line 1 approaches or is connected to the exposed contact 2, and output an electrical signal to the detection module 313; when the external connection wire 1 is far away from or opens the exposed contact 2, the external connection wire is opened, and no electric signal is output to the detection module 313;
the detection module 313 is used for detecting the state of the exposed contact 2 when receiving the electric signal; when detecting that the exposed contact 2 is at a low level, determining that the first contact is connected with the exposed contact 2, and sending a connection signal to the connection unit 32; when detecting that the exposed contact 2 is at a high level, determining that the first contact is disconnected from the exposed contact 2, and not sending a connection signal to the connection unit 32;
the connection unit 32 is configured to connect the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the detection module 313; when the connection signal sent by the detection module 313 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the third embodiment of the present invention, it is assumed that the first device is a wearable device. The external line 1 is provided with a contact A (the first contact) for short-circuiting a signal to ground, and the exposed contact 2 comprises a contact A1, and the contact A1 is connected to a power supply of the wearable device through a series resistor. When the external wire 1 approaches or contacts the wearable device, the magnetic switch 312 is closed and sends an electrical signal to the detection module 313, and the detection module 313 detects the state of the contact a1 after receiving the electrical signal. If the signal on the contact a1 is at a high level, it indicates that the external connection 1 is not physically connected to the wearable device, and only indicates that a magnetic substance is approaching, at this time, the detection module 313 does not send a connection signal to the connection unit 32, and at this time, the connection unit 32 disconnects the exposed contact 2 from the internal circuit 4 of the wearable device; if the signal at the contact a1 is low, indicating that the external wire 1 is physically connected to the wearable device, the detection module 313 sends a communication signal to the connection unit 32, and the connection unit 32 connects the exposed contact 2 to the internal circuit 4 of the wearable device.
Example four
Referring to fig. 5, in a third schematic view of the interface protection apparatus, on the basis of the first embodiment, the detection unit 31 includes a magnetic switch 312 and a detection module 313, the detection module 313 is respectively connected to the exposed contact 2, the magnetic switch 312 and the connection unit 32, the external connection 1 is a magnetic contact type external connection, the external connection 1 includes a second contact and a third contact which are connected to each other, and the exposed contact 2 includes a fourth contact connected to the power line of the first device through a series resistor and a fifth contact connected to the ground line of the first device.
The magnetic switch 312 is configured to be closed when the external connection line 1 approaches or is connected to the exposed contact 2, and output an electrical signal to the detection module 313; when the external connection wire 1 is far away from or opens the exposed contact 2, the external connection wire is opened, and no electric signal is output to the detection module 313;
the detection module 313 is used for detecting the state of the exposed contact when receiving the electric signal; when detecting that the fourth contact is at a low level, determining that the contact on the external wire 1 is connected with the exposed contact 2, and sending a connection signal to the connection unit 32; when detecting that the fourth contact is at a high level, the contact on the external wire 1 is determined to be disconnected from the exposed contact 2, and no connection signal is sent to the connection unit 32.
The connection unit 32 is configured to connect the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the detection module 313; when the connection signal sent by the detection module 313 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the fourth embodiment of the present invention, it is assumed that the first device is a wearable device. There are two contacts on the external connection 1, be contact A (the second contact) and contact B (the third contact) respectively, contact A and contact B short circuit, expose contact 2 and include two contacts, be contact A1 (the fourth contact) and contact B1 (the fifth contact) respectively, contact A1 and contact B1 open a way, and A1 pulls up the power on the wearable equipment through series resistance, and B1 shorts out the ground signal on the wearable equipment. When the external wire 1 approaches or contacts the wearable device, the magnetic switch 312 is closed and sends an electrical signal to the detection module 313, and the detection module 313 detects the state of the contact a1 after receiving the electrical signal. If the signal on the contact a1 is at a high level, it indicates that the external connection 1 is not physically connected to the wearable device, and only indicates that a magnetic substance is approaching, at this time, the detection module 313 does not send a connection signal to the connection unit 32, and at this time, the connection unit 32 disconnects the exposed contact 2 from the internal circuit 4 of the wearable device; if the signal at the contact a1 is low, indicating that the external wire 1 is physically connected to the wearable device, the detection module 313 sends a communication signal to the connection unit 32, and the connection unit 32 connects the exposed contact 2 to the internal circuit 4 of the wearable device.
EXAMPLE five
Referring to fig. 6, based on the first embodiment, the detecting unit 31 includes a magnetic switch 315, a metal spring 314 and a detecting module 316, the metal spring 314 is respectively connected to the exposed contact 2 and the detecting module 316, and the detecting module 316 is respectively connected to the metal spring 314, the magnetic switch 315 and the connecting unit 32; when the exposed contact 2 is disconnected from the external connection 1, the metal elastic piece 314 is bounced, and the bounced metal elastic piece 314 is connected with a power line of the first device through a series resistor; when the exposed contact 2 is connected with the external connection line 1, the metal elastic sheet is pressed, and the pressed metal elastic sheet 314 is connected with the ground wire of the first device; the external connection wire is a magnetic contact type external connection wire.
The magnetic switch 314 is used for being closed when the external wire 1 approaches or is connected with the exposed contact 2, and outputting an electric signal to the detection module 316; when the external wire 1 is far away from or opens the exposed contact 2, the external wire is opened, and no electric signal is output to the detection module 316;
the detection module 316 is configured to not send a connection signal to the connection unit 32 when detecting that a signal line connected to the metal dome in the first device is at a high level and receives the electrical signal, or when detecting that a signal line connected to the metal dome in the first device is at a high level and does not receive the electrical signal, or when detecting that a signal line connected to the metal dome in the first device is at a low level and does not receive the electrical signal; when detecting that a signal line connected with the metal elastic sheet in the first device is at a low level and receives the electric signal, sending a connection signal to the connection unit 32;
the connection unit 32 is configured to connect the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the detection module 313; when the connection signal sent by the detection module 313 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the fifth embodiment of the present invention, it is assumed that the first device is a wearable device. The detecting unit 31 includes a mechanical metal spring 314, when the external connection line 1 is not physically connected to the wearable device, the metal spring 314 is sprung, and the metal spring 314 is connected to a power signal of the wearable device through a series resistor. When the external connection wire 1 is physically connected to the wearable device, the metal dome 314 is pressed, and the metal dome 314 is shorted to the ground signal of the wearable device. Meanwhile, the metal dome is connected to the signal line S by default, when the metal dome 314 bounces, the signal line S is connected to the series resistor, and when the metal dome 314 is pressed, the signal line S is connected to a ground signal of the wearable device. The physical connection state between the external wire 1 and the wearable device is judged by detecting the states of the signal wire S and the magnetic switch. The following table specifically shows:
EXAMPLE six
Referring to fig. 7, based on the first embodiment, the detecting unit 31 includes a metal elastic sheet 317 and a detecting module 318, the metal elastic sheet 317 is connected to the exposed contact 2 and the detecting module 318, and the detecting module 318 is connected to the metal elastic sheet 317 and the connecting unit 32; when the exposed contact 2 is disconnected from the external connection 1, the metal elastic piece 314 is bounced, and the bounced metal elastic piece 314 is connected with a power line of the first device through a series resistor; when the exposed contact 2 is connected with the external connection 1, the metal elastic sheet is pressed, and the pressed metal elastic sheet 314 is connected with the ground wire of the first device.
The detection module 318 is configured to not send a connection signal to the connection unit when detecting that a signal line connected to a metal dome in the first device is at a high level; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit;
the connection unit 32 is configured to connect the exposed contact 2 with the internal circuit 4 when receiving a connection signal sent by the detection module 313; when the connection signal sent by the detection module 313 is not received, the exposed contact 2 is disconnected from the internal circuit 4.
In the sixth embodiment of the present invention, assuming that the first device is a wearable device, the external connection line 1 may not include magnetism. The detection unit 31 includes a mechanical metal spring 314, when the external connection 1 is not physically connected to the wearable device, the metal spring 314 is sprung, and the sprung metal spring 314 is connected to the power line of the first device through a series resistor; when the external connection wire 1 is physically connected to the wearable device, the metal dome 314 is pressed, and the metal dome 314 is shorted to the ground signal of the wearable device. Meanwhile, the metal elastic sheet is connected to the signal line P directly by default, when the metal elastic sheet 314 is bounced, the signal line P is connected to the series resistor, and when the metal elastic sheet 314 is pressed, the signal line P is connected to a ground signal of the wearable device. The physical connection state between the external wire 1 and the wearable device is judged by detecting the state of the signal wire P. The following table specifically shows:
in addition, in the first to sixth embodiments, the connection unit 32 is a switch integrated circuit or a switch circuit built by discrete components and logic gates.
The interface protection device provided by the embodiment of the invention is arranged between the exposed contact of the first equipment and the internal circuit of the first equipment, when the charging wire or the data wire is close to or connected with the exposed contact, the interface protection device can connect the exposed contact with the internal circuit so as to realize charging of the first equipment or data interaction with the first equipment, and when the charging wire or the data wire is far from or disconnected with the exposed contact, the interface protection device can disconnect the exposed contact with the internal circuit, so that the short circuit of a power supply on the first equipment due to the fact that the exposed contact is splashed with water, drenched and the like can be avoided, the damage or the burning of the first equipment can be further avoided, and the safe use of the first equipment can be ensured.
Referring to fig. 8, which is a schematic flow chart of an interface protection method according to an embodiment of the present invention, the method is applied to an interface protection device, the interface protection device is embedded in a first device, the interface protection device includes a detection unit and a connection unit, and the connection unit is respectively connected to an exposed contact of the first device, an internal circuit of the first device, and the detection unit; the method comprises the following steps:
step 801: when an external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit; when the external wire is far away from or is disconnected with the exposed contact, the detection unit does not send a connection signal to the connection unit; the external connection line is a data line or a charging line of the first device;
step 802: when the connecting unit receives a connection signal sent by the detection unit, the connecting unit enables the exposed contact to be connected with the internal circuit; when the connection unit does not receive the connection signal sent by the detection unit, the connection unit enables the exposed contact to be disconnected with the internal circuit.
Wherein,
the detection unit is a magnetic switch, and the external wire is a magnetic contact type external wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the connecting unit; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the connecting unit; the electrical signal is the turn-on signal;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a first contact connected with a ground wire, and the exposed contact is connected with a power line of the first equipment through a series resistor; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the exposed contact is detected to be at a low level, judging that the first contact is connected with the exposed contact, and sending a connection signal to the connection unit; when the high level on the exposed contact is detected, the first contact is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a second contact and a third contact which are mutually connected, and the exposed contact comprises a fourth contact connected with a power line of the first equipment through a series resistor and a fifth contact connected with a ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the fourth contact is detected to be at a low level, judging that the contact on the external wire is connected with the exposed contact, and sending a connection signal to the connection unit; when the fourth contact is detected to be at a high level, the contact on the external wire is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch, a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet, the magnetic switch and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; the external connection wire is a magnetic contact type external connection wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module detects that a signal wire connected with the metal elastic sheet in the first equipment is at a high level and receives the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at the high level and does not receive the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at a low level and does not receive the electric signal, the detection module does not send a connection signal to the connection unit; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is in a low level and receives the electric signal, sending a connection signal to the connection unit;
or,
the detection unit comprises a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the detection module detects that a signal wire connected with a metal elastic sheet in the first device is at a high level, a connection signal is not sent to the connection unit; and when detecting that the signal wire connected with the metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit.
The connection unit is a switch integrated circuit or a switch circuit built by discrete elements and logic gates.
Wherein the first device is a wearable device.
According to the interface protection method provided by the embodiment of the invention, the interface protection device is arranged between the exposed contact of the first equipment and the internal circuit of the first equipment, when the charging line or the data line is close to or connected with the exposed contact, the exposed contact and the internal circuit are connected by the interface protection device so as to realize charging of the first equipment or data interaction with the first equipment, and when the charging line or the data line is far from or disconnected with the exposed contact, the exposed contact and the internal circuit are disconnected by the interface protection device, so that the short circuit of a power supply on the first equipment due to the fact that the exposed contact is splashed with water, drenched and the like is avoided, the damage or the burnout of the first equipment is further avoided, and the safe use of the first equipment is ensured.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present invention.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The method disclosed by the embodiment corresponds to the device disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the device part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. An interface protection device is characterized in that the interface protection device is arranged in first equipment and comprises a detection unit and a connection unit, wherein the connection unit is respectively connected with an exposed contact of the first equipment, an internal circuit of the first equipment and the detection unit;
the detection unit is used for sending a connection signal to the connection unit when an external wire is close to or connected with the exposed contact; when the external wire is far away from or is disconnected with the exposed contact, a connection signal is not sent to the connection unit; the external connection line is a data line or a charging line of the first device;
the connecting unit is used for connecting the exposed contact with the internal circuit when receiving a connection signal sent by the detection unit; and when the connection signal sent by the detection unit is not received, the exposed contact is disconnected with the internal circuit.
2. Interface protection device according to claim 1,
the detection unit is a magnetic switch, and the external wire is a magnetic contact type external wire;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the connecting unit; when the external wire is far away from or is disconnected with the exposed contact, the external wire is disconnected, and no electric signal is output to the connecting unit; the electrical signal is the turn-on signal;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a first contact connected with a ground wire, and the exposed contact is connected with a power line of the first equipment through a series resistor;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for detecting the state of the exposed contact when receiving the electric signal; when the exposed contact is detected to be at a low level, judging that the first contact is connected with the exposed contact, and sending a connection signal to the connection unit; when the high level on the exposed contact is detected, the first contact is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a second contact and a third contact which are mutually connected, and the exposed contact comprises a fourth contact connected with a power line of the first equipment through a series resistor and a fifth contact connected with a ground wire of the first equipment;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for detecting the state of the exposed contact when receiving the electric signal; when the fourth contact is detected to be at a low level, judging that the contact on the external wire is connected with the exposed contact, and sending a connection signal to the connection unit; when the fourth contact is detected to be at a high level, the contact on the external wire is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch, a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet, the magnetic switch and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; the external connection wire is a magnetic contact type external connection wire;
the magnetic switch is closed when the external wire is close to or connected with the exposed contact, and outputs an electric signal to the detection module; when the external connection wire is far away from or is disconnected with the exposed contact, the external connection wire is disconnected, and no electric signal is output to the detection module;
the detection module is used for not sending a connection signal to the connection unit when detecting that a signal wire connected with the metal elastic sheet in the first equipment is high in level and receives the electric signal, or when detecting that the signal wire connected with the metal elastic sheet in the first equipment is high in level and does not receive the electric signal, or when detecting that the signal wire connected with the metal elastic sheet in the first equipment is low in level and does not receive the electric signal; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is in a low level and receives the electric signal, sending a connection signal to the connection unit;
or,
the detection unit comprises a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment;
the detection module is used for not sending a connection signal to the connection unit when detecting that a signal wire connected with a metal elastic sheet in the first device is at a high level; and when detecting that the signal wire connected with the metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit.
3. Interface protection device according to claim 1, characterized in that the connection unit is a switching integrated circuit or a switching circuit built from discrete components and logic gates.
4. The interface protection device of any one of claims 1 to 3, wherein the first device is a wearable device.
5. An interface protection method is characterized in that the method is applied to an interface protection device, the interface protection device is arranged in first equipment and comprises a detection unit and a connection unit, and the connection unit is respectively connected with an exposed contact of the first equipment, an internal circuit of the first equipment and the detection unit; the method comprises the following steps:
when an external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit; when the external wire is far away from or is disconnected with the exposed contact, the detection unit does not send a connection signal to the connection unit; the external connection line is a data line or a charging line of the first device;
when the connecting unit receives a connection signal sent by the detection unit, the connecting unit enables the exposed contact to be connected with the internal circuit; when the connection unit does not receive the connection signal sent by the detection unit, the connection unit enables the exposed contact to be disconnected with the internal circuit.
6. The interface protection method of claim 5,
the detection unit is a magnetic switch, and the external wire is a magnetic contact type external wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the connecting unit; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the connecting unit; the electrical signal is the turn-on signal;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a first contact connected with a ground wire, and the exposed contact is connected with a power line of the first equipment through a series resistor; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the exposed contact is detected to be at a low level, judging that the first contact is connected with the exposed contact, and sending a connection signal to the connection unit; when the high level on the exposed contact is detected, the first contact is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch and a detection module, the detection module is respectively connected with the exposed contact, the magnetic switch and the connection unit, the external connection is a magnetic contact type external connection, the external connection comprises a second contact and a third contact which are mutually connected, and the exposed contact comprises a fourth contact connected with a power line of the first equipment through a series resistor and a fifth contact connected with a ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module receives the electric signal, the state of the exposed contact is detected; when the fourth contact is detected to be at a low level, judging that the contact on the external wire is connected with the exposed contact, and sending a connection signal to the connection unit; when the fourth contact is detected to be at a high level, the contact on the external wire is judged to be disconnected with the exposed contact, and a connection signal is not sent to the connection unit;
or,
the detection unit comprises a magnetic switch, a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet, the magnetic switch and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; the external connection wire is a magnetic contact type external connection wire; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the external wire is close to or connected with the exposed contact, the magnetic switch is closed and outputs an electric signal to the detection module; when the external connecting wire is far away from or breaks the exposed contact, the magnetic switch is broken and does not output an electric signal to the detection module;
when the detection module detects that a signal wire connected with the metal elastic sheet in the first equipment is at a high level and receives the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at the high level and does not receive the electric signal, or detects that the signal wire connected with the metal elastic sheet in the first equipment is at a low level and does not receive the electric signal, the detection module does not send a connection signal to the connection unit; when detecting that a signal wire connected with a metal elastic sheet in the first equipment is in a low level and receives the electric signal, sending a connection signal to the connection unit;
or,
the detection unit comprises a metal elastic sheet and a detection module, the metal elastic sheet is respectively connected with the exposed contact and the detection module, and the detection module is respectively connected with the metal elastic sheet and the connection unit; when the exposed contact is disconnected with the external connection wire, the metal elastic sheet is bounced, and the bounced metal elastic sheet is connected with a power line of the first equipment through a series resistor; when the exposed contact is connected with the external connection wire, the metal elastic sheet is pressed, and the pressed metal elastic sheet is connected with the ground wire of the first equipment; when the external wire is close to or connected with the exposed contact, the detection unit sends a connection signal to the connection unit, and when the external wire is far away from or disconnected with the exposed contact, the detection unit does not send the connection signal to the connection unit, and the method comprises the following steps:
when the detection module detects that a signal wire connected with a metal elastic sheet in the first device is at a high level, a connection signal is not sent to the connection unit; and when detecting that the signal wire connected with the metal elastic sheet in the first equipment is at a low level, sending a connection signal to the connection unit.
7. Interface protection method according to claim 5, characterized in that the connection unit is a switching integrated circuit or a switching circuit built up from discrete components and logic gates.
8. Interface protection method according to any of claims 5 to 7, characterized in that said first device is a wearable device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510295468.2A CN106299898B (en) | 2015-06-02 | 2015-06-02 | A kind of interface protector and guard method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510295468.2A CN106299898B (en) | 2015-06-02 | 2015-06-02 | A kind of interface protector and guard method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106299898A true CN106299898A (en) | 2017-01-04 |
CN106299898B CN106299898B (en) | 2019-08-13 |
Family
ID=57656090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510295468.2A Active CN106299898B (en) | 2015-06-02 | 2015-06-02 | A kind of interface protector and guard method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106299898B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110928205A (en) * | 2019-12-05 | 2020-03-27 | 三一汽车制造有限公司 | Power control system, power control device and fire engine |
CN112965358A (en) * | 2019-11-28 | 2021-06-15 | Oppo广东移动通信有限公司 | Wearable device, control method, and computer-readable storage medium |
CN116054357A (en) * | 2023-03-30 | 2023-05-02 | 荣耀终端有限公司 | Charging protection circuit and system thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103594873A (en) * | 2012-08-17 | 2014-02-19 | 国基电子(上海)有限公司 | Plug detection circuit |
US20140064512A1 (en) * | 2012-08-29 | 2014-03-06 | Samsung Electronics Co., Ltd. | Earphone connection interface, terminal including the same, and method of operating terminal |
CN203607579U (en) * | 2013-12-11 | 2014-05-21 | 泰崴电子股份有限公司 | Butt-joint connector for magnetic electrical connection device |
CN203645722U (en) * | 2013-12-24 | 2014-06-11 | 广东欧珀移动通信有限公司 | Mobile terminal improving user experiences of data line insertion and extraction and system |
CN204696377U (en) * | 2015-06-02 | 2015-10-07 | 北京握奇智能科技有限公司 | A kind of interface protector |
-
2015
- 2015-06-02 CN CN201510295468.2A patent/CN106299898B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103594873A (en) * | 2012-08-17 | 2014-02-19 | 国基电子(上海)有限公司 | Plug detection circuit |
US20140064512A1 (en) * | 2012-08-29 | 2014-03-06 | Samsung Electronics Co., Ltd. | Earphone connection interface, terminal including the same, and method of operating terminal |
CN203607579U (en) * | 2013-12-11 | 2014-05-21 | 泰崴电子股份有限公司 | Butt-joint connector for magnetic electrical connection device |
CN203645722U (en) * | 2013-12-24 | 2014-06-11 | 广东欧珀移动通信有限公司 | Mobile terminal improving user experiences of data line insertion and extraction and system |
CN204696377U (en) * | 2015-06-02 | 2015-10-07 | 北京握奇智能科技有限公司 | A kind of interface protector |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112965358A (en) * | 2019-11-28 | 2021-06-15 | Oppo广东移动通信有限公司 | Wearable device, control method, and computer-readable storage medium |
CN110928205A (en) * | 2019-12-05 | 2020-03-27 | 三一汽车制造有限公司 | Power control system, power control device and fire engine |
CN110928205B (en) * | 2019-12-05 | 2021-05-07 | 三一汽车制造有限公司 | Power control system, power control device and fire engine |
CN116054357A (en) * | 2023-03-30 | 2023-05-02 | 荣耀终端有限公司 | Charging protection circuit and system thereof |
CN116054357B (en) * | 2023-03-30 | 2023-08-25 | 荣耀终端有限公司 | Charging protection circuit and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106299898B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12126124B2 (en) | Power connector using resistive sensing | |
DK3101756T3 (en) | CHARGING SYSTEM | |
CN104796839B (en) | For detecting the abnormal method of audio jack insertion | |
EP3343238B1 (en) | Short-circuit prevention detection device and user terminal | |
CN108370170B (en) | Short-circuit fault processing device and method | |
CN104808104A (en) | Interface plugging anomaly detection circuit and method | |
JP2013511953A5 (en) | ||
CN106654655B (en) | Socket and plug | |
CN110870161A (en) | Control system and method for electrical socket | |
CN106299898B (en) | A kind of interface protector and guard method | |
CN104078807A (en) | Data line with automatic power off function and power off control method thereof | |
WO2020088388A1 (en) | Charging control circuit, charging circuit and charging control method | |
JP6196300B2 (en) | Battery pack and portable electronic device | |
CN104617632A (en) | Charging device adapt to different electronic equipment, charging method thereof and electronic equipment | |
CN110707782B (en) | Charging control circuit, charging communication circuit, electronic device, and charging control method | |
CN204696377U (en) | A kind of interface protector | |
US20150325960A1 (en) | Universal serial bus interface and mobile device | |
CN204441950U (en) | Can the charging device of adaptive distinct electronic apparatuses and electronic equipment | |
CN208368902U (en) | Data line and data line identification system | |
CN107706977B (en) | Charging current detection method and charging device | |
KR20170027347A (en) | wireless charger | |
CN103227853B (en) | Mobile terminal with rear cover dropping reminding function and implementation method of mobile terminal | |
CN205901363U (en) | Apparatus for controlling charge | |
CN205901364U (en) | Apparatus for controlling charge | |
CN110972025A (en) | Earphone charging box and control system thereof |
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 |