WO2020118496A1 - Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique - Google Patents

Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique Download PDF

Info

Publication number
WO2020118496A1
WO2020118496A1 PCT/CN2018/120139 CN2018120139W WO2020118496A1 WO 2020118496 A1 WO2020118496 A1 WO 2020118496A1 CN 2018120139 W CN2018120139 W CN 2018120139W WO 2020118496 A1 WO2020118496 A1 WO 2020118496A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio path
audio
path switching
satisfied
condition
Prior art date
Application number
PCT/CN2018/120139
Other languages
English (en)
Chinese (zh)
Inventor
李亚军
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201880098670.8A priority Critical patent/CN112997471B/zh
Priority to PCT/CN2018/120139 priority patent/WO2020118496A1/fr
Publication of WO2020118496A1 publication Critical patent/WO2020118496A1/fr

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 technical field of electronic equipment, and in particular, to an audio path switching method and apparatus, a readable storage medium, and electronic equipment.
  • the switching of the wireless headset and other audio channels is triggered due to misoperation or abnormal conditions, which disconnects the wireless headset and connects the other audio channels. This not only interrupts the user's ongoing audio output, but also requires the user to re-operate to restore the connection of the wireless headset, causing a lot of trouble to the user.
  • the main reason for this problem is that the traditional technology of wireless headphones and other audio path switching methods are not smart enough.
  • Embodiments of the present application provide an audio path switching method and device, a computer-readable storage medium, and electronic equipment, which can effectively prevent audio path switching errors caused by misoperation or system abnormality, thereby preventing the use of speakers in unsuitable scenarios
  • the audio data is output through the earphone channel or the like, which improves the intelligence of the electronic device when the audio channel is switched.
  • An audio path switching method is applied to electronic equipment.
  • the method includes:
  • the audio path switching instruction refers to an instruction to switch the wireless headphone path to an audio path other than the wireless headphone audio path
  • An audio path switching device is applied to electronic equipment.
  • the device includes:
  • a receiving module configured to receive an audio path switching instruction, wherein the audio path switching instruction refers to an instruction to switch the wireless headset path to an audio path other than the wireless headset;
  • the judgment module is used to judge whether the audio path switching condition is satisfied
  • the execution module is used to convert the wireless headphone audio path to the other audio path for audio output when the audio path switching condition is met; when the audio path switching condition is not met, maintain the wireless headphone audio path for audio output .
  • An electronic device includes a memory and a processor.
  • Computer-readable instructions are stored in the memory.
  • the processor causes the processor to perform the above audio path switching method.
  • the above audio path switching method and apparatus, computer readable storage medium, and electronic equipment after receiving the audio path switching instruction, determine whether the audio path switching condition is satisfied, and if the audio path switching condition is met, the wireless headset audio path is converted to all The other audio channels are used for audio output; if the audio channel switching conditions are not met, the wireless headset audio channel is maintained for audio output.
  • the audio path switching method and apparatus, computer readable storage medium, and electronic device provided by the present application do not directly perform audio path switching, but instead perform audio path switching according to preset conditions Judgment effectively prevents switching errors caused by misoperation or system abnormality, and thus prevents the use of speakers or earphone channels to output audio data in unsuitable scenarios, and improves the intelligence of the electronic device when switching audio channels.
  • FIG. 1 is a schematic diagram of the internal structure of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an audio path switching method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for judging whether an audio path switching condition is satisfied according to an audio path setting parameter provided by an embodiment of this application;
  • FIG. 4 is a schematic flowchart of a method for judging whether an audio path switching condition is satisfied according to wireless headset status data according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of a method for judging whether an audio path switching condition is satisfied according to user usage scene data provided by an embodiment of this application;
  • FIG. 6 is a schematic flowchart of an audio path switching method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a framework of an audio path switching device provided by an embodiment of this application.
  • FIG. 8 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application.
  • FIG. 1 a schematic diagram of an internal structure of an electronic device is provided.
  • the electronic device includes a processor, memory, and display screen connected by a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
  • the memory is used to store data, programs, and/or instruction codes, etc. At least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the audio path switching method for electronic devices provided in the embodiments of the present application .
  • the memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random-access memory (Random-Access-Memory, RAM).
  • the memory includes a non-volatile storage medium and internal memory.
  • the non-volatile storage medium stores the operating system, database, and computer program.
  • the database stores data related to an audio path switching method provided by the above embodiments, for example, information such as the name of each process or application may be stored.
  • the computer program may be executed by the processor to implement an audio path switching method provided by various embodiments of the present application.
  • the internal memory provides a cached operating environment for operating systems, databases, and computer programs in non-volatile storage media.
  • the display screen may be a touch screen, such as a capacitive screen or an electronic screen, which is used to display interface information of applications corresponding to the foreground process, and may also be used to detect a touch operation acting on the display screen, and generate corresponding instructions, such as performing front and background Application switching instructions, etc.
  • the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied.
  • the specific electronic device may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
  • the electronic device further includes a network interface connected through a system bus.
  • the network interface may be an Ethernet card or a wireless network card, etc., and is used to communicate with external electronic devices, for example, it may be used to communicate with a server.
  • an embodiment of the present application provides an audio path switching method.
  • the audio path switching method is applied to an electronic device having a wireless earphone audio path.
  • the wireless headset may be a Bluetooth headset or an infrared headset.
  • the audio path switching method provided in the embodiments of the present application is mainly used when a wireless earphone path is used for audio output.
  • the audio path switching is controlled to prevent misoperation or system abnormality When switching the wireless headset channel to another channel.
  • the electronic device may be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a mobile Internet device (Mobile Internet Device (MID)), a wearable device (such as a smart watch, smart bracelet, pedometer, etc.) ) Or other electronic devices with multiple audio channels such as an audio channel for headphones.
  • a mobile Internet device Mobile Internet Device (MID)
  • MID Mobile Internet Device
  • a wearable device such as a smart watch, smart bracelet, pedometer, etc.
  • other electronic devices with multiple audio channels such as an audio channel for headphones.
  • an audio path switching method is applied to an electronic device, and the method includes S10-S40:
  • the audio channel refers to a channel through which audio data is output.
  • the audio channel may include an earphone channel, a speaker channel, a wireless earphone channel, a wired earphone channel, and the like.
  • audio data is sent from the receiver;
  • audio channel is a speaker channel, audio data is sent from an external speaker;
  • audio channel is a wireless headset channel, audio data can be sent through a wired headset ;
  • audio channel is a wired headset channel, audio data can be sent through the wired headset.
  • the audio path switching instruction refers to switching the wireless headphone path to the earphone path, the speaker path, or the wired headphone path.
  • the audio path switching instruction may be a switching instruction input by a user, or may be a switching instruction output by the electronic device according to a preset automatic switching rule.
  • the electronic device After receiving the audio path switching instruction, the electronic device determines whether the current condition meets the audio path switching condition according to a preset judgment rule, thereby determining whether to switch the audio path.
  • the preset judgment rule may be set according to actual needs, and this application is not limited.
  • the preset judgment rule may be set according to the surrounding environment, the user's settings, or the user's habits.
  • the electronic device executes the audio path switching instruction to convert the currently used audio output path from the wireless headset audio path to the other audio path.
  • the electronic device does not execute the audio path switching instruction and keeps the wireless headset audio path to continue audio output.
  • the method determines whether the audio path switching condition is satisfied, and if the audio path switching condition is met, the wireless headset audio path is converted into the other audio path for audio output; if If the audio path switching condition is not satisfied, the wireless earphone audio path is maintained for audio output.
  • the method provided by the embodiment of the present application does not directly switch the audio path after receiving the instruction to switch the audio path, but judges whether to switch the audio path according to a preset condition, which effectively prevents misoperation or Switching errors caused by system anomalies, thereby preventing the use of speakers or earphone channels to output audio data in unsuitable scenarios, and improving the intelligence of the electronic device when switching audio channels.
  • S20 includes:
  • S210 Determine whether the audio path switching condition is satisfied according to the audio path setting parameters.
  • the audio channel setting parameter refers to a parameter about audio channel switching preset by the user.
  • the audio channel setting parameter is used to characterize a fixed selection or a preferential selection of the user when the audio channel is switched.
  • the audio path setting parameters may include but are not limited to: 1) fixedly output audio data through wireless headphones; 2) when the wireless headphones are disconnected, the speaker output is preferred; 3) when the wireless headphones are disconnected, the earpiece is preferred Output etc.
  • S210 specifically includes:
  • the fixed earphone connection parameter refers to a parameter in the audio path setting parameter that characterizes the user's fixed setting for audio output through a wireless earphone.
  • the electronic device may display the selection items to the user through the system setting interface or through the setting interface of the audio data program to collect and obtain the audio path setting parameters.
  • the electronic device filters the audio path setting parameters. If the audio path setting parameters include the fixed headphone connection parameters, it means that the user only considers audio output through wireless headphones, and the audio path switching condition is not satisfied.
  • the electronic device maintains the current wireless earphone channel for audio output. If the fixed channel connection parameters are not included in the audio channel setting parameters, it means that the user may consider outputting through channels other than the wireless headset channel. Satisfying the audio path switching condition, the electronic device performs audio path switching according to the audio path switching instruction.
  • the accuracy of the audio path switching judgment is improved, and the intelligence of the audio path switching is further improved .
  • S20 includes:
  • S220 Determine whether the audio path switching condition is satisfied according to the wireless headset status data.
  • the wireless headset condition data refers to parameters that characterize the working condition and audio output capability of the wireless headset.
  • the wireless headset condition data includes wireless headset power data.
  • the wireless headset condition data includes wireless headset signal data. It can be understood that judging whether the audio path switching condition is satisfied by the wireless earphone condition data can be judged by one parameter, or by multiple parameters at the same time.
  • S220 specifically includes:
  • the first preset threshold may be set according to actual needs.
  • the first preset threshold is the low power threshold of the wireless headset.
  • the wireless headset condition data is the wireless headset signal data
  • the first preset threshold is the low signal threshold of the wireless headset.
  • Audio channel switching is required.
  • the electronic device executes the audio path switching instruction to switch the current audio output path from the wireless headset audio path to the other audio output path.
  • the wireless headphone status data is used to determine whether the audio path switching condition is satisfied, and the working condition of the wireless headphone is fully considered to avoid passing the wireless headphone when the wireless headphone cannot meet the audio output requirements.
  • the audio output of the channel further improves the intelligence of audio channel switching, thereby improving the user experience.
  • S20 includes:
  • S230 Determine whether the audio path switching condition is satisfied according to the user's use scene data.
  • the user usage scene data refers to data that characterizes the user's current environment and scene of using the electronic device.
  • the user usage scene data may represent that the current user is in a conference scene, a rest scene or an outdoor scene, and so on.
  • the user usage scene data may include ambient noise volume data and time data.
  • the environmental noise volume data is used to characterize the amount of noise in the environment in which the electronic device is currently located.
  • the environmental noise volume data may be collected by sensors such as a microphone provided in the electronic device.
  • the environmental noise volume data can also be obtained through a server or the like.
  • the time data refers to what time the current time is.
  • the time data may be obtained through a network, or may be obtained through a time module of the electronic device. It can be understood that, according to different requirements, the user usage scene data may also include other data characterizing the surrounding environment, which is not specifically limited in this application.
  • the electronic device determines whether the current situation satisfies the audio path switching condition according to the user usage scene data and a preset judgment criterion.
  • S230 specifically includes:
  • the preset condition may be set differently according to the user's usage scene data, and this application does not specifically limit it. If the scene data used by the user satisfies the preset condition, it means that the environment and scene in which the current user is suitable for switching the wireless headset audio path to the other audio path. The electronic device performs audio path switching according to the audio path switching instruction. If the user usage scene data does not satisfy the preset condition, it means that the environment and scene in which the current user is located is not suitable for switching the wireless headset audio path to the other audio path. The electronic device continues to maintain the wireless headset channel for audio data output. In this embodiment, the user uses the scene data to determine whether the audio path switching conditions are met, to prevent erroneous switching in unsuitable scenes or environments, and to further improve the intelligence of audio path switching.
  • the user usage scene data includes ambient noise volume data.
  • the determination whether the audio path switching condition is satisfied is specifically:
  • the audio path switching condition is satisfied.
  • the second preset threshold and the third preset threshold may be set according to actual needs.
  • the ambient noise volume data is less than or equal to the second preset threshold value, it indicates that the surrounding environment is relatively quiet and is not suitable for switching the wireless earphone audio path to the other audio path.
  • the audio path switching condition is not satisfied.
  • the ambient noise volume data is greater than or equal to the third preset threshold, it indicates that the surrounding environment is noisy, and switching the wireless headset channel to the other audio channel may cause inaudible audio.
  • the audio path switching condition is not satisfied.
  • the ambient noise volume data is greater than the second preset threshold and less than the third preset threshold, the audio path switching condition is satisfied.
  • the surrounding environment or scene in which the electronic device is currently located is determined through the environmental noise volume data, and whether to switch the wireless headset audio path to the other audio path is determined according to different surrounding environments or scenes
  • the method provided in this embodiment further improves the intelligence of audio path switching and improves the user experience.
  • the surrounding environment data includes time data.
  • the condition for satisfying the audio path switching is specifically:
  • the audio path switching condition is satisfied.
  • the preset range can be set according to actual needs, or can be set and selected by the user.
  • the time data of the preset range characterizes a time period suitable for switching the wireless headset audio path to the other audio path.
  • the preset range may be: non-night time periods of 7:00-20:00, or non-lunch breaks and non-night time periods of 7:00-12:00 and 14:00-20:00. If the current time is within the preset time period, the current condition satisfies the audio path switching condition. On the contrary, the current situation does not satisfy the audio path switching conditions.
  • the surrounding environment in which the electronic device is currently located is judged by the time data, and the audio data is processed differently according to different surrounding environments, to prevent unsuitability to pass through the speaker or at night or during break time Earphones and other audio channels play audio data.
  • the method provided in this embodiment further improves the intelligence of audio path switching and improves the user experience.
  • the method further includes:
  • the electronic device may output the user prompt information through voice output, or may output the user prompt information through text display.
  • the user prompt information prompts the user that the current switching result of the audio channel. It can be understood that the user prompt information may also include information that can be selected by the user, for example, confirming switching, refusing switching, and so on. If the user chooses to refuse to switch, the electronic device switches the other audio path to the wireless headset audio path. In this embodiment, by outputting user prompt information, the intelligence of audio switching is further improved, and the human-computer interaction capability is improved.
  • an embodiment of the present application provides an audio path switching device 10, which is applied to an electronic device.
  • the device includes: a receiving module 100, a determining module 200, and an executing module 300. among them,
  • the receiving module 100 is configured to receive an audio path switching instruction, wherein the audio path switching instruction refers to an instruction to switch the wireless headset path to an audio path other than the wireless headset;
  • the judgment module 200 is used to judge whether the audio path switching condition is satisfied
  • the execution module 300 is configured to convert the wireless headphone audio path to the other audio path for audio output when the audio path switching condition is satisfied; to maintain the wireless headset audio path when the audio path switching condition is not satisfied Perform audio output.
  • the audio path switching device 10 receives the audio path switching instruction through the receiving module 100, and determines whether the audio path switching condition is satisfied through the judgment module 200, and when the execution module 300 meets the audio path switching condition , Converting the wireless headphone audio path to the other audio path for audio output; if the audio path switching condition is not satisfied, keep the wireless headphone audio path for audio output.
  • the audio path switching device 10 After receiving the audio path switching instruction, the audio path switching device 10 provided in the embodiment of the present application does not directly perform audio path switching, but judges whether to perform audio path switching according to preset conditions, which effectively prevents Switching errors caused by misoperations or system abnormalities, thereby preventing the use of speakers or earphone channels to output audio data in unsuitable scenes, improves the intelligence of the audio channel switching device 10 when switching audio channels.
  • the judgment module 200 includes an audio path setting parameter judgment unit.
  • the audio channel setting parameter judgment unit is used to judge whether the audio channel switching condition is satisfied according to the audio channel setting parameter.
  • the audio channel setting parameter judgment unit includes an audio channel setting parameter acquisition subunit and an audio channel setting parameter judgment subunit.
  • the audio channel setting parameter obtaining subunit is used to obtain the audio channel setting parameter.
  • the audio path setting parameter judgment subunit is configured to determine that the audio path switching condition is satisfied when the audio path setting parameter does not include the fixed headphone connection parameter; otherwise, determine that the audio path switching condition is not satisfied.
  • the judgment module 200 further includes a wireless headset condition data judgment unit.
  • the wireless headset condition data judgment unit is used to determine whether the audio path switching condition is satisfied according to the wireless headset condition data.
  • the wireless headset condition data judgment unit includes a wireless headset condition data acquisition subunit and a wireless headset condition data judgment subunit.
  • the wireless headset condition data acquisition subunit is used to acquire the wireless headset condition data.
  • the wireless headset condition data judgment subunit is configured to determine that the audio path switching condition is satisfied when the wireless headset condition data is less than the first preset threshold; otherwise, determine that the audio path switching condition is not satisfied.
  • the wireless headset condition data includes: wireless headset power data.
  • the wireless headset condition data includes: wireless headset signal data.
  • the judgment module 200 further includes a user usage scene data judgment unit.
  • the user usage scene data judgment unit is used to judge whether the audio path switching condition is satisfied according to the user usage scene data.
  • the user usage scene data judgment unit includes a user usage scene data acquisition subunit and a user usage scene data judgment subunit.
  • the user usage scene data obtaining subunit is used to obtain the user usage scene data.
  • the user usage scene data determination subunit is configured to determine that the audio path switching condition is satisfied when the user use scene data satisfies the preset condition; otherwise, determine that the audio path switching condition is not satisfied.
  • the user usage scene data includes environmental noise volume data
  • the user usage scene data judgment subunit is used when the environmental noise volume data is greater than a second preset threshold and less than a third preset threshold, It is determined that the audio path switching condition is satisfied.
  • the surrounding environment data includes time data
  • the user usage scene data judgment subunit is configured to judge that the audio path switching condition is satisfied when the time data is within a preset range.
  • the audio path switching device 10 further includes a prompt module.
  • the prompt module is used to output user prompt information to prompt the user to switch the current audio path.
  • each module in the above audio path switching device 10 is for illustration only. In other embodiments, the audio path switching device 10 may be divided into different modules as needed to complete all of the above audio path switching device 10 Or some functions.
  • Each module in the audio path switching device 10 may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the electronic device, or may be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, cause the processor to perform the following steps of the audio path switching method:
  • the audio path switching instruction refers to an instruction to switch the wireless headphone path to an audio path other than the wireless headphone audio path
  • one or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, may also cause the processor to perform any of the foregoing implementations Example audio channel switching method.
  • the computer-readable storage medium provided by the foregoing embodiments has similar implementation principles and technical effects to the foregoing method embodiments, and will not be repeated here.
  • An embodiment of the present application also provides an electronic device. As shown in FIG. 8, for ease of description, only parts related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method part of the embodiments of the present application.
  • the electronic device may be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, wearable device, etc. that has a voice call function and has a speaker , Taking an electronic device as a mobile phone as an example:
  • the mobile phone 1000 includes: a radio frequency (Radio Frequency) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, a processor 1080, and power supply 1090 and other components.
  • a radio frequency (Radio Frequency) circuit 1010 for detecting radio frequency (Radio Frequency)
  • a memory 1020 includes a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, a processor 1080, and power supply 1090 and other components.
  • WiFi wireless fidelity
  • FIG. 8 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of certain components, or a different component arrangement.
  • the RF circuit 1010 can be used to receive and send signals during sending and receiving information or during a call. It can receive the downlink information of the base station and process it to the processor 1080; it can also send uplink data to the base station.
  • RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on.
  • the RF circuit 1010 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Message Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Message Service
  • the memory 1020 may be used to store software programs and modules.
  • the processor 1080 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and at least one function-required application program (such as a sound playback function application program, an image playback function application program, etc.), etc.;
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • the memory 1020 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 input unit 1030 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile phone 1000.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also known as a touch screen, can collect user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc. on or near the touch panel 1031 Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1031 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 1080, and can receive the commands sent by the processor 1080 and execute them.
  • the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
  • the display unit 1040 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 1040 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • the touch panel 1031 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation on or near it, it is transmitted to the processor 1080 to determine the type of touch event, and then the processor 1080 according to The type of touch event provides a corresponding visual output on the display panel 1041.
  • the touch panel 1031 and the display panel 1041 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to Realize the input and output functions of the mobile phone.
  • the mobile phone 1000 may further include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone moves to the ear Or backlight.
  • the motion sensor may include an acceleration sensor, which can detect the magnitude of acceleration in various directions through the acceleration sensor, and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, percussion), etc.
  • the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor and so on.
  • the audio circuit 1060, the speaker 1061, and the microphone 1062 may provide an audio interface between the user and the mobile phone.
  • the audio circuit 1060 can transmit the received audio data converted electrical signal to the speaker 1061, which converts the speaker 1061 into a sound signal output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 1060 After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, and then sent to another mobile phone through the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
  • WiFi is a short-range wireless transmission technology. Mobile phones can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1070. It provides users with wireless broadband Internet access.
  • FIG. 8 shows the WiFi module 1070, it can be understood that it is not a necessary component of the mobile phone 1000, and may be omitted as needed.
  • the processor 1080 is the control center of the mobile phone, and uses various interfaces and lines to connect the various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 1020, and calling the data stored in the memory 1020 to execute Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
  • the processor 1080 may include one or more processing units.
  • the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1080.
  • the mobile phone 1000 further includes a power supply 1090 (such as a battery) for powering various components.
  • a power supply 1090 (such as a battery) for powering various components.
  • the power supply can be logically connected to the processor 1080 through a power management system, so as to realize functions such as charging, discharging, and power management through the power management system.
  • the mobile phone 1000 may further include a camera, a Bluetooth module, and the like.
  • the processor 1080 included in the electronic device implements the following steps when executing the computer program stored in the memory:
  • the audio path switching instruction refers to an instruction to switch the wireless headphone path to an audio path other than the wireless headphone audio path
  • an electronic device includes a memory and a processor.
  • the memory stores computer-readable instructions.
  • the processor is caused to execute any of the foregoing embodiments. Steps of the audio processing method.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR) SDRAM, enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

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

