WO2017084066A1 - 一种输出语音的方法及设备 - Google Patents

一种输出语音的方法及设备 Download PDF

Info

Publication number
WO2017084066A1
WO2017084066A1 PCT/CN2015/095009 CN2015095009W WO2017084066A1 WO 2017084066 A1 WO2017084066 A1 WO 2017084066A1 CN 2015095009 W CN2015095009 W CN 2015095009W WO 2017084066 A1 WO2017084066 A1 WO 2017084066A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
portable electronic
inverted state
call
speaker
Prior art date
Application number
PCT/CN2015/095009
Other languages
English (en)
French (fr)
Inventor
井皓
高光远
郜文美
王雅丽
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/095009 priority Critical patent/WO2017084066A1/zh
Priority to CN201580065127.4A priority patent/CN107005610A/zh
Publication of WO2017084066A1 publication Critical patent/WO2017084066A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present application relates to the field of terminals, and in particular, to a method and device for outputting voice.
  • the user selects the handset to output the voice by default after the user answers the call.
  • the user can hear the incoming call voice when the ear is close to the earpiece, and the maximum volume of the earpiece is not too large, so as not to damage the user's hearing and avoid the volume. If the address is too large and is heard by others, the privacy of the user will be revealed.
  • the phone If the user picks up the phone or takes the phone out of his pocket, the phone is found to be upside down. At this time, the user needs another hand to help hold the hand of the mobile phone to rotate the mobile phone, and then correct the incoming call by aligning the mobile phone. If the user's other hand is occupied, the user can only rotate the mobile phone with the hand holding the mobile phone, which is very easy to trigger a misoperation or cause the mobile phone to fall off, causing inconvenience to the user.
  • the object of the present invention is to provide a method and a device for outputting a voice, which are used to solve the problem that the voice can only be output through the earpiece in the prior art and cause inconvenience to the user, and the speaker can output the voice instead of the earpiece. Improve the user experience.
  • a first aspect provides a method of outputting voice for a portable electronic device, the portable electronic device comprising a speaker and an earpiece, the method comprising: detecting an incoming call when the portable electronic device is in an inverted state, displaying a call interface; detecting an operation to answer the call, connecting the call, enabling the speaker to output voice in place of the handset.
  • the incoming call is detected when the portable electronic device is in an inverted state, and the call interface is displayed, and the speaker is activated to replace the handset output voice after the call is connected, wherein the inversion includes vertical inversion, horizontal inversion or oblique inversion, etc. It is used to indicate that the position and direction in which the object is currently placed is completely opposite or substantially opposite to the original position and direction of the object.
  • the mobile phone is in a non-inverted state, generally the speaker is below the earpiece, when the mobile phone is in When in the inverted state, the speaker is located above the earpiece.
  • the speaker when the mobile phone is in the non-inverted state, the speaker is generally on the left side of the handset, and when the mobile phone is in the inverted state, the speaker is on the right side of the handset.
  • the mobile phone When the mobile phone is connected to the phone, the default is to output the voice of the handset of the mobile phone.
  • the mobile phone if the mobile phone is in an inverted state, the user also needs to When the mobile phone is turned over, it is possible to answer the call through the earpiece, which is very likely to cause the user's misoperation or the problem of the mobile phone falling off, which causes inconvenience to the user.
  • the voice can be directly outputted through the speaker instead of the earphone, which is convenient for the user to answer the phone, thereby effectively improving the user experience, and eliminating the need to set the earpiece at the bottom of the portable electronic device, thereby making full use of the existing hardware resources and effectively saving costs.
  • the portable electronic device is the same as the call interface of the portable electronic device in the non-inverted state after the call interface in the inverted state is rotated by 180 degrees; or
  • the call interface of the portable electronic device in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state.
  • the call interface when the portable electronic device is in an inverted state, the call interface can be inverted or non-inverted.
  • the call interface when the call interface is inverted, the call interface is rotated by 180 degrees.
  • the call interface is in a non-inverted state, thereby facilitating the user to operate the call interface and effectively improving the user experience. For example: rotate the call interface of the mobile phone by 180 degrees and rotate it based on the coordinates of the mobile phone screen.
  • the midpoint of the mobile phone screen is used as the rotation point, and the long side of the mobile phone is the Y axis, and the short side of the mobile phone is The X-axis ensures that the call interface of the mobile phone is rotated 180 degrees and is the same as the call interface in the non-inverted state of the mobile phone, thereby facilitating the user to operate the call interface.
  • the method further includes: displaying a call interface at the same time as or after the connecting the call.
  • the portable electronic device rotates 180 degrees after the call interface in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state; or the call interface of the portable electronic device in the inverted state and the portable The call interface of the electronic device in the non-inverted state is the same.
  • the call interface can be inverted or non-inverted.
  • the call interface when the call interface is in an inverted state, the call interface is rotated by 180 degrees to make the call.
  • the interface is in a non-inverted state, which facilitates the user to operate the call interface.
  • the call interface of the mobile phone when the call interface of the mobile phone is in an inverted state, the user wants to click “Contact”, “Add Phone”, etc. on the call interface, at this time, the call On the interface, “Address Book”, “Add Phone” and “Hands Free” are inverted, which affects the user's visual effect. It is not convenient for the user to read the word.
  • the call interface is rotated by 180 degrees, and the specific rotation is 180.
  • the method of rotating the call interface is the same as the above, and will not be described here.
  • the call interface is rotated by 180 degrees, the call interface is in a non-inverted state, which is convenient.
  • the user operates the call interface to effectively improve the user experience.
  • the inverted state of the mobile phone is rotated 180 degrees and then placed in a non-inverted state, thereby avoiding the problem of hanging up the call caused by the wrong operation of the face during the call.
  • a second aspect provides a portable electronic device including a speaker and an earpiece, further comprising:
  • a display module configured to detect an incoming call when the portable electronic device is in an inverted state, and display a call interface
  • a processing module configured to detect an operation of answering the call, connect the call, and enable the speaker to output voice instead of the earpiece.
  • the display module detects an incoming call and displays a call interface when the portable electronic device is in an inverted state, and further After the processing module connects the call, the speaker is enabled instead of the handset to output the voice.
  • the voice can only be output through the earpiece. For example, when the user picks up the phone and picks up the phone, the phone is found to be in an inverted state. It is assumed that the speaker of the mobile phone is next to the user's ear. If the mobile phone is in accordance with the prior art, the user needs to use the mobile phone.
  • the invention solves the limitation of the voice output only through the earpiece in the prior art, and replaces the speaker when the mobile phone is in the inverted state.
  • the handset outputs voice, so the user does not need to reverse the mobile phone in the inverted state, thereby effectively improving the user experience, and eliminating the need to add other hardware devices (such as earpieces) on the mobile phone to output voice, thereby effectively saving costs.
  • the portable electronic device rotates 180 degrees after the call interface in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state; or
  • the call interface of the portable electronic device in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state.
  • the call interface can be inverted or non-inverted.
  • the call interface in the inverted state is rotated by 180 degrees so that the call interface is in a non-inverted state, and the user operates during the call.
  • the call interface effectively improves the user experience.
  • a third aspect provides a portable electronic device comprising: one or more processors, a memory, a bus system, a transceiver, and one or more programs, the processor, the memory, and the transceiver passing through the bus System connection
  • the one or more programs are stored in the memory, the one or more programs comprising instructions that, when executed by the portable electronic device, cause the portable electronic device to perform as in the first aspect or The method of any of the possible implementations of the first aspect.
  • the speaker can also output the voice instead of the earpiece, thereby effectively improving the user experience, and eliminating the need to add other hardware devices (such as an earpiece) on the portable electronic device to output the voice, making full use of the existing Hardware resources thus save costs.
  • a fourth aspect provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device, cause the portable electronic device to perform the first aspect Or the method of any of the possible implementations of the first aspect.
  • the portable electronic device can also output the voice through the speaker instead of the earpiece, thereby effectively improving the user experience without the need for the portable electronic device.
  • Add other hardware devices such as earpieces to output voice, and make full use of existing hardware resources to save costs.
  • a fifth aspect provides a graphical user interface on a portable electronic device, the portable electronic device including a display, a memory, a plurality of applications, and one or more degrees for performing one or more levels stored in the memory
  • the graphical user interface comprising a user interface displayed according to the method of the first aspect or any one of the possible implementations of the first aspect, wherein the display comprises a touch-sensitive surface and a display screen.
  • the graphical user interface is a user interface displayed by the method of outputting voice by the first portable electronic device, and the portable electronic device can also output the voice through the speaker instead of the earpiece, thereby effectively improving the user experience without increasing the portable electronic device.
  • Other hardware devices such as earpieces
  • output voice making full use of existing hardware resources to save costs.
  • FIG. 1 is a schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • FIG. 2 is another schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an embodiment of outputting voice in an embodiment of the present invention.
  • 4a-4s are schematic structural diagrams of a mobile phone according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of outputting voice according to an embodiment of the present invention.
  • FIG. 6 is another schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • FIG. 7 is another schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • FIG. 8 is another schematic structural diagram of a portable electronic device according to an embodiment of the present invention.
  • the invention discloses an output voice method and device, which are used for solving the problem that the voice can only be output through the earpiece in the prior art and the inconvenience to the user, and the other hardware device is not required to output the voice, and the speaker can be directly passed through the speaker. Instead of the handset outputting voice, it effectively improves the user experience and saves costs.
  • the portable electronic device 100 includes a communication unit 101, an input unit 102, an output unit 103, a processor 104, a storage unit 105, and a peripheral interface 106. Operating system 107, each unit is connected by one or more buses.
  • the communication unit 101 is configured to establish a communication channel, so that the portable electronic device performs voice communication, text communication, data communication, and the like with the remote electronic device or the server through the communication channel; the input unit 102 is configured to implement the user and the portable electronic device.
  • the interaction and/or information is input into the portable electronic device;
  • the processor 104 is a control center of the electronic device that connects various parts of the entire portable electronic device using various interfaces and lines, by running or executing a software program stored in the storage unit and And/or modules, and recalling data stored in the storage unit to perform various functions and/or process data of the portable electronic device;
  • the output unit 103 includes, but is not limited to, a sound output unit for outputting the audio signal output by the processor Converting from a digital format to an analog format;
  • the storage unit 105 can be used to store software programs and modules;
  • the peripheral interface 106 is used to connect to remote electronic devices or servers;
  • the operating system 107 includes for controlling and managing conventional system tasks, such as memory Management, storage device control, power management, sound Management, and to facilitate a variety of components and / or drivers for communication between various hardware and software.
  • the structure of the portable electronic device shown in FIG. 1 does not constitute a limitation of the present invention, and it may be a bus-shaped structure or a star-shaped structure, and may also include a ratio More or fewer parts, or some parts, or different parts.
  • the portable electronic device in the embodiment of the present invention includes but is not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (English full name: Personal Digital Assistant, PDA), a media player, a smart TV, and a wearable device ( For example, a smart watch or smart glasses, etc.), a combination of two or more of the above, and the like.
  • the speaker is replaced by an earpiece to output voice through audio circuitry control of the portable electronic device.
  • the portable electronic device 200 includes an audio circuitry 201, an upper microphone 202, a lower microphone 203, a speaker 204, and The earpiece 205, in general, the upper microphone 202 and the earpiece 205 are disposed at the top of the portable electronic device 200, and the lower microphone 203 and the speaker 204 are disposed at the bottom of the portable electronic device 200, wherein the audio circuit system 201 includes an audio input controller 2011, The audio decoder 2012 and the audio output controller 2013 can be seen that the audio input controller 2011 receives the electrical signal converted from the voice sound wave by the upper microphone 202 or the lower microphone 203, and decodes the electrical signal into audio data through the audio decoder 2012.
  • the audio decoder 2012 outputs the audio data to the speaker 204 or the earpiece 205 through the audio output controller 2013, and converts it into a human audible sound wave through the 204 or the earpiece 205.
  • the portable electronic device involved in the present invention includes, but is not limited to, a microphone. In one case, the portable electronic device is configured with only one microphone, and in the other case, the portable electronic device can also be configured with two or more microphones.
  • an embodiment of a method of outputting voice in the present invention is for a portable electronic device, the portable electronic device including a speaker and an earpiece, and the embodiment includes: The portable electronic device detects an incoming call in an inverted state, displays a call interface; detects an operation to answer the call, connects the call, and enables the speaker to output voice instead of the handset.
  • the portable electronic device receives the call.
  • a mobile phone when a mobile phone receives a call, the user generally picks up the mobile phone to answer the call, and the state of picking up the mobile phone may be in an inverted state or a non-inverted state.
  • the mobile phone When the mobile phone is in a non-inverted state, the user passes The handset answers the call normally.
  • the mobile phone When the mobile phone is in the inverted state, it needs to answer the call through the handset.
  • the user needs to turn the mobile phone upside down to receive the call normally, which brings inconvenience to the user.
  • the inverted state includes a vertical inversion, a horizontally inverted or an obliquely inverted state, and is used to indicate that the position and direction in which the object is currently placed are completely opposite or approximately opposite to the original position and direction of the object, for example:
  • the mobile phone is in a vertical non-inverted state, and the speaker is below the earpiece, as shown in FIG. 4b.
  • the speaker is located above the earpiece.
  • the speaker when the mobile phone is in a horizontally non-inverted state, the speaker is on the left side of the earpiece, and it should be noted that the distance from the earpiece to the ear of the user answering the phone is in a state where the mobile phone is in a state of being horizontally non-inverted. The distance from the speaker to the ear of the user answering the phone is as shown in Figure 4d.
  • the speaker When the mobile phone is in the horizontally inverted state, the speaker is on the right side of the earpiece. It should be noted that the handset is in the state where the mobile phone is in a horizontally inverted state. The distance of the ear that answers the call is farther than the distance from the speaker to the ear that the user answers the call.
  • the manner in which the portable electronic device is in an inverted state may be other inverted states than the above-mentioned state in which the mobile phone is used as an example, and is not specifically limited herein.
  • the portable electronic device determines whether the portable electronic device is in an inverted state.
  • the portable electronic device acquires the position state of the portable electronic device through a sensor or a touch screen.
  • a gravity sensor is disposed in the portable electronic device, and the gravity sensor determines the portable by detecting a change in the direction of the gravity acceleration of the portable electronic device.
  • the state of the electronic device assuming that the portable electronic device is in a non-inverted state, the default gravity addition degree is a positive value (for example: 9.8 N/Kg), for example, as shown in FIG. 4a, the mobile phone is in a vertical non-inverted state, the speaker In Below the earpiece, the gravity sensor detects that the gravity acceleration of the mobile phone is positive.
  • the portable electronic device can also determine whether the portable electronic device is in an inverted state by at least one of a built-in accelerometer, a gyroscope, and an electronic compass.
  • the portable electronic device is further provided with a distance sensor or an ultrasonic sensor, etc., for example, as shown in FIG. 4c, when the mobile phone is in a horizontal non-inverted state, generally the speaker is on the left side of the earpiece.
  • a distance sensor or an ultrasonic sensor etc.
  • the distance from the earpiece to the ear of the user answering the phone is closer than the distance from the speaker to the ear of the user answering the phone, and is specifically detected by the distance sensor or the ultrasonic sensor or the touch screen.
  • the distance from the earpiece to the ear of the user's answering phone is closer than the distance from the speaker to the ear that the user answers the call.
  • the shape of the ear can be detected by the ultrasonic sensor and the distance from the ear to the earpiece or speaker can be detected.
  • the speaker is on the right side of the earpiece.
  • the distance from the earpiece to the ear of the user answering the phone is higher than that of the speaker to the user.
  • the distance of the ear of the telephone is far, in particular, it is detected by the distance sensor or the ultrasonic sensor or the touch screen that the distance from the earpiece to the ear of the user answering the phone is farther than the distance from the speaker to the ear of the user answering the phone.
  • the touch screen can sense the ear, and then determine whether the ear is close to the speaker or close to the earpiece.
  • the portable electronic device When the portable electronic device is in a non-inverted state, the portable electronic device sends a start command, incoming call audio, and volume to the handset.
  • non-inverted state includes a flat state or any state that does not satisfy the definition of the inversion, and is not limited herein.
  • the portable electronic device When the portable electronic device is in an inverted state, the portable electronic device detects an incoming call and displays a call interface.
  • the portable electronic device rotates 180 degrees after the call interface in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state; or the portable electronic device is inverted
  • the call interface in the state is the same as the call interface of the portable electronic device in the non-inverted state.
  • the call interface when the portable electronic device is in an inverted state, as shown in FIG. 4g, the call interface is inverted, as shown in FIG. 4h, the call interface is non-inverted.
  • rotating the inverted call interface by 180 degrees makes the call interface non-inverted, thereby facilitating the user to operate the call interface and effectively improving the user experience.
  • the midpoint of the mobile phone screen is used as the rotation point
  • the long side of the mobile phone is the Y axis
  • the short side of the mobile phone is the X.
  • the axis ensures that the call interface of the mobile phone is rotated 180 degrees to be the same as the call interface in the non-inverted state of the mobile phone, thereby facilitating the user to operate the call interface.
  • the same call interface can be understood as the same in the same scenario, for example, all of the same phone numbers; or the same as the whole, excluding the phone number and the difference of the avatar.
  • the portable electronic device adjusts the volume of the speaker and answers the call.
  • the volume of the speaker is the same or matches the volume of the earpiece.
  • matching means that the volume of the speaker is not exactly the same as the volume of the earpiece, and there are subtle differences, which can be understood as approximately the same.
  • the earpiece is generally used when answering a call.
  • the sound is relatively small.
  • the speaker is generally used when it is placed outside.
  • the sound is relatively large.
  • the number of speaker volume levels is set to be the same as the volume level of the earpiece.
  • the speaker volume level is in one-to-one correspondence with the earpiece level, and the volume value of each volume level of the speaker is set to ensure that the volume at which the speaker outputs audio according to the volume value is the same as or similar to the volume emitted by the corresponding level of the earpiece.
  • the audio circuitry can set the volume level of each audio output device, as well as the volume corresponding to each volume level. Take the speaker as an example. In the engineering mode, you can see the volume level of the speaker and its corresponding volume, as shown below:
  • LEVEL is the volume level and VALUE is the volume value.
  • the speaker has a total of 7 volume levels (the number of volume levels can be arbitrarily set), and each volume level corresponds to a different volume value.
  • the phone system will control the speaker to play the audio at the volume corresponding to the specific volume level according to the command triggered by the volume button.
  • the portable electronic device simultaneously or after connecting the call further includes: the portable electronic device displaying the call interface.
  • the portable electronic device rotates 180 degrees after the call interface in the inverted state is the same as the call interface of the portable electronic device in the non-inverted state; or the call interface of the portable electronic device in the inverted state The portable electronic device has the same call interface in the non-inverted state.
  • the call interface is inverted. As shown in FIG. j, the call interface is non-inverted.
  • the call interface is in an inverted state.
  • the inverted call interface is rotated by 180 degrees, the call interface is in a non-inverted state, thereby utilizing the user to operate the call interface.
  • the call interface of the mobile phone is in an inverted state, the user wants to click “Contact”, “Add Phone”, etc. on the call interface, at this time, “Contact” on the call interface, “Add Phone”, “ The word “hands-free” is inverted, which affects the user's visual effect. It is not convenient for the user to read the word.
  • the call interface is rotated by 180 degrees.
  • the specific method of rotating 180 is the same as the above-mentioned method of rotating the call interface.
  • the call interface is in a non-inverted state, which is convenient for the user to operate the call interface, thereby effectively improving the user experience.
  • the call interface in the inverted state is rotated by 180 degrees, it is also possible to avoid the problem that the face is mistakenly caused to hang up the call.
  • the same call interface can be understood as the same in the same scene, for example, all the same phone numbers; or the same as the whole, excluding the phone number and the avatar difference.
  • the portable electronic device sends a start command, incoming call audio, and volume to the speaker.
  • the audio circuit system adjusted incoming audio and volume commands (volume level or volume value) are sent to the speaker. It can be seen that when the portable electronic device is in an inverted state, the user is inconvenient to answer the call through the earpiece, and after the speaker outputs the voice through the speaker, the user can directly answer the call through the speaker without adding other hardware devices (such as the earpiece) on the portable electronic device. ) to output the voice, thereby effectively saving the cost, and the volume of the speaker is also the same as or matching with the volume of the earpiece, which largely satisfies the user's normal answering phone demand, and effectively improves the user experience.
  • the portable electronic device After the volume key is triggered, the portable electronic device sends a volume key adjustment command to the audio circuit system.
  • the volume button when the user presses the volume button, the volume button is triggered to activate the volume adjustment function. For example, when the user answers the call, such as when the volume of the speaker is too large, the user needs to turn down the volume, and then press the volume button to decrease the volume.
  • the portable electronic device adjusts a volume up and down key command.
  • the positional relationship of the volume keys is opposite to the positional relationship when the portable electronic device is in the non-inverted state, that is, the volume up key is below the volume down key, so when the user presses the volume up key, I want to reduce the volume, and I want to increase the volume when I press the volume down button. Therefore, the audio circuit system of the portable electronic device should change the command triggered by the volume up key to the volume down command, and the command triggered by the volume down button to the enhanced volume command.
  • the portable electronic device sends a command to adjust a volume to the speaker.
  • the portable electronic device sends a command for adjusting the volume to the speaker through the audio circuit system, so that the up button of the speaker is used to reduce the volume, and the down button of the speaker is used to enhance the volume, that is, while the speaker outputs the voice instead of the earpiece.
  • the volume up and down keys and the random change function are closer to the user experience.
  • steps 306 to 309 are optional implementations.
  • the adjustment of the volume keys is not required, and is not specifically limited herein.
  • detecting insertion of an earphone into the portable electronic device turning off the speaker or the earpiece. That is, the speaker or the earpiece is turned off at the same time as or after the insertion of the earphone into the portable electronic device, so that the user answers the call through the voice output by the earphone.
  • the portable electronic device further includes a first microphone and a second microphone
  • the function of the first microphone and the second microphone is switched before or after the enable speaker replaces the output of the voice of the earpiece.
  • the function of the first microphone and the second microphone is switched before or after the speaker is output instead of the handset output voice, as shown in FIG. 4k, the first microphone is generally set in the At the bottom of the portable electronic device, the second microphone is disposed at the top of the portable electronic device, wherein the first microphone is generally used for detecting voice, the second microphone is generally used for detecting voice and noise, and the second microphone is performed by voice detected by the first microphone. After the comparison, the noise is determined and denoising is performed to ensure that the voice heard by the user is clear.
  • the functions of the first microphone and the second microphone are switched, that is, the first microphone is used for detecting voice and noise, the second microphone is used for detecting voice, and the first microphone is passed.
  • the noise component is determined, and the noise reduction process is performed, and after the function of the first microphone and the microphone is switched, the user's personal experience is approached.
  • the embodiment shown in FIG. 3 only relates to the content of the current portable electronic device in an inverted state.
  • the corresponding hardware function may also need to be changed.
  • an embodiment of the present invention including: detecting an incoming call when the portable electronic device is in an inverted state, displaying a call interface; detecting an operation of answering the call, connecting the call, enabling the speaker to replace The earpiece outputs a voice.
  • the portable electronic device is detected to be in a non-inverted state during the connection call, and the handset is enabled to output voice instead of the speaker.
  • the portable electronic device is in an inverted state, and the voice is output through the speaker instead of the earpiece.
  • step 301 to step 309 of FIG. 3 The specific process involved in this step is as shown in step 301 to step 309 of FIG. 3 .
  • step 301 to step 309 The specific process involved in this step is as shown in step 301 to step 309 of FIG. 3 .
  • steps 301 to step 309 For details, refer to step 301 to step 309 , and details are not described herein again.
  • the portable electronic device determines whether the portable electronic device is in a non-inverted state.
  • the portable electronic device is in a non-inverted state is detected by a sensor or a touch screen in the portable electronic device.
  • the non-inverted state at this time is generally considered to be a normal call state, and the audio circuit system passes the sensor.
  • the touch screen determines whether the portable electronic device is in a non-inverted state.
  • the specific detection process is similar to the process in step 302 of detecting whether the portable electronic device is in an inverted state. For example, refer to step 302, and details are not described herein again.
  • the portable electronic device When the portable electronic device is in a non-inverted state, the portable electronic device displays a call interface.
  • the non-inverted call interface of the portable electronic device is the same as the call interface of the portable electronic device in an inverted state; or the portable electronic device is in an inverted state after the non-inverted call interface is rotated by 180 degrees.
  • the call interface is the same.
  • the handset is below the speaker.
  • the speaker is used to replace the output voice of the handset.
  • cost saving when the mobile phone becomes non-inverted during the answering process, the default speaker is under the earpiece, and the user answers the call normally. It can be seen that the call interface can change with the position state of the portable electronic device, that is, : It can be flexibly switched to maximize user convenience.
  • the portable electronic device sends a start command, incoming call audio, and volume to the handset.
  • the portable electronic device is detected to be in a non-inverted state during the connection call, and the handset is enabled to output voice instead of the speaker. It can be seen that the earpiece or the speaker can be flexibly switched according to the position state of the portable electronic device, and an output voice is selected to facilitate the user's use.
  • the portable electronic device adjusts the volume up and down key commands via the audio circuitry and sends a command to adjust the volume to the handset. That is, when the portable electronic device is in an inverted state, and the function of the volume up and down keys is also changed in the opposite direction, when the portable electronic device is in the non-inverted state, the original function of the volume up and down keys is restored. For example, the volume up button is restored above the volume down button, so the user actually wants to increase the volume when pressing the volume up button, and press the volume down button. Hope to reduce the volume. Then, the audio circuit system should change the command triggered by the volume up key to the enhanced volume command, and change the command triggered by the volume down key to the volume reduction command.
  • the portable electronic device switches the functions of the first microphone and the second microphone.
  • the portable electronic device further includes a first microphone and a second microphone
  • the function of initially setting the first microphone and the second microphone is restored before or after the portable electronic device is detected to be in a non-inverted state during the connection call, and the handset is enabled to output the voice instead of the speaker.
  • the first microphone is generally disposed at the bottom of the portable electronic device, and the second microphone is disposed at the top of the portable electronic device, as shown in FIG. 4k, wherein the first microphone is generally used for detecting Voice, the second microphone generally detects the voice and the noise, and the second microphone compares the voice detected by the first microphone to determine the noise, and performs noise removal processing to ensure that the voice heard by the user is clear.
  • the functions of the first microphone and the second microphone are switched, that is, the first microphone is used for detecting voice and noise, the second microphone is used for detecting voice, and the first microphone is passed. After the comparison with the voice detected by the second microphone, the noise component is determined and noise reduction processing is performed.
  • the portable electronic device is in a non-inverted state, the functions of the first microphone and the second microphone are restored. In short, the first microphone and the second microphone flexibly switch functions according to the position state of the portable electronic device, thereby maximally close to the user. Feeling personal.
  • FIG. 6 is a schematic structural diagram of a portable electronic device 600.
  • the portable electronic device 600 includes a speaker and an earpiece.
  • the portable electronic device 600 further includes a display module 601 and a processing module 602.
  • the display module 601 is configured to detect an incoming call when the portable electronic device is in an inverted state, and display a call interface;
  • the processing module 602 is configured to detect an operation of answering the call at the same time as or after the display module 601 displays the call interface, connect the call, and enable the speaker to output voice instead of the handset.
  • the display module 601 detects the incoming call when the portable electronic device is in an inverted state, displays the call interface, and after the processing module 602 detects the connected call, the speaker is activated to replace the handset to output the voice, thereby solving the prior art that only the earpiece can be passed.
  • the limitation of outputting voice can effectively improve the user experience, and there is no need to add other hardware devices (such as earpieces) on the portable electronic device to output voice, and make full use of existing hardware resources to effectively save costs.
  • the portable electronic device is the same as the call interface of the portable electronic device in the non-inverted state after the call interface in the inverted state is rotated by 180 degrees; or the portable electronic device is in an inverted state.
  • the lower call interface is the same as the call interface of the portable electronic device in the non-inverted state.
  • the same call interface can be understood as the same in the same scenario, for example, all of the same phone numbers; or the same as the whole, excluding the phone number and the difference of the avatar.
  • the display call interface can be inverted or non-inverted.
  • rotating the call interface by 180 degrees makes the call interface non-inverted, thereby facilitating the user to operate the call interface, thereby effectively improving the user experience.
  • the volume of the speaker is the same or matches the volume of the earpiece. It should be noted that, the matching means that the volume of the speaker is not exactly the same as the volume of the earpiece, and there are slight differences, which can be understood as approximately the same.
  • the display module 601 is further configured to display a call interface simultaneously or after the processing module 602 connects the call.
  • the portable electronic device is the same as the call interface of the portable electronic device in the non-inverted state after the call interface in the inverted state is rotated by 180 degrees; or the portable electronic device is in an inverted state.
  • the lower call interface is the same as the call interface of the portable electronic device in the non-inverted state.
  • the same call interface can be understood as the same in the same scenario, for example, all of the same phone numbers; or the same as the whole, excluding the phone number and the difference of the avatar.
  • the call interface when the portable electronic device displays the call interface, the call interface can be inverted, It can be non-inverted.
  • the call interface when the call interface is in an inverted state, the call interface is rotated by 180 degrees to make the call interface non-inverted, thereby utilizing the user to operate the call interface.
  • the call interface in the inverted state is rotated by 180 degrees, it is also possible to avoid the problem that the face is mistakenly caused to hang up the call.
  • the processing module 602 is further configured to detect that the portable electronic device is in a non-inverted state during the connection call, and enable the earpiece to output voice instead of the speaker. It can be seen that the earpiece or the speaker is flexibly switched according to the position state of the portable electronic device, and one of the output voices is selected to be close to the user's experience.
  • the processing module 602 is further configured to: when the speaker is enabled to output voice in place of the earpiece, detecting that the earphone is inserted into the portable electronic device, turning off the speaker or the earpiece. It can be seen that when the earphone is inserted into the portable electronic device, the voice is output through the earphone.
  • the portable electronic device further includes a first microphone and a second microphone; the processing module 602 is further configured to enable the speaker to switch the first microphone before or after, while the speaker outputs the voice instead of the earpiece And the function of the second microphone.
  • the portable electronic device further includes a first microphone and a second microphone; the processing module 602 is further configured to detect that the portable electronic device is in a non-inverted state during the connection call, and enable the handset The function of the initial setting of the first microphone and the second microphone is restored before or after the voice is output instead of the speaker.
  • the first microphone is generally disposed at the bottom of the portable electronic device, and the second microphone is disposed at the top of the portable electronic device, as shown in FIG. 4k, wherein the first microphone is generally used for The voice is detected, the second microphone generally detects the voice and the noise, and the second microphone compares the voice detected by the first microphone to determine the noise, and performs noise removal processing to ensure that the voice heard by the user is clear.
  • the functions of the first microphone and the second microphone are switched, that is, the first microphone is used for detecting voice and noise, the second microphone is used for detecting voice, and the first microphone is passed.
  • the noise component is determined and noise reduction processing is performed. Recovering the functions of the first microphone and the second microphone when the portable electronic device is in a non-inverted state, in summary, the first microphone and the second microphone follow the portable electronic device Position status, flexible switching function, so as to be close to the user's personal experience.
  • FIG. 6 illustrates the specific structure of the portable electronic device from the perspective of the functional module.
  • the specific structure of the portable electronic device will be described from a hardware perspective with reference to the embodiment of FIG. 7 : a portable electronic device 700, Included are: one or more processors 701, memory 702, bus system 703, transceiver 704, and one or more programs 705 through which the processor 701, the memory 702, and the transceiver 704 pass connection;
  • the one or more programs 705 are stored in the memory 702, the one or more programs 705 including instructions that, when executed by the portable electronic device 700, cause the portable electronic device 700 to execute The method of the embodiment shown in Figure 3 or Figure 5.
  • Embodiments of the present invention also provide a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a portable electronic device, cause the portable electronic device to execute as illustrated 3 or the method of the embodiment shown in FIG.
  • Embodiments of the present invention also provide a graphical user interface on a portable electronic device.
  • the portable electronic device 800 includes a display 801, a memory 802, a plurality of applications 803, and a program for executing storage in the memory.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division.
  • multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

