CN108415865A - Interface circuit and electronic device - Google Patents

Interface circuit and electronic device Download PDF

Info

Publication number
CN108415865A
CN108415865A CN201810107224.0A CN201810107224A CN108415865A CN 108415865 A CN108415865 A CN 108415865A CN 201810107224 A CN201810107224 A CN 201810107224A CN 108415865 A CN108415865 A CN 108415865A
Authority
CN
China
Prior art keywords
interface
detection pin
detection
pin
controller
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.)
Pending
Application number
CN201810107224.0A
Other languages
Chinese (zh)
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 CN201810107224.0A priority Critical patent/CN108415865A/en
Publication of CN108415865A publication Critical patent/CN108415865A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses a kind of interface circuit and electronic device, which includes interface and controller, wherein:Interface includes the first detection pin and the second detection pin, and controller includes the first output end, second output terminal;First detection pin connects the first output end, and the second detection pin connects second output terminal;Controller distinguishes output pulse signal by the first output end and second output terminal;Wherein, pulse signal is used to, when the first detection pin or the second detection pin and conducting liquid contact, inhibit the first detection pin or the second detection pin that electrochemical corrosion occurs with conducting liquid.The embodiment of the present application can detect pin in the first of interface or the second detection pin enters conducting liquid, inhibits interface that electrochemical corrosion occurs.

Description