Abstract

L'invention concerne un procédé et un dispositif de commutation de trajet audio, un support de stockage lisible par ordinateur et un équipement électronique, le procédé de commutation de trajet audio est appliqué à un équipement électronique comprenant une pluralité de trajets audio, et le procédé de commutation de trajet audio comprend les étapes suivantes : recevoir une instruction de commutation de trajet audio, l'instruction de commutation de trajet audio se référant à une instruction pour commuter un trajet d'écouteur sans fil vers un autre trajet audio autre que le trajet audio d'écouteur sans fil ; déterminer s'il faut satisfaire la condition de commutation de trajet audio ; si tel est le cas, commuter le trajet audio d'écouteur sans fil vers l'autre trajet audio pour une sortie audio ; si tel n'est pas le cas, maintenir le trajet audio d'écouteur sans fil pour une sortie audio.
PCT/CN2018/120139 2018-12-10 2018-12-10 Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique WO2020118496A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880098670.8A CN112997471B (zh) 2018-12-10 2018-12-10 音频通路切换方法和装置、可读存储介质、电子设备
PCT/CN2018/120139 WO2020118496A1 (fr) 2018-12-10 2018-12-10 Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/120139 WO2020118496A1 (fr) 2018-12-10 2018-12-10 Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique

Publications (1)