一种输出语音的方法,用于便携式电子设备,所述便携式电子设备包括扬声器和听筒,用于解决现有技术中只能通过听筒输出语音所存在的局限性,通过扬声器能够代替听筒输出语音,有效提高用户体验,所述方法包括:在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。

Description

一种输出语音的方法及设备 技术领域
本申请涉及终端领域,具体涉及一种输出语音的方法及设备。
背景技术
目前,当手机来电时,用户在选择接听电话后手机默认启动听筒输出语音,用户将耳朵靠近听筒就可以听到来电语音,听筒的最大音量不会太大,以免损坏用户听力,也避免了音量过大而被其他人听到来电内容,导致用户的隐私泄露。
如果用户拿起手机或者从口袋中拿出手机时,发现手机是倒置的。这时用户需要另一只手帮助握持手机的手来旋转手机,将手机摆正后接听来电。如果用户另一只手被占用,用户只能用握持手机的手旋转手机,非常容易触发误操作或使手机脱落,给用户造成不便。
发明内容
本发明的目的在于提供一种输出语音的方法及设备,用于解决现有技术中只能通过听筒输出语音所存在的局限性以及给用户造成不便的问题,通过扬声器可以代替听筒输出语音,有效提高用户体验。
第一方面提供一种输出语音的方法,用于便携式电子设备,所述便携式电子设备包括扬声器和听筒,所述方法包括:在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
可见,在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,并显示呼叫界面,在连接呼叫后启动扬声器代替听筒输出语音,其中,倒置包括竖着倒置,横着倒置或者斜着倒置等,用于表示物体现在放置的位置和方向与物体原来放置的位置和方向完全相反或者大致相反,例如:在本发明中,手机处于非倒置状态下,一般是扬声器在听筒的下方,当手机处于倒置状态下时,则扬声器位于听筒的上方。或者,手机处于非倒置状态下时,一般是扬声器在听筒的左方,手机处于倒置状态下时,则扬声器在听筒的右方。当手机接通电话后默认为手机的听筒输出语音,此时,如果手机处于倒置状态下,用户还需要将 手机倒转过来才可以通过听筒接听电话,非常容易导致用户的误操作或者手机脱落的问题,给用户造成不便。因此,在本发明中,可直接通过扬声器代替听筒输出语音,方便用户接听电话,有效提高用户体验,且无需在便携式电子设备的底部再设置听筒,充分利用了现有的硬件资源从而有效节约成本。
结合第一方面,在一些可选的实现方式中,所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
可见,当便携式电子设备处于倒置状态下时,呼叫界面可以是倒置的,也可以是非倒置的,在一种可选的方案中,当该呼叫界面是倒置的情况下,将呼叫界面旋转180度则使得呼叫界面处于非倒置状态,从而方便用户操作呼叫界面,有效提高用户体验。例如:将手机的呼叫界面旋转180度,以手机屏幕的坐标为基准进行旋转,具体过程为:将手机屏幕的中点作为旋转点,以手机的长边为Y轴,以手机的短边为X轴,从而确保手机的呼叫界面旋转180度后与手机处于非倒置状态下的呼叫界面相同,从而方便用户操作呼叫界面。
结合第一方面,在另一些可选的实现方式中,所述连接所述呼叫的同时或之后,所述方法还包括:显示通话界面。
所述便携式电子设备在倒置状态下的通话界面旋转180度后与所述便携式电子设备在非倒置状态下的通话界面相同;或者,所述便携式电子设备在倒置状态下的通话界面与所述便携式电子设备在非倒置状态下的通话界面相同。
可见,当便携式电子设备显示通话界面后,通话界面可以是倒置的,也可以是非倒置的,在一种可选的方案中,当通话界面处于倒置状态下,将通话界面旋转180度后使得通话界面处于非倒置状态,从而方便用户操作通话界面,例如:当手机的通话界面处于倒置状态下时,用户想要在通话界面上点击“通讯录”、“添加电话”等操作,此时,通话界面上“通讯录”,“添加电话”,“免提”的字是倒立的,从而影响用户的视觉效果,不方便用户看字,此时,将通话界面旋转180度,具体旋转180的方式如上述旋转呼叫界面的方式相同,此处不再赘述,当通话界面旋转180度后,使得通话界面处于非倒置状态,方便 用户操作通话界面,有效提高用户体验。另外,将倒置状态的手机旋转180度后使其处于非倒置状态,从而避免了通话过程中脸部的误操作而导致的挂断通话的问题。
第二方面提供一种便携式电子设备,所述便携式电子设备包括扬声器和听筒,还包括:
显示模块,用于在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;
处理模块,用于检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
结合上述第一方面所涉及的输出语音的方法,而在实际应用中,通过一些功能化的模块进行操作,显示模块在便携式电子设备处于倒置状态下检测到呼入的呼叫并显示呼叫界面,进一步,处理模块在连接呼叫后,启用扬声器代替听筒输出语音。在现有技术中,只能通过听筒输出语音,例如:用户拿着手机接听电话时,发现手机是倒置状态,假设手机的扬声器挨着用户的耳朵,如果按照现有技术的话,用户需要将手机倒转过来使得听筒挨着耳朵才可以接听电话,给用户带来不便,而本发明很好的解决了现有技术中只能通过听筒输出语音的局限性,当手机处于倒置状态时,利用扬声器代替听筒输出语音,那么用户无需要将处于倒置状态的手机倒转过来,有效提高了用户体验,且无需在手机上再增加其他硬件设备(如听筒)来输出语音,从而有效节约了成本。
结合第二方面,在一些可选的实现方式中,所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
可见,呼叫界面可以是倒置的,也可以是非倒置的,在一种可选的方案中,将倒置状态的呼叫界面旋转180度使得该呼叫界面处于非倒置状态,利用用户在呼叫的过程中操作呼叫界面,有效提高用户体验。
第三方面提供一种便携式电子设备,包括:一个或多个处理器、存储器、总线系统、收发器以及一个或多个程序,所述处理器、所述存储器和所述收发器通过所述总线系统连接;
其中,所述一个或多个程序存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述便携式电子设备执行时使所述便携式电子设备执行如第一方面或第一方面的任一种可能的实现方式所述的方法。
可见,在便携式电子设备处于倒置状态下,通过扬声器也可以代替听筒输出语音,有效提高用户体验,且无需在便携式电子设备上再增加其他硬件设备(如听筒)来输出语音,充分利用现有的硬件资源从而节约成本。
第四方面提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被便携式电子设备执行时使所述便携式电子设备执行如第一方面或第一方面的任一种可能的实现方式所述的方法。
可见,计算机可读存储介质中的一个或多个程序所包括的指令被便携式电子设备执行时,便携式电子设备也可以通过扬声器代替听筒输出语音,有效提高用户体验,且无需在便携式电子设备上再增加其他硬件设备(如听筒)来输出语音,充分利用现有的硬件资源从而节约成本。
第五方面提供一种便携式电子设备上的图形用户界面,所述便携式电子设备包括显示器、存储器、多个应用程序、和用于执行存储在所述存储器中的一个或多个程度的一个或多个处理器,所述图形用户界面包括根据第一方面或第一方面的任一种可能的实现方式所述的方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
可见,该图形用户界面是通过第一便携电子设备输出语音的方法显示的用户界面,而该便携式电子设备也可以通过扬声器代替听筒输出语音,有效提高用户体验,且无需在便携式电子设备上再增加其他硬件设备(如听筒)来输出语音,充分利用了现有的硬件资源从而节约成本。
附图说明
图1为本发明实施例中便携式电子设备的一个结构示意图;
图2为本发明实施例中便携式电子设备的另一个结构示意图;
图3本发明实施例中输出语音的一个实施例示意图;
图4a-4s为本发明实施例中手机的结构示意图;
图5为本发明实施例中输出语音的另一个实施例示意图;
图6为本发明实施例中便携式电子设备的另一个结构示意图;
图7为本发明实施例中便携式电子设备的另一个结构示意图;
图8为本发明实施例中便携式电子设备的另一个结构示意图。
具体实施方式
本发明公开了一种输出语音方法及设备,用于解决现有技术中只能通过听筒输出语音的局限性以及给用户带来不便的问题,无需安装其他硬件设备来输出语音,可直接通过扬声器代替听筒输出语音,有效提高用户体验且节约成本。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获取的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
本发明的技术方案,应用于便携式电子设备,如图1所示,所述便携式电子设备100包括通信单元101、输入单元102、输出单元103、处理器104、存储单元105、外设接口106、操作系统107,各个单元之间通过一条或多条总线连接。其中,通信单元101用于建立通信信道,使得便携式电子设备通过所述通信信道与远端电子设备或服务器进行语音通信、文字通信、数据通信等;输入单元102用于实现用户与便携式电子设备的交互和/或信息输入到便携式电子设备中;处理器104为电子设备的控制中心,利用各种接口和线路连接整个便携式电子设备的各个部分,通过运行或执行存储在存储单元内的软件程序和/或模块,以及调用存储在存储单元内的数据,以执行便携式电子设备的各种功能和/或处理数据;输出单元103包括但不限于声音输出单元,用来将处理器所输出的音频信号从数字格式转换为模拟格式;存储单元105可用于存储软件程序以及模块;外设接口106用于连接远端电子设备或服务器;所述操作系统107包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理、音频管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。
本领域技术人员可以理解的是,图1中所示出的便携式电子设备的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施方式中的便携式电子设备包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(英文全称:Personal Digital Assistant,缩写:PDA)、媒体播放器、智能电视,可穿戴设备(例如,智能手表或智能眼镜等)以及上述两项或两项以上的组合等。
在介绍本发明实施例之前,先介绍一下本发明所应用的场景,当便携式电子设备处于没有耳机插入的待机状态时,在现有技术中只能通过听筒输出语音,例如:当用户拿着手机接电话时,假使手机是倒置状态,由于现有技术中只能通过听筒输出语音,此时,如果手机的扬声器挨着用户的耳朵,按照现有技术的话,用户需要将手机倒转过来使得听筒挨着耳朵才可以方便接听电话,在用户倒转手机的过程中可能会导致手机脱落等问题,给用户带来不便,而本发明很好的解决了现有技术中只能通过听筒输出语音的局限性以及给用户带来不便的问题。
在一个实施例中,通过便携式电子设备的音频电路系统控制实现扬声器代替听筒输出语音,如图2所示,该便携式电子设备200包括音频电路系统201、上麦克风202、下麦克风203、扬声器204以及听筒205,一般情况下,上麦克风202和听筒205设置于便携式电子设备200的顶部,下麦克风203和扬声器204设置于便携式电子设备200的底部,其中,音频电路系统201包括音频输入控制器2011、音频解码器2012以及音频输出控制器2013,可见,音频输入控制器2011通过接收上麦克风202或下麦克风203根据语音声波转换来的电信号,并通过音频解码器2012将电信号解码为音频数据,音频解码器2012通过音频输出控制器2013将音频数据输出到扬声器204或者听筒205,并通过204或者听筒205转换为人类可听的声波。另外,本发明中涉及的便携式电子设备包括但不限于一个麦克风,一种情况下便携式电子设备只配置一个麦克风,另一种情况下便携式电子设备也可以配置两个或两个以上麦克风。
请参阅图3,本发明中输出语音的方法的一个实施例,该方法用于便携式电子设备,所述便携式电子设备包括扬声器和听筒,所述实施例包括:在所述 便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
具体算法流程如下:
301、便携式电子设备收到呼叫。
以手机为例,手机收到呼叫时,用户一般顺手拿起手机接听电话,而拿起手机的状态可能是倒置的状态,也可能是非倒置的状态,当手机为非倒置的状态时,用户通过听筒正常接听电话,当手机处于倒置的状态时,需要通过听筒接听电话,此处用户需要将手机倒转过来才可以正常接听,给用户带来不便。
在本发明实施例中,倒置状态包括竖着倒置,横着倒置或者斜着倒置等状态,用于表示物体现在放置的位置和方向与物体原来放置的位置和方向完全相反或者近似相反,例如:在本发明中,如图4a所示,手机处于竖着非倒置状态下,扬声器在听筒的下方,如图4b所示,当手机处于竖着倒置状态下时,则扬声器位于听筒的上方。
或者,如图4c所示,手机处于横着非倒置状态下时,扬声器在听筒的左方,需要说明的是,在手机处于横着非倒置这种状态下,听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离近,如图4d所示,手机处于横着倒置状态下时,扬声器在听筒的右方,需要说明的是,在手机处于横着倒置这种状态下,听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离远。
或者,如图4e所示,手机处于斜着非倒置状态下时,扬声器在听筒的下方,如图4f所示,手机处于斜着倒置状态下时,扬声器在听筒的上方。
需要说明的是,便携式电子设备处于倒置状态的方式除了上述以手机为例的几种状态外,还可以是其他倒置状态,此处不做具体限定。
302、便携式电子设备判断该便携式电子设备是否处于倒置状态。
在本发明实施例中,便携式电子设备通过传感器或者触摸屏获取便携式电子设备的位置状态,例如,在便携式电子设备中设置有重力传感器,重力传感器通过检测便携式电子设备的重力加速度方向的变化来确定便携式电子设备的状态,假设便携式电子设备处于非倒置状态时,默认重力加度度为正值(例如:9.8N/Kg),例如:如图4a所示,手机处于竖着非倒置状态下,扬声器在 听筒的下方,此时通过重力传感器检测出手机的重力加速度为正值,当检测得到手机的重力加速度为负值(例如:-9.8N/Kg)时,则确认手机处于倒置状态,如图4b所示,此时扬声器位于听筒的上方。或者,如图4e所示,手机处于斜着非倒置状态下时,扬声器在听筒的下方,此时通过重力传感器检测出手机的重力加速度为正值,当检测得到手机的重力加速度为负值时,则确认手机处于倒置状态,如图4f所示,此时扬声器在听筒的上方。在另一种可能的实现方式中,便携式电子设备还可通过内置的加速度计,陀螺仪和电子罗盘中的至少一种来确定便携式电子设备是否处于倒置状态。
在另一种可能的实现方式中,该便携式电子设备中还设置有距离传感器或超声波传感器等,例如:如图4c所示,手机处于横着非倒置状态下时,一般是扬声器在听筒的左方,需要说明的是,在手机处于横着非倒置这种状态下,听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离近,具体通过距离传感器或者超声波传感器或者触摸屏感应检测出听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离近,例如:通过超声波传感器可以检测出耳朵的形状,并检测出耳朵到听筒或者扬声器的距离。如图4d所示,手机处于横着倒置状态下时,扬声器在听筒的右方,需要说明的是,在手机处于横着倒置这种状态下,听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离远,具体是通过距离传感器或者超声波传感器或者触摸屏感应检测出听筒到用户接听电话的耳朵的距离比扬声器到用户接听电话的耳朵的距离远。例如:当耳朵挨着触摸屏时,触摸屏能够感应出耳朵,则确定耳朵离扬声器近还是离听筒近。
303、当该便携式电子设备处于非倒置状态时,该便携式电子设备向听筒发送启动命令、来电音频和音量。
当所述便携式电子设备处于非倒置状态时,检测到呼入的呼叫,显示呼叫界面,接听所述呼叫,并向听筒发送启动命令、来电音频和音量,即:当便携式电子设备处于非倒置状态时,按照现有技术显示呼叫界面并且通过听筒输出语音,此处不再赘述。
需要说明的是,非倒置状态包括平放或者任何不满足倒置定义的状态,此处不做限定。
304、当该便携式电子设备处于倒置状态时,该便携式电子设备检测到呼入的呼叫,显示呼叫界面。
在一些可选的实现方式中,所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
可见,当便携式电子设备处于倒置状态时,如图4g所示,该呼叫界面是倒置的,如图4h所示,该呼叫界面是非倒置的。在一种可选的方案中,当该呼叫界面是倒置的情况下,将倒置的呼叫界面旋转180度则使得呼叫界面处于非倒置状态,从而方便用户操作呼叫界面,有效提高用户体验。例如:将手机的呼叫界面旋转180度,以手机屏幕的坐标为基准进行旋转,具体为:将手机屏幕的中点作为旋转点,以手机的长边为Y轴,以手机的短边为X轴,从而确保手机的呼叫界面旋转180度与手机处于非倒置状态下的呼叫界面相同,从而方便用户操作呼叫界面。
需要说明的是,呼叫界面相同可以理解为,在完全相同的场景下的相同,例如:都是相同的电话号码;也可以是整体相同,排除掉电话号码以及头像的差异。
305、该便携式电子设备调整扬声器的音量并接听呼叫。
在一些可能的实现方式中,所述扬声器的音量与所述听筒的音量相同或匹配。其中,匹配是指扬声器的音量与听筒的音量不是完全相同,有细微差别,可以理解为近似相同。
听筒一般在接听电话时使用,声音比较小,扬声器一般在外放时使用,声音比较大,为了使得扬声器达到与听筒相同或者相似的效果,将扬声器音量级别的数量设置为与听筒音量级别的数量相同,使得扬声器音量级别与听筒级别一一对应,设置扬声器每个音量级别的音量值,保证扬声器按该音量值输出音频时的音量与听筒的对应级别发出的音量相同或相似。
音频电路系统可以设置每种音频输出设备的音量级别,以及每个音量级别对应的音量。以扬声器为例,在工程模式下可以看到扬声器的音量级别及其对应的音量,如下所示:
LEVEL 0-------VALUE 0
LEVEL 1-------VALUE 48
LEVEL 2-------VALUE 68
LEVEL 3-------VALUE 78
LEVEL 4-------VALUE 98
LEVEL 5-------VALUE 112
LEVEL 6-------VALUE 128
LEVEL为音量级别,VALUE为音量值。如上所示,扬声器共定义了7个音量级别(可以任意设置音量级别数量),每个音量级别对应不同的音量值。当按动手机音量键时,手机系统会根据音量键触发的命令控制扬声器按特定的音量级别对应的音量播放音频。
在一些可能的实现方式中,该便携式电子设备连接所述呼叫的同时或之后,还包括:该便携式电子设备显示通话界面。其中,所述便携式电子设备在倒置状态下的通话界面旋转180度后与所述便携式电子设备在非倒置状态下的通话界面相同;或者,所述便携式电子设备在倒置状态下的通话界面与所述便携式电子设备在非倒置状态下的通话界面相同。
可见,当便携式电子设备显示通话界面后,如图i所示,通话界面是倒置的,如图j所示,通话界面是非倒置的,在一种可选的方案中,当通话界面处于倒置状态下,将倒置的通话界面旋转180度后使得通话界面处于非倒置状态,从而利用用户操作通话界面。例如:当手机的通话界面处于倒置状态下时,用户想要在通话界面上点击“通讯录”、“添加电话”等操作,此时,通话界面上“通讯录”,“添加电话”,“免提”的字是倒立的,从而影响用户的视觉效果,不方便用户看字,此时,将通话界面旋转180度,具体旋转180的方式如上述旋转呼叫界面的方式相同,此处不再赘述,当通话界面旋转180度后,使得通话界面处于非倒置状态,方便用户操作通话界面,有效提高用户体验。另外,当处于倒置状态的通话界面旋转180度,还可以避免脸部误操作造成挂断通话的问题。
需要说明的是,通话界面相同可以理解为,在完全相同的场景下的相同,例如:都是相同的电话号码;也可以是整体相同,排除掉电话号码以及头像的 差异。
306、该便携式电子设备向扬声器发送启动命令、来电音频和音量。
启动扬声器时,将音频电路系统调整好的来电音频和音量指令(音量级别或者音量值)发送给扬声器。可见,当便携式电子设备处于倒置状态时,用户不方便通过听筒接听电话,则通过扬声器代替听筒输出语音后,用户直接可以通过扬声器接听电话,无需在便携式电子设备上再增加其他硬件设备(如听筒)来输出语音,从而有效节约了成本,而扬声器的音量此时也与听筒的音量相同或者匹配,在很大程度上满足了用户的正常接听电话需求,有效提高了用户体验。
需要的是,启用扬声器代替听筒的动作可以在显示呼叫界面的同时,之前或之后执行,此处不做具体限定。
307、当音量键被触发后,该便携式电子设备将音量键调整命令发送给音频电路系统。
一般情况下,用户按压音量键时,触发音量键启动音量调节功能。例如:在用户接听电话的过程中,比如扬声器的音量太大时,用户需要将音量调小,则通过按压音量键减小音量。
308、该便携式电子设备调整音量上下键命令。
由于便携式电子设备处于倒置状态时,音量键的位置关系与便携式电子设备处于非倒置状态时的位置关系相反,即:音量上键在音量下键的下方,所以用户在按压音量上键时其实是希望减小音量,按压音量下键时希望增强音量。所以,该便携式电子设备的音频电路系统要将音量上键触发的命令改为减小音量命令,将音量下键触发的命令改为增强音量命令。
309、该便携式电子设备向扬声器发送调整音量的命令。
可见,该便携式电子设备通过音频电路系统将调整音量的命令发送给扬声器,使得扬声器的上键用以减小音量,扬声器的下键用以增强音量,即:随着扬声器代替听筒输出语音的同时,音量上下键与随便改变功能,从而更加贴近用户的体验。
需要说明的是,步骤306到步骤309为可选的实现方式,在一些实施例中,也无需进行音量键的调整,此处不做具体限定。
在一些可能的实现方式中,检测到耳机插入到所述便携式电子设备,关闭所述扬声器或所述听筒。即:在检测到耳机插入到所述便携式电子设备的同时或者之后,关闭所述扬声器或听筒,从而使得用户通过耳机输出的语音接听电话。
在一些可能的实现方式中,所述便携式电子设备还包括第一麦克风和第二麦克风;
所述启用扬声器代替听筒输出语音的同时,之前或之后,切换所述第一麦克风和所述第二麦克风的功能。
与音量键相似的是,在启用扬声器代替听筒输出语音的同时,之前或之后,切换所述第一麦克风和所述第二麦克风的功能,如图4k所示,一般把第一麦克风设置于所述便携式电子设备的底部,第二麦克风设置于便携式电子设备的顶部,其中,第一麦克风一般用于检测语音,第二麦克风一般用户检测语音和噪音,第二麦克风通过第一麦克风检测的语音进行比对后,确定噪音,并进行除噪处理,确保用户听到的语音清晰。
可见,当通过扬声器代替听筒输出语音的情况下,将第一麦克风与第二麦克风的功能进行切换,即:第一麦克风用于检测语音和噪音,第二麦克风用于检测语音,第一麦克风通过与第二麦克风检测的语音进行比对后,确定噪音成分,并进行降噪处理,通过第一麦克风与麦克风的功能进行切换后,切近用户的切身体验。
需要说明的是,在一些便携式电子设备中,可能只有一个麦克风,一般设置于便携式电子设备的底部,如图4s所示,该一个麦克风用于检测语音。
图3所示的实施例只涉及到当前便携式电子设备处于倒置状态下的内容,请参阅图5,当便携式电子设备从倒置状态变为非倒置状态时,则相应的硬件功能也可能需要进行改变,详见本发明实施例,包括:在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音。
具体过程如下:
501、便携式电子设备处于倒置状态,通过扬声器代替听筒输出语音。
此步骤涉及的具体过程如图3所示的步骤301至步骤309,具体可参阅步骤301至步骤309,此处不再赘述。
502、该便携式电子设备判断该便携式电子设备是否处于非倒置状态。
在实际应用中,通过便携式电子设备中的传感器或者触摸屏来检测便携式电子设备是否处于非倒置状态,需要说明的是,此时的非倒置状态一般认为是正常接电话的状态,音频电路系统通过传感器或者触摸屏确定便携式电子设备是否处于非倒置状态,具体的检测过程与步骤302检测便携式电子设备是否处于倒置状态的过程相似,可以参阅步骤302,此处不再赘述。
503、当该便携式电子设备处于非倒置状态时,该便携式电子设备显示通话界面。
需要说明的是,便携式电子设备处于非倒置的通话界面与便携式电子设备处于倒置状态的通话界面相同;或者,便携式电子设备处于非倒置的通话界面旋转180度后与所述便携式电子设备处于倒置状态下的通话界面相同。例如:手机处于倒置状态时,听筒在扬声器的下方,此时用扬声器取代听筒输出语音,可见,无需在手机上再增加其他硬件设备(如听筒)来输出语音,充分利用现有的硬件资源从而节约成本;当手机在接听的过程中变为处于非倒置状态时,则默认扬声器在听筒的下方,则用户正常接听电话,可见,通话界面可以随着便携式电子设备的位置状态而发生改变,即:可以灵活切换,从而最大程度方便用户的使用。
504、该便携式电子设备向听筒发送启动命令、来电音频和音量。
在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音。可见,听筒或者扬声器根据便携式电子设备的位置状态可以灵活切换,并选择其一输出语音,方便用户的使用。
在一些可能的实现方式中,该便携式电子设备通过音频电路系统调整音量上下键命令,并向听筒发送调整音量的命令。即:当便携式电子设备处于倒置状态时,且音量上下键的功能也跟着相反的改变时,则当便携式电子设备处于非倒置状态时,恢复音量上下键的原有功能。例如:音量上键恢复在音量下键的上方,所以用户在按压音量上键时其实是希望增强音量,按压音量下键时希 望减小音量。则音频电路系统要将音量上键触发的命令改为增强音量命令,将音量下键触发的命令改为减少音量命令。
505、该便携式电子设备切换第一麦克风和第二麦克风的功能。
在一些可能的实现方式中,所述便携式电子设备还包括第一麦克风和第二麦克风;
在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音的同时,之前或之后,恢复所述第一麦克风和所述第二麦克风初始设置的功能。
一种可能的实现方式中,一般把第一麦克风设置于所述便携式电子设备的底部,第二麦克风设置于便携式电子设备的顶部,具体如图4k所示,其中,第一麦克风一般用于检测语音,第二麦克风一般用户检测语音和噪音,第二麦克风通过第一麦克风检测的语音进行比对后,确定噪音,并进行除噪处理,确保用户听到的语音清晰。
可见,当通过扬声器代替听筒输出语音的情况下,将第一麦克风与第二麦克风的功能进行切换,即:第一麦克风用于检测语音和噪音,第二麦克风用于检测语音,第一麦克风通过与第二麦克风检测的语音进行比对后,确定噪音成分,并进行降噪处理。当便携式电子设备处于非倒置状态时,恢复第一麦克风和第二麦克风的功能,总之,第一麦克风与第二麦克风随着便携式电子设备的位置状态,灵活切换功能,从而最大程度的贴近用户的切身感受。
为便于更好的实施本发明实施例的上述相关方法,下面还提供用于配合上述方法的相关装置。
请参阅图6,为本发明实施例中便携式电子设备的一个结构示意图,便携式电子设备600包括扬声器和听筒,所述便携式电子设备600还包括显示模块601和处理模块602。
显示模块601,用于在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;
处理模块602,用于在所述显示模块601显示呼叫界面的同时或者之后,检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
可见,显示模块601在便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面,处理模块602检测连接呼叫后,启动扬声器代替听筒输出语音,从而解决了现有技术中只能通过听筒输出语音的局限性,有效提高用户体验,且无需在便携式电子设备上再增加其他硬件设备(如听筒)来输出语音,充分利用现有的硬件资源从而有效节约了成本。
在一些可能的实现方式中,所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
需要说明的是,呼叫界面相同可以理解为,在完全相同的场景下的相同,例如:都是相同的电话号码;也可以是整体相同,排除掉电话号码以及头像的差异。
可见,当便携式电子设备处于倒置状态时,显示呼叫界面可以是倒置的,也可以是非倒置的。在一种可选的方案中,当该呼叫界面是倒置的情况下,将呼叫界面旋转180度则使得呼叫界面处于非倒置状态,从而方便用户操作呼叫界面,有效提高用户体验。
在一些可能的实现方式中,所述扬声器的音量与所述听筒的音量相同或匹配。需要说明的是,其中,匹配是指扬声器的音量与听筒的音量不是完全相同,有细微差别,可以理解为近似相同。
在一些可能的实现方式中,所述显示模块601,还用于所述处理模块602连接所述呼叫的同时或之后,显示通话界面。
在一些可能的实现方式中,所述便携式电子设备在倒置状态下的通话界面旋转180度后与所述便携式电子设备在非倒置状态下的通话界面相同;或者,所述便携式电子设备在倒置状态下的通话界面与所述便携式电子设备在非倒置状态下的通话界面相同。
需要说明的是,通话界面相同可以理解为,在完全相同的场景下的相同,例如:都是相同的电话号码;也可以是整体相同,排除掉电话号码以及头像的差异。
可见,当便携式电子设备显示通话界面后,通话界面可以是倒置的,也 可以是非倒置的,在一种可选的方案中,当通话界面处于倒置状态下,将通话界面旋转180度后使得通话界面处于非倒置状态,从而利用用户操作通话界面。另外,当处于倒置状态的通话界面旋转180度,还可以避免脸部误操作造成挂断通话的问题。
在一些可能的实现方式中,所述处理模块602,还用于在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音。可见,听筒或者扬声器根据便携式电子设备的位置状态灵活切换,并选择其一输出语音,贴近用户的体验。
在一些可能的实现方式中,所述处理模块602还用于启用所述扬声器代替所述听筒输出语音的过程中,检测到耳机插入到所述便携式电子设备,关闭所述扬声器或所述听筒。可见,当耳机插入便携式电子设备时,通过耳机输出语音。
在一些可能的实现方式中,所述便携式电子设备还包括第一麦克风和第二麦克风;所述处理模块602还用于启用扬声器代替听筒输出语音的同时,之前或之后,切换所述第一麦克风和所述第二麦克风的功能。
在一些可能的实现方式中,所述便携式电子设备还包括第一麦克风和第二麦克风;所述处理模块602还用于在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音的同时,之前或之后,恢复所述第一麦克风和所述第二麦克风初始设置的功能。
在一种可能的实现方式中,一般把第一麦克风设置于所述便携式电子设备的底部,第二麦克风设置于便携式电子设备的顶部,具体如图4k所示,其中,第一麦克风一般用于检测语音,第二麦克风一般用户检测语音和噪音,第二麦克风通过第一麦克风检测的语音进行比对后,确定噪音,并进行除噪处理,确保用户听到的语音清晰。
可见,当通过扬声器代替听筒输出语音的情况下,将第一麦克风与第二麦克风的功能进行切换,即:第一麦克风用于检测语音和噪音,第二麦克风用于检测语音,第一麦克风通过与第二麦克风检测的语音进行比对后,确定噪音成分,并进行降噪处理。当便携式电子设备处于非倒置状态时,恢复第一麦克风和第二麦克风的功能,总之,第一麦克风与第二麦克风随着便携式电子设备的 位置状态,灵活切换功能,从而最大程度的贴近用户的切身感受。
图6所示的实施例从功能模块的角度对便携式电子设备的具体结构进行了说明,以下结合图7的实施例从硬件角度对便携式电子设备的具体结构进行说明:一种便携式电子设备700,包括:一个或多个处理器701、存储器702、总线系统703、收发器704以及一个或多个程序705,所述处理器701、所述存储器702和所述收发器704通过所述总线系统703连接;
其中,所述一个或多个程序705存储在所述存储器702中,所述一个或多个程序705包括指令,所述指令当被所述便携式电子设备700执行时使所述便携式电子设备700执行如图3或图5所示实施例的方法。
本发明实施例还提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被便携式电子设备执行时使所述便携式电子设备执行如图3或图5所示实施例的方法。
本发明实施例还提供一种便携式电子设备上的图形用户界面,请参阅图8,所述便携式电子设备800包括显示器801、存储器802、多个应用程序803、和用于执行存储在所述存储器中的一个或多个程度的一个或多个处理器804,所述图形用户界面包括根据如图3或图5所示实施例的方法显示的用户界面,其中,所述显示器801包括触敏表面8011和显示屏8012。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上对本发明所提供的一种终端、服务器、用户识别的系统及方法进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (21)

  1. 一种输出语音的方法,用于便携式电子设备,所述便携式电子设备包括扬声器和听筒,其特征在于,所述方法包括:
    在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;
    检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
  2. 根据权利要求1所述的方法,其特征在于,
    所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,
    所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
  3. 根据权利要求1或2所述的方法,其特征在于,所述扬声器的音量与所述听筒的音量相同或匹配。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述连接所述呼叫的同时或之后,所述方法还包括:
    显示通话界面。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,
    所述便携式电子设备在倒置状态下的通话界面旋转180度后与所述便携式电子设备在非倒置状态下的通话界面相同;或者,
    所述便携式电子设备在倒置状态下的通话界面与所述便携式电子设备在非倒置状态下的通话界面相同。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:
    在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:
    检测到耳机插入到所述便携式电子设备,关闭所述扬声器或所述听筒。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,
    所述便携式电子设备还包括第一麦克风和第二麦克风;
    所述启用扬声器代替听筒输出语音的同时,之前或之后,切换所述第一麦克风和所述第二麦克风的功能。
  9. 根据权利要求1至8任一项所述的方法,其特征在于,
    所述便携式电子设备还包括第一麦克风和第二麦克风;
    在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音的同时,之前或之后,恢复所述第一麦克风和所述第二麦克风初始设置的功能。
  10. 一种便携式电子设备,所述便携式电子设备包括扬声器和听筒,其特征在于,包括:
    显示模块,用于在所述便携式电子设备处于倒置状态下检测到呼入的呼叫,显示呼叫界面;
    处理模块,用于检测到应答所述呼叫的操作,连接所述呼叫,启用所述扬声器代替所述听筒输出语音。
  11. 根据权利要求10所述的便携式电子设备,其特征在于,
    所述便携式电子设备在倒置状态下的呼叫界面旋转180度后与所述便携式电子设备在非倒置状态下的呼叫界面相同;或者,
    所述便携式电子设备在倒置状态下的呼叫界面与所述便携式电子设备在非倒置状态下的呼叫界面相同。
  12. 根据权利要求10或11所述的便携式电子设备,其特征在于,
    所述扬声器的音量与所述听筒的音量相同或匹配。
  13. 根据权利要求10至12任一项所述的便携式电子设备,其特征在于,
    所述显示模块还用于所述处理模块连接所述呼叫的同时或之后,显示通话界面。
  14. 根据权利要求10至13任一项所述的便携式电子设备,其特征在于,
    所述便携式电子设备在倒置状态下的通话界面旋转180度后与所述便携式电子设备在非倒置状态下的通话界面相同;或者,
    所述便携式电子设备在倒置状态下的通话界面与所述便携式电子设备在非倒置状态下的通话界面相同。
  15. 根据权利要求10至14任一项所述的便携式电子设备,其特征在于,
    所述处理模块还用于在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音。
  16. 根据权利要求10至15任一项所述的便携式电子设备,其特征在于,
    所述处理模块还用于检测到耳机插入到所述便携式电子设备,关闭所述扬声器或所述听筒。
  17. 根据权利要求10至16任一项所述的便携式电子设备,其特征在于,
    所述便携式电子设备还包括第一麦克风和第二麦克风;
    所述处理模块还用于启用扬声器代替听筒输出语音的同时,之前或之后,切换所述第一麦克风和所述第二麦克风的功能。
  18. 根据权利要求10至17任一项所述的便携式电子设备,其特征在于,
    所述便携式电子设备还包括第一麦克风和第二麦克风;
    所述处理模块还用于在连接呼叫过程中检测到便携式电子设备处于非倒置状态,启用所述听筒代替扬声器输出语音的同时,之前或之后,恢复所述第一麦克风和所述第二麦克风初始设置的功能。
  19. 一种便携式电子设备,其特征在于,包括:一个或多个处理器、存储器、总线系统、收发器以及一个或多个程序,所述处理器、所述存储器和所述收发器通过所述总线系统连接;
    其中,所述一个或多个程序存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述便携式电子设备执行时使所述便携式电子设备执行如权利要求1至9任一项所述的方法。
  20. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被便携式电子设备执行时使所述便携式电子设备执行如权利要求1至9任一项所述的方法。
  21. 一种便携式电子设备上的图形用户界面,所述便携式电子设备包括显示器、存储器、多个应用程序、和用于执行存储在所述存储器中的一个或多个程度的一个或多个处理器,所述图形用户界面包括根据权利要求1至9任一项所述的方法显示的用户界面,其中,所述显示器包括触敏表面和显示屏。
PCT/CN2015/095009 2015-11-19 2015-11-19 一种输出语音的方法及设备 WO2017084066A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/095009 WO2017084066A1 (zh) 2015-11-19 2015-11-19 一种输出语音的方法及设备
CN201580065127.4A CN107005610A (zh) 2015-11-19 2015-11-19 一种输出语音的方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/095009 WO2017084066A1 (zh) 2015-11-19 2015-11-19 一种输出语音的方法及设备

Publications (1)

Publication Number Publication Date
WO2017084066A1 true WO2017084066A1 (zh) 2017-05-26

Family

ID=58717261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095009 WO2017084066A1 (zh) 2015-11-19 2015-11-19 一种输出语音的方法及设备

Country Status (2)

Country Link
CN (1) CN107005610A (zh)
WO (1) WO2017084066A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329123A (zh) * 2021-05-21 2021-08-31 深圳市桑达无线通讯技术有限公司 一种智能设备音/视频接听处理方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146289A1 (en) * 2006-12-14 2008-06-19 Motorola, Inc. Automatic audio transducer adjustments based upon orientation of a mobile communication device
CN103067562A (zh) * 2011-10-20 2013-04-24 深圳富泰宏精密工业有限公司 手机及其手机电话接听方法
CN105049629A (zh) * 2015-08-06 2015-11-11 Tcl移动通信科技(宁波)有限公司 一种移动终端通话控制的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146289A1 (en) * 2006-12-14 2008-06-19 Motorola, Inc. Automatic audio transducer adjustments based upon orientation of a mobile communication device
CN103067562A (zh) * 2011-10-20 2013-04-24 深圳富泰宏精密工业有限公司 手机及其手机电话接听方法
CN105049629A (zh) * 2015-08-06 2015-11-11 Tcl移动通信科技(宁波)有限公司 一种移动终端通话控制的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113329123A (zh) * 2021-05-21 2021-08-31 深圳市桑达无线通讯技术有限公司 一种智能设备音/视频接听处理方法

Also Published As

Publication number Publication date
CN107005610A (zh) 2017-08-01

Similar Documents

Publication Publication Date Title
US9035905B2 (en) Apparatus and associated methods
US10824277B2 (en) Electrical device with piezoelectric elements communicating haptically and audibly with user
KR101901720B1 (ko) 더미 장치와의 연동 방법 및 그 전자 장치
WO2021063249A1 (zh) 电子设备的控制方法及电子设备
CN110166890B (zh) 音频的播放采集方法、设备及存储介质
CN109413526B (zh) 耳机控制方法、装置、电子设备以及存储介质
WO2019154182A1 (zh) 应用程序的音量设置方法及移动终端
WO2021109925A1 (zh) 应用分享方法、电子设备及计算机可读存储介质
WO2019201271A1 (zh) 通话处理方法及移动终端
WO2021129529A1 (zh) 设备切换方法及相关设备
WO2019062364A1 (zh) 显示方法及移动终端
US20180288214A1 (en) Method for outputting multimedia data and control device thereof
WO2020042892A1 (zh) 通话模式切换方法及终端设备
WO2020238451A1 (zh) 终端控制方法和终端
WO2017020422A1 (zh) 一种音频电路选择方法、装置和电路以及手持终端
WO2021147718A1 (zh) 音频传输方法及电子设备
WO2021136141A1 (zh) 播放方法及电子设备
WO2020134811A1 (zh) 按键控制方法及终端
CN112422721B (zh) 电子设备以及音频输出方法
WO2020173396A1 (zh) 移动终端及声音输出控制方法
CN115190197B (zh) 基于蓝牙耳机的通话方法、装置及存储介质
WO2021238844A1 (zh) 音频输出方法及电子设备
WO2021169869A1 (zh) 音频播放装置、音频播放方法及电子设备
WO2024021736A1 (zh) 蓝牙多媒体包的传输方法、装置、设备和系统
CN105554631B (zh) 音频切换方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15908563

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15908563

Country of ref document: EP

Kind code of ref document: A1