CN105100477A - Terminal prompt device and method - Google Patents

Terminal prompt device and method Download PDF

Info

Publication number
CN105100477A
CN105100477A CN201510452684.3A CN201510452684A CN105100477A CN 105100477 A CN105100477 A CN 105100477A CN 201510452684 A CN201510452684 A CN 201510452684A CN 105100477 A CN105100477 A CN 105100477A
Authority
CN
China
Prior art keywords
earpiece holes
external equipment
mobile terminal
access
information
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
CN201510452684.3A
Other languages
Chinese (zh)
Other versions
CN105100477B (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.)
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 CN201510452684.3A priority Critical patent/CN105100477B/en
Publication of CN105100477A publication Critical patent/CN105100477A/en
Application granted granted Critical
Publication of CN105100477B publication Critical patent/CN105100477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a terminal prompt device, and the device comprises a detection module which is used for detecting external equipment connected in an earphone hole of a mobile terminal; an obtaining module which is used for obtaining the recognition information of the external equipment connected in the earphone hole when the external equipment is detected to be connected into the earphone hole; and a prompt module which is used for outputting prompt information corresponding to the recognition information. The invention also discloses a terminal prompt method. The device and method enable the mobile terminal to carry out the access prompt operation of the earphone hole flexibly.

Description

Terminal notifying device and method
Technical field
The present invention relates to intelligent terminal technical field, particularly relate to a kind of terminal notifying device and method.
Background technology
At present, along with the development of intelligent terminal technology, the earpiece holes arranged as mobile terminals such as mobile phones has changed general data input/output interface into by special audio frequency input/output interface gradually, such as, earphone can be accessed earpiece holes and listen song by user, La Kala can also be accessed earpiece holes and carry out mobile-phone payment, keyboard special can also be accessed earpiece holes and carry out input through keyboard etc.
But, in prior art, as long as when mobile terminal detects that earpiece holes has external equipment to access, all carry out earpiece holes access prompting operation by the mode of the status bar display earphone icon at display interface, there is the problem of the earpiece holes access prompting malfunction of mobile terminal.
Summary of the invention
Main purpose of the present invention is to provide a kind of terminal notifying device and method, is intended to the problem of the earpiece holes access prompting malfunction solving mobile terminal.
For achieving the above object, the invention provides a kind of terminal notifying device, this terminal notifying device comprises:
Detecting module, for detecting the external equipment of the earpiece holes access of its place mobile terminal;
Acquisition module, for when having detected external equipment and having accessed described earpiece holes, has obtained the identifying information of the external equipment of access earpiece holes;
Reminding module, for exporting information corresponding to described identifying information.
Preferably, whether described detecting module also has process to communicate with default process for detecting, wherein, when the process of having detected communicates with described default process, has detected external equipment and has accessed described earpiece holes.
Preferably, described acquisition module also for obtaining the progress information carrying out the process communicated with described default process, and using the described progress information that the obtains identifying information of external equipment as the described earpiece holes of access.
Preferably, whether described detecting module also has the signal of telecommunication to input or output for detecting described earpiece holes, wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, has detected external equipment and has accessed described earpiece holes.
Preferably, described acquisition module also for obtaining the characteristic information of the described signal of telecommunication, and using the described characteristic information that the obtains identifying information of external equipment as the described earpiece holes of access.
In addition, for achieving the above object, the present invention also provides a kind of terminal notifying method, and this terminal notifying method comprises:
The external equipment of mobile terminal detecting earpiece holes access;
When having detected external equipment and having accessed described earpiece holes, the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes;
Described mobile terminal exports information corresponding to described identifying information.
Preferably, the step of the external equipment of described mobile terminal detecting earpiece holes access comprises:
Whether described mobile terminal detecting has process to communicate with default process, wherein, when the process of having detected communicates with described default process, has detected external equipment and has accessed described earpiece holes.
Preferably, described when having detected external equipment and having accessed described earpiece holes, the step of the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes comprises:
Described acquisition for mobile terminal carries out the progress information of the process communicated with described default process, and using the identifying information of the described progress information of acquisition as the external equipment of the described earpiece holes of access.
Preferably, the step of the external equipment of described mobile terminal detecting earpiece holes access comprises:
Whether described mobile terminal detects described earpiece holes has the signal of telecommunication to input or output, and wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, has detected external equipment and has accessed described earpiece holes.
Preferably, described when having detected external equipment and having accessed described earpiece holes, the step of the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes comprises:
The characteristic information of the signal of telecommunication described in described acquisition for mobile terminal, and using the identifying information of the described characteristic information of acquisition as the external equipment of the described earpiece holes of access.
The present invention is by when having detected external equipment access earpiece holes, based on the identifying information of the external equipment of the described earpiece holes of access, determine the function type of described external equipment, and then export corresponding information according to the function type determined, to carry out earpiece holes access prompting operation.Compared to prior art, no matter which kind of external equipment is earpiece holes access, all carried out the mode of earpiece holes access prompting operation by the mode of the status bar display earphone icon at display interface, the present invention can make mobile terminal carry out earpiece holes access prompting operation flexibly.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the high-level schematic functional block diagram of terminal notifying device first embodiment of the present invention;
Fig. 4 is earpiece holes testing circuit schematic diagram;
Fig. 5 is the schematic flow sheet of terminal notifying method first embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO ) the digit broadcasting system receiving digital broadcast of Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of terminal notifying device of the present invention is proposed.
With reference to Fig. 3, in the first embodiment of terminal notifying device of the present invention, described terminal notifying device comprises:
Detecting module 10, for detecting the external equipment of the earpiece holes access of its place mobile terminal;
The terminal notifying device that the present embodiment proposes can be applied in the earpiece holes access prompting operation of mobile terminal, such as, when earphone (or sound equipment) is accessed the earpiece holes of mobile terminal by user, mobile terminal presets earphone icon to show prompting in current display interface display; When La Kala to be accessed the earpiece holes of mobile terminal by user, mobile terminal presets paid icon to show prompting in current display interface display; When keyboard to be accessed the earpiece holes of mobile terminal by user, mobile terminal at current display interface display preset key tray icon to show prompting.It should be noted that, the mobile terminal described in the present embodiment can comprise the mobile terminal that mobile phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player) and guider etc. are provided with earpiece holes.
For the mobile terminal based on android system, in Android system, the access state in Test earphone hole is realized by broadcast, particularly, dynamic registration " android.intent.action.HEADSET_PLUG " broadcast in code, can by following codes implement:
After completing the registration that " android.intent.action.HEADSET_PLUG " broadcast, detecting module 10 listening broadcast in broadcastReceiver:
Wherein, state is that 0 expression earpiece holes does not have external equipment to access, and state is that 1 expression earpiece holes has external equipment to access.
Acquisition module 20, for when having detected external equipment and having accessed described earpiece holes, has obtained the identifying information of the external equipment of access earpiece holes;
In the present embodiment, when having detected external equipment and having accessed described earpiece holes, acquisition module 20 has obtained the identifying information of the external equipment of the described earpiece holes of access.Wherein, described identifying information is for characterizing the function type of described external equipment.Such as, identifying information " 1 " is used to represent as the audio class such as earphone, sound equipment external equipment, use identifying information " 2 " to represent as La Kala (hardware) etc. pays class external equipment, use identifying information " 3 " to represent as input class external equipments such as keyboards.
It should be noted that, external equipment is when by earpiece holes access mobile terminal, and mobile terminal all can run corresponding application program and coordinate with it, realizes hardware capability.Such as, run music class application program and coordinate with the earphone of access earpiece holes, the immersion realizing music is play; Run mobile-phone payment class application program to coordinate with the La Kala (hardware) of access earpiece holes, realize mobile-phone payment.Therefore, after detecting module 10 has detected external equipment access earpiece holes, acquisition module 20 determines the function type of the external equipment accessed by the function type of the application program obtaining the communication of its place mobile terminal current use earpiece holes, be about to the identifying information of functional type information as the external equipment of access earpiece holes of the application program of the current use earpiece holes communication obtained.
Reminding module 30, for exporting information corresponding to described identifying information.
In the present embodiment, get the identifying information of the external equipment accessing described earpiece holes at acquisition module 20 after, reminding module 30, based on the identifying information preset and the incidence relation of information, obtains the information that described identifying information is corresponding; And when getting information corresponding to described identifying information, export the described information obtained.Wherein, described information can comprise voice class information, image class information and vibration prompt information etc.Preferably, for all types of external equipments, reminding module 30 is previously provided with the information of corresponding at least one type.Such as, have external equipment to access detecting earpiece holes, and when the external equipment identifying access is audio class external equipment, reminding module 30 is exported " having audio frequency apparatus to access " by the mode of voice
Preferably, for image class information, be previously provided with the earphone icon of corresponding audio class external equipment, the paid icon of counterpart expenditure class external equipment and the keyboard icon of corresponding input class external equipment, such as, when earphone (or sound equipment) is accessed the earpiece holes of mobile terminal by user, reminding module 30 presets earphone icon to show prompting in the display of mobile terminal current display interface; When La Kala to be accessed the earpiece holes of mobile terminal by user, reminding module 30 presets paid icon to show prompting in the display of mobile terminal current display interface; When keyboard to be accessed the earpiece holes of mobile terminal by user, reminding module 30 at mobile terminal current display interface display preset key tray icon to show prompting.
The terminal notifying device that the present embodiment proposes, when having detected external equipment access earpiece holes, based on the identifying information of the external equipment of the described earpiece holes of access, determine the function type of described external equipment, and then export corresponding information according to the function type determined, to carry out earpiece holes access prompting operation.Compared to prior art, no matter which kind of external equipment is earpiece holes access, all carried out the mode of earpiece holes access prompting operation by the mode of the status bar display earphone icon at display interface, the present invention can make mobile terminal carry out earpiece holes access prompting operation flexibly.
Further, based on the first embodiment, second embodiment of terminal notifying device of the present invention is proposed, in the present embodiment, whether described detecting module 10 also has process to communicate with default process for detecting, wherein, when the process of having detected communicates with described default process, detected external equipment and accessed described earpiece holes.
With reference to Fig. 4, detect pin (in Fig. 4 left channel pin, AUDIOLEFT) and be connected with VCC by the pull-up resistor of 1K Ω, when not having external equipment to access earpiece holes, directly be connected with VCC owing to detecting pin, the voltage detecting pin will maintain an equal level with VCC, be " height " voltage; When outside equipment access earpiece holes, detection pin and other pin form performance loop, and the voltage detecting pin will be dragged down, and is " low " voltage, trigger GPIO and interrupt, and then triggering " android.intent.action.HEADSET_PLUG " is broadcasted.But this detection mode exists certain false detection probability, such as, foreign matter inserts and causes detecting short circuit between pin and GND, will drag down the voltage detecting pin, and then cause flase drop.
In view of this, the present embodiment proposes a kind of earpiece holes at software view access detection mode.Particularly, whether detecting module 10 is detected has process to communicate with default process, wherein, when the process of having detected communicates with described default process, identify current have external equipment access earpiece holes.Whether described detecting module 10 is detected has process and default process to carry out communicating and can carry out in real time, also can be to carry out after listening to " android.intent.action.HEADSET_PLUG " broadcast.
It should be noted that, the Interprocess Communication Mechanism of android system is Binder Interprocess Communication Mechanism, and Binder framework is by service end, and Binder drives and client three part is formed.Wherein service end and client are in user's space, and Binder drives and is in kernel spacing.
Server end, a Binder server end is exactly the object of a Binder class.When after establishment Binder object, a thread will be opened in inside, and this thread drives for receiving binder the information sent, and after receiving message, can perform relevant service code.
Binder drives, and after service end successfully creates a Binder object, Binder drives also can corresponding establishment mRemote object, and the type of this object is also Binder class.Client just can visit remote service by this mRemote object.
Client, client wants the remote service of accessing Binder, and the Binder object that just must obtain remote service drives the mRemote of layer correspondence to quote at binder.After getting the quoting of mRemote object, just can call the service of corresponding Binder object.
In sum, client drives the related service of calling service end by Binder.First, create a Binder object in service end, then corresponding Binder drive in create a Binder object, then client by obtain Binder drive in Binder object quote the service of calling service end.Drive by the assembly bind (adhesion) between different process together by Binder just in Binder mechanism, realize communication.
The purport that the present embodiment realizes is to detect the process of carrying out with the process of presetting communicating by the call-by mechanism principle of Binder.In the present embodiment, detecting module 10 realizes the Audio process of data input and output as described default process enforcement detecting using corresponding to earpiece holes, it will be understood by those skilled in the art that, if the application program such as music, mobile-phone payment is all embody with the form of process in system level, when user earphone accessed earpiece holes listen song time, realize based on the process of music application program and the communication of Audio process; When user La Kala accessed earpiece holes carry out mobile-phone payment time, realize based on the process of mobile-phone payment application program and the communication of Audio process.Therefore, when the process of having detected communicates with Audio process, can judge that current earphone hole has external equipment to access.
Further, in the present embodiment, described acquisition module 20 also for obtaining the progress information carrying out the process communicated with described default process, and using the described progress information that the obtains identifying information of external equipment as the described earpiece holes of access.
It should be noted that, the progress information described in the present embodiment is the information of sign process, comprises process name and process number.In the implementation of process, the process number of process is distributed when initialize process by system, a usual process is all different by the process number of each load and execution of system, considers the uncertainty of process number, the present embodiment preferably using process name as described progress information.
In android system, the process name of process is usually identical with the bag name of corresponding application program, such as, the process " com.lakala.android " by name of the La Kala (application program) of mobile-phone payment is realized, the process " com.duomi.android " by name of music class application program many meters of music by earpiece holes access external equipment.Based on the description of previous embodiment, it will be appreciated by persons skilled in the art that when detect be process and the Audio process communication of process by name " com.duomi.android " time, can judge that the external equipment that accesses in current earphone hole is as earphone; When detect be process and the Audio process communication of process by name " com.lakala.android " time, can judge that the external equipment that accesses in current earphone hole is as La Kala (hardware).Therefore, the present embodiment carries out the process name of the process communicated by what obtain with described default process, and the identifying information as the external equipment of access earpiece holes is realistic.
Further, based on the first embodiment, 3rd embodiment of terminal notifying device of the present invention is proposed, in the present embodiment, whether described detecting module 10 also has the signal of telecommunication to input or output for detecting described earpiece holes, wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, detect external equipment and accessed described earpiece holes.
The present embodiment also proposes a kind of earpiece holes at hardware view access detection mode.Particularly, whether detecting module 10 detects described earpiece holes has the signal of telecommunication to input or output, and wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, identifying currently has external equipment to access described earpiece holes.Whether described detecting module 10 detects described earpiece holes has the signal of telecommunication to input or output can to carry out in real time, also can be to carry out after listening to " android.intent.action.HEADSET_PLUG " broadcast.
It will be understood by those skilled in the art that, no matter be in simulation electronic field or in digital and electronic field, data are all transmit as electronic signals, such as, use the sinusoidal electric signals that the frequency in four cycles is 2KHz to represent " 1 ", use the sinusoidal electric signals that the frequency in two cycles is 1KHz to represent " 0 ".Therefore, when detecting earpiece holes and having the signal of telecommunication to input or output, illustrating currently has external equipment to carry out transfer of data by described earpiece holes and mobile terminal, the described earpiece holes that namely had external equipment to access.Wherein, the pin that the left channel pin comprised by earpiece holes the detection of the signal of telecommunication or R channel pin etc. can carry out transfer of data realizes.The present embodiment, can the access state in more accurate Test earphone hole by the I/O signal of telecommunication in Test earphone hole.
Further, in the present embodiment, described acquisition module 20 also for obtaining the characteristic information of the described signal of telecommunication, and using the described characteristic information that the obtains identifying information of external equipment as the described earpiece holes of access.
It should be noted that, as the external equipments such as earphone and La Kala (hardware) by earpiece holes access mobile terminal time, between itself and mobile terminal transfer of data based on modulation after the signal of telecommunication realize.And be realize by changing the frequency of base electrical signal, amplitude or phase place to the modulation of the signal of telecommunication, therefore, in the present embodiment using the frequency of the signal of telecommunication, amplitude and phase place as described characteristic information.To be carried out the characteristic information of the signal of telecommunication communicated by gathering external equipment in advance by earpiece holes and mobile terminal, and be stored to after the characteristic information of collection is associated with external equipment in default characteristic information data storehouse; During use, the signal of telecommunication is had to input or output detecting earpiece holes, and after getting the characteristic information of the described signal of telecommunication, each characteristic information in the characteristic information of acquisition and described characteristic information data storehouse is compared, described characteristic information data stock at characteristic information mate with the described characteristic information obtained time, i.e. the external equipment of the current access of earpiece holes described in the identifiable design external equipment associated by the characteristic information that mates with the described characteristic information of acquisition.Therefore, the characteristic information of the signal of telecommunication carrying out inputing or outputing based on described earpiece holes is realistic as the identifying information of external equipment of access earpiece holes by the present embodiment.
The present invention further provides a kind of terminal notifying method, with reference to Fig. 5, in the first embodiment of terminal notifying method of the present invention, described terminal notifying method comprises:
S10, the external equipment of mobile terminal detecting earpiece holes access;
The terminal notifying method that the present embodiment proposes can be applied in the earpiece holes access prompting operation of mobile terminal, such as, when earphone (or sound equipment) is accessed the earpiece holes of mobile terminal by user, mobile terminal presets earphone icon to show prompting in current display interface display; When La Kala to be accessed the earpiece holes of mobile terminal by user, mobile terminal presets paid icon to show prompting in current display interface display; When keyboard to be accessed the earpiece holes of mobile terminal by user, mobile terminal at current display interface display preset key tray icon to show prompting.It should be noted that, the mobile terminal described in the present embodiment can comprise the mobile terminal that mobile phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player) and guider etc. are provided with earpiece holes.
For the mobile terminal based on android system, in Android system, the access state in Test earphone hole is realized by broadcast, particularly, dynamic registration " android.intent.action.HEADSET_PLUG " broadcast in code, can by following codes implement:
After completing the registration that " android.intent.action.HEADSET_PLUG " broadcast, listening broadcast in broadcastReceiver:
Wherein, state is that 0 expression earpiece holes does not have external equipment to access, and state is that 1 expression earpiece holes has external equipment to access.
S20, when having detected external equipment and having accessed described earpiece holes, the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes;
In the present embodiment, when having detected external equipment and having accessed described earpiece holes, described acquisition for mobile terminal has accessed the identifying information of the external equipment of described earpiece holes.Wherein, described identifying information is for characterizing the function type of described external equipment.Such as, identifying information " 1 " is used to represent as the audio class such as earphone, sound equipment external equipment, use identifying information " 2 " to represent as La Kala (hardware) etc. pays class external equipment, use identifying information " 3 " to represent as input class external equipments such as keyboards.
It should be noted that, external equipment is when by earpiece holes access mobile terminal, and mobile terminal all can run corresponding application program and coordinate with it, realizes hardware capability.Such as, run music class application program and coordinate with the earphone of access earpiece holes, the immersion realizing music is play; Run mobile-phone payment class application program to coordinate with the La Kala (hardware) of access earpiece holes, realize mobile-phone payment.Therefore, mobile terminal is after having detected external equipment access earpiece holes, function type by the application program obtaining the communication of current use earpiece holes determines the function type of the external equipment accessed, and is about to the identifying information of functional type information as the external equipment of access earpiece holes of the application program of the current use earpiece holes communication obtained.
S30, described mobile terminal exports information corresponding to described identifying information.
In the present embodiment, after the identifying information getting the external equipment accessing described earpiece holes, described mobile terminal, based on the identifying information preset and the incidence relation of information, obtains the information that described identifying information is corresponding; And when getting information corresponding to described identifying information, export the described information obtained.Wherein, described information can comprise voice class information, image class information and vibration prompt information etc.Preferably, for all types of external equipments, be previously provided with the information of corresponding at least one type.Such as, mobile terminal has external equipment to access detecting earpiece holes, and when the external equipment identifying access is audio class external equipment, is exported " having audio frequency apparatus to access " by the mode of voice
Preferably, for image class information, be previously provided with the earphone icon of corresponding audio class external equipment, the paid icon of counterpart expenditure class external equipment and the keyboard icon of corresponding input class external equipment, such as, when earphone (or sound equipment) is accessed the earpiece holes of mobile terminal by user, mobile terminal presets earphone icon to show prompting in current display interface display; When La Kala to be accessed the earpiece holes of mobile terminal by user, mobile terminal presets paid icon to show prompting in current display interface display; When keyboard to be accessed the earpiece holes of mobile terminal by user, mobile terminal at current display interface display preset key tray icon to show prompting.
The terminal notifying method that the present embodiment proposes, when having detected external equipment access earpiece holes, based on the identifying information of the external equipment of the described earpiece holes of access, determine the function type of described external equipment, and then export corresponding information according to the function type determined, to carry out earpiece holes access prompting operation.Compared to prior art, no matter which kind of external equipment is earpiece holes access, all carried out the mode of earpiece holes access prompting operation by the mode of the status bar display earphone icon at display interface, the present invention can make mobile terminal carry out earpiece holes access prompting operation flexibly.
Further, based on the first embodiment, propose the second embodiment of terminal notifying method of the present invention, in the present embodiment, above-mentioned steps S10 comprises:
Whether described mobile terminal detecting has process to communicate with default process, wherein, when the process of having detected communicates with described default process, has detected external equipment and has accessed described earpiece holes.
With reference to Fig. 4, detect pin (in Fig. 4 left channel pin, AUDIOLEFT) and be connected with VCC by the pull-up resistor of 1K Ω, when not having external equipment to access earpiece holes, directly be connected with VCC owing to detecting pin, the voltage detecting pin will maintain an equal level with VCC, be " height " voltage; When outside equipment access earpiece holes, detection pin and other pin form performance loop, and the voltage detecting pin will be dragged down, and is " low " voltage, trigger GPIO and interrupt, and then triggering " android.intent.action.HEADSET_PLUG " is broadcasted.But this detection mode exists certain false detection probability, such as, foreign matter inserts and causes detecting short circuit between pin and GND, will drag down the voltage detecting pin, and then cause flase drop.
In view of this, the present embodiment proposes a kind of earpiece holes at software view access detection mode.Particularly, mobile terminal detecting whether have process to communicate with default process, wherein, when the process of having detected communicates with described default process, identify current have external equipment access earpiece holes.Whether described mobile terminal detecting has process and default process to carry out communicating and can carry out in real time, also can be to carry out after listening to " android.intent.action.HEADSET_PLUG " broadcast.
It should be noted that, the Interprocess Communication Mechanism of android system is Binder Interprocess Communication Mechanism, and Binder framework is by service end, and Binder drives and client three part is formed.Wherein service end and client are in user's space, and Binder drives and is in kernel spacing.
Server end, a Binder server end is exactly the object of a Binder class.When after establishment Binder object, a thread will be opened in inside, and this thread drives for receiving binder the information sent, and after receiving message, can perform relevant service code.
Binder drives, and after service end successfully creates a Binder object, Binder drives also can corresponding establishment mRemote object, and the type of this object is also Binder class.Client just can visit remote service by this mRemote object.
Client, client wants the remote service of accessing Binder, and the Binder object that just must obtain remote service drives the mRemote of layer correspondence to quote at binder.After getting the quoting of mRemote object, just can call the service of corresponding Binder object.
In sum, client drives the related service of calling service end by Binder.First, create a Binder object in service end, then corresponding Binder drive in create a Binder object, then client by obtain Binder drive in Binder object quote the service of calling service end.Drive by the assembly bind (adhesion) between different process together by Binder just in Binder mechanism, realize communication.
The purport that the present embodiment realizes is to detect the process of carrying out with the process of presetting communicating by the call-by mechanism principle of Binder.In the present embodiment, the Audio process of data input and output is realized as described default process enforcement detecting using corresponding to earpiece holes, it will be understood by those skilled in the art that, if the application program such as music, mobile-phone payment is all embody with the form of process in system level, when user earphone accessed earpiece holes listen song time, realize based on the process of music application program and the communication of Audio process; When user La Kala accessed earpiece holes carry out mobile-phone payment time, realize based on the process of mobile-phone payment application program and the communication of Audio process.Therefore, when the process of having detected communicates with Audio process, can judge that current earphone hole has external equipment to access.
Further, in the present embodiment, above-mentioned steps S20 comprises:
Described acquisition for mobile terminal carries out the progress information of the process communicated with described default process, and using the identifying information of the described progress information of acquisition as the external equipment of the described earpiece holes of access.
It should be noted that, the progress information described in the present embodiment is the information of sign process, comprises process name and process number.In the implementation of process, the process number of process is distributed when initialize process by system, a usual process is all different by the process number of each load and execution of system, considers the uncertainty of process number, the present embodiment preferably using process name as described progress information.
In android system, the process name of process is usually identical with the bag name of corresponding application program, such as, the process " com.lakala.android " by name of the La Kala (application program) of mobile-phone payment is realized, the process " com.duomi.android " by name of music class application program many meters of music by earpiece holes access external equipment.Based on the description of previous embodiment, it will be appreciated by persons skilled in the art that when detect be process and the Audio process communication of process by name " com.duomi.android " time, can judge that the external equipment that accesses in current earphone hole is as earphone; When detect be process and the Audio process communication of process by name " com.lakala.android " time, can judge that the external equipment that accesses in current earphone hole is as La Kala (hardware).Therefore, the present embodiment carries out the process name of the process communicated by what obtain with described default process, and the identifying information as the external equipment of access earpiece holes is realistic.
Further, based on the first embodiment, propose the 3rd embodiment of terminal notifying method of the present invention, in the present embodiment, above-mentioned steps S10 comprises:
Whether described mobile terminal detects described earpiece holes has the signal of telecommunication to input or output, and wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, has detected external equipment and has accessed described earpiece holes.
The present embodiment also proposes a kind of earpiece holes at hardware view access detection mode.Particularly, whether mobile terminal detects described earpiece holes has the signal of telecommunication to input or output, and wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, identifying currently has external equipment to access described earpiece holes.Whether described mobile terminal detects described earpiece holes has the signal of telecommunication to input or output can to carry out in real time, also can be to carry out after listening to " android.intent.action.HEADSET_PLUG " broadcast.
It will be understood by those skilled in the art that, no matter be in simulation electronic field or in digital and electronic field, data are all transmit as electronic signals, such as, use the sinusoidal electric signals that the frequency in four cycles is 2KHz to represent " 1 ", use the sinusoidal electric signals that the frequency in two cycles is 1KHz to represent " 0 ".Therefore, when detecting earpiece holes and having the signal of telecommunication to input or output, illustrating currently has external equipment to carry out transfer of data by described earpiece holes and mobile terminal, the described earpiece holes that namely had external equipment to access.Wherein, the pin that the left channel pin comprised by earpiece holes the detection of the signal of telecommunication or R channel pin etc. can carry out transfer of data realizes.The present embodiment, can the access state in more accurate Test earphone hole by the I/O signal of telecommunication in Test earphone hole.
Further, in the present embodiment, above-mentioned S20 comprises:
The characteristic information of the signal of telecommunication described in described acquisition for mobile terminal, and using the identifying information of the described characteristic information of acquisition as the external equipment of the described earpiece holes of access.
It should be noted that, as the external equipments such as earphone and La Kala (hardware) by earpiece holes access mobile terminal time, between itself and mobile terminal transfer of data based on modulation after the signal of telecommunication realize.And be realize by changing the frequency of base electrical signal, amplitude or phase place to the modulation of the signal of telecommunication, therefore, in the present embodiment using the frequency of the signal of telecommunication, amplitude and phase place as described characteristic information.To be carried out the characteristic information of the signal of telecommunication communicated by gathering external equipment in advance by earpiece holes and mobile terminal, and be stored to after the characteristic information of collection is associated with external equipment in default characteristic information data storehouse; During use, the signal of telecommunication is had to input or output detecting earpiece holes, and after getting the characteristic information of the described signal of telecommunication, each characteristic information in the characteristic information of acquisition and described characteristic information data storehouse is compared, described characteristic information data stock at characteristic information mate with the described characteristic information obtained time, i.e. the external equipment of the current access of earpiece holes described in the identifiable design external equipment associated by the characteristic information that mates with the described characteristic information of acquisition.Therefore, the characteristic information of the signal of telecommunication carrying out inputing or outputing based on described earpiece holes is realistic as the identifying information of external equipment of access earpiece holes by the present embodiment.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a terminal notifying device, is characterized in that, described terminal notifying device comprises:
Detecting module, for detecting the external equipment of the earpiece holes access of its place mobile terminal;
Acquisition module, for when having detected external equipment and having accessed described earpiece holes, has obtained the identifying information of the external equipment of access earpiece holes;
Reminding module, for exporting information corresponding to described identifying information.
2. terminal notifying device as claimed in claim 1, it is characterized in that, whether described detecting module also has process to communicate with default process for detecting, wherein, when the process of having detected communicates with described default process, detect external equipment and accessed described earpiece holes.
3. terminal notifying device as claimed in claim 2, it is characterized in that, described acquisition module also for obtaining the progress information carrying out the process communicated with described default process, and using the described progress information that the obtains identifying information of external equipment as the described earpiece holes of access.
4. terminal notifying device as claimed in claim 1, it is characterized in that, whether described detecting module also has the signal of telecommunication to input or output for detecting described earpiece holes, wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, detect external equipment and accessed described earpiece holes.
5. terminal notifying device as claimed in claim 4, is characterized in that, described acquisition module also for obtaining the characteristic information of the described signal of telecommunication, and using the described characteristic information that the obtains identifying information as the external equipment of the described earpiece holes of access.
6. a terminal notifying method, is characterized in that, described terminal notifying method comprises:
The external equipment of mobile terminal detecting earpiece holes access;
When having detected external equipment and having accessed described earpiece holes, the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes;
Described mobile terminal exports information corresponding to described identifying information.
7. terminal notifying method as claimed in claim 6, is characterized in that, the step of the external equipment of described mobile terminal detecting earpiece holes access comprises:
Whether described mobile terminal detecting has process to communicate with default process, wherein, when the process of having detected communicates with described default process, has detected external equipment and has accessed described earpiece holes.
8. terminal notifying method as claimed in claim 7, is characterized in that, described when having detected external equipment and having accessed described earpiece holes, and the step of the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes comprises:
Described acquisition for mobile terminal carries out the progress information of the process communicated with described default process, and using the identifying information of the described progress information of acquisition as the external equipment of the described earpiece holes of access.
9. terminal notifying method as claimed in claim 6, is characterized in that, the step of the external equipment of described mobile terminal detecting earpiece holes access comprises:
Whether described mobile terminal detects described earpiece holes has the signal of telecommunication to input or output, and wherein, when detecting described earpiece holes and having the signal of telecommunication to input or output, has detected external equipment and has accessed described earpiece holes.
10. terminal notifying method as claimed in claim 9, is characterized in that, described when having detected external equipment and having accessed described earpiece holes, and the step of the identifying information of the external equipment of described acquisition for mobile terminal access earpiece holes comprises:
The characteristic information of the signal of telecommunication described in described acquisition for mobile terminal, and using the identifying information of the described characteristic information of acquisition as the external equipment of the described earpiece holes of access.
CN201510452684.3A 2015-07-28 2015-07-28 Terminal notifying device and method Active CN105100477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510452684.3A CN105100477B (en) 2015-07-28 2015-07-28 Terminal notifying device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510452684.3A CN105100477B (en) 2015-07-28 2015-07-28 Terminal notifying device and method

