CN108052467A - A kind of interface self-adaption method, terminal and computer readable storage medium - Google Patents

A kind of interface self-adaption method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108052467A
CN108052467A CN201711207907.5A CN201711207907A CN108052467A CN 108052467 A CN108052467 A CN 108052467A CN 201711207907 A CN201711207907 A CN 201711207907A CN 108052467 A CN108052467 A CN 108052467A
Authority
CN
China
Prior art keywords
access
pin group
micro
usb interface
pin
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
CN201711207907.5A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711207907.5A priority Critical patent/CN108052467A/en
Publication of CN108052467A publication Critical patent/CN108052467A/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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of interface self-adaption method,Terminal and computer readable storage medium,For separated independently arranged USB interface in existing terminal,Earphone connects the hardware space of occupied terminal equipment,Caused by can not meet user to lightening demanding terminal,The problem of so as to influence user experience,The level state that this method passes through the ID pins of existing Micro usb interface units in detection terminal,The access state of the access device of the interface is identified according to the level state of the pin,Connect Micro usb interface units and corresponding function pattern pin in terminal,Different corresponding difference in functionality are realized according to different access devices so as to fulfill the Micro USB interfaces,It realizes and reduces the interface quantity of terminal so as to reduce the occupancy to mobile phone hardware space,Further realize the lightening of terminal,Improve user experience,Solves the hardware space of independently arranged interface occupied terminal equipment,Caused by terminal heavy the problem of influencing user experience.

Description