Publication Number Publication Date
WO2020118496A1 true WO2020118496A1 (fr) 2020-06-18

Family

ID=71076184

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120139 WO2020118496A1 (fr) 2018-12-10 2018-12-10 Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique

Country Status (2)

Country Link
CN (1) CN112997471B (fr)
WO (1) WO2020118496A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437339A (zh) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 音频输出控制方法及装置、智能电视机、存储介质
CN112925502A (zh) * 2021-02-10 2021-06-08 歌尔科技有限公司 一种音频通路切换设备、方法、装置及电子设备
CN117707462A (zh) * 2023-05-16 2024-03-15 荣耀终端有限公司 一种音频数据处理方法、电子设备及介质
US12075220B2 (en) 2020-06-22 2024-08-27 Apple Inc. Smart routing for audio output devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867657A (zh) * 2010-06-24 2010-10-20 中兴通讯股份有限公司 一种手机上切换音频输出设备的方法及装置
CN105072274A (zh) * 2015-08-12 2015-11-18 广东欧珀移动通信有限公司 音频通道动态切换方法及系统
US20170156005A1 (en) * 2014-06-30 2017-06-01 Zte Corporation Method and Apparatus for Selecting Main Microphone
CN108683798A (zh) * 2018-04-19 2018-10-19 维沃移动通信有限公司 一种声音输出控制方法及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803857A (zh) * 2017-01-13 2017-06-06 维沃移动通信有限公司 一种基于骨传导扬声器的音频传输方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867657A (zh) * 2010-06-24 2010-10-20 中兴通讯股份有限公司 一种手机上切换音频输出设备的方法及装置
US20170156005A1 (en) * 2014-06-30 2017-06-01 Zte Corporation Method and Apparatus for Selecting Main Microphone
CN105072274A (zh) * 2015-08-12 2015-11-18 广东欧珀移动通信有限公司 音频通道动态切换方法及系统
CN108683798A (zh) * 2018-04-19 2018-10-19 维沃移动通信有限公司 一种声音输出控制方法及移动终端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12075220B2 (en) 2020-06-22 2024-08-27 Apple Inc. Smart routing for audio output devices
CN112437339A (zh) * 2020-11-10 2021-03-02 深圳Tcl新技术有限公司 音频输出控制方法及装置、智能电视机、存储介质
CN112925502A (zh) * 2021-02-10 2021-06-08 歌尔科技有限公司 一种音频通路切换设备、方法、装置及电子设备
CN112925502B (zh) * 2021-02-10 2022-07-08 歌尔科技有限公司 一种音频通路切换设备、方法、装置及电子设备
CN117707462A (zh) * 2023-05-16 2024-03-15 荣耀终端有限公司 一种音频数据处理方法、电子设备及介质

