Call control method, electronic device, and storage medium

CN117998009BActive Publication Date: 2026-10-23HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211350598.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2026-10-23
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

[0004]本申请提供一种通话控制方法及电子设备,解决了在用户手持手机贴耳听音的场景中通过听筒播放语音时存在漏音现象的问题

Benefits of technology

[0056]可以理解的是,上述第二方面至第八方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117998009B_ABST
    Figure CN117998009B_ABST
Patent Text Reader

Abstract

The application provides a call control method, an electronic device and a storage medium, and relates to the technical field of electronics. According to the scheme, when a call is answered, the answering volume is automatically adjusted to a suitable volume according to the system call volume, and a private call mode is enabled. During the call, the mode can be automatically switched according to the size of the ambient sound, that is, the private call mode is automatically switched to and the volume is automatically reduced in a quiet environment, so that the sound leakage can be reduced. In a noisy environment, the normal mode is automatically switched to and the volume is automatically increased, so that the call clarity can be ensured. In addition, when a call is received and during the call, the mode can be switched between different modes according to the actual needs of the user and in response to a manual triggering operation of the user. Therefore, the automatic adjustment mode and the manual adjustment mode provided by the application can realize mode switching according to the actual use demand, and meet the call needs of the user in various scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a call control method, electronic device, and storage medium. Background Technology

[0002] Currently, most mobile phones use an earpiece located at the top of the phone for voice communication. Typically, a sound outlet is located at the earpiece's position to release the energy emitted by the earpiece; this outlet is usually located on the front panel of the phone. With the development of large-screen and full-screen phones, some full-screen phones have designed their sound outlet as a long slit, located at the junction of the phone's frame and the front panel. Additionally, to ensure a large enough external sound output area and good sound quality, some full-screen phones also add an opening at the top of the frame as a sound outlet.

[0003] However, when a user holds their phone to their ear to listen (such as during a voice call), the voice output through the earpiece is not only emitted from the sound outlet at the side seam, but also a large portion of the energy is emitted from the sound outlet at the top. Therefore, the sound coming out of the sound outlet can not only be heard by the user, but also by other users in a quiet environment, resulting in sound leakage and potentially compromising user privacy. Summary of the Invention

[0004] This application provides a call control method and electronic device, which solves the problem of sound leakage when playing voice through the earpiece in scenarios where the user holds the mobile phone to their ear.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, this application provides a call control method applied to an electronic device, the electronic device including a handset, a screen, and a screen sound-emitting device, the screen sound-emitting device being used to drive the screen to emit sound, the call control method including:

[0007] When the electronic device's system-set call volume is at the first volume, the electronic device receives the first incoming call;

[0008] The electronic device receives a first operation from the user and responds to the first operation by connecting the first incoming call. The earpiece and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume.

[0009] During the call of the first incoming call, the electronic device receives a second operation from the user. In response to the second operation, the earpiece and the screen sound device emit a second sound at a second ratio and a second volume, wherein the second volume is greater than the first volume.

[0010] The electronic device receives a third operation from the user and, in response to the third operation, terminates the first incoming call;

[0011] When the system-set call volume of the electronic device is the second volume, the electronic device receives the second incoming call;

[0012] The electronic device receives a fourth operation from the user and, in response to the fourth operation, connects the second incoming call. The earpiece 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 the third volume is less than the second volume.

[0013] The first ratio is different from the second ratio, and the third ratio is different from the second ratio.

[0014] The solution provided in this application provides that when answering a call, if the system call volume is relatively low, the system call volume can be maintained and a private call mode can be entered, which not only reduces sound leakage but also meets the user's usage habits. If the system call volume is high, the volume is automatically reduced and a private call mode is entered, thereby reducing sound leakage. Therefore, the solution in this application can automatically adjust the answer volume to a suitable volume based on the system call volume before answering, meeting the user's call needs and improving the user's call experience.

[0015] It should be noted that the example given here is the incoming call scenario. It can be understood that in actual implementation, the call control method provided in this application embodiment can also be applied to the outgoing call scenario.

[0016] The call control method provided in this application is briefly described here by way of example.

[0017] First, the electronic device receives an incoming call notification and displays the incoming call notification interface. The interface displays the message "Smart Privacy Call Mode," indicating that the Smart Privacy Call function is enabled by default. Once the call is connected, the device can output voice messages using the "Smart Privacy Call Mode."

[0018] Then, in response to the user's answering action, the electronic device connects to the call, and the earpiece and screen emitter emit sound at a first ratio and a volume level of 6, at which point it is in private call mode. For example, the first ratio is 3:7. It should be noted that the earpiece and screen emitter emitting sound at the first ratio and a volume level of 6 means that the earpiece and screen emitter emit sound together, with a total volume level of 6; in the total volume, the earpiece's sound intensity accounts for 3, and the screen emitter's sound intensity accounts for 7.

[0019] Then, the electronic device receives the user's command to increase the volume. Accordingly, the electronic device increases the volume, for example, to level 10 (or level 9). In this case, the earpiece and screen generator emit sound at a second ratio and a volume level of 10, at which point the privacy call mode is exited. The second ratio is greater than the first ratio. For example, the second ratio is 7:3. It should be noted that when the earpiece and screen generator emit sound at a second ratio and a volume level of 10, it means that the earpiece and screen generator emit sound together, with a total volume of level 10; in the total volume, the earpiece's sound intensity accounts for 7, and the screen generator's sound intensity accounts for 3.

[0020] Then, the electronic device receives the user's command to hang up the phone, ending the call. The electronic device receives another call notification and displays the call notification interface. Similarly, this call notification interface displays the message "Smart Privacy Call Mode," indicating that the Smart Privacy Call function is enabled by default, and voice output can be used in "Smart Privacy Call Mode" once the call is connected.

[0021] Then, in response to the user's answering action, the electronic device connects to the call. The earpiece and screen emit sound at a third ratio and a volume level of 8, indicating that the device is in private call mode. The third ratio is less than the second ratio. Furthermore, the third ratio can be the same as or different from the first ratio. For example, the third ratio can be 4:6. It should be noted that when the earpiece and screen emit sound at a third ratio and a volume level of 8, it means that the earpiece and screen emitter emit sound together, with a total volume of 8; in the total volume, the earpiece's sound intensity accounts for 4, and the screen emitter's sound intensity accounts for 6.

[0022] In some possible implementations, after the earpiece and screen sound device of the electronic device emit a third sound at a third ratio and a third volume, the method further includes: when the ambient sound level of the electronic device is a first value, the earpiece and screen sound device of the electronic device emit a third sound at the third ratio and the third volume; when the ambient sound level of the electronic device is a second value, the earpiece and screen sound device of the electronic device emit a fourth sound at a fourth ratio and a fourth volume; wherein the first value is less than the second value, the third ratio is different from the fourth ratio, and the third volume is less than the fourth volume.

[0023] The solution proposed in this application enables automatic mode switching based on ambient noise levels during a call. Specifically, it automatically switches to privacy call mode and reduces volume in quiet environments to minimize sound leakage, while automatically switches to normal mode and increases volume in noisy environments to ensure call clarity. Therefore, the automatic adjustment method provided in this application allows for mode switching based on actual usage needs, meeting the call needs of users in various scenarios and improving the user's call experience.

[0024] In some possible implementations, the first ratio, the second ratio, and the third ratio are respectively the ratio of the sound intensity of the earpiece to the sound intensity of the screen sound device; wherein the first ratio is less than the second ratio, and the third ratio is less than the second ratio.

[0025] In some possible implementations, before the electronic device receives the first incoming call, the method further includes: after the electronic device is powered on, enabling a first function by default; wherein, when the first function is enabled, after an incoming or outgoing call is connected, the sound intensity of the earpiece is less than the sound intensity of the screen sound device.

[0026] In some possible implementations, the second operation is the user pressing the physical volume up button; or, the user dragging the volume adjustment button in the volume bar icon upwards.

[0027] In some possible implementations, 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 value within a preset range is divided into N volume levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values, where N is a positive integer.

[0028] In some possible implementations, the N volume levels include volume levels 1 to 10; wherein the volume levels corresponding to the first volume and the third volume are respectively in the range of [level 1, level 1], and the volume levels corresponding to the second volume and the fourth volume are respectively in the range of [level 1+1, level 10], where 1 is an integer greater than 1 and less than 10.

[0029] In some possible implementations, I takes the value 8.

[0030] Secondly, this application provides a call control method applied to an electronic device, the electronic device including an earpiece, a screen, and a screen sound-emitting device, the screen sound-emitting device being used to drive the screen to emit screen sound, the method including:

[0031] When the electronic device's system-set call volume is at the first volume, the electronic device receives the first incoming call;

[0032] The electronic device responds to the user's double-click operation of the volume down button to activate a first function, wherein the sound intensity of the earpiece is less than the sound intensity of the screen sound device.

[0033] In response to a user's call, the electronic device connects the first incoming call, and the earpiece and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume.

[0034] During the call of the first incoming call, in response to the user's operation of increasing the volume, the earpiece and the screen sound device of the electronic device emit a second sound at a second ratio and a second volume, wherein the second volume is greater than the first volume;

[0035] The electronic device terminates the first incoming call in response to the user hanging up the phone.

[0036] When the system-set call volume of the electronic device is the second volume, the electronic device receives the second incoming call;

[0037] The electronic device activates the first function in response to a user's double-click of the volume down button;

[0038] In response to a user's call, the electronic device connects the second incoming call, and the earpiece 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 the third volume is less than the second volume;

[0039] The first ratio is different from the second ratio, and the third ratio is different from the second ratio.

[0040] In some possible implementations, the first ratio, the second ratio, and the third ratio are respectively the ratio of the sound intensity of the earpiece to the sound intensity of the screen sound device; wherein the first ratio is less than the second ratio, and the third ratio is less than the second ratio.

[0041] In some possible implementations, the electronic device receiving the first incoming call includes: the electronic device displaying an incoming call notification interface; when the incoming call is not connected, the electronic device displays a first prompt message in the incoming call notification interface, the first prompt message being used to prompt that the first function is activated by double-clicking the volume down button.

[0042] In some possible implementations, after the first function is enabled, the method further includes: the electronic device displaying a second prompt message on the incoming call notification interface, the second prompt message indicating that the first function has been enabled.

[0043] In some possible implementations, the method further includes: the electronic device muting incoming call ringtones in response to a user double-clicking the volume down button.

[0044] In some possible implementations, the method further includes: the electronic device receiving a third incoming call; and in response to receiving an operation from a user clicking the volume down button, the electronic device muting the incoming call ringtone.

[0045] 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. The volume bar icon is used to indicate the call volume set by the system of the electronic device.

[0046] In some possible implementations, after the electronic device displays a volume bar icon in the incoming call notification interface, the method further includes: in response to receiving an operation from a user on the volume bar icon, the electronic device adjusts the call volume; when the adjusted volume is a first call volume, the first function is enabled; or, when the adjusted volume is a second call volume, the first function is disabled; wherein the first call volume is less than the second call volume.

[0047] In some possible implementations, the method further includes: when the first function is disabled, the electronic device receives a fourth incoming call; in response to the call being connected, the electronic device displays a call interface; a volume bar icon is displayed in the call interface, along with animated guidance and text prompts; wherein the animated guidance includes moving the volume adjustment button in the volume bar icon downwards, and the text prompts indicate that the first function is activated by lowering the volume.

[0048] In some possible implementations, the method further includes: the electronic device displaying a switch icon for a first function in an incoming call notification interface, an outgoing call interface, or a call interface; in response to receiving a user's click operation on the switch icon, the electronic device activating the first function; and in response to receiving another click operation from the user on the switch icon, the electronic device deactivating the first function.

[0049] Thirdly, this application provides a call control device, which includes units for performing the methods described in the first or second aspect above. This device can correspond to performing the methods described in the first or second aspect above. For a detailed description of the units within this device, please refer to the descriptions in the first or second aspect above; for brevity, they will not be repeated here.

[0050] The methods described in the first or second aspect above can be implemented in 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, processing modules or units, display modules or units, etc.

[0051] Fourthly, this application provides an electronic device including a processor coupled to a memory for storing computer programs or instructions. The processor executes the computer programs or instructions stored in the memory, causing the methods in the first or second aspect to be performed. For example, the processor executes the computer programs or instructions stored in the memory, causing the device to perform the methods in the first or second aspect.

[0052] Fifthly, this application provides a computer-readable storage medium having a computer program (also referred to as instructions or code) stored thereon for implementing the methods of the first or second aspect. For example, when the computer program is executed by a computer, it enables the computer to perform the methods of the first or second aspect.

[0053] Sixthly, this application provides a chip including a processor. The processor is used to read and execute a computer program stored in a memory to perform the methods of the first aspect or the second aspect and any possible implementation thereof. Optionally, the chip further includes a memory connected to the processor via a circuit or wire.

[0054] In a seventh aspect, this application provides a chip system including a processor. The processor is configured to read and execute a computer program stored in a memory to perform the methods of the first aspect or the second aspect and any possible implementation thereof. Optionally, the chip system further includes a memory connected to the processor via a circuit or wire.

[0055] Eighthly, this application provides a computer program product comprising a computer program (also referred to as instructions or code), which, when executed by a computer, causes the computer to implement the method in the first or second aspect.