Publications (2)

Publication Number Publication Date
CN105100477A true CN105100477A (en) 2015-11-25
CN105100477B CN105100477B (en) 2019-03-01

Family

ID=54579972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510452684.3A Active CN105100477B (en) 2015-07-28 2015-07-28 Terminal notifying device and method

Country Status (1)

Country Link
CN (1) CN105100477B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101391A (en) * 2016-06-01 2016-11-09 福建联迪商用设备有限公司 A kind of method solving the shake of Android phone microphone bias voltage
CN106325809A (en) * 2016-08-29 2017-01-11 厦门盈趣科技股份有限公司 Method and device for controlling reversible transmission based on audio stream
CN106550120A (en) * 2016-10-20 2017-03-29 惠州Tcl移动通信有限公司 Active adnexa detection process method and mobile terminal based on mobile terminal
CN107341122A (en) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 Equipment access processing method, equipment access processing unit and mobile terminal
CN108377291A (en) * 2018-01-29 2018-08-07 维沃移动通信有限公司 A kind of communication means and mobile terminal based on earphone interface
CN110111790A (en) * 2019-05-09 2019-08-09 青岛海信电器股份有限公司 Processing method, device and the equipment of the external equipment access of smart machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509109A (en) * 2002-12-16 2004-06-30 ���ǵ�����ʽ���� Protable terminal having multi-purpose earhhone socket
CN101431708A (en) * 2008-12-10 2009-05-13 深圳华为通信技术有限公司 Terminal and method for recognizing headphone type
CN104519405A (en) * 2013-10-08 2015-04-15 联想(北京)有限公司 Control method and electronic equipment
CN104794074A (en) * 2015-03-27 2015-07-22 小米科技有限责任公司 External connection device identification method and device
CN105718160A (en) * 2014-12-05 2016-06-29 上海智朴科技发展有限公司 Application operation triggering method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1509109A (en) * 2002-12-16 2004-06-30 ���ǵ�����ʽ���� Protable terminal having multi-purpose earhhone socket
CN101431708A (en) * 2008-12-10 2009-05-13 深圳华为通信技术有限公司 Terminal and method for recognizing headphone type
CN104519405A (en) * 2013-10-08 2015-04-15 联想(北京)有限公司 Control method and electronic equipment
CN105718160A (en) * 2014-12-05 2016-06-29 上海智朴科技发展有限公司 Application operation triggering method, apparatus and system
CN104794074A (en) * 2015-03-27 2015-07-22 小米科技有限责任公司 External connection device identification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无: "《大家插入耳机后顶部显示是什么图标》", 《HTTP://WENWEN.SOGOU.COM/Z/Q351650262.HTM》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101391A (en) * 2016-06-01 2016-11-09 福建联迪商用设备有限公司 A kind of method solving the shake of Android phone microphone bias voltage
CN106325809A (en) * 2016-08-29 2017-01-11 厦门盈趣科技股份有限公司 Method and device for controlling reversible transmission based on audio stream
CN106550120A (en) * 2016-10-20 2017-03-29 惠州Tcl移动通信有限公司 Active adnexa detection process method and mobile terminal based on mobile terminal
CN107341122A (en) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 Equipment access processing method, equipment access processing unit and mobile terminal
CN107341122B (en) * 2017-07-25 2019-08-27 Oppo广东移动通信有限公司 Equipment access processing method, equipment access processing unit and mobile terminal
CN108377291A (en) * 2018-01-29 2018-08-07 维沃移动通信有限公司 A kind of communication means and mobile terminal based on earphone interface
CN108377291B (en) * 2018-01-29 2020-05-12 维沃移动通信有限公司 Communication method based on earphone interface, mobile terminal and storage medium
CN110111790A (en) * 2019-05-09 2019-08-09 青岛海信电器股份有限公司 Processing method, device and the equipment of the external equipment access of smart machine

