CN103533127A - Call control method of terminal and terminal - Google Patents

Call control method of terminal and terminal Download PDF

Info

Publication number
CN103533127A
CN103533127A CN201310452829.0A CN201310452829A CN103533127A CN 103533127 A CN103533127 A CN 103533127A CN 201310452829 A CN201310452829 A CN 201310452829A CN 103533127 A CN103533127 A CN 103533127A
Authority
CN
China
Prior art keywords
terminal
audio codec
handover module
microphone
inversion state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310452829.0A
Other languages
Chinese (zh)
Inventor
孙伟
底浩
石新明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310452829.0A priority Critical patent/CN103533127A/en
Publication of CN103533127A publication Critical patent/CN103533127A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a call control method of a terminal and a terminal. The call control method comprises the following steps of judging whether the terminal is in a positive state or an inverted state according to the space attitude information of the terminal sensed by a sensor; if the terminal is in the positive state, controlling a main microphone to be communicated with the voice input end of an audio encoding and decoding device, and controlling a telephone receiver to be communicated with the voice output end of the audio encoding and decoding device; if the terminal is in the inverted state, controlling an auxiliary microphone to be communicated with the voice input end of the audio encoding and decoding device and controlling a loudspeaker to be communicated with the voice output end of the audio encoding and decoding device.

Description

