WO2024093452A1 - 通话控制方法、电子设备及存储介质 - Google Patents

通话控制方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2024093452A1
WO2024093452A1 PCT/CN2023/114009 CN2023114009W WO2024093452A1 WO 2024093452 A1 WO2024093452 A1 WO 2024093452A1 CN 2023114009 W CN2023114009 W CN 2023114009W WO 2024093452 A1 WO2024093452 A1 WO 2024093452A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
call
electronic device
sound
user
Prior art date
Application number
PCT/CN2023/114009
Other languages
English (en)
French (fr)
Inventor
陈佳子
赵松伟
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2024093452A1 publication Critical patent/WO2024093452A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/58Anti-side-tone circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Definitions

  • the present application relates to the field of electronic technology, and in particular to a call control method, electronic equipment and storage medium.
  • the voice output through the earpiece is not only emitted from the sound holes at the side seams, but a large part of the energy is emitted from the top sound holes. Therefore, the sound coming out of the sound holes can not only be heard by the user, but also by other users in a quiet environment, resulting in sound leakage, which can easily leak user privacy.
  • the present application provides a call control method and electronic device, which solve the problem of sound leakage when playing voice through a receiver in a scenario where a user holds a mobile phone close to his ear to listen to the sound.
  • the present application provides a call control method, which is applied to an electronic device, wherein the electronic device includes a receiver, a screen, and a screen sound device, wherein the screen sound device is used to drive the screen to make a screen sound, and the call control method includes:
  • the electronic device When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call
  • the electronic device receives a first operation of the user, and in response to the first operation, answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and the first volume;
  • the electronic device receives a second operation of the user, and in response to the second operation, the receiver and the screen sound device emit a second sound at a second ratio and a second volume, and the second volume is greater than the first volume;
  • the electronic device receives a third operation of the user, and terminates the first incoming call in response to the third operation;
  • the electronic device When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call
  • the electronic device receives a fourth operation of the user, and in response to the fourth operation, answers the second incoming call, and the receiver and the screen sound device of the electronic device emit a third sound at a third ratio and a third volume, wherein the third volume is greater than the first volume and less than the second volume;
  • the first ratio is different from the second ratio
  • the third ratio is different from the second ratio
  • the solution of the present application when answering an incoming call, when the system call volume is relatively low, the system call volume can be maintained and the privacy call mode can be entered, which can not only reduce sound leakage but also meet the user's usage habits; when the system call volume is high, the volume is automatically reduced and the privacy call mode is entered, thereby reducing sound leakage. Therefore, the solution of the present application can automatically adjust the answering volume to an appropriate volume based on the system call volume before answering the call, thereby meeting the user's call needs and improving the user's call experience.
  • the incoming call scenario is used as an example for explanation here. It can be understood that in actual implementation, the call control method provided in the embodiment of the present application can also be applied to the outgoing call scenario.
  • the electronic device receives an incoming call notification and displays an incoming call notification interface.
  • the incoming call notification interface displays a prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default. Once the incoming call is connected, the "Smart Privacy Call Mode" can be used to output voice.
  • the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device can emit sound at a first ratio and 6 levels of volume, and is now in a private call mode.
  • the first ratio is 3:7.
  • the earpiece and the screen generating device emit sound at a first ratio and 6 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound emitted by the two is 6 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 3, and the sound intensity of the screen generating device accounts for 7.
  • the electronic device receives an operation by the user to turn up the volume. Accordingly, the electronic device turns up the volume, for example, turns the volume up to level 10 (or level 9).
  • the earpiece and screen generating device of the electronic device emit sound at the second ratio and level 10 volume, and the privacy call mode is exited.
  • the second ratio is greater than the first ratio.
  • the second ratio is 7:3. It should be noted that the earpiece and the screen generating device emit sound at the second ratio and level 10 volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the two sounds is level 10 volume; in the total volume, the sound intensity of the earpiece accounts for 7, and the sound intensity of the screen generating device accounts for 3.
  • the electronic device receives the user's hang-up operation and ends the call.
  • the electronic device receives the incoming call notification again and displays the incoming call notification interface.
  • the incoming call notification interface displays the prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default. Once the incoming call is connected, the "Smart Privacy Call Mode" can be used to output voice.
  • the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device emit sound at a third ratio and 8 levels of volume, and is now in a private call mode.
  • the third ratio is smaller than the second ratio.
  • the third ratio may be the same as or different from the first ratio.
  • the third ratio may be 4:6. It should be noted that the earpiece and the screen generating device emit sound at the third ratio and 8 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the two sounds is 8 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 4, and the sound intensity of the screen generating device accounts for 6.
  • the method further includes: when the size of the ambient sound in which the electronic device is located is a first value, the earpiece and the screen sound device of the electronic device emit the third sound at the third ratio and the third volume; when the size of the ambient sound in which the electronic device is located is a second value, the earpiece and the screen sound device of the electronic device emit a fourth sound at a fourth ratio and a fourth volume; wherein the first value is smaller than the second value, the third ratio is different from the fourth ratio, and the third volume is smaller than the fourth volume.
  • the automatic adjustment method provided by the present application can realize mode switching according to actual usage needs, meet the user's call needs in various scenarios, and enhance the user's call experience.
  • the first ratio, the second ratio, and the third ratio are respectively the ratio values of the sound intensity of the earpiece to the sound intensity of the screen sound device; wherein the first ratio is smaller than the second ratio, and the third ratio is smaller than the second ratio.
  • the method before the electronic device receives a first incoming call, the method further includes: after the electronic device is turned on, enabling a first function by default; wherein, when the first function is enabled, after an incoming call or an outgoing call is connected, the sound intensity of the earpiece is less than the sound intensity of the screen sound device.
  • the second operation is an operation of a user pressing a physical volume up key; or an operation of a user dragging upward a volume adjustment button in a volume bar icon.
  • the output volume of the electronic device is represented by a volume decibel value; or, the output volume of the electronic device is represented by a volume level; wherein the volume decibel values within a preset range are divided into N volume levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values, and N is a positive integer.
  • the N volume levels include volume level 1 to volume level 10; wherein the volume levels corresponding to the first volume and the third volume are respectively in the range of [level 1, level I], and the volumes corresponding to the second volume and the fourth volume are respectively in the range of [level I+1, level 10], wherein I is an integer greater than 1 and less than 10.
  • I takes the value of 8.
  • the present application provides a call control method, which is applied to an electronic device, wherein the electronic device includes a handset, a screen, and a screen sound device, wherein the screen sound device is used to drive the screen to make a screen sound, and the method includes:
  • the electronic device When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call
  • the electronic device In response to a user double-clicking the volume down button, the electronic device starts a first function, wherein the first function is that the sound intensity of the earpiece is less than the sound intensity of the screen sound device;
  • the electronic device In response to the user answering the call operation, the electronic device answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and the first volume;
  • the receiver and the screen sound device of the electronic device emit a second sound at a second ratio and a second volume, and the second volume is greater than the first volume;
  • the electronic device ends the first incoming call in response to the user hanging up the call
  • the electronic device When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call
  • the electronic device activates the first function in response to a user double-clicking the volume down button
  • the electronic device In response to the user answering the call operation, the electronic device answers the second incoming call, and the receiver and the screen sound device of the electronic device emit a third sound at a third ratio and a third volume, wherein the third volume is greater than the first volume and less than the second volume;
  • the first ratio is different from the second ratio
  • the third ratio is different from the second ratio
  • the first ratio, the second ratio, and the third ratio are respectively the ratio values of the sound intensity of the earpiece to the sound intensity of the screen sound device; wherein the first ratio is smaller than the second ratio, and the third ratio is smaller than the second ratio.
  • the electronic device receives a first incoming call, including: the electronic device displays an incoming call notification interface; when the incoming call is not answered, the electronic device displays a first prompt message in the incoming call notification interface, the first prompt message being used to prompt the user to trigger activation of the first function by double-clicking the volume down button.
  • the method further includes: the electronic device displays a second prompt message in the incoming call notification interface, and the second prompt message is used to prompt that the first function has been turned on.
  • the method further includes: the electronic device processing the incoming call ringtone as silent in response to the user double-clicking the volume down button.
  • the method further includes: the electronic device receiving a third incoming call; in response to receiving an operation of a user clicking a volume down key, the electronic device processing the incoming call ring tone as silent;
  • the electronic device In response to the user clicking the volume down button again, the electronic device displays a volume bar icon in the incoming call notification interface, where the volume bar icon is used to indicate the call volume set by the system of the electronic device.
  • the method further includes: in response to receiving an operation by the user on the volume bar icon, the electronic device adjusts the call volume; when the adjusted volume is a first call volume, turning on the first function; or, when the adjusted volume is a second call volume, turning off the first function; wherein the first call volume is less than the second call volume.
  • the method also includes: when the first function is turned off, the electronic device receives a fourth incoming call; in response to the call being answered, the electronic device displays a call interface; a volume bar icon is displayed in the call interface, and motion guidance and text prompts are presented; wherein the motion guidance includes the volume adjustment button in the volume bar icon moving downward, and the text prompt is used to prompt that the first function is triggered by lowering the volume.
  • the method also includes: the electronic device displays a switch icon of the first function in an incoming call notification interface, an outgoing call interface, or a call interface; in response to receiving a click operation on the switch icon by the user, the electronic device turns on the first function; in response to receiving a click operation on the switch icon by the user again, the electronic device turns off the first function.
  • the present application provides a call control device, the device comprising a unit for executing the method in the first aspect or the second aspect.
  • the device may correspond to executing the method described in the first aspect or the second aspect.
  • the relevant description of the unit in the device please refer to the description of the first aspect or the second aspect, and for the sake of brevity, it will not be repeated here.
  • the method described in the first aspect or the second aspect may be implemented by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.
  • the present application provides an electronic device, the electronic device comprising a processor, the processor coupled to a memory, the memory being used to store a computer program or instruction, and the processor being used to execute the computer program or instruction stored in the memory, so that the method in the first aspect or the second aspect is executed.
  • the processor is used to execute the computer program or instruction stored in the memory, so that the device executes the method in the first aspect or the second aspect.
  • the present application provides a computer-readable storage medium on which a computer program (also referred to as instructions or codes) for implementing the method in the first aspect or the second aspect is stored.
  • a computer program also referred to as instructions or codes
  • the computer program when executed by a computer, the computer can execute the method in the first aspect or the second aspect.
  • the present application provides a chip, comprising a processor.
  • the processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect or the second aspect and any possible implementation thereof.
  • the chip also includes a memory, and the memory is connected to the processor via a circuit or a wire.
  • the present application provides a chip system, including a processor.
  • the processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect or the second aspect and any possible implementation thereof.
  • the chip system also includes a memory, and the memory is connected to the processor via a circuit or wire.
  • the present application provides a computer program product, comprising a computer program (also referred to as instructions or codes), wherein when the computer program is executed by a computer, the computer implements the method in the first aspect or the second aspect.
  • a computer program also referred to as instructions or codes
  • FIG1 is a schematic diagram of a structure of an electronic device provided with an earpiece and a sound outlet;
  • FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application in which an earpiece and a screen vibration device are provided;
  • FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of an interface of a call control method provided by an embodiment of the present application applied to an electronic device
  • FIG6 is a second schematic diagram of an interface of a call control method provided by an embodiment of the present application applied to an electronic device;
  • FIG. 7 is a third schematic diagram of an interface of a call control method provided by an embodiment of the present application applied to an electronic device;
  • FIG8 is a fourth schematic diagram of an interface of a call control method provided by an embodiment of the present application applied to an electronic device;
  • FIG9 is a schematic diagram of volume level division in a call control method provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of a volume bar in a call control method provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG12 is a second schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG13 is a timing diagram of a call control method provided in an embodiment of the present application.
  • FIG14 is a third schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG15 is a fourth schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG16 is another timing diagram of a call control method provided by an embodiment of the present application.
  • FIG17 is a fifth schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG18 is a sixth schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG19 is a seventh schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG20 is a schematic diagram of an interface of a call control method application according to an embodiment of the present application.
  • FIG21 is a ninth interface diagram of an application of a call control method provided in an embodiment of the present application.
  • FIG22 is another timing diagram of a call control method provided in an embodiment of the present application.
  • FIG23 is a schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • FIG24 is a schematic diagram of an interface of a call control method application provided by an embodiment of the present application.
  • FIG25 is a schematic diagram of a twelve interface of a call control method application provided in an embodiment of the present application.
  • FIG26 is a schematic diagram 13 of an interface of a call control method application provided in an embodiment of the present application.
  • FIG27 is a schematic diagram 14 of an interface of a call control method application provided in an embodiment of the present application.
  • FIG28 is a schematic diagram of an interface of a call control method application provided by an embodiment of the present application.
  • FIG29 is a schematic diagram of a sixteenth interface of a call control method application provided in an embodiment of the present application.
  • FIG30 is a schematic diagram of an interface of a call control method application provided in an embodiment of the present application.
  • Figure 31 is a prompt flow chart of a call control method provided in an embodiment of the present application.
  • the earpiece sound hole of some full-screen mobile phones is designed as a long slit, located at the junction of the middle frame and the front panel of the mobile phone.
  • an opening on the top of the middle frame is added to some full-screen mobile phones as a sound hole.
  • FIG1 shows a schematic diagram of the structure of a mobile phone.
  • the mobile phone may include a front panel for setting a screen (usually including a screen and a frame), a rear panel for supporting an internal circuit, and a middle frame, and the front panel, the rear panel, and the middle frame can enclose a shell structure.
  • a receiver 101 i.e., a speaker for making sounds during voice communication, also known as a receiver
  • the top position i.e., the top position of the mobile phone.
  • FIG1 (b) is a cross-sectional view of the mobile phone structure, wherein the sound outlet 102 is located at the connection between the front panel and the middle frame of the mobile phone (i.e., the side seam).
  • the sound outlet 103 is located on the middle frame of the mobile phone at a position closer to the above-mentioned receiver 101 (i.e., the top position of the middle frame of the mobile phone).
  • FIG. 1 shows a schematic diagram of a scenario in which a user performs voice communication through a mobile phone. As shown in (c) in Figure 1, when the user holds the mobile phone and performs voice communication through the receiver, the mobile phone receiver is close to the user's ear (or auricle).
  • the sound holes of the mobile phone receiver (the sound holes 102 located at the side seam of the mobile phone and the sound holes 103 at the top of the middle frame) cannot be completely covered by the user's ears, the sound coming out of the sound holes can not only be heard by the user, but also by other users in a quiet environment.
  • the embodiment of the present application provides a call control method, which can be applied to an electronic device with a voice communication function.
  • the call control method can be applied to a scenario where a user listens to the sound through the above electronic device, such as a user makes a voice call through a handset, or listens to a voice message in an instant messaging application through a handset.
  • the above electronic device may include a display screen (also called a screen), a screen sound device (i.e., a device that can make a sound by vibrating the screen), a handset (i.e., the above-mentioned speaker for making a call sound in voice communication, also called a receiver), and a sound outlet corresponding to the handset.
  • FIG2 shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • the electronic device in addition to the handset 101, the sound outlet 102 and the sound outlet 103 shown in FIG. 1 , the electronic device is also provided with a screen sound device 104 connected to the screen.
  • the screen sound device 104 is a vibration source (also called an exciter) connected to the screen. The exciter causes the screen to vibrate, thereby achieving sound through the screen.
  • the screen sound device 104 is provided in the housing structure of the electronic device.
  • the voice output mode (also called the listening mode) of the electronic device may include a privacy mode (PVM), a normal mode, and a speaker mode.
  • PVM privacy mode
  • the privacy mode may also be called a smart privacy mode or a smart privacy mode or a PVM mode.
  • the normal mode may also be called a normal mode.
  • the electronic device can output voice in combination with the screen sound mode and the earpiece sound mode.
  • the voice output intensity corresponding to the screen sound mode e.g., 70%
  • the voice output intensity corresponding to the earpiece sound mode e.g., 30%
  • the electronic device can also output the voice only through the screen sound. It is understandable that the receiver does not make any sound at this time.
  • the electronic device can output voice by combining the earpiece sound mode and the screen sound mode.
  • the voice output intensity (e.g., 70%) corresponding to the earpiece sound mode is greater than the voice output intensity (e.g., 30%) corresponding to the screen sound mode.
  • the mobile phone can play voice simultaneously in a manner in which the earpiece sound is the main sound and the screen sound is the auxiliary sound.
  • the electronic device can also output the voice only through the earpiece. It is understandable that the screen does not make any sound at this time.
  • the overall sound volume (or loudness or intensity) can be increased based on the volume corresponding to the private call mode to improve the voice playback effect.
  • the overall sound loudness when sound is emitted through the receiver and the screen in the normal mode is greater than the overall sound loudness when sound is emitted through the receiver and the screen in the private call mode.
  • the screen sound method can effectively prevent sound leakage during voice calls. Therefore, when users are making calls in a quiet environment, users usually want to reduce sound leakage. At this time, the private call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting user privacy.
  • the electronic device After the electronic device turns on the speaker mode, the electronic device outputs the voice through the speaker (also called a loudspeaker). It is understandable that at this time, neither the receiver nor the screen makes any sound.
  • the speaker also called a loudspeaker
  • the electronic device in response to the user's operation on the electronic device, can control the voice output mode to switch between the private call mode, the normal mode and the speaker mode.
  • the voice output mode to switch between the private call mode, the normal mode and the speaker mode.
  • the electronic device can pre-set the private call mode to be turned on by default. After an electronic device makes a call or answers an incoming call, the private call mode is automatically enabled to prevent call leakage. No user operation is required, thus improving the user experience.
  • the output volume after answering the call can be automatically adjusted to an appropriate volume level based on the system call volume (specifically, the volume level) to ensure call privacy and call clarity.
  • the mode can be automatically switched according to the ambient sound level, that is, in a quiet environment, it automatically switches to the private call mode and automatically reduces the volume, thereby reducing sound leakage; in a noisy environment, it automatically switches to the normal mode and automatically increases the volume, thereby ensuring call clarity.
  • This method can be called an automatic adjustment mode.
  • the user when the private call mode is not turned on, the user can be prompted on the incoming call notification interface on how to turn on the private call mode. For example, when receiving an incoming call notification, the private call mode can be turned on or entered by double-clicking the volume down button. Alternatively, when receiving an incoming call notification, if the user clicks the volume down button, the ringtone of the incoming call notification is muted; at this time, if the user clicks the volume down button again, the electronic device can display a volume bar on the incoming call notification interface, so that the user can adjust the answering volume in advance when receiving the incoming call notification. This method is different from the current method that can only adjust the answering volume after the incoming call is connected. This method can be called manual adjustment mode.
  • the electronic device can exit or enter the private call mode according to the user's operation of adjusting the volume bar. For example, the electronic device can exit the private call mode in response to the user's operation of turning up the volume bar; the electronic device can switch to (or enter) the private call mode again in response to the user's operation of turning down the volume bar. It can be understood that this method also belongs to the manual adjustment mode.
  • the private call mode is enabled, for example, the screen and the earpiece can be used to sound at the same time and these two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the screen sound is greater than or equal to the intensity of the earpiece sound) to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
  • the preset volume level for example, volume level 8
  • the private call mode is enabled, for example, the screen and the earpiece can be used to sound at the same time and these two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the screen sound is greater than or equal to the intensity of the earpiece sound) to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
  • the normal mode is enabled, for example, the screen and the earpiece can be used to sound at the same time and these two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the earpiece sound is greater than the intensity of the screen sound) to ensure good sound effects and improve the user's call experience.
  • the call control method provided in the embodiment of the present application can automatically adjust the answering volume to an appropriate volume according to the system call volume and enable the privacy call mode when answering an incoming call, and during the call, it can automatically switch the mode according to the ambient sound level, that is, it automatically switches to the privacy call mode and automatically reduces the volume in a quiet environment, thereby reducing sound leakage; it automatically switches to the normal mode and automatically increases the volume in a noisy environment, thereby ensuring call clarity; and during the call, it can also switch between the privacy call mode and the normal mode according to the actual needs of the user and in response to the user's manual trigger operation. Therefore, the present application can meet the user's call needs in various scenarios.
  • the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), and other devices with voice communication functions.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • wearable device such as a smart watch, a smart bracelet
  • other devices with voice communication functions may be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), and other devices with voice communication functions.
  • PDA personal digital assistant
  • wearable device such as a smart watch, a smart bracelet
  • Figure 3 shows a schematic diagram of the structure of another electronic device provided by an embodiment of the present application. That is, for example, the electronic device shown in Figure 3 can be a mobile phone.
  • the mobile phone may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver (i.e., an earpiece) 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, a subscriber identification module (SIM) card interface 395, a screen sound device 396, etc.
  • SIM subscriber identification module
  • the above-mentioned sensor module may include sensors such as pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors and bone conduction sensors.
  • the electronic device may detect whether the user's ear is close to the receiver through sensors such as proximity light sensors (i.e., light sensors) and distance sensors.
  • the electronic device may detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone, and the distance between the obstruction and the screen through a distance sensor to determine whether the current user's ear is close to the receiver.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller a memory
  • video codec a digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated into one or more processors.
  • the controller can be the nerve center and command center of the mobile phone.
  • the controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
  • the processor 310 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 310 is a cache memory.
  • the memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
  • the processor 310 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the mobile phone.
  • the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the electronic device can determine the category of the current listening environment through the processor 310, and then adjust the frequency band of the earpiece and the frequency band of the screen according to the category to control the earpiece and the screen to emit sound.
  • the sound in the corresponding frequency band of the sound signal is played separately, thereby preventing electronic equipment from leaking sound when people listen to it in a quiet environment.
  • the charging management module 340 is used to receive charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342.
  • the power management module 341 is used to connect the battery 342, the charging management module 340 and the processor 310.
  • the power management module 341 receives input from the battery 342 and/or the charging management module 340 to power various components of the electronic device.
  • the wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the antenna 1 of the mobile phone is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the above-mentioned mobile communication module 350 can provide solutions for wireless communications including 2G/3G/4G/5G applied to mobile phones.
  • the mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 350 can receive electromagnetic waves from the antenna 1, and filter, amplify and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 350 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 can be set in the same device as at least some modules of the processor 310.
  • the wireless communication module 360 can provide wireless communication solutions for application in mobile phones, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • IR infrared technology
  • the wireless communication module 360 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 360 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 310.
  • the wireless communication module 360 may also receive a signal to be sent from the processor 310, modulate the signal, amplify the signal, and convert it into an electromagnetic wave for radiation via the antenna 2.
  • the wireless communication module 360 can also support the mobile phone for voice communication.
  • the mobile phone can access the Wi-Fi network through the wireless communication module 360, and then use any application that can provide voice communication services to interact with other devices to provide voice communication services for users.
  • the application that can provide voice communication services can be an instant messaging application.
  • the mobile phone can realize the display function through a GPU, a display screen 394, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 394 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 310 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 394 is used to display images, videos, etc.
  • the mobile phone can realize the shooting function through ISP, camera 393, video codec, GPU, display screen 394 and application processor.
  • ISP is used to process the data fed back by camera 393.
  • ISP can be set in The camera 393 is used to capture static images or videos.
  • the mobile phone may include 1 or N cameras 393, where N is a positive integer greater than 1.
  • the external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the internal memory 321 can be used to store computer executable program codes, which include instructions.
  • the processor 310 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 321.
  • the processor 310 can execute the instructions stored in the internal memory 321, and the internal memory 321 can include a program storage area and a data storage area.
  • the mobile phone can realize audio functions such as music playing and recording through the audio module 370, the speaker 370A, the receiver (ie, the handset) 370B, the microphone 370C, the earphone interface 370D, and the application processor.
  • the audio module 370 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio input into digital audio signals.
  • the audio module 370 can also be used to encode and decode audio signals.
  • the audio module 370 can be arranged in the processor 310, or some functional modules of the audio module 370 can be arranged in the processor 310.
  • the speaker 370A also known as the "speaker” is used to convert audio electrical signals into sound signals.
  • the receiver 370B also known as the "earpiece”, is used to convert audio electrical signals into sound signals.
  • the microphone 370C also known as the "microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the headphone interface 370D is used to connect wired headphones.
  • the headphone interface 370D can be a USB interface 330, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal
  • the receiver 370B may include the earpiece 101 and/or the screen sound device 104 shown in (a) of FIG. 2 .
  • the audio module 370 can convert the audio electrical signals received by the mobile communication module 350 and the wireless communication module 360 into sound signals.
  • the receiver 370B (i.e., "earpiece") of the audio module 370 plays the sound signal, and the screen sound device 396 drives the screen (i.e., display screen) to make screen sound to play the sound signal.
  • the electronic device can detect the sound intensity of the ambient sound in the current environment through the microphone 370C, so that the processor 310 can determine the category of the current listening environment according to the sound intensity of the detected ambient sound.
  • the buttons 390 include a power button, a volume button, etc.
  • the motor 391 can generate a vibration prompt.
  • the indicator 392 can be an indicator light, which can be used to indicate the charging status, power change, messages, missed calls, notifications, etc.
  • the SIM card interface 395 is used to connect a SIM card.
  • the mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the above is a specific description of the embodiment of the present application using the electronic device 100 as an example. It should be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the electronic device provided in the embodiments of the present application may be a user equipment (UE), for example, a mobile terminal (such as a user's mobile phone), a tablet computer, a desktop computer, a laptop computer, a handheld computer, a netbook, a personal digital assistant (PDA), and the like.
  • UE user equipment
  • a mobile terminal such as a user's mobile phone
  • a tablet computer such as a user's mobile phone
  • a tablet computer such as a user's mobile phone
  • a tablet computer such as a user's mobile phone
  • desktop computer such as a user's mobile phone
  • laptop computer such as a laptop computer
  • a handheld computer such as a tablet computer
  • netbook such as netbook
  • PDA personal digital assistant
  • the operating system of the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system or Windows operating system, etc. Applications can be installed and run on the operating system.
  • the operating system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
  • FIG. 4 is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, each with clear roles and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom: application layer (applications), application framework layer (application framework), Android runtime (Android Runtime) and system library, and kernel layer (kernel).
  • the application layer may include a series of application packages.
  • the application layer may include camera APP, gallery APP, calendar APP, map APP, navigation APP, WLAN, Bluetooth, music APP, video APP, short message APP, sports health APP and other applications (applications may be referred to as applications for short), and the embodiments of the present application do not impose any restrictions on this.
  • Applications in the application layer can be divided into system applications and non-system applications.
  • System applications can specifically include call apps, desktop apps, system user interfaces (SystemUI), etc.
  • Non-system applications can include game apps, map apps, short video apps, social apps, shopping apps, etc.
  • the application layer may also include a context awareness module, a business logic processing module, a business presentation module, etc.
  • the context awareness module, the business logic processing module, and the business presentation module may be independent APPs, or may be integrated in different APPs, or may be integrated in the same APP, which is not limited in the present application.
  • the context perception module which runs permanently or in a low-power form, has the ability to perceive external facts or environments.
  • the context perception module can detect related events and obtain the status of events from other applications in the application layer or the application framework layer or the system layer or the kernel layer through the application programming interface (API), such as detecting Bluetooth connections, network connections, monitoring user text messages, custom timers, etc.
  • API application programming interface
  • the main function of the context perception module is to monitor whether there is an incoming call event.
  • the context perception module can also be used to obtain the volume level when the phone was hung up last time.
  • the context perception module can also detect whether there is an operation to answer the call.
  • the context perception module can also obtain the value of the ambient sound.
  • the context perception module is also used to monitor the volume down key (volume-key) click (such as single click or double click) event triggered by the user.
  • the context perception module can notify the business logic processing module of the monitored information.
  • the business logic processing module (such as a computing engine) has business logic processing capabilities, and is used to perform data processing or logic judgment based on the information monitored by the context awareness module and the preset logic algorithm to achieve call volume adjustment and mode switching. For example, the business logic processing module receives an incoming call event and the system call volume, and determines whether the volume adjustment and mode switching conditions are met, thereby determining whether to adjust the volume and switch modes. The business logic processing module can also determine that the incoming call has been connected based on the operation of answering the call, and further determine whether the volume adjustment and mode switching conditions are met based on the value of the ambient sound, thereby determining whether to adjust the volume and switch modes. The specific judgment process will be described in detail below.
  • the business presentation module (such as YOYO suggestion) is used to display the volume bar and its changes on the screen of the mobile phone according to the instructions of the business logic processing module, and to display the switched mode after the mode is switched, such as when the privacy notification is turned on.
  • the business presentation module displays that the smart privacy call mode or the privacy call mode is turned on.
  • the business presentation module receives a command to display the volume bar sent by the business logic processing module, and notifies the window manager to display the volume bar on the electronic device.
  • the business presentation module can also present the volume size and changes in the volume bar; wherein the volume size is measured by the volume level, which will be described in detail below.
  • the business presentation module can also display the volume bar and volume changes in the call interface according to the event of clicking the volume down button triggered by the user.
  • the application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer.
  • the application framework layer includes some predefined functions. As shown in FIG4 , the application framework layer may include a call manager, a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, etc., and the embodiment of the present application does not impose any restrictions on this.
  • the call manager is used to manage the phone call status, obtain phone information (such as device information, user identification card information and network information), monitor the phone status (such as call status service status, signal strength status, etc.) and call the phone dialer to make calls.
  • phone information such as device information, user identification card information and network information
  • monitor the phone status such as call status service status, signal strength status, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • the view system can be used to display an incoming call notification interface and a call interface on the desktop.
  • the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify that the current call has turned on smart private calls. For example, a text message or a private call icon is displayed in the incoming call notification interface, call interface, or drop-down menu bar.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size and the size and shape of the volume bar, and determine whether the size and shape of the volume bar needs to be adjusted.
  • the activity manager is used to manage the life cycle of each application and the navigation fallback function. It is responsible for creating the Android main thread and maintaining the life cycle of each application.
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the execution subject of the call control method provided in the embodiment of the present application can be the above-mentioned electronic device, or a functional module and/or functional entity in the electronic device that can implement the call control method, and the present application scheme can be implemented in hardware and/or software, which can be determined according to actual use requirements and is not limited in the embodiment of the present application.
  • the following takes an electronic device as an example and illustrates the call control method provided in the embodiment of the present application in combination with the accompanying drawings.
  • An embodiment of the present application provides a call control method.
  • the answering volume is automatically adjusted to an appropriate volume level and a privacy call mode is enabled according to the call volume set by the system (referred to as the system call volume, which may be a volume level).
  • the mode can be automatically switched according to the ambient sound level, that is, in a quiet environment, the mode is automatically switched to the privacy call mode and the volume is automatically reduced, thereby reducing sound leakage; in a noisy environment, the mode is automatically switched to the normal mode and the volume is automatically increased, thereby ensuring call clarity; and during the call, the mode can also be switched between the privacy call mode and the normal mode in response to a manual trigger operation by the user according to the actual needs of the user. Therefore, the solution of the present application can meet the call needs of users in various scenarios.
  • the audio control method provided in the embodiment of the present application can be applied to voice call scenarios.
  • the voice call scenario can be an incoming call scenario, or a call scenario after an incoming call is answered, or an outgoing call scenario, or a call scenario after an outgoing call is answered.
  • it can also be any other possible voice call scenario, which is not limited by the embodiment of the present application.
  • the interfaces used in the above-mentioned various voice call scenarios are collectively referred to as voice call interfaces or call interfaces below.
  • the electronic device has the smart privacy call function turned on by default.
  • the privacy call mode can be directly enabled in the voice call scenario, or when the volume value of the electronic device is lower than or equal to the preset volume level (for example, volume level 8) in the voice call scenario.
  • the specific setting can be determined according to actual usage needs and is not limited in the embodiment of the present application.
  • the privacy call mode can combine the screen sound mode and the earpiece sound mode to output voice.
  • the voice output intensity corresponding to the screen sound mode is greater than or equal to the voice output intensity corresponding to the earpiece sound mode.
  • the privacy call mode can output voice only through the screen sound mode.
  • the screen sound mode can effectively prevent sound leakage during voice calls. Therefore, when the user is in a quiet environment to make a call, the user usually wants to reduce sound leakage. At this time, the privacy call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting the user's privacy.
  • the private call mode corresponding to the smart private call function may be enabled by default, and a prompt message related to the activation of the smart private call function may be displayed in the incoming call notification interface.
  • the prompt message may be text, an icon, or a combination of text and icon.
  • an introduction to the smart privacy call function can be displayed in a bubble box on the voice call interface each time the handset is used to make or receive a call (for example: ensuring call clarity while reducing sound leakage and protecting privacy); operation methods such as "Smart privacy call is on” and/or "Move closer to this area to hear more clearly” can also be displayed in a specific area (i.e., the sound area of the screen). These prompt messages introduce the smart privacy call function and guide users to use the smart privacy call function.
  • FIG. 5 shows a schematic diagram of an incoming call notification interface, as shown in (a) of FIG. 5.
  • the following prompt information is displayed in the incoming call notification interface 40: "Smart privacy call is turned on” 41, "While ensuring the call is clear, reduce sound leakage and protect privacy” 42 (located in the bubble box).
  • the following prompt information is displayed in the incoming call notification interface 40: "Get closer to this area to hear more clearly” 43 and "While ensuring the call is clear, reduce sound leakage and protect privacy" 42.
  • These prompt information are all used to indicate that the private call mode has been enabled.
  • Smart privacy call is turned on” 41 and “Get closer to this area to hear more clearly” 43 can be displayed alternately (i.e., in a carousel) in the incoming call notification interface 40. This allows users to learn about the smart privacy call function more quickly and learn to use it, thereby improving the human-computer interaction experience.
  • prompt information here is described for exemplary purposes only, and the specific content, display position, display quantity, display size, display style, etc. of the prompt information can be determined according to actual usage requirements, and the embodiments of the present application are not limited thereto.
  • the above prompt information can be displayed in the voice call interface of the first N call scenarios (for example, N is 3) after the smart privacy call function is turned on to guide the user to use the smart privacy call function, and can be canceled in subsequent call scenarios.
  • N for example, 3
  • the introduction to the smart privacy call function such as "ensuring clear calls while reducing sound leakage and protecting privacy" 42 can be canceled in the voice call interface.
  • the introduction information about the smart privacy call function is cancelled in the voice call interface, for example, the bubble box corresponding to "while ensuring clear calls, reducing sound leakage and protecting privacy" 42 disappears.
  • "Smart private call is turned on” can be a permanent prompt. That is, when the user clicks anywhere in the voice call interface (including the answer button), the prompt message "Smart private call is turned on” can remain displayed.
  • FIG6 shows a schematic diagram of the call notification interface and the voice call interface after answering the call.
  • the user clicks the answer key 44 in the call notification interface 40 to answer the call.
  • the call notification interface 40 switches to a voice call interface 45.
  • the following prompt information is displayed in the voice call interface 45: "Smart privacy call is turned on” 41 and an icon 46 indicating a private call.
  • the bubble box corresponding to "ensure clear calls while reducing sound leakage and protecting privacy" shown in FIG6 (a) disappears.
  • a notification card indicating that a voice call is in progress and a notification card indicating that the smart private call function is turned on are displayed in the menu bar.
  • FIG7 shows a schematic diagram of a notification card about the smart private call function displayed on the menu bar.
  • the user slides his finger downward in the direction of the arrow on the voice call interface 46 to pull down the menu bar.
  • a menu bar also called a notification interface or notification center
  • a notification card 47 and a notification card 48 are displayed in the menu bar.
  • the notification card 47 is used to indicate that a voice call is in progress
  • the notification card 48 is used to indicate that the smart private call function is turned on.
  • the call control method provided in the embodiments of the present application is also applicable to voice over Internet protocol (VoIP) based on IP.
  • VoIP voice over Internet protocol
  • FIG8 shows an interface diagram of a call scenario of a VoIP phone. As shown in FIG8 , “Smart privacy call is turned on” 51 and an icon 52 identifying a privacy call are displayed in the VoIP call interface 50, which are used to prompt that the current call scenario adopts the privacy call mode to realize voice output.
  • the above embodiments are illustrative using the incoming call scenario and the call scenario after answering the incoming call as examples. It can be understood that in actual implementation, the call control method provided in the embodiments of the present application is also applicable to the outgoing call scenario and the call scenario after answering the outgoing call.
  • the call control method provided in the embodiments of the present application is also applicable to the outgoing call scenario and the call scenario after answering the outgoing call.
  • the specific description related to the smart privacy call function please refer to the detailed description related to the smart privacy call function in the above-mentioned incoming call scenario and the call scenario after answering the incoming call, which will not be repeated here.
  • the call control method provided in the embodiment of the present application is also applicable to the scenario of playing voice messages.
  • some social applications support receiving or sending voice messages.
  • the smart privacy call function provided in the embodiment of the present application can also be applied to avoid sound leakage when playing voice messages.
  • the call control method provided in the embodiment of the present application is also applicable to the scenario of playing recordings.
  • the smart privacy call function provided in the embodiment of the present application can also be applied when playing recordings to avoid sound leakage during recording playback.
  • the smart privacy call function does not need to be enabled during a video call.
  • the call control method provided in the embodiment of the present application can be applicable to various scenarios in which the user needs to listen to the audio through the electronic device close to the ear, and the embodiment of the present application is not limited to this.
  • volume level division method involved in the privacy call mode in the embodiment of the present application the volume bar form corresponding to each level, and the mode correspondence.
  • the electronic device can divide different volumes into 10 levels, including level 1 to level 10, where the volume values corresponding to level 1 to level 10 increase step by step.
  • the volume value can be expressed in decibels (dB).
  • the number of volume levels, and the volume value or volume range corresponding to each level can be determined according to actual usage requirements, and are not limited in the embodiments of the present application.
  • the present application can set the mode corresponding to the volume level according to actual conditions.
  • Figure 9 shows a schematic diagram of the division of volume levels and the mapping relationship between each volume level and the volume value.
  • the volume level can be divided into levels 1 to 10.
  • the volume level range [level 1, level 8] corresponds to the privacy call mode
  • the volume level range [level 9, level 10] corresponds to the normal mode. That is, if the volume level is within the volume level range of [level 1, level 8], the privacy call mode is used to output the voice during the call; if the volume level is within the volume range of [level 9, level 10], the normal mode is used to output the voice during the call.
  • the volume values corresponding to levels 1 to 10 are: 16dB, 13dB, 10dB, 7dB, 4dB, 2dB, 0dB, -2dB, -5.8dB, -8.8dB.
  • 0dB can be understood as the reference volume
  • 16dB, 13dB, 10dB, 7dB, 4dB and 2dB can be understood as the reduction based on 0dB
  • -2dB, -5.8dB and -8.8dB can be understood as the increase based on 0dB.
  • each volume level can also correspond to other volume values.
  • mapping relationship between each volume level and the volume value is only an exemplary description. It can be understood that in actual implementation, the volume value corresponding to each volume level can be set according to actual usage requirements, and the embodiment of the present application is not limited thereto.
  • the earpiece and the screen sound device can be used to emit sound simultaneously.
  • the screen sound-emitting device is responsible for outputting high-frequency sounds
  • the earpiece is responsible for outputting medium and low-frequency sounds.
  • the earpiece and the screen sound device can respectively use different sound intensity ratios to produce sound.
  • the electronic device can play voice simultaneously using the screen sound as the main sound and the earpiece sound as the auxiliary sound; wherein the voice output intensity corresponding to the screen sound mode (for example, 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound mode (for example, 30%).
  • the electronic device when the electronic device is in normal mode, the electronic device can simultaneously play voice using the earpiece sound as the main sound and the screen sound as the auxiliary sound; wherein the voice output intensity corresponding to the earpiece sound mode (for example, 70%) is greater than the voice output intensity corresponding to the screen sound mode (for example, 30%).
  • the voice output intensity corresponding to the earpiece sound mode for example, 70%
  • the voice output intensity corresponding to the screen sound mode for example, 30%
  • the earpiece and the screen sound device can respectively use different sound intensity ratios to sound. For example, within the range of [level 1, level 8], the sound intensity ratios of the earpiece and the screen sound device can be set to be different.
  • the sound intensity ratio of the earpiece and the screen sound device can also be set to the same. It can be determined according to actual use requirements, and the embodiments of the present application are not limited.
  • the sound intensity ratio of the earpiece and the screen sound device is a first ratio (for example, 3:7).
  • the sound intensity ratio of the earpiece and the screen sound device is a second ratio (for example, 7:3). Among them, the second ratio is greater than the first ratio.
  • the mode switching is not limited to between levels 8 and 9, and can also be set according to actual needs.
  • it can also be preset that when the volume level is in the volume level range of [level 1, level 6], the privacy call mode is enabled; when the volume level is in the volume level range of [level 7, level 10], the normal mode is enabled.
  • a change in the volume level from level 6 to level 7 can trigger a switch from the privacy call mode to the normal mode; or a change in the volume level from level 7 to level 6 can trigger a switch from the normal mode to the privacy call mode.
  • the embodiments of the present application are illustrated by taking the example of triggering the switching between normal mode and private call mode according to the change of volume level. For example, when the volume level is greater than the volume level threshold, it switches to normal mode; when the volume level is less than or equal to the volume level threshold, it switches to private call mode. It can be understood that in actual implementation, the switching between normal mode and private call mode can also be triggered according to the change of volume value. For example, when the volume value (such as decibel value) is greater than the volume threshold (such as decibel threshold), it switches to normal mode; when the volume value is less than or equal to the volume threshold, it switches to private call mode.
  • the volume value such as decibel value
  • the volume threshold such as decibel threshold
  • the volume value can be represented by a volume bar. Based on the above example of volume level division, the possible forms of the volume bar corresponding to each volume level in the embodiment of the present application are described below.
  • volume levels are distinguished by different filling lengths in the volume bar. For example, the more filling in the volume bar, the higher the volume level, and in this case, the louder the voice output volume.
  • the volume bar When the volume bar is completely filled, corresponding to level 10, it means that the maximum volume has been reached. When the volume bar is not filled, it means muted.
  • the embodiment of the present application does not limit the display form, display color, display length, etc. of the volume bar in normal mode and private call mode.
  • different icons can be used to represent the private call mode and the normal mode for distinction.
  • the display position, display size, and display form of the icon used to identify the call mode can be determined according to actual usage requirements, and the embodiment of the present application does not limit this.
  • the icon used to identify the call mode can be Displayed below or above the volume bar.
  • FIG10 is a schematic diagram of volume bars corresponding to various volume levels shown in FIG9.
  • a schematic diagram of volume bars from level 1 to level 8 is shown, and levels 1 to 8 correspond to the private call mode.
  • FIG10(b) a schematic diagram of volume bars from level 9 to level 10 is shown, and levels 9 to 10 correspond to the normal mode.
  • the fill amount of the volume bar changes and the call mode icon also changes accordingly to prompt the user that the call mode has been switched, thereby improving the user experience.
  • the electronic device when switching between the private call mode and the normal mode, can prompt the user by displaying specific prompt information.
  • the electronic device when switching between the private call mode and the normal mode, can vibrate to prompt the user, thereby improving the user experience.
  • the call control method provided in the embodiment of the present application can automatically adjust the answering volume to an appropriate volume level and enable the privacy call mode according to the system call volume level when answering an incoming call.
  • the mode can be automatically switched according to the ambient sound level, that is, it automatically switches to the privacy call mode and automatically reduces the volume in a quiet environment, thereby reducing sound leakage; it automatically switches to the normal mode and automatically increases the volume in a noisy environment, thereby ensuring call clarity; and during the call, it can also switch between the privacy call mode and the normal mode according to the actual needs of the user and in response to the user's manual trigger operation. Therefore, the automatic adjustment method and manual adjustment method provided in the present application can realize mode switching according to actual usage needs and meet the user's call needs in various scenarios.
  • the embodiments of the present application provide an automatic adjustment method and a manual adjustment method. Based on the basic contents such as the above-mentioned volume level division, volume bar and mode correspondence, the call control method provided by the embodiments of the present application is introduced in combination with specific embodiments.
  • the electronic device obtains the call volume set by the system (referred to as the system call volume), and then determines whether to automatically adjust the volume and whether it is necessary to adjust the mode between the private call mode and the normal mode according to the size of the system call volume.
  • the system call volume can be the call volume when the call was hung up last time, or the volume after the user adjusts the "call volume” in the "sound and vibration" setting interface.
  • the system call volume can be specifically measured by volume level, for example, the system call volume can be a certain level of volume from level 1 to level 10.
  • call control rules may be preset:
  • the call volume after the call is connected will maintain the system call volume and enter the privacy call mode.
  • the system call volume when the system call volume is level 4, the call volume after the call is connected will remain at level 4 and enter the privacy call mode.
  • the system call volume is level 7
  • the call volume after the call is connected will remain at level 7 and enter the privacy call mode.
  • the call volume after the call is connected is reduced to the preset volume (for example, level 8) and the private call mode is entered.
  • the preset volume for example, level 8
  • the call volume after the call is connected is automatically reduced to level 8 and the private call mode is entered.
  • the electronic device monitors the ambient sound (also called ambient noise or ambient sound or ambient noise, etc.), and then the electronic device determines whether to automatically adjust the ambient sound according to the size of the ambient sound.
  • the volume is adjusted and private call mode and normal mode are switched accordingly.
  • the electronic device in a call scenario after an incoming call is connected, the electronic device will be triggered to collect ambient sound only when the current call output volume is level A (such as level 8 or level 9), and then determine whether to automatically adjust the volume and whether to perform mode adjustment based on the size of the ambient sound.
  • level A such as level 8 or level 9
  • the electronic device collects ambient sound, and then determines whether to automatically increase the volume and whether it is necessary to switch from the privacy call mode to the normal mode based on the size of the ambient sound. Specifically, when the ambient sound is greater than a certain ambient sound threshold (such as 55dB), it means that the electronic device is in a noisy environment, and the electronic device needs to output the other party's call voice at a high volume to ensure a clear call. In this case, the electronic device can automatically increase the volume and switch from the privacy call mode to the normal mode.
  • a certain ambient sound threshold such as 55dB
  • the electronic device collects ambient sound, and then determines whether to automatically reduce the volume and whether it is necessary to switch from normal mode to private call mode based on the size of the ambient sound. Specifically, when the ambient sound is less than or equal to a certain ambient sound threshold (such as 55dB), it means that the electronic device is in a quiet environment. If the voice is output in normal mode, there may be a risk of call voice leakage. It is necessary to ensure call privacy. In this case, the electronic device can automatically switch to private call mode and reduce the volume.
  • a certain ambient sound threshold such as 55dB
  • FIG12 shows a schematic diagram of a call control method provided by an embodiment of the present application by controlling volume and mode.
  • the handset and the screen sound device when the system call volume is at level 8, when an incoming call is connected, the handset and the screen sound device emit sound at a first ratio and level 8, and enter the private call mode.
  • the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits the private call mode. In this case, the handset and the screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device reduces the system call volume to level 8 and enters the private call mode again.
  • the ambient sound threshold such as 55dB
  • the handset and the screen sound device when the system call volume is at level 9, when an incoming call is connected, the handset and the screen sound device emit sound at a first ratio and level 8, and enter the private call mode.
  • the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits the private call mode. In this case, the handset and the screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device reduces the system call volume to level 8 and enters the private call mode again.
  • the ambient sound threshold such as 55dB
  • the handset and the screen sound device when the system call volume is at level 10, when an incoming call is connected, the handset and the screen sound device emit sound at a first ratio and level 8, and enter the private call mode.
  • the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits the private call mode. In this case, the handset and the screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device reduces the system call volume to level 8 and enters the private call mode again.
  • the ambient sound threshold such as 55dB
  • the electronic device can The volume can be adjusted to level 8 before answering the call, or it can be adjusted to level 8 after the call is answered.
  • the specific setting can be based on actual needs, and the embodiment of the present application does not limit this.
  • FIG 13 shows a timing diagram of a call control method provided in an embodiment of the present application.
  • the call control method includes S101 to S114.
  • the modules involved include call service, call APP, basic service, playback control module, volume control module and decision center.
  • the privacy call function When the privacy call function is turned on, the following solution can be executed when a call notification is received or when a call is answered: Based on the system call volume, determine whether the volume level needs to be adjusted for this call (answering) and whether to enable the privacy call mode to avoid sound leakage during the call.
  • S102 The call service receives an incoming call signal.
  • the call APP is started and triggers the display of an incoming call notification interface on the desktop.
  • An answer button is displayed in the incoming call notification interface, and the answer button is used to trigger answering the incoming call.
  • S104 The call service instructs the playing control module to play a ring tone.
  • the play control module plays the incoming call ring tone.
  • the call service notifies the basic service of the incoming call signal.
  • the basic service obtains the system call volume.
  • the system call volume can be measured by a volume level, for example, the system call volume level can be any level from 1 to 10.
  • the basic service notifies the decision center of the system call volume (specifically, the volume level).
  • S108 The decision center determines whether the system call volume is greater than a volume level threshold.
  • the volume level threshold may be set to level 8.
  • the decision center When the system call volume is greater than the volume level threshold, the decision center notifies the volume control module to reduce the volume to level 8 and enter the private call mode.
  • the level of the system call volume can be any one of level 1 to level 8. Assuming that the system call volume is level 7, the system call volume can be maintained at level 7 to enter the private call mode.
  • the call APP receives an operation in which the user clicks the answer button.
  • the call APP notifies the volume control module of the incoming call connection signal.
  • S113 The volume control module instructs the playback control module to adopt the private call mode.
  • the playback control module outputs voice in a private call mode during a call.
  • the earpiece and the screen sound device emit sound at the first ratio and level 8 volume, or emit sound at the first ratio and level 8 or less.
  • the electronic device receives an incoming call notification and displays an incoming call notification interface.
  • the incoming call notification interface displays a prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default. Once the incoming call is connected, the "Smart Privacy Call Mode" can be used to output voice.
  • the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device emit sound at a first ratio and 6 levels of volume, and is now in a private call mode.
  • the first ratio is 3:7. It should be noted that the earpiece and the screen generating device emit sound at the first ratio and level 6 volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound emitted by the two is level 6 volume; in the total volume, the sound intensity of the earpiece accounts for 3, and the sound intensity of the screen generating device accounts for 7.
  • the electronic device receives a volume-up operation from the user.
  • the electronic device turns up the volume, for example, to level 10 (or level 9), in which case the receiver and screen generating device of the electronic device emit sound at the second ratio and level 10, and the private call mode is exited.
  • the second ratio is greater than the first ratio.
  • the second ratio is 7:3. It should be noted that the earpiece and the screen generating device emit sound at the second ratio and 10 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound emitted by the two is 10 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 7, and the sound intensity of the screen generating device accounts for 3.
  • the electronic device receives the user's operation of hanging up the call and ends the call.
  • the electronic device receives the incoming call notification again and displays the incoming call notification interface.
  • the incoming call notification interface displays the prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default.
  • the "Smart Privacy Call Mode” can be used to output voice.
  • the electronic device In response to the user's answering operation, as shown in (g) of FIG. 14 , the electronic device answers the incoming call, and the receiver and screen generating device of the electronic device emit sound at a third ratio and level 8 volume, and is now in a private call mode.
  • the third ratio is smaller than the second ratio.
  • the third ratio may be the same as or different from the first ratio.
  • the third ratio may be 4:6. It should be noted that the earpiece and the screen generating device emit sound at the third ratio and 8 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound emitted by the two is 8 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 4, and the sound intensity of the screen generating device accounts for 6.
  • volume level of the system call volume and the sound ratio value of the earpiece and the screen generating device in Figure 14 are all exemplary illustrations. In actual implementation, they can be set or confirmed according to actual conditions, and the embodiments of this application are not limited thereto.
  • the electronic device can continuously collect ambient sound during a call and automatically adjust the volume according to changes in the ambient sound.
  • a preset ambient sound threshold and the listening volume is high (e.g., level 9)
  • the volume needs to be automatically reduced and the private call mode needs to be entered when the ambient sound is greater than the preset ambient sound threshold and the listening volume is low (e.g., level 8), it can be determined that the volume needs to be automatically increased and the private call mode needs to be exited.
  • the following is a detailed description of the implementation process of automatically adjusting the volume according to the system call volume or according to the changes in the ambient sound level after the call is connected, combined with the mobile phone interface diagram.
  • the fixed volume preset by the "smart privacy call mode" (for example, a fixed volume of level 6) is used to output the voice by default, in the embodiment of the present application, the current answering volume can be automatically adjusted according to the size of the system call volume when the call is connected.
  • the electronic device automatically adjusts the answering volume in different scenes (noisy scenes or quiet scenes) according to the changes in the ambient sound.
  • the electronic device receives an incoming call notification and displays an incoming call notification interface.
  • the incoming call notification interface displays a prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default. Once the incoming call is connected, the "Smart Privacy Call Mode" can be used to output voice.
  • the electronic device displays the answer interface, and the prompt message "Smart Privacy Call Mode” is still displayed in the answer interface, indicating that the "Smart Privacy Call Mode” has been enabled for this call, and the current volume is still maintained at level 6.
  • the system call volume is determined to be level 9 when a call comes in, which is relatively loud and exceeds the volume range corresponding to the privacy call mode, it is necessary to lower the volume after answering the call, so that the user's usage habits can be met as much as possible when outputting voice and the privacy of the call can be guaranteed.
  • the electronic device displays the answer interface, and the prompt message "Smart Privacy Call Mode” is still displayed in the answer interface, indicating that the "Smart Privacy Call Mode" has been enabled for this call, and the electronic device automatically adjusts the answer volume to level 8 in the background.
  • the electronic device maintains the listening volume at level 8 and maintains the "smart privacy call mode".
  • the electronic device automatically increases the listening volume to level 9, automatically exits the "smart privacy call mode", and changes to normal mode.
  • the call interface displays the prompt message "Turn down the volume to enter the smart privacy call", instead of displaying "smart privacy call mode", and the status bar in the call interface no longer displays the privacy call icon.
  • volume bar is not displayed in the call notification interface and the answering interface in the automatic adjustment mode.
  • the volume adjustment of the electronic device is completed in the background, without the need for user triggering operation, which improves the user experience.
  • the electronic device can automatically determine whether to switch modes and adjust the volume according to the ambient sound.
  • Figure 16 shows a schematic flow chart of automatically switching modes according to changes in ambient sound. Combined with Figure 13, as shown in Figure 16, after S114, the call control method also includes S115-S119.
  • the decision center determines whether the ambient sound is greater than the ambient sound threshold.
  • the ambient sound threshold may be 55 dB.
  • the decision center instructs the volume control module to switch to normal mode (the volume level is increased to level 9).
  • the volume control module instructs the playback control module to adopt the normal mode.
  • the playback control module outputs the voice in a normal mode during a call.
  • the decision center determines to maintain the private call mode.
  • the electronic device displays a call interface, the current listening volume is level 8, and the privacy call is used.
  • the voice output is switched to the smart private call mode, and the private call icon and prompt information are displayed in the call interface.
  • the smart private call mode is automatically exited, and the volume is automatically increased (such as reduced to level 9). After the mode is switched, the private call icon and prompt information disappear in the call interface.
  • the electronic device displays a call interface, the current listening volume is level 9, and the normal mode is used for voice output.
  • the normal mode is used for voice output.
  • the electronic device displays a call interface, the current listening volume is level 9, and the normal mode is used for voice output.
  • the ambient sound is less than or equal to the threshold, it automatically switches to the smart privacy call mode and automatically reduces the volume (such as to level 8).
  • the private call icon and prompt information are displayed in the call interface, indicating that the "smart privacy call mode" has been enabled for this call.
  • the privacy call mode when the privacy call mode is currently used and the ambient sound is detected to be greater than the ambient sound threshold and lasts for more than a certain time, the privacy call mode can be switched to the normal mode; or, when the normal mode is currently used and the ambient sound is detected to be less than or equal to the ambient sound threshold and lasts for more than a certain time, the normal mode can be switched to the privacy call mode. This can avoid switching modes back and forth in a short period of time, thereby improving the user experience.
  • the user may adjust the call volume in the settings interface; in this case, when the incoming call or outgoing call is connected, the electronic device preferentially adopts the private call mode.
  • the user adjusts the call volume to level 9 in the sound and vibration settings interface, as shown in (c) and (d) in Figure 18, when the incoming call (or outgoing call) is connected, the electronic device preferentially switches to the private call mode, and automatically adjusts the level 9 volume to level 8, and the handset and the screen sound device sound together, and output the call voice at a first ratio (e.g., 3:7) and at a level 8 volume, and in subsequent calls, it can also trigger switching between the private call mode and the normal mode according to the volume of the ambient sound.
  • a first ratio e.g., 3:7
  • the user may adjust the call volume in the settings interface.
  • the electronic device can maintain the system call volume set by the user until the user adjusts the call volume during the call to switch between the two modes.
  • the electronic device determines whether to automatically adjust the volume and whether it is necessary to adjust the mode between the private call mode and the normal mode based on the size of the system call volume, as shown in Figures 11-17.
  • the user adjusts the call volume to level 10 in the settings interface.
  • the electronic device emits sound at level 10 and the corresponding ratio (the ratio of the receiver and the screen sound) after the call is connected.
  • the electronic device maintains the volume manually set by the user in the system settings, such as level 10.
  • the electronic device enters the private call mode.
  • the electronic device determines the call mode and volume according to the method shown in Figures 11-17.
  • the second embodiment is a solution further added on the basis of the first embodiment. It should be noted that when the private call function is turned on, the electronic device can automatically decide whether to adjust the volume and whether to adjust the mode. When the user triggers the volume adjustment or the mode adjustment, the electronic device switches from the automatic adjustment mode to the manual adjustment mode, and then adjusts the volume and mode according to the user's manual adjustment mode.
  • the user can press a physical volume button of the electronic device to trigger a volume reduction or volume increase, thereby triggering a call mode switch between a private call mode and a normal mode.
  • the user can slide on the volume bar displayed on the screen to trigger turning up or down the volume, thereby triggering switching the call mode between the private call mode and the normal mode.
  • the electronic device can display a volume bar in response to the user operation.
  • the filling amount of the volume bar will increase. For example, if the volume bar changes from level 8 to level 9, the private call mode will be automatically exited and normal mode will be entered, that is, the private call mode will be switched to normal mode.
  • the filling amount of the volume bar will decrease. For example, if the volume bar changes from level 9 to level 8, the normal mode will be switched to the private call mode.
  • the private call mode and the normal mode can be switched according to the output volume level or range of the electronic device.
  • the electronic device can predefine the following rules:
  • the private call mode is automatically enabled; when the output volume level of the electronic device is greater than the preset volume level, or when the output volume level of the electronic device is within the preset second volume level range (e.g., [level 9, level 10]), the private call mode is automatically exited and the normal mode is entered.
  • the volume values corresponding to each level in the second volume level range are greater than the volume values corresponding to each level in the first volume level range.
  • the privacy call mode when receiving an operation of lowering or raising the volume from the user, if it is determined that the adjusted volume level is less than or equal to the preset volume level (e.g., level 8), the privacy call mode is enabled, for example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (e.g., the intensity of the screen sound is greater than the intensity of the earpiece sound) to avoid sound leakage and improve the user's call experience.
  • the preset volume level e.g., level 8
  • the normal mode is enabled, for example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (e.g., the intensity of the earpiece sound is greater than the intensity of the screen sound) to ensure a good sound effect and improve the user's call experience.
  • the preset volume level e.g., level 8
  • FIG. 19 shows an interface schematic diagram for adjusting the volume by pressing a physical volume button to trigger a mode switch.
  • the user can trigger a volume reduction by pressing the physical volume button - of the electronic device.
  • the electronic device switches the call mode to the private call mode in response to the user operation, and displays a volume bar 61 and a private call icon 62 in the call interface, the volume bar 61 showing a volume reduction change, and the answering volume level is reduced to, for example, level 6.
  • call privacy can be guaranteed.
  • FIG. 19 shows an interface schematic diagram for adjusting the volume by pressing a physical volume button to trigger a mode switch.
  • a volume bar 61 and a private call icon 62 are displayed in the call interface. Assuming that the current answering volume level is level 6, the user presses the volume + button. Then, as shown in (d) of FIG. 19 , the electronic device switches the call mode to the normal mode in response to the user operation, and displays a volume bar 61 and a high volume icon 63 in the call interface.
  • the volume bar 61 shows a volume increase change, and the answering volume level is level 9. In the normal mode, call clarity can be guaranteed.
  • FIG20 shows a schematic diagram of an interface for adjusting the volume by pressing the volume bar to trigger a mode switch.
  • the current answering volume level is level 9
  • the user can trigger a volume reduction by dragging the adjustment button on the volume bar.
  • the volume is reduced to level 6, and the call mode is switched from normal mode to private call mode.
  • the volume bar 61 and the private call icon 62 will be automatically hidden after a certain period of time.
  • the call control provided by this application can enable the private call mode when the output volume level of the electronic device decreases to less than or equal to the preset volume level to avoid sound leakage during voice calls.
  • the private call mode is exited and the normal mode is entered to ensure the high-volume playback effect.
  • the automatic adjustment mode is still enabled by default, that is, the method in the first embodiment is still executed.
  • the "Smart Privacy Call Mode” can only be enabled and disabled in the call connection scenario.
  • the “Smart Privacy Call Mode” cannot be set in the call notification or missed call scenarios, and the call volume cannot be adjusted. Only the media volume can be controlled.
  • the embodiment of the present application provides the following functions: in this incoming call scenario, in response to the user pressing the volume button or the power button, the electronic device can enable the "smart privacy call mode" or "normal mode” before the call is connected, that is, the call volume can be adjusted before the call is connected.
  • the present application solution provides more scenarios that can trigger the activation of the "smart privacy call mode".
  • the electronic device when the "smart privacy call mode" is not turned on, before an incoming call is answered or when an incoming call is notified, the electronic device can quickly enable the "smart privacy call mode" in response to the user double-clicking the volume down button.
  • the electronic device receives an incoming call and displays an incoming call notification interface, and displays a prompt message in a preset area of the screen (e.g., near the physical volume button): "Double-click to quickly enter the smart privacy call".
  • a preset area of the screen e.g., near the physical volume button
  • the electronic device can lower the call volume, for example, automatically lower it to level 8, and the electronic device enables the smart privacy call function, and displays a prompt message "Smart privacy call mode is turned on" in the incoming call notification interface. At this time, the incoming call ringtone is muted.
  • the electronic device adopts the smart privacy call mode and outputs voice at the lowered system call volume.
  • the electronic device may not adjust the system call volume after the user double-clicks the volume down button.
  • the electronic device uses the smart privacy call mode and outputs voice at the unadjusted system call volume.
  • the electronic device can adjust the volume before the call is answered or after the call is answered.
  • the specific settings can be made according to actual needs, and the embodiments of the present application are not limited to this.
  • the electronic device before an incoming call is connected or when an incoming call is notified, in response to a user double-clicking the volume down button, the electronic device can directly and automatically answer the incoming call without the user clicking the answer control, and the system call volume is lowered in the above manner. Or keep the system call volume and quickly enable "Smart Privacy Call Mode".
  • FIG22 shows another timing diagram of the call control method provided by an embodiment of the present application.
  • the call control method includes S201 to S210.
  • the modules involved include call service, call APP, basic service, playback control module and volume control module.
  • the call service receives an incoming call signal.
  • the call APP is started and triggers the display of an incoming call notification interface on the desktop.
  • An answer button is displayed in the incoming call notification interface, and the answer button is used to trigger answering the incoming call.
  • S203 The call service instructs the playing control module to play a ring tone.
  • the play control module plays the incoming call ring tone.
  • S204 The basic service receives an operation of double-clicking the volume down button by the user.
  • the basic service notification playback control mode sets the incoming call ring tone to mute.
  • the basic service notifies the volume control mode to enable the private call mode.
  • the system call volume is at level 9 or level 10
  • the electronic device when the electronic device receives an incoming call notification, if the user double-clicks the volume down button, the electronic device will reduce the system call volume to level 8, and after the call is connected, the sound will be output at level 8. It can be understood that since level 8 corresponds to the private call mode, the private call mode will be automatically enabled accordingly.
  • the system call volume is within the range of [level 1, level 8]
  • the electronic device receives an incoming call notification
  • the system call volume is level 6. If the user double-clicks the volume down button, the electronic device maintains the system call volume at level 6, and outputs sound at level 6 after the call is connected. It can be understood that since level 6 corresponds to the private call mode, the private call mode will be automatically enabled accordingly.
  • the call APP notifies the volume control module of the incoming call connection signal.
  • S209 The volume control module instructs the playback control module to adopt the private call mode.
  • the playback control module outputs voice in a private call mode during a call.
  • the electronic device when the "smart privacy call mode" is not enabled, when a call comes in, the electronic device can respond to the user clicking the volume down button to mute the incoming call ringtone; the electronic device can respond to the user clicking the volume down button again to display a volume bar in the incoming call notification interface.
  • the user can trigger the "smart privacy call mode" to be quickly enabled by operating the volume bar to adjust the volume.
  • the electronic device receives an incoming call, displays an incoming call notification interface, and displays a prompt message: “Turn down the volume to enter the smart privacy call”.
  • the electronic device processes the incoming call ringtone to be silent.
  • the electronic device displays a volume bar in the incoming call notification interface.
  • the electronic device in response to the user's operation on the volume bar, the electronic device turns down the volume and enables the smart privacy call function, and as shown in (e) of FIG. 23 , displays a prompt message “Smart privacy call mode is turned on” in the incoming call notification interface.
  • the electronic device uses the smart privacy call mode for voice output.
  • a privacy call switch may be displayed in the incoming call notification interface, and the electronic device may quickly turn on or off the "smart privacy call mode" in response to the user's operation of the privacy call switch.
  • a privacy call switch may also be displayed in the call interface of the incoming call, and the electronic device may quickly turn on or off the "smart privacy call mode" in response to the user's operation of the privacy call switch.
  • FIG24 shows an interface diagram for triggering a privacy call switch on an incoming call page.
  • the electronic device receives an incoming call and displays an incoming call notification interface, in which a privacy call switch and a prompt message "The privacy call mode is turned on, and the call leakage is smaller. Click to turn it off" are displayed.
  • the privacy call switch indicates that the privacy call mode is turned on.
  • the privacy call switch updates the display state (for example, from dark to light), and the privacy call switch indicates that the privacy call mode is turned off.
  • the electronic device displays a volume bar and a high volume icon in the incoming call notification interface. Further, when the user clicks the answer key, as shown in (d) of FIG24, the electronic device displays a call interface, and the privacy call switch is still displayed in the call interface. Optionally, a prompt message "Click to turn on the privacy call mode, and the call leakage is smaller" can be displayed in the area near the privacy call switch.
  • the display method of the privacy call switch in the embodiment of the present application is only an example, and the present application is not limited thereto.
  • the privacy call switch can also be displayed in the form of a capsule in the status bar at the top of the display interface.
  • FIG. 25 shows an interface diagram of triggering a privacy call switch on a call page.
  • the electronic device displays a call interface, in which a privacy call switch and a prompt message “Click to turn on the privacy call mode, and the call will leak less sound” are displayed.
  • the privacy call switch indicates that the privacy call mode is in the off state.
  • the privacy call switch updates the display state, and the privacy call switch indicates that the privacy call mode is in the on state (for example, from light to dark).
  • the electronic device displays a volume bar and a call privacy icon in the incoming call notification interface.
  • the electronic device uses the privacy call mode for voice output.
  • a prompt message “The privacy call mode has been turned on, and the call will leak less sound. Click to turn it off” may be displayed in the area near the privacy call switch.
  • the volume bar will automatically hide after a certain period of time.
  • a privacy call switch can be displayed in the outgoing call interface, and the electronic device can quickly turn on or off the "smart privacy call mode" in response to the user's operation of the privacy call switch.
  • a privacy call switch can also be displayed in the call interface after the outgoing call is connected, and the electronic device can quickly turn on or off the "smart privacy call mode" in response to the user's operation of the privacy call switch.
  • a volume bar and a prompt message “Turn down the volume to enter the smart privacy call mode” will pop up immediately in the call interface.
  • the user can choose to turn down the volume to trigger the electronic device to enable the smart privacy call mode, or not adjust the volume to not enable the smart privacy call mode according to actual usage needs.
  • Figure 26 shows an interface diagram of the incoming call page prompting the user to turn on the private call mode.
  • the electronic device receives an incoming call and displays the incoming call page.
  • the answer button as shown in (b) of Figure 26
  • the electronic device displays a call interface, and the call interface displays a volume bar, a high volume icon, and a prompt message "Turn down the volume to enter smart private call mode".
  • the user has the following two options: As shown in (c) of Figure 26 and (d) of Figure 26, the user can operate on the volume bar to lower the volume, which can trigger the entry of the private call mode.
  • Privacy call mode or, as shown in (e) in Figure 26, if the user does not operate on the call interface or clicks on a blank area of the call interface, the privacy call mode will not be entered.
  • the above embodiments are described with reference to the incoming call scenario as an example. In actual implementation, the above embodiments are also applicable to the outgoing call scenario.
  • a volume bar and a prompt message "lower the volume to enter the smart privacy call mode” may pop up immediately in the call interface to guide the user to enable the smart privacy call mode by adjusting the volume bar. Users can choose to lower the volume to trigger the electronic device to enable the smart privacy call mode according to actual usage needs.
  • the electronic device can control the display screen to turn off to prevent accidental touches.
  • FIG27 shows an interface diagram of prompting to turn on the privacy call mode on the outgoing call page.
  • the electronic device displays the outgoing call page.
  • the call interface displays a volume bar, a large volume icon, and a prompt message "lower the volume to enter the smart privacy call mode".
  • the user has the following two options: as shown in (c) of FIG27 and (d) of FIG27 , the user operates on the volume bar to lower the volume, which can trigger the entry into the privacy call mode; or, as shown in (e) of FIG27 , the user does not operate on the call interface or clicks on a blank area of the call interface, and the privacy call mode will not be entered.
  • the privacy call mode can be automatically enabled when the output volume level of the electronic device is lower than the preset volume level. That is to say, in a voice call scenario, when the output volume level of the electronic device is lower than the preset volume level, it automatically switches to the privacy call mode and uses the voice output method corresponding to the privacy call mode (for example, the screen and the receiver jointly sound, such as the screen sound intensity is greater than the receiver sound intensity) to output the voice, so as to avoid sound leakage during the voice call.
  • the voice output method corresponding to the privacy call mode for example, the screen and the receiver jointly sound, such as the screen sound intensity is greater than the receiver sound intensity
  • the mode when it is sensed that the user has triggered the volume reduction operation multiple times in a row, the mode may be automatically switched to the privacy call mode, and the voice output method corresponding to the privacy call mode may be used (for example, sound is output through the screen and the earpiece together, such as the screen sound intensity is greater than the earpiece sound intensity) to output the voice, so as to avoid sound leakage during the voice call.
  • the voice output method corresponding to the privacy call mode may be used (for example, sound is output through the screen and the earpiece together, such as the screen sound intensity is greater than the earpiece sound intensity) to output the voice, so as to avoid sound leakage during the voice call.
  • the overall sound volume (or loudness or intensity) can be increased based on the volume corresponding to the private call mode to improve the voice playback effect.
  • the overall sound loudness when sound is emitted through the receiver and the screen in the normal mode is greater than the overall sound loudness when sound is emitted through the receiver and the screen in the private call mode.
  • the screen sound method can effectively prevent sound leakage during voice calls. Therefore, when users are making calls in a quiet environment, users usually want to reduce sound leakage. At this time, the private call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting user privacy.
  • the electronic device when the electronic device is in the private call mode, when the electronic device receives a user click on the speaker icon, it can switch to the speaker mode, that is, the speaker is used to output the voice, and the screen and the receiver are silent.
  • the electronic device when the electronic device receives a user click on the speaker icon, it can exit the speaker mode and re-enter the private call mode.
  • FIG28 shows a schematic diagram of a voice call interface after answering an incoming call, in which The following prompt message is displayed: "Smart privacy call is turned on" 71 and an icon 72 indicating a privacy call.
  • the mobile phone in response to the user's operation of the speaker key 73, the mobile phone turns on the hands-free function, and the voice is played through the speaker at this time, and the screen and the receiver are silent, and the prompt message "Smart privacy call has been exited" 74 may be displayed in the voice call interface, and accordingly, "Smart privacy call is turned on” 71 and the icon 72 indicating a privacy call will be cancelled.
  • the prompt message "Smart privacy call has been exited" 74 will be hidden after being displayed for a certain period of time (for example, 5 seconds).
  • the user can click the speaker key 73 in the voice call interface again to trigger the speaker to be turned off.
  • the mobile phone in response to the user's operation on the speaker key 73, the mobile phone switches from the speaker mode to the private call mode. In this way, the switching between the private call mode and the normal mode is achieved.
  • FIG. 29 shows a schematic diagram of an interface for triggering a switch from a privacy call mode to a speaker mode by operating on a notification card of the smart privacy call function.
  • the user slides his finger downward in the direction of the arrow on the voice call interface to pull down the menu bar.
  • a menu bar also called a notification interface
  • the notification card 75 is used to indicate that a voice call is in progress.
  • the user can click on the hands-free mark 76 in the notification card 75 to trigger the hands-free function.
  • the electronic device provides a setting interface for the smart privacy call function, and the user can trigger the smart privacy call function to be turned on or off in the setting interface according to actual usage needs.
  • FIG. 30 shows a schematic diagram of entering the setting interface of the smart privacy call function through the notification card of the smart privacy call function.
  • the user slides his finger downward in the direction of the arrow on the voice call interface to pull down the menu bar.
  • a menu bar also called a notification interface
  • a notification card 77 is displayed in the menu bar.
  • the notification card 77 is used to indicate that the smart privacy call function is turned on.
  • the user can click on the notification card 77 to set the smart privacy call function.
  • the setting interface 78 of the smart privacy call function is jumped from the menu bar interface.
  • the setting interface 78 includes a switch control 79 of the smart privacy call function.
  • the switch control 79 currently indicates that the smart privacy call function is turned on.
  • the user can operate the switch control 79 (for example, a sliding operation in the direction of the arrow in the figure) to trigger the closing of the smart privacy call function.
  • voice call scenario applied in the above embodiment is used as an example for illustrative description. It can be understood that the solutions provided in the above embodiment regarding switching between the privacy call mode and the speaker mode, as well as the function setting of the privacy call mode, can also be applied to the voice call scenario of VoIP.
  • the electronic device can determine whether to enable the private call mode or the normal mode according to different volume levels, and can choose to make sounds through the earpiece and/or the screen. For example, when the volume level set by default or the volume level adjusted by the user is less than or equal to the preset volume level, the private call mode is enabled, and the audio can be played through the earpiece and the screen at different sound intensities in the private call mode. Sound, for example, the screen sound intensity is greater than the earpiece sound intensity. When the volume level set by default for the electronic device or the volume level adjusted by the user is greater than the preset volume level, the normal mode is enabled.
  • voice can also be played through the earpiece and screen with different sound intensities, for example, the earpiece sound intensity is greater than the screen sound intensity.
  • the earpiece sound and the screen sound are used complementary to each other, so that when the electronic device plays voice, it can avoid sound leakage in a quiet environment and have good sound quality. This can well protect the user's privacy and make the electronic device more private when the user listens to the sound with their ear close to their ear.
  • the mobile phone when a user puts a mobile phone to the ear to listen to audio, or the user selects the handset mode (i.e., the mode in which the mobile phone plays audio through the handset), the mobile phone can determine whether the current volume level is greater than the preset volume level, and determine whether to enable the private call mode or the normal mode according to the determination result.
  • the handset mode i.e., the mode in which the mobile phone plays audio through the handset
  • the user listens to the sound by putting the ear close to the mobile phone (i.e., the mobile phone is in the state of listening to the sound close to the ear), which can be that the user's ear is close to the receiver, and the audio data (such as recording data, song data, etc.) stored in the mobile phone is listened to through the receiver of the mobile phone.
  • voice communication can be voice communication with other electronic devices through the phone function in the mobile phone, or voice communication with other electronic devices through the instant messaging application installed in the mobile phone
  • the mobile phone listens to the sound data transmitted by the mobile phone of the opposite user through the receiver of the mobile phone.
  • the user's ear is close to the receiver, and the voice message in the instant messaging application is listened to through the receiver of the mobile phone.
  • the mobile phone receives voice messages from other mobile phones through the instant messaging application.
  • the mobile phone can display the chat interface of the instant messaging application, and the chat interface includes voice messages from other mobile phones.
  • the mobile phone can play the voice message (i.e., sound signal) from other mobile phones through the receiver.
  • the mobile phone can detect whether the user's ear is close to the receiver through sensors such as light sensors and distance sensors. For example, the mobile phone can detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone through a distance sensor. If there is an obstruction at a close distance in front of the front panel, it can be determined that the current user's ear is close to the receiver. For another example, when the mobile phone light sensor detects that the light intensity decreases instantly and changes greatly, it can be determined that the current user's ear is close to the receiver.
  • the mobile phone can also detect whether the user's ear is close to the receiver through other methods or algorithms, and can also refer to the relevant introduction in conventional technology, which is not limited here.
  • the mobile phone when a user uses a mobile phone to listen to audio by placing it close to the ear, the mobile phone can also display various listening modes for the user to select, so that the user can manually select a listening mode according to actual usage needs, triggering the mobile phone to execute the corresponding sound playback strategy for the earpiece and screen.
  • the listening mode can include a private call mode and a normal mode.
  • the mobile phone after the mobile phone receives the operation of selecting a listening mode input by the user, it can directly use the corresponding sound playing strategy to play the sound.
  • Each listening mode uses a corresponding sound playing strategy.
  • the private call mode can use the sound playing strategy of the earpiece and the screen to play the sound, and the screen sound intensity can be greater than or equal to the earpiece sound intensity. That is, the mobile phone can use the screen sound as the main sound and the earpiece sound as the auxiliary sound to play the voice at the same time.
  • the private call mode can also use only the screen sound.
  • the normal mode can use the sound playing strategy of the earpiece and the screen to play the sound, wherein the earpiece sound intensity can be greater than the screen sound intensity. That is, the mobile phone can use the earpiece sound as the main sound and the screen sound as the auxiliary sound to play the voice at the same time.
  • the normal mode can also use only the earpiece sound.
  • the voice played by the earpiece and the screen can be any audio data stored in the mobile phone, for example, the voice is the recording data or song data stored in the mobile phone. It can also be the sound data transmitted from the mobile phone of the other user when the mobile phone is in voice communication. It can also be the sound data in the mobile phone. Voice messages in installed instant messaging apps, etc.
  • FIG31 is a flow chart of a call control method for prompting a private call function provided in an embodiment of the present application.
  • a bubble prompt such as the bubble prompt shown in FIG5 above
  • the electronic device pops up bubbles again three times to prompt until the user learns the private call function and stops prompting. If it is detected that the private call mode is entered, it means that the user has learned the function and no longer prompts.
  • the mobile phone in a quiet environment, can also adjust the volume (or loudness) of the earpiece sound and the screen sound according to the distance between the human ear and the mobile phone (or earpiece).
  • the frequency band of the earpiece sound output and the frequency band of the screen sound output can also be adjusted.
  • the phone when the human ear is far away from the phone, the phone can increase the volume of the earpiece sound and the screen sound. At the same time, the phone can also reduce the sound of the relatively high-frequency part of the frequency band of the earpiece sound output, that is, lower the boundary frequency between the frequency band of the screen sound output and the frequency band of the earpiece sound output, so that the earpiece sound output is in a lower frequency band.
  • the earpiece sound is more likely to leak sound than the screen sound after the volume is increased, so further lowering the frequency band of the earpiece sound output can prevent other users from hearing the sound output of the earpiece after the volume is increased.
  • the sound intensity of the screen sound can also be set according to the sensitivity of the screen sound. That is, according to the different sensitivities of the screen sound, the sound intensity of the screen sound can also be set differently.
  • the screen sound can be realized by a screen sound device (for example, a screen sound device as shown in FIG. 2 ), and the screen sound device is different according to different screen sound schemes.
  • the screen sound device can be a vibration source connected to the back of the screen (usually a piezoelectric ceramic, or a motor vibrator, an exciter or other vibration unit), which can control the vibration of the piezoelectric ceramic by a current signal to drive the screen to vibrate, thereby realizing the screen sound.
  • the screen sound device can also be a piezoelectric ceramic fixed to the middle frame of the mobile phone through a cantilever beam structure, which can control the vibration of the piezoelectric ceramic by a current signal, and use the middle frame of the mobile phone to transfer the vibration to the screen to drive the screen to vibrate, thereby realizing the screen sound.
  • the screen sound device can also be an exciter fixed to the middle frame of the mobile phone, which can control the vibration of the exciter by a current signal, and use the middle frame of the mobile phone to transfer the vibration to the screen to drive the screen to vibrate, thereby realizing the screen sound.
  • the screen sound device can also be a split magnetic levitation vibrator.
  • One of the vibrators is fixed on the middle frame of the mobile phone, and the other vibrator is fixed on the screen.
  • the current signal can be used to control the vibrator fixed on the screen to vibrate relative to the vibrator fixed on the middle frame of the mobile phone, thereby driving the screen to vibrate and realize screen sound.
  • the screen sound sensitivity of different screen sound schemes is different. A relatively small screen sound intensity and driving power can be set for high-sensitivity screen sound, while a relatively large screen sound intensity and driving power can be set for low-sensitivity screen sound.
  • the electronic device (such as a mobile phone) can automatically enable the function implemented by the above method, or can be set to allow the user to manually enable the function implemented by the above method.
  • the present application also provides a chip, which is coupled to a memory and is used to read and execute computer programs or instructions stored in the memory to execute the methods in the above embodiments.
  • the present application also provides an electronic device, which includes a chip, and the chip is used to read and execute a computer program or instruction stored in a memory, so that the method in each embodiment is executed.
  • This embodiment also provides a computer-readable storage medium, in which computer instructions are stored.
  • the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the call control method in the above-mentioned embodiment.
  • This embodiment also provides a computer program product, wherein the computer-readable storage medium stores program codes.
  • the computer program product When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement the call control method in the above-mentioned embodiment.
  • an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the chip executes the call control method in the above-mentioned method embodiments.
  • the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
  • the embodiments of the present application do not specifically limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as the program that records the code of the method provided in the embodiments of the present application can be run to perform call control according to the method provided in the embodiments of the present application.
  • the execution subject of the method provided in the embodiments of the present application may be an electronic device, or a functional module in the electronic device that can call and execute the program.
  • a and/or B in this article is a description of the association relationship of associated objects, indicating that there can be three relationships.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
  • the symbol "/" in this article indicates that the associated objects are in an or relationship, for example, A/B means A or B.
  • first and second in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of objects.
  • the meaning of “multiple” refers to two or more than two, for example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific way.
  • the disclosed device and method can be implemented by other
  • the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a computer software product, which is stored in a storage medium.
  • the computer software product includes a number of instructions that enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium may include, but is not limited to: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供了一种通话控制方法、电子设备及存储介质,涉及电子技术领域。该方案可以在来电接听时根据系统通话音量将接听音量自动调节到合适的音量并启用隐私通话模式,在通话过程中可以实现根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度;并且在来电时以及通话时,还可以根据用户实际需要,响应于用户手动触发操作,在不同模式之间进行切换,因此本申请提供的自动调节方式和手动调节方式可以根据实际使用需求实现模式切换,满足各种场景下用户通话的需求。

Description

通话控制方法、电子设备及存储介质
本申请要求于2022年10月31日提交国家知识产权局、申请号为202211350598.8、申请名称为“通话控制方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种通话控制方法、电子设备及存储介质。
背景技术
目前,大部分手机是采用设置在手机顶部的听筒实现手机的语音通信发声的。通常,手机需要在听筒的位置对应设置出音孔以释放听筒发声时的能量,出音孔一般开设在手机的前面板上。随着大屏以及全面屏手机的发展,一些全面屏手机的出音孔设计为长缝形态,位于手机中框和前面板的连接处,同时为了确保外放出声面积够大,具有良好出音效果,在一些全面屏手机上还会在中框顶部增加开孔作为出音孔。
然而,在用户手持手机贴耳听音(例如语音通话场景)的过程中,通过听筒输出的语音不只是从侧缝处的出音孔发出,还有很大一部分能量从顶部出音孔发出,因此由出音孔出来的声音不光能够被该用户听到,在安静环境下还能够被其他用户听到,存在漏音现象,容易泄露用户隐私。
发明内容
本申请提供一种通话控制方法及电子设备,解决了在用户手持手机贴耳听音的场景中通过听筒播放语音时存在漏音现象的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种通话控制方法,应用于电子设备,该电子设备包括听筒、屏幕和屏幕发声装置,该屏幕发声装置用于驱动屏幕进行屏幕发声,该通话控制方法包括:
当所述电子设备的系统设置的通话音量为第一音量时,所述电子设备接收第一来电;
所述电子设备接收用户的第一操作,并响应于所述第一操作,接通所述第一来电,所述电子设备的所述听筒和所述屏幕发声装置以第一比例和所述第一音量发出第一声音;
在所述第一来电的通话过程中,所述电子设备接收用户的第二操作,响应于所述第二操作,所述听筒和所述屏幕发声装置以第二比例和第二音量发出第二声音,所述第二音量大于第一音量;
所述电子设备接收用户的第三操作,并响应于所述第三操作,结束所述第一来电;
当所述电子设备的系统设置的通话音量为所述第二音量时,所述电子设备接收第二来电;
所述电子设备接收用户的第四操作,并响应于所述第四操作,接通所述第二来电,所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音,其中,所述第三音量大于所述第一音量,所述第三音量小于所述第二音量;
其中,所述第一比例和所述第二比例不同,所述第三比例和所述第二比例不同。
通过本申请实施例提供的方案,在来电接听时,当系统通话音量相对较低时,该系统通话音量保持即可,且进入隐私通话模式,不仅可减少漏音,而且可以满足用户的使用习惯;当系统通话音量较高时,自动减小音量,且进入隐私通话模式,由此可减少漏音,因此本申请方案可以基于接听前的系统通话音量将接听音量自动调节到合适的音量,满足用户通话需求,提升用户通话体验。
需要说明的是,这里以来电场景为例进行说明,可以理解,在实际实现时,本申请实施例提供的通话控制方法同样可以应用于去电场景。
这里以举例方式简单描述本申请实施例提供的通话控制方法。
首先,电子设备接收到来电通知并显示来电通知界面,该来电通知界面中显示有提示信息“智慧隐私通话模式”,表明智慧隐私通话功能已默认开启,一旦来电接通后即可采用“智慧隐私通话模式”输出语音。
然后,响应于用户的接听操作,电子设备接通来电,电子设备的听筒和屏幕发生装置可以以第一比例和6级音量发出声音,此时处于隐私通话模式。示例性地,第一比例为3:7。需要说明的是,听筒和屏幕发生装置以第一比例和6级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为6级音量;在总音量中,听筒的发声强度占比为3,屏幕发生装置的发声强度占比为7。
然后,电子设备接收到用户调高音量的操作。相应地,电子设备调高音量,例如将音量调高到10级(或9级),在此情况下电子设备的听筒和屏幕发生装置以第二比例和10级音量发出声音,此时退出隐私通话模式。其中,第二比例大于第一比例。示例性地,第二比例为7:3。需要说明的是,听筒和屏幕发生装置以第二比例和10级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为10级音量;在总音量中,听筒的发声强度占比为7,屏幕发生装置的发声强度占比为3。
然后,电子设备接收到用户挂断电话的操作,结束本次通话。电子设备再次接收到来电通知,并显示来电通知界面,同样,该来电通知界面中显示有提示信息“智慧隐私通话模式”,表明智慧隐私通话功能已默认开启,一旦来电接通后即可采用“智慧隐私通话模式”输出语音。
然后,响应于用户的接听操作,电子设备接通来电,电子设备的听筒和屏幕发生装置以第三比例和8级音量发出声音,此时处于隐私通话模式。其中,第三比例小于第二比例。并且,第三比例与第一比例可以相同,也可以不同。示例性地,第三比例可以为4:6。需要说明的是,听筒和屏幕发生装置以第三比例和8级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为8级音量;在总音量中,听筒的发声强度占比为4,屏幕发生装置的发声强度占比为6。
在一些可能实现方式中,在所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音之后,所述方法还包括:当所述电子设备所处的环境声的大小为第一值时,所述电子设备的所述听筒和所述屏幕发声装置以所述第三比例和所述第三音量发出第三声音;当所述电子设备所处的环境声的大小为第二值时,所述电子设备的所述听筒和所述屏幕发声装置以第四比例和第四音量发出第四声音;其中,所述第一值小于所述第二值,所述第三比例与第四比例不同,所述第三音量小于所述第四音量。
通过本申请方案,在通话过程中可以实现根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度,因此本申请提供的自动调节方式可以根据实际使用需求实现模式切换,满足各种场景下用户通话的需求,提升用户通话体验。
在一些可能实现方式中,所述第一比例、所述第二比例、所述第三比例分别为所述听筒的发声强度与所述屏幕发声装置的发声强度的比例值;其中,所述第一比例小于所述第二比例,所述第三比例小于所述第二比例。
在一些可能实现方式中,在所述电子设备接收第一来电之前,所述方法还包括:在所述电子设备开机后,默认开启第一功能;其中,在所述第一功能开启的情况下,在来电或者去电接通后,所述听筒的发声强度小于所述屏幕发声装置的发声强度。
在一些可能实现方式中,所述第二操作为用户按压物理音量上键的操作;或者,用户将音量条图标中的音量调节按钮向上拖动的操作。
在一些可能实现方式中,所述电子设备的输出音量通过音量分贝值表示;或者,所述电子设备的输出音量通过音量等级表示;其中,预设范围内的音量分贝值被划分为N个音量等级,所述N个音量等级与N个分贝值存在一一对应的关系,N为正整数。
在一些可能实现方式中,所述N个音量等级包括音量1级至音量10级;其中,所述第一音量和所述第三音量分别对应的音量等级在[1级,I级]范围内,所述第二音量和第四音量分别对应的音量在[I+1级,10级]范围内,其中I为大于1且小于10的整数。
在一些可能实现方式中,I取值为8。
第二方面,本申请提供一种通话控制方法,应用于电子设备,所述电子设备包括听筒、屏幕和屏幕发声装置,所述屏幕发声装置用于驱动屏幕进行屏幕发声,所述方法包括:
当所述电子设备的系统设置的通话音量为第一音量时,所述电子设备接收第一来电;
所述电子设备响应于用户双击音量下键的操作,开启第一功能,所述第一功能为所述听筒的发声强度小于所述屏幕发声装置的发声强度;
所述电子设备响应于用户接听电话的操作,接通所述第一来电,所述电子设备的所述听筒和所述屏幕发声装置以第一比例和所述第一音量发出第一声音;
在所述第一来电的通话过程中,响应于用户调高音量的操作,所述电子设备的所述听筒和所述屏幕发声装置以第二比例和第二音量发出第二声音,所述第二音量大于第一音量;
所述电子设备响应于用户挂断电话的操作,结束所述第一来电;
当所述电子设备的系统设置的通话音量为所述第二音量时,所述电子设备接收第二来电;
所述电子设备响应于用户双击音量下键的操作,开启所述第一功能;
所述电子设备响应于用户接听电话的操作,接通所述第二来电,所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音,其中,所述第三音量大于所述第一音量,所述第三音量小于所述第二音量;
其中,所述第一比例和所述第二比例不同,所述第三比例和所述第二比例不同。
在一些可能实现方式中,所述第一比例、所述第二比例、所述第三比例分别为所述听筒的发声强度与所述屏幕发声装置的发声强度的比例值;其中,所述第一比例小于所述第二比例,所述第三比例小于所述第二比例。
在一些可能实现方式中,所述电子设备接收第一来电,包括:所述电子设备显示来电通知界面;在来电未接通时,电子设备在所述来电通知界面中显示第一提示信息,所述第一提示信息用于提示通过双击音量下键,触发开启所述第一功能。
在一些可能实现方式中,在所述开启所述第一功能之后,所述方法还包括:所述电子设备在所述来电通知界面中显示第二提示信息,所述第二提示信息用于提示已开启所述第一功能。
在一些可能实现方式中,所述方法还包括:所述电子设备响应于用户双击音量下键的操作,将来电铃声处理为静音。
在一些可能实现方式中,所述方法还包括:所述电子设备接收第三来电;响应于接收到用户单击音量下键的操作,所述电子设备将来电铃声处理为静音;
响应于用户再次单击音量下键的操作,所述电子设备在所述来电通知界面中显示音量条图标,所述音量条图标用于表示所述电子设备的系统设置的通话音量。
在一些可能实现方式中,在所述电子设备在所述来电通知界面中显示音量条图标之后,所述方法还包括:响应于接收到用户在所述音量条图标上的操作,所述电子设备调节通话音量;当调节后的音量为第一通话音量时,开启所述第一功能;或者,当调节后的音量为第二通话音量时,关闭所述第一功能;其中,所述第一通话音量小于所述第二通话音量。
在一些可能实现方式中,所述方法还包括:在所述第一功能关闭的情况下,所述电子设备接收第四来电;响应于电话接通,所述电子设备显示通话界面;在所述通话界面中显示音量条图标,并展示动效引导和文字提示;其中,所述动效引导包括所述音量条图标中的音量调节按钮向下移动,所述文字提示用于提示通过调低音量触发开启所述第一功能。
在一些可能实现方式中,所述方法还包括:所述电子设备在来电通知界面或去电界面或通话界面中显示第一功能的开关图标;响应于接收到用户在所述开关图标的点击操作,所述电子设备开启所述第一功能;响应于再次接收到用户在所述开关图标的点击操作,所述电子设备关闭所述第一功能。
第三方面,本申请提供一种通话控制装置,该装置包括用于执行上述第一方面或第二方面中的方法的单元。该装置可对应于执行上述第一方面或第二方面中描述的方法,该装置中的单元的相关描述请参照上述第一方面或第二方面的描述,为了简洁,在此不再赘述。
其中,上述第一方面或第二方面描述的方法可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,处理模块或单元、显示模块或单元等。
第四方面,本申请提供一种电子设备,所述电子设备包括处理器,处理器与存储器耦合,存储器用于存储计算机程序或指令,处理器用于执行存储器存储的计算机程序或指令,使得第一方面或第二方面中的方法被执行。例如,处理器用于执行存储器存储的计算机程序或指令,使得该装置执行第一方面或第二方面中的方法。
第五方面,本申请提供一种计算机可读存储介质,其上存储有用于实现第一方面或第二方面中的方法的计算机程序(也可称为指令或代码)。例如,该计算机程序被计算机执行时,使得该计算机可以执行第一方面或第二方面中的方法。
第六方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面或第二方面及其任意可能的实现方式中的方法。可选地, 所述芯片还包括存储器,存储器与处理器通过电路或电线连接。
第七方面,本申请提供一种芯片系统,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面或第二方面及其任意可能的实现方式中的方法。可选地,所述芯片系统还包括存储器,存储器与处理器通过电路或电线连接。
第八方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序(也可称为指令或代码),所述计算机程序被计算机执行时使得所述计算机实现第一方面或第二方面中的方法。
可以理解的是,上述第二方面至第八方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
图1为一种电子设备中设置有听筒及出音孔的结构示意图;
图2为本申请实施例提供的电子设备中设置有听筒和屏幕振动装置的结构示意图;
图3为本申请实施例提供的一种电子设备的结构示意图;
图4为本申请实施例提供的一种电子设备的软件架构示意图;
图5为本申请实施例提供的一种通话控制方法应用于电子设备的界面示意图一;
图6为本申请实施例提供的一种通话控制方法应用于电子设备的界面示意图二;
图7为本申请实施例提供的一种通话控制方法应用于电子设备的界面示意图三;
图8为本申请实施例提供的一种通话控制方法应用于电子设备的界面示意图四;
图9为本申请实施例提供的一种通话控制方法中音量等级划分的示意图;
图10为本申请实施例提供的一种通话控制方法中音量条的示意图;
图11为本申请实施例提供的一种通话控制方法应用的界面示意图一;
图12为本申请实施例提供的一种通话控制方法应用的界面示意图二;
图13为本申请实施例提供的一种通话控制方法的时序示意图;
图14为本申请实施例提供的一种通话控制方法应用的界面示意图三;
图15为本申请实施例提供的一种通话控制方法应用的界面示意图四;
图16为本申请实施例提供的一种通话控制方法的另一时序示意图;
图17为本申请实施例提供的一种通话控制方法应用的界面示意图五;
图18为本申请实施例提供的一种通话控制方法应用的界面示意图六;
图19为本申请实施例提供的一种通话控制方法应用的界面示意图七;
图20为本申请实施例提供的一种通话控制方法应用的界面示意图八;
图21为本申请实施例提供的一种通话控制方法应用的界面示意图九;
图22为本申请实施例提供的一种通话控制方法的再一时序示意图;
图23为本申请实施例提供的一种通话控制方法应用的界面示意图十;
图24为本申请实施例提供的一种通话控制方法应用的界面示意图十一;
图25为本申请实施例提供的一种通话控制方法应用的界面示意图十二;
图26为本申请实施例提供的一种通话控制方法应用的界面示意图十三;
图27为本申请实施例提供的一种通话控制方法应用的界面示意图十四;
图28为本申请实施例提供的一种通话控制方法应用的界面示意图十五;
图29为本申请实施例提供的一种通话控制方法应用的界面示意图十六;
图30为本申请实施例提供的一种通话控制方法应用的界面示意图十七;
图31为本申请实施例提供的一种通话控制方法的提示流程示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
目前,大部分手机是采用设置在手机顶部的听筒实现手机的语音通信发声的。通常,手机需要在听筒的位置对应设置出音孔以释放听筒发声时的能量,出音孔一般开设在手机的前面板上。但是,随着手机的不断发展,为了向用户提供更好的屏幕观看体验,手机屏幕的屏占比越来越高。设置在前面板上的出音孔由于占用了手机的前面板部分区域,会增加手机边框的宽度,所以会影响手机进一步提高屏幕的屏占比。
因此,随着大屏以及全面屏手机的发展,为了减小用于语音通信中通话发声的听筒(也称为受话器)的出音孔在手机的前面板上占用的面积,以进一步提高屏幕的屏占比,一些全面屏手机的听筒出音孔设计为长缝形态,位于手机中框和前面板的连接处,同时为了确保外放出声面积够大,具有良好出音效果,在一些全面屏手机上还会增加中框顶部开孔作为出音孔。
例如,图1示出了一种手机的结构示意图。如图1所示,该手机可以包括用于设置屏幕的前面板(通常包括屏幕和边框)、用于支撑内部电路的后面板以及中框,通过前面板、后面板以及中框能够围合成壳体结构。如图1中的(a)所示,在该壳体结构内,位于顶部的位置(即手机顶部位置)设置有听筒101(即用于语音通信中通话发声的扬声器,也称为受话器)。对应于该听筒101,手机设置有两处出音孔(如,出音孔102和出音孔103),听筒101的声音可以从出音孔出音。结合图1中的(b)所示,图1中的(b)为手机结构的剖视图,其中出音孔102位于该手机前面板和中框的连接处(即侧缝处)。出音孔103则位于该手机的中框上距离上述听筒101较近的位置(即手机的中框顶部位置)。
但是,此种方式设置的出音孔,在用户正常使用手机进行语音通信时,用户的耳廓无法完全覆盖包裹出音孔,所以当扬声器的声音能量由开设在手机中框顶部的出音孔出来时,会有漏音现象。图1中的(c)示出了用户通过手机进行语音通信的场景示意图。如图1中的(c)所示,用户手持手机通过听筒进行语音通信的过程中,手机听筒靠近用户的耳朵(或者说耳廓),由于手机听筒的出音孔(位于手机侧缝处的出音孔102和中框顶部的出音孔103)无法被用户的耳朵完全包裹覆盖,所以由出音孔出来的声音不光能够被该用户听到,在安静环境下还能够被其他用户听到。
为解决上述问题,本申请实施例提供一种通话控制方法,该方法可以应用于具有语音通信功能的电子设备,例如该通话控制方法可以应用于用户通过上述电子设备进行贴耳听音的场景中,如用户通过听筒进行语音通话,或者通过听筒收听即时通讯应用中的语音消息等。其中,上述电子设备可以包括显示屏(也称为屏幕)、屏幕发声装置(即能够通过屏幕振动发声的装置),听筒(即上述的用于语音通信中通话发声的扬声器,也称为受话器)以及对应该听筒开设的出音孔。
例如,图2示出了本申请实施例提供的一种电子设备的结构示意图。如图2中的(a) 和图2中的(b)所示,除了设置有图1所示的听筒101、出音孔102和出音孔103之外,电子设备还设置有与屏幕连接的屏幕发声装置104。例如,屏幕发声装置104是与屏幕连接的振动源(也称为激励器)。激励器引起屏幕振动,实现通过屏幕发声。其中,屏幕发声装置104设置于电子设备的壳体结构内。
需要说明的是,在本申请实施例中,电子设备的语音输出模式(也称为听音模式)可以包括隐私通话模式(privacy mode,PVM),正常模式,以及扬声器模式。其中,隐私通话模式也可以称为智慧隐私模式或者智慧隐私通话模式或者PVM模式。正常模式也可以称为常规(normal)模式。
在一些实施例中,在电子设备开启隐私通话模式后,电子设备可以结合屏幕发声方式和听筒发声方式来输出语音。示例性地,屏幕发声方式对应的语音输出强度(例如70%)大于或等于听筒发声方式对应的语音输出强度(例如30%)。即,手机可以采用屏幕发声为主、听筒发声为辅的方式同时播放语音。
在另一些实施例中,在电子设备开启隐私通话模式后,电子设备还可以仅通过屏幕发声方式来输出语音。可以理解,此时听筒不发声。
需要说明的是,在实际实现时,在隐私通话模式下,具体是通过屏幕发声方式输出语音,还是通过屏幕发声为主、听筒发声为辅的方式输出语音,可以根据实际使用需求确定,本申请实施例不作限定。
在一些实施例中,在电子设备开启正常模式后,电子设备可以结合采用听筒发声方式和屏幕发声方式来输出语音。示例性地,听筒发声方式对应的语音输出强度(例如70%)大于屏幕发声方式对应的语音输出强度(例如30%)。手机可以采用听筒发声为主、屏幕发声为辅的方式同时播放语音。
在另一些实施例中,在电子设备开启正常模式后,电子设备还可以仅通过听筒发声方式来输出语音。可以理解,此时屏幕不发声。
需要说明的是,在实际实现时,在正常模式下,具体是通过听筒发声方式输出语音,还是通过听筒发声为主、屏幕发声为辅的方式输出语音,可以根据实际使用需求确定,本申请实施例不作限定。
在一些实施例中,当从隐私通话模式切换到正常模式时,还可以在隐私通话模式对应的音量基础上,增大整体发声音量(或称为响度或强度),以提升语音播放效果。也就是说,在正常模式下通过听筒发声和屏幕发声时的整体发声响度,大于在隐私通话模式下通过听筒发声和屏幕发声时的整体发声响度。
相比于听筒发声方式,屏幕发声方式能有效防止语音通话时漏音,因此当用户处于安静环境中接打电话时,用户通常希望减少漏音,此时可以采用隐私通话模式,能够保证通话清晰的同时,减少漏音,从而起到保护用户隐私的效果。
在一些实施例中,在电子设备开启扬声器模式后,电子设备通过扬声器(也称为喇叭)输出语音。可以理解,此时听筒和屏幕均不发声。
需要说明的是,响应于用户对电子设备的操作,电子设备可以控制语音输出方式在隐私通话模式、正常模式以及扬声器模式之间切换。具体触发切换的条件以及切换过程,将在下文中进行详细描述。
在一些实施例中,电子设备可以预先设置隐私通话模式处于默认开启状态。这样,当 电子设备拨通电话或者接听来电后,自动启用隐私通话模式,以免通话漏音,无需用户操作,提升了用户使用体验。
在一些实施例中,在拨通电话或者接听来电时,可以根据系统通话音量(具体为音量等级),将本次接听后的输出音量自动调节到合适的音量等级,以保障通话隐私及通话清晰度。
在一些实施例中,在通话过程中,在当前音量等级为可调音量等级时,可以根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度。这种方式可以称为自动调节模式。
在一些实施例中,在隐私通话模式未开启的情况下,在来电通知界面中可以提示用户如何开启隐私通话模式的操作方式。例如,在来电通知时,通过双击音量下键,可开启或进入隐私通话模式。或者,在来电通知时,如果用户单击音量下键,那么来电通知的铃声静音;此时如果用户再次单击音量下键,那么电子设备在来电通知界面上可以显示音量条,这样用户可以在接收到来电通知时即可提前调节好接听音量大小,这种方式不同于目前只能通过在来电接通后才能调节接听音量大小的方式。这种方式可以称为手动调节模式。
在一些实施例中,在通话过程中,电子设备可以根据用户调节音量条的操作,退出或进入隐私通话模式。例如,电子设备可以响应于用户调高音量条的操作,退出隐私通话模式;电子设备可以响应于用户调低音量条的操作,再次切换到(或者进入)隐私通话模式。可以理解,这种方式也属于手动调节模式。
例如,当接收到用户降低音量或提高音量的操作时,若判断调节后的音量等级小于或等于预设音量等级(例如音量8级),则启用隐私通话模式,例如可以通过屏幕和听筒同时发声并控制这两种发声方式以不同的音量强度进行发声(如屏幕发声的强度大于或等于听筒发声的强度),以避免漏音,保护用户通话隐私,提升用户通话体验。若判断调节后的音量等级大于预设音量等级,则启用正常模式,例如可以通过屏幕和听筒同时发声并控制这两种发声方式以不同的音量强度进行发声(如听筒发声的强度大于屏幕发声的强度),以保证良好的出音效果,提升用户通话体验。
本申请实施例提供的通话控制方法,可以在来电接听时根据系统通话音量将接听音量自动调节到合适的音量并启用隐私通话模式,并且在通话过程中,可以实现根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度;并且在通话过程中,还可以根据用户实际需要,响应于用户手动触发操作,在隐私通话模式与正常模式之间进行切换,因此本申可以满足各种场景下用户通话的需求。
以下,先结合附图对本申请实施例提供的通话控制方法应用的电子设备进行说明。
示例性的,本申请实施例中的电子设备可以是手机、平板电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、可穿戴式设备(如:智能手表、智能手环),等具备语音通信功能的设备,本申请实施例对该电子设备的具体形态不作特殊限制。
示例地,以电子设备为手机为例,图3示出了本申请实施例提供的另一种电子设备的结构示意图。也即,示例性的,图3所示的电子设备可以是手机。
如图3所示,手机可以包括:处理器310,外部存储器接口320,内部存储器321,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线1,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器(即听筒)370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达391,指示器392,摄像头393,显示屏394,以及用户标识模块(subscriber identification module,SIM)卡接口395,屏幕发声装置396等。
其中,上述传感器模块可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器和骨传导传感器等传感器。在本申请实施例中,电子设备可以通过接近光传感器(即光线传感器)、距离传感器等传感器来检测用户耳朵是否贴靠在听筒附近。例如,电子设备可以通过距离传感器检测手机前面板(或者屏幕)前方是否有遮挡,以及遮挡物与屏幕之间的距离,确定当前用户耳朵是否贴靠在听筒附近。
可以理解的是,本实施例示意的结构并不构成对手机的具体限定。在另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以是手机的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了系统的效率。
在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机的结构限定。在另一些实施例中,手机也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
在本申请实施例中,电子设备可以通过处理器310来确定当前所处的听音环境的类别,然后根据该类别对听筒发声的频段和屏幕发声的频段分别进行调整,以控制听筒和屏幕发 声分别播放声音信号中对应频段内的声音,从而避免安静环境下人耳听音时电子设备出现漏音。
充电管理模块340用于从充电器(如无线充电器或有线充电器)接收充电输入,为电池342充电。电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,为电子设备的各个器件供电。
手机的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
在一些实施例中,手机的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。上述移动通信模块350可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。
移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
无线通信模块360可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。
无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
当然,上述无线通信模块360也可以支持手机进行语音通信。例如,手机可以通过无线通信模块360接入Wi-Fi网络,然后使用任一种可提供语音通信服务的应用程序与其他设备进行交互,为用户提供语音通信服务。例如,上述可提供语音通信服务的应用程序可以是即时通讯应用。
手机可以通过GPU,显示屏394,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏394和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。显示屏394用于显示图像,视频等。
手机可以通过ISP,摄像头393,视频编解码器,GPU,显示屏394以及应用处理器等实现拍摄功能。ISP用于处理摄像头393反馈的数据。在一些实施例中,ISP可以设置在 摄像头393中。摄像头393用于捕获静态图像或视频。在一些实施例中,手机可以包括1个或N个摄像头393,N为大于1的正整数。
外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。内部存储器321可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器310通过运行存储在内部存储器321的指令,从而执行手机的各种功能应用以及数据处理。例如,在本申请实施例中,处理器310可以通过执行存储在内部存储器321中的指令,内部存储器321可以包括存储程序区和存储数据区。
手机可以通过音频模块370,扬声器370A,受话器(即听筒)370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块370用于将数字音频信号转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块370还可以用于对音频信号编码和解码。在一些实施例中,音频模块370可以设置于处理器310中,或将音频模块370的部分功能模块设置于处理器310中。扬声器370A,也称“喇叭”,用于将音频电信号转换为声音信号。受话器370B,也称“听筒”,用于将音频电信号转换成声音信号。麦克风370C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。耳机接口370D用于连接有线耳机。耳机接口370D可以是USB接口330,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
具体到本申请实施例,受话器370B(即“听筒”)可以包括图2中的(a)所示的听筒101和/或屏幕发声装置104。
示例性的,本申请实施例中,音频模块370可以将移动通信模块350和无线通信模块360接收到的音频电信号转换为声音信号。由音频模块370的受话器370B(即“听筒”)播放该声音信号,同时由屏幕发声装置396来驱动屏幕(即显示屏)进行屏幕发声以播放该声音信号。
示例地,在本申请实施例中,电子设备可以通过麦克风370C来检测当前所处环境的环境音的声音强度大小。从而便于处理器310根据检测到的环境音的声音强度大小来确定当前所处的听音环境的类别。
按键390包括开机键,音量键等。马达391可以产生振动提示。指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口395用于连接SIM卡。手机可以支持1个或N个SIM卡接口,N为大于1的正整数。
以上是以电子设备100为例对本申请实施例作出的具体说明。应该理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。电子设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
本申请实施例提供的电子设备可以是用户设备(user equipment,UE),例如可以为移动终端(例如用户手机)、平板电脑、桌面型、膝上型笔记本电脑、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)等设备。
另外,在上述硬件之上,运行有操作系统,操作系统层的操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。在操作系统上可以安装运行应用程序。
电子设备100的操作系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图4是本申请实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层(applications),应用程序框架层(application framework),安卓运行时(Android Runtime)和系统库,以及内核层(kernel)。
其中,应用程序层可以包括一系列应用程序包。例如,应用程序层可以包括相机APP,图库APP,日历APP,地图APP,导航APP,WLAN,蓝牙,音乐APP,视频APP,短信息APP、运动健康APP等应用程序(应用程序可以简称为应用),本申请实施例对此不做任何限制。
应用程序层中的应用可以分为系统应用和非系统应用,其中,系统应用具体可以包括通话APP和桌面APP、系统用户界面(SystemUI)等,非系统应用可以包括游戏APP,地图APP,短视频APP,社交APP,购物APP等。
本申请实施例中,应用程序层还可以包括情景感知模块、业务逻辑处理模块和业务呈现模块等。情景感知模块、业务逻辑处理模块和业务呈现模块可以是独立的APP,或者可以分别集成在不同的APP中,或者可以集成在同一个APP中,本申请不做限定。
其中,情境感知模块,常驻运行或以低功耗形式运行,具有感知外部事实或者环境的能力。情境感知模块可以通过应用程序接口(application programming interface,API)从应用程序层的其他应用程序或应用程序框架层或系统层或内核层来检测相关事件和获取事件的状态,比如检测蓝牙连接、网络连接、监测用户短信、定制定时器等。在本申请实施例中,情境感知模块主要作用是监听是否有来电事件。情境感知模块还可以用于获取上一次挂断电话时的音量等级。另外,情境感知模块还可以检测是否有接听来电的操作。情境感知模块还可以获取环境声的量值。情境感知模块还用于监听用户触发的音量下键(音量-键)点击(如单击或双击)事件。情境感知模块可以将监听到的信息,通知给业务逻辑处理模块。
业务逻辑处理模块(如:计算引擎)具有业务逻辑处理能力,用于根据情境感知模块监听到的信息,以及预设的逻辑算法进行数据处理或逻辑判断,实现通话音量大小调节以及模式切换。例如,业务逻辑处理模块接收到来电事件及系统通话音量,判断是否满足音量调节及模式切换条件,从而判断是否调节音量及切换模式。业务逻辑处理模块还可以根据接听来电的操作确定来电已经接通,进一步根据环境声的量值判断是否满足音量调节及模式切换条件,从而判断是否调节音量及切换模式。具体判断过程将在下文中详细描述。
业务呈现模块(如:YOYO建议),用于根据业务逻辑处理模块的指示,在手机的屏幕上显示音量条及音量条的变化,并且在模式切换后显示切换后的模式,例如在开启隐私通 话模式的情况下显示智慧隐私通话模式或者隐私通话模式已开启。例如,业务呈现模块接收到业务逻辑处理模块发送的显示音量条的命令,通知窗口管理器将该音量条显示在电子设备上。同时,业务呈现模块还可以在音量条内呈现音量大小及变化;其中,音量大小以音量等级进行衡量,具体将在下文中详细描述。另外,业务呈现模块还可以根据用户触发的点击音量下键的事件,在通话界面中显示音量条及音量变化。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。如图4所示,应用程序框架层可以包括通话管理器,窗口管理器,内容提供器,视图系统,资源管理器,通知管理器等,活动管理器等,本申请实施例对此不做任何限制。
通话管理器用于管理手机通话状态,获取电话信息(例如设备信息、用户识别卡信息以及网络信息),侦听电话状态(例如呼叫状态服务状态、信号强度状态等)以及可以调用电话拨号器拨打电话。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,在本申请实施例中,视图系统可用于在桌面中显示来电通知界面以及通话界面。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知当前通话已开启智慧隐私通话等。例如,在来电通知界面、通话界面或者下拉菜单栏中提示文本信息或者隐私通话图标等。
窗口管理器用于管理窗口程序,窗口管理器可以获取显示屏尺寸以及音量条尺寸和形状,判断是否需要调整音量条尺寸和形状等。
活动管理器用于管理各个应用程序的生命周期以及导航回退功能,负责Android的主线程创建,各个应用程序的生命周期的维护。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
Android Runtime包括核心库和虚拟机。Android Runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:openGL ES),二维图形引擎(例如:SGL)等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了二维图层和三维图层的融合。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
需要说明的是,本申请实施例虽然以Android系统为例进行说明,但是其基本原理同样适用于基于iOS或Windows等操作系统的电子设备。
本申请实施例提供的通话控制方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该通话控制方法的功能模块和/或功能实体,并且本申请方案能够通过硬件和/或软件的方式实现,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,结合附图对本申请实施例提供的通话控制方法进行示例性的说明。
下面将结合附图,通过下述多个示例性实施例对本申请实施例进行举例说明。以下实施例中的方法均可以在具有上述硬件结构和软件架构的电子设备中实现。电子设备的硬件结构图可以如图3所示,电子设备的软件结构框图可以如图4所示,但本申请实施例并不限于此。为了便于说明,本申请实施例中均以电子设备为如图3所示的手机为例。
本申请实施例提供一种通话控制方法,在来电接听时根据系统设置的通话音量(简称为系统通话音量,具体可以为音量等级)将接听音量自动调节到合适的音量等级并启用隐私通话模式,并且在通话过程中,可以实现根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度;并且在通话过程中,还可以根据用户实际需要,响应于用户手动触发操作,在隐私通话模式与正常模式之间进行切换,因此本申请方案可以满足各种场景下用户通话的需求。
本申请实施例提供的音频控制方法可以应用于语音通话场景。例如,语音通话场景可以是接到电话的来电场景,或者是来电接听后的通话场景,也可以是拨打电话的去电场景,或者是去电被接听后的通话场景,当然还可以是其他任意可能的语音通话场景,本申请实施例不作限定。为了便于说明,下文中将上述各种语音通话场景采用的界面统称为语音通话界面或者通话界面。
在本申请实施例中,电子设备默认已开启智慧隐私通话功能。在智慧隐私通话功能开启之后,隐私通话模式可以在语音通话的场景中直接启用,或者在语音通话的场景中当电子设备的音量值低于或等于预设音量等级(例如音量8级)时启用,具体可以根据实际使用需求确定,本申请实施例不作限定。
如上所述,隐私通话模式可以结合采用屏幕发声方式和听筒发声方式来输出语音。可选地,屏幕发声方式对应的语音输出强度大于或等于听筒发声方式对应的语音输出强度。或者,隐私通话模式可以仅通过屏幕发声方式来输出语音。相比于听筒发声方式,屏幕发声方式能有效防止语音通话时漏音,因此当用户处于安静环境中接打电话时,用户通常希望减少漏音,此时可以采用隐私通话模式,能够保证通话清晰的同时,减少漏音,从而起到保护用户隐私的效果。
在一些实施例中,当电子设备接到电话时,可以默认启用智慧隐私通话功能对应的隐私通话模式,并在来电通知界面中显示已开启智慧隐私通话功能相关的提示信息。可选地,该提示信息可以为文字,也可以为图标,也可以是文字与图标的组合。
在一些实施例中,在开启智慧隐私通话功能之后,在每次使用听筒接打时可以在语音通话界面在气泡框内显示智慧隐私通话功能的介绍说明(例如:保证通话清晰的同时,减少漏音、保护隐私);还可以在特定区域(即屏幕发声区域)中显示诸如“智慧隐私通话已开启”和/或“靠近此区域,听得更清晰”等操作方式,通过这些提示信息介绍智慧隐私通话功能并引导用户使用智慧隐私通话功能。
示例性地,以来电场景为例,图5示出了来电通知界面的示意图,如图5中的(a)所 示,在来电通知界面40中显示有以下提示信息:“智慧隐私通话已开启”41,“保证通话清晰的同时,减少漏音、保护隐私”42(位于气泡框中)。如图5中的(b)所示,在来电通知界面40中显示有以下提示信息:“靠近此区域,听得更清晰”43以及“保证通话清晰的同时,减少漏音、保护隐私”42。这些提示信息均用于提示已启用隐私通话模式。其中,在来电通知界面40中可以交替显示(即轮播)“智慧隐私通话已开启”41和“靠近此区域,听得更清晰”43。这样可以让用户更快地获知智慧隐私通话功能并学习使用该功能,提升人机交互体验。
需要说明的是,这里的提示信息均为示例性地说明,提示信息的具体内容、显示位置、显示数量、显示尺寸、显示样式等可以根据实际使用需求确定,本申请实施例不作限定。
可选地,上述提示信息可以在开启智慧隐私通话功能之后的前N次通话场景(例如N为3)的语音通话界面中显示,以引导用户使用该智慧隐私通话功能,并在后续通话场景中取消显示。例如,在语音通话界面中可以取消显示诸如“保证通话清晰的同时,减少漏音、保护隐私”42等对智慧隐私通话功能的介绍说明。
在一些实施例中,当用户点击语音通话界面中的任意位置(包括接听键)时,在语音通话界面中取消显示对智慧隐私通话功能的介绍说明信息,例如“保证通话清晰的同时,减少漏音、保护隐私”42对应的气泡框消失。
在一些实施例中,在语音通话界面中,“智慧隐私通话已开启”可以为常驻提示。也就是说,当用户点击语音通话界面中的任意位置(包括接听键)时,“智慧隐私通话已开启”提示信息可以保持显示。
示例性地,以来电接听后的通话场景为例,图6示出了来电通知界面以及接听后的语音通话界面的示意图,如图6中的(a)所示,用户点击来电通知界面40中的接听键44,以接听电话。如图6中的(b)所示,响应于用户对接听键44的操作,来电通知界面40切换显示为语音通话界面45。在语音通话界面45中显示有以下提示信息:“智慧隐私通话已开启”41以及标识隐私通话的图标46。在图6中的(b)中,图6中的(a)所示的“保证通话清晰的同时,减少漏音、保护隐私”对应的气泡框消失。
在一些实施例中,当智慧隐私通话功能开启时,当用户下拉菜单栏时,菜单栏中显示有用于指示正在进行语音通话的通知卡片以及用于指示智慧隐私通话功能已开启的通知卡片。
示例性地,图7示出了菜单栏显示的关于智慧隐私通话功能的通知卡片的示意图,如图7中的(a)所示,用户在语音通话界面46上沿箭头方向向下滑动手指,以下拉菜单栏。如图7中的(b)所示,显示菜单栏(也称为通知界面或通知中心),该菜单栏中显示有通知卡片47和通知卡片48,通知卡片47用于指示正在进行语音通话,通知卡片48用于指示智慧隐私通话功能已开启。
通过这些通知卡片,便于用户更好地获知智慧隐私通话功能的应用场景以及应用效果,提升用户使用体验。
在一些实施例中,本申请实施例提供的通话控制方法还适用于基于IP的语音电话(voice over Internet protocol,VoIP)。示例性地,图8示出了VoIP电话的通话场景的界面示意图,如图8所示,在VoIP通话界面50中显示有“智慧隐私通话已开启”51,以及标识隐私通话的图标52,用于提示当前通话场景采用隐私通话模式来实现语音输出。
以上说明了开启隐私通话模式的可能方式以及开启后的语音通话界面的显示效果,下面结合界面详细描述隐私通话模式在实际使用时的可能实现方式。
需要说明的是,以上实施例中是以来电场景以及来电接听后的通话场景为例进行示例性说明的,可以理解,在实际实现时,本申请实施例提供的通话控制方法也适用于去电场景以及去电接听后的通话场景,具体智慧隐私通话功能相关的描述可以参见上述来电场景以及来电接听后的通话场景中对智慧隐私通话功能相关的详细描述,此处不再赘述。
还需要说明的是,本申请实施例提供的通话控制方法还适用于播放语音消息的场景,例如一些社交应用支持接收或发送语音消息,这些语音消息在播放时也可以应用本申请实施例提供的智慧隐私通话功能,避免语音消息播放时漏音。
再需要说明的是,本申请实施例提供的通话控制方法还适用于播放录音的场景,例如在播放录音时也可以应用本申请实施例提供的智慧隐私通话功能,避免录音播放时漏音。
还需要说明的是,由于视频通话场景不存在贴耳听音的需求,因此,在视频通话场景下可以不开启智慧隐私通话功能。
可以理解,本申请实施例提供的通话控制方法可以适用于用户需要通过电子设备进行贴耳听音的各种场景,本申请实施例对此不作限定。
下面先结合附图示例性地描述本申请实施例中隐私通话模式所涉及的音量等级划分方式、各等级对应的音量条形式以及模式对应关系。
在一些实施例中,电子设备可以将不同音量划分为10个等级,包括1级至10级,其中从1级至10级对应的音量值逐级增大。其中,音量值可以采用分贝(dB)表示。音量等级的划分数量,以及每个等级对应的音量值或音量范围,具体可以根据实际使用需求确定,本申请实施例不作限定。
在本申请实施例中,本申请可以根据实际情况设置音量等级对应的模式。图9示出了音量等级的划分以及各个音量等级与音量值的映射关系的示意图。示例性地,如图9所示,音量等级可以被划分为1级到10级。可选地,音量等级范围[1级,8级]对应隐私通话模式,音量等级范围[9级,10级]对应正常模式。即,若音量等级在[1级,8级]音量等级范围内,则在通话时采用隐私通话模式输出语音;若音量等级在[9级,10级]音量范围内,则在通话时采用正常模式输出语音。示例性地,1级到10级分别对应的音量值为:16dB,13dB,10dB,7dB,4dB,2dB,0dB,-2dB,-5.8dB,-8.8dB。其中,0dB可以理解为基准音量,16dB,13dB,10dB,7dB,4dB以及2dB可以分别理解为基于0dB的减小量,-2dB,-5.8dB以及-8.8dB可以分别理解为基于0dB的增大量。当然,各个音量等级还可以对应其他音量值。
需要说明的是,这里各个音量等级与音量值的映射关系为示例性地说明,可以理解,在实际实现时,各个音量等级对应的音量值可以根据实际使用需求设置,本申请实施例不作限定。
在本申请实施例中,不管电子设备是处于隐私通话模式还是处于正常模式,均可以采用听筒和屏幕发声装置同时发声。
在本申请实施例中,屏幕发声装置负责输出高频声音,听筒负责输出中低频声音。
在一些实施例中,在不同的模式下,听筒和屏幕发声装置分别可以采用不同的发声强度比例发声。
示例性地,在电子设备开启隐私通话模式后,电子设备可以采用屏幕发声为主、听筒发声为辅的方式同时播放语音;其中,屏幕发声方式对应的语音输出强度(例如70%)大于或等于听筒发声方式对应的语音输出强度(例如30%)。
再示例性地,在电子设备处于正常模式时,电子设备可以采用听筒发声为主、屏幕发声为辅的方式同时播放语音;其中,听筒发声方式对应的语音输出强度(例如70%)大于屏幕发声方式对应的语音输出强度(例如30%)。
在一些实施例中,对于同一模式下的不同音量等级,听筒和屏幕发声装置分别可以采用不同的发声强度比例发声。例如,在[1级,8级]范围内,听筒和屏幕发声装置的发声强度比例可以设置为不同。
可以理解,在实际实现时,对于同一模式下的不同音量等级,听筒和屏幕发声装置的发声强度比例也可以设置为相同。具体可以根据实际使用需求确定,本申请实施例不做限定。为了便于说明,对于同一模式下的不同音量等级,下面以相同的发声强度比例进行示例性描述。例如当系统音量等级在[1级,8级]范围内时,听筒和屏幕发声装置的发声强度比例为第一比例(例如3:7)。当系统音量等级在[9级,10级]范围内时,听筒和屏幕发声装置的发声强度比例为第二比例(例如7:3)。其中,第二比例大于第一比例。
还需要说明的,上述以音量等级从8级变化为9级以及音量等级从9级变化为8级为例进行示例性说明,在实际实现时,不限定是在8级和9级之间进行模式切换,还可以根据实际需求进行设置。例如,在实际实现时,还可以预先设置当音量等级在[1级,6级]音量等级范围内,此时启用隐私通话模式;当音量等级在[7级,10级]音量范围内,此时启用正常模式。在此情况下,音量等级从6级变化为7级,可以触发从隐私通话模式切换到正常模式;或者,音量等级从7级变化为6级,可以触发从正常模式切换到隐私通话模式。
还需要说明的是,本申请实施例是以根据音量等级的变化来触发在正常模式和隐私通话模式进行切换为例进行示例性说明的,例如当音量等级大于音量等级阈值时,切换为正常模式;当音量等级小于或等于音量等级阈值时,切换为隐私通话模式。可以理解,在实际实现时,还可以根据音量值的变化来触发在正常模式和隐私通话模式进行切换,例如当音量值(例如分贝值)大于音量阈值(如分贝阈值)时,切换为正常模式;当音量值小于或等于音量阈值时,切换为隐私通话模式。具体采用上述哪种方式可以根据实际使用需求确定,本申请实施例不作限定。
在本申请实施例中,可以通过音量条的形式来表示音量值的大小。下面基于上述音量等级划分的示例,说明本申请实施例中与各音量等级对应的音量条的可能形式。
示例性地,通过在音量条中以不同填充长度区分不同大小的音量等级,例如音量条中的填充越多,则表示音量等级越大,在此情况下语音输出音量越大。当音量条中被完全填充,对应10级,表示达到音量的最大值。当音量条没有被填充,表示静音。
可选地,本申请实施例不限定正常模式和隐私通话模式时,音量条的显示形式、显示颜色、显示长度等。
在本申请实施例中,可以通过不同的图标分别表示隐私通话模式和正常模式,以作区分。具体地,用于标识通话模式的图标在显示位置、显示尺寸以及显示形式等方面,可以根据实际使用需求确定,本申请实施例不作限定。可选地,用于标识通话模式的图标可以 显示于音量条的下方或上方。
示例性地,图10为基于图9所示的各个音量等级对应的音量条示意图。如图10中的(a)中所示,示出了1级到8级的音量条示意图,1级到8级音量均对应隐私通话模式。如图10中的(b)中所示,示出了9级到10级的音量条示意图,9级到10级音量均对应正常模式。
在一些实施例中,在隐私通话模式与正常模式之间切换时,在音量条的填充量发生变化的同时,通话模式的图标也会相应发生变化,以提示用户通话模式已切换,从而提升用户使用体验。
在一些实施例中,在隐私通话模式与正常模式之间切换时,电子设备可以通过显示具体提示信息来提示用户。
在一些实施例中,在隐私通话模式与正常模式之间切换时,电子设备可以震动提示用户,提升用户使用体验。
本申请实施例提供的通话控制方法,可以在来电接听时根据系统通话音量等级将接听音量自动调节到合适的音量等级并启用隐私通话模式,在通话过程中可以实现根据环境声大小自动切换模式,即在安静环境中自动切换到隐私通话模式并自动减小音量,由此可减少漏音;在嘈杂环境中自动切换到正常模式并自动增大音量,由此可保证通话清晰度;并且在通话过程中,还可以根据用户实际需要,响应于用户手动触发操作,在隐私通话模式与正常模式之间进行切换,因此本申请提供的自动调节方式和手动调节方式可以根据实际使用需求实现模式切换,满足各种场景下用户通话的需求。
对于隐私通话模式与正常模式之间的切换,本申请实施例提供了自动调节方式和手动调节方式,下面基于上述音量等级划分、音量条以及模式对应关系等基础内容,结合具体的实施例介绍本申请实施例提供的通话控制方法。
第一实施例:自动调节方式
在本申请实施例中,在来电场景下,电子设备获取系统设置的通话音量(简称为系统通话音量),然后根据系统通话音量的大小来判断是否自动调节音量以及是否需要在隐私通话模式和正常模式之间进行模式调节。其中,系统通话音量可以为上一次挂断电话时的通话音量,或者用户在“声音和振动”设置界面中对“通话音量”调节后的音量。系统通话音量具体可以采用音量等级来衡量,例如,系统通话音量可以是1级到10级音量中的某一等级音量。
示例性地,在本申请实施例中,可以预设下述通话控制规则:
当系统通话音量在1级到8级音量范围内时,本次来电接通后的通话音量将保持系统通话音量,进入隐私通话模式。参考图11中的(a)和图11中的(b)所示,当系统通话音量为4级时,本次来电接通后的通话音量保持4级,进入隐私通话模式。当系统通话音量为7级时,本次来电接通后的通话音量保持7级,进入隐私通话模式。
当系统通话音量为9级或10级音量时,本次来电接通后的通话音量降低到预设音量(例如8级音量),进入隐私通话模式。参考图11中的(c)所示,当系统通话音量为9级或10级时,本次来电接通后的通话音量自动调低到8级,进入隐私通话模式。
在本申请实施例中,在来电接通后的通话场景下,电子设备监测环境声(也称为环境噪声或者环境音或者环境噪音等),然后电子设备根据环境声的大小来判断是否自动调节 音量,并且在音量调节时隐私通话模式和正常模式之间进行相应地切换。
在一种可能实现方式中,在来电接通后的通话场景下,在当前通话输出音量为A级音量(如8级或9级音量)时,才会触发电子设备采集环境声,然后根据环境声的大小来判断是否自动调节音量以及是进行模式调节。
例如,在当前通话输出音量为A级音量(如8级音量)时,电子设备采集环境声,然后根据环境声的大小来判断是否自动增大音量以及是否需要从隐私通话模式切换到正常模式。具体地,当环境声大于某一环境声阈值(如55dB)时,说明电子设备所处环境为嘈杂环境,需要电子设备以大音量输出对方通话语音,以保证通话清晰效果,在此情况下电子设备可以自动升高音量并从隐私通话模式切换到正常模式。需要说明的是,上述环境声阈值可以根据实际需求进行设置,本申请实施例对此不作限定。
再例如,在当前通话输出音量为B级音量(如9级音量)时,电子设备采集环境声,然后根据环境声的大小来判断是否自动减小音量以及是否需要从正常模式切换到隐私通话模式。具体地,当环境声小于或等于某一环境声阈值(如55dB)时,说明电子设备所处环境为安静环境,若以正常模式输出语音,则可能存在通话语音泄露的风险,有必要保证通话隐私,在此情况下电子设备可以自动切换到隐私通话模式并降低音量。
示例性地,图12示出了通过控制音量和模式体现本申请实施例提供的通话控制方法的示意图。
参考图12中的(a)所示,在当前系统通话音量为7级音量时,当来电接通时,听筒和屏幕发声装置以第一比例和7级音量发出声音,进入隐私通话模式。在通话过程中,一直处于隐私通话模式,环境声变化不会触发通话音量自动调节。
参考图12中的(b)所示,在系统通话音量为8级音量时,当来电接通时,听筒和屏幕发声装置以第一比例和8级音量发出声音,进入隐私通话模式。在通话过程中,电子设备监测环境声,当环境声大于环境声阈值(如55dB)时,电子设备将系统通话音量提升到9级音量,退出隐私通话模式,在此情况下听筒和屏幕发声装置以第二比例和9级音量发出声音。然后,如果环境声小于或等于环境声阈值,那么电子设备将系统通话音量降低到8级音量,再次进入隐私通话模式。
参考图12中的(c)所示,在系统通话音量为9级音量时,当来电接通时,听筒和屏幕发声装置以第一比例和8级音量发出声音,进入隐私通话模式。在通话过程中,电子设备监测环境声,当环境声大于环境声阈值(如55dB)时,电子设备将系统通话音量提升到9级音量,退出隐私通话模式,在此情况下听筒和屏幕发声装置以第二比例和9级音量发出声音。然后,如果环境声小于或等于环境声阈值,那么电子设备将系统通话音量降低到8级音量,再次进入隐私通话模式。
参考图12中的(d)所示,在系统通话音量为10级音量时,当来电接通时,听筒和屏幕发声装置以第一比例和8级音量发出声音,进入隐私通话模式。在通话过程中,电子设备监测环境声,当环境声大于环境声阈值(如55dB)时,电子设备将系统通话音量提升到9级音量,退出隐私通话模式,在此情况下听筒和屏幕发声装置以第二比例和9级音量发出声音。然后,如果环境声小于或等于环境声阈值,那么电子设备将系统通话音量降低到8级音量,再次进入隐私通话模式。
需要说明的是,如果接通来电前系统通话音量为9级或10级,那么电子设备可以在 接通来电前将音量调节到8级,也可以在来电接通后将音量调节到8级,具体可以根据实际需求进行设置,本申请实施例对此不做限定。
图13示出了本申请实施例提供的通话控制方法的时序示意图。如图13所示,通话控制方法包括S101至S114。其中涉及模块包括通话服务、通话APP、基础服务、播放控制模块、音量控制模块以及决策中心。
S101、通话服务默认开启隐私通话功能。
在隐私通话功能开启的情况下,当接收到来电通知时或者当来电接通时可以执行下述方案:根据系统通话音量的大小,判断本次通话(接听)是否需要调整音量等级大小以及是否启用隐私通话模式,以避免通话时漏音。
S102、通话服务接收到来电信号。
S103、通话服务响应于来电信号,启动通话APP。
相应地,通话APP启动,并触发在桌面显示来电通知界面,该来电通知界面中显示有接听键,该接听键用于触发接听来电。
S104、通话服务指示播放控制模块播放铃声。
相应地,播放控制模块播放来电铃声。
S105、通话服务向基础服务通知来电信号。
S106、基础服务获取系统通话音量。
其中,系统通话音量可以采用音量等级来衡量。例如系统通话音量的等级可以为1至10级中的任一等级。
S107、基础服务将系统通话音量(具体可以为音量等级)通知给决策中心。
S108、决策中心判断系统通话音量是否大于音量等级阈值。
示例性地,音量等级阈值可以取8级。
需要说明的是,下述的S109和S110择一执行。
S109、当系统通话音量大于音量等级阈值时,决策中心通知音量控制模块:将音量降低到8级,进入隐私通话模式。
例如,系统通话音量为9级,可以将音量调整为8级,进入隐私通话模式。
S110、当系统通话音量小于或等于音量等级阈值时,决策中心通知音量控制模块:保持系统通话音量。
例如,系统通话音量的等级可以为1级至8级中的任一项,假设系统通话音量为7级,那么可以保持系统通话音量为7级,进入隐私通话模式。
S111、通话APP接收到用户点击接听键的操作。
S112、通话APP向音量控制模块通知来电接通信号。
S113、音量控制模块向播放控制模块指示采用隐私通话模式。
S114、播放控制模块在通话时采用隐私通话模式输出语音。
示例性地,在此情况下,听筒和屏幕发声装置以第一比例和8级音量发出声音,或者以第一比例和8级以下的音量发出声音。
需要说明的是,由于S109和S110择一执行,因此S114在采用隐私通话模式输出语音时,通话时的接听音量等级会根据S109和S110择一执行的结果进行确定。
下面结合手机界面示意图,详细说明在来电接通时根据系统通话音量自动调节音量的 实现过程。
如图14中的(a)所示,电子设备接收到来电通知,并显示来电通知界面,该来电通知界面中显示有提示信息“智慧隐私通话模式”,表明智慧隐私通话功能已默认开启,一旦来电接通后即可采用“智慧隐私通话模式”输出语音。
响应于用户的接听操作,如图14中的(b)所示,电子设备接通来电,电子设备的听筒和屏幕发生装置以第一比例和6级音量发出声音,此时处于隐私通话模式。
示例性地,第一比例为3:7。需要说明的是,听筒和屏幕发生装置以第一比例和6级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为6级音量;在总音量中,听筒的发声强度占比为3,屏幕发生装置的发声强度占比为7。
如图14中的(c)所示,电子设备接收到用户调高音量的操作。如图14中的(d)所示,电子设备调高音量,例如将音量调高到10级(或9级),在此情况下电子设备的听筒和屏幕发生装置以第二比例和10级音量发出声音,此时退出隐私通话模式。其中,第二比例大于第一比例。
示例性地,第二比例为7:3。需要说明的是,听筒和屏幕发生装置以第二比例和10级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为10级音量;在总音量中,听筒的发声强度占比为7,屏幕发生装置的发声强度占比为3。
如图14中的(e)所示,电子设备接收到用户挂断电话的操作,结束本次通话。
如图14中的(f)所示,电子设备再次接收到来电通知,并显示来电通知界面,同样,该来电通知界面中显示有提示信息“智慧隐私通话模式”,表明智慧隐私通话功能已默认开启,一旦来电接通后即可采用“智慧隐私通话模式”输出语音。
响应于用户的接听操作,如图14中的(g)所示,电子设备接通来电,电子设备的听筒和屏幕发生装置以第三比例和8级音量发出声音,此时处于隐私通话模式。其中,第三比例小于第二比例。并且,第三比例与第一比例可以相同,也可以不同。
示例性地,第三比例可以为4:6。需要说明的是,听筒和屏幕发生装置以第三比例和8级音量发出声音,是指听筒和屏幕发生装置共同发声,二者发声的总音量为8级音量;在总音量中,听筒的发声强度占比为4,屏幕发生装置的发声强度占比为6。
需要说明的是,图14中系统通话音量的具体音量等级以及听筒和屏幕发生装置的发声比例值均为示例性地说明,在实际实现时,可以根据实际情况进行设置或确认,本申请实施例不做限定。
在一些实施例中,电子设备在通话过程中可以持续采集环境声,并根据环境声大小变化自动调节音量。当环境声小于或等于预设环境声阈值且接听音量较大(例如9级)时,可以确定需要自动减小音量并进入隐私通话模式;当环境声大于预设环境声阈值且接听音量较小(例如8级)时,可以确定需要自动增大音量并退出隐私通话模式。
下面结合手机界面示意图,详细说明在来电接通后根据系统通话音量或者根据环境声大小变化自动调节音量的实现过程。不同于相关技术中在来电接通后按照默认方式采用“智慧隐私通话模式”预设的固定音量(例如固定音量6级)输出语音,本申请实施例中可以在来电接通时根据系统通话音量的大小对本次接听音量进行自动调节。在通话过程中,电子设备根据环境声的变化对不同场景(嘈杂场景或安静场景)下的接听音量进行自动调节。
如图15中的(a)所示,电子设备接收到来电通知,并显示来电通知界面,该来电通知界面中显示有提示信息“智慧隐私通话模式”,表明智慧隐私通话功能已默认开启,一旦来电接通后即可采用“智慧隐私通话模式”输出语音。
在一些实施例中,若在来电时判断出系统通话音量在隐私通话模式对应的音量范围内,例如系统通话音量为6级,相对较小,则无需在来电接听后进行调节,并且通话时保持该系统通话音量输出语音即可,以尽量满足用户的使用习惯。相应地,在用户点击接听按键后,如图15中的(b)所示,电子设备显示接听界面,该接听界面中仍然显示提示信息“智慧隐私通话模式”,表明本次通话已启用“智慧隐私通话模式”,当前音量仍然保持为6级。
在另一些实施例中,若在来电时判断出系统通话音量为9级,相对较大,已超出隐私通话模式对应的音量范围,则需要在来电接听后降低音量,这样在输出语音时可以尽量满足用户的使用习惯且能够保障通话隐私。在用户点击接听按键后,如图15中的(c)所示,电子设备显示接听界面,该接听界面中仍然显示提示信息“智慧隐私通话模式”,表明本次通话已启用“智慧隐私通话模式”,电子设备在后台自动将接听音量调节到8级。
在另一些实施例中,如图15中的(c)所示,假设当前接听音量为8级。当判断环境声小于或等于预设环境声阈值时,如图15中的(d)所示,电子设备保持接听音量8级,且保持“智慧隐私通话模式”。而当判断环境声大于预设环境声阈值时,如图15中的(e)所示,电子设备自动将接听音量增大到9级,自动退出“智慧隐私通话模式”,变为正常模式。如图15中的(e)所示,在正常模式下,通话界面中显示提示信息“调低音量可进入智慧隐私通话”,而不显示“智慧隐私通话模式”,并且通话界面中状态栏不再显示隐私通话图标。
需要说明的是,在实际实现时,在自动调节模式下在来电通知界面和接通界面中不显示音量条。电子设备调节音量均为后台完成,无需用户触发操作,提升了用户使用体验。
上面说明了在通话过程中从“智慧隐私通话模式”切换到正常模式的过程,可以理解,在实际实现时,用户接听环境可能随时变化,从安静环境变化为嘈杂环境,或者从嘈杂环境变化为安静环境,在此情况下,电子设备可以自动根据环境声判断是否进行模式切换及音量调节。图16示出了根据环境声变化自动切换模式的示意性流程图。结合图13,如图16所示,在S114之后,通话控制方法还包括S115-S119。
S115,决策中心判断环境声是否大于环境声阈值。
示例性地,环境声阈值可以取55dB。
需要说明的是,下述的S116-S118和S119择一执行。
S116,当环境声大于环境声阈值时,决策中心指示音量控制模块:切换为正常模式(音量等级升高到9级)。
S117,音量控制模块指示播放控制模块采用正常模式。
S118,播放控制模块在通话时采用正常模式输出语音。
S119,当环境声小于或等于环境声阈值时,决策中心确定保持隐私通话模式。
下面结合图17说明根据环境声大小变化,自动调节系统通话音量并相应地切换模式的过程。
如图17中的(a)所示,电子设备显示通话界面,当前接听音量为8级,采用隐私通 话模式进行语音输出,通话界面中显示有隐私通话图标和提示信息。如图17中的(b)所示,当环境声大于阈值时,自动退出智慧隐私通话模式,且自动提升音量(如降低到9级),模式切换后的通话界面中隐私通话图标和提示信息消失。
如图17中的(b)所示,电子设备显示通话界面,当前接听音量为9级,采用正常模式进行语音输出。如图17中的(a)所示,当环境声小于或等于阈值时,自动切换到智慧隐私通话模式,且自动降低音量(如降低到8级),模式切换后的通话界面中显示隐私通话图标和提示信息,表明本次通话已启用“智慧隐私通话模式”。
在一些实施例中,可以在当前采用隐私通话模式且检测到环境声大于环境声阈值且持续时长大于一定时长的情况下,从隐私通话模式切换到正常模式;或者,可以在当前采用正常模式且检测到环境声小于或等于环境声阈值且持续时长大于一定时长的情况下,从正常模式切换到隐私通话模式,这样可以避免短时间内来回进行模式切换,提升用户使用体验。
在一些实施例中,在拨打电话或者接到来电通知之前,用户可能会在设置界面中对通话音量进行调节;在此情况下,当来电或去电接通后,电子设备优先采用隐私通话模式。示例性地,如图18中的(a)和图18中的(b)所示,用户在声音和振动的设置界面中将通话音量调节到9级,如图18中的(c)和图18中的(d)所示,当来电(或去电)接通后,电子设备优先切换到隐私通话模式,并将9级音量自动调节到8级,并且听筒和屏幕发声装置共同发声,且以第一比例(例如3:7),按照8级音量输出通话语音,并在后续通话过程中还可以根据环境声音量大小触发在隐私通话模式和正常模式之间切换。
在另一些实施例中,在拨打电话或者接到来电通知之前,用户可能会在设置界面中对通话音量进行调节。在此情况下,当下一次来电或去电接通后,电子设备可以保持用户设置的系统通话音量,直到用户在通话过程中调节通话的音量实现了两种模式之间的切换。在用户下次再接到来电通知或拨打电话的时候,电子设备根据系统通话音量的大小来判断是否自动调节音量以及是否需要在隐私通话模式和正常模式之间进行模式调节,如图11-图17所示的方法。
举例来说,在一次拨打电话或者接到来电通知之前,用户在设置界面中调节通话音量至10级,在用户拨打电话或者接到来电通知,接通通话后电子设备以10级音量和对应的比例(听筒和屏幕发声的比例)发出声音,在用户通过手动的方式在通话过程中调节音量到8级以下之前的一次或多次通过过程中,电子设备保持用户在系统设置中手动设置的音量,例如10级。在用户通过手动的方式在通话过程中调节音量到8级以下之后,电子设备进入隐私通话模式。并且,在下一次接收到来电通知或者拨打电话时,电子设备根据图11-图17所示的方法确定通话模式和音量。
第二实施例:手动调节方式
第二实施例是在第一实施例的基础上进一步增加的方案。需要说明的是,在隐私通话功能开启的情况下,电子设备可以自动决策是否调节音量以及是否调节模式。当用户触发调节音量或者触发调节模式时,则电子设备从自动调节方式切换到手动调节方式,然后按照用户手动调节方式进行音量及模式调节。
在一些实施例中,用户可以通过对电子设备的物理音量按键按压,触发降低音量或调高音量,进而触发将通话模式在隐私通话模式或者正常模式之间切换。
在另一些实施例中,用户可以通过在屏幕上显示的音量条上滑动操作,触发调高音量或降低音量,进而触发将通话模式在隐私通话模式或者正常模式之间切换。
示例性地,这里针对不同通话模式的切换进行描述。比如说,用户点击物理音量按键,电子设备响应于用户操作可以显示音量条。当用户调高音量时,音量条的填充量会增加,例如音量条从8级变化为9级,则自动退出隐私通话模式,并进入正常模式,即从隐私通话模式切换到正常模式。当用户调低音量时,音量条的填充量会减少,例如音量条从9级变化为8级,则从正常模式切换到隐私通话模式。
在本申请实施例中,通过本申请提供的通话控制方法,可以根据电子设备的输出音量等级或范围,控制隐私通话模式与正常模式切换使用。其中,针对隐私通话模式与正常模式的切换,电子设备可以预定义下述规则:
当电子设备的输出音量等级小于或等于预设音量等级(例如8级)时,或者当电子设备的输出音量等级在预设的第一音量等级范围内(例如[1级,8级])时,则自动启用隐私通话模式;当电子设备的输出音量等级大于预设音量等级时,或者当电子设备的输出音量等级在预设的第二音量等级范围内(例如[9级,10级])时,则自动退出隐私通话模式,并进入正常模式。其中,第二音量等级范围中各个等级对应的音量值大于第一音量等级范围中各个等级对应的音量值。
示例性地,当接收到用户降低音量或提高音量的操作时,若判断调节后的音量等级小于或等于预设音量等级(例如8级),则启用隐私通话模式,例如可以通过屏幕和听筒同时发声并控制这两种发声方式以不同的音量强度进行发声(例如屏幕发声的强度大于听筒发声的强度),以避免漏音,提升用户通话体验。若判断调节后的音量等级大于预设音量等级(例如8级),则启用正常模式,例如可以通过屏幕和听筒同时发声并控制这两种发声方式以不同的音量强度进行发声(例如听筒发声的强度大于屏幕发声的强度),以保证良好的出音效果,提升用户通话体验。
示例性地,图19示出了通过按压物理音量按键调节音量以触发模式切换的界面示意图。如图19中的(a)所示,假设当前接听音量等级为10级,用户可以通过按压电子设备的物理音量按键-键,触发降低音量。如图19中的(b)所示,电子设备响应于用户操作,将通话模式切换到隐私通话模式,并且在通话界面中显示音量条61以及隐私通话图标62,音量条61示出了音量降低变化,接听音量等级降低到例如6级。在隐私通话模式下可以保障通话隐私。类似地,如图19中的(c)所示,在通话界面中显示有音量条61以及隐私通话图标62。假设当前接听音量等级为6级,用户按压音量+键。然后,如图19中的(d)所示,电子设备响应于用户操作,将通话模式切换到正常模式,在通话界面中显示有音量条61以及大音量图标63。音量条61示出了音量提升变化,接听音量等级为9级。在正常模式下可以保障通话清晰性。
示例性地,图20示出了通过按压音量条调节音量以触发模式切换的界面示意图。如图19中的(a)和图19中的(b)所示,假设当前接听音量等级为9级,在接通界面中显示有音量条的情况下,用户可以通过拖动音量条上的调节按钮,触发降低音量。如图20中的(c)所示,音量降低到6级,通话模式从正常模式切换为隐私通话模式。如图20中的(d)所示,音量条61以及隐私通话图标62在一定时长后将自动隐藏。
需要说明的是,在用户通过电子设备进行贴耳听音的场景中,本申请提供的通话控制 方法可以在电子设备的输出音量等级降低后小于或等于预设音量等级时,启用隐私通话模式,以避免语音通话时漏音。在电子设备的输出音量等级升高后超过预设音量等级时,退出隐私通话模式,并进入正常模式,保证大音量播放效果。
在一些实施例中,在本次通话过程中,在切换到手动调节模式之后,将不再返回到自动调节模式,也就是说,在本次通话过程中将不再执行上述根据环境声大小自动调节音量及模式的方案。
在一些实施例中,假设在本次通话时切换到手动调节模式,那么在电子设备下一次接收到来电通知或者通话时,仍然默认先启用自动调节模式,也就是仍然会执行第一实施例中的方法。
第三实施例:来电场景操作物理音量键可触发电话接通后启用“智慧隐私通话模式”
目前只支持在电话接通场景中实现“智慧隐私通话模式”的启用和关闭,而在来电通知、未接通的场景中是无法实现对“智慧隐私通话模式”的操作设置的,无法实现对通话音量的调节,只能控制媒体音量。
鉴于此,本申请实施例提供了如下功能:在本次来电场景中,响应于用户按压音量键或者电源键的操作,电子设备可以在电话接通前启用“智慧隐私通话模式”或者“正常模式”,也就是说,在接通电话前实现对通话音量的调节。相比于相关技术中用户按压音量键或者电源键仅会触发来电铃声静音而言,本申请方案提供了更多能够触发启用“智慧隐私通话模式”的场景。
在一些实施例中,在未开启“智慧隐私通话模式”情况下,在来电接通前、来电通知时,电子设备可以响应于用户双击音量下键,快速启用“智慧隐私通话模式”。
示例性地,如图21中的(a)所示,电子设备接到来电,并显示来电通知界面,并且在屏幕预设区域(例如物理音量键附近)显示提示信息:“双击快速进入智慧隐私通话”。如图21中的(b)所示,如果接通来电前系统通话音量为9级或10级,那么用户双击音量下键后,电子设备可以调低通话音量,例如自动调低到8级,并且电子设备启用智慧隐私通话功能,并在来电通知界面中显示提示信息“已开启智慧隐私通话模式”。此时来电铃声静音。如图21中的(c)所示,当来电接通后,电子设备采用智慧隐私通话模式,以调低后的系统通话音量进行语音输出。
需要说明的是,如果在电子设备接通来电前,系统通话音量为8级及8级以下,那么在用户双击音量下键后,电子设备可以不调节系统通话音量。当来电接通后,电子设备采用智慧隐私通话模式,以未调整的系统通话音量进行语音输出。
作为比较示例,如图21中的(d)所示,在来电通知界面中显示提示信息:“双击音量下键可进入智慧隐私通话”的情况下,如图21中的(e)所示,如果用户在未双击音量下键后点击接听键,那么如图21中的(f)所示,电子设备在通话界面中显示提示信息“调低音量可进入隐私通话模式”,智慧隐私通话功能未被启用。
需要说明的是,如果接通来电前系统通话音量为9级或10级,那么在用户双击音量下键后,电子设备可以在接通来电前调节音量,也可以在来电接通后调节音量,具体可以根据实际需求进行设置,本申请实施例对此不做限定。
在一些实施例中,在来电接通前、来电通知时,响应于用户双击音量下键,电子设备可以直接自动接听来电,而无需用户点击接听控件,并且采用上述方式调低系统通话音量 或者保持系统通话音量,快速启用“智慧隐私通话模式”。
图22示出了本申请实施例提供的通话控制方法的另一时序示意图。如图22所示,通话控制方法包括S201至S210。其中涉及模块包括通话服务、通话APP、基础服务、播放控制模块以及音量控制模块。
S201、通话服务接收到来电信号。
需要说明的是,此时隐私通话功能未开启。
S202、通话服务响应于来电信号,启动通话APP。
相应地,通话APP启动,并触发在桌面显示来电通知界面,该来电通知界面中显示有接听键,该接听键用于触发接听来电。
S203、通话服务指示播放控制模块播放铃声。
相应地,播放控制模块播放来电铃声。
S204、基础服务接收到用户双击音量下键的操作。
S205、基础服务通知播放控制模式设置来电铃声静音。
S206、基础服务通知音量控制模式启用隐私通话模式。
示例性地,当系统通话音量为9级或10级时,在电子设备接收到来电通知时,若用户双击音量下键,则电子设备将系统通话音量降低到8级,在电话接通后会以8级音量输出声音。可以理解,由于8级音量对应的是隐私通话模式,因此相应地会自动启用隐私通话模式。
再示例性地,当系统通话音量在[1级,8级]范围内时,在电子设备接收到来电通知时,若用户双击音量下键,则电子设备保持系统通话音量。例如,在电子设备接收到来电通知时系统通话音量为6级,若用户双击音量下键,则电子设备保持系统通话音量为6级,在电话接通后会以6级音量输出声音。可以理解,由于6级音量对应的是隐私通话模式,因此相应地会自动启用隐私通话模式。
S207、通话APP接收到用户点击接听键的操作。
S208、通话APP向音量控制模块通知来电接通信号。
S209、音量控制模块向播放控制模块指示采用隐私通话模式。
S210、播放控制模块在通话时采用隐私通话模式输出语音。
在另一些实施例中,在未开启“智慧隐私通话模式”情况下,在来电时,电子设备可以响应于用户单击音量下键,来电铃声静音;电子设备可以响应于用户再次单击音量下键,在来电通知界面中显示音量条。用户通过在音量条操作以调节音量,可以触发“智慧隐私通话模式”快速启用。
示例性地,如图23中的(a)所示,电子设备接到来电,并显示来电通知界面,并且显示提示信息:“调低音量可进入智慧隐私通话”。如图23中的(b)所示,用户单击音量下键后,电子设备将来电铃声处理为静音。用户再次单击音量下键后,如图23中的(c)所示,电子设备在来电通知界面中显示音量条。如图23中的(d)所示,响应于用户在音量条上的操作,电子设备调低音量并启用智慧隐私通话功能,并如图23中的(e)所示,在来电通知界面中显示提示信息“已开启智慧隐私通话模式”。如图23中的(f)所示,当来电接通后,电子设备采用智慧隐私通话模式进行语音输出。
第四实施例:通过隐私通话开关快速启用或关闭“智慧隐私通话模式”
在一些实施例中,在来电通知界面中可以显示隐私通话开关,电子设备可以响应于用户对该隐私通话开关的操作,快速开启或关闭“智慧隐私通话模式”。在另一些实施例中,在来电接通的通话界面中同样可以显示隐私通话开关,电子设备可以响应于用户对该隐私通话开关的操作,快速开启或关闭“智慧隐私通话模式”。
示例性地,图24示出了在来电页面触发隐私通话开关的界面图。如图24中的(a)所示,电子设备接到来电,并显示来电通知界面,在来电通知界面中显示有隐私通话开关以及提示信息“已开启隐私通话模式,通话漏音更小。点击可关闭”。此时,隐私通话开关表示隐私通话模式为开启状态。如图24中的(b)和图24中的(c)所示,当用户点击该隐私通话开关后,该隐私通话开关更新显示状态(例如由深色变为浅色),此时隐私通话开关表示隐私通话模式为关闭状态。并且,响应于用户关闭隐私通话的操作,电子设备在来电通知界面中显示音量条以及大音量图标。进一步地,当用户点击接听键后,如图24中的(d)所示,电子设备显示通话界面,在通话界面中仍然显示隐私通话开关。可选地,在隐私通话开关附近区域可以显示提示信息“点击可开启隐私通话模式,通话漏音更小”。
需要说明的是,本申请实施例中的隐私通话开关的显示方式仅仅是一个示例,本申请不限于此。比如说,还可以在显示界面顶部的状态栏中,以胶囊的形式显示隐私通话开关。
再示例性地,图25示出了在通话页面触发隐私通话开关的界面图。如图25中的(a)所示,电子设备显示通话界面,在通话界面中显示有隐私通话开关以及提示信息“点击可开启隐私通话模式,通话漏音更小”。此时隐私通话开关表示隐私通话模式为关闭状态。如图25中的(b)和图25中的(c)所示,当用户点击该隐私通话开关后,该隐私通话开关更新显示状态,隐私通话开关表示隐私通话模式为开启状态(例如由浅色变为深色)。并且,响应于用户开启隐私通话的操作,电子设备在来电通知界面中显示音量条以及通话隐私图标。在通话过程中,电子设备采用隐私通话模式进行语音输出。可选地,在隐私通话开关附近区域可以显示提示信息“已开启隐私通话模式,通话漏音更小。点击可关闭”。如图25中的(d)所示,音量条在一定时长后将自动隐藏。
需要说明的是,以上实施例是以来电场景为例进行说明的,在实际实现时,上述实施例同样适用于去电场景。例如,在去电界面中可以显示隐私通话开关,电子设备可以响应于用户对该隐私通话开关的操作,快速开启或关闭“智慧隐私通话模式”。并且,在去电接通后的通话界面中同样可以显示隐私通话开关,电子设备可以响应于用户对该隐私通话开关的操作,快速开启或关闭“智慧隐私通话模式”。
第五实施例:在来电接通时弹出音量条以及模式调节提示
在一些实施例中,在未开启“智慧隐私通话模式”情况下,在来电接通时,在通话界面中立刻弹出音量条以及提示信息“调低音量进入智慧隐私通话模式”。用户可以根据实际使用需求,选择调低音量触发电子设备启用智慧隐私通话模式,或者不调节音量,从而不启用智慧隐私通话模式。
示例性地,图26示出了在来电通话页面提示开启隐私通话模式的界面图。如图26中的(a)所示,电子设备接到来电,并显示来电页面。当用户点击接听键后,如图26中的(b)所示,电子设备显示通话界面,并且该通话界面中显示有音量条、大音量图标以及提示信息“调低音量进入智慧隐私通话模式”。在此情况下,用户可以有如下两种选择:如图26中的(c)和图26中的(d)所示,用户在音量条上操作以降低音量,可触发进入 隐私通话模式;或者,如图26中的(e)所示,用户在通话界面上不操作或者点击在通话界面的空白处,则不会进入隐私通话模式。
需要说明的是,以上实施例是以来电场景为例进行说明的,在实际实现时,上述实施例同样适用于去电场景。在一些实施例中,在未开启“智慧隐私通话模式”情况下,在去电接通,且电子设备未贴耳时,在通话界面中可以立刻弹出音量条以及提示信息“调低音量进入智慧隐私通话模式”,以引导用户通过调节音量条来启用智慧隐私通话模式。用户可以根据实际使用需求,选择调低音量触发电子设备启用智慧隐私通话模式。在一些实施例中,在未开启“智慧隐私通话模式”情况下,在去电接通,且电子设备贴耳时,电子设备可以控制显示屏熄灭,防止误触。
示例性地,图27示出了在去电通话页面提示开启隐私通话模式的界面图。如图27中的(a)所示,电子设备显示去电页面。当电话接通后,如图27中的(b)所示,电子设备显示通话界面,并且该通话界面中显示有音量条、大音量图标以及提示信息“调低音量进入智慧隐私通话模式”。在此情况下,用户可以有如下两种选择:如图27中的(c)和图27中的(d)所示,用户在音量条上操作以降低音量,可触发进入隐私通话模式;或者,如图27中的(e)所示,用户在通话界面上不操作或者点击在通话界面的空白处,则不会进入隐私通话模式。
在本申请实施例中,在智慧隐私通话功能开启之后,在语音通话场景中,隐私通话模式可以在电子设备的输出音量等级低于预设音量等级时自动启用。也就是说,在语音通话场景中当电子设备的输出音量等级低于预设音量等级时,则自动切换为隐私通话模式,并采用隐私通话模式对应的语音输出方式(例如通过屏幕和听筒共同发声,如屏幕发声强度大于听筒发声强度)来输出语音,避免语音通话时漏音。
在另一些实施例中,在语音通话场景中,当感应到用户连续多次触发音量降低的操作时,也可以自动切换为隐私通话模式,并采用隐私通话模式对应的语音输出方式(例如通过屏幕和听筒共同发声,如屏幕发声强度大于听筒发声强度)来输出语音,避免语音通话时漏音。
在一些实施例中,当从隐私通话模式切换到正常模式时,还可以在隐私通话模式对应的音量基础上,增大整体发声音量(或称为响度或强度),以提升语音播放效果。也就是说,在正常模式下通过听筒发声和屏幕发声时的整体发声响度,大于在隐私通话模式下通过听筒发声和屏幕发声时的整体发声响度。
相比于听筒发声方式,屏幕发声方式能有效防止语音通话时漏音,因此当用户处于安静环境中接打电话时,用户通常希望减少漏音,此时可以采用隐私通话模式,能够保证通话清晰的同时,减少漏音,从而起到保护用户隐私的效果。
以上详细描述了隐私通话模式与正常模式之间切换的过程,下面再进一步说明隐私通话模式与扬声器模式之间切换的可能实现方式。
在一些实施例中,通过本申请提供的音频处理方法,在电子设备处于隐私通话模式的情况下,当电子设备接收到用户点击扬声器图标时,可以切换为扬声器模式,即通过扬声器发声来输出语音,此时屏幕和听筒均不发声。可选地,进一步地,当电子设备接收到用户点击扬声器图标时,可以退出扬声器模式,并重新进入隐私通话模式。
示例性地,图28示出了接听来电后的语音通话界面的示意图,在语音通话界面中显 示有以下提示信息:“智慧隐私通话已开启”71以及标识隐私通话的图标72。如图28中的(a)所示,用户点击语音通话界面中的扬声器键73,以触发通过扬声器播放语音。如图28中的(b)所示,响应于用户对扬声器键73的操作,手机开启免提功能,此时通过扬声器播放语音,且屏幕和听筒均不发声,并且语音通话界面中可以显示提示信息“已退出智慧隐私通话”74,相应地“智慧隐私通话已开启”71以及标识隐私通话的图标72会取消显示。提示信息“已退出智慧隐私通话”74在显示一定时长(例如5秒)后会隐藏。
进一步可选地,如图28中的(c)所示,用户可以再次点击语音通话界面中的扬声器键73,以触发关闭扬声器。如图28中的(d)所示,响应于用户对扬声器键73的操作,手机从扬声器模式切换到隐私通话模式。如此实现隐私通话模式与正常模式之间的切换。
再示例性地,图29示出了通过在智慧隐私通话功能的通知卡片上操作来触发从隐私通话模式切换到扬声器模式的界面示意图,如图29中的(a)所示,用户在语音通话界面上沿箭头方向向下滑动手指,以下拉菜单栏。如图29中的(b)所示,显示菜单栏(也称为通知界面),该菜单栏中显示有通知卡片75,该通知卡片75用于指示正在进行语音通话,用户可以点击该通知卡片75中的免提标识76,以触发开启免提功能。如图29中的(c)所示,在用户点击该免提标识76之后,从菜单栏界面返回到语音通话界面,在语音通话界面中可以显示提示信息“已退出智慧隐私通话”74。相应地“智慧隐私通话已开启”71以及标识隐私通话的图标72会取消显示。如此实现隐私通话模式与正常模式之间的切换。
在一些实施例中,电子设备提供了智慧隐私通话功能的设置界面,用户可以根据实际使用需求,在该设置界面中触发智慧隐私通话功能开启或关闭。
示例性地,图30示出了通过智慧隐私通话功能的通知卡片进入智慧隐私通话功能的设置界面的示意图,如图30中的(a)所示,用户在语音通话界面上沿箭头方向向下滑动手指,以下拉菜单栏。如图30中的(b)所示,显示菜单栏(也称为通知界面),该菜单栏中显示有通知卡片77,该通知卡片77用于指示智慧隐私通话功能已开启,用户可以点击该通知卡片77,以对智慧隐私通话功能进行设置。如图30中的(c)所示,在用户点击该通知卡片75之后,从菜单栏界面跳转到智慧隐私通话功能的设置界面78,该设置界面78中包括智慧隐私通话功能的开关控件79,开关控件79当前指示智慧隐私通话功能处于开启状态。用户可以对开关控件79操作(例如沿图示箭头方向的滑动操作),以触发关闭智慧隐私通话功能。
进一步地,如图30中的(d)所示,在用户对开关控件79操作之后,退出隐私通话模式,并且从智慧隐私通话功能的设置界面78跳转到语音通话界面,在语音通话界面中可以显示提示信息“已退出智慧隐私通话”74。相应地“智慧隐私通话已开启”71以及标识隐私通话的图标72会取消显示。
需要说明的是,上面实施例应用的语音通话场景为例进行示例性的说明,可以理解,上述实施例提供的关于在隐私通话模式与扬声器模式之间切换,以及对隐私通话模式的功能设置等方案同样可以应用于VoIP的语音通话场景中。
如此,在用户通过电子设备进行贴耳听音时,电子设备可以根据不同的音量等级判断是启用隐私通话模式还是正常模式,并且可以选择通过听筒和/或屏幕进行发声。例如,在电子设备默认设置的音量等级或者用户触发调整后的音量等级小于或等于预设音量等级时,启用隐私通话模式,在隐私通话模式下可以通过听筒和屏幕以不同的发声强度播放语 音,例如屏幕发声强度大于听筒发声强度。在电子设备默认设置的音量等级或者用户触发调整后的音量等级大于预设音量等级时,则启用正常模式,在正常模式下也可以通过听筒和屏幕以不同的发声强度播放语音,例如听筒发声强度大于屏幕发声强度。通过听筒发声和屏幕发声互补使用,以使电子设备播放语音时既可以避免安静环境下漏音还可以具有良好音质。从而能够良好的保护用户的隐私,使电子设备在用户进行贴耳听音时具有更好的私密性。
如上所述,在用户通过手机进行贴耳听音,或用户选择听筒模式(即手机通过听筒播放声音的模式)时,手机可以判断当前的音量等级是否大于预设音量等级,并根据判断结果确定是启用隐私通话模式还是启用正常模式。下面说明如何检测用户通过手机贴耳听音的动作的可能实现方式。
其中,用户通过手机进行贴耳听音(即手机所处的贴耳听音状态),可以是用户耳朵贴靠在听筒附近,通过手机的听筒收听手机内存储的音频数据(如录音数据、歌曲数据等)。还可以是用户耳朵贴靠在听筒附近进行语音通信(语音通信可以是通过手机中的电话功能与其他电子设备进行的语音通信,也可以是通过手机中安装的即时通讯应用与其他电子设备进行的语音通信)时,通过手机的听筒收听手机接收到的对侧用户手机传输来的声音数据。还可以是用户耳朵贴靠在听筒附近,通过手机的听筒收听即时通讯应用中的语音消息等。如,手机通过即时通讯应用接收来自其他手机的语音消息。手机可以显示即时通讯应用的聊天界面,该聊天界面包括来自其他手机的语音消息。响应于用户对该语音消息的点击操作,手机可以通过听筒播放来自其他手机的语音消息(即声音信号)。
示例地,手机可以通过光线传感器、距离传感器等传感器来检测用户耳朵是否贴靠在听筒附近。例如,手机可以通过距离传感器检测手机前面板(或者屏幕)前是否有遮挡,当前面板前近距离处有遮挡,则可确定当前用户耳朵贴靠在听筒附近。又例如,当手机光线传感器检测到光线强度瞬间降低且变化较大时,则可确定当前用户耳朵贴靠在听筒附近。当然,在本申请的其他实施例中,手机还可以通过其他方式或算法检测用户耳朵是否贴靠在听筒附近,也可以参考常规技术中的相关介绍,此处不做限制。
在一些实施例中,当用户使用手机进行贴耳听音时,手机还可以显示可供用户选择的各种听音模式,以便用户根据实际使用需求,手动选择听音模式,触发手机执行相应的听筒和屏幕发声的声音播放策略。其中,听音模式可以包括隐私通话模式和正常模式。
需要说明的是,上述示例中,手机接收到用户输入的选择听音模式的操作后,可以直接采用相对应的声音播放策略来播放声音。每种听音模式采用对应的声音播放策略。
其中,隐私通话模式可以采用听筒和屏幕共同发声的声音播放策略来播放声音,其中屏幕发声强度可以大于或等于听筒发声强度。即,手机可以采用屏幕发声为主、听筒发声为辅的方式同时播放语音。隐私通话模式还可以仅采用屏幕发声。
其中,正常模式可以采用听筒和屏幕共同发声的声音播放策略来播放声音,其中听筒发声强度可以大于屏幕发声强度。即,手机可以采用听筒发声为主、屏幕发声为辅的方式同时播放语音。正常模式还可以仅采用听筒发声。
其中,根据上述示例的用户贴耳听音的各种场景,听筒和屏幕发声播放的语音可以是手机中保存的任一个音频数据,例如,语音是手机中保存的录音数据或歌曲数据等。还可以是手机进行语音通信时手机接收到的对侧用户手机传输来的声音数据。还可以是手机中 安装的即时通讯应用中的语音消息等。
图31为本申请实施例提供的一种通话控制方法的提示隐私通话功能的流程示意图。如图31所示,在前三次接听后或者拨打电话,未进入隐私通话模式的情况下,在来电通知界面或者去电界面中弹出气泡提示(如上述图5所示的气泡提示)。进一步判断是否进入隐私通话模式。如果检测到没有进入隐私通话模式,那么表示用户未学会隐私通话功能,因此电子设备通过弹出气泡来提示,例如提示三次。如果检测到进入隐私通话模式,那么表示用户已学会该功能。进一步地,判断在某一预设时长(如7天)内,用户是否有多次(如两次)以上触发进入隐私通话模式。如果检测到没有进入隐私通话模式,那么表示用户仍未学会隐私通话功能,因此电子设备再次弹出三次气泡进行提示,直到用户学会该隐私通话功能为止停止提示。如果检测到进入隐私通话模式,那么表示用户已学会该功能,不再进行提示。
可选地,在本申请实施例中,安静环境下,手机还可以根据人耳与手机(或听筒)间的距离来调整听筒发声和屏幕发声的音量(或称为响度)。同时,还可以对听筒发声输出的频段以及屏幕发声输出的频段进行调整。
例如,当人耳远离手机时,手机可以增加听筒发声和屏幕发声的音量。同时,手机还可以减少听筒发声输出的频段中相对高频的部分的发声,即降低屏幕发声输出的频段和听筒发声输出的频段间的分界频率,使听筒发声输出更低的频段。由于屏幕发声的能量大部分正对人耳,而听筒发声的部分能量会从手机中框顶部的出音孔释放,因此提高音量后听筒发声相比于屏幕发声更易漏音,所以进一步调低听筒发声输出的频段,能够避免提高音量后其他用户听清听筒发声输出的声音。
在一些实施例中,还可以根据屏幕发声的灵敏度对屏幕发声的声音强度进行设置。即,根据屏幕发声的灵敏度不同,设置的屏幕发声的声音强度也可以有所不同。
例如,在本申请实施例中,屏幕发声可以通过屏幕发声装置(例如,如图2所示的屏幕发声装置)实现,根据不同的屏幕发声方案,屏幕发声装置也有所不同。如,屏幕发声装置可以是连接在屏幕背面的振动源(通常为压电陶瓷,也可以是马达振子、激励器或其他振动单元),可以通过电流信号控制压电陶瓷振动以带动屏幕振动,从而实现屏幕发声。又如,屏幕发声装置还可以是通过悬臂梁结构固定在手机中框上的压电陶瓷,可以通过电流信号控制压电陶瓷振动,利用手机中框将振动传递至屏幕带动屏幕振动,从而实现屏幕发声。又如,屏幕发声装置还可以是固定在手机中框上的激励器,可以通过电流信号控制激励器振动,利用手机中框将振动传递至屏幕带动屏幕振动,从而实现屏幕发声。又例如,屏幕发声装置还可以分体式磁悬浮振子。其中一个振子固定在手机中框上,另一个振子固定在屏幕上,可以通过电流信号控制固定在屏幕上的振子相对于固定在手机中框上的振子振动,从而推动屏幕振动实现屏幕发声。受屏幕发声装置设置的类型、位置、手机中框重量、手机内部结构布局等的影响,不同的屏幕发声方案的屏幕发声灵敏度均有所不同,可以为灵敏高的屏幕发声设置相对较小的屏幕发声声音强度和推动功率,而为灵敏度低的屏幕发声设置相对较大的屏幕发声声音强度和推动功率。
可选地,在本申请实施例中,电子设备(如手机)可以自动开启上述方法所实现的功能,也可以设置为用户手动开启上述方法所实现的功能。
也需要说明的是,在本申请实施例中,“大于”可以替换为“大于或等于”,“小于或 等于”可以替换为“小于”,或者,“大于或等于”可以替换为“大于”,“小于”可以替换为“小于或等于”。
本文中描述的各个实施例可以为独立的方案,也可以根据内在逻辑进行组合,这些方案都落入本申请的保护范围中。
可以理解的是,上述各个方法实施例中由电子设备实现的方法和操作,也可以由可用于电子设备的部件(例如芯片或者电路)实现。
本申请还提供一种芯片,该芯片与存储器耦合,该芯片用于读取并执行存储器中存储的计算机程序或指令,以执行上述各实施例中的方法。
本申请还提供一种电子设备,该电子设备包括芯片,该芯片用于读取并执行存储器存储的计算机程序或指令,使得各实施例中的方法被执行。
本实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的通话控制方法。
本实施例还提供了一种计算机程序产品,该计算机可读存储介质存储有程序代码,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的通话控制方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的通话控制方法。
其中,本实施例提供的电子设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构进行特别限定,只要能够通过运行记录有本申请实施例提供的方法的代码的程序,以根据本申请实施例提供的方法进行通话控制即可。例如,本申请实施例提供的方法的执行主体可以是电子设备,或者,是电子设备中能够调用程序并执行程序的功能模块。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它 的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上,或者说对现有技术做出贡献的部分,或者该技术方案的部分,可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,该计算机软件产品包括若干指令,该指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。前述的存储介质可以包括但不限于:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种通话控制方法,其特征在于,应用于电子设备,所述电子设备包括听筒、屏幕和屏幕发声装置,所述屏幕发声装置用于驱动屏幕进行屏幕发声,所述方法包括:
    当所述电子设备的系统设置的通话音量为第一音量时,所述电子设备接收第一来电;
    所述电子设备接收用户的第一操作,并响应于所述第一操作,接通所述第一来电,所述电子设备的所述听筒和所述屏幕发声装置以第一比例和所述第一音量发出第一声音;
    在所述第一来电的通话过程中,所述电子设备接收用户的第二操作,响应于所述第二操作,所述听筒和所述屏幕发声装置以第二比例和第二音量发出第二声音,所述第二音量大于第一音量;
    所述电子设备接收用户的第三操作,并响应于所述第三操作,结束所述第一来电;
    当所述电子设备的系统设置的通话音量为所述第二音量时,所述电子设备接收第二来电;
    所述电子设备接收用户的第四操作,并响应于所述第四操作,接通所述第二来电,所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音,其中,所述第三音量大于所述第一音量,所述第三音量小于所述第二音量;
    其中,所述第一比例和所述第二比例不同,所述第三比例和所述第二比例不同。
  2. 根据权利要求1所述的方法,其特征在于,在所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音之后,所述方法还包括:
    当所述电子设备所处的环境声的大小为第一值时,所述电子设备的所述听筒和所述屏幕发声装置以所述第三比例和所述第三音量发出第三声音;
    当所述电子设备所处的环境声的大小为第二值时,所述电子设备的所述听筒和所述屏幕发声装置以第四比例和第四音量发出第四声音;
    其中,所述第一值小于所述第二值,所述第三比例与第四比例不同,所述第三音量小于所述第四音量。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一比例、所述第二比例、所述第三比例分别为所述听筒的发声强度与所述屏幕发声装置的发声强度的比例值;
    其中,所述第一比例小于所述第二比例,所述第三比例小于所述第二比例。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,在所述电子设备接收第一来电之前,所述方法还包括:
    在所述电子设备开机后,默认开启第一功能;
    其中,在所述第一功能开启的情况下,在来电或者去电接通后,所述听筒的发声强度小于所述屏幕发声装置的发声强度。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第二操作为用户按压物理音量上键的操作;或者,用户将音量条图标中的音量调节按钮向上拖动的操作。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,
    所述电子设备的输出音量通过音量分贝值表示;或者,
    所述电子设备的输出音量通过音量等级表示;其中,预设范围内的音量分贝值被划分为N个音量等级,所述N个音量等级与N个分贝值存在一一对应的关系,N为正整数。
  7. 根据权利要求6所述的方法,其特征在于,所述N个音量等级包括音量1级至音量10级;其中,所述第一音量和所述第三音量分别对应的音量等级在[1级,I级]范围内,所述第二音量和第四音量分别对应的音量在[I+1级,10级]范围内,其中I为大于1且小于10的整数。
  8. 根据权利要求7所述的方法,其特征在于,I取值为8。
  9. 一种通话控制方法,其特征在于,应用于电子设备,所述电子设备包括听筒、屏幕和屏幕发声装置,所述屏幕发声装置用于驱动屏幕进行屏幕发声,所述方法包括:
    当所述电子设备的系统设置的通话音量为第一音量时,所述电子设备接收第一来电;
    所述电子设备响应于用户双击音量下键的操作,开启第一功能,所述第一功能为所述听筒的发声强度小于所述屏幕发声装置的发声强度;
    所述电子设备响应于用户接听电话的操作,接通所述第一来电,所述电子设备的所述听筒和所述屏幕发声装置以第一比例和所述第一音量发出第一声音;
    在所述第一来电的通话过程中,响应于用户调高音量的操作,所述电子设备的所述听筒和所述屏幕发声装置以第二比例和第二音量发出第二声音,所述第二音量大于第一音量;
    所述电子设备响应于用户挂断电话的操作,结束所述第一来电;
    当所述电子设备的系统设置的通话音量为所述第二音量时,所述电子设备接收第二来电;
    所述电子设备响应于用户双击音量下键的操作,开启所述第一功能;
    所述电子设备响应于用户接听电话的操作,接通所述第二来电,所述电子设备的所述听筒和所述屏幕发声装置以第三比例和第三音量发出第三声音,其中,所述第三音量大于所述第一音量,所述第三音量小于所述第二音量;
    其中,所述第一比例和所述第二比例不同,所述第三比例和所述第二比例不同。
  10. 根据权利要求9所述的方法,其特征在于,所述第一比例、所述第二比例、所述第三比例分别为所述听筒的发声强度与所述屏幕发声装置的发声强度的比例值;
    其中,所述第一比例小于所述第二比例,所述第三比例小于所述第二比例。
  11. 根据权利要求9或10所述的方法,其特征在于,所述电子设备接收第一来电,包括:
    所述电子设备显示来电通知界面;
    在来电未接通时,电子设备在所述来电通知界面中显示第一提示信息,所述第一提示信息用于提示通过双击音量下键,触发开启所述第一功能。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,在所述开启所述第一功能之后,所述方法还包括:
    所述电子设备在所述来电通知界面中显示第二提示信息,所述第二提示信息用于 提示已开启所述第一功能。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备响应于用户双击音量下键的操作,将来电铃声处理为静音。
  14. 根据权利要求9至13中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收第三来电;
    响应于接收到用户单击音量下键的操作,所述电子设备将来电铃声处理为静音;
    响应于用户再次单击音量下键的操作,所述电子设备在所述来电通知界面中显示音量条图标,所述音量条图标用于表示所述电子设备的系统设置的通话音量。
  15. 根据权利要求14所述的方法,其特征在于,在所述电子设备在所述来电通知界面中显示音量条图标之后,所述方法还包括:
    响应于接收到用户在所述音量条图标上的操作,所述电子设备调节通话音量;
    当调节后的音量为第一通话音量时,开启所述第一功能;或者,
    当调节后的音量为第二通话音量时,关闭所述第一功能;
    其中,所述第一通话音量小于所述第二通话音量。
  16. 根据权利要求9至15中任一项所述的方法,其特征在于,所述方法还包括:
    在所述第一功能关闭的情况下,所述电子设备接收第四来电;
    响应于电话接通,所述电子设备显示通话界面;
    在所述通话界面中显示音量条图标,并展示动效引导和文字提示;其中,所述动效引导包括所述音量条图标中的音量调节按钮向下移动,所述文字提示用于提示通过调低音量触发开启所述第一功能。
  17. 根据权利要求9至15中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备在来电通知界面或去电界面或通话界面中显示第一功能的开关图标;
    响应于接收到用户在所述开关图标的点击操作,所述电子设备开启所述第一功能;
    响应于再次接收到用户在所述开关图标的点击操作,所述电子设备关闭所述第一功能。
  18. 一种电子设备,其特征在于,包括处理器,所述处理器与存储器耦合,所述处理器用于执行所述存储器中存储的计算机程序或指令,以使得所述电子设备实现如权利要求1至8中任一项所述的方法,或者9至17中任一项所述的方法。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至8中任一项所述的方法,或者9至17中任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码被电子设备运行时,使得所述电子设备执行如权利要求1至8中任一项所述的方法,或者9至17中任一项所述的方法。
