WO2021208893A1 - 音频输出方式的切换方法及电子设备 - Google Patents

音频输出方式的切换方法及电子设备 Download PDF

Info

Publication number
WO2021208893A1
WO2021208893A1 PCT/CN2021/086845 CN2021086845W WO2021208893A1 WO 2021208893 A1 WO2021208893 A1 WO 2021208893A1 CN 2021086845 W CN2021086845 W CN 2021086845W WO 2021208893 A1 WO2021208893 A1 WO 2021208893A1
Authority
WO
WIPO (PCT)
Prior art keywords
output mode
audio output
electronic device
audio
input
Prior art date
Application number
PCT/CN2021/086845
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 EP21789137.3A priority Critical patent/EP4138375A4/en
Priority to KR1020227039720A priority patent/KR20230006494A/ko
Priority to JP2022562637A priority patent/JP7526810B2/ja
Publication of WO2021208893A1 publication Critical patent/WO2021208893A1/zh
Priority to US17/966,764 priority patent/US20230037238A1/en

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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • H04M1/6066Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724094Interfacing with a device worn on the user's body to provide access to telephonic functionalities, e.g. accepting a call, reading or composing a message
    • H04M1/724097Worn on the head
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's

Definitions

  • the present invention relates to the field of communication technology, and in particular to an audio output mode switching method and electronic equipment.
  • electronic devices such as mobile phones and tablet computers have become one of the indispensable electronic products in people's daily lives.
  • electronic devices usually can be connected to wireless earphones to facilitate people's voice instant messaging and entertainment activities such as watching videos and listening to music.
  • the electronic device is connected to a wireless headset, if the user wants to change the audio output mode, the user needs to exit the audio playback application, disconnect the wireless headset or turn off the wireless headset, and then select audio playback. The user needs to perform multiple operations to realize the replacement of the audio output mode.
  • Embodiments of the present invention provide a method and electronic device for switching audio output modes, so as to solve the problem of complicated operation of switching audio output modes in existing electronic devices.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a method for switching audio output modes, which is applied to a first electronic device, and the first electronic device is wirelessly connected to a second electronic device; the method includes:
  • the first audio output mode is output through one of the first electronic device and the second electronic device
  • the second audio output mode is output through the first electronic device and the second electronic device.
  • the other one of the electronic equipment outputs.
  • an embodiment of the present invention also provides an electronic device, the electronic device is a first electronic device, and the first electronic device is wirelessly connected to a second electronic device; the electronic device includes:
  • the output module is configured to display audio information, and output the audio corresponding to the audio information through the first audio output mode;
  • a receiving module for receiving target input for the audio information
  • a switching module configured to switch the audio output mode to a second audio output mode in response to the target input
  • the first audio output mode is output through one of the first electronic device and the second electronic device
  • the second audio output mode is output through the first electronic device and the second electronic device.
  • the other one of the electronic equipment outputs.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor.
  • the steps of the audio output mode switching method as described in the first aspect are implemented during execution.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for switching audio output modes as described in the first aspect is implemented A step of.
  • the audio output mode when the first electronic device is displaying audio information and outputting audio through the first audio output mode, if a target input for the audio information is received, the audio output mode is switched to The second audio output mode enables the first electronic device to switch the audio output mode to output through the first electronic device or to output through the second electronic device based on the target input. In this way, the user can complete the switching of the audio output mode with one target input, which simplifies the user's operation, and also makes the switching operation of the audio output mode of the first electronic device simpler and faster.
  • FIG. 1 is a flowchart of a method for switching audio output modes according to an embodiment of the present invention
  • Fig. 1a is a schematic diagram of a scene of a display interface of an electronic device applying the audio output mode switching method provided in Fig. 1;
  • FIG. 2 is a flowchart of another audio output mode switching method provided by an embodiment of the present invention.
  • Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • Fig. 4 is a structural diagram of another electronic device provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of an audio output mode switching method provided by an embodiment of the present invention. As shown in FIG. 1, the audio output mode switching method includes the following steps:
  • Step 101 Display audio information, and output audio corresponding to the audio information through a first audio output mode.
  • the method provided by the embodiment of the present invention is applied to a first electronic device, and the first electronic device is wirelessly connected to the second electronic device.
  • the first electronic device and the second electronic device are both devices capable of audio playback; for example, the first electronic device is a mobile phone, and the second electronic device is a wireless headset; or, the first electronic device is a wireless headset;
  • One electronic device is a mobile phone, the second electronic device is another mobile phone, etc.
  • the first electronic device when the first electronic device displays audio information, it can output the audio corresponding to the audio information through the first audio output mode.
  • the audio information 11 is the voice communication information displayed on the running interface, and the audio is the corresponding voice Content
  • the audio information is a music menu displayed on the running interface of a music application, and the audio is the corresponding music.
  • the first audio output mode is output through one of the first electronic device and the second electronic device.
  • the second electronic device is a wireless earphone, and when the first electronic device is wirelessly connected to the wireless earphone, the first audio output mode is output through the wireless earphone.
  • Step 102 Receive a target input for the audio information.
  • the target input may refer to a trigger operation received by the first electronic device to act on the first electronic device, for example, the target input is a sliding input of the user acting on the audio information; or
  • the target input may also refer to a trigger operation received by the first electronic device and act on the second electronic device, for example, the target input is a trigger operation acted on by the user on the second electronic device.
  • Step 103 In response to the target input, switch the audio output mode to a second audio output mode.
  • the first audio output mode is output through one of the first electronic device and the second electronic device
  • the second audio output mode is output through the first electronic device and the second electronic device.
  • the other one of the electronic equipment outputs.
  • the first audio output mode is output through the first electronic device, when the first electronic device receives a target input for audio information, such as a left-to-right sliding operation on the audio information by the user, The audio output mode is switched to output through the second electronic device; if the first audio output mode is output through the second electronic device, when a target input for the audio information is received, the audio output is The mode is switched to output through the first electronic device.
  • the audio output is The mode is switched to the second audio output mode, so that the first electronic device can switch the audio output mode to output through the first electronic device or switch to output through the second electronic device based on the target input.
  • the user can complete the switching of the audio output mode with one target input, which simplifies the user's operation, and also makes the switching operation of the audio output mode of the first electronic device simpler and faster.
  • the second electronic device is a wireless headset
  • the first audio output mode is output through the wireless headset
  • the step 102 may include:
  • the step 103 may include:
  • the audio output mode is switched to output through a speaker.
  • wireless earphones include left earphones and right earphones.
  • the left earphone is in a non-wearing state.
  • the wireless headset can send a target instruction to the first electronic device, so that the first electronic device obtains the user's target input on the wireless headset according to the received target instruction; further, the first electronic device If the audio output mode is switched to output through the speaker, the wireless earphone will no longer output audio.
  • At least one of the left earphone and the right earphone is in a non-wearing state.
  • the user may remove the left earphone before or during the execution of the target input, or remove both the left earphone and the right earphone.
  • the first electronic device may also switch the audio output mode based on the user's target input on the wireless earphone. For example, when the first electronic device is in the off-screen state, the user needs to perform a screen-on operation on the first electronic device before switching the audio output mode; and the solution provided by this embodiment, even in the first electronic device When the electronic device is in the off-screen state, the first electronic device can switch the audio output mode based on the user's target input on the wireless headset, which effectively simplifies the user's operation and also enables the first electronic device to perform the audio output mode The switching process is more convenient and faster.
  • this embodiment may also be that when one of the left earphone or the right earphone of the wireless earphone is in a non-wearing state, and within a preset period of time, it receives an action on either the left earphone or the right earphone.
  • the audio output mode is switched to output through the speaker. In this way, it is possible to avoid false triggering when one of the left earphone or the right earphone is in a non-wearing state for a long time, and further improve the accuracy of the audio output mode switching operation performed by the first electronic device.
  • the first electronic device when the first electronic device responds to the target input and switches the audio output mode to output through the speaker, if one of the left earphone and the right earphone is still in a non-wearing state, and it is received that the user acts on the left earphone or If the target input on the right earphone is input, the first electronic device switches the audio output mode to output through the wireless earphone. In this way, the first electronic device can switch the audio output mode back and forth between the wireless earphone and the speaker based on the user's target input on the wireless earphone, which further improves the user's convenience in switching the audio output mode.
  • the left earphone and the right earphone of the wireless earphone may be provided with an infrared sensor, a gravity sensor, etc., to detect the wearing state of the left earphone and the right earphone.
  • the specific detection principle may refer to related technologies, which are not described in detail in the embodiment of the present invention.
  • the step 103 may further include:
  • the audio output mode is switched to the second audio output mode, and a first target control is displayed.
  • the first target control is used to indicate that the audio output mode is determined by the first audio output mode.
  • the output mode is switched to the second audio output mode.
  • the target control may be displayed after the audio output mode is switched to the second audio output mode, or it may be displayed in the first audio output mode before the audio output mode is switched while the user performs the target input.
  • the display interface of the electronic device On the display interface of the electronic device.
  • the first electronic device displays the running interface of the instant messaging application
  • the audio information 11 is the voice communication information displayed in the running interface
  • the target input is the user acting on the voice
  • the first electronic device can display the first target control 12 on the current running interface, for example, the first target control 12 indicates that the audio output mode is switched from wireless headphones to speakers.
  • the user can clearly and intuitively know which audio output mode the first electronic device will switch to during the process of executing the target input, providing a more intuitive reference for the user to execute the target input, and improving the first electronic device.
  • the audio output mode is switched from wireless headphones to speakers.
  • the step 103 may further include:
  • the target input is a first sliding input
  • switching the audio output mode to a second audio output mode in response to the first sliding input, switching the audio output mode to a second audio output mode
  • the method further includes:
  • the output mode of the audio is controlled to be the first audio output mode; wherein the sliding track of the second sliding input At least partially overlap with the sliding track of the first sliding input.
  • the first electronic device can perform different responses to different sliding trajectories of the target input.
  • the first electronic device can switch the audio output mode from the first audio output mode to the second audio output mode based on the first sliding input;
  • the first electronic device controls the audio output mode to still be the first audio output mode, that is, the audio output mode will not be switched.
  • the first electronic device displays the running interface of an instant messaging application, the audio information is voice communication information displayed in the running interface, and the first electronic device currently outputs audio through a wireless headset; if a user action is received For the first sliding input from left to right on the voice communication information, the first electronic device switches the audio output mode to output through the speaker; The second sliding input from right to left, the first electronic device does not switch the audio output mode, and the first electronic device still outputs audio through the wireless earphone.
  • the first electronic device can perform different responses based on the different sliding trajectories of the target input to switch or not switch the audio output mode, so that the first electronic device can control the audio output mode more flexibly. Bring a better user experience to users.
  • the step 102 may further include:
  • a second sliding input for the audio information is received, and a second target control is displayed; the second target control is used to indicate that the audio output mode is the first audio output mode.
  • the first electronic device can display the second target control on the display interface for indicating that the audio output mode is still the first audio output mode. In this way, it can be displayed more intuitively and clearly that the current second sliding input does not trigger the first electronic device to perform the switching of the audio input mode, so as to play a more intuitive and effective prompt for the user and bring better to the user.
  • the operation experience to avoid user misoperation.
  • FIG. 2 is a flowchart of another audio output mode switching method provided by an embodiment of the present invention.
  • the method provided by the embodiment of the present invention is applied to a wireless headset. As shown in Figure 2, the method includes the following steps:
  • Step 201 When the audio file sent by the first electronic device is obtained, output the audio corresponding to the audio file through the first audio output mode.
  • the method provided in the embodiment of the present invention is applied to a wireless headset, such as a Bluetooth headset, which can realize a Bluetooth connection with the first electronic device.
  • a wireless headset such as a Bluetooth headset
  • the wireless headset when the wireless headset establishes a wireless connection with the first electronic device, the audio on the first electronic device is output through the wireless headset.
  • Step 202 When any one of the left earphone and the right earphone of the wireless earphone is in a non-wearing state, receive a target input from the user on the left earphone or the right earphone.
  • Step 203 In response to the target input, send a target instruction to the first electronic device, where the target instruction is used to instruct the first electronic device to switch the audio output mode to output through a speaker.
  • wireless earphones include left earphones and right earphones.
  • the left earphone is in a non-wearing state.
  • the wireless headset can send a target instruction to the first electronic device, so that the first electronic device switches the audio output mode to output through the speaker according to the received target instruction. Audio is no longer output.
  • the wireless earphone can send a target instruction to the first electronic device based on the user's target input when the left earphone or the right earphone is in a non-wearing state, so that the first electronic device can switch the audio output mode.
  • the first electronic device when the first electronic device is in the off-screen state, the user needs to perform a screen-on operation on the first electronic device before switching the audio output mode; and the solution provided by this embodiment, even in the first electronic device When the electronic device is in the off-screen state, the first electronic device can switch the audio output mode based on the user's target input on the wireless headset, which effectively simplifies the user's operation and also enables the first electronic device to perform the audio output mode The switching process is more convenient and faster.
  • the step 202 may further include:
  • any one of the left earphone and the right earphone of the wireless earphone is in a non-wearing state, receiving the user's target input on the left earphone or the right earphone within a preset time period.
  • the wireless earphone sends the target instruction to the first electronic device so that the first The electronic device switches the audio output mode to output through the speaker. In this way, it is possible to avoid false triggering when one of the left earphone or the right earphone is in a non-wearing state for a long time, and further improve the accuracy of the audio output mode switching operation performed by the first electronic device.
  • the wireless earphone when the first electronic device responds to the target input and switches the audio output mode to output through the speaker, if one of the left earphone and the right earphone is still in a non-wearing state, and the wireless earphone receives the user action
  • the target input on the left earphone or the right earphone sends a second target instruction to the first electronic device, so that the first electronic device switches the audio output mode to output through the wireless earphone based on the second target instruction .
  • the wireless earphone can send different instructions to the first electronic device based on the user's target input, so that the first electronic device can switch the audio output mode back and forth between the wireless earphone and the speaker, which further improves the user's audio output mode Convenience in switching operations.
  • the left earphone and the right earphone of the wireless earphone may be provided with an infrared sensor, a gravity sensor, etc., to detect the wearing state of the left earphone and the right earphone.
  • the specific detection principle may refer to related technologies, which are not described in detail in the embodiment of the present invention.
  • FIG. 3 is a structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device is a first electronic device, and the first electronic device is wirelessly connected to the second electronic device.
  • the electronic device 300 includes:
  • the output module 301 is configured to display audio information, and output audio corresponding to the audio information through the first audio output mode;
  • the receiving module 302 is configured to receive target input for the audio information
  • the switching module 303 is configured to switch the audio output mode to the second audio output mode in response to the target input;
  • the first audio output mode is output through one of the first electronic device and the second electronic device
  • the second audio output mode is output through the first electronic device and the second electronic device.
  • the other one of the electronic equipment outputs.
  • the switching module 303 is further configured to:
  • the audio output mode is switched to the second audio output mode, and a first target control is displayed.
  • the first target control is used to indicate that the audio output mode is determined by the first audio output mode.
  • the output mode is switched to the second audio output mode.
  • the switching module 303 is further configured to:
  • the target input is a first sliding input
  • switching the audio output mode to a second audio output mode in response to the first sliding input, switching the audio output mode to a second audio output mode
  • the electronic device 300 further includes:
  • a control module configured to control the audio output mode to be the first audio output mode in response to the second sliding input when the target input is the second sliding input;
  • the sliding trajectory of the second sliding input and the sliding trajectory of the first sliding input at least partially overlap.
  • the target input is the second sliding input
  • the receiving module 302 is further configured to:
  • a second sliding input for the audio information is received, and a second target control is displayed; the second target control is used to indicate that the audio output mode is the first audio output mode.
  • the second electronic device is a wireless earphone, and the first audio output mode is output through the wireless earphone; the receiving module 302 is further configured to:
  • the electronic device 300 can implement each process of the embodiment of the audio output mode switching method described in FIG.
  • the electronic device 300 is a first electronic device.
  • the first electronic device When the first electronic device is displaying audio information and outputting audio through the first audio output mode, if a target input for the audio information is received, it will The audio output mode is switched to the second audio output mode, so that the first electronic device can switch the audio output mode to output through the first electronic device or to output through the second electronic device based on the target input.
  • the user can complete the switching of the audio output mode with one target input, which simplifies the user's operation, and also makes the switching operation of the audio output mode of the electronic device 300 simpler and faster.
  • FIG. 4 is a structural diagram of another electronic device that implements an embodiment of the present invention.
  • the electronic device 400 can implement the various processes of the audio output mode switching method embodiment described in FIG. 1, and achieve the same Technical effect.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, The processor 410, and the power supply 411 and other components.
  • a radio frequency unit 401 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, The processor 410, and the power supply 411 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the display unit 406 is used to display audio information
  • the audio output unit 403 is used to output audio corresponding to the audio information through the first audio output mode
  • the user input unit 407 is configured to receive target input for the audio information
  • the processor 410 is configured to switch the audio output mode to the second audio output mode in response to the target input;
  • the first audio output mode is output through one of the first electronic device and the second electronic device
  • the second audio output mode is output through the first electronic device and the second electronic device.
  • the other one of the electronic equipment outputs.
  • processor 410 is also used for:
  • the audio output mode is switched to the second audio output mode, and the display unit 406 is controlled to display a first target control.
  • the first target control is used to indicate that the audio output mode is controlled by the The first audio output mode is switched to the second audio output mode.
  • processor 410 is also used for:
  • the target input is a first sliding input
  • switching the audio output mode to a second audio output mode in response to the first sliding input, switching the audio output mode to a second audio output mode
  • the target input is a second sliding input
  • controlling the audio output mode to be the first audio output mode
  • the sliding trajectory of the second sliding input and the sliding trajectory of the first sliding input at least partially overlap.
  • the target input is the second sliding input
  • the user input unit 407 is further configured to receive a second sliding input for the audio information
  • the display unit 406 is further configured to display a second target control;
  • the second target control is used to indicate that the audio output mode is the first audio output mode.
  • the second electronic device is a wireless headset, and the first audio output mode is output through the wireless headset; the user input unit 407 is further configured to:
  • the electronic device 400 is a first electronic device, and when the first electronic device displays audio information and outputs audio through the first audio output mode, if a target input for the audio information is received, then Switching the audio output mode to the second audio output mode enables the first electronic device to switch the audio output mode to output through the first electronic device or to output through the second electronic device based on the target input. In this way, the user can complete the switching of the audio output mode with one target input, which simplifies the user's operation, and also makes the electronic device 400 easier and faster to switch the audio output mode.
  • the radio frequency unit 401 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 400 provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 responds to still images or video images obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other computer-readable storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4041 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4041 and the display panel 4041 when the electronic device 400 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4041, and the display panel 4041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device 400.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4041.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 4041.
  • the touch panel 4071 and the display panel 4041 are used as two independent components to implement the input and output functions of the electronic device 400, in some embodiments, the touch panel 4071 and the display panel 4041 may be combined.
  • the input and output functions of the electronic device 400 are realized by integration, which is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device and the electronic device 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the electronic device 400, which uses various interfaces and lines to connect the various parts of the entire electronic device 400, runs or executes the software programs and/or modules stored in the memory 409, and calls the storage in the memory 409 , Execute various functions of the electronic device 400 and process data, so as to monitor the electronic device 400 as a whole.
  • the processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 400 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to realize the above audio output.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Acoustics & Sound (AREA)
  • Otolaryngology (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本发明提供一种音频输出方式的切换方法及电子设备,所述音频输出方式的切换方法,应用于第一电子设备,所述第一电子设备与第二电子设备无线连接;所述方法包括:显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;接收针对所述音频信息的目标输入;响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。

Description

音频输出方式的切换方法及电子设备
相关申请的交叉引用
本申请主张在2020年4月16日在中国提交的中国专利申请号No.202010299922.2的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及通信技术领域,尤其涉及一种音频输出方式的切换方法及电子设备。
背景技术
随着通信技术的快速发展,手机、平板电脑等电子设备已经成为人们日常生活中不可或缺的电子产品之一。目前,电子设备通常能够连接无线耳机,以方便人们进行语音即时通讯以及观看视频、听音乐等娱乐活动。但是,在电子设备连接无线耳机的情况下,若用户想要更换音频的输出方式,需要用户先退出音频播放应用程序,断开与无线耳机的连接或是关闭无线耳机,再选择音频播放,造成用户需要进行多次操作才能实现音频输出方式的更换。
可见,现有的电子设备存在切换音频输出方式的操作较为繁琐的问题。
发明内容
本发明实施例提供一种音频输出方式的切换方法及电子设备,以解决现有的电子设备中,切换音频输出方式的操作较为繁琐的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种音频输出方式的切换方法,应用于第一电子设备,所述第一电子设备与第二电子设备无线连接;所述方法包括:
显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;
接收针对所述音频信息的目标输入;
响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子 设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
第二方面,本发明实施例还提供了一种电子设备,所述电子设备为第一电子设备,所述第一电子设备与第二电子设备无线连接;所述电子设备包括:
输出模块,用于显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;
接收模块,用于接收针对所述音频信息的目标输入;
切换模块,用于响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面中所述的音频输出方式的切换方法的步骤。
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面中所述的音频输出方式的切换方法的步骤。
本发明实施例中,第一电子设备在显示音频信息,并通过第一音频输出方式输出音频的情况下,若接收到针对所述音频信息的目标输入,则将所述音频的输出方式切换为第二音频输出方式,使得第一电子设备能够基于目标输入,将音频的输出方式切换为通过第一电子设备输出或者是切换为通过第二电子设备输出。这样,用户通过一次目标输入就能完成音频输出方式的切换,简化了用户操作,也使得第一电子设备对于音频输出方式的切换操作更为简单、快速。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描 述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种音频输出方式的切换方法的流程图;
图1a是应用图1提供的音频输出方式的切换方法的电子设备显示界面的一种场景示意图;
图2是本发明实施例提供的另一种音频输出方式的切换方法的流程图;
图3是本发明实施例提供的一种电子设备的结构图;
图4是本发明实施例提供的另一种电子设备的结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参见图1,图1是本发明实施例提供的一种音频输出方式的切换方法的流程图,如图1所示,所述音频输出方式的切换方法包括以下步骤:
步骤101、显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频。
需要说明的是,本发明实施例提供的方法应用于第一电子设备,所述第一电子设备与第二电子设备无线连接。其中,所述第一电子设备和所述第二电子设备均为能够实现音频播放的设备;例如,所述第一电子设备为手机,所述第二电子设备为无线耳机;或者,所述第一电子设备为手机,第二电子设备为另一手机,等。
本发明实施例中,第一电子设备在显示音频信息的情况下,能够通过第一音频输出方式输出所述音频信息对应的音频。例如,请参照图1a,若所述第一电子设备显示的是即时通讯应用程序的运行界面,所述音频信息11为显示在该运行界面中的语音通讯信息,所述音频也就是对应的语音内容;若所述第一电子设备显示的是音乐应用程序的运行界面,所述音频信息为显示在 音乐应用程序运行界面上的音乐菜单,所述音频也就是对应的音乐。
需要说明的是,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出。例如,所述第二电子设备为无线耳机,第一电子设备在与无线耳机无线连接的情况下,所述第一音频输出方式为通过无线耳机输出。
步骤102、接收针对所述音频信息的目标输入。
本发明实施例中,所述目标输入可以是指第一电子设备接收到的作用于第一电子设备上的触发操作,例如所述目标输入为用户作用于所述音频信息上的滑动输入;或者,所述目标输入也可以是指第一电子设备接收到的作用于所述第二电子设备上的触发操作,例如所述目标输入为用户作用于第二电子设备上的触发操作。
步骤103、响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式。
其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
可以理解地,若所述第一音频输出方式为通过第一电子设备输出,当第一电子设备接收到针对音频信息的目标输入,例如用户作用于音频信息上的从左至右的滑动操作,则将所述音频的输出方式切换为通过第二电子设备输出;若第一音频输出方式为通过第二电子设备输出,当接收到针对所述音频信息的目标输入,则将所述音频的输出方式切换为通过第一电子设备输出。
本发明实施例提供的技术方案,第一电子设备在显示音频信息,并通过第一音频输出方式输出音频的情况下,若接收到针对所述音频信息的目标输入,则将所述音频的输出方式切换为第二音频输出方式,使得第一电子设备能够基于目标输入,将音频的输出方式切换为通过第一电子设备输出或者是切换为通过第二电子设备输出。这样,用户通过一次目标输入就能完成音频输出方式的切换,简化了用户操作,也使得第一电子设备对于音频输出方式的切换操作更为简单、快速。
例如,在本发明实施例一种可选的实施方式中,所述第二电子设备为无 线耳机,所述第一音频输出方式为通过所述无线耳机输出;所述步骤102可以包括:
接收作用于所述无线耳机的左耳机和右耳机中任意一者上的目标输入;其中,所述左耳机和所述右耳机中的至少一者处于非佩戴状态;
所述步骤103可以包括:
响应于所述目标输入,将所述音频的输出方式切换为通过扬声器输出。
本实施方式中,第一电子设备与无线耳机无线连接的情况下,第一电子设备的音频通过无线耳机输出。可以理解地,无线耳机包括左耳机和右耳机,当用户取下其中一侧耳机,例如左耳机,则左耳机处于非佩戴状态,若此时用户作用在左耳机或者右耳机上执行目标输入,如双击操作,则无线耳机可以向所述第一电子设备发送目标指令,以使得第一电子设备根据接收到的目标指令,而获取用户作用在无线耳机上的目标输入;进而,第一电子设备将所述音频的输出方式切换为通过扬声器输出,那么无线耳机中也就不再输出音频。
其中,在用户执行目标输入的过程中,左耳机和右耳机中的至少一者处于非佩戴状态。例如,用户可以是在执行目标输入前或执行目标输入过程中,将左耳机取下,或者是将左耳机和右耳机都取下。
本实施方式中,第一电子设备也可以是基于用户作用于无线耳机上的目标输入,来对音频的输出方式进行切换。例如,在第一电子设备处于灭屏状态时,用户需要先对第一电子设备执行亮屏操作后,才能再进行音频输出方式的切换操作;而本实施方式所提供的方案,即使在第一电子设备处于灭屏的状态下,第一电子设备能够基于用户作用在无线耳机上的目标输入来进行音频输出方式的切换,有效地简化了用户的操作,也使得第一电子设备执行音频输出方式的切换流程更加方便快捷。
可以理解地,若无线耳机的左耳机或右耳机中的一者处于非佩戴状态,但是未接收到目标输入,则第一电子设备也就不会执行音频输出方式的切换。可选的,本实施方式还可以是,当无线耳机的左耳机或右耳机中的一者处于非佩戴状态,且在预设时长内接收到作用于左耳机或右耳机中任意一者上的目标输入时,则将所述音频的输出方式切换为通过扬声器输出。这样,也就 能够避免左耳机或右耳机中的一者长期处于非佩戴状态时出现的误触发,进一步提高了第一电子设备进行音频输出方式切换操作的准确性。
进一步地,当第一电子设备响应于目标输入,将音频的输出方式切换为通过扬声器输出后,若左耳机和右耳机中的一者仍然处于非佩戴状态,且接收到用户作用在左耳机或者右耳机上的所述目标输入,则第一电子设备将所述音频的输出方式切换为通过无线耳机输出。这样,第一电子设备基于用户作用于无线耳机上的目标输入,能够实现音频输出方式在无线耳机与扬声器之间的来回切换,进一步提高了用户对于音频输出方式在切换操作上的便捷性。
需要说明的是,无线耳机的左耳机和右耳机上可以是设置有红外传感器、重力传感器等,以检测左耳机和右耳机的佩戴状态。具体的检测原理可以是参考相关技术,本发明实施例对此不做赘述。
本发明实施例中,所述步骤103还可以包括:
响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,并显示第一目标控件,所述第一目标控件用于指示所述音频的输出方式由所述第一音频输出方式切换为所述第二音频输出方式。
需要说明的是,所述目标控件可以是在音频的输出方式切换为第二音频输出方式之后显示,也可以是在音频的输出方式切换之前,在用户执行目标输入的过程中就显示在第一电子设备的显示界面上。
例如,请参照图1a,第一电子设备显示的是即时通讯应用程序的运行界面,所述音频信息11为显示在该运行界面中的语音通讯信息,所述目标输入为用户作用于所述语音通讯信息上的从左至右的滑动输入,那么在用户执行该滑动输入的过程中,第一电子设备能够在当前的运行界面上显示所述第一目标控件12,例如所述第一目标控件12指示音频的输出方式由无线耳机切换为扬声器。这样,也就使得用户在执行目标输入的过程中,能够清楚直观地获知第一电子设备将会切换到哪种音频输出方式,为用户执行目标输入提供更直观的参考,提升了第一电子设备的使用体验。
在一种可选的实施方式中,所述步骤103还可以包括:
在所述目标输入为第一滑动输入的情况下,响应于所述第一滑动输入, 将所述音频的输出方式切换为第二音频输出方式;
该实施方式中,所述步骤102之后,所述方法还包括:
在所述目标输入为第二滑动输入的情况下,响应于所述第二滑动输入,控制所述音频的输出方式为所述第一音频输出方式;其中,所述第二滑动输入的滑动轨迹与所述第一滑动输入的滑动轨迹至少部分重合。
本实施方式中,第一电子设备能够针对目标输入的滑动轨迹的不同,执行不同的响应。在所述目标输入为第一滑动输入的情况下,则第一电子设备能够基于所述第一滑动输入,将音频的输出方式从第一音频输出方式切换为第二音频输出方式;在所述目标输入为第二滑动输入的情况下,则第一电子设备控制所述音频的输出方式仍然为第一音频输出方式,也就是不会对音频的输出方式进行切换。
例如,第一电子设备显示的是即时通讯应用程序的运行界面,所述音频信息为显示在该运行界面中的语音通讯信息,且第一电子设备当前通过无线耳机输出音频;若接收到用户作用于所述语音通讯信息上的从左至右的第一滑动输入,则第一电子设备将音频的输出方式切换为通过扬声器输出;若接收到用户作用于所述语音通讯信息上的从左至右再至左的第二滑动输入,则第一电子设备不会对音频的输出方式进行切换,第一电子设备仍然通过无线耳机输出音频。
这样,第一电子设备能够基于目标输入的滑动轨迹的不同,分别执行不同的响应,以对音频的输出方式进行切换或者是不切换,使得第一电子设备对于音频输出方式的控制更为灵活,为用户带来更好的使用体验。
在所述目标输入为所述第二滑动输入的情况下,所述步骤102还可以包括:
接收针对所述音频信息的第二滑动输入,并显示第二目标控件;所述第二目标控件用于指示所述音频的输出方式为所述第一音频输出方式。
也就是说,用户在执行第二滑动输入的过程中,第一电子设备能够在显示界面显示第二目标控件,用于指示所述音频的输出方式仍然为所述第一音频输出方式。这样,也就能够更加直观清楚地显示当前的第二滑动输入并不会触发第一电子设备执行音频输入方式的切换,以对用户起到更为直观有效 的提示作用,为用户带来更好的操作体验,避免用户出现误操作。
请参见图2,图2是本发明实施例提供的另一种音频输出方式的切换方法的流程图,本发明实施例提供的方法应用于无线耳机。如图2所示,所述方法包括以下步骤:
步骤201、在获取到第一电子设备发送的音频文件的情况下,通过第一音频输出方式输出所述音频文件对应的音频。
需要说明的是,本发明实施例提供的方法应用于无线耳机,例如蓝牙耳机,蓝牙耳机能够与第一电子设备实现蓝牙连接。本发明实施例中,无线耳机在与第一电子设备建立无线连接的情况下,第一电子设备上的音频通过无线耳机输出。
步骤202、在所述无线耳机的左耳机和右耳机中的任意一者处于非佩戴状态的情况下,接收用户作用于左耳机或右耳机上的目标输入。
步骤203、响应于所述目标输入,向所述第一电子设备发送目标指令,所述目标指令用于指示所述第一电子设备将所述音频的输出方式切换为通过扬声器输出。
可以理解地,无线耳机包括左耳机和右耳机,当用户取下其中一侧耳机,例如左耳机,则左耳机处于非佩戴状态,若此时用户在左耳机或者右耳机上执行目标输入,如双击操作,则无线耳机可以向所述第一电子设备发送目标指令,以使得第一电子设备根据接收到的目标指令,将所述音频的输出方式切换为通过扬声器输出,那么无线耳机中也就不再输出音频。
这样,无线耳机能够在左耳机或右耳机处于非佩戴状态的情况下,基于用户的目标输入来向第一电子设备发送目标指令,以使得第一电子设备对音频的输出方式进行切换。例如,在第一电子设备处于灭屏状态时,用户需要先对第一电子设备执行亮屏操作后,才能再进行音频输出方式的切换操作;而本实施方式所提供的方案,即使在第一电子设备处于灭屏的状态下,第一电子设备能够基于用户作用在无线耳机上的目标输入来进行音频输出方式的切换,有效地简化了用户的操作,也使得第一电子设备执行音频输出方式的切换流程更加方便快捷。
可选的,所述步骤202还可以包括:
在所述无线耳机的左耳机和右耳机中的任意一者处于非佩戴状态的情况下,在预设时长内接收用户作用于左耳机或右耳机上的目标输入。
也就是说,当用户取下左耳机或者右耳机,并在预设时长内接收到作用在左耳机或右耳机上的目标输入,则无线耳机向第一电子设备发送目标指令,以使得第一电子设备将所述音频的输出方式切换为通过扬声器输出。这样,也就能够避免左耳机或右耳机中的一者长期处于非佩戴状态时出现的误触发,进一步提高了第一电子设备进行音频输出方式切换操作的准确性。
进一步地,当第一电子设备响应于目标输入,将音频的输出方式切换为通过扬声器输出后,若左耳机和右耳机中的一者仍然处于非佩戴状态,且无线耳机又接收到用户作用在左耳机或者右耳机上的所述目标输入,则向第一电子设备发送第二目标指令,以使得第一电子设备基于所述第二目标指令将所述音频的输出方式切换为通过无线耳机输出。这样,无线耳机能够基于用户的目标输入,向第一电子设备发送不同的指令,使得第一电子设备能够实现音频输出方式在无线耳机与扬声器之间的来回切换,进一步提高了用户对于音频输出方式在切换操作上的便捷性。
需要说明的是,无线耳机的左耳机和右耳机上可以是设置有红外传感器、重力传感器等,以检测左耳机和右耳机的佩戴状态。具体的检测原理可以是参考相关技术,本发明实施例对此不做赘述。
请参见图3,图3是本发明实施例提供的一种电子设备的结构图,所述电子设备为第一电子设备,所述第一电子设备与第二电子设备无线连接。如图3所示,所述电子设备300包括:
输出模块301,用于显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;
接收模块302,用于接收针对所述音频信息的目标输入;
切换模块303,用于响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
可选的,所述切换模块303还用于:
响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,并显示第一目标控件,所述第一目标控件用于指示所述音频的输出方式由所述第一音频输出方式切换为所述第二音频输出方式。
可选的,所述切换模块303还用于:
在所述目标输入为第一滑动输入的情况下,响应于所述第一滑动输入,将所述音频的输出方式切换为第二音频输出方式;
所述电子设备300还包括:
控制模块,用于在所述目标输入为第二滑动输入的情况下,响应于所述第二滑动输入,控制所述音频的输出方式为所述第一音频输出方式;
其中,所述第二滑动输入的滑动轨迹与所述第一滑动输入的滑动轨迹至少部分重合。
可选的,所述目标输入为所述第二滑动输入,所述接收模块302还用于:
接收针对所述音频信息的第二滑动输入,并显示第二目标控件;所述第二目标控件用于指示所述音频的输出方式为所述第一音频输出方式。
可选的,所述第二电子设备为无线耳机,所述第一音频输出方式为通过所述无线耳机输出;所述接收模块302还用于:
接收作用于所述无线耳机的左耳机和右耳机中任意一者上的目标输入;其中,所述左耳机和所述右耳机中的至少一者处于非佩戴状态。
需要说明的是,电子设备300能够实现图1所述的音频输出方式的切换方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。
本实施例中,电子设备300为第一电子设备,第一电子设备在显示音频信息,并通过第一音频输出方式输出音频的情况下,若接收到针对所述音频信息的目标输入,则将所述音频的输出方式切换为第二音频输出方式,使得第一电子设备能够基于目标输入,将音频的输出方式切换为通过第一电子设备输出或者是切换为通过第二电子设备输出。这样,用户通过一次目标输入就能完成音频输出方式的切换,简化了用户操作,也使得电子设备300对于音频输出方式的切换操作更为简单、快速。
请参照图4,图4为实现本发明实施例的另一种电子设备的结构图,电子设备400能够实现图1所述的音频输出方式的切换方法实施例的各个过程,并能达到相同的技术效果。如图4所示,电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
本实施例中,显示单元406用于显示音频信息,音频输出单元403用于通过第一音频输出方式输出所述音频信息对应的音频;
用户输入单元407用于接收针对所述音频信息的目标输入;
处理器410用于响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
可选的,处理器410,还用于:
响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,并控制显示单元406显示第一目标控件,所述第一目标控件用于指示所述音频的输出方式由所述第一音频输出方式切换为所述第二音频输出方式。
可选的,处理器410,还用于:
在所述目标输入为第一滑动输入的情况下,响应于所述第一滑动输入,将所述音频的输出方式切换为第二音频输出方式;
在所述目标输入为第二滑动输入的情况下,响应于所述第二滑动输入,控制所述音频的输出方式为所述第一音频输出方式;
其中,所述第二滑动输入的滑动轨迹与所述第一滑动输入的滑动轨迹至少部分重合。
可选的,所述目标输入为所述第二滑动输入,用户输入单元407,还用于接收针对所述音频信息的第二滑动输入,显示单元406还用于显示第二目标控件;所述第二目标控件用于指示所述音频的输出方式为所述第一音频输出方式。
可选的,所述第二电子设备为无线耳机,所述第一音频输出方式为通过所述无线耳机输出;用户输入单元407还用于:
接收作用于所述无线耳机的左耳机和右耳机中任意一者上的目标输入;其中,所述左耳机和所述右耳机中的至少一者处于非佩戴状态。
本发明实施例中,电子设备400为第一电子设备,第一电子设备在显示音频信息,并通过第一音频输出方式输出音频的情况下,若接收到针对所述音频信息的目标输入,则将所述音频的输出方式切换为第二音频输出方式,使得第一电子设备能够基于目标输入,将音频的输出方式切换为通过第一电子设备输出或者是切换为通过第二电子设备输出。这样,用户通过一次目标输入就能完成音频输出方式的切换,简化了用户操作,也使得电子设备400对于音频输出方式的切换操作更为简单、快速。
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。
电子设备400通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041 对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图像或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它计算机可读存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。
电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4041的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4041,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4041。
用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备400的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐 标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板4071可覆盖在显示面板4041上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4041上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4041是作为两个独立的部件来实现电子设备400的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4041集成而实现电子设备400的输入和输出功能,具体此处不做限定。
接口单元408为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器410是电子设备400的控制中心,利用各种接口和线路连接整个电子设备400的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备400的各种功能和处理数据,从而对电子设备400进行整体监控。处理器410可包括一 个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。
电子设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备400包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述音频输出方式的切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述音频输出方式的切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光 盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (14)

  1. 一种音频输出方式的切换方法,应用于第一电子设备,所述第一电子设备与第二电子设备无线连接;其中,所述方法包括:
    显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;
    接收针对所述音频信息的目标输入;
    响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
    其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
  2. 根据权利要求1所述的方法,其中,所述响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,包括:
    响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,并显示第一目标控件,所述第一目标控件用于指示所述音频的输出方式由所述第一音频输出方式切换为所述第二音频输出方式。
  3. 根据权利要求1所述的方法,其中,所述响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,包括:
    在所述目标输入为第一滑动输入的情况下,响应于所述第一滑动输入,将所述音频的输出方式切换为第二音频输出方式;
    所述接收针对所述音频信息的目标输入之后,所述方法还包括:
    在所述目标输入为第二滑动输入的情况下,响应于所述第二滑动输入,控制所述音频的输出方式为所述第一音频输出方式;
    其中,所述第二滑动输入的滑动轨迹与所述第一滑动输入的滑动轨迹至少部分重合。
  4. 根据权利要求3所述的方法,其中,所述目标输入为所述第二滑动输入,所述接收针对所述音频信息的目标输入,包括:
    接收针对所述音频信息的第二滑动输入,并显示第二目标控件;所述第二目标控件用于指示所述音频的输出方式为所述第一音频输出方式。
  5. 根据权利要求1所述的方法,其中,所述第二电子设备为无线耳机, 所述第一音频输出方式为通过所述无线耳机输出;所述接收针对所述音频信息的目标输入,包括:
    接收作用于所述无线耳机的左耳机和右耳机中任意一者上的目标输入;其中,所述左耳机和所述右耳机中的至少一者处于非佩戴状态。
  6. 一种电子设备,所述电子设备为第一电子设备,所述第一电子设备与第二电子设备无线连接;其中,所述电子设备包括:
    输出模块,用于显示音频信息,并通过第一音频输出方式输出所述音频信息对应的音频;
    接收模块,用于接收针对所述音频信息的目标输入;
    切换模块,用于响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式;
    其中,所述第一音频输出方式为通过所述第一电子设备和所述第二电子设备中的一者输出,所述第二音频输出方式为通过所述第一电子设备和所述第二电子设备中的另一者输出。
  7. 根据权利要求6所述的电子设备,其中,所述切换模块还用于:
    响应于所述目标输入,将所述音频的输出方式切换为第二音频输出方式,并显示第一目标控件,所述第一目标控件用于指示所述音频的输出方式由所述第一音频输出方式切换为所述第二音频输出方式。
  8. 根据权利要求6所述的电子设备,其中,所述切换模块还用于:
    在所述目标输入为第一滑动输入的情况下,响应于所述第一滑动输入,将所述音频的输出方式切换为第二音频输出方式;
    所述电子设备还包括:
    控制模块,用于在所述目标输入为第二滑动输入的情况下,响应于所述第二滑动输入,控制所述音频的输出方式为所述第一音频输出方式;
    其中,所述第二滑动输入的滑动轨迹与所述第一滑动输入的滑动轨迹至少部分重合。
  9. 根据权利要求8所述的电子设备,其中,所述目标输入为所述第二滑动输入,所述接收模块还用于:
    接收针对所述音频信息的第二滑动输入,并显示第二目标控件;所述第 二目标控件用于指示所述音频的输出方式为所述第一音频输出方式。
  10. 根据权利要求6所述的电子设备,其中,所述第二电子设备为无线耳机,所述第一音频输出方式为通过所述无线耳机输出;所述接收模块还用于:
    接收作用于所述无线耳机的左耳机和右耳机中任意一者上的目标输入;其中,所述左耳机和所述右耳机中的至少一者处于非佩戴状态。
  11. 一种电子设备,其中,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的音频输出方式的切换方法的步骤。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的音频输出方式的切换方法的步骤。
  13. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的音频输出方式的切换方法。
  14. 一种电子设备,被配置成用于执行如权利要求1至5中任一项所述的音频输出方式的切换方法。
PCT/CN2021/086845 2020-04-16 2021-04-13 音频输出方式的切换方法及电子设备 WO2021208893A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP21789137.3A EP4138375A4 (en) 2020-04-16 2021-04-13 AUDIO OUTPUT MODE SWITCHING METHOD AND ELECTRONIC DEVICE
KR1020227039720A KR20230006494A (ko) 2020-04-16 2021-04-13 오디오 출력 모드의 전환 방법 및 전자 장비
JP2022562637A JP7526810B2 (ja) 2020-04-16 2021-04-13 オーディオ出力方式の切り替え方法及び電子機器
US17/966,764 US20230037238A1 (en) 2020-04-16 2022-10-14 Audio output mode switching method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010299922.2 2020-04-16
CN202010299922.2A CN111526248B (zh) 2020-04-16 2020-04-16 音频输出方式的切换方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/966,764 Continuation US20230037238A1 (en) 2020-04-16 2022-10-14 Audio output mode switching method and electronic device

Publications (1)

Publication Number Publication Date
WO2021208893A1 true WO2021208893A1 (zh) 2021-10-21

Family

ID=71910683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086845 WO2021208893A1 (zh) 2020-04-16 2021-04-13 音频输出方式的切换方法及电子设备

Country Status (6)

Country Link
US (1) US20230037238A1 (zh)
EP (1) EP4138375A4 (zh)
JP (1) JP7526810B2 (zh)
KR (1) KR20230006494A (zh)
CN (1) CN111526248B (zh)
WO (1) WO2021208893A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111208969A (zh) * 2020-01-03 2020-05-29 海信视像科技股份有限公司 一种声音输出设备的选择控制方法及显示设备
CN111526248B (zh) * 2020-04-16 2021-08-24 维沃移动通信有限公司 音频输出方式的切换方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110159925A1 (en) * 2006-06-02 2011-06-30 Sony Ericsson Mobile Communications Ab Audio output device selection for a portable electronic device
CN103593127A (zh) * 2013-11-25 2014-02-19 华为终端有限公司 音频输出设备的选择方法与终端
CN107426443A (zh) * 2017-09-22 2017-12-01 深圳市万普拉斯科技有限公司 音频输出切换方法、设备、移动终端以及计算机存储介质
CN107959903A (zh) * 2016-10-18 2018-04-24 中兴通讯股份有限公司 音频输出切换方法、反馈耳机佩戴状态方法、装置及耳机
CN111526248A (zh) * 2020-04-16 2020-08-11 维沃移动通信有限公司 音频输出方式的切换方法及电子设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012209766A (ja) * 2011-03-30 2012-10-25 Yamaha Corp コントローラー
JP6043545B2 (ja) 2012-08-24 2016-12-14 京セラ株式会社 携帯端末装置、プログラムおよび携帯端末装置の制御方法
CN104793991B (zh) * 2014-01-20 2019-11-05 腾讯科技(深圳)有限公司 一种音频输出设备切换方法及装置
US20170075468A1 (en) * 2014-03-28 2017-03-16 Spotify Ab System and method for playback of media content with support for force-sensitive touch input
CN104572008A (zh) * 2014-12-17 2015-04-29 惠州Tcl移动通信有限公司 一种目标内容输出方法及其终端
CN104935990B (zh) * 2015-06-01 2018-04-10 天脉聚源(北京)传媒科技有限公司 一种切换频道的控制方法及装置
WO2016196838A1 (en) 2015-06-05 2016-12-08 Apple Inc. Changing companion communication device behavior based on status of wearable device
CN105244048B (zh) 2015-09-25 2017-12-05 小米科技有限责任公司 音频播放控制方法和装置
US10601373B2 (en) * 2016-03-31 2020-03-24 Tymphany Hk Limited Booster circuit including dynamically sliding power supply unit
CN107479849A (zh) * 2017-06-28 2017-12-15 深圳天珑无线科技有限公司 一种移动设备、具有存储功能的装置及音频输出方法
CN109274828B (zh) * 2018-09-30 2021-01-15 华为技术有限公司 一种生成截图的方法、控制方法及电子设备
CN110995930B (zh) * 2019-12-06 2021-06-15 联想(北京)有限公司 音频设备控制方法、装置和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110159925A1 (en) * 2006-06-02 2011-06-30 Sony Ericsson Mobile Communications Ab Audio output device selection for a portable electronic device
CN103593127A (zh) * 2013-11-25 2014-02-19 华为终端有限公司 音频输出设备的选择方法与终端
CN107959903A (zh) * 2016-10-18 2018-04-24 中兴通讯股份有限公司 音频输出切换方法、反馈耳机佩戴状态方法、装置及耳机
CN107426443A (zh) * 2017-09-22 2017-12-01 深圳市万普拉斯科技有限公司 音频输出切换方法、设备、移动终端以及计算机存储介质
CN111526248A (zh) * 2020-04-16 2020-08-11 维沃移动通信有限公司 音频输出方式的切换方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4138375A4 *

Also Published As

Publication number Publication date
EP4138375A1 (en) 2023-02-22
KR20230006494A (ko) 2023-01-10
JP2023521882A (ja) 2023-05-25
JP7526810B2 (ja) 2024-08-01
CN111526248A (zh) 2020-08-11
US20230037238A1 (en) 2023-02-02
EP4138375A4 (en) 2023-10-25
CN111526248B (zh) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
WO2021204045A1 (zh) 音频的控制方法及电子设备
WO2019228163A1 (zh) 扬声器控制方法及移动终端
WO2021104230A1 (zh) 同步方法及电子设备
EP3691235A1 (en) Display method and mobile terminal
WO2021068885A1 (zh) 控制方法及电子设备
WO2019201271A1 (zh) 通话处理方法及移动终端
WO2021129529A1 (zh) 设备切换方法及相关设备
WO2020186964A1 (zh) 音频信号的输出方法及终端设备
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
WO2019223569A1 (zh) 信息处理方法及移动终端
WO2021104251A1 (zh) 控制方法及第一电子设备
WO2020199986A1 (zh) 视频通话方法及终端设备
WO2020238445A1 (zh) 屏幕录制方法及终端
JP2021536077A (ja) 情報処理方法および端末
WO2020024770A1 (zh) 确定通讯对象的方法及移动终端
CN108446156B (zh) 一种应用程序控制方法及终端
WO2020220990A1 (zh) 受话器控制方法及终端
WO2021136141A1 (zh) 播放方法及电子设备
US11989330B2 (en) Permission management method and terminal device
WO2021037074A1 (zh) 音频输出方法及电子设备
WO2021129835A1 (zh) 音量控制方法、设备及计算机可读存储介质
US20230037238A1 (en) Audio output mode switching method and electronic device
WO2021104232A1 (zh) 显示方法及电子设备
WO2021208889A1 (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: 21789137

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022562637

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20227039720

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021789137

Country of ref document: EP

Effective date: 20221116