A kind of terminal call control method and terminal
Technical field
The disclosure relates to terminal technology field, relates in particular to a kind of terminal call control method and terminal.
Background technology
Present smart mobile phone heating is more serious, and main pyrotoxin is power management chip and CPU, and when layout, for cabling and performance requirement, these two components and parts all can adjacently be put.And present mobile phone very thin thickness, the mainboard of mobile phone seldom can be made large plate, is all generally platelet, platelet or be placed on mobile phone upper end, and the temperature on mobile phone surface will mainly concentrate on upper end like this.
While using mobile phone, one hand generally all can be held in mobile phone lower end, if heat concentrates on upper end, while making a phone call, user's face is attached to the screen of mobile phone upper end, will feel and affect user's experience by cell-phone heating.
Summary of the invention
Disclosure embodiment provides a kind of terminal call control method and terminal, keeps normal talking while holding away from terminal heating in user face for realizing.
A control method, comprising: according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
If terminal in forward condition, is controlled main microphone, be connected with the phonetic entry end of audio codec, control receiver and be connected with the speech output end of audio codec;
If terminal in inversion state, is controlled auxiliary microphone, be connected with the phonetic entry end of audio codec, control loudspeaker is connected with the speech output end of audio codec.
In the present embodiment, the spatial attitude information by monitoring terminal judges whether terminal overturns, after terminal upset, and the reception of user speech and the broadcasting of the other side's voice while utilizing auxiliary microphone and loud speaker to converse.Like this, make to guarantee normally carrying out of call when user face is away from terminal heating end, improve user awareness; In addition, utilize the existing parts of terminal, only audio transmission path is switched, terminal hardware is changed not quite, realize simply, terminal improving cost is less.
Preferably, described method also comprises: if terminal in forward condition, is controlled auxiliary microphone, be connected with the ambient sound input of audio codec;
If in inversion state, controlling main microphone, terminal is connected with the ambient sound input of audio codec.
In the present embodiment, main microphone is connected with auxiliary microphone receiving terminal, utilizes main microphone to carry out reception environment noise.Audio coder-decoder receives the ambient noise signal that user voice signal that auxiliary microphone passes over and ambient noise signal and main microphone pass over simultaneously, does corresponding computing, and the ambient noise signal in call voice is eliminated.When keeping normal talking, remove ambient noise, improve the audio quality of call voice, make to converse clear, improve user's Experience Degree.
Preferably, described method also comprises: described terminal is when in talking state, and according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state.
In the present embodiment, be not constantly all the spatial attitude information of terminal to be monitored, avoid monitoring causes in real time terminal processes resource and the waste of electric weight.
, at least comprise: main microphone, auxiliary microphone, receiver, loud speaker, audio codec, transducer, processor, the first handover module and the second handover module;
Described transducer, for responding to the spatial attitude information of described terminal, and sends to described processor by described spatial attitude information;
Described processor, is connected with described transducer, the first handover module and the second handover module respectively, for the described spatial attitude information of sending according to described transducer, judges that terminal is in forward condition or inversion state; And control described the first handover module and the second handover module according to described judged result;
Described the first handover module, for controlling described main microphone, auxiliary microphone is connected with the phonetic entry end of described audio codec; When described processor judges terminal in forward condition, described the first handover module is controlled described main microphone and is connected with the phonetic entry end of described audio codec; When described processor judges terminal in inversion state, described the first handover module is controlled described auxiliary microphone and is connected with the phonetic entry end of described audio codec;
Described the second handover module, for controlling described receiver, loud speaker is connected with the speech output end of described audio codec; When described processor judges terminal in forward condition, described the second handover module is controlled described receiver and is connected with the speech output end of described audio codec; When described processor judges terminal in inversion state, described the second handover module is controlled described loud speaker and is connected with the speech output end of described audio codec.
Described the first handover module, also for controlling described main microphone, auxiliary microphone is connected with the ambient sound input of described audio codec; When described processor judges terminal in forward condition, described the first handover module is controlled described auxiliary microphone and is connected with the ambient sound input of described audio codec; When described processor judges terminal in inversion state, described the first handover module is controlled described main microphone and is connected with the ambient sound input of described audio codec.
Described processor is in described terminal when in talking state, and the described spatial attitude information judgement terminal of sending according to described transducer is in forward condition or inversion state.
Described main microphone is positioned at the bottom of terminal; Described auxiliary microphone is positioned at the top of terminal; Described receiver is positioned at the top of terminal; Described loud speaker is positioned at the bottom of terminal.
Described transducer is gyro sensor.
Described loud speaker is the two-in-one device of loud speaker receiver.
A kind of terminal, include memory, and one or more than one program, the above program of one of them or is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
According to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
If terminal in forward condition, is controlled main microphone, be connected with the phonetic entry end of audio codec, control receiver and be connected with the speech output end of audio codec;
If terminal in inversion state, is controlled auxiliary microphone, be connected with the phonetic entry end of audio codec, control loudspeaker is connected with the speech output end of audio codec.
Further feature of the present disclosure and advantage will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the disclosure.Object of the present disclosure and other advantages can be realized and be obtained by specifically noted structure in the specification write, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present disclosure is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide further understanding of the disclosure, and forms a part for specification, is used from the explanation disclosure with embodiment mono-of the present disclosure, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the schematic diagram under terminal normal condition in disclosure embodiment;
Fig. 2 is the schematic flow sheet of terminal call control method in disclosure embodiment;
Fig. 3 is the schematic diagram of terminal from normal condition upset in disclosure embodiment;
Fig. 4 is the structural representation of terminal in disclosure embodiment;
Fig. 5 is the structural representation under terminal forward condition in disclosure embodiment;
Fig. 6 is the structural representation under terminal inversion state in disclosure embodiment;
Fig. 7 is the structural representation of terminal in disclosure embodiment.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present disclosure is described, should be appreciated that preferred embodiment described herein is only for the description and interpretation disclosure, and be not used in the restriction disclosure.
The terminal that in the disclosure, each embodiment relates to includes but not limited to the lower a kind of hand-hold electronic equipments that can converse, such as: mobile phone, panel computer, palmtop PC (PDA) etc.
Disclosure embodiment designs a kind of scheme, when terminal upper temp is too high, terminal can be carried out to the laggard words that work of upset of 180 degree, and namely user face is attached to terminal bottom, so just can not feel too hot.
In disclosure embodiment, by the acquiescence top of terminal, in upper end, and the location status of acquiescence bottom in lower end is defined as the forward condition of terminal.By the acquiescence bottom of terminal, in upper end, and the location status of acquiescence top in lower end is defined as the inversion state of terminal.
As shown in Figure 1, general terminal has two microphones, comprising: be positioned at the main microphone 11 of terminal bottom, for receiving user's call voice; Be positioned at the auxiliary microphone 12 on terminal top, for reception environment noise.Terminal also comprises: be positioned at the receiver 13 on terminal top, for playing the other side's call voice; The loud speaker 14 that is positioned at terminal bottom, can be used as loudspeaker, while putting outside call, plays the other side's call voice or plays other audio frequency.
In disclosure embodiment, the loud speaker 14 that is positioned at terminal bottom has the function of receiver and loudspeaker simultaneously, both can when normal talking, play call voice, plays the other side's call voice or play other audio frequency in the time of also can putting outside.
In disclosure embodiment, the audio codec of terminal inner has phonetic entry end, ambient sound input and speech output end.Wherein, phonetic entry termination is received user's communication voice; The ambient sound of ambient sound input receiving terminal environment of living in, removes the ambient noise in user's communication voice according to this ambient sound; Speech output end output the other side call voice.
As shown in Figure 2, a kind of terminal call control method of disclosure embodiment, comprises the following steps:
Step 201, according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
Step 202, is connected with the phonetic entry end of audio codec if terminal in forward condition, is controlled main microphone, controls receiver and is connected with the speech output end of audio codec;
Step 203, is connected with the phonetic entry end of audio codec if terminal in inversion state, is controlled auxiliary microphone, and control loudspeaker is connected with the speech output end of audio codec.
As shown in Figure 3, in the present embodiment, the spatial attitude information judgement terminal by monitoring terminal is in forward condition or inversion state, when terminal is in inversion state, main microphone 11 and loud speaker 14 are positioned at user's face location, and auxiliary microphone 12 and receiver 13 are positioned near user's mouth.The reception of user speech and the broadcasting of the other side's voice while utilizing auxiliary microphone 12 and loud speaker 14 to converse.Like this, make to guarantee normally carrying out of call when user face is away from terminal heating end, improve user awareness; In addition, utilize the existing parts of terminal, only audio transmission path is switched, terminal hardware is changed not quite, realize simply, terminal improving cost is less.
The method of the present embodiment also comprises: if terminal in forward condition, is controlled auxiliary microphone, be connected with the ambient sound input of audio codec; If in inversion state, controlling main microphone, terminal is connected with the ambient sound input of audio codec.
Like this, main microphone is connected with auxiliary microphone receiving terminal, utilizes main microphone to carry out reception environment sound.Audio coder-decoder receives the ambient sound that user speech that auxiliary microphone passes over and ambient sound and main microphone pass over simultaneously, does corresponding computing, and the ambient noise signal in call voice is eliminated.When keeping normal talking, remove ambient noise, improve the audio quality of call voice, make to converse clear, improve user's Experience Degree.
The method of the present embodiment also comprises: terminal is when in talking state, and according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state.
In the present embodiment, in terminal, during in talking state, judgement terminal is in forward condition or inversion state, to carry out follow-up control, be not constantly all the spatial attitude information of terminal to be monitored, avoid monitoring causes in real time terminal processes resource and the waste of electric weight.
In the present embodiment, when user overturns back terminal normal condition, also by the normal condition of audio transmission path recovery, the reception of user speech and the broadcasting of the other side's voice while still utilizing main microphone and receiver to converse, can use the situation of terminal automatically to carry out the switching of audio transmission path according to user, no matter terminal can normally be conversed under which kind of state, and user experience is better.In addition, utilize the existing parts of terminal, only audio transmission path is switched, terminal hardware is changed not quite, realize simply, terminal improving cost is less.
As shown in Figure 4, disclosure embodiment provides a kind of terminal, and this terminal at least comprises: main microphone 41, auxiliary microphone 42, receiver 43, loud speaker 44, audio codec 45, transducer 46, processor 47, the first handover module 48 and the second handover module 49.
Transducer 46, for the spatial attitude information of inductive terminations, and sends to processor 47 by spatial attitude information.
Processor 47, is connected with transducer 46, the first handover module 48 and the second handover module 49 respectively, for the spatial attitude information of sending according to transducer 46, judges that terminal is in forward condition or inversion state; And control the first handover module 48 and the second handover module 49 according to judged result.
The first handover module 48, for controlling main microphone 41, auxiliary microphone 42 is connected with the phonetic entry end 451 of audio codec 45.
The second handover module 49, for controlling receiver 43, loud speaker 44 is connected with the speech output end 453 of audio codec.
As shown in Figure 5, when processor 47 judges terminals in forward condition, the first handover module 48 is controlled main microphone 41 and is connected with the phonetic entry end 451 of audio codec 45, and the second handover module 49 is controlled receiver 43 and is connected with the speech output end 453 of audio codec 45.
As shown in Figure 6, when processor 47 judges terminals in inversion state, the first handover module 48 is controlled auxiliary microphone 42 and is connected with the phonetic entry end 451 of audio codec 45, and the second handover module 49 control loudspeakers 44 are connected with the speech output end 453 of audio codec 45.
In the present embodiment, the first handover module 48, also for controlling main microphone 41, auxiliary microphone 42 is connected with the ambient sound input 452 of audio codec 45; When processor 47 judges terminals in forward condition, the first handover module 48 is controlled auxiliary microphone 42 and is connected with the ambient sound input 452 of audio codec 45; When processor 47 judges terminals in inversion state, the first handover module 48 is controlled main microphones 41 and is connected with the ambient sound input 452 of audio codec 45.
In the present embodiment, processor 47 is in terminal when in talking state, and the spatial attitude information judgement terminal of sending according to transducer 46 is in forward condition or inversion state.
In the present embodiment, main microphone 41 is positioned at the bottom of terminal; Auxiliary microphone 42 is positioned at the top of terminal; Receiver 43 is positioned at the top of terminal; Loud speaker 44 is positioned at the bottom of terminal.
In the present embodiment, transducer 46 can for gyroscope etc. can monitoring terminal the device of spatial attitude information.
In the present embodiment, because loud speaker 44 need to be taken into account the effect of loud speaker and receiver, what play due to loud speaker and receiver conventionally is the audio signal of different frequency.Therefore,, in order to make 44 pairs of this loud speakers all have good audio presentation as the audio signal of loud speaker and the audio signal of receiver, this loud speaker 44 is selected the two-in-one device of loud speaker receiver.The two-in-one device of this loud speaker receiver is a kind of while can have to above-mentioned two kinds of frequency band audio signals the audio playing apparatus of better audio presentation.Due to, the two-in-one device of this loud speaker receiver is prior art, at this, just no longer describes in detail.
The first handover module can be single-pole double-throw switch (SPDT), the second handover module can be double-point double-throw switch, and the device that forms single-pole double-throw switch (SPDT) and double-point double-throw switch has ferrite, PIN diode, field-effect transistor (FET) or bipolar junction transistor (BJT) etc.
In the present embodiment, when terminal is when being inverted shape, while using loud speaker to play the other side's call voice as receiver, the power amplifier of loud speaker need to be adjusted, sound is reduced to the power amplifier rank of receiver, make the call sound that user hears after terminal upset normal, can not cause the bad experience of user because of sound is excessive.
In addition, when putting call outward, because user face, away from mobile phone, is used traditional voice-frequency channel.
Fig. 7 is a kind of terminal structure schematic diagram that disclosure embodiment provides.As shown in Figure 7, this terminal can be for the terminal call control method of implementing to provide in above-described embodiment.Wherein, this terminal can be mobile phone, panel computer pad, Wearable mobile device (as intelligent watch) etc.Preferential:
Terminal 300 can comprise communication unit 110, includes the memory 120 of one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as or above processor 180 of processing core and power supply 190.It will be understood by those skilled in the art that the not restriction of structure paired terminal of the terminal structure shown in Fig. 7, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 110 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of terminal 300 etc. can be stored in storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
Display unit 140 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and terminal 300, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, can adopt the forms such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to configure display floater 141.Further, touch-sensitive surperficial 131 can cover display floater 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 180 on display floater 141.Although in Fig. 7, touch-sensitive surperficial 131 with display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 and display floater 141 integrated and realize input and output function.
Terminal 300 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Preferably, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display floater 141, proximity transducer can, when terminal 300 moves in one's ear, cut out display floater 141 and/or backlight.A kind of as motion sensor; Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions; when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc.; As for terminal 300 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 300.Voicefrequency circuit 160 can be transferred to loud speaker 161 by the signal of telecommunication after the voice data conversion receiving, and is converted to voice signal exports by loud speaker 161; On the other hand, microphone 162 is converted to the signal of telecommunication by the voice signal of collection, after being received by voicefrequency circuit 160, be converted to voice data, after again voice data output processor 180 being processed, through RF circuit 110, to send to such as another terminal, or export voice data to memory 120 to further process.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal 300 to be provided.
In order to realize radio communication, in this terminal, can dispose wireless communication unit 170, this wireless communication unit 170 can be WiFi module.WiFi belongs to short range wireless transmission technology, terminal 300 by wireless communication unit 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 shows wireless communication unit 170, be understandable that, it does not belong to must forming of terminal 300, completely can be as required in not changing the essential scope of invention and omit.
Processor 180 is control centres of terminal 300, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in memory 120, and call the data that are stored in memory 120, carry out various functions and the deal with data of terminal 300, thereby mobile phone is carried out to integral monitoring.Optionally, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 300 also comprises that the power supply 190(powering to all parts is such as battery), preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal 300 can also comprise camera, bluetooth module etc., does not repeat them here.
Specifically in the present embodiment, the display unit of terminal is touch-screen display, terminal also includes memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to be contained for carrying out the instruction of following operation by one of more than one or one processor execution or an above program package:
According to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
If terminal in forward condition, is controlled main microphone, be connected with the phonetic entry end of audio codec, control receiver and be connected with the speech output end of audio codec;
If terminal in inversion state, is controlled auxiliary microphone, be connected with the phonetic entry end of audio codec, control loudspeaker is connected with the speech output end of audio codec.
This program also comprises for carrying out the instruction of following operation: if terminal in forward condition, is controlled auxiliary microphone, be connected with the ambient sound input of audio codec;
If in inversion state, controlling main microphone, terminal is connected with the ambient sound input of audio codec.
This program also comprises for carrying out the instruction of following operation: described terminal is when in talking state, and according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state.
Terminal call control method and the terminal of disclosure embodiment, the spatial attitude information by monitoring terminal judges whether terminal overturns, after terminal upset, the reception of user speech and the broadcasting of the other side's voice while utilizing auxiliary microphone and loud speaker to converse.Like this, make to guarantee normally carrying out of call when user face is away from terminal heating end, improve user awareness; In addition, utilize the existing parts of terminal, only audio transmission path is switched, terminal hardware is changed not quite, realize simply, terminal improving cost is less.
Those skilled in the art should understand, embodiment of the present disclosure can be provided as method, system or computer program.Therefore, the disclosure can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the disclosure can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The disclosure is with reference to describing according to flow chart and/or the block diagram of the method for disclosure embodiment, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from spirit and scope of the present disclosure the disclosure.Like this, if within of the present disclosure these are revised and modification belongs to the scope of disclosure claim and equivalent technologies thereof, the disclosure is also intended to comprise these changes and modification interior.