Interface circuit and electronic device
Technical field
This application involves field of terminal technology, and in particular to a kind of interface circuit and electronic device.
Background technology
With the development of the electronic devices such as smart mobile phone, the hardware circuit design of electronic device also becomes increasingly complex.Electronics Device is generally equipped with universal serial bus (Universal Serial Bus, USB) interface, and USB interface is filled for electronics Set the connection and communication between external equipment.As one kind of USB interface, TYPE-C interfaces positive and negative can be plugged gradual with it As the mainstream of USB interface.Currently, the problem of electrochemical corrosion more serious, urgent need to resolve occurs for TYPE-C interfaces.
Invention content
The embodiment of the present application provides a kind of interface circuit and electronic device, can solve interface and electrochemical corrosion occurs The problem of.
The embodiment of the present application first aspect provides a kind of interface circuit, including interface and controller, wherein:
The interface includes the first detection pin and the second detection pin, and the controller includes the first output end, second Output end;
The first detection pin connects first output end, the second detection pin connection second output End;
The controller distinguishes output pulse signal by first output end and the second output terminal;Wherein, institute Pulse signal is stated for when the first detection pin or the second detection pin and the conducting liquid contact, inhibiting described the With the conducting liquid electrochemical corrosion occurs for one detection pin or the second detection pin.
The embodiment of the present application second aspect provides a kind of electronic device, including shell and the embodiment of the present application first aspect Interface circuit, opens up on the shell fluted, and the interface circuit includes interface and controller, and the interface is arranged described In groove.
The embodiment of the present application has the advantages that:
Controller exports the pulse signal of low duty ratio to the of interface respectively by the first output end and second output terminal One detection pin and the second detection pin;Since the duty of pulse signal is relatively low, the voltage effective value of the pulse signal is relatively low, The first detection pin or the second detection can be inhibited to draw when the first detection pin or the second detection pin and conducting liquid contact With conducting liquid electrochemical corrosion occurs for foot.When interface is not connect with external equipment, even if the first detection pin of interface Or second detection pin enter conducting liquid, electrochemical corrosion will not occur for interface.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of interface circuit disclosed in the embodiment of the present application;
Fig. 2 is a kind of position view of TYPE-C interfaces disclosed in the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of TYPE-C interfaces disclosed in the embodiment of the present application;
Fig. 4 is the structural schematic diagram of another interface circuit disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of electronic device disclosed in the embodiment of the present application.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and above-mentioned attached drawing etc. are for distinguishing Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as it contains process, system, product or the equipment of series of steps or unit and does not limit In the step of having listed or unit, but further include the steps that optionally do not list or unit, or further include optionally for Other intrinsic steps of these processes, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In addition, the electronic device involved by the embodiment of the present application may include various hand-held with wireless communication function Equipment, mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and it is each The user equipment (User Equipment, UE) of kind form, mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic device.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of interface circuit disclosed in the embodiment of the present application, as shown in Figure 1, The interface circuit includes interface 11 and controller 12, wherein:
Interface 11 include first detection pin 111 and second detect pin 112, controller 12 include the first output end 121, Second output terminal 122;
First detection pin 111 connects the first output end 121, and the second detection pin 112 connects second output terminal 122;
Controller 12 by the first output end 121 and second output terminal 122, draw respectively by output pulse signal to the first detection Foot 111 and second detects pin 112;Wherein, which is used to detect pin 112 when the first detection pin 111 or second When being contacted with conducting liquid, inhibit the first detection pin 111 or second detection pin 112 and conducting liquid generation electrochemistry rotten Erosion.
In the embodiment of the present application, electrochemical corrosion is exactly that metal and electrolyte form two electrodes, forms corrosion galvanic cell, Because the electrode potential of metal is always lower than the electrode potential of electrolyte, metal is cathode, and metal is aoxidized with electrolyte Reduction reaction, metal lose electronics and become metal oxide, cause to corrode to metal.Wherein, metal, electrolyte and current loop It is the necessary condition of electrochemical corrosion.
Interface circuit in the embodiment of the present application can be used for universal serial bus (Universal Serial Bus, USB) interface.Specifically, can be used for TYPE-C interfaces, TYPE-C interfaces are normally at the bottom of smart mobile phone, when most of Standby is in purposes such as charging, data transmissions.Referring to Fig. 2, Fig. 2 is a kind of position of TYPE-C interfaces disclosed in the embodiment of the present application Schematic diagram is set, as shown in Fig. 2, the interface 11 of TYPE-C interfaces is located at the bottom of smart mobile phone.Wherein, TYPE-C interfaces are supported outer Portion's equipment is just being inserted and anti-plug.
In the embodiment of the present application, interface 11 may include multiple pins.By taking TYPE-C interfaces as an example, it may include 24 and draw Foot.For example, referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of TYPE-C interfaces disclosed in the embodiment of the present application.Such as Fig. 3 It is shown, TYPE-C interfaces may include A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12 24 pins in total.Wherein, A1, A12, B1, B12 are grounding pin, for being grounded.A4、 A9, B4, B9 are power pins, for connecing power supply.A2, A3, A10, A11, B2, B3, B10, B11 are high speed transmission of signals pin, It is used for transmission high-speed data signal.A6, A7, B6, B7 are USB data transmission pin, are used for transmission differential data signals.A8、B8 For satellite interface, miscellaneous function is provided, in different application scenarios, A8, B8 there can be different purposes.
Wherein A5 is CC1 pins, and the first detection pin 111 in corresponding the embodiment of the present application, B5 is CC2 pins, corresponding The second detection pin 112 in the embodiment of the present application.Wherein, CC1 pins and CC2 pins are two key pins, for detecting Whether external equipment connection is had, and for confirming data transfer direction, and the plug for confirming the external equipment being inserted into It is that positive insertion or anti-plug enter.
Pin in interface generally uses metal material, and when pin enters conducting liquid, conducting liquid is equivalent to electrolysis Matter can accelerate the electrochemical corrosion of pin and conducting liquid if the effective voltage on pin reaches certain value.The application is real It applies in example, controller 12 exports the pulse signal of low duty ratio to respectively by the first output end 121 and second output terminal 122 One detection pin 111 and second detects pin 112, and the voltage effective value of the pulse signal of low duty ratio is less than 1V, due to first The voltage effective value for detecting the detection pin 112 of pin 111 and second is relatively low, when the first detection pin 111 or second detects pin 112 when entering conducting liquid, can inhibit the first detection pin 111 or second detection pin 112 and conducting liquid that electrification occurs Learn corrosion.When interface 11 is not connect with external equipment, even if the first detection pin 111 or second of interface 11 detects pin 112 enter conducting liquid, and electrochemical corrosion will not occur for interface 11.
In general, when the voltage effective value of pin is higher than 1 volt, pin can just be sent out with the conducting liquid for entering pin Raw faster electrochemical corrosion.When the voltage effective value of pin is special less than 1, pin is difficult to send out with the conducting liquid for entering pin Raw electrochemical corrosion.
For example, if the first output end 121 and second output terminal 122 are exported to the first detection pin 111 and second The duty ratio for detecting the pulse signal of the low duty ratio of pin 112 is one thousandth, and impulse amplitude is 3 volts, then the first detection The voltage effective value that pin 111 and second detects pin 112 is 3 millivolts.3 millivolts are much smaller than 0.1 volt, even if the first inspection It surveys pin 111 and second and detects pin 112 into conducting liquid, the first detection pin 111 and second detects pin 112 and enters The conducting liquid that first detection pin 111 and second detects pin 112 is also difficult to happen electrochemical corrosion.
Wherein, conducting liquid can be the liquid for including electrolyte, for example, mineral water, coffee, fruit drink, tea-drinking Material, soda etc..
In the embodiment of the present application, controller 12 may include processor and memory, which is the control of electronic equipment Center processed is stored in storage using the various pieces of various interfaces and the entire electronic equipment of connection by running or executing Software program in device and/or module, and call and be stored in data in memory, execute electronic equipment various functions and Data are handled, to carry out integral monitoring to electronic equipment.Optionally, processor can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor.
Wherein, memory can be used for storing software program and module, and processor is stored in the soft of memory by operation Part program and module, to execute various function application and the data processing of electronic equipment.Memory can include mainly depositing Store up program area and storage data field, wherein storing program area can storage program area, the application program needed at least one function Deng;Storage data field can be stored uses created data etc. according to electronic equipment.In addition, memory may include high speed with Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its His volatile solid-state part.
Optionally, as shown in figure 4, controller 12 further includes input terminal 123, interface circuit further includes identification circuit 13, is known Other circuit 13 includes the first test side 131, the second test side 132 and feedback end 133;
First detection pin 111 connects the first test side 131, and the second detection pin 112 connects the second test side 132, defeated Enter 123 connection feedback end 133 of end.Wherein, feedback end 133 is used for the connection status to 12 feedback interface 11 of controller.
In the embodiment of the present application, the first test side 131 can detect the voltage of the first detection pin 111, the second test side 132 can detect the voltage of the second detection pin 112.First test side 131 can also detect the first detection pin 111 and ground terminal Between electric current, the second test side 132 can also detect the electric current between the second detection pin 112 and ground terminal.
Wherein, identification circuit 13 is for detecting whether interface 11 connect with external equipment.
For example, when the voltage of the first test side 131 detection the first detection pin 111 is less than predetermined voltage threshold, Or second test side 132 detection second detection pin 112 voltage be less than predetermined voltage threshold when, identification circuit 13 determination connect Mouth 11 and external equipment successful connection.Wherein, when the size of predetermined voltage threshold is not connect with external equipment less than interface 11 One detection pin 111 or second detects the voltage effective value of pin 112.
When the electric current of the first test side 131 detection the first detection pin 111 is flown up and is higher than predetermined current threshold When or the second test side 132 detection second detection pin 112 electric current fly up and higher than predetermined current threshold when, Identification circuit 13 determines interface 11 and external equipment successful connection.
External equipment can be power supply adaptor, USB flash disk, mobile hard disk etc..
Wherein, external equipment may include CC1 pins and CC2 pins, and CC1 pins or CC2 pins are connect by detection resistance Ground.When external equipment and interface 11 are connected, the CC1 pins of external equipment and the CC1 pins of interface connect, external equipment CC2 pins and interface CC2 pins connect;Or the CC1 pins of external equipment and the CC2 pins of interface connect, outside is set The CC1 pins of standby CC2 pins and interface connect.The resistance value size of detection resistance can be set according to Data Transport Protocol It is fixed.Wherein, detection resistance can be pull-up resistor or pull down resistor, and detection resistance can be located on the plug of external equipment.
The size of predetermined current threshold can be set according to the resistance value of detection resistance.In general, detection resistance Resistance value is smaller, and predetermined current threshold can be arranged bigger.
Illustrate identification circuit 13 is how to detect whether interface 11 sets with outside by taking the plug of external equipment as an example below Standby connection.Assuming that the CC1 pins of the plug of external equipment are grounded by detection resistance, when plug and the interface 11 of external equipment It is connected, it may be there are two types of situation.The first situation is:The CC1 pins of the plug of external equipment and the CC1 pins of interface connect It connects, the CC2 pins of external equipment and the CC2 pins of interface connect.The second situation is:The CC1 pins of the plug of external equipment It is connect with the CC2 pins of interface, the CC2 pins of external equipment and the CC1 pins of interface connect.In the first scenario, it identifies First test side 131 of circuit 13 detects that the electric current of the first detection pin 111 of interface 11 is flown up and higher than default When current threshold, identification circuit 13 identifies that the plug of external equipment is connect with interface according to first way.In the second situation Under, the second test side 132 of identification circuit 13 detects that the electric current of the second detection pin 112 of interface 11 is flown up and high When predetermined current threshold, identification circuit 13 identifies that the plug of external equipment is connect with interface according to the second way.The first Connection type and second of connection type are just opposite.For example, the plug that the first connection type is external equipment is just inserted into and connects Mouth 11, second of connection type are the plug anti-plug incoming interface 11 of external equipment.Alternatively, the first connection type is external equipment Plug anti-plug incoming interface 11, second connection type is that the plug of external equipment is just being inserted into interface 11.
Optionally, when detection the first detection pin 111 in the first test side 131 is connect with detection resistance, or when second When the detection of test side 132 second detection pin 112 is connect with detection resistance, identification circuit 13 determines that interface 11 connects with external equipment It connects.
In the embodiment of the present application, detection resistance is the resistance on the pin for the external equipment being connected with interface 11, when With after external equipment successful connection, the first detection pin 111 or second of interface detects pin 112 and passes through detection resistance interface 11 Ground connection.Specifically, when the first test side 131 of identification circuit 13 detects that the electric current of the first detection pin 111 of interface 11 is prominent When so rising and being higher than predetermined current threshold, alternatively, the second test side 132 of identification circuit 13 detects the second of interface 11 When the electric current of detection pin 112 flies up and is higher than predetermined current threshold, identification circuit 13 determines that interface 11 is set with outside Standby connection.
Optionally, identification circuit 13 is additionally operable to after determining that interface 11 is connect with external equipment, by feedback end 133 to control Device 12 processed sends pass signal of shaking hands;Controller 12 is used for the type according to pass signal identification external equipment of shaking hands.
In the embodiment of the present application, pass signal of shaking hands can be pulse signal, can also be the signal of fixed level.It is external The type of equipment may include:Main equipment or from equipment.Main equipment is power supply unit, can be to master transmissions number from equipment It can also be to from equipment transmission data according to, main equipment.Wherein, main equipment can be power supply adaptor, from equipment can be USB flash disk, Mobile hard disk etc..
Controller 12 identifies that the mode of the type of external equipment is specifically as follows according to pass signal of shaking hands:Controller according to The size of voltage effective value of pass signal of shaking hands identifies the type of external equipment.
Optionally, controller 12 is additionally operable to after identifying the type of external equipment, provide for external equipment and set with outside The supply voltage of standby type matching.
After identifying the type of external equipment, controller 12 can be provided according to the type of external equipment to external equipment Supply voltage.Specifically, controller 12 has special feeder ear to be connect with A4, A9, B4, B9 power pins of interface 11, control Device 12 can provide channel voltage for A4, A9, B4, B9 power pins of interface 11.
Optionally, identification circuit includes micro-control unit.
In the embodiment of the present application, micro-control unit (Microcontroller Unit, MCU) can be used for identifying low duty The variation of the pulse signal of ratio.
Optionally, the duty ratio of pulse signal is less than 1%.
In the embodiment of the present application, when the duty ratio of pulse signal is less than 1%, the virtual value of pulse signal is relatively low.Pulse The amplitude of signal is generally below 10V, and when the duty ratio of pulse signal is less than 1%, the virtual value of pulse signal is less than 0.1 volt It is special.When the voltage effective value of the pin of interface 11 is less than 0.1 volt, the pin of interface 11 is led with the pin into incoming interface 11 Electro-hydraulic body is difficult to happen electrochemical corrosion.The duty ratio that pulse signal is arranged is less than 1%, can inhibit the pin of interface 11 with into Electrochemical corrosion occurs for the conducting liquid of the pin of incoming interface 11.For example, the duty ratio that pulse signal can be arranged is 0.01%~1%.
Optionally, the amplitude of pulse signal is less than 5 volts.
In the embodiment of the present application, when the amplitude of pulse signal is less than 5 volts, the virtual value of pulse signal is relatively low.Work as arteries and veins When rushing the duty ratio of signal less than 1%, the virtual value of pulse signal is less than 0.05 volt.When the voltage of the pin of interface 11 is effective When value is less than 0.05 volt, the pin of interface 11 and the conducting liquid of the pin into incoming interface 11 are difficult to happen electrochemical corrosion. The amplitude that pulse signal is arranged is less than 5 volts, can inhibit the conducting liquid of the pin and the pin into incoming interface 11 of interface 11 Electrochemical corrosion occurs.
The embodiment of the present application provides a kind of electronic device, which includes shell and interface circuit, is opened on shell Equipped with groove, interface circuit includes interface and controller, and interface is arranged in groove.
The embodiment of the present application also provides a kind of electronic devices, as shown in figure 5, for convenience of description, illustrating only and this Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the circuit part of the embodiment of the present application.The electronics Device can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking electronic device is mobile phone as an example:
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of electronic device disclosed in the embodiment of the present application, with mobile phone in Fig. 5 For illustrate.With reference to figure 5, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input Unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) mould The components such as block 970, processor 980 and power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 5 The restriction to mobile phone is not constituted, may include either combining certain components or difference than illustrating more or fewer components Component arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 910 can be used for sending and receiving for information.In general, RF circuits 910 include but not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 920 can include mainly Storing program area and storage data field, wherein storing program area can storage program area, the application journey needed at least one function Sequence etc.;Storage data field can be stored uses created data etc. according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931 can acquire the finger print data of user on it.In addition to fingerprint recognition module 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One kind in screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, liquid crystal display (Liquid Crystal may be used Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in Figure 5, fingerprint recognition module 931 and display screen 941 are to realize mobile phone as two independent components Input and input function, but it is in some embodiments it is possible to fingerprint recognition module 931 and display screen 941 is integrated and real The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity sensor can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axis) acceleration It is small, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 960, loud speaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric The transformed electric signal of the audio data received can be transferred to loud speaker 961 by road 960, and sound is converted to by loud speaker 961 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data playback process device 980, through RF circuits 910 to be sent to such as another mobile phone, Or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can not change as needed completely Become in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, utilizes various interfaces (for example, UART interface and USB interface) and circuit The various pieces for connecting whole mobile phone, by running or executing the software program and/or module that are stored in memory 920, with And the data being stored in memory 920 are called, and the various functions and processing data of mobile phone are executed, it is whole to be carried out to mobile phone Monitoring.Optionally, processor 980 may include one or more processing units;Preferably, processor 980 can be integrated using processing Device (AP) and modem processor (Modem), wherein the main processing operation system of application processor, user interface and application Program etc., modem processor mainly handle wireless communication.It is understood that above-mentioned modem processor can not also It is integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Mobile phone can also include camera 9100, and camera 9100 is for shooting image and video, and by the image of shooting It is handled to processor 980 with transmission of video.
Mobile phone can be with bluetooth module etc., and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, and the explanation of above example is only intended to the core concepts that help understands the application;Meanwhile for Those of ordinary skill in the art have change in specific embodiments and applications according to the thought of the application Place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of interface circuit, which is characterized in that including interface and controller, wherein:
The interface includes the first detection pin and the second detection pin, and the controller includes the first output end, the second output End;
The first detection pin connects first output end, and the second detection pin connects the second output terminal;
The controller distinguishes output pulse signal by first output end and the second output terminal;Wherein, the arteries and veins Signal is rushed for when described first detects pin or the second detection pin is contacted with conducting liquid, inhibiting first inspection It surveys pin or with the conducting liquid electrochemical corrosion occurs for the second detection pin.
2. interface circuit according to claim 1, which is characterized in that the controller further includes input terminal, the interface electricity Road further includes identification circuit, and the identification circuit includes the first test side, the second test side and feedback end;
The first detection pin connects first test side, and the second detection pin connects second test side, institute It states input terminal and connects the feedback end, the feedback end is used to feed back the connection status of the interface to the controller.
3. interface circuit according to claim 2, which is characterized in that the identification circuit for detect the interface whether with External equipment connects.
4. interface circuit according to claim 3, which is characterized in that when first test side detection, first detection is drawn When foot is connect with detection resistance, or when detection the second detection pin in second test side is connect with the detection resistance When, the identification circuit determines that the interface is connect with the external equipment.
5. interface circuit according to claim 4, which is characterized in that the identification circuit be additionally operable to determine the interface with After the external equipment connection, pass signal of shaking hands is sent to the controller by the feedback end;The controller is used for The type of the external equipment is identified according to the pass signal of shaking hands.
6. interface circuit according to claim 5, which is characterized in that the controller is additionally operable to when the identification external equipment Type after, provide the supply voltage with the type matching of the external equipment for the external equipment.
7. according to any one of claim 2~6 interface circuit, which is characterized in that the identification circuit includes microcontroller list Member, the variation of the micro-control unit pulse signal for identification.
8. according to any one of claim 1~7 interface circuit, which is characterized in that the duty ratio of the pulse signal is less than 1%.
9. according to any one of claim 1~8 interface circuit, which is characterized in that the amplitude of the pulse signal is less than 5 volts It is special.
10. a kind of electronic device, which is characterized in that the electronic device includes shell and as described in any one of claim 1~9 Interface circuit, opens up on the shell fluted, and the interface circuit includes interface and controller, and the interface is arranged described In groove.
CN201810107224.0A 2018-02-02 2018-02-02 Interface circuit and electronic device Pending CN108415865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810107224.0A CN108415865A (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810107224.0A CN108415865A (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Publications (1)

Publication Number Publication Date
CN108415865A true CN108415865A (en) 2018-08-17

Family

ID=63127524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810107224.0A Pending CN108415865A (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Country Status (1)

Country Link
CN (1) CN108415865A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109346883A (en) * 2018-09-20 2019-02-15 合肥联宝信息技术有限公司 A kind of system for realizing the positive anti-plug of Type-C interface
CN109977057A (en) * 2019-03-27 2019-07-05 青岛海信移动通信技术股份有限公司 A kind of control method of interface equipment and interface equipment
CN110618625A (en) * 2019-07-18 2019-12-27 青岛经济技术开发区海尔热水器有限公司 Control system, control method and electronic device
CN110749845A (en) * 2019-10-14 2020-02-04 Oppo(重庆)智能科技有限公司 Socket foreign matter detection method and device, storage medium and terminal
CN112164942A (en) * 2020-11-09 2021-01-01 Oppo广东移动通信有限公司 Communication device
CN113641609A (en) * 2021-06-29 2021-11-12 荣耀终端有限公司 Interface circuit, electronic device, and insertion recognition method
WO2021238806A1 (en) * 2020-05-25 2021-12-02 维沃移动通信有限公司 Interface circuit and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205195389U (en) * 2015-05-04 2016-04-27 储盈新能源科技(上海)有限公司 Ups
CN106058975A (en) * 2016-06-15 2016-10-26 维沃移动通信有限公司 Protection circuit, method and mobile terminal
CN106253373A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of charging system and method
CN106294244A (en) * 2016-08-11 2017-01-04 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit
CN106598818A (en) * 2015-10-20 2017-04-26 索尼移动通信株式会社 Connector receptacle interfacing circuit and method of operation
CN206932018U (en) * 2017-03-31 2018-01-26 畅充科技(上海)有限公司 Charging control circuit for mobile intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205195389U (en) * 2015-05-04 2016-04-27 储盈新能源科技(上海)有限公司 Ups
CN106598818A (en) * 2015-10-20 2017-04-26 索尼移动通信株式会社 Connector receptacle interfacing circuit and method of operation
CN106058975A (en) * 2016-06-15 2016-10-26 维沃移动通信有限公司 Protection circuit, method and mobile terminal
CN106253373A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of charging system and method
CN106294244A (en) * 2016-08-11 2017-01-04 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit
CN206932018U (en) * 2017-03-31 2018-01-26 畅充科技(上海)有限公司 Charging control circuit for mobile intelligent terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109346883A (en) * 2018-09-20 2019-02-15 合肥联宝信息技术有限公司 A kind of system for realizing the positive anti-plug of Type-C interface
CN109977057A (en) * 2019-03-27 2019-07-05 青岛海信移动通信技术股份有限公司 A kind of control method of interface equipment and interface equipment
CN110618625A (en) * 2019-07-18 2019-12-27 青岛经济技术开发区海尔热水器有限公司 Control system, control method and electronic device
CN110618625B (en) * 2019-07-18 2021-12-07 青岛经济技术开发区海尔热水器有限公司 Control system, control method and electronic device
CN110749845A (en) * 2019-10-14 2020-02-04 Oppo(重庆)智能科技有限公司 Socket foreign matter detection method and device, storage medium and terminal
WO2021238806A1 (en) * 2020-05-25 2021-12-02 维沃移动通信有限公司 Interface circuit and electronic device
CN112164942A (en) * 2020-11-09 2021-01-01 Oppo广东移动通信有限公司 Communication device
CN113641609A (en) * 2021-06-29 2021-11-12 荣耀终端有限公司 Interface circuit, electronic device, and insertion recognition method
CN113641609B (en) * 2021-06-29 2022-06-17 荣耀终端有限公司 Interface circuit, electronic device, and insertion recognition method

Similar Documents

Publication Publication Date Title
CN108415865A (en) Interface circuit and electronic device
CN106549451B (en) A kind of wireless charging method and device
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN107635069B (en) UART and USB multiplex circuit and mobile terminal
CN108430101A (en) Antenna method for closing, device, storage medium and electronic equipment
CN106155557B (en) A kind of virtual key display methods and mobile terminal
CN103605077B (en) Predetermined battery recognition methods, device and electronic equipment
CN107613126A (en) UART and USB multiplex circuits and mobile terminal
CN104243671A (en) Volume adjustment method and device and electronic device
US20210152920A1 (en) Master/Slave Switching Method for Wearable Apparatus and Related Product
CN107707642B (en) Brush amount terminal determines method and device
CN106484326B (en) A kind of data transmission processing method and mobile terminal
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
CN107678989A (en) UART and USB multiplex circuits and mobile terminal
CN106127001B (en) The method and terminal of a kind of booting
CN108874708A (en) OTG equipment, terminal charging method, mobile terminal and computer readable storage medium
CN108920390A (en) insertion detection circuit, insertion detection method and electronic device
CN106569916A (en) Data backup method and mobile terminal
CN108834013A (en) A kind of wearable device electric quantity balancing method and Related product
CN106454979B (en) A kind of network formats switching method and mobile terminal
CN108600887A (en) Method of toch control based on wireless headset and Related product
CN108411310A (en) Interface circuit and electronic device
CN110428782A (en) Brightness adjusting method and Related product
CN107317917B (en) Application control method and Related product
CN110365851A (en) Method of supplying power to and Related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817