[0056] It is understood that the beneficial effects of aspects two through eight above can be found in the relevant descriptions in aspect one above, and will not be repeated here. Attached Figure Description

[0057] Figure 1 This is a schematic diagram of an electronic device that includes an earpiece and a sound outlet.

[0058] Figure 2 A schematic diagram of an electronic device provided in an embodiment of this application, which includes an earpiece and a screen vibration device;

[0059] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0060] Figure 4 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;

[0061] Figure 5 A schematic diagram of the interface of a call control method provided in this application applied to an electronic device. Figure 1 ;

[0062] Figure 6 A schematic diagram of the interface of a call control method provided in this application applied to an electronic device. Figure 2 ;

[0063] Figure 7 A schematic diagram of the interface of a call control method provided in this application applied to an electronic device. Figure 3 ;

[0064] Figure 8 A schematic diagram of the interface of a call control method provided in this application applied to an electronic device. Figure 4 ;

[0065] Figure 9 A schematic diagram illustrating volume level division in a call control method provided in an embodiment of this application;

[0066] Figure 10 A schematic diagram of a volume bar in a call control method provided in an embodiment of this application;

[0067] Figure 11 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 1 ;

[0068] Figure 12 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 2 ;

[0069] Figure 13 A timing diagram illustrating a call control method provided in an embodiment of this application;

[0070] Figure 14 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 3 ;

[0071] Figure 15 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 4 ;

[0072] Figure 16This is another timing diagram of a call control method provided in an embodiment of this application;

[0073] Figure 17 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 5 ;

[0074] Figure 18 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 6 ;

[0075] Figure 19 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 7 ;

[0076] Figure 20 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 8 ;

[0077] Figure 21 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 9 ;

[0078] Figure 22 Another timing diagram illustrating a call control method provided in an embodiment of this application;

[0079] Figure 23 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 ;

[0080] Figure 24 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 one;

[0081] Figure 25 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 two;

[0082] Figure 26 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 three;

[0083] Figure 27 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 Four;

[0084] Figure 28 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 five;

[0085] Figure 29A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 six;

[0086] Figure 30 A schematic diagram of the interface for a call control method provided in this application embodiment. Figure 10 seven;

[0087] Figure 31 This is a schematic diagram of the prompting process of a call control method provided in an embodiment of this application. Detailed Implementation

[0088] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0089] Currently, most mobile phones use an earpiece located at the top of the screen for voice communication. Typically, a sound outlet is located at the earpiece's position to distribute the sound energy, and this outlet is usually located on the front panel. However, with the continuous development of mobile phones and the pursuit of a better viewing experience, screen-to-body ratios are increasing. The sound outlet on the front panel occupies a portion of the front panel, increasing the width of the phone's bezels, thus hindering further improvements in screen-to-body ratio.

[0090] Therefore, with the development of large-screen and full-screen mobile phones, in order to reduce the area occupied by the earpiece (also known as the receiver) on the front panel of the phone for voice communication and to further improve the screen ratio, some full-screen mobile phones have designed the earpiece to be a long slit, located at the connection between the phone's mid-frame and the front panel. At the same time, in order to ensure that the external sound output area is large enough and has a good sound output effect, some full-screen mobile phones also add an opening at the top of the mid-frame as a sound output hole.

[0091] For example, Figure 1 A schematic diagram of a mobile phone structure is shown. Figure 1 As shown, the mobile phone may include a front panel (typically including the screen and bezel) for mounting the screen, a rear panel for supporting internal circuitry, and a mid-frame, which together form a housing structure. Figure 1As shown in (a) of the diagram, within this housing structure, a handset 101 (i.e., a speaker for voice communication, also called a receiver) is located at the top (i.e., the top of the phone). Corresponding to the handset 101, the phone has two sound outlets (e.g., sound outlet 102 and sound outlet 103), from which sound from the handset 101 can be emitted. Combined with... Figure 1 As shown in (b) in the figure, Figure 1 (b) is a cross-sectional view of the mobile phone structure, in which the sound hole 102 is located at the connection between the front panel and the mid-frame of the mobile phone (i.e., at the side seam). The sound hole 103 is located on the mid-frame of the mobile phone, closer to the earpiece 101 (i.e., at the top of the mid-frame of the mobile phone).

[0092] However, with this design, when a user is using the phone for normal voice communication, their ear cannot completely cover the sound hole. Therefore, when the sound energy from the speaker comes out through the sound hole located at the top of the phone's frame, there will be sound leakage. Figure 1 (c) in the diagram illustrates a scenario where a user conducts voice communication via a mobile phone. Figure 1 As shown in (c), when a user holds a mobile phone and makes a voice communication through the earpiece, the earpiece is close to the user's ear (or auricle). Since the sound outlet of the earpiece (the sound outlet 102 located at the side seam of the phone and the sound outlet 103 at the top of the middle frame) cannot be completely covered by the user's ear, the sound coming out of the sound outlet can not only be heard by the user, but also by other users in a quiet environment.

[0093] To address the aforementioned problems, this application provides a call control method. This method can be applied to electronic devices with voice communication capabilities. For example, it can be applied to scenarios where a user uses the electronic device to listen to audio, such as making a voice call through the earpiece or listening to voice messages in an instant messaging application. The electronic device may include a display screen (also called a screen), a screen sound-emitting device (i.e., a device capable of producing sound through screen vibration), an earpiece (i.e., the speaker used for voice communication, also called a receiver), and a sound outlet corresponding to the earpiece.

[0094] For example, Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Figure 2 (a) and Figure 2 As shown in (b) above, in addition to having Figure 1In addition to the earpiece 101, sound outlet 102, and sound outlet 103 shown, the electronic device also includes a screen sound-emitting device 104 connected to the screen. For example, the screen sound-emitting device 104 is a vibration source (also called an exciter) connected to the screen. The exciter causes the screen to vibrate, thus generating sound through the screen. The screen sound-emitting device 104 is housed within the casing structure of the electronic device.

[0095] It should be noted that, in the embodiments of this application, the voice output mode (also known as the listening mode) of the electronic device may include privacy mode (PVM), normal mode, and speaker mode. Privacy mode may also be referred to as smart privacy mode or PVM mode. Normal mode may also be referred to as normal mode.

[0096] In some embodiments, after the electronic device activates the privacy call mode, the electronic device can output voice by combining screen sound and earpiece sound. For example, the voice output intensity corresponding to the screen sound method (e.g., 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound method (e.g., 30%). That is, the mobile phone can simultaneously play voice using screen sound as the primary method and earpiece sound as the secondary method.

[0097] In other embodiments, after the electronic device activates the privacy call mode, it can also output voice solely through screen audio. Understandably, the earpiece does not emit sound in this case.

[0098] It should be noted that, in actual implementation, whether the voice is output through screen sound or primarily through screen sound with secondary sound from the earpiece in privacy call mode can be determined according to actual usage needs, and this application embodiment does not limit it.

[0099] In some embodiments, after the electronic device is in normal mode, it can output voice by combining earpiece sound and screen sound. For example, the voice output intensity corresponding to the earpiece sound method (e.g., 70%) is greater than the voice output intensity corresponding to the screen sound method (e.g., 30%). The mobile phone can simultaneously play voice using earpiece sound as the primary method and screen sound as a secondary method.

[0100] In other embodiments, after the electronic device is in normal mode, it can also output voice solely through the earpiece. Understandably, the screen remains silent during this process.

[0101] It should be noted that, in actual implementation, in normal mode, whether the voice is output through the earpiece or primarily through the earpiece with the screen as a secondary source can be determined according to actual usage requirements, and this application embodiment does not impose any limitations.

[0102] In some embodiments, when switching from privacy call mode to normal mode, the overall volume (or loudness or intensity) can be increased based on the volume corresponding to privacy call mode to improve the voice playback effect. That is, the overall loudness of sound emitted through the earpiece and screen in normal mode is greater than the overall loudness of sound emitted through the earpiece and screen in privacy call mode.

[0103] Compared to earpiece sound, screen sound effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, they can use the privacy call mode, which can ensure clear calls while reducing sound leakage, thereby protecting user privacy.

[0104] In some embodiments, when the electronic device is in speaker mode, it outputs voice through the speaker (also called a loudspeaker). It is understood that neither the earpiece nor the screen emits sound during this time.

[0105] It should be noted that, in response to user actions on the electronic device, the device can control the voice output mode to switch between private call mode, normal mode, and speaker mode. The specific conditions for triggering the switching and the switching process will be described in detail below.

[0106] In some embodiments, electronic devices can be pre-configured to have a privacy call mode enabled by default. This way, when the electronic device makes or receives a call, the privacy call mode is automatically activated to prevent audio leakage, requiring no user intervention and improving the user experience.

[0107] In some embodiments, when making a call or answering an incoming call, the output volume after the call is answered 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.

[0108] In some embodiments, during a call, when the current volume level is adjustable, the mode can be automatically switched according to the ambient sound level. That is, in a quiet environment, it automatically switches to a privacy call mode and automatically reduces the volume, thereby reducing sound leakage; in a noisy environment, it automatically switches to a normal mode and automatically increases the volume, thereby ensuring call clarity. This method can be called an automatic adjustment mode.

[0109] In some embodiments, when the private call mode is not enabled, the incoming call notification interface can prompt the user on how to enable private call mode. For example, during an incoming call notification, double-clicking the volume down button can enable or enable private call mode. Alternatively, during an incoming call notification, if the user clicks the volume down button, the ringtone of the incoming call notification is muted; if the user clicks the volume down button again, the electronic device can display a volume bar on the incoming call notification interface. This allows the user to adjust the answer volume in advance when receiving the incoming call notification, unlike the current method where the answer volume can only be adjusted after the call is connected. This method can be called manual adjustment mode.

[0110] In some embodiments, during a call, the electronic device can exit or enter private call mode based on the user's adjustment of the volume bar. For example, the electronic device can exit private call mode in response to the user raising the volume bar; the electronic device can switch back to (or enter) private call mode in response to the user lowering the volume bar. This is understood to be a form of manual adjustment.

[0111] For example, when a user adjusts the volume, if the adjusted volume level is less than or equal to a preset volume level (e.g., volume level 8), a privacy call mode is activated. This allows for simultaneous sound output from both the screen and earpiece, with different volume levels controlled (e.g., screen sound intensity greater than or equal to earpiece sound intensity) to prevent sound leakage, protect user privacy, and improve the user's call experience. If the adjusted volume level is greater than the preset volume level, a normal mode is activated. This also allows for simultaneous sound output from both the screen and earpiece, with different volume levels controlled (e.g., earpiece sound intensity greater than screen sound intensity) to ensure good sound quality and improve the user's call experience.

[0112] The call control method provided in this application can automatically adjust the answer volume to a suitable level and enable a private call mode when a call is received, based on the system call volume. Furthermore, during a call, it can automatically switch modes based on ambient noise levels: automatically switching to private call mode and reducing volume in quiet environments to minimize sound leakage; and automatically switching to normal mode and increasing volume in noisy environments to ensure call clarity. Additionally, during a call, it can switch between private call mode and normal mode in response to user-triggered operations, thus meeting the call needs of users in various scenarios.

[0113] The electronic device to which the call control method provided in the embodiments of this application is applied will be described below with reference to the accompanying drawings.

[0114] For example, the electronic device in this application embodiment may be a mobile phone, tablet computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), wearable device (such as smartwatch, smart bracelet), etc., which have voice communication function. This application embodiment does not impose any special restrictions on the specific form of the electronic device.

[0115] For example, taking a mobile phone as an electronic device, Figure 3 A schematic diagram of the structure of another electronic device provided in an embodiment of this application is shown. That is, exemplary, Figure 3 The electronic device shown could be a mobile phone.

[0116] like Figure 3 As shown, a 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., earpiece) 370B, a microphone 370C, a headphone jack 370D, a sensor module 380, buttons 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.

[0117] The aforementioned sensor module may include sensors such as pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, proximity sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, and bone conduction sensors. In this embodiment, the electronic device can use sensors such as proximity light sensors (i.e., light sensors) and proximity sensors to detect whether the user's ear is near the earpiece. For example, the electronic device can use a proximity sensor to detect whether there is an obstruction in front of the phone's front panel (or screen), and the distance between the obstruction and the screen, to determine whether the user's ear is currently near the earpiece.

[0118] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0119] Processor 310 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.

[0120] The controller can be the nerve center and command center of a mobile phone. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.

[0121] The processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory can store instructions or data that the processor 310 has just used or that are used repeatedly. If the processor 310 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.

[0122] In some embodiments, the processor 310 may include one or more interfaces. Interfaces 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.

[0123] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0124] In this embodiment of the application, 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, so as to control the earpiece and the screen to play the sound in the corresponding frequency band of the sound signal, thereby avoiding sound leakage of the electronic device when the human ear listens in a quiet environment.

[0125] The charging management module 340 receives charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342. The power management module 341 connects 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.

[0126] The wireless communication function of a mobile phone can be achieved through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor, and baseband processor.

[0127] 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 one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0128] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, enabling the mobile phone to communicate with networks and other devices via wireless communication technology. The mobile communication module 350 can provide solutions for wireless communication applications in mobile phones, including 2G / 3G / 4G / 5G. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves through the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.