Claims (10)

1. a terminal call control method, is characterized in that, comprising:
According to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
If terminal in forward condition, is controlled main microphone, be connected with the phonetic entry end of audio codec, control receiver and be connected with the speech output end of audio codec;
If terminal in inversion state, is controlled auxiliary microphone, be connected with the phonetic entry end of audio codec, control loudspeaker is connected with the speech output end of audio codec.
2. according to the method for claim 1, it is characterized in that, described method also comprises:
If in forward condition, controlling auxiliary microphone, terminal is connected with the ambient sound input of audio codec;
If in inversion state, controlling main microphone, terminal is connected with the ambient sound input of audio codec.
3. according to the method for claim 1, it is characterized in that, described terminal is when in talking state, and according to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state.
4. a terminal, is characterized in that, described terminal at least comprises: main microphone, auxiliary microphone, receiver, loud speaker, audio codec, transducer, processor, the first handover module and the second handover module;
Described transducer, for responding to the spatial attitude information of described terminal, and sends to described processor by described spatial attitude information;
Described processor, is connected with described transducer, the first handover module and the second handover module respectively, for the described spatial attitude information of sending according to described transducer, judges that terminal is in forward condition or inversion state; And control described the first handover module and the second handover module according to described judged result;
Described the first handover module, for controlling described main microphone, auxiliary microphone is connected with the phonetic entry end of described audio codec; When described processor judges terminal in forward condition, described the first handover module is controlled described main microphone and is connected with the phonetic entry end of described audio codec; When described processor judges terminal in inversion state, described the first handover module is controlled described auxiliary microphone and is connected with the phonetic entry end of described audio codec;
Described the second handover module, for controlling described receiver, loud speaker is connected with the speech output end of described audio codec; When described processor judges terminal in forward condition, described the second handover module is controlled described receiver and is connected with the speech output end of described audio codec; When described processor judges terminal in inversion state, described the second handover module is controlled described loud speaker and is connected with the speech output end of described audio codec.
5. terminal according to claim 4, is characterized in that,
Described the first handover module, also for controlling described main microphone, auxiliary microphone is connected with the ambient sound input of described audio codec; When described processor judges terminal in forward condition, described the first handover module is controlled described auxiliary microphone and is connected with the ambient sound input of described audio codec; When described processor judges terminal in inversion state, described the first handover module is controlled described main microphone and is connected with the ambient sound input of described audio codec.
6. terminal according to claim 4, is characterized in that, described processor is in described terminal when in talking state, and the described spatial attitude information judgement terminal of sending according to described transducer is in forward condition or inversion state.
7. terminal according to claim 4, is characterized in that, described main microphone is positioned at the bottom of terminal; Described auxiliary microphone is positioned at the top of terminal; Described receiver is positioned at the top of terminal; Described loud speaker is positioned at the bottom of terminal.
8. terminal according to claim 4, is characterized in that, described transducer is gyro sensor.
9. terminal according to claim 4, is characterized in that, described loud speaker is the two-in-one device of loud speaker receiver.
10. a terminal, it is characterized in that, include memory, and one or more than one program, the above program of one of them or one is stored in memory, and is configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
According to the spatial attitude information of the terminal of sensor sensing, judgement terminal is in forward condition or inversion state;
If terminal in forward condition, is controlled main microphone, be connected with the phonetic entry end of audio codec, control receiver and be connected with the speech output end of audio codec;
If terminal in inversion state, is controlled auxiliary microphone, be connected with the phonetic entry end of audio codec, control loudspeaker is connected with the speech output end of audio codec.
CN201310452829.0A 2013-09-27 2013-09-27 Call control method of terminal and terminal Pending CN103533127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310452829.0A CN103533127A (en) 2013-09-27 2013-09-27 Call control method of terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310452829.0A CN103533127A (en) 2013-09-27 2013-09-27 Call control method of terminal and terminal