Also Published As

Publication number Publication date
CN112997471A (zh) 2021-06-18
CN112997471B (zh) 2022-07-12

Similar Documents

Publication Publication Date Title
US11043980B2 (en) Method for controlling earphone switching, earphone, and earphone system
US11102697B2 (en) Method for controlling earphone switching and earphone
WO2020118496A1 (fr) Procédé et dispositif de commutation de trajet audio, support de stockage lisible et équipement électronique
CN112997470B (zh) 音频输出控制方法和装置、计算机可读存储介质、电子设备
CN108391205B (zh) 左右声道切换方法和装置、可读存储介质、终端
CN107231473B (zh) 一种音频输出调控方法、设备及计算机可读存储介质
CN109062535B (zh) 发声控制方法、装置、电子装置及计算机可读介质
CN108541080B (zh) 第一电子设备与第二电子设备进行回连的方法及相关产品
CN103618514A (zh) 音量调节方法、装置和电子设备
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
CN108958695B (zh) 音频输出方法、装置及计算机可读存储介质
WO2021129835A1 (fr) Procédé et dispositif de commande de volume et support de stockage lisible par ordinateur
CN106445457A (zh) 一种耳机声道切换方法与装置
WO2020097927A1 (fr) Procédé et dispositif de commande d'appel, support de stockage lisible par ordinateur et dispositif électronique
CN107734153B (zh) 一种通话控制方法、终端及计算机可读存储介质
WO2020113525A1 (fr) Procédé et appareil de commande de lecture, ainsi que support de stockage lisible par ordinateur et dispositif électronique
WO2020124541A1 (fr) Procédé et appareil de traitement audio, support de stockage lisible par ordinateur, et dispositif électronique
US20210286588A1 (en) Method and apparatus for playing alarm and electronic device
CN115037831B (zh) 一种模式控制方法、装置、电子设备及耳机
CN106210951A (zh) 一种蓝牙耳机的适配方法、装置和终端
WO2020103073A1 (fr) Procédé et dispositif de traitement de ressources audio, support d'informations lisible par ordinateur et dispositif électronique
CN109618062B (zh) 语音交互方法、装置、设备以及计算机可读存储介质
CN113168302A (zh) 一种音频模式校正的方法、装置及电子设备
CN112771495B (zh) 一种音频模式调节的方法、装置及电子设备
WO2020102982A1 (fr) Procédé de traitement d'appel, support de stockage lisible par ordinateur et dispositif électronique

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: 18943098

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: 18943098

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/10/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18943098

Country of ref document: EP

Kind code of ref document: A1