[0129] The mobile communication module 350 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 350 can be housed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 can be housed in the same device.

[0130] The 360 ​​wireless communication module can provide solutions for mobile phone applications 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 (NFC), infrared (IR) technology, and other wireless communication technologies.

[0131] The wireless communication module 360 ​​can be one or more devices integrating at least one communication processing module. The wireless communication module 360 ​​receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 310. The wireless communication module 360 ​​can also receive signals to be transmitted from processor 310, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0132] Of course, the aforementioned wireless communication module 360 ​​can also support voice communication on mobile phones. For example, a mobile phone can access a Wi-Fi network through the wireless communication module 360, and then use any application that provides voice communication services to interact with other devices, providing voice communication services to the user. For example, the aforementioned application that provides voice communication services could be an instant messaging application.

[0133] A mobile phone can achieve display functions through a GPU, a display screen 394, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or modify display information. The display screen 394 is used to display images, videos, etc.

[0134] A mobile phone can perform shooting functions through an ISP, camera 393, video codec, GPU, display 394, and application processor. The ISP is used to process data fed back from the camera 393. In some embodiments, the ISP can be located within the camera 393. The camera 393 is used to capture still images or videos. In some embodiments, the mobile phone may include one or N cameras 393, where N is a positive integer greater than 1.

[0135] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the phone's storage capacity. The internal memory 321 can be used to store computer executable program code, which includes instructions. The processor 310 executes various functions and data processing of the phone by running the instructions stored in the internal memory 321. For example, in this embodiment, the processor 310 can execute instructions stored in the internal memory 321, which may include a program storage area and a data storage area.

[0136] Mobile phones can perform audio functions, such as music playback and recording, through an audio module 370, a speaker 370A, a receiver (i.e., earpiece) 370B, a microphone 370C, a headphone jack 370D, and an application processor.

[0137] Audio module 370 is used to convert digital audio signals into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 370 can also be used for encoding and decoding audio signals. In some embodiments, audio module 370 may be located in processor 310, or some functional modules of audio module 370 may be located in processor 310. Speaker 370A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Receiver 370B, also called a "handpiece," is used to convert audio electrical signals into sound signals. Microphone 370C, also called a "microphone" or "microphone," is used to convert sound signals into electrical signals. Headphone jack 370D is used to connect wired headphones. Headphone jack 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.

[0138] Specifically, in the embodiments of this application, the receiver 370B (i.e., the "earpiece") may include Figure 2 The earpiece 101 and / or screen sound device 104 shown in (a) are shown in the figure.

[0139] For example, in this embodiment of the application, 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 sound signal is played by the receiver 370B (i.e., the "earpiece") of the audio module 370, and at the same time, the screen sound device 396 drives the screen (i.e. the display screen) to emit screen sound to play the sound signal.

[0140] For example, in this embodiment of the application, the electronic device can detect the ambient sound intensity of the current environment using the microphone 370C. This allows the processor 310 to determine the category of the current listening environment based on the detected ambient sound intensity.

[0141] Buttons 390 include a power button, volume buttons, etc. A motor 391 can generate vibration alerts. An indicator 392 can be an indicator light, used to indicate charging status, battery level changes, and also to indicate messages, missed calls, notifications, etc. A SIM card slot 395 is used to connect a SIM card. The phone can support one or N SIM card slots, where N is a positive integer greater than 1.

[0142] The above is a detailed description of the embodiments of this application using electronic device 100 as an example. It should be understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on electronic device 100. Electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0143] The electronic device provided in this application embodiment can be user equipment (UE), such as a mobile terminal (e.g., a user's mobile phone), tablet computer, desktop computer, laptop computer, handheld computer, netbook, personal digital assistant (PDA), etc.

[0144] In addition, an operating system runs on top of the aforementioned hardware. This operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. Applications can be installed and run on this operating system.

[0145] The operating system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.

[0146] Figure 4 This is a software structure block diagram of the electronic device 100 according to an embodiment of this application.

[0147] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: applications, application framework, Android Runtime and system libraries, and kernel.

[0148] The application layer may include a series of application packages. For example, the application layer may include camera apps, gallery apps, calendar apps, map apps, navigation apps, WLAN, Bluetooth, music apps, video apps, SMS apps, fitness and health apps, etc. (applications can be simply referred to as apps), and this application embodiment does not impose any limitations on this.

[0149] Applications in the application layer can be divided into system applications and non-system applications. System applications can include calling apps, desktop apps, system user interfaces (SystemUI), etc., while non-system applications can include game apps, map apps, short video apps, social apps, shopping apps, etc.

[0150] In this embodiment, the application layer may further include a context-aware module, a business logic processing module, and a business presentation module. The context-aware module, business logic processing module, and business presentation module may be independent apps, or they may be integrated into different apps, or they may be integrated into the same app; this application does not impose any limitations.

[0151] The context-aware module, which runs resident or in low-power mode, has the ability to sense external facts or the environment. It can detect relevant events and obtain event statuses from other applications at the application layer, application framework layer, system layer, or kernel layer via an application programming interface (API), such as detecting Bluetooth connections, network connections, monitoring user SMS messages, and customizing timers. In this embodiment, the primary function of the context-aware module is to listen for incoming call events. It can also obtain the volume level at the time the call was last ended. Additionally, it can detect whether an incoming call has been answered. It can also obtain the ambient sound level. Furthermore, it listens for user-triggered volume down button (volume-key) clicks (e.g., single or double clicks). The context-aware module can then notify the business logic processing module of the detected information.

[0152] The business logic processing module (e.g., the computing engine) has business logic processing capabilities. It performs data processing or logical judgments based on information monitored by the context-aware module and preset logical algorithms to adjust call volume and switch modes. For example, upon receiving an incoming call event and the system call volume, the business logic processing module determines whether the conditions for volume adjustment and mode switching are met, and then decides whether to adjust the volume and switch modes. The business logic processing module can also determine that an incoming call has been connected based on the answering action, and further determine whether the conditions for volume adjustment and mode switching are met based on the ambient sound level, and then decide whether to adjust the volume and switch modes. The specific judgment process will be described in detail below.

[0153] The service presentation module (e.g., YOYO suggestions) is used to display a volume bar and its changes on the phone screen according to instructions from the service logic processing module, and to display the switched mode after mode switching, such as displaying "Smart Privacy Call Mode" or "Privacy Call Mode is On" when privacy call mode is enabled. For example, if the service presentation module receives a command from the service logic processing module to display the volume bar, it notifies the window manager to display the volume bar on the electronic device. Simultaneously, the service presentation module can also display the volume level and its changes within the volume bar; the volume level is measured in volume increments, which will be described in detail below. Additionally, the service presentation module can also display the volume bar and its changes in the call interface based on user-triggered clicks on the volume down button.

[0154] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example... Figure 4 As shown, the application framework layer may include a call manager, window manager, content provider, view system, resource manager, notification manager, activity manager, etc., and this application embodiment does not impose any limitations on this.

[0155] The call manager is used to manage the phone's call status, obtain call information (such as device information, SIM card information, and network information), monitor call status (such as call status, service status, signal strength status, etc.), and call up the dialer to make calls.

[0156] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, in embodiments of this application, a view system can be used to display an incoming call notification interface and a call interface on a desktop.

[0157] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to inform users that a smart privacy call is enabled for the current call. This can be achieved by displaying text messages or a privacy call icon in the call notification interface, the call screen, or a drop-down menu.

[0158] The window manager is used to manage window programs. The window manager can obtain the screen size and the size and shape of the volume bar, and determine whether the size and shape of the volume bar need to be adjusted.

[0159] The Activity Manager is used to manage the lifecycle of each application and the navigation back function. It is responsible for creating the Android main thread and maintaining the lifecycle of each application.

[0160] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0161] The Android Runtime consists of core libraries and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.

[0162] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0163] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0164] The system library can include multiple functional modules. Examples include: a surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), and 2D graphics engines (e.g., SGL). The surface manager manages the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0165] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0166] It should be noted that although the embodiments of this application are described using the Android system as an example, the basic principles are also applicable to electronic devices based on operating systems such as iOS or Windows.

[0167] The execution subject of the call control method provided in this application embodiment can be the aforementioned electronic device, or a functional module and / or functional entity within the electronic device capable of implementing the call control method. Furthermore, the solution of this application can be implemented through hardware and / or software, the specific implementation depending on actual usage requirements, and this application embodiment does not impose any limitations. The following description uses an electronic device as an example, in conjunction with the accompanying drawings, to exemplarily illustrate the call control method provided in this application embodiment.

[0168] The embodiments of this application will be described below with reference to the accompanying drawings and through several exemplary embodiments. The methods in the following embodiments can all be implemented in an electronic device having the above-described hardware structure and software architecture. The hardware structure diagram of the electronic device can be as follows: Figure 3 As shown, the software structure block diagram of the electronic device can be as follows: Figure 4 As shown, the embodiments of this application are not limited thereto. For ease of explanation, electronic devices are used as examples in the embodiments of this application. Figure 3 Take the mobile phone shown as an example.

[0169] This application provides a call control method that automatically adjusts the answer volume to a suitable level and enables a private call mode when a call is received, based on the system's set call volume (hereinafter referred to as the system call volume, specifically the volume level). Furthermore, during the call, the method can automatically switch modes based on ambient noise levels: automatically switching to private call mode and reducing volume in quiet environments to minimize sound leakage; and automatically switching to normal mode and increasing volume in noisy environments to ensure call clarity. Additionally, the method can switch between private call mode and normal mode in response to user-triggered operations, thus meeting the call needs of users in various scenarios.

[0170] The audio control method provided in this application can be applied to voice call scenarios. For example, a voice call scenario can be an incoming call scenario, a call after an incoming call is answered, an outgoing call scenario, or a call after an outgoing call is answered. Of course, it can also be any other possible voice call scenario, and this application embodiment does not limit it. For ease of explanation, the interfaces used in the above-mentioned various voice call scenarios will be collectively referred to as voice call interface or call interface below.

[0171] In this embodiment, the electronic device has the Smart Privacy Call function enabled by default. After the Smart Privacy Call function is enabled, the privacy call mode can be directly activated in a voice call scenario, or it can be activated in a voice call scenario when the volume of the electronic device is lower than or equal to a preset volume level (e.g., volume level 8). The specific activation can be determined according to actual usage needs, and this embodiment does not limit it.

[0172] As described above, the privacy call mode can combine screen sound and earpiece sound to output voice. Optionally, 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. Alternatively, the privacy call mode can output voice solely through the screen sound mode. Compared to the earpiece sound mode, the screen sound mode effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, the privacy call mode can be used to ensure clear calls while reducing sound leakage, thereby protecting user privacy.

[0173] In some embodiments, when an electronic device receives a call, the privacy call mode corresponding to the Smart Privacy Call function can be enabled by default, and a prompt message indicating that the Smart Privacy Call function has been enabled can be displayed in the incoming call notification interface. Optionally, the prompt message can be text, an icon, or a combination of text and an icon.