A kind of interface self-adaption method, terminal and computer readable storage medium
Technical field
The present invention relates to terminal interface field, more specifically to a kind of interface self-adaption method, terminal and computer Readable storage medium storing program for executing.
Background technology
As user is to the increasingly stronger preference of lightening terminal, terminal production firm will be more frivolous by producing Terminal win that user likes, so as to win the market in the competition of more and more fierceization, at present on the market it is most eventually The USB interface and earphone interface of end equipment be all it is separately independently arranged, what the two almost had in each terminal Many hardware spaces of occupied terminal are brought limitation by interface to the integration and miniaturization of terminal.
Therefore it provides a kind of multi-functional interface for the USB interface and earphone interface for merging terminal device, realizes reduction pair Occupancy, the terminal in mobile phone hardware space are further lightening to be a problem to be solved.
The content of the invention
The technical problem to be solved in the present invention is:Independently arranged USB interface, earphone connect occupied terminal in existing terminal The hardware space of equipment, caused by can not meet user to lightening demanding terminal, the problem of so as to influence user experience, for The technical problem provides a kind of interface self-adaption method, terminal and computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of interface self-adaption method, this method includes:
The level state of the ID pins of Micro-USB interface units in detection terminal;
According to the level state of ID pins, the access state of identification Micro-USB interface unit access devices;
According to the access state of Micro-USB interface unit access devices, the access tube of connection Micro-USB interface units The one of which functional mode pin group of foot group and Power Management Unit in terminal, Power Management Unit include at least two groups of functions Pattern pin group is respectively multifunctional mode pin group and earphone access function pattern pin group.
Optionally, the Power Management Unit in terminal further include interface function detection pin, interface function detection pin with The ID pins connections of Micro-USB interface units, the ID pins of Micro-USB interface units also connect with terminal upper switch unit The base pin selection connection of mouth function;
Detecting the level state of the ID pins of Micro-USB interface units includes:
Detect the level state of interface function detection pin of Power Management Unit or, the interface work(of detection switch unit The level state of energy base pin selection.
Optionally, according to the level state of ID pins, the access state bag of identification Micro-USB interface unit access devices It includes:
When the level state of ID pins is high level, the access state of Micro-USB interface unit access devices is identified At least one of connect for charge access, data access and sky;
When the level state of ID pins is low level, the access state of Micro-USB interface unit access devices is identified It is accessed for earphone;
According to the access state of Micro-USB interface unit access devices, the access tube of connection Micro-USB interface units Foot group in terminal the step of the one of which functional mode pin group of Power Management Unit with including:
When access state at least one of connects for access of charging, data access and sky, Micro-USB interface lists are connected The access pin group of member and multifunctional mode pin group;
When access state accesses for earphone, the access pin group and earphone that connect Micro-USB interface units access work( It can pattern pin group.
Optionally, the switch unit in terminal further includes:Switch access pin group, switch Multifunctional pin group, switch ear Machine access function pin group, switch access pin group are connected with the access pin group of Micro-USB interface units, and switch is multi-functional The multifunctional mode pin group of pin group and Power Management Unit connects, switch earphone access function pin group and power management list The earphone access function pattern pin group connection of member;
The access pin group of connection Micro-USB interface units includes with the step of multifunctional mode pin group:Connection is opened Close the switch access pin group and switch Multifunctional pin group in unit;
The access pin group of connection Micro-USB interface units includes with the step of earphone access function pattern pin group: Switch access pin group and switch earphone access function pin group in connecting valve unit.
Optionally, when the access pin group of Micro-USB interface units and the multifunctional mode pin of Power Management Unit During group connection, based on the circuit currently connected, one in shutdown charge mode, start charge mode, data-transmission mode is performed It plants functional mode or, performs start charge mode and data-transmission mode simultaneously;
When the access pin group of Micro-USB interface units and the earphone access function pattern pin group of Power Management Unit During connection, based on the circuit currently connected, earphone access function pattern is performed.
Further, the present invention also provides a kind of terminal, terminal includes processor, memory, communication bus, Micro- Usb interface unit and Power Management Unit;
Communication bus is used to implement the connection communication between processor and memory;
Processor is used to perform one or more program stored in memory, to realize following steps:
Detect the level state of the ID pins of Micro-USB interface units;
According to the level state of ID pins, the access state of identification Micro-USB interface unit access devices;
According to the access state of Micro-USB interface unit access devices, the access tube of connection Micro-USB interface units The one of which functional mode pin group of foot group and Power Management Unit, Power Management Unit include at least two groups of functional mode pipes Foot group is respectively multifunctional mode pin group and earphone access function pattern pin group.
Optionally, the Power Management Unit in terminal further include interface function detection pin, interface function detection pin with The ID pins connections of Micro-USB interface units, the ID pins of Micro-USB interface units also connect with terminal upper switch unit The base pin selection connection of mouth function;
Detecting the level state of the ID pins of Micro-USB interface units includes:
Detect the level state of interface function detection pin of Power Management Unit or, the interface work(of detection switch unit The level state of energy base pin selection.
Optionally, according to the level state of ID pins, the access state bag of identification Micro-USB interface unit access devices It includes:
When the level state of ID pins is high level, the access state of Micro-USB interface unit access devices is identified At least one of connect for charge access, data access and sky;
When the level state of ID pins is low level, the access state of Micro-USB interface unit access devices is identified It is accessed for earphone;
According to the access state of Micro-USB interface unit access devices, the access tube of connection Micro-USB interface units Foot group in terminal the step of the one of which functional mode pin group of Power Management Unit with including:
When access state at least one of connects for access of charging, data access and sky, Micro-USB interface lists are connected The access pin group of member and multifunctional mode pin group;
When access state accesses for earphone, the access pin group and earphone that connect Micro-USB interface units access work( It can pattern pin group.
Optionally, switch unit further includes:Switch access pin group, switch Multifunctional pin group, switch earphone access work( Can pin group, switch access pin group be connected with the access pin group of Micro-USB interface units, switch Multifunctional pin group and The multifunctional mode pin group connection of Power Management Unit switchs the earphone of earphone access function pin group and Power Management Unit Access function pattern pin group connects;
The access pin group of connection Micro-USB interface units includes with the step of multifunctional mode pin group:Connection is opened Close the switch access pin group and switch Multifunctional pin group in unit;
The access pin group of connection Micro-USB interface units includes with the step of earphone access function pattern pin group: Switch access pin group and switch earphone access function pin group in connecting valve unit.
Further, the present invention also provides a kind of computer readable storage medium, computer-readable recording medium storages There are one or multiple programs, one or more program can be performed by one or more processor, to realize connecing as above The step of mouth adaptive approach.
Advantageous effect
The present invention provides a kind of interface self-adaption method, terminal and computer readable storage medium, in existing terminal Separate the hardware space that independently arranged USB interface, earphone connect occupied terminal equipment, caused by can not meet user to lightening Demanding terminal the problem of so as to influence user experience, passes through the ID pins of existing Micro-USB interface units in detection terminal Level state identifies the access state of the access device of the interface according to the level state of the pin, connects Micro- in terminal Usb interface unit and corresponding function pattern pin, are realized not so as to fulfill the Micro-USB interfaces according to different access devices With corresponding difference in functionality, realize and reduce the interface quantity of terminal so as to realize that reduction is hard to mobile phone due to reducing interface quantity The occupancy in part space is further realized lightening, the raising user experience of terminal, is connect simultaneously as providing a kind of merging USB The multi-functional Micro-USB interfaces of mouth function and earphone interface function solve separated independently arranged USB in existing terminal and connect Mouthful, earphone connect the hardware space of occupied terminal equipment, caused by can not meet user to lightening demanding terminal, so as to influence to use The problem of family is experienced.
Description of the drawings
Below in conjunction with accompanying drawings and embodiments, the invention will be further described, in attached drawing:
The hardware architecture diagram of Fig. 1 each optional mobile terminals of embodiment one to realize the present invention.
Fig. 2 is the interface self-adaption method basic flow chart that first embodiment of the invention provides;
Fig. 3 is a kind of terminating circuit structural representation journey figure that first embodiment of the invention provides;
Fig. 4 is the first interface self-adaption method refined flow chart that second embodiment of the invention provides;
Fig. 5 is the first terminating circuit structural representation journey figure that second embodiment of the invention provides;
Fig. 6 is second of interface self-adaption method refined flow chart that third embodiment of the invention provides;
Fig. 7 is second of terminating circuit structural representation journey figure that third embodiment of the invention provides;
Fig. 8 is the third interface self-adaption method refined flow chart that fourth embodiment of the invention provides;
Fig. 9 is the third terminating circuit structural representation journey figure that fourth embodiment of the invention provides;
Figure 10 is the structure diagram for the terminal that fifth embodiment of the invention provides;
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (PersonalDigitalAssistant, PDA), portable matchmaker Body player (PortableMediaPlayer, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are mobile eventually The fixed terminals such as end and number TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special For moving outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (RadioFrequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, The components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that the movement shown in Fig. 1 Terminal structure does not form the restriction to mobile terminal, mobile terminal can include than illustrate more or fewer components or Combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication Standard or agreement include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile telecommunications system System), GPRS (GeneralPacketRadioService, general packet radio service), CDMA2000 (CodeDivisionMultipleAccess2000, CDMA 2000), WCDMA (WidebandCodeDivisionMultipleAccess, wideband code division multiple access), TD-SCDMA (TimeDivision- SynchronousCodeDivisionMultipleAccess, TD SDMA), FDD-LTE (FrequencyDivisionDuplexing-LongTermEvolution, frequency division duplex Long Term Evolution) and TDD-LTE (TimeDivisionDuplexing-LongTermEvolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need It to be omitted in the scope of essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, by radio frequency unit 101 or WiFi module 102 it is receiving or The voice data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (GraphicsProcessingUnit, GPU) 1041 and microphone 1042, graphics processor 1041 in video acquisition mode or The static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) are handled. Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can store It is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Microphone 1042 can receive in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can be with The form output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.Wheat Gram wind 1042 can implement various types of noises and eliminate (or inhibition) algorithms to send and receive audio to eliminate (or inhibition) The noise generated during signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode may be employed Forms such as (OrganicLight-EmittingDiode, OLED) configure display panel 1061.
User input unit 107 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can To realize touch panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc. One or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) be connected with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also be included to the power supply 111 (such as battery) of all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
First embodiment
The interface self-adaption method of the present invention realizes that terminal shown in Fig. 3 includes based on terminating circuit shown in Fig. 3 Micro-USB interface units, Power Management Unit, switch unit.
Referring to Fig. 3, GND pins shown in figure are ground terminal, and VCC is power end;Micro-USB interfaces shown in figure Unit (Micro-USB ends) includes ID pins, power pin Vbus, ground pin GND, identification pin ID, differential signal pin DP and differential signal pin DM compositions, wherein, power pin Vbus, ground pin GND, identification pin ID, differential signal pin The access pin group of DP and differential signal pin DM composition Micro-USB interface units.
It is provided in the present invention in terminating circuit as shown in Figure 3, Power Management Unit (PMIC) includes Mic_in, HPH_ REF, HS_L, HS_R pin, this four pins are respectively microphone input pin, ground pin, L channel pin, right channel pipe Foot forms earphone access function pattern pin group by this four pins;Power Management Unit further includes Vbus, GND, DP, DM pipe Foot, this four pins are respectively power pin Vbus, ground pin GND, differential signal pin DP and differential signal pin DM, by This four pin composition composition multifunctional mode pin groups;Power Management Unit further include HS_DET pins, LX_1V8 pins, GPIO_X pins, these three pins are respectively that interface function detects pin, 1.8V power supply output feet, general I/O port Pin, the high level of GPIO_X outputs is 3.3V, low level 0V.
Switch unit (switch) as shown in Figure 3 is equivalent to single-pole double-throw switch (SPDT), can be realized inside switch unit The switching of circuit, in the present embodiment, the switch unit include SEL pins, that is, interface function base pin selection and D1, D2, D3, D4, DA1, DA2, DA3, DA4, DB1, DB2, DB3, DB4 totally 12 pins, wherein, the composition switch access of D1, D2, D3, D4 pin Pin group;DA1, DA2, DA3, DA4 pin composition switch Multifunctional pin group, DB1, DB2, DB3, DB4 pin composition switch ear Machine access function pin group;The supply voltage of switch unit includes at least 1.8V.
1V8LDO power modules are further included in the terminating circuit provided in Fig. 3, resistance R1, R2 are further included in circuit, this two The resistance value of a resistance can be 10K resistance, and N-channel depletion type MOS tube, i.e. NMOS are further included in the terminating circuit provided in Fig. 3 Pipe Q1, Q2, Q3, NMOS tube Q1 cut-in voltages Vgs (th) scope be 0.5V~1.0V, NMOS tube Q2 cut-in voltages Vgs (th) model It encloses for 0.5V~2.5V, NMOS tube Q3 cut-in voltages Vgs (th) scope is 0.5V~3.5V, therefore NMOS tube Q1, Q2, Q3 can lead to With selecting device of cut-in voltage Vgs (th) scopes for 0.5V~1.0V.
The connection relation of each pin and each period difference are as follows in Fig. 3:
Mic_in, HPH_REF, HS_L, HS_R pin of Power Management Unit be respectively connected to switch unit DB1, DB2, DB3, DB4 pin;Vbus, GND, DP, DM pin are respectively connected to DA1, DA2, DA3, DA4 pin of switch unit;HS_ DET pins are connected to the ID pins of Micro-USB interface units,
D1, D2, D3, D4, SEL pin of switch unit be respectively connected to Vbus, GND of MicroUSB connectors, DP, DM, ID pin.
The drain electrode of NMOS tube Q1, grid, source electrode respectively with the LX_1V8 pins of switch unit, Power Management Unit GPIO_X, the VCC pins of switch unit are connected.
The grid of NMOS tube Q2 and the GPIO_X pins of Power Management Unit connect, and the source electrode of Q2 is connected to the GND of terminal Pin, the drain electrode of Q2 are connected to the grid of the Vbus and NMOS tube Q3 of MicroUSB by pull-up resistor R1,
The source electrode of NMOS tube Q3 is connected to the VCC pins of switch unit, and the drain electrode of Q3 is connected to 1V8LDO power modules Output pin, the input pin of 1V8LDO power modules are connected to the Vbus of MicroUSB.
Based on circuit shown in Fig. 3, the basic procedure of the interface self-adaption method of offer of the invention was as shown in Fig. 2, should Method includes:
The level state of the ID pins of Micro-USB interface units on S201, detection terminal.
In the present embodiment, due to the ID pins interface work(with power management module respectively of Micro-USB interface units The interface function base pin selection connection of pin, switch unit can be detected, therefore, detects the ID pins of Micro-USB interface units Level state include:
Detect the level state of interface function detection pin of Power Management Unit or, the interface work(of detection switch unit The level state of energy base pin selection.
S202, the level state according to ID pins identify the access state of Micro-USB interface unit access devices.
S203, the access state according to Micro-USB interface unit access devices, connection Micro-USB interface units Access the one of which functional mode pin group of pin group and Power Management Unit in terminal.
In the present embodiment, when the level state of ID pins is high level, identification Micro-USB interface unit accesses are set Standby access state at least one of connects for access of charging, data access and sky, at this point, connection Micro-USB interface units Access pin group and Power Management Unit multifunctional mode pin group, i.e., respectively connect Micro-USB interface units electricity Source capsule foot Vbus, ground pin GND, identification pin ID, differential signal pin DP, differential signal pin DM and Power Management Unit Power pin Vbus, ground pin GND, differential signal pin DP and differential signal pin DM,
In the present embodiment, when the access pin group of Micro-USB interface units and the multi-functional mould of Power Management Unit When formula pin group connects, based on the circuit currently connected, shutdown charge mode, start charge mode, data-transmission mode are performed In a kind of functional mode or, perform start charge mode and data-transmission mode simultaneously;
When the level state of ID pins is low level, the access state of Micro-USB interface unit access devices is identified It is accessed for earphone, at this point, the access pin group of connection Micro-USB interface units and earphone access function pattern pin group, i.e., The power pin Vbus of connection Micro-USB interface units, ground pin GND, identification pin ID, differential signal pin respectively Mic_in, HPH_REF, HS_L, HS_R pin of DP, differential signal pin DM and Power Management Unit.
In the present embodiment, when the access pin group of Micro-USB interface units and the earphone of Power Management Unit access When functional mode pin group connects, based on the circuit currently connected, earphone access function pattern is performed.
In some examples of the present embodiment, due to switch access pin group and the access tube of Micro-USB interface units Foot group connects, and the multifunctional mode pin group for switching Multifunctional pin group and Power Management Unit connects, switch earphone access work( The earphone access function pattern pin group of energy pin group and Power Management Unit connects, therefore can pass through the switch of single-pole double throw Unit realizes the access pin group of Micro-USB interface units and multifunctional mode pin group, the earphone work(of Power Management Unit Energy pattern pin group is connected, i.e. the step of access pin group of connection Micro-USB interface units is with multifunctional mode pin group Including:Switch access pin group and switch Multifunctional pin group in connecting valve unit;
The access pin group of connection Micro-USB interface units includes with the step of earphone access function pattern pin group: Switch access pin group and switch earphone access function pin group in connecting valve unit.
In the present embodiment, D1, D2, D3, D4 pin of switch unit are connected respectively with DA1, DA2, DA3, DA4 pin It connects, realizes switch access pin group and switch Multifunctional pin group in switch unit;D1, D2, D3, D4 of switch unit are managed Foot is connected respectively with DB1, DB2, DB3, DB4 pin, realizes switch access pin group and switch ear-phone function in switch unit Pin group is connected.
The present embodiment provides a kind of interface self-adaption method, for separated independently arranged USB interface, ear in existing terminal Machine connects the hardware space of occupied terminal equipment, caused by can not meet user to lightening demanding terminal, so as to influence user's body The problem of testing, by the level state of the ID pins of existing Micro-USB interface units in detection terminal, according to the electricity of the pin Level state identifies the access state of the access device of the interface, connects Micro-USB interface units and corresponding function mould in terminal Formula pin realizes different corresponding difference in functionality so as to fulfill the Micro-USB interfaces according to different access devices, and realization subtracts The interface quantity of few terminal is further realized so as to realize the occupancy reduced to mobile phone hardware space due to reducing interface quantity Lightening, the raising user experience of terminal.
Second embodiment
Fig. 4 is Micro-USB interface self-adaption methods refined flow chart provided in an embodiment of the present invention, and Fig. 5 is that terminal is During off-mode, the operating path schematic diagram of terminating circuit, in the present embodiment the interface self-adaption method include the following steps:
S401, charger insertion Micro-USB ports, terminal minimum system start.
When mobile terminal is in off-mode, Micro-USB ports are connected to charger, and terminal minimum system starts
S402,1V8LDO power module export 1.8V voltages.
The Vbus pins output 5V voltages of Micro-USB ports, and pass through 1V8LDO power modules conversion output 1.8V electricity Pressure.
S403, the cut-off of NMOS tube Q1, Q2, Q3 conductings, switch module powers on, and carries out continuous firing.
Since mobile terminal system does not get up at this time, i.e. GPIO_X outputs for low level, at this time NMOS tube Q1, Q2 by, But since the grid of NMOS tube Q3 is pulled to Vbus pins by R1 resistance, so when NMOS tube Q3 conducting, therefore 1V8LDO electricity The 1.8V voltages that source module exports are powered to switch unit.
S404, detection switch unit interface function base pin selection level state be high level.
When switch unit is completed after the power is turned on, the state of the SEL pins of detection switch unit, SEL pins are by R2 resistance at this time 1.8V power supplys are pulled to, therefore level state is high level.
S405, the switch access pin group of switch unit are connected with switch Multifunctional pin group.
That is DA1, DA2, DA3, DA4 pin of D1, D2, D3, D4 pin difference connecting valve unit of switch unit.
After S406, terminal minimum system start completion, shutdown charge protocol communication is carried out.
After mobile terminal minimum system gets up, charge protocol communication is carried out, sign off is afterwards according to charge protocol Content of Communication Current Voltage charges.
S407, based on the circuit currently connected, perform shutdown charge mode.
Micro-USB interfaces provided in this embodiment can give the level state of the SEL pins according to start-up unit, and identification is worked as The state of preceding terminal, so as to adaptive realization shutdown charge mode.
3rd embodiment
Fig. 6 is Micro-USB interface self-adaption methods refined flow chart provided in an embodiment of the present invention, and Fig. 7 is that terminal is During open state, the operating path schematic diagram of terminating circuit, in the present embodiment the interface self-adaption method include the following steps:
S601, charger insertion Micro-USB ports.
The GPIO_X pins output high level of S602, Power Management Unit.
When mobile terminal detection is in open state, GPIO_X is defaulted as high level.
S603, the conducting of NMOS tube Q1, Q2, Q3 cut-offs, switch module powers on, and carries out continuous firing.
Since GPIO_X is defaulted as high level, NMOS tube Q2 is turned on, because NMOS tube Q2 is turned on, therefore NMOS tube Q3 Grid is pulled low, so NMOS tube Q3 is by simultaneously because the output of GPIO_X pins is high level, NMOS tube Q1 is also switched on, electricity Source control unit is persistently powered by the 1.8V voltages that LX_1V8 is exported by NMOS tube Q1 to switch unit VCC.
S604, detection switch unit interface function base pin selection level state be high level.
When mobile terminal is connected to charger insertion, switch unit SEl pins are still high electricity by R2 resistance pull-up It is flat.
S605, the switch access pin group of switch unit is kept to be connected with switch Multifunctional pin group.
Switch unit still maintains existing Default Connected State, i.e., D1, D2, D3, D4 pin connect respectively DA1, DA2, DA3, DA4 pin.
S606, protocol communication is carried out data transmission.
S607, based on the circuit currently connected, perform data-transmission mode.
Micro-USB interfaces provided in this embodiment can give the level state of the SEL pins according to start-up unit, and identification is worked as The access state of preceding terminal, so as to adaptive realization data-transmission mode.
Fourth embodiment
Fig. 8 is Micro-USB interface self-adaption methods refined flow chart provided in an embodiment of the present invention, and Fig. 9 is terminal During earphone access state, the operating path schematic diagram of terminating circuit, the interface self-adaption method is including as follows in the present embodiment Step:
S801, earphone insertion Micro-USB ports.
The GPIO_X pins output high level of S802, Power Management Unit.
When mobile terminal detection is in open state, GPIO_X is defaulted as high level.
S803, the conducting of NMOS tube Q1, Q2, Q3 cut-offs, switch module powers on, and carries out continuous firing.
Since GPIO_X is defaulted as high level, NMOS tube Q2 is turned on, because NMOS tube Q2 is turned on, therefore NMOS tube Q3 Grid is pulled low, so NMOS tube Q3 is by simultaneously because GPIO_X outputs are high level, NMOS tube Q1 is also switched on, and PMIC leads to The 1.8V voltages for crossing LX_1V8 outputs are persistently powered by NMOS tube Q1 to switch unit VCC.
S804, detect Micro-USB interface units ID pins level state be low level.
When Micro-USB interfaces are inserted into earphone, Vbus, GND, DP, DM, ID pin difference of Micro-USB connectors MIC, GND, HS_L, HS_R, HS_DET pin of earphone are connected to, therefore when being inserted into earphone, the HS_DET signals of earphone connect HS_L is connected to, and GND signals are connected to by the loudspeaker of 32 Europe impedances in earphone section HS_L signals, so ID is managed on mainboard at this time The loudspeaker for the 32 Europe impedances that foot passes through HS_L are pulled down to GND signals, therefore the SEL pin signals of switch unit are changed by high level For low level.
Simultaneously because the HS_DET pins of Power Management Unit are connected to the ID pins of MicroUSB, therefore HS_DET pins are believed Number low level is also changed to by high level.
S805, the switch access pin group of switch unit are connected with switch ear-phone function pin group.
D1, D2, D3, D4 pin of switch unit connect DB1, DB2, DB3, DB4 pin respectively.
S806, earphone access module protocol communication is carried out.
S807, based on the circuit currently connected, perform earphone access function pattern.
S808, earphone extract Micro-USB ports.
S809, detect switch unit interface function base pin selection level state be low level.
S810, the switch access pin group of switch unit are connected with switch Multifunctional pin group.
When the SEL pins signal for detecting switch unit again is changed by low level to high level, the D1 of switch unit, D2, D3, D4 pin are connected respectively to DA1, DA2, DA3, DA4 pin.
S811, current access state connect for sky.
When the SEL pins signal for detecting switch unit again is changed by low level to high level, the D1 of switch unit, D2, D3, D4 pin connect DA1, DA2, DA3, DA4 pin respectively, and the HS_DET pins signal of Power Management Unit is by low electricity High level variation is put down, mobile terminal execution earphone transfers to flow.
Micro-USB interfaces provided in this embodiment can give the level state of the SEL pins according to start-up unit, and identification is worked as The access state of preceding terminal and earphone, so as to adaptive realization ear-phone function.
5th embodiment
The present embodiment additionally provides a kind of interface adaptive terminal, shown in Figure 10, the terminal include processor 101, Memory 102 and communication bus 103, wherein:
Communication bus 103 is used to implement the connection communication between processor 101 and memory 102;
Processor 101 is used to perform the one or more programs stored in memory 102, to realize following steps:
Detect the level state of the ID pins of the Micro-USB interface units;
According to the level state of the ID pins, the access state of the Micro-USB interface units access device is identified;
According to the access state of the Micro-USB interface units access device, the Micro-USB interface units are connected Access pin group and the Power Management Unit one of which functional mode pin group.
In the present embodiment, processor 101 is additionally operable to perform below the one or more programs execution stored in memory 102 Step:
Detect the level state of interface function detection pin of Power Management Unit or, the interface work(of detection switch unit The level state of energy base pin selection.
Processor further includes the one or more programs execution following steps for performing storage:
When the level state of the ID pins is high level, the Micro-USB interface units access device is identified Access state at least one of connects for access of charging, data access and sky, connects the access of the Micro-USB interface units Pin group and the multifunctional mode pin group based on the circuit currently connected, perform shutdown charge mode, start charging mould A kind of functional mode in formula, data-transmission mode or, start charge mode and data-transmission mode are performed simultaneously.
When the level state of the ID pins is low level, the Micro-USB interface units access device is identified Access state accesses for earphone, connects the access pin group of the Micro-USB interface units and the earphone access function mould Formula pin group based on the circuit currently connected, performs earphone access function pattern.
In practical applications, the connection of terminating circuit can be realized by switch unit, specifically, being performed by processor One or more programs of storage perform:Connect the switch access pin group and switch Multifunctional pin group in the switch unit Realize that the access pin group of Micro-USB interface units is connected with the circuit of multifunctional mode pin group
The switch access pin group connected in the switch unit realizes Micro- with switch earphone access function pin group The access pin group of usb interface unit is connected with the circuit of ear-phone function pattern pin group.
The present embodiment the present embodiment provides a kind of interface adaptive terminal, for it is existing separate independently arranged USB interface, Earphone connects the hardware space of occupied terminal equipment, caused by can not meet user to lightening demanding terminal, so as to influence user The problem of experience, provides a kind of multi-functional Micro-USB interfaces for merging usb function and earphone interface function, solves Separate independently arranged USB interface in existing terminal, earphone connects the hardware space of occupied terminal equipment, caused by can not meet User is to lightening demanding terminal, the problem of so as to influence user experience.
The present embodiment additionally provides computer readable storage medium and realizes interface self-adaption method, the computer-readable storage The program of media storage can realize following steps:
The level state of the ID pins of Micro-USB interface units in detection terminal;
According to the level state of the ID pins, the access state of identification Micro-USB interface unit access devices;
According to the access state of the Micro-USB interface units access device, the Micro-USB interface units are connected Access pin group and terminal on Power Management Unit one of which functional mode pin group.
In the present embodiment, the ID pins of Micro-USB interface units are examined respectively with the interface function of Power Management Unit Test tube foot, the interface function base pin selection of switch unit are connected, and processor further includes program and realizes detection Power Management Unit The level state of the level state of interface function detection pin and the interface function base pin selection of detection switch unit.
In the present embodiment, processor further includes the one or more programs execution following steps for performing storage:
When the level state of the ID pins is high level, the Micro-USB interface units access device is identified Access state at least one of connects for access of charging, data access and sky, connects the switch access tube in the switch unit Foot group realizes the electricity of the access pin group and multifunctional mode pin group of Micro-USB interface units with switch Multifunctional pin group Road connects, and based on the circuit currently connected, performs one kind in shutdown charge mode, start charge mode, data-transmission mode Functional mode or, start charge mode and data-transmission mode is performed simultaneously.
When the level state of the ID pins is low level, the Micro-USB interface units access device is identified Access state accesses for earphone, connects switch access pin group and switch earphone access function pin group in the switch unit Realize that the access pin group of Micro-USB interface units is connected with the circuit of ear-phone function pattern pin group, based on current connection Circuit, perform earphone access function pattern.
The present embodiment provides a kind of computer readable storage mediums for realizing interface adaptive, are separated in existing terminal Independently arranged USB interface, earphone connect the hardware space of occupied terminal equipment, caused by can not meet user to lightening terminal It is required that the problem of so as to influence user experience, by existing in the computer program detection terminal in computer readable storage medium There is the level state of the ID pins of Micro-USB interface units, the access for identifying the interface according to the level state of the pin is set Standby access state connects Micro-USB interface units and corresponding function pattern pin in terminal, so as to fulfill according to different Access device realizes different corresponding difference in functionality, reduces the interface quantity of terminal, and realizes and subtract due to reducing interface quantity It is few the occupancy of mobile phone hardware space to be made from mobile phone is more lightening, user experience higher.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) method that performs each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of interface self-adaption method, which is characterized in that the described method comprises the following steps:
The level state of the ID pins of Micro-USB interface units in detection terminal;
According to the level state of the ID pins, the access state of identification Micro-USB interface unit access devices;
According to the access state of the Micro-USB interface units access device, connecing for the Micro-USB interface units is connected Enter the one of which functional mode pin group of pin group and Power Management Unit in terminal, the Power Management Unit includes at least Two groups of functional mode pin groups are respectively multifunctional mode pin group and earphone access function pattern pin group.
2. interface self-adaption method as described in claim 1, which is characterized in that the Power Management Unit in the terminal is also wrapped Interface function detection pin is included, the interface function detection pin is connected with the ID pins of the Micro-USB interface units, institute Interface function base pin selection of the ID pins of Micro-USB interface units also with terminal upper switch unit is stated to be connected;
The level state of the ID pins of the detection Micro-USB interface units includes:
Detect the interface function choosing of the level state or, detection switch unit of the interface function detection pin of Power Management Unit Select the level state of pin.
3. interface self-adaption method as claimed in claim 2, which is characterized in that the level shape according to the ID pins State, identifying the access state of the Micro-USB interface units access device includes:
When the level state of the ID pins is high level, the access of the Micro-USB interface units access device is identified State at least one of connects for access of charging, data access and sky;
When the level state of the ID pins is low level, the access of the Micro-USB interface units access device is identified State accesses for earphone;
The access state according to the Micro-USB interface units access device connects the Micro-USB interface units Access pin group with including in terminal the step of the one of which functional mode pin group of Power Management Unit:
When the access state at least one of connects for access of charging, data access and sky, connect the Micro-USB and connect The access pin group and the multifunctional mode pin group of mouth unit;
When the access state accesses for earphone, the access pin group of the Micro-USB interface units and the ear are connected Machine access function pattern pin group.
4. interface self-adaption method as claimed in claim 3, which is characterized in that the switch unit in the terminal further includes: Switch access pin group, switch Multifunctional pin group, switch earphone access function pin group, the switch access pin group and institute State the access pin group connection of Micro-USB interface units, the switch Multifunctional pin group and the Power Management Unit Multifunctional mode pin group connects, the earphone access work(of the switch earphone access function pin group and the Power Management Unit It can the connection of pattern pin group;
The access pin group of the connection Micro-USB interface units is wrapped with the step of multifunctional mode pin group It includes:Connect the switch access pin group and switch Multifunctional pin group in the switch unit;
The step of the access pin group and the earphone access function pattern pin group of the connection Micro-USB interface units Suddenly include:Connect the switch access pin group and switch earphone access function pin group in the switch unit.
5. the interface self-adaption method as described in claim 3 or 4, which is characterized in that when the Micro-USB interface units When access pin group is connected with the multifunctional mode pin group of the Power Management Unit, based on the circuit currently connected, perform Shutdown charge mode, start charge mode, a kind of functional mode in data-transmission mode or, perform simultaneously start charging mould Formula and data-transmission mode;
When the earphone access function pattern pipe of the access pin group and the Power Management Unit of the Micro-USB interface units When foot group connects, based on the circuit currently connected, earphone access function pattern is performed.
6. a kind of terminal, which is characterized in that the terminal includes processor, memory, communication bus, Micro-USB interface lists Member and Power Management Unit;
The communication bus is used to implement the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize following steps:
Detect the level state of the ID pins of the Micro-USB interface units;
According to the level state of the ID pins, the access state of the Micro-USB interface units access device is identified;
According to the access state of the Micro-USB interface units access device, connecing for the Micro-USB interface units is connected Enter the one of which functional mode pin group of pin group and the Power Management Unit, the Power Management Unit includes at least two Group functional mode pin group is respectively multifunctional mode pin group and earphone access function pattern pin group.
7. terminal as claimed in claim 6, which is characterized in that the Power Management Unit in the terminal further includes interface function Pin is detected, the interface function detection pin is connected with the ID pins of the Micro-USB interface units, the Micro- Interface function base pin selection of the ID pins of usb interface unit also with terminal upper switch unit is connected;
The level state of the ID pins of the detection Micro-USB interface units includes:
Detect the interface function choosing of the level state or, detection switch unit of the interface function detection pin of Power Management Unit Select the level state of pin.
8. terminal as claimed in claim 7, which is characterized in that the level state according to the ID pins, described in identification The access state of Micro-USB interface unit access devices includes:
When the level state of the ID pins is high level, the access of the Micro-USB interface units access device is identified State at least one of connects for access of charging, data access and sky;
When the level state of the ID pins is low level, the access of the Micro-USB interface units access device is identified State accesses for earphone;
The access state according to the Micro-USB interface units access device connects the Micro-USB interface units Access pin group with including in terminal the step of the one of which functional mode pin group of Power Management Unit:
When the access state at least one of connects for access of charging, data access and sky, connect the Micro-USB and connect The access pin group and the multifunctional mode pin group of mouth unit;
When the access state accesses for earphone, the access pin group of the Micro-USB interface units and the ear are connected Machine access function pattern pin group.
9. terminal as claimed in claim 8, which is characterized in that the switch unit further includes:Switch access pin group, switch Multifunctional pin group, switch earphone access function pin group, the switch access pin group and the Micro-USB interface units The connection of access pin group, the multifunctional mode pin group of switch Multifunctional pin group and the Power Management Unit connects It connects, the switch earphone access function pin group is connected with the earphone access function pattern pin group of the Power Management Unit;
The access pin group of the connection Micro-USB interface units is wrapped with the step of multifunctional mode pin group It includes:Connect the switch access pin group and switch Multifunctional pin group in the switch unit;
The step of the access pin group and the earphone access function pattern pin group of the connection Micro-USB interface units Suddenly include:Connect the switch access pin group and switch earphone access function pin group in the switch unit.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or Multiple programs, one or more of programs can be performed by one or more processor, to realize such as claim 1 to 5 Any one of interface self-adaption method the step of.
CN201711207907.5A 2017-11-27 2017-11-27 A kind of interface self-adaption method, terminal and computer readable storage medium Pending CN108052467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711207907.5A CN108052467A (en) 2017-11-27 2017-11-27 A kind of interface self-adaption method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711207907.5A CN108052467A (en) 2017-11-27 2017-11-27 A kind of interface self-adaption method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108052467A true CN108052467A (en) 2018-05-18

Family

ID=62120593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711207907.5A Pending CN108052467A (en) 2017-11-27 2017-11-27 A kind of interface self-adaption method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108052467A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966085A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 adaptive audio circuit and mobile terminal
CN109218880A (en) * 2018-07-26 2019-01-15 上海与德通讯技术有限公司 Earphone charging two-in-one circuit and control method, terminal
CN110347438A (en) * 2019-07-16 2019-10-18 Oppo广东移动通信有限公司 Function selection method, function selection device and mobile terminal
CN111081307A (en) * 2019-11-26 2020-04-28 大连睿海信息科技有限公司 Storage medium detection method
CN111651392A (en) * 2020-05-21 2020-09-11 上海龙旗科技股份有限公司 Method, system and equipment for connecting wearable equipment
CN112468625A (en) * 2020-11-30 2021-03-09 维沃移动通信有限公司 Anti-distortion circuit, control method thereof and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100109749A1 (en) * 2008-11-04 2010-05-06 Chen Shih-An Signal transmission path selection circuit and method, and electronic device employing the circuit
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
US8064613B1 (en) * 2008-03-03 2011-11-22 Maxim Integrated Products, Inc. Electret microphone detection using a current source
CN103997552A (en) * 2014-05-22 2014-08-20 广东欧珀移动通信有限公司 Mobile phone mobile terminal and control method thereof
CN104023294A (en) * 2014-05-30 2014-09-03 广东欧珀移动通信有限公司 Interface multiplexing apparatus in terminal, and adaptor panel
CN104035357A (en) * 2014-06-27 2014-09-10 广东欧珀移动通信有限公司 Headset, charging and OTG equipment circuit design based on USB socket
CN104811866A (en) * 2015-04-28 2015-07-29 广东欧珀移动通信有限公司 Mobile terminal and control method thereof
CN104917880A (en) * 2015-04-28 2015-09-16 广东欧珀移动通信有限公司 Mobile terminal and control method thereof
CN105071795A (en) * 2015-08-17 2015-11-18 广东欧珀移动通信有限公司 Multiplex circuit based on USB interface
CN105512067A (en) * 2015-11-25 2016-04-20 上海创功通讯技术有限公司 Mobile terminal, port reuse circuit thereof and method
CN105635885A (en) * 2016-03-21 2016-06-01 青岛海信移动通信技术股份有限公司 USB interface multiplex circuit, mobile terminal and earphone

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8064613B1 (en) * 2008-03-03 2011-11-22 Maxim Integrated Products, Inc. Electret microphone detection using a current source
US20100109749A1 (en) * 2008-11-04 2010-05-06 Chen Shih-An Signal transmission path selection circuit and method, and electronic device employing the circuit
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN103997552A (en) * 2014-05-22 2014-08-20 广东欧珀移动通信有限公司 Mobile phone mobile terminal and control method thereof
CN104023294A (en) * 2014-05-30 2014-09-03 广东欧珀移动通信有限公司 Interface multiplexing apparatus in terminal, and adaptor panel
CN104035357A (en) * 2014-06-27 2014-09-10 广东欧珀移动通信有限公司 Headset, charging and OTG equipment circuit design based on USB socket
CN104811866A (en) * 2015-04-28 2015-07-29 广东欧珀移动通信有限公司 Mobile terminal and control method thereof
CN104917880A (en) * 2015-04-28 2015-09-16 广东欧珀移动通信有限公司 Mobile terminal and control method thereof
CN105071795A (en) * 2015-08-17 2015-11-18 广东欧珀移动通信有限公司 Multiplex circuit based on USB interface
CN105512067A (en) * 2015-11-25 2016-04-20 上海创功通讯技术有限公司 Mobile terminal, port reuse circuit thereof and method
CN105635885A (en) * 2016-03-21 2016-06-01 青岛海信移动通信技术股份有限公司 USB interface multiplex circuit, mobile terminal and earphone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966085A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 adaptive audio circuit and mobile terminal
CN108966085B (en) * 2018-06-28 2021-03-26 努比亚技术有限公司 Self-adaptive audio circuit and mobile terminal
CN109218880A (en) * 2018-07-26 2019-01-15 上海与德通讯技术有限公司 Earphone charging two-in-one circuit and control method, terminal
CN110347438A (en) * 2019-07-16 2019-10-18 Oppo广东移动通信有限公司 Function selection method, function selection device and mobile terminal
CN111081307A (en) * 2019-11-26 2020-04-28 大连睿海信息科技有限公司 Storage medium detection method
CN111651392A (en) * 2020-05-21 2020-09-11 上海龙旗科技股份有限公司 Method, system and equipment for connecting wearable equipment
CN111651392B (en) * 2020-05-21 2022-01-28 上海龙旗科技股份有限公司 Method, system and equipment for connecting wearable equipment
CN112468625A (en) * 2020-11-30 2021-03-09 维沃移动通信有限公司 Anti-distortion circuit, control method thereof and electronic equipment
CN112468625B (en) * 2020-11-30 2022-11-04 维沃移动通信有限公司 Anti-distortion circuit, control method thereof and electronic equipment

Similar Documents

Publication Publication Date Title
CN108052467A (en) A kind of interface self-adaption method, terminal and computer readable storage medium
CN110286865A (en) A kind of display methods and electronic equipment of touch screen
CN108712535A (en) Folding mobile terminal
CN109992231A (en) Throw screen method and terminal
CN108471234B (en) A kind of voltage control circuit and its control method, mobile terminal
CN107463481A (en) Data interactive method, mobile terminal and storage medium
CN108270919A (en) A kind of terminal brightness adjusting method, terminal and computer readable storage medium
CN107546808A (en) One kind charging identification circuit, recognition methods and terminal device
CN110012132A (en) A kind of flexibility screen assembly and flexible screen terminal
CN108966085A (en) adaptive audio circuit and mobile terminal
CN108874708A (en) OTG equipment, terminal charging method, mobile terminal and computer readable storage medium
CN108897516A (en) A kind of wearable device method for regulation of sound volume and Related product
CN107493362A (en) Mobile terminal
CN107678989A (en) UART and USB multiplex circuits and mobile terminal
CN107635069A (en) UART and USB multiplex circuits and mobile terminal
CN109713746A (en) A kind of charging circuit and charge control method, mobile terminal
CN207184575U (en) Cover plate assembly, housing unit and the terminal of terminal
CN108834013A (en) A kind of wearable device electric quantity balancing method and Related product
CN108600887A (en) Method of toch control based on wireless headset and Related product
CN107589899A (en) One kind notice display location method of adjustment, terminal and computer-readable recording medium
CN108009116A (en) MicroUSB interface circuits and its mobile terminal
CN108599300A (en) A kind of intelligence fills device, method and the electronic equipment of power-off
CN108429957A (en) TypeC earphones switching cable and wired earphone TypeC connection systems
CN108551500A (en) A kind of terminal, control circuit and its control method
CN109391739A (en) A kind of mobile terminal and call method

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

Application publication date: 20180518

RJ01 Rejection of invention patent application after publication