PCT/CN2023/114009 2022-10-31 2023-08-21 通话控制方法、电子设备及存储介质 WO2024093452A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211350598.8A CN117998009A (zh) 2022-10-31 2022-10-31 通话控制方法、电子设备及存储介质
CN202211350598.8 2022-10-31

Publications (1)

Publication Number Publication Date
WO2024093452A1 true WO2024093452A1 (zh) 2024-05-10

Family

ID=90895909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114009 WO2024093452A1 (zh) 2022-10-31 2023-08-21 通话控制方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN117998009A (zh)
WO (1) WO2024093452A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080524A1 (zh) * 2015-11-13 2017-05-18 珠海格力电器股份有限公司 通话保密控制方法和装置及移动终端
JP2018110370A (ja) * 2017-08-08 2018-07-12 京セラ株式会社 電子機器、プログラムおよび制御方法
CN108958631A (zh) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 屏幕发声控制方法、装置以及电子装置
CN109032557A (zh) * 2018-07-09 2018-12-18 Oppo广东移动通信有限公司 发声控制方法、装置、电子装置以及存储介质
CN109462799A (zh) * 2018-12-29 2019-03-12 维沃移动通信有限公司 音频电信号转换组件、终端和音频电信号转换方法
CN114466097A (zh) * 2021-08-10 2022-05-10 荣耀终端有限公司 防漏音的移动终端及移动终端的声音输出方法
CN114866639A (zh) * 2022-04-29 2022-08-05 维沃移动通信有限公司 电子设备、控制方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080524A1 (zh) * 2015-11-13 2017-05-18 珠海格力电器股份有限公司 通话保密控制方法和装置及移动终端
JP2018110370A (ja) * 2017-08-08 2018-07-12 京セラ株式会社 電子機器、プログラムおよび制御方法
CN108958631A (zh) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 屏幕发声控制方法、装置以及电子装置
CN109032557A (zh) * 2018-07-09 2018-12-18 Oppo广东移动通信有限公司 发声控制方法、装置、电子装置以及存储介质
CN109462799A (zh) * 2018-12-29 2019-03-12 维沃移动通信有限公司 音频电信号转换组件、终端和音频电信号转换方法
CN114466097A (zh) * 2021-08-10 2022-05-10 荣耀终端有限公司 防漏音的移动终端及移动终端的声音输出方法
CN114866639A (zh) * 2022-04-29 2022-08-05 维沃移动通信有限公司 电子设备、控制方法和装置

Also Published As

Publication number Publication date
CN117998009A (zh) 2024-05-07

Similar Documents

Publication Publication Date Title
EP4030276B1 (en) Content continuation method and electronic device
CN110138937B (zh) 一种通话方法、设备及系统
CN113438341B (zh) 实现立体声输出的方法及终端
CN110166890B (zh) 音频的播放采集方法、设备及存储介质
JP2018500859A (ja) 音量調整方法、装置および端末
CN106454644B (zh) 音频播放方法及装置
WO2019154182A1 (zh) 应用程序的音量设置方法及移动终端
CN114466097A (zh) 防漏音的移动终端及移动终端的声音输出方法
US20070024700A1 (en) Method and device for setting output volume of audio signal to prevent acoustic shock in mobile terminal
CN116471355A (zh) 音频播放的方法及电子设备
CN110517711A (zh) 音频的播放方法、装置、存储介质及电子设备
CN114416015A (zh) 音频调节方法、装置、电子设备及可读存储介质
CN112882622A (zh) 数据处理方法及装置、终端、存储介质
WO2023284403A1 (zh) 一种音频处理方法及设备
WO2018058331A1 (zh) 控制音量的方法及装置
WO2018035868A1 (zh) 输出音频的方法、电子设备以及存储介质
WO2024093452A1 (zh) 通话控制方法、电子设备及存储介质
CN114489535B (zh) 外屏显示方法及电子设备
CN110392878B (zh) 一种控制声音的方法及移动终端
WO2023160204A1 (zh) 音频处理方法及电子设备
JP2020528712A (ja) 音声再生方法および端末、記憶媒体
CN110933237A (zh) 通话方法、装置、电子设备及介质
WO2024152690A1 (zh) 声道模式切换方法、设备及存储介质
WO2023142900A1 (zh) 一种音量调整方法与电子设备
CN117389507B (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: 23884389

Country of ref document: EP

Kind code of ref document: A1