[0174] In some embodiments, after the Smart Privacy Call function is enabled, an introduction to the Smart Privacy Call function can be displayed in a bubble in the voice call interface each time a call is made using the handset (e.g., ensuring clear calls while reducing sound leakage and protecting privacy). Operation methods such as "Smart Privacy Call is enabled" and / or "Move closer to this area for clearer sound" can also be displayed in a specific area (i.e., the screen's sound area) to introduce the Smart Privacy Call function and guide users to use it.

[0175] For example, taking a phone call scenario as an example, Figure 5 A schematic diagram of the incoming call notification interface is shown, such as... Figure 5 As shown in (a) above, the incoming call notification interface 40 displays the following prompts: "Smart Privacy Calling is enabled" 41, "Ensuring clear calls while reducing audio leakage and protecting privacy" 42 (located in a bubble). Figure 5 As shown in (b), the incoming call notification interface 40 displays the following prompts: "Get closer to this area for clearer sound" 43 and "Ensure clear calls while reducing sound leakage and protecting privacy" 42. These prompts indicate that the privacy call mode has been enabled. The incoming call notification interface 40 can alternately display (i.e., rotate) "Smart privacy call is enabled" 41 and "Get closer to this area for clearer sound" 43. This allows users to quickly learn about the smart privacy call function and how to use it, improving the human-computer interaction experience.

[0176] It should be noted that the prompts here are all illustrative examples. The specific content, display position, number of displays, display size, display style, etc. of the prompts can be determined according to actual usage requirements, and are not limited in this application embodiment.

[0177] Optionally, the above prompts can be displayed in the voice call interface during the first N calls (e.g., N = 3) after the Smart Privacy Call function is enabled, to guide users to use the Smart Privacy Call function, and then be removed from the display in subsequent call scenarios. For example, the voice call interface can remove the display of introductory descriptions of the Smart Privacy Call function such as "Ensuring clear calls while reducing audio leakage and protecting privacy"42.

[0178] In some embodiments, when a user clicks any location in the voice call interface (including the answer button), the informational details about the smart privacy call function are removed from the voice call interface. For example, the bubble corresponding to "Ensuring clear calls while reducing sound leakage and protecting privacy" disappears.

[0179] In some embodiments, the "Smart Privacy Call Enabled" message can be a persistent notification in the voice call interface. That is, the "Smart Privacy Call Enabled" message can remain displayed whenever the user clicks anywhere in the voice call interface (including the answer button).

[0180] For example, consider a call scenario after the call is answered. Figure 6 The diagram shows the incoming call notification interface and the voice call interface after answering the call, as follows: Figure 6 As shown in (a), the user clicks the answer button 44 in the incoming call notification interface 40 to answer the call. Figure 6 As shown in (b), in response to the user's operation of the answer button 44, the incoming call notification interface 40 switches to the voice call interface 45. The voice call interface 45 displays the following message: "Smart Privacy Call Enabled" 41 and an icon 46 indicating a privacy call. Figure 6 In (b) of the middle, Figure 6 The bubble corresponding to "Ensure clear calls while reducing audio leakage and protecting privacy" shown in (a) has disappeared.

[0181] In some embodiments, when the Smart Privacy Call feature is enabled, when the user pulls down the menu bar, a notification card indicating that a voice call is in progress and a notification card indicating that the Smart Privacy Call feature has been enabled are displayed in the menu bar.

[0182] For example, Figure 7 The diagram shows a notification card related to the Smart Privacy Call feature displayed in the menu bar, such as... Figure 7As shown in (a), the user slides their finger down along the arrow direction on the voice call interface 46 to access the drop-down menu. Figure 7 As shown in (b), a menu bar (also known as the notification interface or notification center) is displayed, which displays notification card 47 and notification card 48. Notification card 47 is used to indicate that a voice call is in progress, and notification card 48 is used to indicate that the Smart Privacy Call function has been enabled.

[0183] These notification cards help users better understand the application scenarios and effects of the smart privacy calling function, thus improving the user experience.

[0184] In some embodiments, the call control method provided in this application is also applicable to Voice over Internet Protocol (VoIP) calls. For example, Figure 8 The diagram illustrates a VoIP phone call scenario. Figure 8 As shown, the VoIP call interface 50 displays "Smart Privacy Call Enabled" 51 and an icon 52 indicating privacy calls, which is used to prompt that the current call scenario uses privacy call mode to achieve voice output.

[0185] The above explains the possible ways to enable the privacy call mode and the display effect of the voice call interface after it is enabled. The following describes in detail the possible implementation methods of the privacy call mode in actual use, with reference to the interface.

[0186] It should be noted that the above embodiments are illustrative examples of incoming call scenarios and call scenarios after an incoming call is answered. It can be understood that in actual implementation, the call control method provided in this application embodiment is also applicable to outgoing call scenarios and call scenarios after an outgoing call is answered. For a detailed description of the smart privacy call function, please refer to the detailed description of the smart privacy call function in the above-mentioned incoming call scenarios and call scenarios after an incoming call is answered. It will not be repeated here.

[0187] It should also be noted that the call control method provided in this application embodiment is also applicable to scenarios where voice messages are played. For example, some social applications support receiving or sending voice messages. When these voice messages are played, the smart privacy call function provided in this application embodiment can also be applied to avoid sound leakage when playing voice messages.

[0188] It should also be noted that the call control method provided in this application embodiment is also applicable to the scenario of playing recordings. For example, the smart privacy call function provided in this application embodiment can also be applied when playing recordings to avoid sound leakage during recording playback.

[0189] It should also be noted that since there is no need to listen to audio directly in a video call, the Smart Privacy Call feature does not need to be enabled in video call scenarios.

[0190] It is understood that the call control method provided in this application embodiment can be applied to various scenarios in which users need to listen to audio by pressing their ear to an electronic device, and this application embodiment does not limit this.

[0191] The volume level division method, the volume bar format corresponding to each level, and the mode correspondence in the privacy call mode of this application embodiment are described below with reference to the accompanying drawings.

[0192] In some embodiments, the electronic device can divide different volume levels into 10 levels, from level 1 to level 10, where the volume values ​​corresponding to levels 1 to 10 increase progressively. The volume values ​​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 this application embodiment does not impose any limitations.

[0193] In this application embodiment, the mode corresponding to the volume level can be set according to the actual situation. Figure 9 This diagram illustrates the division of volume levels and the mapping relationship between each volume level and its corresponding volume value. For example, as shown... Figure 9 As shown, volume levels can be divided into 1 to 10 levels. Optionally, the volume level range [level 1, level 8] corresponds to privacy call mode, and the volume level range [level 9, level 10] corresponds to normal mode. That is, if the volume level is within the range of [level 1, level 8], the voice output during the call is in privacy call mode; if the volume level is within the range of [level 9, level 10], the voice output during the call is in normal mode. For example, the volume values ​​corresponding to levels 1 to 10 are: 16dB, 13dB, 10dB, 7dB, 4dB, 5dB, 0dB, -2dB, -5.8dB, and -8.8dB, respectively. Here, 0dB can be understood as the base volume, 16dB, 13dB, 10dB, 7dB, 4dB, and 5dB can be understood as decreases from 0dB, and -2dB, -5.8dB, and -8.8dB can be understood as increases from 0dB. Of course, each volume level can also correspond to other volume values.

[0194] It should be noted that the mapping relationship between each volume level and volume value here is illustrative only. 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 this application embodiment does not limit it.

[0195] In this embodiment of the application, regardless of whether the electronic device is in privacy call mode or normal mode, it can use both the earpiece and the screen sound device to emit sound simultaneously.

[0196] In this embodiment, the screen sound-emitting device is responsible for outputting high-frequency sound, and the earpiece is responsible for outputting mid-to-low-frequency sound.

[0197] In some embodiments, the earpiece and screen sound-emitting device can each emit sound at different intensity ratios in different modes.

[0198] For example, after the electronic device enables the privacy call mode, the electronic device can play voice simultaneously by using screen sound as the primary method and earpiece sound as the secondary method; wherein, the voice output intensity corresponding to the screen sound method (e.g., 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound method (e.g., 30%).

[0199] For another example, when the electronic device is in normal mode, it can play voice simultaneously using a method where the earpiece is the primary source of sound and the screen is the secondary source of sound; wherein the voice output intensity corresponding to the earpiece sound method (e.g., 70%) is greater than the voice output intensity corresponding to the screen sound method (e.g., 30%).

[0200] In some embodiments, for different volume levels within the same mode, the earpiece and screen sound emitter can each employ different sound intensity ratios. For example, within the range of [level 1, level 8], the sound intensity ratios of the earpiece and screen sound emitter can be set differently.

[0201] It is understood that in actual implementation, the ratio of the sound intensity of the earpiece and the screen sound device can also be set to the same for different volume levels in the same mode. The specific ratio can be determined according to actual usage requirements, and this application embodiment does not impose any limitations. For ease of explanation, different volume levels in the same mode are described below using the same sound intensity ratio as an example. For instance, when the system volume level is in the range of [level 1, level 8], the ratio of the sound intensity of the earpiece and the screen sound device is a first ratio (e.g., 3:7). When the system volume level is in the range of [level 9, level 10], the ratio of the sound intensity of the earpiece and the screen sound device is a second ratio (e.g., 7:3). The second ratio is greater than the first ratio.

[0202] It should also be noted that the above examples illustrating volume level changes from 8 to 9 and from 9 to 8 are not limited to mode switching between 8 and 9 levels. They can be configured according to actual needs. For example, in actual implementation, it can be pre-set that when the volume level is within the range of [1, 6], the privacy call mode is enabled; and when the volume level is within the range of [7, 10], the normal mode is enabled. In this case, a volume level change from 6 to 7 can trigger a switch from privacy call mode to normal mode; or, a volume level change from 7 to 6 can trigger a switch from normal mode to privacy call mode.

[0203] It should also be noted that this application embodiment uses the example of triggering the switching between normal mode and private call mode based on changes in volume level for illustrative purposes. For instance, when the volume level is greater than a 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 is understood that in actual implementation, the switching between normal mode and private call mode can also be triggered based on changes in volume value. For example, when the volume value (e.g., decibel value) is greater than a volume threshold (e.g., a 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. Which method is used can be determined according to actual usage needs, and this application embodiment does not limit this.

[0204] In this embodiment, 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 bars corresponding to each volume level in this embodiment are described below.

[0205] For example, different volume levels are distinguished by varying fill lengths in the volume bar; more fill indicates a higher volume level, and in this case, a louder voice output. When the volume bar is completely filled, corresponding to level 10, it indicates that the maximum volume has been reached. When the volume bar is not filled, it indicates mute.

[0206] Optionally, the embodiments of this application do not limit the display format, display color, display length, etc. of the volume bar in normal mode and private call mode.

[0207] In this embodiment, different icons can be used to represent privacy call mode and normal mode for differentiation. Specifically, the display position, size, and format of the icon used to identify the call mode can be determined according to actual usage needs, and this embodiment does not impose any limitations. Optionally, the icon used to identify the call mode can be displayed below or above the volume bar.

[0208] For example, Figure 10 For based on Figure 9 The diagram shows the volume bars corresponding to each volume level. (See attached image.) Figure 10 As shown in (a) of the diagram, a volume bar diagram with levels 1 to 8 is presented, each corresponding to a privacy call mode. Figure 10 As shown in (b) in the diagram, a volume bar diagram with levels 9 to 10 is shown, with levels 9 to 10 corresponding to the normal mode.

[0209] In some embodiments, when switching between privacy call mode and normal mode, the call mode icon changes accordingly as the volume bar fill level changes, to indicate to the user that the call mode has been switched, thereby improving the user experience.

[0210] In some embodiments, when switching between privacy call mode and normal mode, the electronic device can prompt the user by displaying specific prompts.

[0211] In some embodiments, the electronic device can vibrate to alert the user when switching between privacy call mode and normal mode, thereby enhancing the user experience.

[0212] The call control method provided in this application can automatically adjust the answer volume to a suitable level and enable a privacy call mode when a call is received, based on the system call volume level. During the call, it can automatically switch modes according to the ambient noise level. Specifically, it automatically switches to privacy call mode and automatically reduces the volume in a quiet environment to reduce sound leakage; and automatically switches to normal mode and automatically increases the volume in a noisy environment to ensure call clarity. Furthermore, during the call, it can also switch between privacy call mode and normal mode in response to the user's manual triggering operation. Therefore, the automatic adjustment method and manual adjustment method provided in this application can switch modes according to actual usage needs, meeting the user's call needs in various scenarios.

[0213] For switching between privacy call mode and normal mode, this application provides automatic adjustment mode and manual adjustment mode. Based on the above-mentioned volume level division, volume bar and mode correspondence, the call control method provided by this application is described below in conjunction with specific embodiments.

[0214] First embodiment: Automatic adjustment method

[0215] In this embodiment, during an incoming call, the electronic device obtains the system-set call volume (hereinafter referred to as the system call volume), and then determines whether to automatically adjust the volume and whether to switch between privacy call mode and normal mode based on the system call volume. The system call volume can be the call volume at the time the call was last ended, or the volume adjusted by the user in the "Sound and Vibration" settings interface. Specifically, the system call volume can be measured using volume levels; for example, it can be a volume level from 1 to 10.

[0216] For example, in this application embodiment, the following call control rules can be preset:

[0217] When the system call volume is within the range of level 1 to 8, the call volume after the call is connected will remain at the system call volume, entering private call mode. (Reference) Figure 11 (a) and Figure 11 As shown in (b), when the system call volume is level 4, the call volume remains at level 4 after the call is connected, entering private call mode. When the system call volume is level 7, the call volume remains at level 7 after the call is connected, entering private call mode.

[0218] When the system call volume is at level 9 or 10, the call volume after the call is connected will be reduced to the preset volume (e.g., level 8), entering private call mode. (Reference) Figure 11 As shown in (c), when the system call volume is at level 9 or 10, the call volume after the call is connected will be automatically reduced to level 8, entering the private call mode.

[0219] In this embodiment of the application, in a call scenario after the call is connected, the electronic device monitors the ambient sound (also known as ambient noise or ambient sound, etc.), and then the electronic device determines whether to automatically adjust the volume based on the level of the ambient sound, and switches between privacy call mode and normal mode accordingly when adjusting the volume.

[0220] In one possible implementation, during a call after the call is connected, the electronic device will only be triggered to collect ambient sound when the current call output volume is at level A (such as level 8 or 9). Then, based on the level of ambient sound, it will determine whether to automatically adjust the volume and whether to perform mode adjustment.

[0221] For example, when the current call output volume is at level A (e.g., level 8), the electronic device collects ambient sound and then determines whether to automatically increase the volume and whether to switch from private call mode to normal mode based on the ambient sound level. Specifically, when the ambient sound exceeds a certain ambient sound threshold (e.g., 55dB), it indicates that the electronic device is in a noisy environment and needs to output the other party's voice at a higher volume to ensure clear call quality. In this case, the electronic device can automatically increase the volume and switch from private call mode to normal mode. It should be noted that the above-mentioned ambient sound threshold can be set according to actual needs, and this application embodiment does not limit it.

[0222] For example, when the current call output volume is at level B (e.g., level 9), the electronic device collects ambient sound and then determines whether to automatically reduce the volume and switch from normal mode to privacy call mode based on the ambient sound level. Specifically, when the ambient sound is less than or equal to a certain ambient sound threshold (e.g., 55dB), it indicates that the electronic device is in a quiet environment. If it outputs voice in normal mode, there may be a risk of voice leakage, and it is necessary to ensure call privacy. In this case, the electronic device can automatically switch to privacy call mode and reduce the volume.

[0223] For example, Figure 12 A schematic diagram illustrating the call control method provided in this application embodiment, which controls volume and mode.

[0224] refer to Figure 12 As shown in (a), when the current system call volume is at level 7, when an incoming call is connected, the earpiece and screen sound device emit sound at the first ratio and level 7 volume, entering the private call mode. During the call, it remains in private call mode, and changes in ambient sound will not trigger automatic call volume adjustment.

[0225] refer to Figure 12 As shown in (b), when the system call volume is at level 8, upon receiving a call, the earpiece and screen sound emit sound at a first ratio and level 8 volume, entering the private call mode. During the call, the electronic device monitors ambient sound. When the ambient sound exceeds an ambient sound threshold (e.g., 55 dB), the electronic device increases the system call volume to level 9, exiting the private call mode. In this case, the earpiece and screen sound emit sound at a second ratio and level 9 volume. 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, re-entering the private call mode.

[0226] refer to Figure 12As shown in (c), when the system call volume is at level 9, upon receiving a call, the earpiece and screen sound emit sound at a first ratio and level 8, entering the privacy call mode. During the call, the electronic device monitors ambient sound. When the ambient sound exceeds an ambient sound threshold (e.g., 55 dB), the electronic device increases the system call volume to level 9, exiting the privacy call mode. In this case, the earpiece and screen sound 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, re-entering the privacy call mode.

[0227] refer to Figure 12 As shown in (d), when the system call volume is at level 10, upon receiving a call, the earpiece and screen sound emit sound at a first ratio and level 8, entering the privacy call mode. During the call, the electronic device monitors ambient sound. When the ambient sound exceeds an ambient sound threshold (e.g., 55dB), the electronic device increases the system call volume to level 9, exiting the privacy call mode. In this case, the earpiece and screen sound 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, re-entering the privacy call mode.

[0228] It should be noted that if the system call volume is level 9 or 10 before the call is connected, the electronic device can adjust the volume to level 8 before the call is connected, or it can adjust the volume to level 8 after the call is connected. The specific setting can be made according to actual needs, and this application embodiment does not limit this.

[0229] Figure 13 A timing diagram of the call control method provided in an embodiment of this application is shown. Figure 13 As shown, the call control method includes steps S101 to S114. The modules involved include call service, call APP, basic services, playback control module, volume control module, and decision center.

[0230] S101, the private call function is enabled by default for the call service.

[0231] When the privacy call function is enabled, the following steps can be taken when a call notification is received or when a call is connected: Based on the system call volume, determine whether the volume level of this call (answering) needs to be adjusted and whether to enable privacy call mode to avoid sound leakage during the call.

[0232] S102, The call service received an incoming call signal.

[0233] S103. The call service responds to the incoming call signal and launches the call app.

[0234] Accordingly, the calling app is launched and triggers the display of an incoming call notification interface on the desktop. This interface displays an answer button, which is used to answer the incoming call.

[0235] S104, The call service instruction playback control module plays the ringtone.

[0236] Accordingly, the playback control module plays the incoming call ringtone.

[0237] S105. The call service notifies the basic service of the incoming call signal.

[0238] S106, Basic Services: Obtain System Call Volume.

[0239] The system call volume can be measured using volume levels. For example, the system call volume level can be any level from 1 to 10.

[0240] S107, Basic Services will notify the decision center of the system call volume (specifically, the volume level).

[0241] S108. The decision center determines whether the system call volume is greater than the volume level threshold.

[0242] For example, the volume level threshold can be 8 levels.

[0243] It should be noted that either S109 or S110 below may be performed.

[0244] S109. When the system call volume exceeds the volume level threshold, the decision center notifies the volume control module to reduce the volume to level 8 and enter the privacy call mode.

[0245] For example, if the system call volume is at level 9, you can adjust the volume to level 8 to enter private call mode.

[0246] S110. When the system call volume is less than or equal to the volume level threshold, the decision center notifies the volume control module to maintain the system call volume.

[0247] For example, the system call volume level can be any level from 1 to 8. Assuming the system call volume is level 7, then the system call volume can be kept at level 7 to enter the private call mode.

[0248] S111: The calling app receives a user's action of clicking the answer button.

[0249] S112. The call app notifies the volume control module of the incoming call connection signal.

[0250] S113, The volume control module instructs the playback control module to use the privacy call mode.

[0251] S114. The playback control module outputs voice in a private call mode during a call.

[0252] For example, in this case, the earpiece and screen sound-emitting device emits sound at a first ratio and a volume level of 8, or at a first ratio and a volume level of less than 8.

[0253] It should be noted that, since S109 and S110 are executed selectively, when S114 outputs voice in the privacy call mode, the answer volume level during the call will be determined based on the result of the selective execution of S109 and S110.

[0254] The following diagram, with reference to the mobile phone interface, explains in detail the process of automatically adjusting the volume based on the system call volume when an incoming call is connected.

[0255] like Figure 14 As shown in (a), the electronic device receives an incoming call notification and displays an incoming call notification interface. The interface displays the message "Smart Privacy Call Mode," indicating that the Smart Privacy Call function is enabled by default. Once the call is connected, the "Smart Privacy Call Mode" can be used to output voice.

[0256] In response to the user's answering action, such as Figure 14 As shown in (b), when an electronic device receives an incoming call, the earpiece and screen generator of the electronic device emit sound at a first ratio and a volume level of 6, at which point it is in private call mode.

[0257] For example, the first ratio is 3:7. It should be noted that when the earpiece and the screen generating device emit sound at the first ratio and level 6 volume, it means that the earpiece and the screen generating device emit sound together, and the total volume of the two is level 6; 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.

[0258] like Figure 14 As shown in (c), the electronic device receives a user's command to increase the volume. Figure 14 As shown in (d), when the electronic device increases its volume, for example, to level 10 (or level 9), the earpiece and screen emit sound at a second ratio and a volume level of 10, thus exiting the private call mode. The second ratio is greater than the first ratio.

[0259] For example, the second ratio is 7:3. It should be noted that when the earpiece and the screen generating device emit sound at the second ratio and 10 levels of volume, it 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.

[0260] like Figure 14 As shown in (e), the electronic device receives the user's command to turn off the phone and ends the call.

[0261] like Figure 14 As shown in (f), the electronic device receives another call notification and displays the call notification interface. Similarly, the call notification interface displays the prompt message "Smart Privacy Call Mode", indicating that the Smart Privacy Call function has been enabled by default. Once the call is connected, the "Smart Privacy Call Mode" can be used to output voice.

[0262] In response to the user's answering action, such as Figure 14 As shown in (g), when an electronic device receives a call, its earpiece and screen emit sound at a third ratio and 8 volume levels, indicating that it is in private call mode. The third ratio is less than the second ratio. Furthermore, the third ratio may be the same as or different from the first ratio.

[0263] For example, the third ratio can be 4:6. It should be noted that when the earpiece and the screen generating device emit sound at the third ratio and 8 levels of volume, it 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.

[0264] It should be noted that, Figure 14 The specific volume levels of the call volume in the system and the sound output ratio of the earpiece and screen are illustrative examples. In actual implementation, they can be set or confirmed according to the actual situation. This application embodiment does not limit them.

[0265] In some embodiments, the electronic device can continuously collect ambient sound during a call and automatically adjust the volume according to changes in the ambient sound level. When the ambient sound is less than or equal to a preset ambient sound threshold and the answer volume is relatively high (e.g., level 9), it can be determined that the volume needs to be automatically reduced and the device enters a private call mode; when the ambient sound is greater than the preset ambient sound threshold and the answer volume is relatively low (e.g., level 8), it can be determined that the volume needs to be automatically increased and the device exits the private call mode.

[0266] The following, using a mobile phone interface diagram, details the process of automatically adjusting the volume based on the system call volume or changes in ambient sound level after a call is connected. Unlike related technologies that use a preset fixed volume (e.g., fixed volume level 6) in a "smart privacy call mode" after a call is connected, this embodiment automatically adjusts the answer volume based on the system call volume when the call is connected. During the call, the electronic device automatically adjusts the answer volume for different scenarios (noisy or quiet scenarios) based on changes in ambient sound.

[0267] like Figure 15 As shown in (a), the electronic device receives an incoming call notification and displays an incoming call notification interface. The interface displays the message "Smart Privacy Call Mode," indicating that the Smart Privacy Call function is enabled by default. Once the call is connected, the "Smart Privacy Call Mode" can be used to output voice.

[0268] In some embodiments, if the system call volume is determined to be within the volume range corresponding to the privacy call mode when a call is received (e.g., the system call volume is level 6, which is relatively low), then there is no need to adjust it after answering the call, and the system call volume can be maintained during the call to meet the user's usage habits as much as possible. Accordingly, after the user clicks the answer button, if... Figure 15 As shown in (b), the electronic device displays the answering interface, which still shows the prompt message "Smart Privacy Call Mode", indicating that "Smart Privacy Call Mode" has been enabled for this call, and the current volume remains at level 6.

[0269] In other embodiments, if the system call volume is determined to be level 9, which is relatively high and exceeds the volume range corresponding to the privacy call mode, the volume needs to be lowered after the call is answered. This ensures that the output voice can meet the user's usage habits as much as possible while protecting call privacy. After the user clicks the answer button, if... Figure 15 As shown in (c), the electronic device displays the answering interface, which still displays the prompt message "Smart Privacy Call Mode", indicating that "Smart Privacy Call Mode" has been enabled for this call. The electronic device automatically adjusts the answering volume to level 8 in the background.

[0270] In other embodiments, such as Figure 15 As shown in (c), assuming the current call volume is level 8. When the ambient sound is determined to be less than or equal to the preset ambient sound threshold, as follows... Figure 15 As shown in (d), the electronic device maintains a call volume of level 8 and remains in "Smart Privacy Call Mode." However, when the ambient noise level is determined to be higher than a preset ambient noise threshold, as... Figure 15 As shown in (e), the electronic device automatically increases the call volume to level 9 and automatically exits "Smart Privacy Call Mode," reverting to normal mode. Figure 15 As shown in (e), in normal mode, the call interface displays the message "Turn down the volume to enter smart privacy call" instead of "smart privacy call mode", and the privacy call icon is no longer displayed in the status bar of the call interface.

[0271] It should be noted that in actual implementation, the volume bar is not displayed on the incoming call notification screen or the call connection screen in automatic adjustment mode. Volume adjustment on electronic devices is completed in the background without user intervention, thus improving the user experience.

[0272] The above describes the process of switching from "Smart Privacy Call Mode" to normal mode during a call. It is understandable that in actual implementation, the user's environment may change at any time, from a quiet environment to a noisy environment, or from a noisy environment to a quiet environment. In this case, the electronic device can automatically determine whether to switch modes and adjust the volume based on the ambient sound. Figure 16 A schematic flowchart illustrating the automatic mode switching based on changes in ambient sound is shown. Combined with... Figure 13 ,like Figure 16 As shown, after S114, the call control method also includes S115-S119.

[0273] S115, the decision center determines whether the ambient noise level is greater than the ambient noise threshold.

[0274] For example, the ambient noise threshold can be 55 dB.

[0275] It should be noted that S116-S118 and S119 below may be implemented by one of them.

[0276] S116, When the ambient noise exceeds the ambient noise threshold, the decision center instructs the volume control module to switch to normal mode (volume level increased to level 9).

[0277] S117, the volume control module indicates that the playback control module is in normal mode.

[0278] S118, the playback control module outputs voice in normal mode during a call.

[0279] S119, When the ambient noise is less than or equal to the ambient noise threshold, the decision center determines to maintain the privacy call mode.

[0280] The following is combined Figure 17 This describes the process of automatically adjusting the system's call volume and switching modes accordingly based on changes in ambient sound levels.

[0281] like Figure 17 As shown in (a), the electronic device displays a call interface. The current call volume is level 8, and voice output is in private call mode. The call interface displays a private call icon and a prompt message. Figure 17 As shown in (b), when the ambient noise exceeds the threshold, the smart privacy call mode is automatically exited, and the volume is automatically increased (e.g., reduced to level 9). After the mode switch, the privacy call icon and prompt information disappear from the call interface.

[0282] like Figure 17 As shown in (b) above, the electronic device displays the call interface, with the current call volume at level 9, and voice output is performed in normal mode. Figure 17 As shown in (a), when the ambient sound is less than or equal to the threshold, the call automatically switches to the smart privacy call mode and automatically reduces the volume (e.g., to level 8). The call interface after the mode switch displays a privacy call icon and a prompt message, indicating that the "smart privacy call mode" has been enabled for this call.

[0283] In some embodiments, the system can switch from private call mode to normal mode when the ambient sound is detected to be greater than the ambient sound threshold and the duration is longer than a certain period of time; or, it can switch from normal mode to private call mode when the ambient sound is detected to be less than or equal to the ambient sound threshold and the duration is longer than a certain period of time. This avoids switching back and forth between modes in a short period of time and improves the user experience.

[0284] In some embodiments, users may adjust the call volume in the settings interface before making a call or receiving a call notification; in this case, the electronic device prioritizes a privacy call mode after the call is connected. For example, such as... Figure 18 (a) and Figure 18 As shown in (b), the user adjusts the call volume to level 9 in the sound and vibration settings interface, as... Figure 18 (c) and Figure 18 As shown in (d), when an incoming (or outgoing) call is connected, the electronic device first switches to the privacy call mode and automatically adjusts the volume from level 9 to level 8. The earpiece and screen sound device work together to output the call voice at a first ratio (e.g., 3:7) according to level 8 volume. In subsequent calls, the device can also switch between privacy call mode and normal mode based on the ambient sound level.

[0285] In other embodiments, the user may adjust the call volume in the settings interface before making a call or receiving a call notification. In this case, when the next call is connected, the electronic device can maintain the user-set system call volume until the user adjusts the call volume during the call to switch between the two modes. When the user receives a call notification or makes a call again, the electronic device determines whether to automatically adjust the volume and whether to switch between privacy call mode and normal mode based on the system call volume. Figures 11-17 The method shown.

[0286] For example, before making a call or receiving an incoming call notification, the user adjusts the call volume to level 10 in the settings. After the call is connected, the electronic device emits sound at level 10 volume and the corresponding ratio (the ratio of sound emitted from the earpiece to the screen). During one or more passes before the user manually adjusts the volume to level 8 or below during the call, the electronic device maintains the volume manually set in the system settings, such as level 10. After the user manually adjusts the volume to level 8 or below during the call, the electronic device enters a private call mode. Furthermore, upon receiving an incoming call notification or making a call again, the electronic device adjusts the volume accordingly. Figures 11-17 The method shown determines the call mode and volume.

[0287] Second embodiment: Manual adjustment method

[0288] The second embodiment is a further addition to the first embodiment. It should be noted that, when the privacy call function is enabled, the electronic device can automatically decide whether to adjust the volume and mode. When the user triggers volume adjustment or mode adjustment, the electronic device switches from automatic adjustment to manual adjustment and then adjusts the volume and mode according to the user's manual adjustment method.

[0289] In some embodiments, users can press the physical volume buttons on an electronic device to trigger a decrease or increase in volume, thereby triggering a switch between private call mode and normal mode.

[0290] In other embodiments, users can trigger an increase or decrease in volume by sliding their fingers on the volume bar displayed on the screen, thereby switching the call mode between a private call mode and a normal mode.

[0291] For example, the switching between different call modes is described here. For instance, when a user presses a physical volume button, the electronic device displays a volume bar in response to the user's action. When the user increases the volume, the volume bar fills up, for example, from level 8 to level 9, automatically exiting the privacy call mode and entering normal mode; that is, switching from privacy call mode to normal mode. When the user decreases the volume, the volume bar fills up, for example, from level 9 to level 8, switching from normal mode to privacy call mode.

[0292] In this embodiment, the call control method provided in this application can control the switching between privacy call mode and normal mode based on the output volume level or range of the electronic device. Specifically, the electronic device can predefine the following rules for switching between privacy call mode and normal mode:

[0293] When the output volume level of the electronic device is less than or equal to the preset volume level (e.g., level 8), or when the output volume level of the electronic device is within the preset first volume level range (e.g., [level 1, level 8]), the privacy call mode is automatically activated. 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 privacy call mode is automatically deactivated, and 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.

[0294] For example, when a user's volume control is received (either lowering or raising the volume), if the adjusted volume level is determined to be less than or equal to a preset volume level (e.g., level 8), a privacy call mode is activated. This allows simultaneous sound output from both the screen and earpiece, with different volume levels (e.g., the screen output is stronger than the earpiece output) to prevent sound leakage and improve the user's call experience. If the adjusted volume level is determined to be greater than the preset volume level (e.g., level 8), a normal mode is activated. This also allows simultaneous sound output from both the screen and earpiece, with different volume levels (e.g., the earpiece output is stronger than the screen output) to ensure good sound quality and improve the user's call experience.

[0295] For example, Figure 19 This diagram illustrates an interface where adjusting the volume by pressing a physical volume button triggers a mode switch. (See diagram for example.) Figure 19 As shown in (a), assuming the current call volume level is 10, the user can lower the volume by pressing the physical volume button (-) on the electronic device. Figure 19 As shown in (b), the electronic device responds to user input by switching the call mode to a privacy call mode and displays a volume bar 61 and a privacy call icon 62 on the call interface. The volume bar 61 indicates a decrease in volume, with the answer volume level reduced to, for example, level 6. Privacy call mode ensures call privacy. Similarly, as... Figure 19 As shown in (c), the call interface displays a volume bar 61 and a privacy call icon 62. Assuming the current answer volume level is 6, the user presses the volume + button. Then, as... Figure 19 As shown in (d), the electronic device responds to user input by switching the call mode to normal mode, displaying a volume bar 61 and a high-volume icon 63 on the call interface. The volume bar 61 indicates volume increase / decrease, with the answer volume level set to 9. Normal mode ensures clear call quality.

[0296] For example, Figure 20The diagram illustrates an interface where adjusting the volume by pressing the volume bar triggers a mode switch. Figure 19 (a) and Figure 19 As shown in (b), assuming the current answer volume level is 9, and a volume bar is displayed on the answer screen, the user can reduce the volume by dragging the adjustment buttons on the volume bar. Figure 20 As shown in (c), the volume is reduced to level 6, and the call mode switches from normal mode to private call mode. Figure 20 As shown in (d), the volume bar 61 and the privacy call icon 62 will be automatically hidden after a certain period of time.

[0297] It should be noted that in scenarios where users listen to audio through an electronic device with their ear pressed to the screen, the call control method provided in this application can activate a privacy call mode when the output volume level of the electronic device decreases to less than or equal to a preset volume level, in order to avoid audio leakage during voice calls. When the output volume level of the electronic device increases to exceed the preset volume level, the privacy call mode is exited and normal mode is entered to ensure the effect of high-volume playback.

[0298] In some embodiments, after switching to manual adjustment mode during the call, the system will not return to automatic adjustment mode. In other words, the above-mentioned scheme of automatically adjusting volume and mode according to ambient sound level will not be executed during the call.

[0299] In some embodiments, assuming that manual adjustment mode is switched during the current call, the electronic device will still default to automatic adjustment mode when it receives an incoming call notification or makes a call the next time, that is, the method in the first embodiment will still be executed.

[0300] Third embodiment: In the event of an incoming call, pressing the physical volume button can trigger the "Smart Privacy Call Mode" to be activated after the call is connected.

[0301] Currently, the "Smart Privacy Call Mode" can only be enabled and disabled when a call is connected. In the case of incoming call notifications or missed calls, the "Smart Privacy Call Mode" cannot be configured, and the call volume cannot be adjusted; only the media volume can be controlled.

[0302] In view of this, the embodiments of this application provide the following function: In this incoming call scenario, in response to the user pressing the volume button or power button, the electronic device can enable "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. Compared with related technologies where pressing the volume button or power button only triggers the call ringtone to be muted, the solution of this application provides more scenarios that can trigger the activation of "Smart Privacy Call Mode".

[0303] In some embodiments, when the "Smart Privacy Call Mode" is not enabled, the electronic device can quickly enable the "Smart Privacy Call Mode" in response to the user double-clicking the volume down button before the call is connected or during the call notification.

[0304] For example, such as Figure 21 As shown in (a), when an electronic device receives an incoming call, it displays a call notification interface and a prompt message in a preset area of ​​the screen (e.g., near the physical volume buttons): "Double-click to quickly enter Smart Privacy Call". Figure 21 As shown in (b), if the system call volume is at level 9 or 10 before the call is connected, the electronic device can lower the call volume by double-clicking the volume down button, for example, automatically lowering it to level 8. The electronic device will also enable the Smart Privacy Call function and display the message "Smart Privacy Call Mode is enabled" in the call notification interface. The incoming call ringtone will then be muted. Figure 21 As shown in (c), when a call is connected, the electronic device uses the smart privacy call mode to output voice at a lowered system call volume.

[0305] It should be noted that if the system call volume is level 8 or below before the call is connected, the electronic device will not adjust the system call volume after the user double-clicks the volume down button. Once the call is connected, the electronic device will use the smart privacy call mode, outputting voice at the unadjusted system call volume.

[0306] As a comparison example, such as Figure 21 As shown in (d), when the incoming call notification interface displays the message: "Double-click the volume down button to enter Smart Privacy Call," then... Figure 21 As shown in (e), if the user presses the answer button without double-clicking the volume down button, then as... Figure 21 As shown in (f), the electronic device displays the message "Turn down the volume to enter private call mode" in the call interface, indicating that the smart private call function is not enabled.

[0307] It should be noted that if the system call volume is at level 9 or 10 before the call is connected, the electronic device can adjust the volume before or after the call is connected after the user double-clicks the volume down button. The specific settings can be made according to actual needs, and this application embodiment does not limit this.

[0308] In some embodiments, before a call is connected or during a call notification, the electronic device can automatically answer the call in response to the user double-clicking the volume down button, without the user needing to click the answer control, and can lower or maintain the system call volume in the manner described above to quickly enable the "Smart Privacy Call Mode".

[0309] Figure 22 Another timing diagram of the call control method provided in an embodiment of this application is shown. For example... Figure 22 As shown, the call control method includes steps S201 to S210. The modules involved include call service, call APP, basic service, playback control module, and volume control module.

[0310] S201, The call service received an incoming call signal.

[0311] It should be noted that the private call feature was not enabled at this time.

[0312] S202. The call service responds to the incoming call signal and launches the call app.

[0313] Accordingly, the calling app is launched and triggers the display of an incoming call notification interface on the desktop. This interface displays an answer button, which is used to answer the incoming call.

[0314] S203, Call service instruction playback control module plays ringtone.

[0315] Accordingly, the playback control module plays the incoming call ringtone.

[0316] S204. The basic service receives a user's double-click operation on the volume down button.

[0317] S205, Basic Service Notification Playback Control Mode Setting: Mute Incoming Call Ringtone.

[0318] S206, Basic Service Notification Volume Control Mode Enables Privacy Call Mode.

[0319] For example, when the system call volume is at level 9 or 10, if the user double-clicks the volume down button when the electronic device receives an incoming call notification, the electronic device will reduce the system call volume to level 8, and will output sound at level 8 volume after the call is connected. It can be understood that since level 8 volume corresponds to a private call mode, the private call mode will be automatically activated accordingly.

[0320] For another example, when the system call volume is within the range of [level 1, level 8], if the user double-clicks the volume down button when the electronic device receives an incoming call notification, the electronic device will maintain the system call volume. For instance, if the system call volume is level 6 when the electronic device receives an incoming call notification, and the user double-clicks the volume down button, the electronic device will maintain the system call volume at level 6, and will output sound at level 6 volume after the call is connected. It can be understood that since level 6 volume corresponds to the privacy call mode, the privacy call mode will be automatically enabled accordingly.

[0321] S207. The calling app receives a user's action of clicking the answer button.

[0322] S208, The call app notifies the volume control module of the incoming call connection signal.

[0323] S209, The volume control module instructs the playback control module to use the privacy call mode.

[0324] S210 The playback control module outputs voice in a privacy call mode during a call.

[0325] In other embodiments, when the "Smart Privacy Call Mode" is not enabled, the electronic device can mute the ringtone in response to the user clicking the volume down button; the electronic device can also display a volume bar in the call notification interface in response to the user clicking the volume down button again. The user can quickly activate the "Smart Privacy Call Mode" by adjusting the volume using the volume bar.

[0326] For example, such as Figure 23 As shown in (a), the electronic device receives an incoming call and displays a call notification interface with the message: "Turn down the volume to enter smart privacy call." Figure 23 As shown in (b), when the user clicks the volume down button, the electronic device silences the incoming call ringtone. When the user clicks the volume down button again, as shown... Figure 23 As shown in (c), the electronic device displays a volume bar in the incoming call notification interface. Figure 23 As shown in (d), in response to the user's operation on the volume bar, the electronic device lowers the volume and enables the Smart Privacy Call feature, and as... Figure 23 As shown in (e), the incoming call notification interface displays the message "Smart Privacy Call Mode is enabled." Figure 23 As shown in (f), when a call is connected, the electronic device uses the smart privacy call mode to output voice.

[0327] Fourth embodiment: Quickly enable or disable "Smart Privacy Call Mode" via the privacy call switch.

[0328] In some embodiments, a privacy call switch can be displayed in the incoming call notification interface, and the electronic device can quickly turn the "Smart Privacy Call Mode" on or off in response to the user's operation of the privacy call switch. In other embodiments, a privacy call switch can also be displayed in the incoming call interface, and the electronic device can quickly turn the "Smart Privacy Call Mode" on or off in response to the user's operation of the privacy call switch.

[0329] For example, Figure 24 The screenshot shows the interface for triggering the privacy call switch on the incoming call page. Figure 24As shown in (a), when an electronic device receives an incoming call, it displays a call notification interface. This interface shows a privacy call switch and the message "Privacy call mode is enabled, reducing call leakage. Click to turn it off." At this time, the privacy call switch indicates that privacy call mode is enabled. Figure 24 (b) and Figure 24 As shown in (c), when the user clicks the privacy call switch, the privacy call switch updates its display status (e.g., changes from dark to light), indicating that privacy call mode is off. Furthermore, in response to the user's action of turning off privacy call mode, the electronic device displays a volume bar and a volume up icon in the incoming call notification interface. Further, when the user clicks the answer button, as shown... Figure 24 As shown in (d), the electronic device displays a call interface, in which the privacy call switch is still displayed. Optionally, a prompt message "Click to enable privacy call mode, reducing call leakage" can be displayed in the area near the privacy call switch.

[0330] It should be noted that the display method of the privacy call switch in this embodiment is merely an example, and this application is not limited thereto. For instance, the privacy call switch can also be displayed in the status bar at the top of the display interface in the form of a capsule.

[0331] For example again, Figure 25 The screenshot shows the interface for triggering the privacy call switch on the call page. Figure 25 As shown in (a), the electronic device displays a call interface, which includes a privacy call switch and the message "Click to enable privacy call mode, reducing call audio leakage." At this time, the privacy call switch indicates that privacy call mode is off. Figure 25 (b) and Figure 25 As shown in (c), when the user clicks the privacy call switch, the switch updates its display status, indicating that privacy call mode is enabled (e.g., changing from light to dark). Furthermore, in response to the user enabling privacy call mode, the electronic device displays a volume bar and a privacy call icon in the incoming call notification interface. During the call, the electronic device uses privacy call mode for voice output. Optionally, a prompt message "Privacy call mode is enabled, reducing call leakage. Click to turn it off" can be displayed near the privacy call switch. Figure 25 As shown in (d), the volume bar will automatically hide after a certain period of time.

[0332] It should be noted that the above embodiments are illustrated using incoming call scenarios as an example. In actual implementation, the above embodiments are also applicable to outgoing call scenarios. For example, a privacy call switch can be displayed on the outgoing call interface, and the electronic device can quickly turn the "Smart Privacy Call Mode" on or off in response to the user's operation of the privacy call switch. Furthermore, a privacy call switch can also be displayed on the call interface after the outgoing call is connected, and the electronic device can quickly turn the "Smart Privacy Call Mode" on or off in response to the user's operation of the privacy call switch.

[0333] Fifth embodiment: When an incoming call is connected, a volume bar and mode adjustment prompt will pop up.

[0334] In some embodiments, when the "Smart Privacy Call Mode" is not enabled, a volume bar and a prompt message "Turn down the volume to enter Smart Privacy Call Mode" immediately pop up on the call screen when a call is connected. Users can choose to turn down the volume to trigger the electronic device to enable Smart Privacy Call Mode, or not adjust the volume to disable Smart Privacy Call Mode, depending on their actual needs.

[0335] For example, Figure 26 The image shows a screenshot of the interface prompting you to enable private call mode on the incoming call screen. (See screenshot for example.) Figure 26 As shown in (a), the electronic device receives an incoming call and displays the caller ID page. When the user clicks the answer button, as shown in (a), the electronic device receives an incoming call and displays the caller ID page. Figure 26 As shown in (b), the electronic device displays a call interface, which includes a volume bar, a volume up icon, and the message "Turn down the volume to enter Smart Privacy Call Mode." In this situation, the user has two options: Figure 26 (c) and Figure 26 As shown in (d), when a user manipulates the volume bar to lower the volume, it triggers entry into private call mode; or, as... Figure 26 As shown in (e), if the user does not operate on the call interface or clicks on a blank area of ​​the call interface, they will not enter the private call mode.

[0336] It should be noted that the above embodiments are illustrated using incoming call scenarios as an example. In actual implementation, the above embodiments are also applicable to outgoing call scenarios. In some embodiments, when the "Smart Privacy Call Mode" is not enabled, when an outgoing call is answered and the electronic device is not held to the ear, a volume bar and a prompt message "Turn down the volume to enter Smart Privacy Call Mode" can immediately pop up in the call interface to guide the user to enable Smart Privacy Call Mode by adjusting the volume bar. The user can choose to turn down the volume to trigger the electronic device to enable Smart Privacy Call Mode according to actual usage needs. In some embodiments, when the "Smart Privacy Call Mode" is not enabled, when an outgoing call is answered and the electronic device is held to the ear, the electronic device can control the display screen to turn off to prevent accidental touches.

[0337] For example, Figure 27 The image shows a screenshot of the interface prompting you to enable private call mode on the outgoing call screen. Figure 27 As shown in (a), the electronic device displays the outgoing call page. When the call is connected, as... Figure 27 As shown in (b), the electronic device displays a call interface, which includes a volume bar, a volume up icon, and the message "Turn down the volume to enter Smart Privacy Call Mode." In this situation, the user has two options: Figure 27 (c) and Figure 27 As shown in (d), when a user manipulates the volume bar to lower the volume, it triggers entry into private call mode; or, as... Figure 27 As shown in (e), if the user does not operate on the call interface or clicks on a blank area of ​​the call interface, they will not enter the private call mode.

[0338] In this embodiment, after the smart privacy call function is enabled, the privacy call mode can be automatically activated when the output volume level of the electronic device is lower than the preset volume level in a voice call scenario. That is, when the output volume level of the electronic device is lower than the preset volume level in a voice call scenario, it automatically switches to privacy call mode and uses the voice output method corresponding to privacy call mode (e.g., sound is emitted from both the screen and the earpiece, such as the screen sound intensity being greater than the earpiece sound intensity) to output voice, thus avoiding sound leakage during voice calls.

[0339] In other embodiments, during voice calls, when the system senses that the user has repeatedly triggered the volume reduction operation, it can automatically switch to a private call mode and use the voice output method corresponding to the private call mode (e.g., using both the screen and the earpiece to emit sound, such as the screen's sound intensity being greater than the earpiece's sound intensity) to output voice, thus avoiding sound leakage during voice calls.

[0340] In some embodiments, when switching from privacy call mode to normal mode, the overall volume (or loudness or intensity) can be increased based on the volume corresponding to privacy call mode to improve the voice playback effect. That is, the overall loudness of sound emitted through the earpiece and screen in normal mode is greater than the overall loudness of sound emitted through the earpiece and screen in privacy call mode.

[0341] Compared to earpiece sound, screen sound effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, they can use the privacy call mode, which can ensure clear calls while reducing sound leakage, thereby protecting user privacy.

[0342] The process of switching between private call mode and normal mode has been described in detail above. The following section will further explain the possible ways to switch between private call mode and speaker mode.

[0343] In some embodiments, using the audio processing method provided in this application, when the electronic device is in private call mode, it can switch to speaker mode when it receives a user's click on the speaker icon, that is, output voice through the speaker, while the screen and earpiece remain silent. Optionally, further, when the electronic device receives a user's click on the speaker icon, it can exit speaker mode and re-enter private call mode.

[0344] For example, Figure 28 A schematic diagram of the voice call interface after answering an incoming call is shown. The voice call interface displays the following message: "Smart Privacy Call Enabled" 71 and an icon indicating a privacy call 72. For example... Figure 28 As shown in (a), the user clicks the speaker button 73 in the voice call interface to trigger the playback of voice through the speaker. Figure 28 As shown in (b), in response to the user's operation of the speaker button 73, the phone activates the hands-free function. At this time, voice is played through the speaker, and neither the screen nor the earpiece emits sound. The voice call interface displays the message "Smart Privacy Call Exited" 74, while the message "Smart Privacy Call Enabled" 71 and the icon 72 indicating a privacy call are removed. The message "Smart Privacy Call Exited" 74 is hidden after a certain duration (e.g., 5 seconds).

[0345] Further optional, such as Figure 28 As shown in (c), the user can press the speaker button 73 in the voice call interface again to trigger the speaker to turn off. Figure 28 As shown in (d), in response to the user's operation of the speaker button 73, the phone switches from speaker mode to private call mode. This achieves the switching between private call mode and normal mode.

[0346] For example again, Figure 29 The diagram illustrates the interface for switching from privacy call mode to speaker mode by interacting with the notification card of the Smart Privacy Call feature, as shown below. Figure 29 As shown in (a), the user slides their finger down in the direction of the arrow on the voice call interface to access the drop-down menu. Figure 29 As shown in (b), a menu bar (also known as the notification interface) is displayed, which contains a notification card 75. This notification card 75 indicates that a voice call is in progress. The user can click the hands-free icon 76 in the notification card 75 to activate the hands-free function. Figure 29As shown in (c), after the user clicks the hands-free icon 76, they return to the voice call interface from the menu bar. The voice call interface displays the message "Smart Privacy Call Exited" 74. Correspondingly, "Smart Privacy Call Enabled" 71 and the icon indicating privacy calls 72 are removed from the display. This achieves the switching between privacy call mode and normal mode.

[0347] In some embodiments, the electronic device provides a settings interface for the Smart Privacy Call function, which users can enable or disable according to their actual needs.

[0348] For example, Figure 30 The diagram illustrates how to access the Smart Privacy Call settings interface via a notification card for the Smart Privacy Call feature. Figure 30 As shown in (a), the user slides their finger down in the direction of the arrow on the voice call interface to access the drop-down menu. Figure 30 As shown in (b), a menu bar (also known as the notification interface) is displayed, which contains a notification card 77. This notification card 77 indicates that the Smart Privacy Call function is enabled. Users can click on the notification card 77 to configure the Smart Privacy Call function. Figure 30 As shown in (c), after the user clicks the notification card 75, the user is redirected from the menu bar to the settings interface 78 of the Smart Privacy Call function. This settings interface 78 includes a toggle control 79 for the Smart Privacy Call function, which currently indicates that the Smart Privacy Call function is enabled. The user can manipulate the toggle control 79 (e.g., by sliding it in the direction of the arrow shown in the figure) to disable the Smart Privacy Call function.

[0349] Furthermore, such as Figure 30 As shown in (d), after the user operates the switch control 79, the privacy call mode is exited, and the user is redirected from the smart privacy call function settings interface 78 to the voice call interface. In the voice call interface, the prompt message "Smart privacy call has been exited" 74 can be displayed. Correspondingly, "Smart privacy call has been enabled" 71 and the icon 72 that identifies privacy call will be removed from the display.

[0350] It should be noted that the above embodiments are illustrated using a voice call scenario as an example. It can be understood that the solutions provided in the above embodiments regarding switching between private call mode and speaker mode, as well as the function settings for private call mode, can also be applied to VoIP voice call scenarios.

[0351] Thus, when a user listens to audio through an electronic device, the device can determine whether to activate a privacy call mode or a normal mode based on different volume levels, and can choose to emit sound through the earpiece and / or the screen. For example, if the default volume level of the electronic device or the volume level adjusted by the user is less than or equal to the preset volume level, privacy call mode is activated. In privacy call mode, voice can be played through the earpiece and the screen at different sound intensities, for example, the screen sound intensity is greater than the earpiece sound intensity. If the default volume level of the electronic device or the volume level adjusted by the user is greater than the preset volume level, normal mode is activated. In normal mode, voice can also be played through the earpiece and the screen at different sound intensities, for example, the earpiece sound intensity is greater than the screen sound intensity. By using earpiece and screen sound in a complementary manner, the electronic device can avoid sound leakage in quiet environments while still providing good sound quality when playing voice audio. This effectively protects user privacy, making the electronic device more private when the user listens to audio through the ear.

[0352] As mentioned above, when a user listens to audio by pressing their ear to the phone, or when the user selects earpiece mode (i.e., the phone plays sound through the earpiece), the phone can determine whether the current volume level is greater than a preset volume level, and based on the determination result, decide whether to enable private call mode or normal mode. The following explains the possible ways to detect the user's action of listening to audio by pressing their ear to the phone.

[0353] In this context, "listening to audio with the ear" (i.e., the phone being in a "listening to audio with the ear" state) can refer to the user placing their ear near the earpiece to listen to audio data (such as recordings or songs) stored on the phone. It can also refer to the user engaging in voice communication (either through the phone's dial-up function or through an instant messaging application) and listening to audio data received from another user's phone. Furthermore, it can refer to the user listening to voice messages from an instant messaging application. For example, the phone might receive voice messages from other phones via an instant messaging application. The phone can display the instant messaging application's chat interface, which includes the voice messages from other phones. In response to the user's tap on the voice message, the phone can play the voice message (i.e., the audio signal) from the other phone through the earpiece.

[0354] For example, a mobile phone can use sensors such as a light sensor and a proximity sensor to detect whether a user's ear is near the earpiece. For instance, the phone can use a proximity sensor to detect if there is an obstruction in front of the front panel (or screen). If there is an obstruction at close range in front of the front panel, it can be determined that the user's ear is near the earpiece. As another example, when the phone's light sensor detects a sudden and significant decrease in light intensity, it can also determine that the user's ear is near the earpiece. Of course, in other embodiments of this application, the mobile phone can also use other methods or algorithms to detect whether the user's ear is near the earpiece, and relevant descriptions in conventional technology can be consulted; no limitations are set here.

[0355] In some embodiments, when a user uses a mobile phone to listen to audio with their ear pressed against their ear, the phone can also display various listening modes for the user to choose from. This allows the user to manually select a listening mode based on their actual needs, triggering the phone to execute corresponding sound playback strategies for the earpiece and screen. These listening modes may include a private call mode and a normal mode.

[0356] It should be noted that in the example above, after the mobile phone receives the user's input to select a listening mode, it can directly use the corresponding sound playback strategy to play the sound. Each listening mode uses a corresponding sound playback strategy.

[0357] In the privacy call mode, a sound playback strategy can be employed that combines sound from both the earpiece and the screen, with the screen's sound intensity being greater than or equal to the earpiece's sound intensity. That is, the phone can play voice messages simultaneously, primarily using screen sound and secondarily using earpiece sound. The privacy call mode can also use only screen sound.

[0358] In normal mode, a sound playback strategy can be employed that combines sound from both the earpiece and the screen, with the earpiece's sound intensity exceeding that of the screen. In other words, the phone can primarily use the earpiece for sound playback, supplemented by screen sound. Normal mode can also use only the earpiece for sound.

[0359] In the various scenarios described above, where the user listens with their ear close to their ear, the voice played through the earpiece and screen can be any audio data stored on the phone, such as recordings or songs. It can also be sound data received by the phone from the other user's phone during voice communication. Furthermore, it can be voice messages from instant messaging applications installed on the phone.

[0360] Figure 31 This is a flowchart illustrating the privacy call notification function of a call control method provided in an embodiment of this application. Figure 31As shown, after the first three calls received or made, without entering private call mode, a pop-up notification will appear in the incoming call notification screen or outgoing call screen (as described above). Figure 5 (See the bubble prompt shown). Further determination is made as to whether the user has entered private call mode. If private call mode is not detected, it means the user has not yet learned the private call function, so the electronic device will prompt the user by popping up a bubble, for example, three times. If private call mode is detected, it means the user has learned the function. Further, it is determined whether the user has triggered private call mode multiple times (e.g., twice) within a preset time period (e.g., 7 days). If private call mode is not detected, it means the user still has not learned the private call function, so the electronic device will pop up a bubble three more times to prompt the user until the user learns the private call function and then stops prompting. If private call mode is detected, it means the user has learned the function, and no further prompting is given.

[0361] Optionally, in this embodiment, in a quiet environment, the mobile phone can also adjust the volume (or loudness) of the earpiece and screen sound output according to the distance between the user's ear and the mobile phone (or earpiece). Simultaneously, the frequency band of the earpiece sound output and the frequency band of the screen sound output can also be adjusted.

[0362] For example, when a person's ear is far from the phone, the phone can increase the volume of both the earpiece and screen sound. Simultaneously, the phone can reduce the relatively high-frequency components of the earpiece's output frequency band, lowering the boundary frequency between the screen and earpiece sound output bands, resulting in a lower earpiece output frequency. Since most of the screen's sound energy is directed towards the ear, while some of the earpiece's energy is released through the sound outlet at the top of the phone's frame, increasing the volume makes the earpiece more prone to sound leakage compared to the screen. Therefore, further lowering the earpiece's output frequency band can prevent other users from clearly hearing the earpiece's sound output when the volume is increased.

[0363] In some embodiments, the sound intensity of the screen sound can also be set according to the sensitivity of the screen sound. That is, the set sound intensity of the screen sound can vary depending on the sensitivity of the screen sound.

[0364] For example, in this embodiment of the application, screen sound can be emitted by a screen sound device (e.g., such as...). Figure 2The screen sound-generating device (as shown) is used to achieve this. Depending on the specific screen sound-generating scheme, the device itself can vary. For example, the screen sound-generating device can be a vibration source (usually a piezoelectric ceramic, but it could also be a motor vibrator, exciter, or other vibration unit) connected to the back of the screen. It can control the vibration of the piezoelectric ceramic via a current signal to drive the screen to vibrate, thus producing sound. Alternatively, the screen sound-generating device can be a piezoelectric ceramic fixed to the phone's frame via a cantilever beam structure. It can control the vibration of the piezoelectric ceramic via a current signal, and the phone's frame transmits the vibration to the screen, causing it to vibrate and produce sound. Another example is an exciter fixed to the phone's frame. It can control the vibration of the exciter via a current signal, and the phone's frame transmits the vibration to the screen, causing it to vibrate and produce sound. Yet another example is a split-type magnetic levitation vibrator. One vibrator is fixed to the phone's frame, and the other is fixed to the screen. The vibrator fixed to the screen can be controlled by a current signal to vibrate relative to the vibrator fixed to the phone's frame, thus driving the screen to vibrate and produce sound. Due to factors such as the type and location of the screen sound-emitting device, the weight of the phone's frame, and the internal structural layout of the phone, the screen sound sensitivity varies for different screen sound-emitting solutions. A relatively low screen sound intensity and driving power can be set for screen sound-emitting devices with high sensitivity, while a relatively high screen sound intensity and driving power can be set for screen sound-emitting devices with low sensitivity.

[0365] Optionally, in this application embodiment, the electronic device (such as a mobile phone) can automatically enable the functions implemented by the above method, or it can be set to be manually enabled by the user.

[0366] It should also be noted that in the embodiments of this application, "greater than" can be replaced with "greater than or equal to", "less than or equal to" can be replaced with "less than", or "greater than or equal to" can be replaced with "greater than", and "less than" can be replaced with "less than or equal to".

[0367] The various embodiments described herein can be independent solutions or combinations thereof based on their inherent logic, and all such solutions fall within the protection scope of this application.

[0368] It is understood that the methods and operations implemented by electronic devices in the above-described method embodiments can also be implemented by components (such as chips or circuits) that can be used in electronic devices.

[0369] This application also provides a chip coupled to a memory, which is used to read and execute computer programs or instructions stored in the memory to perform the methods described in the above embodiments.

[0370] This application also provides an electronic device including a chip for reading and executing computer programs or instructions stored in a memory, such that the methods in the various embodiments are performed.

[0371] This embodiment also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the call control method in the above embodiment.

[0372] This embodiment also provides a computer program product. The computer-readable storage medium stores program code. When the computer program product is run on a computer, it causes the computer to perform the above-mentioned related steps to implement the call control method in the above embodiment.

[0373] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the call control methods in the above-described method embodiments.

[0374] In this embodiment, the electronic device, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0375] This application does not impose any particular limitation on the specific structure of the execution subject of the method provided in this application embodiment. As long as a program containing the code of the method provided in this application embodiment can be run to perform call control according to the method provided in this application embodiment, it is acceptable. For example, the execution subject of the method provided in this application embodiment can be an electronic device, or a functional module in an electronic device that can call and execute a program.

[0376] In this article, the term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The symbol " / " in this article indicates that the related objects are in an "or" relationship; for example, A / B means A or B.

[0377] The terms "first" and "second," etc., used in the specification and claims herein are used to distinguish different objects, not to describe a specific order of objects. In the description of embodiments in this application, unless otherwise stated, "multiple" means two or more; for example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.

[0378] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0379] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0380] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or units may be electrical, mechanical, or other forms.

[0381] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0382] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0383] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium and includes several instructions that cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0384] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A call control method, characterized in that, Applied to an electronic device, the electronic device including a handset, a screen, and a screen sound-emitting device, the screen sound-emitting device being used to drive the screen to emit sound, the method comprising: When the electronic device's system-set call volume is at the first volume, the electronic device receives the first incoming call; The electronic device receives a first operation from the user and responds to the first operation by connecting the first incoming call. The earpiece and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume. During the call of the first incoming call, the electronic device receives a second operation from the user. In response to the second operation, the earpiece and the screen sound device emit a second sound at a second ratio and a second volume, wherein the second volume is greater than the first volume. The electronic device receives a third operation from the user and, in response to the third operation, terminates the first incoming call; When the system-set call volume of the electronic device is the second volume, the electronic device receives the second incoming call; The electronic device receives a fourth operation from the user and, in response to the fourth operation, connects the second incoming call. The earpiece 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 the third volume is less than the second volume. Wherein, 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 less than the second ratio, the third ratio is less than the second ratio, and in the first ratio and the third ratio, the sound intensity of the earpiece is less than the sound intensity of the screen sound device.

