CN106210344A - A kind of call mode method to set up and mobile terminal - Google Patents
A kind of call mode method to set up and mobile terminal Download PDFInfo
- Publication number
- CN106210344A CN106210344A CN201610602839.1A CN201610602839A CN106210344A CN 106210344 A CN106210344 A CN 106210344A CN 201610602839 A CN201610602839 A CN 201610602839A CN 106210344 A CN106210344 A CN 106210344A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- described mobile
- state information
- movement state
- distance
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a kind of call mode method to set up and mobile terminal, the method includes: when detecting that mobile terminal is in talking state, if the earphone jack of mobile terminal is taken by external equipment, then detects the movement state information of mobile terminal;Judge whether movement state information meets the switching condition pre-set;When movement state information meets the switching condition pre-set, the audio frequency input and output mode of the call arranging mobile terminal is first mode;First mode be the receiver of mobile terminal as the microphone of audio output apparatus and mobile terminal as audio input device.The present invention solves mobile terminal in the case of earphone jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
Description
Technical field
The present invention relates to communication technical field, particularly to a kind of call mode method to set up and mobile terminal.
Background technology
Along with day by day popularizing of smart mobile phone, function abundant on smart mobile phone facilitates the life of people to a certain extent
Live.Earphone jack is as the common interface on mobile phone, on as the use function of earphone, also by various application programs (as
Mobile banking, mobile phone card-brushing application program etc.) effectively develop, use, use the mode of recording and playback, complete and intelligence
The data interaction of energy mobile phone external equipment (such as bank's mobile phone U-shield, mobile phone card reader).User is using these external equipments and is answering
When using program, owing to external equipment occupies earphone jack, and mobile phone is in the case of having earphone jack occupied, audio stream meeting
Preferentially it is routed to external equipment.Therefore when user uses these external equipments, if had telephone access, after closing of the circuit, logical
Words data will default route to external equipment, causing cannot normal talking.Although user can by pull out be inserted in earphone insert
It is manually switched to the mode of hands-free mode after external equipment on hole, or connection phone, normally receives calls, but pull out
External equipment and manual switching all can bring extra operation to user, and manual switching is also only switched into hands-free mode,
This is obviously to be unfavorable for protecting privacy of user.And in extreme circumstances, earphone jack is former due to feed liquor, short circuit, damage etc.
Cause, mobile phone terminal can be mistakenly considered have earphone to insert always, in this case user answer call can only be manually switched to hands-free
Pattern, otherwise cannot be carried out normal voice call, have impact on the normal experience of user, is also easily caused privacy of user
Reveal.
Summary of the invention
The invention provides a kind of call mode method to set up and mobile terminal, its purpose is to solve mobile terminal and exist
In the case of earphone jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
On the one hand, The embodiment provides a kind of call mode method to set up, including:
When detecting that mobile terminal is in talking state, if the earphone jack of mobile terminal is taken by external equipment, then
The movement state information of detection mobile terminal;
Judge whether movement state information meets the switching condition pre-set;
When movement state information meets the switching condition pre-set, the audio frequency input of the call arranging mobile terminal is defeated
Exit pattern is first mode;First mode is the receiver microphone work as audio output apparatus and mobile terminal of mobile terminal
For audio input device.
On the other hand, embodiments of the invention additionally provide a kind of mobile terminal, including:
Detection module, for when detecting that mobile terminal is in talking state, if the earphone jack of mobile terminal is by outward
Portion's hold facility, then detect the movement state information of mobile terminal;
Judge module, for judging whether movement state information meets the switching condition pre-set;
Handover module, for when movement state information meets the switching condition pre-set, arranges the logical of mobile terminal
The audio frequency input and output mode of words is first mode;First mode is that the receiver of mobile terminal is as audio output apparatus and shifting
The microphone of dynamic terminal is as audio input device.
So, the call mode method to set up of present invention offer and mobile terminal, by judging the motion shape of mobile terminal
When state information meets the switching condition pre-set, automatically switch to the receiver of mobile terminal as audio output apparatus and shifting
The microphone of dynamic terminal is as the first mode of audio input device, to avoid the earphone jack quilt of the mobile terminal when user's communication
When external equipment takies, communicating data will default route to external equipment, causing cannot the situation of normal talking;Avoid user
Extracting loaded down with trivial details to hands-free mode of external equipment or manual switching, the call improving user is experienced;The present invention solves mobile whole
Hold in the case of earphone jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 represents the basic step flow chart of the call mode method to set up that the first embodiment of the present invention provides;
Fig. 2 represents the block diagram of the mobile terminal that second embodiment of the invention provides;
Fig. 3 represents the block diagram of the mobile terminal that third embodiment of the invention provides;
Fig. 4 represents the structure chart of the mobile terminal that fourth embodiment of the invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The present invention is directed to existing problem, it is provided that a kind of call mode method to set up and mobile terminal.
First embodiment
Seeing Fig. 1, the first embodiment of the present invention provides a kind of call mode method to set up, including:
Step 101, when detecting that mobile terminal is in talking state, if the earphone jack of mobile terminal is by external equipment
Take, then detect the movement state information of mobile terminal.
Wherein, mobile terminal is in talking state and includes mobile terminal and the calling state that is in call of opposite end and shifting
Wait the other side when dynamic terminal actively initiates calling answers state;Specifically, mobile terminal is in call with calling opposite end
When state includes mobile terminal as calling subscribe, when initiating calling, call state and mobile terminal conduct that opposite end has been answered
During called subscriber, answer the state from the calling calling opposite end.
When the earphone jack of mobile terminal is taken by external equipment, external equipment can be bank's mobile phone U-shield, mobile phone brush
Card device etc., when mobile terminal is received incoming call or sends calling, the movement state information of detection mobile terminal;Such as, user is worked as
After when receiving incoming call, the movement state information that user's hand-held mobile terminal produces during shifting to ear.The present embodiment
Earphone jack is not limited to 3.5mm earpiece holes.Also include the situation utilizing USB port external 3.5mm earphone mouth, and USB port tool
The situation of standby earpiece holes function.
Step 102, it is judged that whether movement state information meets the switching condition pre-set.
Wherein, after mobile terminal produces movement state information, the switching condition having reached to pre-set need to be judged whether,
Such as it is merely creating motion by a small margin when user's hand-held mobile terminal, and does not meet the switching condition pre-set, then
Need not handoff calls pattern;Or in the case of earphone jack lost efficacy, mobile terminal may be mistakenly considered earphone jack quilt
Take, and call mode is set to headset mode by mistake, and in embodiments of the invention, the kinestate in conjunction with mobile terminal is believed
Breath, whether hand-held mobile terminal is answered near ear can to judge user accurately.
Step 103, when movement state information meets the switching condition pre-set, arranges the sound of the call of mobile terminal
Frequently input and output mode is first mode;First mode is that the receiver of mobile terminal is as audio output apparatus and mobile terminal
Microphone as audio input device.
Wherein, when movement state information meets the switching condition pre-set, arrange in the communication process of mobile terminal
Audio frequency input and output mode be first mode;When judge mobile terminal in the case of earphone jack is taken by external equipment,
User is answered by mobile terminal or calls, and mobile terminal meets above-mentioned switching condition and is switched to first mode
Time, using the receiver of mobile terminal itself as audio output apparatus, microphone is as audio input device, to ensure that user's is normal
Use.
Preferably, after step 102, the method also includes:
When movement state information does not meets the switching condition pre-set, keep the audio frequency of the current talking of mobile terminal
Input and output mode is constant.
Wherein, when movement state information is unsatisfactory for the switching condition pre-set, such as user's hand-held mobile terminal is only
Be to create motion by a small margin, then the audio frequency input and output mode keeping current talking is constant.
Preferably, movement state information includes: angular velocity that the angular-rate sensor of mobile terminal detects and movement
The distance signal that the range sensor of terminal detects.
Specifically, angular-rate sensor can be gyroscope.When user's hand-held mobile terminal is put in one's ear, movement can be caused
The change of terminal point produces certain angular velocity, and the change of this angular velocity can be detected by gyroscope.
Further, preset switching condition is that the distance signal detected according to range sensor judges to be arranged at movement
Distance between object and the range sensor in terminal front less than the angular velocity of the first predeterminable range and mobile terminal more than the
One default value;And the distance of the receiver of range sensor and mobile terminal is less than the second predeterminable range.
Wherein, switching condition need to be defined to the angular velocity of mobile terminal more than the first default value, it is to avoid mobile terminal goes out
Existing erroneous judgement;And the range sensor of mobile terminal need to judge the distance between object and the range sensor in mobile terminal front
Less than the first predeterminable range, then can regard as user and in call, maybe will enter talking state (mobile terminal actively initiates to exhale
Wait the other side when crying answers state) time, mobile terminal is moved to conversing in one's ear.Specifically, range sensor can be red
Outer sensor.
Preferably, movement state information includes: acceleration that the acceleration transducer of mobile terminal detects and movement
The distance signal that the range sensor of terminal detects.
Specifically, acceleration transducer can be gravity sensor.When user's hand-held mobile terminal is put in one's ear, can cause
Mobile terminal produces certain acceleration, and this acceleration change can be detected by gravity sensor and combine gravity sensitive
Device and range sensor, can identify the action of user's hand-held mobile terminal accurately.
Further, the switching condition pre-set is that the distance signal detected according to range sensor judges to be arranged at
Distance between object and the range sensor in mobile terminal front is big less than the acceleration of the first predeterminable range and mobile terminal
In the second default value;And the distance of the receiver of range sensor and mobile terminal is less than the second predeterminable range.
Wherein, switching condition need to be defined to mobile terminal acceleration more than the second default value, it is to avoid mobile terminal occurs
Erroneous judgement;And the range sensor of mobile terminal need to judge that the distance between object and the range sensor in mobile terminal front is little
In the first predeterminable range, then can regard as user in call, maybe will enter talking state (mobile terminal actively initiation calling
Time wait the other side answer state) time, mobile terminal is moved to conversing in one's ear.Specifically, range sensor can be infrared
Sensor.
In the above embodiment of the present invention, met the switching pre-set by the movement state information judging mobile terminal
During condition, automatically switch to the receiver of mobile terminal and input as audio frequency as the microphone of audio output apparatus and mobile terminal
The first mode of equipment, during to avoid that the earphone jack of mobile terminal is taken by external equipment when user's communication, communicating data
Will default route to external equipment, causing cannot the situation of normal talking;User is avoided to extract external equipment or manual switching
Loaded down with trivial details to hands-free mode, the call improving user is experienced;The present invention solves mobile terminal in earphone jack by external equipment
In the case of taking, the problem that audio stream can preferentially be routed to external equipment.
Second embodiment
Seeing Fig. 2, the second embodiment of the present invention provides a kind of mobile terminal 200, and mobile terminal 200 includes:
Detection module 201, is used for when detecting that mobile terminal is in talking state, if the earphone jack quilt of mobile terminal
External equipment takies, then detect the movement state information of mobile terminal.
Wherein, mobile terminal is in talking state and includes mobile terminal and the calling state that is in call of opposite end and shifting
Wait the other side when dynamic terminal actively initiates calling answers state;Specifically, mobile terminal is in call with calling opposite end
When state includes mobile terminal as calling subscribe, when initiating calling, call state and mobile terminal conduct that opposite end has been answered
During called subscriber, answer the state from the calling calling opposite end.
When the earphone jack of mobile terminal 200 is taken by external equipment, external equipment can be bank's mobile phone U-shield, hands
Machine card reader etc., when mobile terminal 200 is received incoming call or sends calling, the movement state information of detection mobile terminal 200;Ratio
As, when user receives incoming call after, user's hand-held mobile terminal 200 shifts to the kinestate letter produced during ear
Breath.
Judge module 202, for judging whether movement state information meets the switching condition pre-set.
Wherein, after mobile terminal 200 produces movement state information, the switching bar having reached to pre-set need to be judged whether
Part, has such as been merely creating motion by a small margin when user's hand-held mobile terminal 200, and has not met the switching bar pre-set
Part, then need not handoff calls pattern;Or in the case of earphone jack lost efficacy, mobile terminal 200 may be mistakenly considered ear
Machine transplanting of rice hole is occupied, and call mode is set to headset mode by mistake, and in embodiments of the invention, in conjunction with mobile terminal 200
Movement state information, whether hand-held mobile terminal 200 is answered near ear can to judge user accurately.
Handover module 203, for when movement state information meets the switching condition pre-set, arranges mobile terminal
The audio frequency input and output mode of call is first mode;First mode be the receiver of mobile terminal as audio output apparatus and
The microphone of mobile terminal is as audio input device.
Wherein, when movement state information meets the switching condition pre-set, arrange in the communication process of mobile terminal
Audio frequency input and output mode be first mode;When judge mobile terminal in the case of earphone jack is taken by external equipment,
User is answered by mobile terminal or calls, and mobile terminal meets above-mentioned switching condition and is switched to first mode
Time, using the receiver of mobile terminal itself as audio output apparatus, microphone is as audio input device, to ensure that user's is normal
Use.
Preferably, mobile terminal 200 also includes:
Keep module, for when movement state information does not meets the switching condition pre-set, keep mobile terminal
The audio frequency input and output mode of current talking is constant.
Preferably, movement state information includes: angular velocity that the angular-rate sensor of mobile terminal detects and movement
The distance signal that the range sensor of terminal detects.
Preferably, movement state information includes: acceleration that the acceleration transducer of mobile terminal detects and movement
The distance signal that the range sensor of terminal detects.
Preferably, the switching condition pre-set is that the distance signal detected according to range sensor judges to be arranged at shifting
Distance between object and the range sensor in dynamic terminal front is more than less than the angular velocity of the first predeterminable range and mobile terminal
First default value;And the distance of the receiver of range sensor and mobile terminal is less than the second predeterminable range.Pre-set cuts
The condition of changing is object and the Distance-sensing that the distance signal detected according to range sensor judges to be arranged at mobile terminal front
Distance between device is more than the second default value less than the acceleration of the first predeterminable range and mobile terminal;And range sensor with
The distance of the receiver of mobile terminal is less than the second predeterminable range.
In the above embodiment of the present invention, met by the movement state information judging mobile terminal 200 and to pre-set
During switching condition, automatically switch to the receiver microphone work as audio output apparatus and mobile terminal 200 of mobile terminal 200
For the first mode of audio input device, to avoid the earphone jack of mobile terminal 200 when user's communication to be accounted for by external equipment
Used time, communicating data will default route to external equipment, causing cannot the situation of normal talking;Avoid user to extract outside to set
Standby or manual switching is loaded down with trivial details to hands-free mode, and the call improving user is experienced;The present invention solves mobile terminal 200 at earphone
In the case of jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
3rd embodiment
Fig. 3 is the block diagram of the mobile terminal 300 of third embodiment of the invention.Mobile terminal 300 shown in Fig. 3 includes: extremely
A few processor 301, memorizer 302, at least one network interface 304 and user interface 303.In mobile terminal 300
Each assembly is coupled by bus system 305.It is understood that bus system 305 is for realizing the company between these assemblies
Connect letter.Bus system 305, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But
It is for the sake of understanding explanation, in figure 3 various buses is all designated as bus system 305.
Wherein, user interface 303 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
The memorizer 302 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memorizer 302 of system and method described herein be intended to include but not limited to these and arbitrarily its
It is suitable for the memorizer of type.
In some embodiments, memorizer 302 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 3021 and application program 3022.
Wherein, operating system 3021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 3022, comprises various application program, such as media
Player (Media Player), browser (Browser) etc., be used for realizing various applied business, it is achieved the embodiment of the present invention
The program of method may be embodied in application program 3022.
In embodiments of the present invention, by calling program or the instruction of memorizer 302 storage, concrete, can be application
The program stored in program 3022 or instruction, processor 301 is used for: when detecting that mobile terminal is in talking state, if moving
The earphone jack of dynamic terminal is taken by external equipment, then detect the movement state information of mobile terminal;Judge movement state information
Whether meet the switching condition pre-set;When movement state information meets the switching condition pre-set, arrange mobile whole
The audio frequency input and output mode of the call of end is first mode;First mode is that the receiver of mobile terminal is as audio output apparatus
And the microphone of mobile terminal is as audio input device.
The method that the invention described above embodiment discloses can apply in processor 301, or is realized by processor 301.
Processor 301 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 301 or software form.Above-mentioned process
Device 301 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General
The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only
In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at
Memorizer 302, processor 301 reads the information in memorizer 302, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application
Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), general processor,
Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein
Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or
Processor is outside to be realized.
Alternatively, as another embodiment, processor 301 is additionally operable to: does not meets in movement state information and pre-sets
Switching condition time, the audio frequency input and output mode of current talking keeping mobile terminal is constant.
Alternatively, as another embodiment, movement state information includes: the angular-rate sensor of mobile terminal detects
Angular velocity and the distance signal that detects of the range sensor of mobile terminal.
Alternatively, as another embodiment, movement state information includes: the acceleration transducer of mobile terminal detects
Acceleration and the distance signal that detects of the range sensor of mobile terminal.
Alternatively, as another embodiment, the switching condition pre-set be according to range sensor detect away from
Judge that the distance being arranged between object and the range sensor in mobile terminal front is less than the first predeterminable range and shifting from signal
The angular velocity of dynamic terminal is more than the first default value;And range sensor is default less than second with the distance of the receiver of mobile terminal
Distance.
Alternatively, as another embodiment, the switching condition pre-set be according to range sensor detect away from
Judge that the distance being arranged between object and the range sensor in mobile terminal front is less than the first predeterminable range and shifting from signal
The acceleration of dynamic terminal is more than the second default value;And range sensor is default less than second with the distance of the receiver of mobile terminal
Distance.
Mobile terminal 300 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
In the above embodiment of the present invention, met by the movement state information judging mobile terminal 300 and to pre-set
During switching condition, automatically switch to the receiver microphone work as audio output apparatus and mobile terminal 300 of mobile terminal 300
For the first mode of audio input device, to avoid the earphone jack of mobile terminal 300 when user's communication to be accounted for by external equipment
Used time, communicating data will default route to external equipment, causing cannot the situation of normal talking;Avoid user to extract outside to set
Standby or manual switching is loaded down with trivial details to hands-free mode, and the call improving user is experienced;The present invention solves mobile terminal 300 at earphone
In the case of jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
4th embodiment
Fig. 4 is the structure chart of the mobile terminal 400 that fourth embodiment of the invention provides.Specifically, the mobile terminal in Fig. 4
400 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 400 in Fig. 4 includes radio frequency (Radio Frequency, RF) circuit 410, memorizer 420, input
Unit 430, display unit 440, processor 450, WiFi (Wireless Fidelity) module 460, voicefrequency circuit 440, power supply
480 and earphone jack 490.
Wherein, input block 430 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal
The user setup of 400 and function control relevant signal input.
Specifically, in the embodiment of the present invention, this input block 430 can include contact panel 431.Contact panel 431, also
Be referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any applicable
Object or adnexa operation on contact panel 431), and drive corresponding attachment means according to formula set in advance.Optional
, contact panel 431 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch
Receive touch information on detection device, and be converted into contact coordinate, then give this processor 450, and processor can be received
450 orders sent also are performed.Furthermore, it is possible to use the multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave
Type realizes contact panel 431.Except contact panel 431, input block 430 can also include other input equipments 432, and other are defeated
Enter equipment 432 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball,
One or more in mouse, action bars etc..
Wherein, display unit 440 can be used for showing the information inputted by user or the information being supplied to user and movement
The various menu interfaces of terminal 400.Display unit 440 can include display floater 441, optionally, can use LCD or organic
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display floater 441.
It should be noted that contact panel 431 can cover display floater 441, formed and touch display screen, when this touch display screen is examined
Measure thereon or after neighbouring touch operation, send processor 450 to determine the type of touch event, with preprocessor
450 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 421 and/
Or the data in this second memory 422, processor 450 is used for: when detecting that mobile terminal is in talking state, if mobile
The earphone jack of terminal is taken by external equipment, then detect the movement state information of mobile terminal;Judge that movement state information is
No meet the switching condition pre-set;When movement state information meets the switching condition pre-set, mobile terminal is set
The audio frequency input and output mode of call be first mode;First mode be mobile terminal receiver as audio output apparatus with
And the microphone of mobile terminal is as audio input device.
Alternatively, as another embodiment, processor 450 is additionally operable to: does not meets in movement state information and pre-sets
Switching condition time, the audio frequency input and output mode of current talking keeping mobile terminal is constant.
Alternatively, as another embodiment, movement state information includes: the angular-rate sensor of mobile terminal detects
Angular velocity and the distance signal that detects of the range sensor of mobile terminal.
Alternatively, as another embodiment, movement state information includes: the acceleration transducer of mobile terminal detects
Acceleration and the distance signal that detects of the range sensor of mobile terminal.
Alternatively, as another embodiment, the switching condition pre-set be according to range sensor detect away from
Judge that the distance being arranged between object and the range sensor in mobile terminal front is less than the first predeterminable range and shifting from signal
The angular velocity of dynamic terminal is more than the first default value;And range sensor is default less than second with the distance of the receiver of mobile terminal
Distance.
Alternatively, as another embodiment, the switching condition pre-set be according to range sensor detect away from
Judge that the distance being arranged between object and the range sensor in mobile terminal front is less than the first predeterminable range and shifting from signal
The acceleration of dynamic terminal is more than the second default value;And range sensor is default less than second with the distance of the receiver of mobile terminal
Distance.
Mobile terminal 400 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
In the above embodiment of the present invention, met by the movement state information judging mobile terminal 400 and to pre-set
During switching condition, automatically switch to the receiver microphone work as audio output apparatus and mobile terminal 400 of mobile terminal 400
For the first mode of audio input device, to avoid the earphone jack of mobile terminal 400 when user's communication to be accounted for by external equipment
Used time, communicating data will default route to external equipment, causing cannot the situation of normal talking;Avoid user to extract outside to set
Standby or manual switching is loaded down with trivial details to hands-free mode, and the call improving user is experienced;The present invention solves mobile terminal 400 at earphone
In the case of jack is taken by external equipment, the problem that audio stream can preferentially be routed to external equipment.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other
Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: various Jie that can store program code such as USB flash disk, portable hard drive, ROM, RAM, magnetic disc, CDs
Matter.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (12)
1. a call mode method to set up, it is characterised in that including:
When detecting that mobile terminal is in talking state, if the earphone jack of described mobile terminal is taken by external equipment, then
Detect the movement state information of described mobile terminal;
Judge whether described movement state information meets the switching condition pre-set;
When described movement state information meets the switching condition pre-set, the audio frequency of the call arranging described mobile terminal is defeated
Entering output mode is first mode;Described first mode is that the receiver of described mobile terminal is as audio output apparatus and described
The microphone of mobile terminal is as audio input device.
Method the most according to claim 1, it is characterised in that described judge whether described movement state information meets in advance
After the step of the switching condition arranged, also include:
When described movement state information does not meets the switching condition pre-set, keep the current talking of described mobile terminal
Audio frequency input and output mode is constant.
Method the most according to claim 1, it is characterised in that described movement state information includes: described mobile terminal
Angular velocity that angular-rate sensor detects and the distance signal that the range sensor of described mobile terminal detects.
Method the most according to claim 1, it is characterised in that described movement state information includes: described mobile terminal
Acceleration that acceleration transducer detects and the distance signal that the range sensor of described mobile terminal detects.
Method the most according to claim 3, it is characterised in that described in described distance according to the switching condition that pre-sets
The distance signal judgement that sensor detects is arranged between object and the described range sensor in described mobile terminal front
Distance is more than the first default value less than the angular velocity of the first predeterminable range and described mobile terminal;And described range sensor with
The distance of the receiver of described mobile terminal is less than the second predeterminable range.
Method the most according to claim 4, it is characterised in that described in described distance according to the switching condition that pre-sets
The distance signal judgement that sensor detects is arranged between object and the described range sensor in described mobile terminal front
Distance is more than the second default value less than the acceleration of the first predeterminable range and described mobile terminal;And described range sensor with
The distance of the receiver of described mobile terminal is less than the second predeterminable range.
7. a mobile terminal, it is characterised in that including:
Detection module, for when detecting that mobile terminal is in talking state, if the earphone jack of described mobile terminal is by outward
Portion's hold facility, then detect the movement state information of described mobile terminal;
Judge module, for judging whether described movement state information meets the switching condition pre-set;
Handover module, for when described movement state information meets the switching condition pre-set, arranges described mobile terminal
The audio frequency input and output mode of call be first mode;Described first mode is that the receiver of described mobile terminal is defeated as audio frequency
Go out the microphone of equipment and described mobile terminal as audio input device.
Mobile terminal the most according to claim 7, it is characterised in that also include:
Keep module, for when described movement state information does not meets the switching condition pre-set, keep described mobile whole
The audio frequency input and output mode of the current talking of end is constant.
Mobile terminal the most according to claim 7, it is characterised in that described movement state information includes: described mobile whole
The distance signal that the angular velocity that detects of angular-rate sensor of end and the range sensor of described mobile terminal detect.
Mobile terminal the most according to claim 7, it is characterised in that described movement state information includes: described mobile whole
The distance signal that the acceleration that detects of acceleration transducer of end and the range sensor of described mobile terminal detect.
11. mobile terminals according to claim 9, it is characterised in that described in institute according to the switching condition that pre-sets
State the distance signal that range sensor detects and judge the object being arranged at described mobile terminal front and described range sensor
Between distance less than the angular velocity of the first predeterminable range and described mobile terminal more than the first default value;And it is described apart from passing
Sensor is less than the second predeterminable range with the distance of the receiver of described mobile terminal.
12. mobile terminals according to claim 10, it is characterised in that described in institute according to the switching condition that pre-sets
State the distance signal that range sensor detects and judge the object being arranged at described mobile terminal front and described range sensor
Between distance less than the acceleration of the first predeterminable range and described mobile terminal more than the second default value;And it is described apart from passing
Sensor is less than the second predeterminable range with the distance of the receiver of described mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602839.1A CN106210344A (en) | 2016-07-27 | 2016-07-27 | A kind of call mode method to set up and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602839.1A CN106210344A (en) | 2016-07-27 | 2016-07-27 | A kind of call mode method to set up and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106210344A true CN106210344A (en) | 2016-12-07 |
Family
ID=57496662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610602839.1A Pending CN106210344A (en) | 2016-07-27 | 2016-07-27 | A kind of call mode method to set up and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210344A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921803A (en) * | 2017-03-29 | 2017-07-04 | 联想(北京)有限公司 | The player method and control device of multi-medium data |
CN106941514A (en) * | 2017-01-22 | 2017-07-11 | 斑马信息科技有限公司 | Communication control method, communication control unit, mobile unit and transport facility |
CN112616106A (en) * | 2020-11-24 | 2021-04-06 | 广东思派康电子科技有限公司 | Automatic switching method of earphone conversation audio, computer readable storage medium and electronic system |
CN113542963A (en) * | 2021-07-21 | 2021-10-22 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601815A (en) * | 2015-01-12 | 2015-05-06 | 小米科技有限责任公司 | Answer device determining method and device |
CN104935729A (en) * | 2015-04-28 | 2015-09-23 | 小米科技有限责任公司 | Audio output method and device |
CN105187639A (en) * | 2015-08-17 | 2015-12-23 | 厦门美图移动科技有限公司 | Method and device for switching talk mode during call and mobile terminal |
-
2016
- 2016-07-27 CN CN201610602839.1A patent/CN106210344A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601815A (en) * | 2015-01-12 | 2015-05-06 | 小米科技有限责任公司 | Answer device determining method and device |
CN104935729A (en) * | 2015-04-28 | 2015-09-23 | 小米科技有限责任公司 | Audio output method and device |
CN105187639A (en) * | 2015-08-17 | 2015-12-23 | 厦门美图移动科技有限公司 | Method and device for switching talk mode during call and mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106941514A (en) * | 2017-01-22 | 2017-07-11 | 斑马信息科技有限公司 | Communication control method, communication control unit, mobile unit and transport facility |
CN106921803A (en) * | 2017-03-29 | 2017-07-04 | 联想(北京)有限公司 | The player method and control device of multi-medium data |
CN112616106A (en) * | 2020-11-24 | 2021-04-06 | 广东思派康电子科技有限公司 | Automatic switching method of earphone conversation audio, computer readable storage medium and electronic system |
CN112616106B (en) * | 2020-11-24 | 2022-11-18 | 广东思派康电子科技有限公司 | Automatic switching method of earphone conversation audio, computer readable storage medium and electronic system |
CN113542963A (en) * | 2021-07-21 | 2021-10-22 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
CN113542963B (en) * | 2021-07-21 | 2022-12-20 | RealMe重庆移动通信有限公司 | Sound mode control method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10275059B2 (en) | Terminal apparatus, display control method and recording medium | |
CN106973167B (en) | A kind of income prompting method and mobile terminal | |
CN106201191A (en) | The batch processing method of a kind of icon, device and mobile terminal | |
CN105867789A (en) | Method and method for preventing misoperation | |
CN103634717B (en) | A kind of method, device and the terminal device of the control of utilization earphone | |
CN107896272A (en) | A kind of call control method and device | |
CN105912226A (en) | Method and apparatus for displaying pages in application | |
CN105930049A (en) | Method for avoiding incorrect operation, and terminal | |
CN106126036A (en) | The batch processing method of a kind of icon, device and mobile terminal | |
CN106068020A (en) | Hinting abnormal states method and device | |
CN106210344A (en) | A kind of call mode method to set up and mobile terminal | |
CN104793867A (en) | Mobile terminal and sliding recognition method for virtual frame area of mobile terminal | |
CN105430600A (en) | Data transmission method and terminal | |
CN106488008A (en) | A kind of voice call control device and its method, mobile terminal | |
CN105739820A (en) | Message prompt display method and device | |
CN107656793A (en) | A kind of Application Program Interface switching method and mobile terminal | |
CN106936993A (en) | Terminal screen control method and device | |
CN106101409A (en) | A kind of mobile terminal and control method | |
CN104898889A (en) | Character determining method and device | |
CN105933944A (en) | 4G network optimum usage method and device and mobile terminal | |
CN103399706B (en) | Page interaction, device and terminal | |
CN109976847A (en) | Information display method, mobile terminal and non-transient computer readable storage medium | |
CN103488421A (en) | Method and device for processing call record and mobile terminal | |
CN106254694A (en) | A kind of method of incoming call blocking, mobile terminal and core net | |
CN106249992A (en) | A kind of webpage control method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
RJ01 | Rejection of invention patent application after publication |