CN104935729A - Audio output method and device - Google Patents

Audio output method and device Download PDF

Info

Publication number
CN104935729A
CN104935729A CN201510209812.1A CN201510209812A CN104935729A CN 104935729 A CN104935729 A CN 104935729A CN 201510209812 A CN201510209812 A CN 201510209812A CN 104935729 A CN104935729 A CN 104935729A
Authority
CN
China
Prior art keywords
terminal
audio
audio output
call event
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510209812.1A
Other languages
Chinese (zh)
Other versions
CN104935729B (en
Inventor
王芳
牛坤
鲍协浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
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 CN201510209812.1A priority Critical patent/CN104935729B/en
Publication of CN104935729A publication Critical patent/CN104935729A/en
Application granted granted Critical
Publication of CN104935729B publication Critical patent/CN104935729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to an audio output method and device. The method comprises that when a conversation event occurs, whether a terminal is connected with the audio output device is determined; if the terminal is connected with the audio output device, whether a user directly utilize the terminal to process the conversation event is determined; and when it is determined that the user directly utilize the terminal to process the conversation event, a receiver of the terminal is used to output audio. Thus, the accuracy of the audio output manner is improved, and user experience is improved.

Description

Audio-frequency inputting method and device
Technical field
The disclosure relates to field of terminal technology, particularly relates to a kind of audio-frequency inputting method and device.
Background technology
Along with the development of the Internet and mobile terminal technology, increasing user uses mobile terminal to carry out recreation, such as: use mobile phone to see a film, listen song etc.User, usually can the audio output apparatus such as frames connecting with headphone on mobile terminals when using mobile terminal to carry out the recreation having audio frequency to export, and by the audio output apparatus listening to audio of connection.But once there is call event, how mobile terminal selects audio output will directly to affect the experience of user.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of audio-frequency inputting method and device.
According to the first aspect of disclosure embodiment, a kind of audio-frequency inputting method is provided, comprises:
When there is call event, judge whether terminal is connected with audio output apparatus;
If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes;
When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
Optionally, whether described detection user directly utilizes call event described in terminal processes, comprising:
Detect the distance of user and terminal whether in default distance;
If when the distance of user and terminal is in the distance preset, then confirm that user directly utilizes call event described in terminal processes.
Optionally, after the receiver by terminal carries out audio frequency output, also comprise:
In communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output.
Optionally, whether described detection user directly utilizes call event described in terminal processes, comprising:
When receiving the audio frequency inputted when user processes described call event, judge whether described audio frequency is inputted by the microphone of terminal;
If whether described audio frequency is inputted by the microphone of terminal, then confirm that user directly utilizes call event described in terminal processes.
Optionally, describedly judge whether terminal is connected with audio output apparatus, comprising:
Judge whether the receiver J-Horner of terminal is inserted with audio output apparatus and judges whether terminal is connected with audio output apparatus by bluetooth;
If the receiver J-Horner of terminal is inserted with audio output apparatus, or terminal is connected with audio output apparatus by bluetooth, then confirm that terminal is connected with audio output apparatus.
Optionally, also comprise:
After call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
Optionally, described call event comprises: caller event and called event.
According to the second aspect of disclosure embodiment, a kind of audio output device is provided, comprises:
Connection judgment unit, for when there is call event, judges whether terminal is connected with audio output apparatus;
Call detecting unit, for when terminal is connected with audio output apparatus, detects user and whether directly utilizes call event described in terminal processes;
First output unit, for when confirming that user directly utilizes call event described in terminal processes, carries out audio frequency output by the receiver of terminal.
Optionally, described call detecting unit comprises:
Distance detection sub-unit, for detecting the distance of user and terminal whether in default distance;
First confirms subelement, for when the distance of user and terminal is in described default distance, confirms that user directly utilizes call event described in terminal processes.
Optionally, also comprise:
Second output unit, in communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output.
Optionally, described call detecting unit comprises:
Input judgment sub-unit, for when receiving the audio frequency inputted when user processes described call event, judges whether described audio frequency is inputted by the microphone of terminal;
Second confirms subelement, for when whether described audio frequency is inputted by the microphone of terminal, confirms that user directly utilizes call event described in terminal processes.
Optionally, described connection judgment unit comprises:
Judgment sub-unit, for judging whether the receiver J-Horner of terminal is inserted with audio output apparatus and judges whether terminal is connected with audio output apparatus by bluetooth;
Confirm subelement, be inserted with audio output apparatus for the receiver J-Horner in terminal, or when terminal is connected with audio output apparatus by bluetooth, confirm that terminal is connected with audio output apparatus.
Optionally, also comprise:
3rd output unit, for after call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
Optionally, described call event comprises: caller event and called event.
According to the third aspect of disclosure embodiment, a kind of audio output device is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When there is call event, judge whether terminal is connected with audio output apparatus;
If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes;
When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: disclosure terminal can in generation call event, and when confirming to be connected with audio output apparatus, detect user and whether directly utilize call event described in terminal processes, and when confirming that user is conversed by terminal, and then carry out audio frequency output by the receiver of terminal, improve the accuracy of the audio frequency way of output, promote the experience of user.
In one embodiment, disclosure terminal, by detecting the distance of user and terminal whether in default distance, judges whether user directly utilizes call event described in terminal processes.
In one embodiment, disclosure terminal is after carrying out audio frequency output by receiver, can continue to detect user and whether directly utilize call event described in terminal processes in user's communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output, to realize the automatic switchover that audio frequency exports, promote the experience of user.
In one embodiment, disclosure terminal, when receiving the audio frequency inputted when user processes described call event, judges whether described audio frequency is inputted by the microphone of terminal, to judge whether user directly utilizes call event described in terminal processes.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of audio-frequency inputting method according to an exemplary embodiment.
Fig. 2 is the flow chart of the another kind of audio-frequency inputting method according to an exemplary embodiment.
Fig. 3 is the block diagram of a kind of audio output device according to an exemplary embodiment.
Fig. 4 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Fig. 5 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Fig. 6 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Fig. 7 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Fig. 8 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Fig. 9 is a kind of structural representation for audio output device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of audio-frequency inputting method according to an exemplary embodiment.
Please refer to Fig. 1, described audio-frequency inputting method is used in terminal, and described terminal can include the smart machine such as smart mobile phone, panel computer, and described audio-frequency inputting method can comprise the following steps:
In step S101, when there is call event, judge whether terminal is connected with audio output apparatus.
In the present embodiment, described call event comprises: caller event and called event.When described call event occurs terminal, judge whether to be connected with audio output apparatus.Described audio output apparatus can comprise: earphone, audio amplifier etc., and the disclosure does not make particular restriction to this.
In step s 102, if terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes.
In the present embodiment, if terminal check is connected with audio output apparatus, then such as can be detected the distance of user and terminal by range sensor, to judge whether user directly utilizes call event described in terminal processes.
In one embodiment, if terminal check is connected with audio output apparatus, such as can when receiving the audio frequency inputted when user processes described call event, by judging whether described audio frequency is inputted by the microphone of terminal, to judge whether user directly utilizes call event described in terminal processes, but the disclosure is not as limit.
In step s 103, when confirming that user directly utilizes call event described in terminal processes, audio frequency output is carried out by the receiver of terminal.
Based on abovementioned steps S102, terminal, when confirming that user directly utilizes call event described in terminal processes, can confirm that user picks up mobile phone to converse, therefore carry out audio frequency output by the receiver of terminal.
Described as can be seen from above, disclosure terminal can in generation call event, and when confirming to be connected with audio output apparatus, detect user and whether directly utilize call event described in terminal processes, and when confirming that user is conversed by terminal, and then carry out audio frequency output by the receiver of terminal, improve the accuracy of the audio frequency way of output, promote the experience of user.
Fig. 2 is the flow chart of the another kind of audio-frequency inputting method according to an exemplary embodiment.
Please refer to Fig. 2, described audio-frequency inputting method is used for, in terminal, can comprising the following steps:
In step s 201, when there is call event, judge whether terminal is connected with audio output apparatus.If terminal is connected with audio output apparatus, then perform step S202.
In the present embodiment, described call event comprises: caller event and called event.When user use terminal to call or incoming call answering time, whether terminal judges himself is connected with audio output apparatus.Wherein, described audio output apparatus can comprise: earphone, audio amplifier etc., and the disclosure does not make particular restriction to this.The connected mode of described audio output apparatus and terminal can be wired connection, also can be the wireless connections such as bluetooth.
In this step, whether terminal judges self is connected with audio output apparatus and can adopts following two kinds of modes:
Mode one: judge whether the receiver J-Horner of self is inserted with audio output apparatus.If the receiver J-Horner of terminal self is inserted with audio output apparatus, such as: the receiver J-Horner of terminal is inserted with headset plug, then can confirm that terminal is connected with audio output apparatus.
Mode two: judge whether to be connected with audio output apparatus by bluetooth.If terminal is connected with audio output apparatus by bluetooth, such as: terminal connects bluetooth earphone by bluetooth, then can confirm that terminal is connected with audio output apparatus.
If the receiver J-Horner of terminal self does not insert audio output apparatus, and terminal is not also connected with audio output apparatus by bluetooth, then can confirm that terminal does not connect audio output apparatus, carry out audio frequency output according to the implementation in correlation technique, this is no longer going to repeat them for the disclosure.
In step S202, detect user and whether directly utilize call event described in terminal processes.If confirm that user directly utilizes call event described in terminal processes, then perform step S203.If confirm that user does not directly utilize call event described in terminal processes, then continue to perform this step.
Based on the judged result of abovementioned steps S201, if terminal check is connected with audio output apparatus, then in this step, whether terminal use directly utilizes call event described in terminal processes.
In the present embodiment, whether terminal detection user directly utilizes call event described in terminal processes such as can adopt following two kinds of modes:
Mode one: terminal detects the distance of user and terminal whether in default distance, if the distance of user and terminal is in described default distance, then can confirm that user directly utilizes call event described in terminal processes.In this fashion, terminal can open range sensor integrated on it, by the infrared detection function of described range sensor or the distance of ultrasound examination Function detection user and terminal, such as: the distance detecting face and terminal, and after distance user and terminal being detected, judge described distance whether in the distance preset.Wherein, described default distance can be arranged by developer, and such as: 2cm, the disclosure does not make particular restriction to this.If confirm that the distance of user and terminal is in described default distance, then can confirm that user directly utilizes call event described in terminal processes.If confirm that the distance of user and terminal is not in described default distance, then can confirm that user does not directly utilize call event described in terminal processes.
Mode two: terminal is when receiving the audio frequency inputted when user processes described call event, judge whether described audio frequency is inputted by the microphone of terminal, if whether described audio frequency is inputted by the microphone of terminal, then can confirm that user directly utilizes call event described in terminal processes.In this fashion, terminal can the microphone of simultaneously monitor terminal microphone and audio output apparatus, and when receiving the audio frequency inputted when user processes the described air time, judge that this audio frequency is inputted by end microphones or inputted by the microphone of audio output apparatus, if this audio frequency is inputted by end microphones, then can confirm that user directly utilizes call event described in terminal processes, if this audio frequency is inputted by the microphone of audio output apparatus, then can confirm that user does not directly utilize call event described in terminal processes.
In step S203, carry out audio frequency output by the receiver of terminal.
Based on the judged result of abovementioned steps S202, when confirming that user directly utilizes call event described in terminal processes, illustrating that user is now handheld terminal, terminal being pressed close to ear and being conversed by the receiver of terminal and microphone, therefore in this step, carry out audio frequency output by the receiver of terminal.
In step S204, after call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
Can find out that disclosure terminal can in generation call event by above description, and when confirming to be connected with audio output apparatus, detect user and whether directly utilize call event described in terminal processes, and when confirming that user is conversed by terminal, and then carry out audio frequency output by the receiver of terminal, improve the accuracy of the audio frequency way of output, promote the experience of user.
Optionally, in another embodiment of the disclosure, after abovementioned steps S203 carries out audio frequency output by the receiver of terminal, terminal can in communication process, continue to detect user and whether directly utilize call event described in terminal processes, and when confirming that user does not directly utilize call event described in terminal processes, again carry out audio frequency output by audio output apparatus.For example, the mobile phone of user is inserted with earphone, and when there being incoming call, user's subconsciousness picks up mobile phone incoming call answering, and now according to implementation of the present disclosure, the user that confirms phone directly utilizes mobile phone incoming call answering, carries out audio frequency output by the receiver of mobile phone.User wants again to be conversed by earphone after call a period of time, and mobile phone will put down by user, and the user that confirms phone directly does not utilize mobile phone incoming call answering, then carry out audio frequency output by earphone.As can be seen here, in the present embodiment, terminal is after carrying out audio frequency output by receiver, can continue to detect user and whether directly utilize call event described in terminal processes in user's communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output, to realize the automatic switchover that audio frequency exports, promotes the experience of user.
Corresponding with aforementioned audio output intent embodiment, the disclosure additionally provides the embodiment of audio output device.
Fig. 3 is the block diagram of a kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 3, described audio output device 300 may be used for, in terminal, including: connection judgment unit 301, call detecting unit 302 and the first output unit 303.
Wherein, described connection judgment unit 301 is configured to: when there is call event, judge whether terminal is connected with audio output apparatus;
Described call detecting unit 302 is configured to: when terminal is connected with audio output apparatus, detects user and whether directly utilizes call event described in terminal processes;
Described first output unit 303 is configured to: when confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
In above-described embodiment, terminal can in generation call event, and when confirming to be connected with audio output apparatus, detect user and whether directly utilize call event described in terminal processes, and when confirming that user is conversed by terminal, and then carry out audio frequency output by the receiver of terminal, improve the accuracy of the audio frequency way of output, promote the experience of user.
Fig. 4 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 4, this embodiment is on the basis of the embodiment shown in earlier figures 3, and described call detecting unit 302 can comprise: distance detection sub-unit 3021 and first confirms subelement 3022.
Wherein, described distance detection sub-unit 3021 is configured to: detect the distance of user and terminal whether in default distance;
Described first confirms that subelement 3022 is configured to: when the distance of user and terminal is in described default distance, then confirmation user directly utilizes call event described in terminal processes.
Fig. 5 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 5, this embodiment is on the basis of the embodiment shown in earlier figures 3, and described call detecting unit 302 can comprise: input judgment sub-unit 3023 and second confirms subelement 3024.
Wherein, described input judgment sub-unit 3023 is configured to: when receiving the audio frequency inputted when user processes described call event, judges whether described audio frequency is inputted by the microphone of terminal;
Described second confirms that subelement 3024 is configured to: when described audio frequency is inputted by the microphone of terminal, confirm that user directly utilizes call event described in terminal processes.
In one embodiment, the call detecting unit 302 of audio output device of the present disclosure can comprise distance detection sub-unit 3021, first confirmation subelement 3022, input judgment sub-unit 3023 and the second confirmation subelement 3024 simultaneously.
In another embodiment, the call detecting unit 302 of audio output device of the present disclosure also can comprise distance detection sub-unit 3021, input judgment sub-unit 3023 and the 3rd confirms subelement (not shown).Described 3rd confirms that subelement is configured to: when the distance of user and terminal is in described default distance, then confirmation user directly utilizes call event described in terminal processes; When described audio frequency is inputted by the microphone of terminal, confirm that user directly utilizes call event described in terminal processes.
Fig. 6 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 6, this embodiment is on the basis of the embodiment shown in earlier figures 3, and described audio output device 300 can also comprise: the second output unit 304.
Described second output unit 304 is configured to: in communication process, and when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output.
In above-described embodiment, terminal is after carrying out audio frequency output by receiver, can continue to detect user and whether directly utilize call event described in terminal processes in user's communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output, to realize the automatic switchover that audio frequency exports, promote the experience of user.
Fig. 7 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 7, this embodiment is on the basis of the embodiment shown in earlier figures 3, and described connection judgment unit 301 can comprise: judgment sub-unit 3011 and confirmation subelement 3012.
Wherein, described judgment sub-unit 3011 is configured to: judge whether the receiver J-Horner of terminal is inserted with audio output apparatus and judges whether terminal is connected with audio output apparatus by bluetooth;
Described confirmation subelement 3012 is configured to: be inserted with audio output apparatus at the receiver J-Horner of terminal, or when terminal is connected with audio output apparatus by bluetooth, confirms that terminal is connected with audio output apparatus.
Fig. 8 is the block diagram of the another kind of audio output device according to an exemplary embodiment.
Please refer to Fig. 8, this embodiment is on the basis of the embodiment shown in earlier figures 3, and described audio output device 300 can also comprise: the 3rd output unit 305.
Described 3rd output unit 305 is configured to: after call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
Optionally, described call event comprises: caller event and called event.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of audio output device, and described device comprises: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to: when there is call event, judge whether terminal is connected with audio output apparatus; If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes; When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
Accordingly, the disclosure also provides a kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal, make terminal can perform a kind of audio-frequency inputting method, described method comprises: when there is call event, judge whether terminal is connected with audio output apparatus; If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes; When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
Fig. 9 is a kind of block diagram for audio output device 800 according to an exemplary embodiment.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing unit 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for device 800.Such as, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. an audio-frequency inputting method, is characterized in that, comprising:
When there is call event, judge whether terminal is connected with audio output apparatus;
If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes;
When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
2. audio-frequency inputting method according to claim 1, is characterized in that, whether described detection user directly utilizes call event described in terminal processes, comprising:
Detect the distance of user and terminal whether in default distance;
If when the distance of user and terminal is in described default distance, then confirm that user directly utilizes call event described in terminal processes.
3. audio-frequency inputting method according to claim 1 and 2, is characterized in that, whether described detection user directly utilizes call event described in terminal processes, also comprises:
When receiving the audio frequency inputted when user processes described call event, judge whether described audio frequency is inputted by the microphone of terminal;
If described audio frequency is inputted by the microphone of terminal, then confirm that user directly utilizes call event described in terminal processes.
4. audio-frequency inputting method according to claim 1, is characterized in that, after the receiver by terminal carries out audio frequency output, also comprises:
In communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output.
5. audio-frequency inputting method according to claim 1, is characterized in that, describedly judges whether terminal is connected with audio output apparatus, comprising:
Judge whether the receiver J-Horner of terminal is inserted with audio output apparatus and judges whether terminal is connected with audio output apparatus by bluetooth;
If the receiver J-Horner of terminal is inserted with audio output apparatus, or terminal is connected with audio output apparatus by bluetooth, then confirm that terminal is connected with audio output apparatus.
6. audio-frequency inputting method according to claim 1, is characterized in that, also comprises:
After call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
7. audio-frequency inputting method according to claim 1, is characterized in that,
Described call event comprises: caller event and called event.
8. an audio output device, is characterized in that, comprising:
Connection judgment unit, for when there is call event, judges whether terminal is connected with audio output apparatus;
Call detecting unit, for when terminal is connected with audio output apparatus, detects user and whether directly utilizes call event described in terminal processes;
First output unit, for when confirming that user directly utilizes call event described in terminal processes, carries out audio frequency output by the receiver of terminal.
9. audio output device according to claim 8, is characterized in that, described call detecting unit comprises:
Distance detection sub-unit, for detecting the distance of user and terminal whether in default distance;
First confirms subelement, for when the distance of user and terminal is in described default distance, confirms that user directly utilizes call event described in terminal processes.
10. audio-frequency inputting method device according to claim 8 or claim 9, it is characterized in that, described call detecting unit also comprises:
Input judgment sub-unit, for when receiving the audio frequency inputted when user processes described call event, judges whether described audio frequency is inputted by the microphone of terminal;
Second confirms subelement, for when described audio frequency is inputted by the microphone of terminal, confirms that user directly utilizes call event described in terminal processes.
11. audio output devices according to claim 8, is characterized in that, also comprise:
Second output unit, in communication process, when confirming that user does not directly utilize call event described in terminal processes, the audio output apparatus connected by terminal carries out audio frequency output.
12. audio output devices according to claim 8, is characterized in that, described connection judgment unit comprises:
Judgment sub-unit, for judging whether the receiver J-Horner of terminal is inserted with audio output apparatus and judges whether terminal is connected with audio output apparatus by bluetooth;
Confirm subelement, be inserted with audio output apparatus for the receiver J-Horner in terminal, or when terminal is connected with audio output apparatus by bluetooth, confirm that terminal is connected with audio output apparatus.
13. audio output devices according to claim 8, is characterized in that, also comprise:
3rd output unit, for after call event terminates, the audio output apparatus connected by terminal carries out audio frequency output.
14. audio output devices according to claim 8, is characterized in that,
Described call event comprises: caller event and called event.
15. 1 kinds of audio output devices, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
When there is call event, judge whether terminal is connected with audio output apparatus;
If terminal is connected with audio output apparatus, then detects user and whether directly utilize call event described in terminal processes;
When confirming that user directly utilizes call event described in terminal processes, carry out audio frequency output by the receiver of terminal.
CN201510209812.1A 2015-04-28 2015-04-28 Audio-frequency inputting method and device Active CN104935729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510209812.1A CN104935729B (en) 2015-04-28 2015-04-28 Audio-frequency inputting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510209812.1A CN104935729B (en) 2015-04-28 2015-04-28 Audio-frequency inputting method and device

Publications (2)

Publication Number Publication Date
CN104935729A true CN104935729A (en) 2015-09-23
CN104935729B CN104935729B (en) 2018-05-25

Family

ID=54122689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510209812.1A Active CN104935729B (en) 2015-04-28 2015-04-28 Audio-frequency inputting method and device

Country Status (1)

Country Link
CN (1) CN104935729B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812579A (en) * 2016-05-11 2016-07-27 北京小米移动软件有限公司 Processing method and device when a mobile terminal appears silent conversation
CN106210344A (en) * 2016-07-27 2016-12-07 维沃移动通信有限公司 A kind of call mode method to set up and mobile terminal
CN106921803A (en) * 2017-03-29 2017-07-04 联想(北京)有限公司 The player method and control device of multi-medium data
CN109743454A (en) * 2018-12-29 2019-05-10 维沃移动通信有限公司 A kind of call handling method and mobile terminal
CN113963732A (en) * 2021-09-17 2022-01-21 荣耀终端有限公司 Audio playing method and terminal equipment
CN116527810A (en) * 2016-08-26 2023-08-01 荣耀终端有限公司 Method for outputting audio, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2710278Y (en) * 2004-02-25 2005-07-13 赵婕 Multiple sound resource switching device
CN1921665A (en) * 2005-08-26 2007-02-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with voice output switching function and operation method thereof
US20080144806A1 (en) * 2006-12-14 2008-06-19 Motorola, Inc. Method and device for changing to a speakerphone mode
CN104038625A (en) * 2013-03-05 2014-09-10 索尼移动通讯有限公司 Automatic routing of call audio at incoming call

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2710278Y (en) * 2004-02-25 2005-07-13 赵婕 Multiple sound resource switching device
CN1921665A (en) * 2005-08-26 2007-02-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with voice output switching function and operation method thereof
US20080144806A1 (en) * 2006-12-14 2008-06-19 Motorola, Inc. Method and device for changing to a speakerphone mode
CN104038625A (en) * 2013-03-05 2014-09-10 索尼移动通讯有限公司 Automatic routing of call audio at incoming call

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812579A (en) * 2016-05-11 2016-07-27 北京小米移动软件有限公司 Processing method and device when a mobile terminal appears silent conversation
CN105812579B (en) * 2016-05-11 2019-04-16 北京小米移动软件有限公司 Treating method and apparatus when mobile terminal call is noiseless
CN106210344A (en) * 2016-07-27 2016-12-07 维沃移动通信有限公司 A kind of call mode method to set up and mobile terminal
CN116527810A (en) * 2016-08-26 2023-08-01 荣耀终端有限公司 Method for outputting audio, electronic device and storage medium
CN106921803A (en) * 2017-03-29 2017-07-04 联想(北京)有限公司 The player method and control device of multi-medium data
CN109743454A (en) * 2018-12-29 2019-05-10 维沃移动通信有限公司 A kind of call handling method and mobile terminal
CN113963732A (en) * 2021-09-17 2022-01-21 荣耀终端有限公司 Audio playing method and terminal equipment

Also Published As

Publication number Publication date
CN104935729B (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN104318741A (en) Bluetooth device control method and device
CN105451111A (en) Earphone play control method and apparatus and terminal
CN104935729A (en) Audio output method and device
CN104065836A (en) Method and device for monitoring calls
CN104902059A (en) Call reminding method and device
CN104378485A (en) Volume adjustment method and volume adjustment device
CN105205955A (en) Method and device for sending out warning signal
CN105703185A (en) Signal transmission method, signal transmission device and adapter connecting head
CN104618511A (en) Intelligent device detection method and device
CN105138319A (en) Event reminding method and apparatus
CN104601815A (en) Answer device determining method and device
CN104468971A (en) Method and device for connecting playing source
CN105391477A (en) A communication method and device between bluetooth devices
CN104378715A (en) Device and method for lowering earphone POP sound
CN103986999A (en) Method, device and terminal equipment for detecting earphone impedance
CN104636110A (en) Method and device for controlling volume
CN105100484A (en) Method, device and system for ending voice call
CN104394137A (en) Voice call reminding method and device
CN105530381A (en) Call hanging-up method and device
CN105554631B (en) Audio switching method, device and electronic equipment
CN105376144A (en) Information processing method and device
CN106941635A (en) Audio amplifier connection method and device
CN104936099A (en) Method and device for recognizing loudspeaker
CN104881342A (en) Terminal testing method and device

Legal Events

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