Publications (1)

Publication Number Publication Date
CN103533127A true CN103533127A (en) 2014-01-22

Family

ID=49934790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310452829.0A Pending CN103533127A (en) 2013-09-27 2013-09-27 Call control method of terminal and terminal

Country Status (1)

Country Link
CN (1) CN103533127A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100470A (en) * 2015-07-22 2015-11-25 惠州Tcl移动通信有限公司 Method and system for switching microphone function of mobile terminal
CN105554231A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication method and apparatus
CN105554230A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication circuit and hand-held terminal
CN106101365A (en) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 Communication process adjusts the method and device of mike
CN106101409A (en) * 2016-06-07 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and control method
CN106878542A (en) * 2016-12-28 2017-06-20 深圳天珑无线科技有限公司 A kind of multi-mode plays the terminal of voice signal
CN108377298A (en) * 2018-02-07 2018-08-07 广东欧珀移动通信有限公司 A kind of method, apparatus and computer readable storage medium of switching answer mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006362A (en) * 2010-11-09 2011-04-06 华为终端有限公司 Terminal control method and user terminal
CN103067607A (en) * 2013-01-22 2013-04-24 东莞宇龙通信科技有限公司 Method and device for talk mode switching
EP2635009A1 (en) * 2012-02-28 2013-09-04 Sony Mobile Communications AB Method and apparatus for switching talking modes automatically
CN103294327A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Electronic equipment and direction switching method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006362A (en) * 2010-11-09 2011-04-06 华为终端有限公司 Terminal control method and user terminal
EP2635009A1 (en) * 2012-02-28 2013-09-04 Sony Mobile Communications AB Method and apparatus for switching talking modes automatically
CN103294327A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Electronic equipment and direction switching method thereof
CN103067607A (en) * 2013-01-22 2013-04-24 东莞宇龙通信科技有限公司 Method and device for talk mode switching

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100470A (en) * 2015-07-22 2015-11-25 惠州Tcl移动通信有限公司 Method and system for switching microphone function of mobile terminal
CN105554231A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication method and apparatus
CN105554230A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice communication circuit and hand-held terminal
CN106101409A (en) * 2016-06-07 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and control method
CN106101365A (en) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 Communication process adjusts the method and device of mike
CN106878542A (en) * 2016-12-28 2017-06-20 深圳天珑无线科技有限公司 A kind of multi-mode plays the terminal of voice signal
CN108377298A (en) * 2018-02-07 2018-08-07 广东欧珀移动通信有限公司 A kind of method, apparatus and computer readable storage medium of switching answer mode

Similar Documents

Publication Publication Date Title
CN103414982B (en) A kind of method and apparatus that sound is provided
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103473051B (en) A kind of method and apparatus for saving power consumption of terminal
CN103533127A (en) Call control method of terminal and terminal
CN104427083A (en) Volume adjusting method and device
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN103313139A (en) History display method and device and electronic device
CN104158506A (en) Method, device and terminal for adjusting volume
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
CN103489303A (en) Remote control method and device
CN103475972A (en) Connecting part for headset plug, headset plug and terminal
CN104954159A (en) Network information statistics method and device
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
CN103647868B (en) Reduce the method and apparatus that the tinkle of bells is bothered
CN103945241A (en) Streaming data statistical method, system and related device
CN103546632B (en) A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal
CN103458114B (en) A kind of method of switching multi-media stream, equipment and terminal
CN103634468A (en) Method, device and terminal equipment for processing alarm clock
CN106453597A (en) Data synchronization cycle adjustment method, device and system
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN105786439A (en) Method and device for controlling sound in terminal
CN104468961A (en) Method and device for prompting position of terminal
CN103501373A (en) Method, device and terminal for making call
CN104092657A (en) Information transmission method, device and system
CN203554786U (en) PCB unit and terminal 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122