2. The method according to claim 1, characterized in that, After the earpiece and the screen sound-emitting device of the electronic device emit a third sound at a third ratio and a third volume, the method further includes: When the ambient sound level of the electronic device is at a first value, the earpiece and the screen sound device of the electronic device emit a third sound at the third ratio and the third volume. When the ambient sound level of the electronic device is at 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 fourth ratio is the ratio of the sound intensity of the earpiece to the sound intensity of the screen sound device. Wherein, the first value is less than the second value, the third ratio is less than the fourth ratio, and the third volume is less than the fourth volume.

3. The method according to claim 1 or 2, characterized in that, Before the electronic device receives the first incoming call, the method further includes: After the electronic device is powered on, the first function is enabled by default. When the first function is enabled, after an incoming or outgoing call is connected, the sound intensity of the earpiece is less than the sound intensity of the screen sound device.

4. The method according to claim 1 or 2, characterized in that, The second operation is the user pressing the physical volume up button; or the user dragging the volume adjustment button in the volume bar icon upwards.

5. The method according to claim 2, characterized in that, The output volume of the electronic device is expressed in decibels; or... The output volume of the electronic device is represented by volume levels; wherein, the volume decibel value within a preset range is divided into N volume levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values, where N is a positive integer.

6. The method according to claim 5, characterized in that, The N volume levels include volume levels 1 to 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 volume levels corresponding to the second volume and the fourth volume are respectively in the range of [level I+1, level 10], where I is an integer greater than 1 and less than 10.

