CN108268091B - A kind of interface protector, mobile terminal and method - Google Patents
A kind of interface protector, mobile terminal and method Download PDFInfo
- Publication number
- CN108268091B CN108268091B CN201611264113.8A CN201611264113A CN108268091B CN 108268091 B CN108268091 B CN 108268091B CN 201611264113 A CN201611264113 A CN 201611264113A CN 108268091 B CN108268091 B CN 108268091B
- Authority
- CN
- China
- Prior art keywords
- interface
- infrared
- mobile terminal
- aperture
- peripheral equipment
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1632—External expansion units, e.g. docking stations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/81—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/85—Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices
Abstract
The embodiment of the invention provides a kind of interface protector, mobile terminal and methods; infrared receiver aperture and infrared transmission aperture are provided on the shell of the interface of mobile terminal; the infrared transmission aperture is provided with infrared transmitting line; the infrared receiver aperture is provided with infrared receiving circuit; the infrared transmitting line and infrared receiving circuit are connected to the processor of mobile terminal; wherein, the infrared transmitting line, for launching outward infrared light through the infrared transmission aperture;The red reception power transmission road is used to and receives the infrared light reflected in the interface for having peripheral equipment close to the mobile terminal through the infrared receiver aperture generate voltage;The processor, for controlling the interface and powering on when determining that the peripheral equipment accesses to the interface according to the voltage.The embodiment of the present invention is to solve the problems, such as interface water inlet corrosion to fail.
Description
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of interface protector, a kind of mobile terminal and one kind
The method of interface protection.
Background technique
Common terminal, majority use USB (Universal Serial Bus, universal serial bus) mouth on the market at present
It charges.USB (Universal Serial Bus, universal serial bus) is an external bus standard, for specification electricity
Being connected and communicate with for the terminal devices such as brain, mobile phone and external equipment, is a kind of interfacing applied in the communications field, includes
The interface type of a variety of different models such as USB Type-C or specification.USB Type-C is one kind popular in current industry
The development side of I/O (Input/Output, input/output) interface of the terminal devices such as USB interface and subsequent computer, mobile phone
To USB Type-C can support tow sides to plug, and the signal for transmitting data is stronger.
In Type-C specification, two pins of CC1/CC2 can be used for whether detection device has insertion.On mobile terminals
Peripheral equipment insertion is detected whether, CC pin default is pulled up by the electric current of 80uA, so on mother's Type-C mouth
Two pins of CC1/CC2 often charge.When USB Type-C socket enters sweat, steam, impurity etc., if pin electrification can add
Corrode between fast CC pin and ground, form low impedance path between CC pin and ground, influences equipment insertion detection, cause to miss
Sentence.However, charging etching problem for CC pin at present, manufacturer terminal forms the side protected to CC pin not yet at present
Case.
Summary of the invention
The embodiment of the present invention provides a kind of interface protector, a kind of mobile terminal and a kind of method of interface protection, with
Solve the problems, such as interface water inlet corrosion to fail.
In a first aspect, providing a kind of interface protector, it is applied to mobile terminal, in the shell of the interface of mobile terminal
On be provided with infrared receiver aperture and infrared transmission aperture, the infrared transmission aperture is provided with infrared transmitting line, described red
Outer receiving opening is provided with infrared receiving circuit, and the infrared transmitting line and infrared receiving circuit are connected to the place of mobile terminal
Manage device, wherein
The infrared transmitting line, for launching outward infrared light through the infrared transmission aperture;
The red reception power transmission road is used for and is having peripheral equipment close to the shifting through infrared receiver aperture reception
The infrared light reflected when the interface of dynamic terminal generates voltage;
The processor, for controlling institute when determining that the peripheral equipment accesses to the interface according to the voltage
Interface is stated to power on.
Second aspect, provides a kind of mobile terminal, and the mobile terminal has above-mentioned interface protector.
The third aspect provides a kind of method of interface protection, is applied to mobile terminal, mobile terminal interface it is outer
Infrared receiver aperture and infrared transmission aperture are provided on shell, the infrared transmission aperture is provided with infrared transmitting line, described
Infrared receiver aperture is provided with infrared receiving circuit, and the infrared transmitting line and infrared receiving circuit are connected to mobile terminal
Processor, which comprises
Infrared light is launched outward through the infrared transmission aperture;
It receives through the infrared receiver aperture and to be reflected when there is interface of the peripheral equipment close to the mobile terminal
Infrared light generates voltage;
When determining that the peripheral equipment accesses to the interface according to the voltage, controls the interface and power on.
The interface protector of the embodiment of the present invention is provided with infrared receiver aperture on the shell of interface on mobile terminals
With infrared transmission aperture, enable infrared receiving circuit to receive infrared light based on infrared receiver aperture, is based on infrared transmission
Aperture enables infrared transmitting line to send infrared light, wherein peripheral equipment close to when red reception power transmission road being capable of basis
The infrared light reflected generates voltage, and the processor of mobile terminal then determines whether that peripheral equipment connects according to the voltage
Enter, however, it is determined that there is peripheral equipment access, then control interface powers on.Using the embodiment of the present invention, so that the interface of mobile terminal
Without being always held at electriferous state, the risk of interface electrification water inlet corrosion can be reduced, with protection interface.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of structural block diagram of interface protector embodiment of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of interface protection method embodiment of the embodiment of the present invention two.
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 4 is the structural schematic diagram of the mobile terminal of another embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of structural block diagram of interface protector embodiment of the invention is shown, in connecing for mobile terminal
Infrared aperture 101 is provided on the shell of mouth, the infrared aperture 101 includes infrared transmission aperture 1011 and infrared receiver aperture
1012, the infrared transmission opens 1011 holes and is provided with infrared transmitting line 1021, and the infrared receiver aperture is provided with infrared connect
Circuit 1022 is received, the infrared transmitting line 1021 and infrared receiving circuit 1022 may be collectively referred to as infrared circuit 102, described red
Outer transmitting line 1021 and infrared receiving circuit 1022 are connected to the processor 103 of mobile terminal,
Specifically, the mobile terminal can for mobile phone, palm PC (Personal Digital Assistant,
PDA), camera, wearable device etc. have the mobile terminal of interface, and the interface protector of the embodiment of the present invention can be used for
Protect the interface of mobile terminal.
In embodiments of the present invention, it is protected in the interface of mobile terminal with shell, the infrared aperture 101 on shell includes
Infrared transmission aperture 1011 and infrared receiver aperture 1012 enable infrared receiving circuit 1022 based on infrared receiver aperture 1012
Infrared light is enough received, enables infrared transmitting line 1021 to send infrared light based on infrared transmission aperture 1011, in conjunction with
Whether the processor of two infrared circuits and mobile terminal, can detecte has peripheral equipment close to the interface of mobile terminal.
The infrared transmitting line 1021, for launching outward infrared light through the infrared transmission aperture 1011;
The red reception power transmission road 1022 is used for and is having peripheral equipment to lean on through the infrared receiver aperture 1012 reception
The infrared light reflected when the interface of the nearly mobile terminal generates voltage;
In practical applications, peripheral equipment is the equipment for referring to connect with the interface of mobile terminal, and specifically, periphery is set
Standby can be the equipment such as charger, charger baby.Certainly, what peripheral equipment was also possible to that other can connect with mobile terminal sets
Standby, the embodiments of the present invention are not limited thereto.
In embodiments of the present invention, infrared circuit is set to after aperture 101, and specially infrared transmitting line 1021 is set
It is placed in after infrared transmission aperture 1011, red reception power transmission road 1022 is set to after infrared receiver aperture 1012.
It should be noted that also can be set other than the set-up mode of above-mentioned aperture and infrared circuit in mobile terminal
In other positions, as long as being able to detect that the interface of peripheral equipment close to the state of the interface of mobile terminal, the present invention is real
It is without restriction to this to apply example.
In practical applications, infrared circuit is the circuit measured using the physical property of infrared ray.Infrared ray is again
Claim infrared light, it is many with properties, the types of infrared sensor such as reflection, refraction, scattering, interference, absorptions.For example, infrared
Circuit can send and receive respectively infrared light with infrared receiving diode and infrared light-emitting diode.Infrared receiver two
Pole pipe and infrared light-emitting diode can send and monitor infrared light, to learn that periphery is set according to the infrared light of feedback
Standby access situation.
In general, the infrared light of infrared light-emitting diode transmitting specific frequency, infrared receiving diode receives this
The infrared light of frequency, when infrared detection direction encounters such as peripheral equipment, infrared light, which reflects, to be received pipe and connects
Receive, by processing after, by digital sensor interface return to processor, processor i.e. can using infrared return signal come
The case where identifying peripheral equipment access.
The case where type based on infrared circuit is different, generates voltage are also different, so for processor
It is also different based on the standard that voltage judges whether there is peripheral equipment access, therefore, in implementing the embodiments of the present invention, answers
When adjusting accordingly according to the actual situation, the embodiment of the present invention to this and it is without restriction.
In one preferred embodiment of the invention, the infrared transmission aperture 1011 and infrared receiver aperture 1012 can be with
It is closed using transparent material, so that infrared transmission aperture 1011 and infrared receiver aperture 1012, are not easy dirty and do not influence
Detection effect.Specifically, which may include the material that light-guiding pillar etc. can be guide-lighting.
The processor 103, for controlling when determining that the peripheral equipment accesses to the interface according to the voltage
The interface powers on.
In one preferred embodiment of the invention, the processor is used to reach preset threshold value in the voltage
When, determine that the peripheral equipment accesses to the interface.
Whether the variation of the voltage value that the embodiment of the present invention can be generated by infrared circuit in real time determines peripheral circuit
Close to the interface of mobile terminal.In a kind of example of the invention, if voltage value is more than a preset threshold value (such as
Close to A value), so that it may think the interface for thering is the USB interface of peripheral equipment to be linked into mobile terminal, can start at this time as movement
The interface of terminal is powered.
In one preferred embodiment of the invention, the processor is used to determine that it is described that the peripheral equipment accesses to
Interface, the CC pin for controlling the Type-C interface power on.
It should be noted that the interface that the interface protector of the embodiment of the present invention includes can be USB Type-C, USB
Type-C is the I/O of the terminal devices such as a kind of USB interface and subsequent computer, mobile phone popular in current industry
The developing direction of (Input/Output, input/output) interface, USB Type-C can support tow sides to plug, and pass
The signal of transmission of data is stronger.
In Type-C specification, CC pin is for detecting whether peripheral equipment has insertion.To detect on mobile terminals is
No to have peripheral equipment insertion, CC pin default is pulled up by the electric current of 80uA, so the CC1/CC2 on Type-C interface two
Pin electrification.Problem brought by this way is, when USB socket enters sweat, steam, impurity etc., pin electrification can accelerate CC
Corrode between pin and ground, form low impedance path between CC pin and ground, influences equipment insertion detection, cause to judge by accident.Therefore
And the CC pin in the interface of the embodiment of the present invention is set as not charged, is only determined with periphery according to the voltage detected
When equipment accesses to the interface of mobile terminal, processor can just be powered on to the CC pin.
The interface protector of the embodiment of the present invention can use infrared aperture difference when the USB interface insertion of peripheral equipment
The characteristics of receiving the infrared light variation of reflection, peripheral equipment is worked as in the variation of the received infrared light of the infrared circuit of real-time detection
USB interface close to the interface of mobile terminal when, then generated based on received infrared light and voltage and be sent to mobile terminal
Processor has been considered as external USB interface insertion if the voltage is more than a preset threshold value (infrared to depend on close values A), this
When just start CC pin powered for Type-C interface, to carry out subsequent Type-C detection.
Using the interface protector of the embodiment of the present invention, can when the USB interface of not peripheral equipment is inserted into,
The CC pin of Type-C interface does not have to a direct power supply, since short (it is micro- that interface has dust, water etc. to cause by the pin that often charges micro-
It is short), accelerate pin corrosion.The embodiment of the present invention is just to start to power when external USB interface insertion, in this way can be with effective protection
The pin of Type-C interface.
The interface protector of the embodiment of the present invention is provided with infrared receiver aperture on the shell of interface on mobile terminals
With infrared transmission aperture, enable infrared receiving circuit to receive infrared light based on infrared receiver aperture, is based on infrared transmission
Aperture enables infrared transmitting line to send infrared light, wherein peripheral equipment close to when red reception power transmission road being capable of basis
The infrared light reflected generates voltage, and the processor of mobile terminal then determines whether that peripheral equipment connects according to the voltage
Enter, however, it is determined that there is peripheral equipment access, then control interface powers on.Using the embodiment of the present invention, so that the interface of mobile terminal
Without being always held at electriferous state, the risk of interface electrification water inlet corrosion can be reduced, with protection interface.
The embodiment of the invention also discloses a kind of mobile terminal, which has the interface protection of above-described embodiment one
Device with include the mobile terminal interface, due to the implementation for mobile terminal embodiment, with interface protector
Example is substantially similar, so related place illustrates referring to the part of interface protector embodiment, just repeats no more.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of interface protection method embodiment of the invention, the method application are shown
In mobile terminal, infrared receiver aperture and infrared transmission aperture are provided on the shell of the interface of mobile terminal, it is described infrared
It sends aperture and is provided with infrared transmitting line, the infrared receiver aperture is provided with infrared receiving circuit, the infrared transmission electricity
Road and infrared receiving circuit are connected to the processor of mobile terminal, and the method can specifically include following steps:
Step 201, infrared light is launched outward through the infrared transmission aperture;
In embodiments of the present invention, interface protector described in embodiment one is installed on mobile terminals.It is moving
Aperture on the shell of the female (interface) of dynamic terminal, is properly termed as infrared aperture, and infrared circuit can be enabled red through this
Exterior open cell generates voltage to detect the variation of infrared light when interface of the peripheral equipment close to mobile terminal.
Specifically, it is provided with infrared transmission aperture and infrared receiver aperture on the shell, wherein opening through infrared transmission
Hole can make infrared transmitting line behind launch infrared light.
Step 202, it receives through the infrared receiver aperture in the interface for having peripheral equipment close to the mobile terminal
The infrared light reflected generates voltage;
Infrared receiving circuit behind can be made to receive the infrared light of reflection through infrared receiver aperture, and generated
Voltage is sent to the processor of mobile terminal.The processor of mobile terminal obtains the voltage that infrared circuit detects in real time, is used for
Judge whether there is peripheral equipment access.
Step 203, it when determining that the peripheral equipment accesses to the interface according to the voltage, controls on the interface
Electricity.
In embodiments of the present invention, peripheral equipment can be determined whether according to the voltage that infrared circuit detects
USB interface accesses to the interface of mobile terminal, however, it is determined that when peripheral equipment accesses to the interface, can start as mobile terminal
Interface power supply.
In one preferred embodiment of the invention, the step of judgement peripheral equipment accesses to the interface can
To include:
Judge whether the voltage reaches preset threshold value;
If so, being determined as that the peripheral equipment accesses to the interface.
It, can be with the voltage change of real-time detection infrared sensor, if voltage is more than one in a kind of example of the invention
When a threshold value (voltage is close to A value), so that it may think to have the USB interface of peripheral equipment to be inserted into, at this time can be mobile whole
The interface at end is powered.
For embodiment of the method, since it is substantially similar to Installation practice, so be described relatively simple, it is related
Place illustrates referring to the part of embodiment of the method.
, can be when the USB interface of not peripheral equipment be inserted into using the embodiment of the present invention, the interface of mobile terminal draws
Foot does not have to a direct power supply, micro- due to the pin that often charges so that the interface of mobile terminal is without being always held at electriferous state
Short (it is micro- short that interface has dust, water etc. to cause) accelerates pin corrosion, so interface band can be reduced using the embodiment of the present invention
The risk of electricity water inlet corrosion, with protection interface.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Embodiment three
Fig. 3 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in Fig. 3 includes: at least
One processor 701, memory 702, at least one network interface 704 and other users interface 703.In mobile terminal 700
Various components are coupled by bus system 705.It is understood that bus system 705 is for realizing the company between these components
Connect letter.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But
It is that various buses are all designated as bus system 705 in Fig. 3 for the sake of clear explanation.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application
The program or instruction stored in program 7022, processor 701 are used to launch outward infrared light through the infrared transmission aperture;
The infrared light reflected in the interface for having peripheral equipment close to the mobile terminal is received through the infrared receiver aperture
Generate voltage;When determining that the peripheral equipment accesses to the interface according to the voltage, controls the interface and power on.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701.
Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing
Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App
LicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing function of the present invention
In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 701 is also used to, and judges whether the voltage reaches preset threshold value;If so, being determined as
The peripheral equipment accesses to the interface.
For 700 embodiment of mobile terminal, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
Using the embodiment of the present invention, so that the interface of mobile terminal can be reduced and be connect without being always held at electriferous state
The risk of mouth electrification water inlet corrosion, with protection interface.
Example IV
Fig. 4 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 4
800 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 800 in Fig. 4 includes radio frequency (RadioFrequency, RF) circuit 810, memory 820, input list
Member 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply
890。
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 831.Touch panel 831, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 831 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 860 is given again, and can be received order that processor 860 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit
830 can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device
860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 821, and calling storage
Data in second memory 822 execute the various functions and processing data of mobile terminal 800, thus to mobile terminal 800
Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/
Or the data in the second memory 822, processor 860 are used to launch outward infrared light through the infrared transmission aperture;
The infrared light reflected in the interface for having peripheral equipment close to the mobile terminal is received through the infrared receiver aperture
Generate voltage;When determining that the peripheral equipment accesses to the interface according to the voltage, controls the interface and power on.
Optionally, the processor 860 is also used to, and judges whether the voltage reaches preset threshold value;If so, sentencing
It is set to the peripheral equipment and accesses to the interface.
For 800 embodiment of mobile terminal, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
Using the embodiment of the present invention, so that the interface of mobile terminal can be reduced and be connect without being always held at electriferous state
The risk of mouth electrification water inlet corrosion, with protection interface.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of interface protector is applied to mobile terminal, which is characterized in that be arranged on the shell of the interface of mobile terminal
There are infrared receiver aperture and infrared transmission aperture, the infrared transmission aperture is provided with infrared transmitting line, the infrared receiver
Aperture is provided with infrared receiving circuit, and the infrared transmitting line and infrared receiving circuit are connected to the processor of mobile terminal,
Wherein,
The infrared transmitting line, for launching outward infrared light through the infrared transmission aperture;
The infrared receiving circuit, for having peripheral equipment close to the mobile terminal through infrared receiver aperture reception
Interface when the infrared light that is reflected generate voltage;
The processor, for being connect described in control when determining that the peripheral equipment accesses to the interface according to the voltage
Mouth powers on;
The processor is used for when the voltage reaches preset threshold value, determines that the peripheral equipment accesses to described connect
Mouthful.
2. interface protector according to claim 1, which is characterized in that the infrared receiver aperture and infrared transmission are opened
It is closed using transparent material in hole.
3. interface protector according to claim 2, which is characterized in that the transparent material includes light-guiding pillar.
4. interface protector according to claim 1, which is characterized in that the interface is Type-C interface.
5. interface protector according to claim 4, which is characterized in that the CC pin of the Type-C interface not on
Electricity, the CC pin include CC1 pin and CC2 pin.
6. interface protector according to claim 5, which is characterized in that the processor according to the voltage for sentencing
When the fixed peripheral equipment accesses to the interface, the CC pin for controlling the Type-C interface is powered on.
7. a kind of mobile terminal, which is characterized in that the mobile terminal has the interface protection dress as described in claim 1-6
It sets.
8. a kind of method of interface protection is applied to mobile terminal, which is characterized in that set on the shell of the interface of mobile terminal
It is equipped with infrared receiver aperture and infrared transmission aperture, the infrared transmission aperture is provided with infrared transmitting line, described infrared to connect
It receives aperture and is provided with infrared receiving circuit, the infrared transmitting line and infrared receiving circuit are connected to the processing of mobile terminal
Device, which comprises
Infrared light is launched outward through the infrared transmission aperture;
Received through the infrared receiver aperture reflected when there is interface of the peripheral equipment close to the mobile terminal it is infrared
Light generates voltage;
When determining that the peripheral equipment accesses to the interface according to the voltage, controls the interface and power on;
It is described to determine that the step of peripheral equipment accesses to the interface includes:
Judge whether the voltage reaches preset threshold value;
If so, being determined as that the peripheral equipment accesses to the interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611264113.8A CN108268091B (en) | 2016-12-30 | 2016-12-30 | A kind of interface protector, mobile terminal and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611264113.8A CN108268091B (en) | 2016-12-30 | 2016-12-30 | A kind of interface protector, mobile terminal and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108268091A CN108268091A (en) | 2018-07-10 |
CN108268091B true CN108268091B (en) | 2019-11-15 |
Family
ID=62753811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611264113.8A Active CN108268091B (en) | 2016-12-30 | 2016-12-30 | A kind of interface protector, mobile terminal and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268091B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11947481B2 (en) | 2018-07-24 | 2024-04-02 | Honor Device Co., Ltd. | Terminal and type C interface anti-corrosion method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202094400U (en) * | 2011-06-17 | 2011-12-28 | 林松 | Safety socket of electric shock prevention |
CN203561972U (en) * | 2013-11-01 | 2014-04-23 | 上海全一通讯技术有限公司 | Gesture sensing system of handheld electronic equipment |
CN203645722U (en) * | 2013-12-24 | 2014-06-11 | 广东欧珀移动通信有限公司 | Mobile terminal improving user experiences of data line insertion and extraction and system |
CN204030150U (en) * | 2014-07-21 | 2014-12-17 | 遵义师范学院 | Infrared tube electric shock preventing socket circuit for household electrical appliance |
CN204347067U (en) * | 2014-10-28 | 2015-05-20 | 尚学友 | A kind of identifiable design measurement socket |
-
2016
- 2016-12-30 CN CN201611264113.8A patent/CN108268091B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202094400U (en) * | 2011-06-17 | 2011-12-28 | 林松 | Safety socket of electric shock prevention |
CN203561972U (en) * | 2013-11-01 | 2014-04-23 | 上海全一通讯技术有限公司 | Gesture sensing system of handheld electronic equipment |
CN203645722U (en) * | 2013-12-24 | 2014-06-11 | 广东欧珀移动通信有限公司 | Mobile terminal improving user experiences of data line insertion and extraction and system |
CN204030150U (en) * | 2014-07-21 | 2014-12-17 | 遵义师范学院 | Infrared tube electric shock preventing socket circuit for household electrical appliance |
CN204347067U (en) * | 2014-10-28 | 2015-05-20 | 尚学友 | A kind of identifiable design measurement socket |
Also Published As
Publication number | Publication date |
---|---|
CN108268091A (en) | 2018-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108268389A (en) | The insertion detection method and mobile terminal of a kind of equipment | |
CN106844265B (en) | A kind of control method and mobile terminal of general-purpose serial bus USB interface | |
CN106648857B (en) | A kind of open method and mobile terminal of the OTG function of mobile terminal | |
CN106329259A (en) | Connecting device and method for recognizing device | |
CN108536055B (en) | A kind of mobile terminal and detection method | |
CN108268388B (en) | A kind of Type-C interface protective circuit and method, mobile terminal | |
CN106208206B (en) | A kind of wireless charging method and mobile terminal | |
CN107819922B (en) | A kind of relaying method of adjustment, wireless headset and the mobile terminal of wireless headset | |
CN106527802A (en) | Detection method and mobile terminal | |
CN108268091B (en) | A kind of interface protector, mobile terminal and method | |
CN108268402A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
CN108268405A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
CN108268395A (en) | A kind of method and mobile terminal of data communication | |
CN107465234B (en) | A kind of charge control method, mobile terminal and adapter | |
CN106646085B (en) | Leakage tests method, apparatus and equipment | |
CN108268089A (en) | A kind of interface protector, mobile terminal and method | |
CN108270253A (en) | A kind of charging method and mobile terminal | |
CN106684967B (en) | A kind of charging method and mobile terminal of mobile terminal | |
CN108268411A (en) | The method and mobile terminal of a kind of data transmission | |
CN108268090A (en) | A kind of interface protector, mobile terminal and method | |
CN108873759A (en) | A kind of circuit, circuit protection method and electronic equipment | |
CN106878551A (en) | A kind of power switch method and mobile terminal | |
CN108270255B (en) | A kind of charging method and mobile terminal | |
CN108268410B (en) | A kind of method and mobile terminal of data communication | |
CN107482736B (en) | A kind of method for preventing USB interface short circuit from burning and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |