CN106961044A - Mobile terminal and the method for anti-OTG false triggerings - Google Patents

Mobile terminal and the method for anti-OTG false triggerings Download PDF

Info

Publication number
CN106961044A
CN106961044A CN201710210919.7A CN201710210919A CN106961044A CN 106961044 A CN106961044 A CN 106961044A CN 201710210919 A CN201710210919 A CN 201710210919A CN 106961044 A CN106961044 A CN 106961044A
Authority
CN
China
Prior art keywords
detection
shell fragment
unit
otg
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710210919.7A
Other languages
Chinese (zh)
Other versions
CN106961044B (en
Inventor
王乐
李满林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710210919.7A priority Critical patent/CN106961044B/en
Publication of CN106961044A publication Critical patent/CN106961044A/en
Application granted granted Critical
Publication of CN106961044B publication Critical patent/CN106961044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/46Bases; Cases
    • H01R13/52Dustproof, splashproof, drip-proof, waterproof, or flameproof cases
    • H01R13/5213Covers
    • 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/70Structural association with built-in electrical component with built-in switch
    • H01R13/703Structural association with built-in electrical component with built-in switch operated by engagement or disengagement of coupling parts, e.g. dual-continuity coupling part
    • H01R13/7035Structural association with built-in electrical component with built-in switch operated by engagement or disengagement of coupling parts, e.g. dual-continuity coupling part comprising a separated limit switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R43/00Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R43/00Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors
    • H01R43/26Apparatus or processes specially adapted for manufacturing, assembling, maintaining, or repairing of line connectors or current collectors or for joining electric conductors for engaging or disengaging the two parts of a coupling device

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Telephone Set Structure (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

A kind of method that the application provides mobile terminal and anti-OTG false triggerings, is related to technical field of electronic equipment, to prevent OTG false triggerings.Wherein, the mobile terminal includes being provided with USB female seats on body, body, and the first shell wall of the shell of USB female seats, which has, is provided with through hole on opening, the second shell wall of shell, and mobile terminal also includes the first detection shell fragment, the second detection shell fragment and processor;The one end of installation portion away from its waterproof portion of first detection shell fragment is packed on the outer wall of the second shell wall, and its waterproof portion is movably installed in through hole, and its transport part is located at outside shell;Second detection shell fragment is located at outside shell, and transport part is separated when being not inserted into USB device with the second detection shell fragment, and transport part is in contact when USB female seats insert USB device with the second detection shell fragment;Processor is connected with the second detection shell fragment.Mobile terminal in the application is applied to mobile communication.

Description

Mobile terminal and the method for anti-OTG false triggerings
Technical field
The application is related to the method for technical field of electronic equipment, more particularly to a kind of mobile terminal and anti-OTG false triggerings.
Background technology
USB (Universal Serial Bus, USB) is because its is convenient and multifunction quilt widely applies to In the equipment such as smart mobile phone, information transfer, the function such as charging and OTG (On-The-Go) are realized.OTG equipment is inserted using USB ID pins in head distinguish Host/Slave Device (main equipment/slave unit), and Host- is called if ID is grounded Device, serves as USB Host, and Host-Device is always that bus provides electric power, and ID is vacantly called Slave-Device, Serve as USB Device.In actually used, the ID pins are often powered, and have the through hole communicated with the external world in USB, so enter Corrosion is easy to USB so that OTG function false triggerings, whole USB port may be damaged when serious, or even have influence on whole The normal work of individual equipment.
The content of the invention
This application provides a kind of mobile terminal and the method for anti-OTG false triggerings, to solve in the prior art because of USB_ID Entered corrosion USB caused by pin is often powered so that OTG function false triggerings, whole USB ends may be damaged when serious Mouthful, or even the problem of have influence on the normal work of whole equipment.
In view of this, this application discloses a kind of mobile terminal, including body, USB female seats, institute are installed on the body Stating USB female seats includes shell and the tongue piece in the shell, and the first shell wall of the shell is provided with opening, described Through hole is provided with the direction of the opening dorsad body, second shell wall, the mobile terminal also includes the first detection bullet Piece, the second detection shell fragment and processor;The first detection shell fragment includes installation portion, waterproof portion and the transmission being sequentially connected Portion, the one end of the installation portion away from the waterproof portion is packed on the outer wall of second shell wall, and the waterproof portion is movable Ground is installed in the through hole, and the transport part is located at outside the shell;The second detection shell fragment is located at outside the shell, and Positioned at close to second shell wall side outside, the transport part be located at second shell wall with described second detection shell fragment it Between, the transport part is separated in first state with the described second detection shell fragment, and the transport part is in the second state and institute The second detection shell fragment is stated to be in contact;Wherein, the first state is the state that the USB female seats are not inserted into USB device;Described Two-state is the state that the USB female seats insert USB device;The processor is connected with the described second detection shell fragment, the place Whether reason device is used to be in contact with the described second detection shell fragment according to the described second detection shell fragment, come control on the first pin electricity or Person controls electricity under the first pin.
Correspondingly, present invention also provides a kind of method of anti-OTG false triggerings, including:Detect the second detection shell fragment Whether it is in contact with the transport part;Detect it is described second detection shell fragment be in contact with the transport part when, control first It is electric on pin;On the first pin is controlled after electricity, detect whether the USB female seats have the insertion of OTG equipment;Do not detecting When OTG equipment is inserted, electricity under the first pin of control.
Compared with prior art, the application at least has advantages below:
There is provided a kind of mobile terminal, the waterproof portion of the mobile terminal can have USB device insertion and USB female in USB female seats When seat is inserted without USB device, it is installed in through hole, through hole is blocked, effectively prevent into corrosion USB.Locate simultaneously Reason device can according to transport part whether with second detection shell fragment be in contact to detect whether have USB device insertion so that according to Particular situation optionally controls electricity.For example, can work as when having detected USB device insertion USB female seats, just control first is drawn It is electric on pin, also it can judge whether the equipment is OTG equipment after upper electric specific duration, if it is not, then again will be electric under the first pin For low level, it is seen then that greatly reduce the electrification time of the first pin, it so both ensure that the normal of mobile terminal was used, also had Effect prevent because the first pin often it is powered caused by entered corrosion USB so that OTG function false triggerings, when serious possibility The problem of damaging whole USB port, or even have influence on the normal work of whole equipment occurs.
Brief description of the drawings
Fig. 1 is the structural representation of the USB female seats provided in the embodiment of the present application one;
Fig. 2 is the first profile of the part-structure of mobile terminal provided in the embodiment of the present application one;
Fig. 3 is the second profile of the part-structure of mobile terminal provided in the embodiment of the present application one;
Fig. 4 is the circuit diagram of the part-structure of mobile terminal provided in the embodiment of the present application one;
Fig. 5 is the structural representation of the processor provided in the embodiment of the present application one;
Fig. 6 is the flow chart of the method for anti-OTG false triggerings provided in the embodiment of the present application two.
Embodiment
It is below in conjunction with the accompanying drawings and specific real to enable above-mentioned purpose, the feature and advantage of the application more obvious understandable Mode is applied to be described in further detail the application.
Embodiment one
Referring to Fig. 1~Fig. 4, present embodiments provide and USB female seats are installed on a kind of mobile terminal, including body, body (referring to Fig. 1), USB female seats include shell 11 and the tongue piece 12 in shell 11, and the first shell wall 111 of shell 11 is set There is an opening, the direction of opening dorsad body is provided with through hole 1121 on the second shell wall 112, mobile terminal also includes the first detection Shell fragment 20, second detects shell fragment 30 and processor 40;First detection shell fragment 20 includes installation portion 21, the waterproof portion 22 being sequentially connected With transport part 23, the one end of installation portion 21 away from waterproof portion 22 is packed on the outer wall of the second shell wall 112, and waterproof portion 22 is movable Ground is installed in through hole 1121, and transport part 23 is located at outside shell 11;Second detection shell fragment 30 is located at outside shell 11, and positioned at close Outside the side of second shell wall 112, transport part 23 is located between the second shell wall 112 and the second detection shell fragment 30, and transport part 23 is the It is separated during one state with the second detection shell fragment 30, transport part 23 is in contact in the second state with the second detection shell fragment 30;Its In, first state is the state that USB female seats are not inserted into USB device 100;Second state is that USB female seats insert USB device 100 State;Processor 40 is connected with the second detection shell fragment 30, and whether processor 40 is used to be examined with second according to the second detection shell fragment 30 Survey shell fragment 30 to be in contact, to control electricity under electric on the first pin or the first pin of control.
In the present embodiment, referring to Fig. 2, when mobile terminal is in first state, waterproof portion 22 is installed on through hole 1121 It is interior, through hole 1121 is blocked, can prevent that liquid from entering, transport part 23 is separated with the second detection shell fragment 30, and the first pin is low Level;Referring to Fig. 3, when mobile terminal is in the second state, USB device 100 pushes waterproof portion 22, and the top of waterproof portion 22 is opened, Waterproof portion 22 is movable in through hole 1121, and activity is to another position but continues to be installed in through hole 1121, can continue to prevent liquid Body enters, and transport part 23 is in contact with the second detection shell fragment 30, and processor 40 detects the detection of transport part 23 and second shell fragment 30 It is in contact, electricity on the first pin of control.It can be seen that, the mobile terminal in the present embodiment can not only prevent that liquid from entering, also significantly The first pin electrification time is reduced, so that avoiding USB is entered corrosion, makes OTG function false triggerings, or damage USB port, or even influence the phenomenon of the normal work of whole equipment.
Referring to Fig. 2, the second shell wall 112 is vertical and adjacent with the first shell wall 111, so that USB device 100 inserts USB female seats When, waterproof portion 22 can be ejected.
First detection shell fragment 20 may include various structures, for example, installation portion 21 is strip, it is convex that waterproof portion 22 includes first Block, transport part 23 includes the second projection, and the protrusion direction of the first projection is towards inside shell 11, the protrusion direction court of the second projection To the outside of shell 11.Strip is easy to fix one end, and the movable other end, the first projection can be installed in through hole 1121, and second is convex Block can be in contact with the second detection shell fragment 30.
Referring to Fig. 2 and Fig. 3, and for example:Installation portion 21 is strip, and waterproof portion 22 is the first circular arc, and transport part 23 is second Circular arc, the first circular arc is more suitable in through hole 1121 to the outer bend of shell 11, the second circular arc to bending inside shell 11, circular arc Activity, and preferably can be engaged with through hole 1121, to improve water proofing property.
Referring to Fig. 2, it is necessary to which explanation, end 211 of the installation portion 21 away from waterproof portion 22 can pass through a variety of sides such as gluing Formula is packed on the second shell wall 112.
Referring to Fig. 5, processor 40 can optionally control electric or lower electricity, on the premise of being realized with assurance function, Reduce power-on time as far as possible.Optionally, processor 40 includes:First detection unit 41, the first detection unit 41 is used to detect the Whether two detection shell fragments 30 are in contact with transport part 23;Upper electric control unit 42, upper electric control unit 42 is used in the first detection When unit 41 detects the second detection shell fragment 30 and is in contact with transport part 23, electricity on the first pin of control;Second detection unit 43, Second detection unit 43 is used to control on the first pin after electricity in upper electric control unit 42, and whether detection USB female seats have OTG equipment Insertion;Lower electric control unit 44, lower electric control unit 44 is used to not detect the insertion of OTG equipment in the second detection unit 43 When, control electricity under the first pin.
The processor 40 of said structure can be further determined whether as OTG equipment when there is the insertion of USB device 100, It is defined as after OTG equipment, just continues upper electricity, but if not being OTG equipment, electricity can be descended again, USB device 100 is inserted next time for wait Enter, it is seen that reasonably control electric, lower electricity.
Referring to Fig. 5, further, in order to improve the performance of mobile terminal, it is to avoid influenceing OTG equipment just because recognizing mistake Situation about often using, processor 40 may also include:The timing unit 45 being connected with the second detection unit 43, timing unit 45 is used for When the second detection unit 43 does not detect the insertion of OTG equipment, start timing, meter arrives preset time;With the second detection unit 43 execution units 46 being connected with timing unit 45, execution unit 46 is used for after timing unit 45 starts timing, control the Two detection units 43 repeat detection USB female seats whether have OTG equipment insertion, until detect USB female seats have OTG equipment insert or Untill person stops timing;The zero unit 47 being connected with execution unit 46 and timing unit 45, zero unit 47 is used to perform When unit 46 controls the stopping detection of the second detection unit 42, the timing for the timing unit 45 that is zeroed.
When the second detection unit 42 is detected as no OTG equipment insertion, timing unit 45 sets a period, will examine Survey is changed into delay detection, within this period, if again without OTG equipment is detected, can be concluded that and set for no OTG It is standby, so as to control lower electricity.But if within the time period, detecting OTG equipment, then continue upper electricity.The timing unit 45, when the second detection unit 42 is detected as no OTG equipment insertion first, just start timing, and timing unit 45 is second When detection unit 43 stops detection, meeting auto zero timing, the timing of timing unit 45 can probably be divided into two kinds of situations, the first Situation is never to detect OTG equipment, auto zero after the timing of timing unit 45 to the scheduled time;Second of situation be OTG equipment, the current timing auto zero of timing unit 45 are detected in the scheduled time.
Referring to Fig. 4, in the present embodiment, the first detection shell fragment 20 is grounded, the second detection shell fragment 30 and voltage signal source 50 Connection, pull-up resistor 60 is connected between the second detection shell fragment 30 and voltage signal source 50.
Preferably, voltage signal source 50 is high voltage signal source, and high voltage signal source can be power supply or high level General I/O port (General Purpose Input Output, abbreviation GPIO) etc..
In summary, when USB female seats are idle condition (first state), the first pin adds low level;When in USB female seats It is the first pin in upper electricity when having the insertion of OTG equipment;Extract after OTG equipment, lower electricity is low level to the first pin again, is waited The insertion of next USB device 100;So as to greatly reduce the first pin powered time, prevent that USB port is short-circuited corrosion.
Embodiment two
Referring to Fig. 6, a kind of method of anti-OTG false triggerings is present embodiments provided, it is adaptable to the movement in above-described embodiment Terminal, including:
Step S1:Detection second detects whether shell fragment 30 is in contact with transport part 23.
When USB female seats have USB device insertion, transport part 23, can be with the second detection under the drive of the activity of waterproof portion 21 Shell fragment 30 is in contact, therefore in this step, can be detected by detection second shell fragment 30 whether be in contact with transport part 23 come Determine whether that USB device is inserted.
It is corresponding, the step for can be completed by the first detection unit 41 in embodiment one.
Step S2:When detecting the second detection shell fragment 30 and being in contact with transport part 23, electricity on the first pin of control.
In this step, after USB device has been detected, the first pin is changed into high level from low level, to realize shifting The correlation function of dynamic terminal.
It is corresponding, the step for can be completed by the upper electric control unit 42 in embodiment one.
Step S3:On the first pin is controlled after electricity, whether detection USB female seats have the insertion of OTG equipment.
In this step, whether be OTG equipment, in order to further control level, reduce as far as possible if need to determine USB device The electrification time of first pin.
It is corresponding, the step for can be completed by the second detection unit 43 in embodiment one.
Step S4:When not detecting the insertion of OTG equipment, electricity under the first pin of control.
In this step, in the case where not being OTG equipment, recover low level, reduce the electrification time of the first pin.
It is corresponding, the step for can be completed by the lower electric control unit 44 in embodiment one.
In the present embodiment, when there is USB device to insert USB female seats, electricity on the first pin is just controlled, and in USB device When not being OTG equipment, control the first pin under electricity, it is seen then that the method in the present embodiment greatly reduce the first pin it is powered when Between, so that avoiding USB is entered corrosion, make OTG function false triggerings, or USB port is damaged, or even influence is entirely set The phenomenon of standby normal work.
Referring to Fig. 6, further, it may include between step S3 and step S4:
Step S5:When not detecting the insertion of OTG equipment, start timing, meter arrives preset time.
In this step, when not detecting OTG equipment, a period is set, to realize delay detection, is improved Accuracy rate, it is ensured that the realization of OTG functions.
It is corresponding, the step for can be completed by the timing unit 45 in embodiment one.
Step S6:After timing is started, repeat whether detection USB female seats have the insertion of OTG equipment, it is female until detecting USB Untill seat has OTG equipment to insert or stops timing.
In this step, it is contemplated that two kinds of situations:First, really without the insertion of OTG equipment;2nd, do not detect for the first time To OTG equipment.For situation one, detection is stopped after preset time;For situation two, detect and stop detection after OTG equipment.
It is corresponding, the step for can be completed by the execution unit 46 in embodiment one.
Step S7:When stopping detection, timing of being zeroed.
The step in, complete detection after timing be zeroed, it is ensured that this timing do not affect next time timing.
It is corresponding, the step for can be completed by the zero unit 47 in embodiment one.
In this scheme, can be delayed detection OTG equipment, it is to avoid the probability of wrong identification, in the same of protection USB port When, it is ensured that the normal of OTG functions is used.
Particularly, each step in the present embodiment can be completed by the corresponding part in embodiment one, therefore, embodiment Corresponding part of the beneficial effect in embodiment two in one can be achieved, and will not be repeated here.
In the description of the invention, the first pin is USB_ID pins.
It should be noted that in the description of the invention, unless otherwise indicated, term " first ", " second ", " the 3rd ", Order, orientation or the position relationship of the instruction such as " the 4th ", " interior ", " outer ", " on ", " under ", "left", "right" are artificially defined Sequentially or based on orientation shown in the drawings or position relationship, it is for only for ease of the description present invention or becomes apparent from description, and It is not instruction or implies that signified structure or part there must be specific orientation, with specific azimuth configuration and operation, because This is not considered as limiting the invention.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with Between the difference of other embodiment, each embodiment identical similar part mutually referring to.For system embodiment For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.
Above to USB female seats provided herein and mobile terminal, it is described in detail, citing used herein Mode is set forth to the principle and embodiment of the application, and the explanation of above example is only intended to help and understands the application Method and its core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the application, in specific implementation It will change in mode and application, in summary, this specification content should not be construed as the limitation to the application.

Claims (10)

1. being provided with USB female seats on a kind of mobile terminal, including body, the body, the USB female seats include shell and peace Tongue piece in the shell, the first shell wall of the shell is provided with opening, the direction of the opening dorsad body, Through hole is provided with second shell wall, it is characterised in that
The mobile terminal also includes the first detection shell fragment, the second detection shell fragment and processor;
The first detection shell fragment includes installation portion, waterproof portion and the transport part being sequentially connected, and the installation portion is away from described anti- The one end in water portion is packed on the outer wall of second shell wall, and the waterproof portion is movably installed in the through hole, described Transport part is located at outside the shell;
The second detection shell fragment is located at outside the shell, and outside the side of close second shell wall, the transport part Between second shell wall and the second detection shell fragment, bullet is detected in the transport part in first state with described second Piece is separated, and the transport part is in contact in the second state with the described second detection shell fragment;Wherein, the first state is institute State the state that USB female seats are not inserted into USB device;Second state is the state that the USB female seats insert USB device;
The processor with described second detection shell fragment be connected, the processor be used for according to described second detect shell fragment whether with The second detection shell fragment is in contact, to control electricity under electric on the first pin or the first pin of control.
2. mobile terminal according to claim 1, it is characterised in that second shell wall it is vertical with first shell wall and It is adjacent.
3. mobile terminal according to claim 1, it is characterised in that the installation portion is strip, the waterproof portion bag The first projection is included, the transport part includes the second projection, and the protrusion direction of first projection is described towards the enclosure The protrusion direction of second projection is towards the housing exterior.
4. mobile terminal according to claim 1, it is characterised in that the installation portion is strip, and the waterproof portion is First circular arc, the transport part is the second circular arc, and first circular arc bends to the housing exterior, and second circular arc is to institute State enclosure bending.
5. mobile terminal according to claim 1, it is characterised in that the processor includes:
First detection unit, first detection unit is used to detect whether the second detection shell fragment connects with the transport part Touch;
Upper electric control unit, the upper electric control unit is used to detect the second detection shell fragment in first detection unit When being in contact with the transport part, electricity on the first pin of control;
Second detection unit, second detection unit is used for the electric control unit on described and controlled on the first pin after electricity, inspection Survey whether the USB female seats have the insertion of OTG equipment;
Lower electric control unit, the lower electric control unit is used to not detect the insertion of OTG equipment in second detection unit When, control electricity under the first pin.
6. mobile terminal according to claim 5, it is characterised in that the processor also includes:
The timing unit being connected with second detection unit, the timing unit is used to not examine in second detection unit When measuring the insertion of OTG equipment, start timing, meter arrives preset time;
The execution unit being connected with second detection unit and the timing unit, the execution unit is by based on described Shi Danyuan starts after timing, controls second detection unit to repeat to detect whether the USB female seats have the insertion of OTG equipment, directly Untill detecting the USB female seats and thering is OTG equipment to insert or stop timing;
The zero unit being connected with the execution unit and the timing unit, the zero unit is used for the execution unit When controlling the second detection unit stopping detection, the timing for the timing unit that is zeroed.
7. the mobile terminal according to any one of claim 1~6, it is characterised in that the second detection shell fragment and voltage Signal source is connected, and pull-up resistor is connected between the described second detection shell fragment and the voltage signal source.
8. the mobile terminal of anti-OTG false triggerings according to claim 7, it is characterised in that the voltage signal source is height Voltage signal source.
9. a kind of method of anti-OTG false triggerings, it is characterised in that the method for the anti-OTG false triggerings be applied to claim 1~ Mobile terminal described in 8 any one, methods described includes:
Detect whether the second detection shell fragment is in contact with the transport part;
It is electric on the first pin of control when detecting the second detection shell fragment and being in contact with the transport part;
On the first pin is controlled after electricity, detect whether the USB female seats have the insertion of OTG equipment;
When not detecting the insertion of OTG equipment, electricity under the first pin of control.
10. the method for anti-OTG false triggerings according to claim 9, it is characterised in that described on the first pin is controlled After electricity, after detecting whether the USB female seats have the step of OTG equipment is inserted, and described insert not detecting OTG equipment Fashionable, under the first pin of control before electric step, methods described also includes:
When not detecting the insertion of OTG equipment, start timing, meter arrives preset time;
After timing is started, repetition detects whether the USB female seats have the insertion of OTG equipment, has OTG until detecting USB female seats Untill equipment is inserted or stops timing:
When stopping detection, timing of being zeroed.
CN201710210919.7A 2017-03-31 2017-03-31 Mobile terminal and the method for anti-OTG false triggering Active CN106961044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210919.7A CN106961044B (en) 2017-03-31 2017-03-31 Mobile terminal and the method for anti-OTG false triggering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210919.7A CN106961044B (en) 2017-03-31 2017-03-31 Mobile terminal and the method for anti-OTG false triggering

Publications (2)

Publication Number Publication Date
CN106961044A true CN106961044A (en) 2017-07-18
CN106961044B CN106961044B (en) 2019-05-17

Family

ID=59483390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210919.7A Active CN106961044B (en) 2017-03-31 2017-03-31 Mobile terminal and the method for anti-OTG false triggering

Country Status (1)

Country Link
CN (1) CN106961044B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109326929A (en) * 2018-11-06 2019-02-12 深圳传音通讯有限公司 The method and human-computer interaction device of usb connecting port component and its detection
CN110098652A (en) * 2019-01-18 2019-08-06 青岛海信移动通信技术股份有限公司 A kind of mobile phone, mobile phone body device and mobile phone are continued a journey device
CN115242318A (en) * 2022-07-21 2022-10-25 维沃移动通信有限公司 Data transmission device, electronic equipment, filtering control method and control device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677143A (en) * 2008-09-19 2010-03-24 联想(北京)有限公司 Mobile terminal charging control method and mobile terminals
CN102548311A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Electronic equipment
CN104469008A (en) * 2014-12-11 2015-03-25 上海斐讯数据通信技术有限公司 Reminding method and device of mobile terminal and mobile terminal
CN105245671A (en) * 2015-10-13 2016-01-13 Tcl移动通信科技(宁波)有限公司 Mobile terminal, detecting device and method for plugging and unplugging of SD (Secure Digital) card thereof
KR20160043739A (en) * 2014-10-14 2016-04-22 주식회사 비엠에너지 Potable Power Supply Device
CN106412245A (en) * 2016-09-06 2017-02-15 青岛海信移动通信技术股份有限公司 Waterproof method for USB interface and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677143A (en) * 2008-09-19 2010-03-24 联想(北京)有限公司 Mobile terminal charging control method and mobile terminals
CN102548311A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Electronic equipment
KR20160043739A (en) * 2014-10-14 2016-04-22 주식회사 비엠에너지 Potable Power Supply Device
CN104469008A (en) * 2014-12-11 2015-03-25 上海斐讯数据通信技术有限公司 Reminding method and device of mobile terminal and mobile terminal
CN105245671A (en) * 2015-10-13 2016-01-13 Tcl移动通信科技(宁波)有限公司 Mobile terminal, detecting device and method for plugging and unplugging of SD (Secure Digital) card thereof
CN106412245A (en) * 2016-09-06 2017-02-15 青岛海信移动通信技术股份有限公司 Waterproof method for USB interface and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109326929A (en) * 2018-11-06 2019-02-12 深圳传音通讯有限公司 The method and human-computer interaction device of usb connecting port component and its detection
CN110098652A (en) * 2019-01-18 2019-08-06 青岛海信移动通信技术股份有限公司 A kind of mobile phone, mobile phone body device and mobile phone are continued a journey device
CN110098652B (en) * 2019-01-18 2021-05-07 青岛海信移动通信技术股份有限公司 Mobile phone, mobile phone main body device and mobile phone endurance device
CN115242318A (en) * 2022-07-21 2022-10-25 维沃移动通信有限公司 Data transmission device, electronic equipment, filtering control method and control device
CN115242318B (en) * 2022-07-21 2024-02-23 维沃移动通信有限公司 Data transmission device, electronic equipment, filtering control method and control device

Also Published As

Publication number Publication date
CN106961044B (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN102692570B (en) Imput output circuit
CN106961044A (en) Mobile terminal and the method for anti-OTG false triggerings
US9483093B2 (en) Electronic device and method for controlling a setting of a maximum consumption current
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
US20170248641A1 (en) Usb data pin impedance detection
CN101339981B (en) Accumulator with fuse protector
CN106537286B (en) OTG peripheral equipment, power supply method, terminal and system
CN103618356A (en) Charging system for mobile terminal and charging method thereof
CN101338995A (en) Electronic detonator control chip and its connection reliability checking method
US9965436B2 (en) Cost-effective device interface for data input and output
US20110193579A1 (en) Determination of physical connectivity status of devices based on electrical measurement
CN104272326B (en) Card burning preventing detecting device, terminal equipment, and card burning detecting and processing method
CN103024195A (en) Smart mobile terminal and implementation method of charging of smart mobile terminal
CN202798035U (en) Charging mode detection circuit and mobile terminal
JP2016167653A5 (en) Electronic device, magnetic sensor control method and program
CN102508171A (en) Device for detecting lithium battery
CN109326929A (en) The method and human-computer interaction device of usb connecting port component and its detection
CN104836290B (en) The detection method and detecting system that a kind of Mobile terminal charger insertion is extracted
US20230325034A1 (en) Proximity sensor and proximity sensing method
CN104077193A (en) Control method and electronic device
CN103166062A (en) Electronic device and connector thereof
CN104182020A (en) Single-port-based device and method for realizing bi-directional power supply
CN204883889U (en) Lock system that establishes by cable is tested in high tension switchgear non -contact
CN105322344B (en) Connector and gauging fixture
CN206147828U (en) Prevent tearing open circuit and code keypad

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