7. The method according to claim 6, characterized in that, The value of I is 8.

8. A call control method, characterized in that, Applied to an electronic device, the electronic device including a handset, a screen, and a screen sound-emitting device, the screen sound-emitting device being used to drive the screen to emit sound, the method comprising: When the electronic device's system-set call volume is at the first volume, the electronic device receives the first incoming call; The electronic device responds to the user's double-click operation of the volume down button to activate a first function, wherein the sound intensity of the earpiece is less than the sound intensity of the screen sound device. In response to a user's call, the electronic device connects the first incoming call, and the earpiece and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume. During the call of the first incoming call, in response to the user's operation of increasing the volume, the earpiece and the screen sound device of the electronic device emit a second sound at a second ratio and a second volume, wherein the second volume is greater than the first volume; The electronic device terminates the first incoming call in response to the user hanging up the phone. When the system-set call volume of the electronic device is the second volume, the electronic device receives the second incoming call; The electronic device activates the first function in response to a user's double-click of the volume down button; In response to a user's call, the electronic device connects the second incoming call, and the earpiece 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 the third volume is less than the second volume; Wherein, 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 less than the second ratio, the third ratio is less than the second ratio, and in the first ratio and the third ratio, the sound intensity of the earpiece is less than the sound intensity of the screen sound device.

9. The method according to claim 8, characterized in that, The electronic device receives the first incoming call, including: The electronic device displays an incoming call notification interface; When an incoming call is not answered, the electronic device displays a first prompt message on the incoming call notification interface. The first prompt message is used to prompt that the first function can be activated by double-clicking the volume down button.

10. The method according to claim 9, characterized in that, After enabling the first function, the method further includes: The electronic device displays a second prompt message on the incoming call notification interface, the second prompt message being used to indicate that the first function has been enabled.

11. The method according to claim 8, characterized in that, The method further includes: The electronic device responds to the user's double-click of the volume down button by muting the incoming call ringtone.

12. The method according to claim 8, characterized in that, The method further includes: The electronic device receives a third incoming call; In response to receiving a user's click of the volume down button, the electronic device silences the incoming call ringtone; 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. The volume bar icon is used to indicate the call volume set by the system of the electronic device.

13. The method according to claim 12, characterized in that, After the electronic device displays a volume bar icon in the incoming call notification interface, the method further includes: In response to receiving a user's action on the volume bar icon, the electronic device adjusts the call volume; When the adjusted volume is at the first call volume, activate the first function; or... When the adjusted volume is the second call volume, the first function is turned off; The first call volume is lower than the second call volume.

14. The method according to any one of claims 8 to 13, characterized in that, The method further includes: With the first function disabled, the electronic device receives a fourth incoming call; In response to a call being connected, the electronic device displays a call interface; The call interface displays a volume bar icon, along with animated guidance and text prompts; the animated guidance includes moving the volume adjustment button in the volume bar icon downwards, and the text prompts indicate that the first function is activated by lowering the volume.

15. The method according to any one of claims 8 to 13, characterized in that, The method further includes: The electronic device displays a switch icon for the first function on the incoming call notification interface, outgoing call interface, or call interface. In response to receiving a click operation from a user on the switch icon, the electronic device activates the first function; In response to receiving another click from the user on the switch icon, the electronic device disables the first function.

16. An electronic device, characterized in that, The device includes a processor coupled to a memory, the processor being configured to execute a computer program or instructions stored in the memory to cause the electronic device to perform the method as described in any one of claims 1 to 7, or the method as described in any one of claims 8 to 15.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 7, or the method as described in any one of claims 8 to 15.

Citation Information

Patent Citations

  • Call control method, electronic equipment and storage medium

    CN119678479A