WO2021204045A1 - 音频的控制方法及电子设备 - Google Patents
音频的控制方法及电子设备 Download PDFInfo
- Publication number
- WO2021204045A1 WO2021204045A1 PCT/CN2021/084437 CN2021084437W WO2021204045A1 WO 2021204045 A1 WO2021204045 A1 WO 2021204045A1 CN 2021084437 W CN2021084437 W CN 2021084437W WO 2021204045 A1 WO2021204045 A1 WO 2021204045A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- audio output
- output mode
- application
- target
- audio
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000004044 response Effects 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000739 chaotic effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Definitions
- the present invention relates to the field of communication technology, in particular to an audio control method and electronic equipment.
- the embodiments of the present invention provide an audio control method and an electronic device to solve the problem of poor control flexibility for output audio when the existing electronic device runs two or more audio application programs at the same time.
- the present invention is implemented as follows:
- an embodiment of the present invention provides an audio control method, which is applied to a first electronic device, and the audio control method includes:
- the first application and the second application are running, the first input for the target control is received; wherein the target control is associated with the target application, and the target application is the first application or the Said second application;
- the audio output mode of the target application is adjusted to the first audio output mode or the second audio output mode; wherein the first audio output mode is different from the second audio output mode
- the output device is different.
- an embodiment of the present invention also provides an electronic device, the electronic device is a first electronic device, and the electronic device includes:
- the receiving module is configured to receive the first input for the target control when the first application and the second application are running; wherein, the target control is associated with the target application, and the target application is the first An application program or the second application program;
- the control module is configured to adjust the audio output mode of the target application to the first audio output mode or the second audio output mode in response to the first input; wherein, the first audio output mode is the same as the second audio output mode.
- the output device of the second audio output mode is different.
- 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. When executed, the steps of the audio control method as described in the first aspect are realized.
- an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the steps of the audio control method as described in the first aspect are implemented. .
- the embodiments of the present invention also provide a computer software product, the computer software product is stored in a non-volatile storage medium, and the software product is configured to be executed by at least one processor to achieve the following The steps of the audio control method described in one aspect.
- an embodiment of the present invention also provides an electronic device configured to execute the audio control method as described in the first aspect.
- the electronic device receives the first input for the target control when the first application and the second application are running, and responds to the first input to respond to the audio of the target application.
- the output mode is adjusted; wherein, the target application is the first application or the second application.
- the target control can only control the audio output mode of the application associated with it, thereby avoiding the chaotic and noisy output sound caused by unified regulation, making the electronic device more flexible in controlling the audio output mode of the application, and bringing users To have a better experience.
- Figure 1 is a flowchart of an audio control method provided by an embodiment of the present invention
- FIG. 2 is a schematic diagram of a display interface of an electronic device applying the audio control method provided in FIG. 1;
- 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.
- the embodiment of the present invention provides an audio control method, which is applied to a first electronic device.
- the first electronic device is not specifically referred to, and is the first electronic device in the application scenario of the embodiment of the present invention, and may also be the second electronic device in other application scenarios.
- the first electronic device described in the embodiment of the present invention refers to an electronic product capable of outputting audio, such as a mobile phone, a tablet computer, a vehicle-mounted computer, a smart TV, a wearable device, and the like.
- FIG. 1 is a flowchart of an audio control method provided by an embodiment of the present invention. As shown in FIG. 1, the audio control method includes the following steps:
- Step 101 When the first application and the second application are running, receive a first input for a target control; wherein the target control is associated with a target application, and the target application is the first application Program or the second application program.
- the first electronic device when the first electronic device is running the first application and the second application at the same time, the user's first input for the target control is received.
- the first electronic device may run the first application and the second application in the background.
- the display interface of the first electronic device displays the running interface of the third application, but the first application and the second application
- the application program is also in the running state; or, the first electronic device can also display the running interface of the first application program and the running interface of the second application program at the same time.
- the running interface S1 of the first application and the running interface S2 of the second application can be displayed on the same display interface; or, if the first electronic device is a folding screen or a double-sided screen, it can be on the first display screen
- the running interface of the first application program is displayed on the upper, and the running interface of the second application program is displayed on the second display screen.
- the target control may refer to a virtual key capable of performing a preset operation function or a physical key set on the first electronic device.
- the target control S3 is a box-shaped virtual button displayed on the display screen of the first electronic device.
- the target control is used to control the output audio of the application, and the target control is movable.
- physical keys provided on the first electronic device may also be used as target controls, such as volume up and down keys provided on the first electronic device, keys for moving up and down, left and right, and so on.
- the number of the target controls may correspond to the number of the running interface of the application displayed on the display screen of the first electronic device.
- the first electronic device displays the running interface of the first application and the second application.
- an associated target control is displayed on the running interface of the first application, and an associated target control is also displayed on the running interface of the second application; in this case, The user can individually control the output audio of the associated application through the target control.
- the step 101 may include:
- the user can determine the target application to be controlled by moving the target control.
- the target control S3 is displayed on the running interface S1 of the first application. If a second input from the user moving the target control S3 to the running interface S2 of the second application is received, the second application is connected to the running interface S2 of the second application. The target control S3 is associated, and the second application is determined as the target application.
- the first electronic device can adjust the target control according to the user's operation, and can also adjust the target application associated with the target control, so as to realize the independent control of the audio output mode of the target application, which improves the first electronic device.
- the flexibility of electronic equipment to control the audio output mode also simplifies user operations.
- Step 102 In response to the first input, adjust the audio output mode of the target application to a first audio output mode or a second audio output mode; wherein, the first audio output mode is the same as the second audio output mode.
- the output device of the output mode is different.
- the electronic device determines the target application associated with the target control through the display position of the target control. For example, when the display position of the target control is on the running interface of the first application, the first application is the target application associated with the target control; if the target control was originally displayed on the running interface of the first application, When the user drags it to the running interface displayed on the second application, the second application is the target application associated with the target control at this time.
- the target control can control the output audio of the target application.
- the first input may be a single operation acting on the target control, or it may be a preset duration of time acting on the target control. Multiple consecutive operations within.
- the adjustment of the audio output mode of the target application may be adjusting the audio output device.
- the audio output mode selection menu is displayed at the position of the target control.
- the audio output mode includes Bluetooth headset, wired headset, speaker, etc.
- the touch operation on the controller controls the output audio of the first application to be output through the Bluetooth headset.
- the electronic device can individually control the output audio of the target application associated with the target control by receiving the first operation on the target control, so that the electronic device can control the output audio of the application more flexibly.
- the first electronic device is for the application associated with the target control
- the output audio is adjusted.
- the target control can only adjust the output audio of the application it is associated with. For example, if the output audio of the first application is adjusted to mute, the output audio of the second application will not be affected, thereby avoiding the cause
- the unified control results in the output sound being chaotic and noisy, making the control of the output audio of the application more flexible by the electronic device, and bringing a better user experience to the user.
- the first electronic device can also be displayed on the running interface of multiple applications at the same time, for example, the running interface of three applications is displayed at the same time, and the corresponding target control is displayed on the running interface of each application.
- the target control is used to individually adjust the output audio of the application associated with it, avoiding the unified regulation of the output audio of all applications, making the electronic device more flexible in the control of the output audio.
- the first electronic device can control the audio output mode of the target application based on the first input to the target control.
- the step 102 includes:
- the target control in response to the first input, the first audio output mode of the first application is adjusted to the second audio output mode, and The second audio output mode of the second application is adjusted to the first audio output mode;
- the target control in response to the first input, the second audio output mode of the second application program is adjusted to the first audio output mode, and The first audio output mode of the first application program is adjusted to the second audio output mode.
- the first electronic device when the first electronic device receives the first input acting on the target control, it acquires the first audio output mode of the first application and the second audio output mode of the second application; if the target control is Associated with the first application, indicating that the audio output mode of the first application needs to be adjusted at this time, then the first audio output mode of the first application is changed to the second audio output mode, and the first audio output mode is changed to the second audio output mode.
- the second audio output mode of the second application is changed to the first audio output mode; if the target control is associated with the second application, it means that the audio output mode of the second application needs to be adjusted at this time, then the The second audio output mode of the second application is changed to the first audio output mode, and the first audio output mode of the first application is changed to the second audio output mode.
- the first electronic device may exchange the first audio output mode of the first application with the second audio output mode of the second application.
- the first audio output mode and the second audio output mode have different output devices, so the audio output device of the first application program is also different from the audio output device of the second application program.
- the audio output device of the first application program is a left earphone or a left channel audio output device
- the audio output device of the second application program is a right earphone or a right channel audio output device.
- the target control associates different target applications (for example, the first application, the second application), and adjusts the associated target application through the target control, so that the electronic device controls the audio output mode of the application more flexibly , It is convenient for users to operate; in addition, this setting also enables the audio of two applications running at the same time to be output through different output methods, avoiding mutual interference between the two audios, and bringing a better listening experience for users.
- target applications for example, the first application, the second application
- the first audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, left and right earphone output at the same time, left channel output, and right channel output;
- the second The audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, left and right earphone output at the same time, left channel output and right channel output; wherein, the first audio output mode is different from all The second audio output mode is described.
- the first audio output mode is speaker output
- the second audio output mode may be silent output, simultaneous output of left and right earphones, left earphone output, right earphone output, and so on.
- the first audio output mode and the second audio output mode may have the following specific forms:
- the first audio output mode is output through one of the left earphone or the right earphone of the first earphone, and the second audio output mode is Output through the other of the left earphone or the right earphone;
- the first audio output mode is output through the left earphone and the right earphone of the first earphone, and the second output mode is mute;
- the first audio output mode is mute
- the second output mode is output through the left earphone and the right earphone of the first earphone
- the first audio output mode is output through one of the first earphone or the second earphone
- the second audio output mode is output through all the earphones.
- the other one of the first earphone or the second earphone is output.
- the first headset may refer to a wired headset or a wireless headset (such as a Bluetooth headset).
- a wireless headset such as a Bluetooth headset.
- the audio of the first application is output through the left earphone (the first audio output mode), and the audio of the second application is output through the right earphone.
- Headphone output second audio output mode
- the target control is displayed on the running interface of the first application, then the first application is also the target application.
- the audio output mode option menu When the first input for the target control is received, for example, the user clicks on the target Control, display the audio output mode option menu, if the user selects the right earphone, the audio output mode of the first application will be changed to output through the right earphone, and the audio output mode of the second application will be automatically changed to output through the left earphone .
- the target application is the second application
- the audio output mode of the second application when the audio output mode of the second application is adjusted, the audio output mode of the first application will also be adjusted automatically, which will not be repeated here.
- the audio output mode of the first application is output through the left and right earphones of the first earphone, and the audio output of the second application is The mode is mute, and the target control is displayed on the running interface of the first application. Then the first application is the target application.
- the audio output mode of the first application is changed to mute , The audio output mode of the second application is automatically changed to output through the left earphone and right earphone of the first earphone.
- the audio output mode of the first application is mute
- the audio output mode of the second application is the left earphone and the left earphone through the first earphone.
- the target control is displayed on the running interface of the first application, then the first application is the target application.
- the audio output mode of the first application is changed to pass
- the left and right earphones of the first earphone are output
- the audio output mode of the second application is changed to mute.
- the electronic device is connected with the first earphone and the second earphone. It is assumed that the audio of the first application program is output through the first earphone, the audio of the second application program is output through the second earphone, and the target control is displayed in On the running interface of the second application, the second application is the target application.
- the first input for the target control is received, for example, the user clicks the target control, and the audio output mode option menu is displayed.
- a headset the audio output mode of the second application program is changed to the first headset, and the audio output mode of the first application program is changed to the second headset accordingly.
- the first audio output mode and the second audio output mode also include mute output, speaker output, left channel output, and right channel output, which can also be adjusted based on the user's first input to the target control.
- mute output speaker output
- left channel output and right channel output
- the audio output mode of the target application for example, the first application
- the audio output mode of another running application for example, the second application
- the first electronic device when the first electronic device displays the running interface of the first application program and the running interface of the second application program, the first electronic device can also project the running interface of one of the application programs onto the second electronic device.
- the step 102 when the running interface of the target application is projected and displayed on the second electronic device, the step 102 may include:
- the target audio output mode of the second electronic device is acquired, and the output audio of the target application is adjusted to the first audio output mode or the second audio output mode; wherein, the target audio The output mode includes a first audio output mode and a second audio output mode.
- the first electronic device is a mobile phone
- the second electronic device is a vehicle-mounted computer
- the mobile phone can display the running interface of the first application program and the running interface of the second application program by using projection technology Project the running interface of the first application or the second application to the on-board computer, for example, project the running interface of the second application on the display of the on-board computer, and the second application can still be displayed on the first electronic device
- the running interface of the mobile phone may not be displayed; or, the mobile phone can also project the entire display interface to the on-board computer, and then split the screen to display the running interface of the first application and the second application on the display interface of the mobile phone.
- the running interface of the program and then select the running interface of the first application or the second application to project and display it on the display screen of the on-board computer.
- the on-board computer may only display the running interface of the projected application.
- the mobile phone still displays the running interface of the second application, and the target control is displayed on the running interface of the second application.
- the mobile phone can obtain the target audio output mode of the car computer, such as output through the Bluetooth headset, output through the car speaker, and mute. If the user chooses to output through the Bluetooth headset, the first electronic device can be sent to the car computer
- the control instruction is used to control the audio of the second application program to be output by the Bluetooth headset connected to the on-board computer.
- the audio output mode of the first application displayed on the phone will filter out the option output through the phone speaker; the same principle, if the target control is displayed in the first On the running interface of the application program, when the user selects the audio output of the first application program to be output through the mobile phone speaker, the audio output mode of the second application program will filter out the option output through the car speaker. In this way, it is possible to prevent the audio of the first application from being output through the speaker of the mobile phone, and avoid mutual interference with the audio output from the car speaker.
- the electronic device receives the first input for the target control when the first application and the second application are running, and adjusts the audio output mode of the target application in response to the first input ;
- the target application is the first application or the second application.
- the target control can only control the audio output mode of the application associated with it, thereby avoiding the chaotic and noisy output sound caused by unified regulation, making the electronic device more flexible in controlling the audio output mode of the application, and bringing users To have a better experience.
- FIG. 3 is a structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device is a first electronic device.
- the electronic device 300 includes:
- the receiving module 301 is configured to receive a first input for a target control when the first application and the second application are running; wherein the target control is associated with the target application, and the target application is the The first application or the second application;
- the control module 302 is configured to adjust the audio output mode of the target application to a first audio output mode or a second audio output mode in response to the first input; wherein, the first audio output mode is the same as the The output device of the second audio output mode is different.
- control module 302 is further configured to:
- the target control in response to the first input, the first audio output mode of the first application is adjusted to the second audio output mode, and The second audio output mode of the second application is adjusted to the first audio output mode;
- the target control in response to the first input, the second audio output mode of the second application program is adjusted to the first audio output mode, and The first audio output mode of the first application program is adjusted to the second audio output mode.
- the first audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, simultaneous left and right earphone output, left channel output, and right channel output;
- the second audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, left and right earphone output at the same time, left channel output, and right channel output;
- the first audio output mode is different from the second audio output mode.
- the running interface of the target application is projected and displayed on the second electronic device; the control module 302 is further configured to:
- the target audio output mode includes a first audio output mode and a second audio output mode.
- the receiving module 301 is further configured to:
- the electronic device 300 can implement each process of the embodiment of the audio control method described in FIG.
- the electronic device 300 when the electronic device 300 is running the first application and the second application, it receives the first input for the target control, and responds to the first input to perform the audio output mode of the target application. Adjustment; wherein, the target application is the first application or the second application.
- the target control can only control the audio output mode of the application associated with it, thereby avoiding the chaotic and noisy output sound due to unified regulation, making the electronic device 300 more flexible in controlling the audio output mode of the application, which is more flexible for users. Bring a better experience.
- FIG. 4 is a structural diagram of another electronic device implementing an embodiment of the present invention.
- the electronic device 400 can implement the various processes of the audio control 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 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.
- 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 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 processor 410 is used for:
- the audio output mode of the target application is adjusted to the first audio output mode or the second audio output mode; wherein the first audio output mode is different from the second audio output mode
- the output device is different.
- processor 410 is also used for:
- the target control in response to the first input, the first audio output mode of the first application is adjusted to the second audio output mode, and The second audio output mode of the second application is adjusted to the first audio output mode;
- the target control in response to the first input, the second audio output mode of the second application program is adjusted to the first audio output mode, and The first audio output mode of the first application program is adjusted to the second audio output mode.
- the first audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, simultaneous left and right earphone output, left channel output, and right channel output;
- the second audio output mode includes any one of mute output, speaker output, left earphone output, right earphone output, left and right earphone output at the same time, left channel output, and right channel output;
- the first audio output mode is different from the second audio output mode.
- the running interface of the target application is projected and displayed on the second electronic device; the processor 410 is further configured to:
- the target audio output mode includes a first audio output mode and a second audio output mode.
- processor 410 is also used for:
- the electronic device 400 when the electronic device 400 is running the first application and the second application, it receives the first input for the target control, and responds to the first input to perform the audio output mode of the target application. Adjustment; wherein, the target application is the first application or the second application.
- the target control can only control the audio output mode of the application associated with it, thereby avoiding the confusion and noisy output of the sound due to unified regulation, making the electronic device 400 more flexible in controlling the audio output mode of the application, which is more flexible for users. Bring a better experience.
- 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 is configured to monitor the still image or video image 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 posture 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 can 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 (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, the above-mentioned audio function is realized.
- Each process of the embodiment of the control method can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
- 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), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- 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 methods described in the various embodiments of the present invention.
- a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
- modules, units, and sub-units can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (Digital Signal Processor, DSP), and digital signal processing equipment (DSP Device, DSPD). ), programmable logic devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, used to implement this disclosure Described functions in other electronic units or combinations thereof.
- ASIC application specific integrated circuits
- DSP Digital Signal Processor
- DSP Device digital signal processing equipment
- FPGA Field-Programmable Gate Array
- the technology described in the embodiments of the present disclosure can be implemented by modules (for example, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
- the software codes can be stored in the memory and executed by the processor.
- the memory can be implemented in the processor or external to the processor.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (14)
- 一种音频的控制方法,应用于第一电子设备,包括:在运行第一应用程序及第二应用程序的情况下,接收针对目标控件的第一输入;其中,所述目标控件与目标应用程序关联,所述目标应用程序为所述第一应用程序或所述第二应用程序;响应于所述第一输入,将所述目标应用程序的音频输出方式调整为第一音频输出方式或第二音频输出方式;其中,所述第一音频输出方式与所述第二音频输出方式的输出设备不同。
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,将所述目标应用程序的音频输出方式调整为第一音频输出方式或第二音频输出方式,包括:获取所述第一应用程序的第一音频输出方式和所述第二应用程序的第二音频输出方式;在所述目标控件与所述第一应用程序关联的情况下,响应于所述第一输入,将所述第一应用程序的第一音频输出方式调整为所述第二音频输出方式,并将所述第二应用程序的第二音频输出方式调整为所述第一音频输出方式;或者,在所述目标控件与所述第二应用程序关联的情况下,响应于所述第一输入,将所述第二应用程序的第二音频输出方式调整为所述第一音频输出方式,并将所述第一应用程序的第一音频输出方式调整为所述第二音频输出方式。
- 根据权利要求2所述的方法,其中,所述第一音频输出方式包括静音输出、扬声器输出、左耳机输出、右耳机输出、左右耳机同时输出、左声道输出和右声道输出中的任意一种;所述第二音频输出方式包括静音输出、扬声器输出、左耳机输出、右耳机输出、左右耳机同时输出、左声道输出和右声道输出中的任意一种;其中,所述第一音频输出方式不同于所述第二音频输出方式。
- 根据权利要求1所述的方法,其中,所述目标应用程序的运行界面投屏显示在第二电子设备上;所述响应于所述第一输入,将所述目标应用程序的音频输出方式调整为第一音频输出方式或第二音频输出方式,包括:响应于所述第一输入,获取所述第二电子设备的目标音频输出方式,将所述目标应用程序的输出音频调整为第一音频输出方式或第二音频输出方式;其中,所述目标音频输出方式包括第一音频输出方式和第二音频输出方式。
- 根据权利要求1所述的方法,其中,所述在运行第一应用程序及第二应用程序的情况下,接收针对目标控件的第一输入,包括:在显示第一应用程序运行界面及第二应用程序运行界面的情况下,显示目标控件,并接收针对所述目标控件的第二输入;响应于所述第二输入,在目标位置显示所述目标控件,将所述目标位置对应的应用程序确定为目标应用程序;接收作用于所述目标控件上的第一输入。
- 一种电子设备,所述电子设备为第一电子设备,包括:接收模块,用于在运行第一应用程序及第二应用程序的情况下,接收针对目标控件的第一输入;其中,所述目标控件与目标应用程序关联,所述目标应用程序为所述第一应用程序或所述第二应用程序;控制模块,用于响应于所述第一输入,将所述目标应用程序的音频输出方式调整为第一音频输出方式或第二音频输出方式;其中,所述第一音频输出方式与所述第二音频输出方式的输出设备不同。
- 根据权利要求6所述的电子设备,其中,所述控制模块还用于:获取所述第一应用程序的第一音频输出方式和所述第二应用程序的第二音频输出方式;在所述目标控件与所述第一应用程序关联的情况下,响应于所述第一输入,将所述第一应用程序的第一音频输出方式调整为所述第二音频输出方式,并将所述第二应用程序的第二音频输出方式调整为所述第一音频输出方式;或者,在所述目标控件与所述第二应用程序关联的情况下,响应于所述第一输入,将所述第二应用程序的第二音频输出方式调整为所述第一音频输出方式, 并将所述第一应用程序的第一音频输出方式调整为所述第二音频输出方式。
- 根据权利要求7所述的电子设备,其中,所述第一音频输出方式包括静音输出、扬声器输出、左耳机输出、右耳机输出、左右耳机同时输出、左声道输出和右声道输出中的任意一种;所述第二音频输出方式包括静音输出、扬声器输出、左耳机输出、右耳机输出、左右耳机同时输出、左声道输出和右声道输出中的任意一种;其中,所述第一音频输出方式不同于所述第二音频输出方式。
- 根据权利要求6所述的电子设备,其中,所述目标应用程序的运行界面投屏显示在第二电子设备上;所述控制模块还用于:响应于所述第一输入,获取所述第二电子设备的目标音频输出方式,将所述目标应用程序的输出音频调整为第一音频输出方式或第二音频输出方式;其中,所述目标音频输出方式包括第一音频输出方式和第二音频输出方式。
- 根据权利要求6所述的电子设备,其中,所述接收模块还用于:在显示第一应用程序运行界面及第二应用程序运行界面的情况下,显示目标控件,并接收针对所述目标控件的第二输入;响应于所述第二输入,在目标位置显示所述目标控件,将所述目标位置对应的应用程序确定为目标应用程序;接收作用于所述目标控件上的第一输入。
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的音频的控制方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的音频的控制方法的步骤。
- 一种计算机软件产品,所述计算机软件产品被存储在非易失的存储介质中,所述软件产品被配置成被至少一个处理器执行以实现如权利要求1至5中任一项所述的音频的控制方法的步骤。
- 一种电子设备,所述电子设备被配置成用于执行如权利要求1至5 中任一项所述的音频的控制方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010263008.2A CN111459456B (zh) | 2020-04-07 | 2020-04-07 | 一种音频的控制方法及电子设备 |
CN202010263008.2 | 2020-04-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021204045A1 true WO2021204045A1 (zh) | 2021-10-14 |
Family
ID=71682494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/084437 WO2021204045A1 (zh) | 2020-04-07 | 2021-03-31 | 音频的控制方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111459456B (zh) |
WO (1) | WO2021204045A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114281293A (zh) * | 2021-12-29 | 2022-04-05 | 广州朗国电子科技股份有限公司 | 一种投屏源进程声音可独立投放的方法及相关装置 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111459456B (zh) * | 2020-04-07 | 2023-03-14 | 维沃移动通信有限公司 | 一种音频的控制方法及电子设备 |
CN111966860B (zh) * | 2020-07-31 | 2024-08-27 | 维沃移动通信(杭州)有限公司 | 音频播放方法、装置及电子设备 |
CN112035087B (zh) * | 2020-08-31 | 2023-03-21 | 维沃移动通信有限公司 | 信息提示方法、装置、电子设备及可读存储介质 |
CN112698907B (zh) * | 2021-03-25 | 2021-06-22 | 湖北亿咖通科技有限公司 | 应用的显示控制方法及电子设备 |
CN113286278B (zh) * | 2021-04-07 | 2023-04-25 | 维沃移动通信有限公司 | 音频输出的控制方法、装置 |
CN113271376B (zh) * | 2021-05-08 | 2023-08-22 | 维沃移动通信有限公司 | 通信控制方法、电子设备和耳机 |
CN116033304B (zh) * | 2022-08-31 | 2023-09-29 | 荣耀终端有限公司 | 一种音频输出方法、电子设备及可读存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04251325A (ja) * | 1991-01-09 | 1992-09-07 | Nec Corp | マルチウィンドウシステムの音量制御方式 |
CN103677727A (zh) * | 2013-12-05 | 2014-03-26 | 深圳市中兴移动通信有限公司 | 移动终端和音频控制方法 |
CN104216772A (zh) * | 2013-06-03 | 2014-12-17 | 上海帛茂信息科技有限公司 | 支持多窗口的电子设备对不同窗口对应音频的控制方法 |
CN106131753A (zh) * | 2016-06-28 | 2016-11-16 | 乐视控股(北京)有限公司 | 音频输出控制方法、装置及终端 |
CN106201423A (zh) * | 2016-07-01 | 2016-12-07 | 深圳市金立通信设备有限公司 | 一种音频控制方法及终端 |
CN110740363A (zh) * | 2019-10-25 | 2020-01-31 | 华为终端有限公司 | 投屏方法和系统、电子设备 |
CN111459456A (zh) * | 2020-04-07 | 2020-07-28 | 维沃移动通信有限公司 | 一种音频的控制方法及电子设备 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630586B (zh) * | 2014-10-30 | 2020-03-24 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN105677305B (zh) * | 2014-11-18 | 2020-01-21 | 华为终端有限公司 | 图标管理的方法、装置及终端 |
CN106598457B (zh) * | 2016-11-30 | 2019-10-25 | 努比亚技术有限公司 | 一种声音播放控制方法、装置及终端 |
CN108958695B (zh) * | 2018-06-28 | 2023-10-20 | 努比亚技术有限公司 | 音频输出方法、装置及计算机可读存储介质 |
CN109165004A (zh) * | 2018-08-16 | 2019-01-08 | 努比亚技术有限公司 | 双屏终端音频输出方法、终端及计算机可读存储介质 |
CN109445740B (zh) * | 2018-09-30 | 2022-05-20 | Oppo广东移动通信有限公司 | 音频播放方法、装置、电子设备及存储介质 |
CN109857364A (zh) * | 2019-01-28 | 2019-06-07 | Oppo广东移动通信有限公司 | 音频播放方法及装置、存储介质、通信终端 |
CN110597478A (zh) * | 2019-08-29 | 2019-12-20 | 维沃移动通信有限公司 | 一种音频输出方法及电子设备 |
-
2020
- 2020-04-07 CN CN202010263008.2A patent/CN111459456B/zh active Active
-
2021
- 2021-03-31 WO PCT/CN2021/084437 patent/WO2021204045A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04251325A (ja) * | 1991-01-09 | 1992-09-07 | Nec Corp | マルチウィンドウシステムの音量制御方式 |
CN104216772A (zh) * | 2013-06-03 | 2014-12-17 | 上海帛茂信息科技有限公司 | 支持多窗口的电子设备对不同窗口对应音频的控制方法 |
CN103677727A (zh) * | 2013-12-05 | 2014-03-26 | 深圳市中兴移动通信有限公司 | 移动终端和音频控制方法 |
CN106131753A (zh) * | 2016-06-28 | 2016-11-16 | 乐视控股(北京)有限公司 | 音频输出控制方法、装置及终端 |
CN106201423A (zh) * | 2016-07-01 | 2016-12-07 | 深圳市金立通信设备有限公司 | 一种音频控制方法及终端 |
CN110740363A (zh) * | 2019-10-25 | 2020-01-31 | 华为终端有限公司 | 投屏方法和系统、电子设备 |
CN111459456A (zh) * | 2020-04-07 | 2020-07-28 | 维沃移动通信有限公司 | 一种音频的控制方法及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114281293A (zh) * | 2021-12-29 | 2022-04-05 | 广州朗国电子科技股份有限公司 | 一种投屏源进程声音可独立投放的方法及相关装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111459456B (zh) | 2023-03-14 |
CN111459456A (zh) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021204045A1 (zh) | 音频的控制方法及电子设备 | |
US11496835B2 (en) | Speaker control method and mobile terminal | |
WO2021109907A1 (zh) | 应用分享方法、第一电子设备及计算机可读存储介质 | |
WO2021104230A1 (zh) | 同步方法及电子设备 | |
US20230214175A1 (en) | Prompting method and mobile terminal | |
EP3691235A1 (en) | Display method and mobile terminal | |
WO2021068885A1 (zh) | 控制方法及电子设备 | |
WO2021109925A1 (zh) | 应用分享方法、电子设备及计算机可读存储介质 | |
CN111083684A (zh) | 控制电子设备的方法及电子设备 | |
WO2020238497A1 (zh) | 图标移动方法及终端设备 | |
WO2020186964A1 (zh) | 音频信号的输出方法及终端设备 | |
WO2020238445A1 (zh) | 屏幕录制方法及终端 | |
WO2021129529A1 (zh) | 设备切换方法及相关设备 | |
WO2019223569A1 (zh) | 信息处理方法及移动终端 | |
WO2021077908A1 (zh) | 参数调节方法和电子设备 | |
WO2021136141A1 (zh) | 播放方法及电子设备 | |
CN111432071B (zh) | 通话控制方法及电子设备 | |
JP2021536077A (ja) | 情報処理方法および端末 | |
US11989330B2 (en) | Permission management method and terminal device | |
WO2021104251A1 (zh) | 控制方法及第一电子设备 | |
WO2021088706A1 (zh) | 应用程序的控制方法和电子设备 | |
WO2021037074A1 (zh) | 音频输出方法及电子设备 | |
WO2020024770A1 (zh) | 确定通讯对象的方法及移动终端 | |
WO2021031868A1 (zh) | 界面显示方法及终端 | |
WO2021190373A1 (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: 21783936 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: 21783936 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 23.02.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21783936 Country of ref document: EP Kind code of ref document: A1 |