Also Published As

Publication number Publication date
CN105100477B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN104935747A (en) Processing method and device for application icon, and terminal
CN104883430A (en) Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105187521A (en) Service processing device and method
CN105100477A (en) Terminal prompt device and method
CN105389110A (en) Fast touch apparatus and method
CN104731512A (en) Method, device and terminal for sharing pictures
CN104954867A (en) Media playing method and device
CN105119825A (en) Data transmission device and data transmission method
CN104967744A (en) Method and device for adjusting terminal parameters
CN104850799A (en) Mobile terminal and method of hiding data in mobile terminal
CN104915215A (en) Icon recommending device and method
CN105094612A (en) Object selecting method and device
CN104820555A (en) Transverse and vertical screen modes switching method and device, and terminal
CN104993180A (en) Terminal charging method and device
CN104915111A (en) Method and device for operating and controlling terminal
CN105357367A (en) Keystroke identification device and method based on pressure sensor
CN104917891A (en) Mobile terminal and page-turning control method thereof
CN105100468A (en) Operating method and apparatus for mobile terminal
CN104731456A (en) Desktop widget display method and device
CN104951229A (en) Screen capturing method and device
CN104967949A (en) Sound effect adjusting method and device
CN105120054A (en) Information processing method and mobile terminal
CN104658535A (en) Voice control method and device
CN104661095A (en) Audio and video data recommendation method and system
CN105224647A (en) Image display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant