Call control method, electronic equipment and storage medium

CN119678479APending Publication Date: 2025-03-21HONOR DEVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202380059244.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-10-31
Filing Date
2023-08-21
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When the user holds the mobile phone and puts it to the ear to listen, there is sound leakage when playing the voice through the earpiece. The sound is not only emitted from the sound hole at the side seam, but also a large part of the energy is emitted from the top sound hole, resulting in the leakage of user privacy.

Method used

By introducing a screen sound device into electronic equipment, combining the earpiece and screen sound, the volume and sound mode are automatically adjusted according to user operations and environmental sounds to achieve a private call mode, reduce sound leakage, and automatically increase the volume in noisy environments to ensure conversation Clarity.

Benefits of technology

It effectively reduces sound leakage during voice calls, protects user privacy, and automatically adjusts volume and mode in different environments to improve the call experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119678479A_ABST
    Figure CN119678479A_ABST
Patent Text Reader

Abstract

The invention provides a call control method, electronic equipment and a storage medium, and relates to the technical field of electronics. According to the scheme, when the incoming call is answered, the answering volume can be automatically adjusted to the proper volume according to the system call volume, the private call mode is started, the mode can be automatically switched according to the ambient sound volume in the call process, that is, the private call mode is automatically switched in the quiet environment, and the volume is automatically reduced, so that sound leakage can be reduced; in a noisy environment, the normal mode is automatically switched and the volume is automatically increased, so that the call definition can be ensured; in addition, during incoming call and call, switching can be performed among different modes in response to manual triggering operation of the user according to actual needs of the user, so that mode switching can be realized by the automatic adjusting mode and the manual adjusting mode according to actual use needs, and call needs of the user in various scenes are met.
Need to check novelty before this filing date? Find Prior Art

Description

Call control method, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on October 31, 2022, with application number 202211350598.8 and application name “Call Control Method, Electronic Device and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of electronic technology, and in particular to a call control method, electronic equipment, and storage medium. Background Art

[0003] Currently, most mobile phones use a handset located at the top of the phone to transmit voice communications. Typically, a sound hole is located at the earpiece's position to release the energy emitted by the earpiece. This hole is typically located on the front panel of the phone. With the development of large-screen and full-screen phones, the sound holes of some full-screen phones are designed as long slits at the junction of the phone's middle frame and front panel. To ensure a large enough sound output area and good sound quality, some full-screen phones also have additional holes at the top of the middle frame as sound holes.

[0004] However, when a user holds the phone to his ear and listens (for example, in a voice call scenario), the voice output through the earpiece is not only emitted from the sound holes at the side seams, but a large part of the energy is also emitted from the sound holes at the top. Therefore, the sound coming out of the sound holes can not only be heard by the user, but also by other users in a quiet environment, resulting in sound leakage, which can easily leak user privacy.

[0005] Summary of the Invention

[0006] The present application provides a call control method and electronic device, which solve the problem of sound leakage when playing voice through a receiver in a scenario where a user holds a mobile phone close to his ear to listen to the voice.

[0007] To achieve the above objectives, this application adopts the following technical solutions:

[0008] In a first aspect, the present application provides a call control method, which is applied to an electronic device, the electronic device including a receiver, a screen, and a screen sound device, the screen sound device being used to drive the screen to produce screen sound, the call control method comprising:

[0009] When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call;

[0010] The electronic device receives a first operation from a user, and in response to the first operation, answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume;

[0011] During the first incoming call, the electronic device receives a second operation of the user, and in response to the second operation, the receiver and the screen sound device emit a second sound at a second ratio and a second volume, where the second volume is greater than the first volume;

[0012] The electronic device receives a third operation of the user, and ends the first incoming call in response to the third operation;

[0013] When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call;

[0014] The electronic device receives a fourth operation of the user, and in response to the fourth operation, answers 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 less than the second volume;

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

[0016] Through the solution provided in the embodiment of the present application, when answering an incoming call, when the system call volume is relatively low, the system call volume can be maintained and the private call mode can be entered, which can not only reduce sound leakage but also meet the user's usage habits; when the system call volume is high, the volume is automatically reduced and the private call mode is entered, thereby reducing sound leakage. Therefore, the solution of the present application can automatically adjust the answering volume to an appropriate volume based on the system call volume before answering the call, meet the user's call needs, and improve the user's call experience.

[0017] It should be noted that the incoming call scenario is used as an example for explanation here. It can be understood that in actual implementation, the call control method provided in the embodiment of the present application can also be applied to the outgoing call scenario.

[0018] The call control method provided in the embodiment of the present application is briefly described here by way of example.

[0019] First, the electronic device receives an incoming call notification and displays an incoming call notification interface. The incoming call notification interface displays a prompt message "Smart Privacy Call Mode", indicating that the smart privacy call function is turned on by default. Once the incoming call is connected, the "Smart Privacy Call Mode" can be used to output voice.

[0020] Then, in response to the user's answering operation, the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device can emit sound at a first ratio and 6 levels of volume, and is now in private call mode. For example, the first ratio is 3:7. It should be noted that the earpiece and the screen generating device emit sound at the first ratio and 6 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound emitted by the two is 6 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 3, and the sound intensity of the screen generating device accounts for 7.

[0021] Then, the electronic device receives an operation by the user to turn up the volume. Accordingly, the electronic device turns up the volume, for example, turns up the volume to level 10 (or level 9). In this case, the earpiece and screen generating device of the electronic device emit sound at the second ratio and level 10 volume, and the private call mode is exited. Among them, the second ratio is greater than the first ratio. Exemplarily, the second ratio is 7:3. It should be noted that the earpiece and the screen generating device emit sound at the second ratio and level 10 volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound of the two is level 10 volume; in the total volume, the sound intensity of the earpiece accounts for 7, and the sound intensity of the screen generating device accounts for 3.

[0022] The electronic device then receives the user's hang-up call operation, ending the call. The electronic device receives another incoming call notification and displays the incoming call notification interface. Similarly, the incoming call notification interface displays the prompt "Smart Private Call Mode", indicating that the Smart Private Call function is enabled by default. Once the incoming call is connected, the "Smart Private Call Mode" will be used to output voice.

[0023] Then, in response to the user's answering operation, the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device emit sound at a third ratio and 8 levels of volume, and is now in private call mode. The third ratio is smaller than the second ratio. In addition, the third ratio may be the same as or different from the first ratio. For example, the third ratio may be 4:6. It should be noted that the earpiece and the screen generating device emit sound at the third ratio and 8 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the sound of 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.

[0024] In some possible implementations, 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 size of the ambient sound in which the electronic device is located is a first value, the earpiece and the screen sound-emitting device of the electronic device emit a third sound at the third ratio and the third volume; when the size of the ambient sound in which the electronic device is located is a second value, the earpiece and the screen sound-emitting device of the electronic device emit a fourth sound at a fourth ratio and a fourth volume; wherein, the first value is smaller than the second value, the third ratio is different from the fourth ratio, and the third volume is smaller than the fourth volume.

[0025] Through the solution of this application, it is possible to automatically switch modes according to the ambient sound level during a call, that is, automatically switch to private call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; automatically switch to normal mode and automatically increase the volume in a noisy environment, thereby ensuring call clarity. Therefore, the automatic adjustment method provided by this application can realize mode switching according to actual usage needs, meet the user's call needs in various scenarios, and improve the user's call experience.

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

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

[0028] In some possible implementations, the second operation is an operation in which the user presses a physical volume up key; or an operation in which the user drags upward a volume adjustment button in a volume bar icon.

[0029] 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 values ​​within a preset range are divided into N volume levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values, where N is a positive integer.

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

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

[0032] In a second aspect, the present application provides a call control method, which is applied to an electronic device, wherein the electronic device includes a receiver, a screen, and a screen sound device, wherein the screen sound device is used to drive the screen to produce screen sound, and the method includes:

[0033] When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call;

[0034] The electronic device activates a first function in response to a user double-clicking the volume down button, wherein the first function is that the sound intensity of the earpiece is less than the sound intensity of the screen sound device;

[0035] In response to the user answering the call operation, the electronic device answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume;

[0036] During the first incoming call, in response to a user turning up the volume, the receiver and the screen sound device of the electronic device emit a second sound at a second ratio and a second volume, where the second volume is greater than the first volume;

[0037] The electronic device ends the first incoming call in response to the user hanging up the call;

[0038] When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call;

[0039] The electronic device activates the first function in response to a user double-clicking the volume down button;

[0040] In response to the user answering the call operation, the electronic device answers the second incoming call, and the receiver and the screen sound device of the electronic device emit a third sound at a third ratio and a third volume, wherein the third volume is greater than the first volume and less than the second volume;

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

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

[0043] In some possible implementations, the electronic device receives a first incoming call, including: the electronic device displays an incoming call notification interface; when the incoming call is not answered, the electronic device displays a first prompt message in the incoming call notification interface, and the first prompt message is used to prompt the user to trigger the activation of the first function by double-clicking the volume down button.

[0044] In some possible implementations, after the first function is turned on, the method further includes: the electronic device displays a second prompt message in the incoming call notification interface, where the second prompt message is used to prompt that the first function has been turned on.

[0045] In some possible implementations, the method further includes: the electronic device processing the incoming call ring tone as silent in response to the user double-clicking the volume down key.

[0046] In some possible implementations, the method further includes: the electronic device receiving a third incoming call; in response to receiving an operation of a user clicking a volume down button, the electronic device processing the incoming call ring tone to be silent;

[0047] In response to the user clicking the volume down button again, the electronic device displays a volume bar icon in the incoming call notification interface, where the volume bar icon is used to indicate the call volume set by the system of the electronic device.

[0048] 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 a user operation on the volume bar icon, the electronic device adjusts the call volume; when the adjusted volume is a first call volume, turning on the first function; or, when the adjusted volume is a second call volume, turning off the first function; wherein, the first call volume is less than the second call volume.

[0049] In some possible implementations, the method further includes: when the first function is turned off, the electronic device receives a fourth incoming call; in response to the call being answered, the electronic device displays a call interface; a volume bar icon is displayed in the call interface, and an animation guide and a text prompt are presented; wherein the animation guide includes the volume adjustment button in the volume bar icon moving downward, and the text prompt is used to prompt that the first function is triggered by lowering the volume.

[0050] In some possible implementations, the method further includes: the electronic device displays a switch icon of the first function in an incoming call notification interface, an outgoing call interface, or a call interface; in response to receiving a click operation on the switch icon by the user, the electronic device turns on the first function; in response to receiving a click operation on the switch icon by the user again, the electronic device turns off the first function.

[0051] In a third aspect, the present application provides a call control device, comprising a unit for executing the method described in the first or second aspect. The device may be configured to execute the method described in the first or second aspect. For a description of the units in the device, refer to the description of the first or second aspect above and will not be repeated here for the sake of brevity.

[0052] The method described in the first or second aspect above can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions, such as a processing module or unit, a display module or unit, etc.

[0053] In a fourth aspect, the present application provides an electronic device, comprising a processor coupled to a memory, the memory being configured to store computer programs or instructions, and the processor being configured to execute the computer programs or instructions stored in the memory, thereby performing the method of the first aspect or the second aspect. For example, the processor is configured to execute the computer programs or instructions stored in the memory, thereby performing the method of the first aspect or the second aspect.

[0054] In a fifth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program (also referred to as instructions or code) for implementing the method of the first aspect or the second aspect. For example, when the computer program is executed by a computer, the computer can perform the method of the first aspect or the second aspect.

[0055] In a sixth aspect, the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in a memory to perform the method of the first aspect or the second aspect and any possible implementation thereof. Optionally, the chip further comprises a memory, the memory being connected to the processor via a circuit or wire.

[0056] In a seventh aspect, the present application provides a chip system comprising a processor. The processor is configured to read and execute a computer program stored in a memory to perform the method of the first aspect or the second aspect and any possible implementation thereof. Optionally, the chip system further comprises a memory, the memory being connected to the processor via a circuit or wire.

[0057] In an eighth aspect, the present application provides a computer program product, comprising a computer program (also referred to as instructions or codes), which, when executed by a computer, enables the computer to implement the method in the first aspect or the second aspect.

[0058] It can be understood that the beneficial effects of the second to eighth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] FIG1 is a schematic structural diagram of an electronic device provided with an earpiece and a sound outlet;

[0060] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, in which an earpiece and a screen vibration device are provided;

[0061] FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0062] FIG4 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0063] FIG5 is a first diagram of an interface of an electronic device using a call control method according to an embodiment of the present application;

[0064] FIG6 is a second schematic diagram of an interface of an electronic device using a call control method provided by an embodiment of the present application;

[0065] FIG7 is a third schematic diagram of an interface of an electronic device using a call control method provided by an embodiment of the present application;

[0066] FIG8 is a fourth schematic diagram of an interface of an electronic device using a call control method according to an embodiment of the present application;

[0067] FIG9 is a schematic diagram of volume level division in a call control method provided in an embodiment of the present application;

[0068] FIG10 is a schematic diagram of a volume bar in a call control method provided in an embodiment of the present application;

[0069] FIG11 is a first schematic diagram of an interface of a call control method application provided in an embodiment of the present application;

[0070] FIG12 is a second schematic diagram of an interface of an application of a call control method provided in an embodiment of the present application;

[0071] FIG13 is a timing diagram of a call control method provided in an embodiment of the present application;

[0072] FIG14 is a third schematic diagram of an interface of an application of a call control method provided in an embodiment of the present application;

[0073] FIG15 is a fourth schematic diagram of an interface of an application of a call control method provided in an embodiment of the present application;

[0074] FIG16 is another timing diagram of a call control method provided by an embodiment of the present application;

[0075] FIG17 is a fifth diagram of an interface of an application of a call control method provided in an embodiment of the present application;

[0076] FIG18 is a sixth schematic diagram of an interface of a call control method application provided in an embodiment of the present application;

[0077] FIG19 is a seventh schematic diagram of an interface of a call control method application provided in an embodiment of the present application;

[0078] FIG20 is a schematic diagram of an interface of a call control method application according to an embodiment of the present application;

[0079] FIG21 is a ninth diagram of an interface of an application of a call control method according to an embodiment of the present application;

[0080] FIG22 is another timing diagram of a call control method provided in an embodiment of the present application;

[0081] FIG23 is a schematic diagram of an interface of a call control method application provided in an embodiment of the present application;

[0082] FIG24 is a schematic diagram 11 of an interface of a call control method application provided in an embodiment of the present application;

[0083] FIG25 is a schematic diagram 12 of an interface of a call control method application provided in an embodiment of the present application;

[0084] FIG26 is a diagram 13 of an interface of an application of a call control method provided in an embodiment of the present application;

[0085] FIG27 is a schematic diagram 14 of an interface of a call control method application provided in an embodiment of the present application;

[0086] FIG28 is a schematic diagram of the fifteenth interface of a call control method application provided in an embodiment of the present application;

[0087] FIG29 is a sixteenth diagram of an interface of an application of a call control method provided in an embodiment of the present application;

[0088] FIG30 is a schematic diagram of the seventeenth interface of a call control method application provided in an embodiment of the present application;

[0089] Figure 31 is a prompt flow chart of a call control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0090] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0091] Currently, most mobile phones use a handset located on the top of the phone to transmit voice communications. Typically, a sound hole is located at the earpiece's location to release the energy produced by the earpiece. This hole is typically located on the front panel of the phone. However, with the continuous development of mobile phones, the screen-to-body ratio of mobile phone screens is increasing to provide users with a better viewing experience. The sound hole on the front panel occupies part of the phone's front panel area, increasing the width of the phone's frame and thus hindering the phone's ability to further increase its screen-to-body ratio.

[0092] Therefore, with the development of large-screen and full-screen mobile phones, in order to reduce the area occupied by the sound hole of the earpiece (also called the receiver) used for voice communication on the front panel of the mobile phone, so as to further increase the screen-to-body ratio, the earpiece sound hole of some full-screen mobile phones is designed as a long slit, located at the connection between the middle frame and the front panel of the mobile phone. At the same time, in order to ensure that the external sound output area is large enough and has a good sound output effect, an opening on the top of the middle frame is added to some full-screen mobile phones as a sound hole.

[0093] For example, Figure 1 shows a schematic diagram of the structure of a mobile phone. As shown in Figure 1, the mobile phone may include a front panel for setting the screen (usually including the screen and the frame), a rear panel for supporting the internal circuit, and a middle frame. The front panel, the rear panel, and the middle frame can enclose a shell structure. As shown in Figure 1 (a), within the shell structure, a receiver 101 (i.e., a speaker for making calls during voice communication, also known as a receiver) is provided at the top position (i.e., the top position of the mobile phone). Corresponding to the receiver 101, the mobile phone is provided with two sound holes (e.g., sound hole 102 and sound hole 103), and the sound of the receiver 101 can be emitted from the sound holes. Combined with Figure 1 (b), 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 middle frame of the mobile phone (i.e., the side seam). The sound hole 103 is located on the middle frame of the mobile phone at a position closer to the receiver 101 (i.e., the top position of the middle frame of the mobile phone).

[0094] However, when the user uses the mobile phone for voice communication normally, the sound hole set in this way cannot be completely covered by the user's auricle. Therefore, when the sound energy of the speaker comes out from the sound hole opened at the top of the mobile phone middle frame, there will be sound leakage. (c) in Figure 1 shows a schematic diagram of a scenario in which a user conducts voice communication through a mobile phone. As shown in (c) in Figure 1, when the user holds the mobile phone and conducts voice communication through the receiver, the mobile phone receiver is close to the user's ear (or auricle). Since the sound holes of the mobile phone receiver (the sound holes 102 located at the side seam of the mobile phone and the sound holes 103 at the top of the middle frame) cannot be completely covered by the user's ears, the sound coming out of the sound holes can not only be heard by the user, but also by other users in a quiet environment.

[0095] To solve the above problems, an embodiment of the present application provides a call control method, which can be applied to an electronic device with a voice communication function. For example, the call control method can be applied to a scenario where a user listens to audio through the above electronic device, such as when the user makes a voice call through an earpiece, or listens to voice messages in an instant messaging application through an earpiece. The above electronic device may include a display screen (also called a screen), a screen sound device (i.e., a device that can produce sound by vibrating the screen), an earpiece (i.e., the above-mentioned speaker for producing call sound in voice communication, also called a receiver), and a sound outlet corresponding to the earpiece.

[0096] For example, Figure 2 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application. As shown in (a) of Figure 2 and (b) of Figure 2, in addition to the earpiece 101, sound outlet 102 and sound outlet 103 shown in Figure 1, the electronic device is also provided with 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, thereby achieving sound through the screen. Among them, the screen sound-emitting device 104 is arranged in the shell structure of the electronic device.

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

[0098] In some embodiments, after the private call mode is enabled on an electronic device, the electronic device may output voice using a combination of screen sound and earpiece sound. For example, the voice output intensity corresponding to the screen sound mode (e.g., 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound mode (e.g., 30%). In other words, the phone may simultaneously play voice using the screen sound as the primary source and the earpiece sound as the secondary source.

[0099] In other embodiments, after the electronic device turns on the private call mode, the electronic device can also output the voice only through the screen sound. It is understood that the earpiece does not make any sound at this time.

[0100] It should be noted that, in actual implementation, in the privacy call mode, whether the voice is output through the screen sound method, or the voice is output through the screen sound method as the main method and the earpiece sound method as the auxiliary method, can be determined according to actual usage requirements, and the embodiments of this application do not limit it.

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

[0102] In other embodiments, after the electronic device turns on the normal mode, the electronic device can also output the voice only through the earpiece. It is understandable that the screen does not make any sound at this time.

[0103] It should be noted that, in actual implementation, in normal mode, whether the voice is output through the earpiece or through the earpiece as the main sound and the screen as the auxiliary sound can be determined according to actual usage requirements, and the embodiments of this application do not limit it.

[0104] In some embodiments, when switching from private call mode to normal mode, the overall sound volume (also known as loudness or intensity) can be increased based on the volume corresponding to private call mode to improve the voice playback effect. In other words, the overall sound loudness of the sound through the earpiece and the screen in normal mode is greater than the overall sound loudness of the sound through the earpiece and the screen in private call mode.

[0105] Compared with the earpiece sound mode, the screen sound mode can effectively prevent sound leakage during voice calls. Therefore, when users are in a quiet environment to make or receive calls, they usually want to reduce sound leakage. At this time, the private call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting the user's privacy.

[0106] In some embodiments, after the electronic device turns on the speaker mode, the electronic device outputs the voice through the speaker (also called a loudspeaker). It is understandable that at this time, the earpiece and the screen do not make any sound.

[0107] It should be noted that, in response to user operations on the electronic device, the electronic 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.

[0108] In some embodiments, the electronic device can pre-set the private call mode to be enabled by default. In this way, when the electronic device makes a call or answers an incoming call, the private call mode is automatically enabled to prevent the call from being leaked without user intervention, thereby improving the user experience.

[0109] In some embodiments, when making a call or answering an incoming call, the output volume after answering the call can be automatically adjusted to an appropriate volume level based on the system call volume (specifically, the volume level) to ensure call privacy and call clarity.

[0110] In some embodiments, during a call, if the current volume level is adjustable, the mode can be automatically switched based on the ambient sound level. For example, in a quiet environment, the call mode automatically switches to private mode and automatically reduces the volume, thereby reducing sound leakage; in a noisy environment, the call mode automatically switches to normal mode and automatically increases the volume, thereby ensuring call clarity. This approach is called automatic adjustment mode.

[0111] In some embodiments, when the private call mode is not turned on, the user can be prompted on the incoming call notification interface on how to turn on the private call mode. For example, when receiving an incoming call notification, the private call mode can be turned on or entered by double-clicking the volume down button. Alternatively, when receiving an incoming call notification, if the user clicks the volume down button, the ringtone of the incoming call notification will be muted; at this time, if the user clicks the volume down button again, the electronic device can display a volume bar on the incoming call notification interface, so that the user can adjust the answering volume in advance when receiving the incoming call notification. This method is different from the current method of only being able to adjust the answering volume after the call is connected. This method can be called manual adjustment mode.

[0112] In some embodiments, during a call, the electronic device can exit or enter private call mode based on the user's operation of adjusting the volume bar. For example, the electronic device can exit private call mode in response to the user turning up the volume bar; the electronic device can switch back to (or enter) private call mode in response to the user turning down the volume bar. It is understood that this method also belongs to manual adjustment mode.

[0113] For example, when receiving an operation from the user to lower or increase the volume, if it is determined that the adjusted volume level is less than or equal to the preset volume level (for example, volume level 8), the private call mode is enabled. For example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the screen sound is greater than or equal to the intensity of the earpiece sound) to avoid sound leakage, protect the user's call privacy, and improve the user's call experience. If it is determined that the adjusted volume level is greater than the preset volume level, the normal mode is enabled. For example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the earpiece sound is greater than the intensity of the screen sound) to ensure good sound effects and improve the user's call experience.

[0114] The call control method provided in the embodiment of the present application can automatically adjust the answering volume to an appropriate volume according to the system call volume and enable the privacy call mode when answering an incoming call. During the call, the mode can be automatically switched according to the ambient sound level, that is, it can automatically switch to the privacy call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; it can automatically switch to the normal mode and automatically increase the volume in a noisy environment, thereby ensuring call clarity; and during the call, it can also switch between the privacy call mode and the normal mode in response to the user's manual triggering operation according to the user's actual needs. Therefore, the present application can meet the user's call needs in various scenarios.

[0115] Hereinafter, an electronic device to which the call control method provided in the embodiment of the present application is applied will be described with reference to the accompanying drawings.

[0116] For example, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), or other devices with voice communication functions. The embodiments of the present application do not impose any special restrictions on the specific form of the electronic device.

[0117] For example, taking the electronic device as a mobile phone as an example, Figure 3 shows a schematic structural diagram of another electronic device provided by an embodiment of the present application. That is, for example, the electronic device shown in Figure 3 can be a mobile phone.

[0118] As shown in Figure 3, the mobile phone may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver (i.e., an earpiece) 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, a subscriber identification module (SIM) card interface 395, a screen sound device 396, etc.

[0119] Among them, the above-mentioned sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor and a bone conduction sensor. In an embodiment of the present application, the electronic device can detect whether the user's ear is close to the receiver through a proximity light sensor (i.e., a light sensor), a distance sensor and other sensors. For example, the electronic device can use a distance sensor to detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone, as well as the distance between the obstruction and the screen, to determine whether the current user's ear is close to the receiver.

[0120] It should be 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 shown, or some components may be combined or separated, or arranged differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.

[0121] The processor 310 may include one or more processing units. For example, the processor 310 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0122] The controller is the nerve center and command center of the mobile phone. It can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.

[0123] Processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 310 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 310. If processor 310 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 310 latency, and thus improves system efficiency.

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

[0125] It is understood that the interface connection relationship between the modules illustrated in this embodiment is only for illustrative purposes and does not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0126] In an embodiment of the present 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 sound and the frequency band of the screen sound according to the category, so as to control the earpiece and the screen sound to play the sounds in the corresponding frequency bands in the sound signal respectively, thereby avoiding sound leakage in the electronic device when the human ear listens in a quiet environment.

[0127] The charging management module 340 is configured to receive charging input from a charger (e.g., a wireless charger or a wired charger) to charge the battery 342. The power management module 341 is configured to connect the battery 342, the charging management module 340, and the processor 310. The power management module 341 receives input from the battery 342 and / or the charging management module 340 to power various components of the electronic device.

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

[0129] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in a mobile phone can be used to cover a single or multiple 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 other embodiments, the antennas can be used in conjunction with a tuning switch.

[0130] 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, allowing the mobile phone to communicate with the network and other devices via wireless communication technology. The mobile communication module 350 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G used in mobile phones. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves from antenna 1, filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.

[0131] 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 set in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 can be set in the same device as at least some modules of the processor 310.

[0132] The wireless communication module 360 ​​can provide wireless communication solutions for mobile phones, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.

[0133] Wireless communication module 360 ​​can be one or more devices that integrate at least one communication processing module. Wireless communication module 360 ​​receives electromagnetic waves via antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to processor 310. Wireless communication module 360 ​​can also receive signals to be transmitted from processor 310, frequency-modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0134] Of course, the wireless communication module 360 ​​can also support voice communication with the mobile phone. For example, the 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 to provide voice communication services to the user. For example, the application that provides voice communication services can be an instant messaging application.

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

[0136] The mobile phone can implement a camera function through an ISP, a camera 393, a video codec, a GPU, a display 394, and an application processor. The ISP is used to process data fed back by the camera 393. In some embodiments, the ISP can be installed in the camera 393. The camera 393 is used to capture still images or videos. In some embodiments, the mobile phone can include one or N cameras 393, where N is a positive integer greater than 1.

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

[0138] The mobile phone can implement audio functions such as music playback and recording through the audio module 370, speaker 370A, receiver (ie, handset) 370B, microphone 370C, headphone jack 370D, and application processor.

[0139] The audio module 370 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 370 can also be used to encode and decode audio signals. In some embodiments, the audio module 370 can be provided in the processor 310, or some functional modules of the audio module 370 can be provided in the processor 310. The speaker 370A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 370B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 370C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 370D is used to connect wired headphones. The headphone jack 370D can be a USB port 330, or it can be a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

[0140] Specifically in the embodiment of the present application, the receiver 370B (ie, "earpiece") may include the earpiece 101 and / or the screen sound device 104 shown in (a) of FIG. 2 .

[0141] For example, in this embodiment of the present 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 receiver 370B (i.e., the "earpiece") of the audio module 370 plays the sound signal, and the screen sound device 396 drives the screen (i.e., the display screen) to produce screen sound to play the sound signal.

[0142] For example, in the embodiment of the present application, the electronic device can detect the sound intensity of the ambient sound in the current environment through the microphone 370C, so that the processor 310 can determine the category of the current listening environment based on the sound intensity of the detected ambient sound.

[0143] Buttons 390 include a power button and volume buttons. Motor 391 can generate vibration prompts. Indicator 392 can be an indicator light that can be used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 395 is used to connect a SIM card. The phone can support one or N SIM card interfaces, where N is a positive integer greater than 1.

[0144] The above is a specific description of the embodiments of the present application using the electronic device 100 as an example. It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. The electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0145] The electronic device provided in the embodiments of the present application can be user equipment (UE), for example, it can be a mobile terminal (such as a user's mobile phone), a tablet computer, a desktop computer, a laptop computer, a handheld computer, a netbook, a personal digital assistant (PDA), etc.

[0146] Furthermore, an operating system runs on the aforementioned hardware. The operating system at the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. Applications can be installed and run on the operating system.

[0147] The operating system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0148] FIG4 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.

[0149] A layered architecture divides software into several layers, each with distinct roles and responsibilities. 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.

[0150] The application layer may include a series of application packages. For example, the application layer may include a camera app, a gallery app, a calendar app, a map app, a navigation app, a WLAN, a Bluetooth app, a music app, a video app, a short message app, a sports and health app, and other applications (applications may be referred to as applications for short), and this embodiment of the application does not impose any restrictions on this.

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

[0152] In the embodiment of the present application, the application layer may further include a context awareness module, a business logic processing module, and a business presentation module. The context awareness module, business logic processing module, and business presentation module may be independent apps, or may be integrated into different apps, or may be integrated into the same app, and this application does not limit this.

[0153] Among them, the context awareness module runs permanently or in a low-power form and has the ability to perceive external facts or environments. The context awareness module can detect relevant events and obtain the status of events from other applications in the application layer or the application framework layer or the system layer or the kernel layer through the application programming interface (API), such as detecting Bluetooth connections, network connections, monitoring user text messages, custom timers, etc. In the embodiment of the present application, the main function of the context awareness module is to monitor whether there is an incoming call event. The context awareness module can also be used to obtain the volume level when the call was last hung up. In addition, the context awareness module can also detect whether there is an operation to answer an incoming call. The context awareness module can also obtain the value of the ambient sound. The context awareness module is also used to monitor the volume down key (volume-key) click (such as single or double click) event triggered by the user. The context awareness module can notify the business logic processing module of the monitored information.

[0154] The business logic processing module (such as a computing engine) has business logic processing capabilities, and is used to perform data processing or logical judgment based on the information monitored by the context awareness module and the preset logical algorithm to achieve call volume adjustment and mode switching. For example, the business logic processing module receives an incoming call event and the system call volume, and determines whether the volume adjustment and mode switching conditions are met, thereby determining whether to adjust the volume and switch modes. The business logic processing module can also determine that the incoming call has been connected based on the operation of answering the call, and further determine whether the volume adjustment and mode switching conditions are met based on the value of the ambient sound, thereby determining whether to adjust the volume and switch modes. The specific judgment process will be described in detail below.

[0155] The business presentation module (such as: YOYO suggestion) is used to display the volume bar and the changes in the volume bar on the screen of the mobile phone according to the instructions of the business logic processing module, and display the switched mode after the mode is switched, for example, when the privacy call mode is turned on, it displays the smart privacy call mode or the privacy call mode is turned on. For example, the business presentation module receives the command to display the volume bar sent by the business logic processing module, and notifies the window manager to display the volume bar on the electronic device. At the same time, the business presentation module can also present the volume size and changes in the volume bar; wherein the volume size is measured in volume levels, which will be described in detail below. In addition, the business presentation module can also display the volume bar and volume changes in the call interface based on the event of the user triggering the click of the volume down button.

[0156] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 4, the application framework layer may include a call manager, a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, etc., but this embodiment of the application does not impose any restrictions on this.

[0157] The call manager is used to manage the phone call status, obtain phone information (such as device information, user identification card information and network information), listen to the phone status (such as call status service status, signal strength status, etc.) and call the phone dialer to make calls.

[0158] The view system includes visual controls, such as controls for displaying text and images. The view system can be used to build applications. A display interface can be composed of one or more views. For example, in an embodiment of the present application, the view system can be used to display an incoming call notification interface and a call interface on the desktop.

[0159] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager can be used to notify users that Smart Private Calling has been enabled during a call. For example, this can be done by displaying a text message or a Private Call icon in the incoming call notification screen, call screen, or drop-down menu bar.

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

[0161] The activity manager is used to manage the life cycle of each application and the navigation fallback function. It is responsible for creating the Android main thread and maintaining the life cycle of each application.

[0162] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0163] Android Runtime includes core libraries and a virtual machine. Android Runtime is responsible for scheduling and management of the Android system.

[0164] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0165] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

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

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

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

[0169] The call control method provided in the embodiments of the present application may be executed by the aforementioned electronic device, or by a functional module and / or functional entity in the electronic device capable of implementing the call control method. Furthermore, the present application solution may be implemented in hardware and / or software, the specific implementation of which may be determined based on actual usage requirements and is not limited in the embodiments of the present application. The call control method provided in the embodiments of the present application is exemplarily described below using an electronic device as an example with reference to the accompanying drawings.

[0170] The following embodiments of the present application will be illustrated by the following exemplary embodiments in conjunction with the accompanying drawings. The methods in the following embodiments can all be implemented in an electronic device having the above-mentioned hardware structure and software architecture. The hardware structure diagram of the electronic device can be shown in Figure 3, and the software structure block diagram of the electronic device can be shown in Figure 4, but the embodiments of the present application are not limited thereto. For ease of explanation, the embodiments of the present application are all based on the example of a mobile phone as shown in Figure 3 as an electronic device.

[0171] An embodiment of the present application provides a call control method, which automatically adjusts the answering volume to an appropriate volume level and enables a private call mode according to the call volume set by the system (referred to as the system call volume, which can be specifically the volume level) when answering an incoming call, and during the call, it can automatically switch modes according to the ambient sound level, that is, it automatically switches to the private call mode and automatically reduces the volume in a quiet environment, thereby reducing sound leakage; it automatically switches to the normal mode and automatically increases the volume in a noisy environment, thereby ensuring call clarity; and during the call, it can also switch between the private call mode and the normal mode in response to the user's manual triggering operation according to the user's actual needs. Therefore, the solution of the present application can meet the user's call needs in various scenarios.

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

[0173] In the embodiments of the present application, the smart private call function is enabled by default on the electronic device. After the smart private call function is enabled, the private call mode can be directly activated during a voice call, or when the volume of the electronic device is lower than or equal to a preset volume level (for example, level 8) during a voice call. The specific activation mode can be determined based on actual usage needs and is not limited in the embodiments of the present application.

[0174] As mentioned above, the private call mode can combine the screen sound mode and the earpiece sound mode 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 private call mode can output voice only through the screen sound mode. Compared with the earpiece sound mode, the screen sound mode can effectively prevent sound leakage during voice calls. Therefore, when the user is in a quiet environment to make a call, the user usually hopes to reduce sound leakage. At this time, the private call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting the user's privacy.

[0175] In some embodiments, when an electronic device receives a call, the private call mode corresponding to the smart private call feature may be enabled by default, and a prompt indicating that the smart private call feature has been enabled may be displayed in the incoming call notification interface. Optionally, the prompt may be text, an icon, or a combination of text and icon.

[0176] In some embodiments, after the smart privacy call function is turned on, an introduction to the smart privacy call function (for example, ensuring call clarity while reducing sound leakage and protecting privacy) can be displayed in a bubble box on the voice call interface each time the handset is used to make or receive a call; operation methods such as "Smart privacy call is turned on" and / or "Move closer to this area to hear more clearly" can also be displayed in a specific area (i.e., the sound area of ​​the screen). These prompt messages introduce the smart privacy call function and guide users to use the smart privacy call function.

[0177] For example, taking the incoming call scenario as an example, FIG5 shows a schematic diagram of the incoming call notification interface. As shown in FIG5(a), the following prompt information is displayed in the incoming call notification interface 40: "Smart privacy call is turned on" 41, "While ensuring clear calls, reduce sound leakage and protect privacy" 42 (located in the bubble box). As shown in FIG5(b), the following prompt information is displayed in the incoming call notification interface 40: "Get closer to this area to hear more clearly" 43 and "While ensuring clear calls, reduce sound leakage and protect privacy" 42. These prompt information are all used to indicate that the private call mode has been enabled. Among them, "Smart privacy call is turned on" 41 and "Get closer to this area to hear more clearly" 43 can be displayed alternately (i.e., in a carousel) in the incoming call notification interface 40. This allows users to learn about the smart privacy call function more quickly and learn to use it, thereby improving the human-computer interaction experience.

[0178] It should be noted that the prompt information here is for illustrative purposes only. The specific content, display position, display quantity, display size, display style, etc. of the prompt information can be determined according to actual usage requirements and are not limited in the embodiments of this application.

[0179] Optionally, the above prompt information can be displayed in the voice call interface for the first N call scenarios (for example, N is 3) after the smart privacy call function is enabled to guide the user to use the smart privacy call function, and can be removed from the display in subsequent call scenarios. For example, the introduction to the smart privacy call function, such as "Ensure clear calls while reducing sound leakage and protecting privacy"42, can be removed from the voice call interface.

[0180] In some embodiments, when the user clicks anywhere in the voice call interface (including the answer button), the introduction information about the smart privacy call function is cancelled in the voice call interface, for example, the bubble box corresponding to "while ensuring clear calls, reducing sound leakage and protecting privacy" 42 disappears.

[0181] In some embodiments, the "Smart Private Calling is On" prompt can be a permanent reminder in the voice call interface. That is, when the user clicks anywhere in the voice call interface (including the answer button), the "Smart Private Calling is On" prompt message can remain displayed.

[0182] Exemplarily, taking the call scenario after answering the call as an example, Figure 6 shows a schematic diagram of the incoming call notification interface and the voice call interface after answering the call. As shown in (a) in Figure 6, the user clicks the answer button 44 in the incoming call notification interface 40 to answer the call. As shown in (b) in Figure 6, in response to the user's operation of the answer button 44, the incoming call notification interface 40 switches to a voice call interface 45. The following prompt information is displayed in the voice call interface 45: "Smart privacy call is turned on" 41 and an icon 46 indicating a private call. In (b) in Figure 6, the bubble box corresponding to "Ensure clear calls while reducing sound leakage and protecting privacy" shown in (a) in Figure 6 disappears.

[0183] In some embodiments, when the smart private call feature is turned on, 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 private call feature is turned on are displayed in the menu bar.

[0184] For example, FIG7 illustrates a menu bar displaying a notification card related to the Smart Private Call feature. As shown in FIG7(a), a user slides their finger downward in the direction of the arrow on voice call interface 46 to pull down the menu bar. As shown in FIG7(b), a menu bar (also known as a notification interface or notification center) appears, displaying notification cards 47 and 48. Notification card 47 indicates that a voice call is in progress, while notification card 48 indicates that the Smart Private Call feature is enabled.

[0185] Through these notification cards, users can better understand the application scenarios and effects of the smart privacy call function, thereby improving the user experience.

[0186] In some embodiments, the call control method provided in the embodiments of the present application is also applicable to voice over Internet protocol (VoIP) calls. For example, FIG8 illustrates an interface diagram of a VoIP call scenario. As shown in FIG8 , a "Smart Private Call Enabled" button 51 and an icon 52 indicating a private call are displayed in the VoIP call interface 50, indicating that the private call mode is used for voice output in the current call scenario.

[0187] The above describes possible ways to enable the private call mode and the display effect of the voice call interface after it is enabled. The following describes in detail possible implementation methods of the private call mode in actual use in conjunction with the interface.

[0188] It should be noted that the above embodiments are illustrative using the incoming call scenario and the call scenario after answering the incoming call as examples. It can be understood that in actual implementation, the call control method provided in the embodiments of the present application is also applicable to the outgoing call scenario and the call scenario after answering the outgoing call. For specific descriptions related to the smart privacy call function, please refer to the detailed description of the smart privacy call function in the above-mentioned incoming call scenario and the call scenario after answering the incoming call, which will not be repeated here.

[0189] It should also be noted that the call control method provided in the embodiment of the present application is also applicable to the scenario of playing voice messages. For example, some social applications support receiving or sending voice messages. These voice messages can also apply the smart privacy call function provided in the embodiment of the present application when playing to avoid sound leakage when playing voice messages.

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

[0191] It should also be noted that since there is no need to listen closely to the audio during a video call, the smart privacy call function does not need to be enabled during a video call.

[0192] It can be understood that the call control method provided in the embodiment of the present application can be applicable to various scenarios where users need to listen to music close to their ears through electronic devices, and the embodiment of the present application is not limited to this.

[0193] The following first describes, with reference to the accompanying drawings, the volume level division method involved in the privacy call mode in the embodiment of the present application, the volume bar form corresponding to each level, and the mode correspondence.

[0194] In some embodiments, the electronic device can divide different volume levels into 10 levels, including level 1 to level 10, where the volume values ​​corresponding to levels 1 to 10 increase step by step. The volume value can be expressed in decibels (dB). The number of volume levels, and the volume value or volume range corresponding to each level, can be determined based on actual usage requirements and are not limited in the embodiments of this application.

[0195] In an embodiment of the present application, the present application can set the mode corresponding to the volume level according to actual conditions. Figure 9 shows a schematic diagram of the division of volume levels and the mapping relationship between each volume level and volume value. For example, as shown in Figure 9, the volume level can be divided into levels 1 to 10. Optionally, the volume level range [level 1, level 8] corresponds to the private call mode, and the volume level range [level 9, level 10] corresponds to the normal mode. That is, if the volume level is within the volume level range of [level 1, level 8], the private call mode is used to output voice during a call; if the volume level is within the volume range of [level 9, level 10], the normal mode is used to output voice during a call. For example, the volume values ​​corresponding to levels 1 to 10 are: 16dB, 13dB, 10dB, 7dB, 4dB, 2dB, 0dB, -2dB, -5.8dB, -8.8dB. 0dB can be understood as the base volume, 16dB, 13dB, 10dB, 7dB, 4dB, and 2dB can be understood as decreases based on 0dB, and -2dB, -5.8dB, and -8.8dB can be understood as increases based on 0dB. Of course, each volume level can also correspond to other volume values.

[0196] It should be noted that the mapping relationship between each volume level and volume value here is for exemplary purposes 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 the embodiments of this application are not limited thereto.

[0197] In the embodiment of the present application, regardless of whether the electronic device is in private call mode or normal mode, the earpiece and screen sound device can be used to emit sound simultaneously.

[0198] In the embodiment of the present application, the screen sound-emitting device is responsible for outputting high-frequency sounds, and the earpiece is responsible for outputting medium and low-frequency sounds.

[0199] In some embodiments, in different modes, the earpiece and the screen sound device can respectively use different sound intensity ratios to produce sound.

[0200] For example, after the electronic device turns on the private call mode, the electronic device can play voice simultaneously using the screen sound as the main sound and the earpiece sound as the auxiliary sound; wherein the voice output intensity corresponding to the screen sound mode (for example, 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound mode (for example, 30%).

[0201] As another example, when the electronic device is in normal mode, the electronic device can play voice simultaneously using the earpiece sound as the main sound and the screen sound as the auxiliary sound; wherein the voice output intensity corresponding to the earpiece sound mode (for example, 70%) is greater than the voice output intensity corresponding to the screen sound mode (for example, 30%).

[0202] In some embodiments, for different volume levels in the same mode, the earpiece and screen sound device can use different sound intensity ratios. For example, within the range of [level 1, level 8], the sound intensity ratios of the earpiece and screen sound device can be set to different levels.

[0203] It can be understood that in actual implementation, for different volume levels in the same mode, the sound intensity ratio of the earpiece and the screen sound device can also be set to the same. It can be determined specifically according to actual use requirements, and the embodiments of the present application are not limited thereto. For the sake of convenience, for different volume levels in the same mode, the following is an exemplary description with the same sound intensity ratio. For example, when the system volume level is in the range of [level 1, level 8], the sound intensity ratio of the earpiece and the screen sound device is a first ratio (for example, 3:7). When the system volume level is in the range of [level 9, level 10], the sound intensity ratio of the earpiece and the screen sound device is a second ratio (for example, 7:3). Among them, the second ratio is greater than the first ratio.

[0204] It should also be noted that the above description uses the example of the volume level changing from level 8 to level 9 and the volume level changing from level 9 to level 8 as an example. In actual implementation, the mode switching is not limited to between levels 8 and 9, and can also be set according to actual needs. For example, in actual implementation, it can also be pre-set that when the volume level is in the volume level range of [level 1, level 6], the private call mode is enabled; when the volume level is in the volume range of [level 7, level 10], the normal mode is enabled. In this case, a change in the volume level from level 6 to level 7 can trigger a switch from the private call mode to the normal mode; or a change in the volume level from level 7 to level 6 can trigger a switch from the normal mode to the private call mode.

[0205] It should also be noted that the embodiment of the present application is illustrated by taking the example of triggering the switch between normal mode and private call mode according to the change of volume level as an example. For example, when the volume level is greater than the volume level threshold, it switches to normal mode; when the volume level is less than or equal to the volume level threshold, it switches to private call mode. It can be understood that in actual implementation, the switch between normal mode and private call mode can also be triggered according to the change of volume value. For example, when the volume value (such as decibel value) is greater than the volume threshold (such as decibel threshold), it switches to normal mode; when the volume value is less than or equal to the volume threshold, it switches to private call mode. Which of the above methods to adopt can be determined according to actual usage requirements and is not limited in the embodiment of the present application.

[0206] In the embodiment of the present application, the volume value can be represented by a volume bar. Based on the above example of volume level division, the following describes the possible forms of the volume bar corresponding to each volume level in the embodiment of the present application.

[0207] For example, different volume levels are distinguished by different fill lengths in the volume bar. For example, the more fill in the volume bar, the higher the volume level, and in this case, the louder the voice output volume. When the volume bar is completely filled, corresponding to level 10, it means that the volume has reached the maximum value. When the volume bar is not filled, it means that the volume is muted.

[0208] Optionally, the embodiment of the present application does not limit the display form, display color, display length, etc. of the volume bar in normal mode and private call mode.

[0209] In the embodiments of the present application, different icons can be used to represent private call mode and normal mode, respectively, to distinguish them. Specifically, the display position, display size, and display format of the icon used to identify the call mode can be determined according to actual usage requirements and are not limited in the embodiments of the present application. Optionally, the icon used to identify the call mode can be displayed below or above the volume bar.

[0210] For example, Figure 10 is a schematic diagram of the volume bar corresponding to each volume level shown in Figure 9. As shown in Figure 10 (a), a schematic diagram of the volume bar from level 1 to level 8 is shown, and levels 1 to 8 correspond to private call mode. As shown in Figure 10 (b), a schematic diagram of the volume bar from level 9 to level 10 is shown, and levels 9 to 10 correspond to normal mode.

[0211] In some embodiments, when switching between private call mode and normal mode, the fill amount of the volume bar changes and the call mode icon also changes accordingly to prompt the user that the call mode has been switched, thereby improving the user experience.

[0212] In some embodiments, when switching between the private call mode and the normal mode, the electronic device may prompt the user by displaying specific prompt information.

[0213] In some embodiments, when switching between the private call mode and the normal mode, the electronic device can vibrate to prompt the user, thereby improving the user experience.

[0214] The call control method provided in the embodiment of the present application can automatically adjust the answering volume to an appropriate volume level according to the system call volume level and enable the privacy call mode when answering an incoming call. During the call, the mode can be automatically switched according to the ambient sound level, that is, it can automatically switch to the privacy call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; it can automatically switch to the normal mode and automatically increase the volume in a noisy environment, thereby ensuring call clarity; and during the call, it can also switch between the privacy call mode and the normal mode in response to the user's manual triggering operation according to the user's actual needs. Therefore, the automatic adjustment method and manual adjustment method provided in the present application can realize mode switching according to actual usage needs, and meet the user's call needs in various scenarios.

[0215] For switching between privacy call mode and normal mode, the embodiments of the present application provide automatic adjustment and manual adjustment methods. Based on the basic contents such as the above-mentioned volume level division, volume bar and mode correspondence, the call control method provided by the embodiments of the present application is introduced in combination with specific embodiments.

[0216] First embodiment: automatic adjustment mode

[0217] In an embodiment of the present application, in an incoming call scenario, the electronic device obtains the call volume set by the system (referred to as the system call volume), and then determines whether to automatically adjust the volume and whether it is necessary to adjust the mode between the private call mode and the normal mode according to the size of the system call volume. Among them, the system call volume can be the call volume when the call was last hung up, or the volume after the user adjusts the "call volume" in the "sound and vibration" setting interface. The system call volume can be specifically measured by a volume level. For example, the system call volume can be a level from level 1 to level 10.

[0218] For example, in the embodiment of the present application, the following call control rules may be preset:

[0219] When the system call volume is between levels 1 and 8, the call volume will remain at the system volume after the call is connected, and the call will enter private call mode. Referring to Figures 11(a) and 11(b), when the system call volume is at level 4, the call volume will remain at level 4 after the call is connected, and the call will enter private call mode. When the system call volume is at level 7, the call volume will remain at level 7 after the call is connected, and the call will enter private call mode.

[0220] When the system call volume is set to level 9 or 10, the call volume is automatically lowered to a preset level (e.g., level 8) after the call is connected, entering private call mode. As shown in Figure 11 (c), when the system call volume is set to level 9 or 10, the call volume is automatically lowered to level 8 after the call is connected, entering private call mode.

[0221] In an embodiment of the present application, in a call scenario after an incoming call is connected, the electronic device monitors the ambient sound (also called ambient noise or ambient sound or ambient noise, etc.), and then the electronic device determines whether to automatically adjust the volume according to the size of the ambient sound, and switches accordingly between the private call mode and the normal mode when adjusting the volume.

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

[0223] For example, when the current call output volume is level A (such as level 8), the electronic device collects ambient sound, and then determines whether to automatically increase the volume and whether it is necessary to switch from the privacy call mode to the normal mode based on the size of the ambient sound. Specifically, when the ambient sound is greater than a certain ambient sound threshold (such as 55dB), it means that the electronic device is in a noisy environment, and the electronic device needs to output the other party's call voice at a high volume to ensure a clear call. In this case, the electronic device can automatically increase the volume and switch from the privacy call mode to the normal mode. It should be noted that the above-mentioned ambient sound threshold can be set according to actual needs, and the embodiments of the present application are not limited to this.

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

[0225] For example, FIG12 shows a schematic diagram of a call control method provided by an embodiment of the present application by controlling volume and mode.

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

[0227] Referring to (b) in Figure 12, when the system call volume is at level 8, when an incoming call is connected, the earpiece and screen sound device emit sound at a first ratio and level 8, entering private call mode. During the call, the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits private call mode. In this case, the earpiece and screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device lowers the system call volume to level 8 and enters private call mode again.

[0228] Referring to (c) in Figure 12, when the system call volume is at level 9, when an incoming call is connected, the earpiece and screen sound device emit sound at a first ratio and level 8, entering private call mode. During the call, the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits private call mode. In this case, the earpiece and screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device lowers the system call volume to level 8 and enters private call mode again.

[0229] Referring to (d) in Figure 12, when the system call volume is at level 10, when an incoming call is connected, the earpiece and screen sound device emit sound at a first ratio and level 8, entering private call mode. During the call, the electronic device monitors the ambient sound. When the ambient sound is greater than the ambient sound threshold (such as 55dB), the electronic device increases the system call volume to level 9 and exits the private call mode. In this case, the earpiece and screen sound device emit sound at a second ratio and level 9. Then, if the ambient sound is less than or equal to the ambient sound threshold, the electronic device lowers the system call volume to level 8 and enters the private call mode again.

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

[0231] Figure 13 shows a timing diagram of the call control method provided by an embodiment of the present application. As shown in Figure 13, the call control method includes S101 to S114. The modules involved include call service, call APP, basic service, playback control module, volume control module and decision center.

[0232] S101. The private call function is enabled by default in the call service.

[0233] When the private call function is turned on, the following solution can be executed when receiving an incoming call notification or when an incoming call is connected: based on the system call volume, determine whether the volume level of this call (answering) needs to be adjusted and whether the private call mode is enabled to avoid sound leakage during the call.

[0234] S102: The call service receives an incoming call signal.

[0235] S103: The call service starts the call APP in response to the incoming call signal.

[0236] Correspondingly, the call APP is started and triggers the display of an incoming call notification interface on the desktop. The incoming call notification interface displays an answer button, which is used to trigger answering the incoming call.

[0237] S104: The call service instructs the play control module to play a ring tone.

[0238] Correspondingly, the play control module plays the incoming call ring tone.

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

[0240] S106. The basic service obtains the system call volume.

[0241] The system call volume can be measured using a volume level, for example, the system call volume level can be any level from 1 to 10.

[0242] S107: The basic service notifies the decision center of the system call volume (specifically, the volume level).

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

[0244] For example, the volume level threshold may be set to level 8.

[0245] It should be noted that either S109 or S110 described below is executed selectively.

[0246] S109. When the system call volume is greater than the volume level threshold, the decision center notifies the volume control module to reduce the volume to level 8 and enter the private call mode.

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

[0248] 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.

[0249] For example, the level of the system call volume can be any one of level 1 to level 8. Assuming that the system call volume is level 7, the system call volume can be maintained at level 7 to enter the private call mode.

[0250] S111 , the call APP receives an operation in which the user clicks the answer button.

[0251] S112 , the call APP notifies the volume control module of the incoming call connection signal.

[0252] S113: The volume control module instructs the playback control module to adopt the private call mode.

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

[0254] Exemplarily, in this case, the earpiece and the screen sound device emit sound at the first ratio and level 8 volume, or emit sound at the first ratio and level 8 or less.

[0255] It should be noted that, since either S109 or S110 is executed selectively, when S114 outputs voice in the privacy call mode, the listening volume level during the call will be determined based on the result of either S109 or S110.

[0256] The following describes in detail the process of automatically adjusting the volume according to the system call volume when an incoming call is connected, combined with a schematic diagram of the mobile phone interface.

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

[0258] In response to the user's answering operation, as shown in (b) in FIG14 , the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device emit sound at the first ratio and level 6 volume, and is now in the private call mode.

[0259] For example, the first ratio is 3:7. It should be noted that the earpiece and the screen generating device emit sound at the first ratio and 6 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the two sounds is 6 levels of volume; in the total volume, the sound intensity of the earpiece accounts for 3, and the sound intensity of the screen generating device accounts for 7.

[0260] As shown in Figure 14(c), the electronic device receives a volume-up operation from the user. As shown in Figure 14(d), the electronic device increases the volume, for example, to level 10 (or level 9). In this case, the earpiece and screen-generating device of the electronic device emit sound at a second ratio and a volume level of 10, and the private call mode is exited. The second ratio is greater than the first ratio.

[0261] For example, the second ratio is 7:3. It should be noted that the earpiece and the screen generating device emit sound at the second ratio and 10 levels of volume, which means that the earpiece and the screen generating device emit sound together, and the total volume of the two sounds 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.

[0262] As shown in (e) of FIG. 14 , the electronic device receives the user's operation of hanging up the call and ends the call.

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

[0264] In response to the user's answering operation, as shown in FIG14(g), the electronic device answers the incoming call, and the earpiece and screen generating device of the electronic device emit sound at a third ratio and a volume level of 8, thereby entering private call mode. The third ratio is smaller than the second ratio. Furthermore, the third ratio can be the same as or different from the first ratio.

[0265] For example, the third ratio may be 4:6. It should be noted that the earpiece and the screen generating device emit sound at the third ratio and 8 levels of volume, meaning that the earpiece and the screen generating device emit sound together, and the total volume of the two sounds is 8 levels of volume; of the total volume, the sound intensity of the earpiece accounts for 4, and the sound intensity of the screen generating device accounts for 6.

[0266] It should be noted that the specific volume levels of the system call volume and the sound ratio values ​​of the earpiece and screen generating device in Figure 14 are all exemplary illustrations. In actual implementation, they can be set or confirmed according to actual conditions, and the embodiments of this application do not limit them.

[0267] In some embodiments, the electronic device can continuously collect ambient sound during a call and automatically adjust the volume based on changes in the ambient sound level. When the ambient sound level is less than or equal to a preset ambient sound threshold and the listening volume is high (e.g., level 9), it can be determined that the volume needs to be automatically reduced and the call privacy mode needs to be entered. When the ambient sound level is greater than the preset ambient sound threshold and the listening volume is low (e.g., level 8), it can be determined that the volume needs to be automatically increased and the call privacy mode needs to be exited.

[0268] The following, combined with the schematic diagram of the mobile phone interface, details the implementation process of automatically adjusting the volume according to the system call volume or according to the changes in the ambient sound level after the call is connected. Unlike the related art, after the call is connected, the voice is output according to the fixed volume preset by the "Smart Privacy Call Mode" (for example, a fixed volume of 6 levels) by default, in the embodiment of the present application, the listening volume can be automatically adjusted according to the size of the system call volume when the call is connected. During the call, the electronic device automatically adjusts the listening volume in different scenes (noisy scenes or quiet scenes) according to the changes in the ambient sound.

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

[0270] In some embodiments, if the system call volume is determined to be within the volume range corresponding to the privacy call mode during an incoming call, for example, the system call volume is at 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 output voice, thereby minimizing the user's usage habits. Accordingly, after the user clicks the answer button, as shown in (b) of Figure 15, the electronic device displays the answer interface, which still displays the prompt message "Smart Privacy Call Mode", indicating that the "Smart Privacy Call Mode" has been enabled for this call and the current volume remains at level 6.

[0271] In other embodiments, if the system call volume is determined to be level 9 during an incoming call, which is relatively loud and exceeds the volume range corresponding to the privacy call mode, it is necessary to lower the volume after answering the call. This allows the user's usage habits to be met as much as possible when outputting voice, while ensuring call privacy. After the user clicks the answer button, as shown in (c) of Figure 15, the electronic device displays the answer interface, which still displays the prompt message "Smart Privacy Call Mode", indicating that the "Smart Privacy Call Mode" has been enabled for this call. The electronic device automatically adjusts the answer volume to level 8 in the background.

[0272] In other embodiments, as shown in (c) of FIG15 , assume that the current listening volume is level 8. When it is determined that the ambient sound is less than or equal to the preset ambient sound threshold, as shown in (d) of FIG15 , the electronic device maintains the listening volume at level 8 and maintains the "smart privacy call mode". When it is determined that the ambient sound is greater than the preset ambient sound threshold, as shown in (e) of FIG15 , the electronic device automatically increases the listening volume to level 9, automatically exits the "smart privacy call mode", and enters normal mode. As shown in (e) of FIG15 , in normal mode, the call interface displays the prompt message "Lower the volume to enter the smart privacy call mode" instead of "smart privacy call mode", and the status bar of the call interface no longer displays the privacy call icon.

[0273] It should be noted that in actual implementation, the volume bar is not displayed in the incoming call notification interface and the answering interface in automatic adjustment mode. The electronic device adjusts the volume in the background, without the need for user triggering, which improves the user experience.

[0274] 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 listening 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 shows a schematic flow chart of automatically switching modes based on changes in ambient sound. In conjunction with Figure 13, as shown in Figure 16, after S114, the call control method also includes S115-S119.

[0275] S115, the decision center determines whether the ambient sound is greater than the ambient sound threshold.

[0276] Exemplarily, the ambient sound threshold may be 55 dB.

[0277] It should be noted that the following S116-S118 and S119 can be executed one by one.

[0278] S116, when the ambient sound is greater than the ambient sound threshold, the decision center instructs the volume control module to switch to normal mode (the volume level is increased to level 9).

[0279] S117: The volume control module instructs the playback control module to adopt the normal mode.

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

[0281] S119, when the ambient sound is less than or equal to the ambient sound threshold, the decision center determines to maintain the private call mode.

[0282] The following describes the process of automatically adjusting the system call volume and switching modes accordingly according to changes in the ambient sound level with reference to FIG17 .

[0283] As shown in Figure 17 (a), the electronic device displays a call interface. The current listening volume is at level 8, and private call mode is used for voice output. The private call icon and prompt message are displayed on the call interface. As shown in Figure 17 (b), when the ambient sound exceeds the threshold, the smart private call mode is automatically exited and the volume is automatically increased (for example, to level 9). After the mode is switched, the private call icon and prompt message disappear from the call interface.

[0284] As shown in Figure 17(b), the electronic device displays a call interface, the current listening volume is set to level 9, and normal voice output is used. As shown in Figure 17(a), when the ambient sound level is less than or equal to the threshold, the device automatically switches to smart privacy call mode and automatically lowers the volume (for example, to level 8). After the mode switch, the private call icon and prompt message are displayed on the call interface, indicating that "smart privacy call mode" has been enabled for this call.

[0285] In some embodiments, when the privacy call mode is currently being used and the ambient sound is detected to be greater than the ambient sound threshold and lasts for more than a certain time, the user can switch from the privacy call mode to the normal mode; or, when the normal mode is currently being used and the ambient sound is detected to be less than or equal to the ambient sound threshold and lasts for more than a certain time, the user can switch from the normal mode to the privacy call mode. This can avoid switching modes back and forth in a short period of time and improve the user experience.

[0286] In some embodiments, before making a call or receiving a call notification, the user may adjust the call volume in the settings interface; in this case, when the incoming call or outgoing call is connected, the electronic device prioritizes the private call mode. For example, as shown in (a) and (b) of Figure 18, the user adjusts the call volume to level 9 in the sound and vibration settings interface, and as shown in (c) and (d) of Figure 18, when the incoming call (or outgoing call) is connected, the electronic device prioritizes the private call mode and automatically adjusts the level 9 volume to level 8. The earpiece and the screen sound device jointly emit sound and output the call voice at a first ratio (for example, 3:7) at level 8. In subsequent calls, the switch between the private call mode and the normal mode can also be triggered according to the volume of the ambient sound.

[0287] In other embodiments, before making a call or receiving a call notification, the user may adjust the call volume in the settings interface. In this case, when the next incoming call or outgoing call is connected, the electronic device can maintain the system call volume set by the user until the user adjusts the call volume during the call to switch between the two modes. The next time the user receives an incoming call notification or makes a call, the electronic device determines whether to automatically adjust the volume and whether it is necessary to switch between the private call mode and the normal mode based on the size of the system call volume, as shown in Figures 11 to 17.

[0288] For example, before making a call or receiving a call notification, the user adjusts the call volume to level 10 in the settings interface. When the user makes a call or receives a call notification, after the call is connected, the electronic device emits sound at level 10 and the corresponding ratio (the ratio of the earpiece and the screen sound). During one or more passes before the user manually adjusts the volume to below level 8 during the call, the electronic device maintains the volume manually set by the user in the system settings, such as level 10. After the user manually adjusts the volume to below level 8 during the call, the electronic device enters the private call mode. In addition, the next time an incoming call notification is received or a call is made, the electronic device determines the call mode and volume according to the method shown in Figures 11 to 17.

[0289] Second embodiment: manual adjustment

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

[0291] In some embodiments, the user can press the physical volume button of the electronic device to trigger the volume down or up, thereby triggering the call mode to switch between the private call mode and the normal mode.

[0292] In other embodiments, the user can slide on the volume bar displayed on the screen to trigger turning up or down the volume, thereby triggering switching the call mode between the private call mode and the normal mode.

[0293] For example, switching between different call modes is described here. For example, when a user clicks a physical volume button, the electronic device can display a volume bar in response to the user's operation. When the user turns up the volume, the volume bar fills up. For example, if the volume bar changes from level 8 to level 9, the private call mode is automatically exited and normal mode is entered, i.e., the private call mode is switched to normal mode. When the user turns down the volume, the volume bar fills down. For example, if the volume bar changes from level 9 to level 8, the normal mode is switched to private call mode.

[0294] In an embodiment of the present application, the call control method provided by the present application can control the switching between the private call mode and the normal mode according to the output volume level or range of the electronic device. Specifically, for the switching between the private call mode and the normal mode, the electronic device can predefine the following rules:

[0295] When the output volume level of the electronic device is less than or equal to a preset volume level (e.g., level 8), or when the output volume level of the electronic device is within a preset first volume level range (e.g., [level 1, level 8]), the private call mode is automatically enabled; when the output volume level of the electronic device is greater than the preset volume level, or when the output volume level of the electronic device is within a preset second volume level range (e.g., [level 9, level 10]), the private call mode is automatically exited and the normal mode is entered. The volume values ​​corresponding to the levels in the second volume level range are greater than the volume values ​​corresponding to the levels in the first volume level range.

[0296] For example, when a user operation to lower or increase the volume is received, if it is determined that the adjusted volume level is less than or equal to the preset volume level (for example, level 8), the private call mode is enabled. For example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the screen sound is greater than the intensity of the earpiece sound) to avoid sound leakage and improve the user's call experience. If it is determined that the adjusted volume level is greater than the preset volume level (for example, level 8), the normal mode is enabled. For example, the screen and the earpiece can be used to sound at the same time and the two sound modes can be controlled to sound at different volume intensities (for example, the intensity of the earpiece sound is greater than the intensity of the screen sound) to ensure good sound effects and improve the user's call experience.

[0297] For example, Figure 19 shows a schematic diagram of an interface for adjusting the volume by pressing a physical volume button to trigger a mode switch. As shown in Figure 19 (a), assuming the current listening volume level is 10, the user can trigger a volume reduction by pressing the electronic device's physical volume button -. As shown in Figure 19 (b), in response to the user's operation, the electronic device switches the call mode to private call mode and displays a volume bar 61 and a private call icon 62 on the call interface. The volume bar 61 shows the volume reduction, with the listening volume level reduced to, for example, level 6. In private call mode, call privacy is guaranteed. Similarly, as shown in Figure 19 (c), the call interface displays a volume bar 61 and a private call icon 62. Assuming the current listening volume level is 6, the user presses the volume + button. Then, as shown in Figure 19 (d), in response to the user's operation, the electronic device switches 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 shows the volume increase, with the listening volume level at level 9. In normal mode, call clarity is guaranteed.

[0298] For example, Figure 20 shows a schematic diagram of an interface for adjusting the volume by pressing the volume bar to trigger a mode switch. As shown in (a) and (b) in Figure 19, assuming that the current answering volume level is level 9, when a volume bar is displayed in the answering interface, the user can trigger a volume reduction by dragging the adjustment button on the volume bar. As shown in (c) in Figure 20, the volume is reduced to level 6, and the call mode is switched from normal mode to private call mode. As shown in (d) in Figure 20, the volume bar 61 and the private call icon 62 will automatically hide after a certain period of time.

[0299] It should be noted that in scenarios where a user is listening to audio close to their ear through an electronic device, the call control method provided in this application can enable private call mode when the output volume level of the electronic device decreases to less than or equal to a preset volume level to avoid audio leakage during a voice call. When the output volume level of the electronic device increases to exceed the preset volume level, the private call mode is exited and normal mode is entered to ensure a high-volume playback effect.

[0300] In some embodiments, during this call, after switching to manual adjustment mode, it will no longer return to automatic adjustment mode. That is, during this call, the above-mentioned solution of automatically adjusting the volume and mode according to the ambient sound level will no longer be executed.

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

[0302] Third Example: Operating the physical volume button in the incoming call scenario can trigger the activation of "Smart Privacy Call Mode" after the call is connected

[0303] Currently, the "Smart Privacy Call Mode" can only be enabled and disabled in the call connection scenario. The "Smart Privacy Call Mode" cannot be set in the call notification or missed call scenarios. The call volume cannot be adjusted, and only the media volume can be controlled.

[0304] In view of this, the embodiments of the present application provide the following functionality: In the current incoming call scenario, in response to the user pressing the volume button or the power button, the electronic device can enable "Smart Privacy Call Mode" or "Normal Mode" before the call is connected. In other words, the call volume can be adjusted before the call is connected. Compared to the related art, in which the user pressing the volume button or the power button only triggers the muting of the incoming call ringtone, the present application solution provides more scenarios that can trigger the activation of "Smart Privacy Call Mode."

[0305] In some embodiments, when the "smart privacy call mode" is not turned on, before an incoming call is connected or when an incoming call is notified, the electronic device can quickly enable the "smart privacy call mode" in response to the user double-clicking the volume down button.

[0306] For example, as shown in (a) of Figure 21, the electronic device receives an incoming call and displays the incoming call notification interface, and displays a prompt message in a preset area of ​​the screen (for example, near the physical volume button): "Double-click to quickly enter the smart privacy call". As shown in (b) of Figure 21, if the system call volume is at level 9 or 10 before the call is answered, then after the user double-clicks the volume down button, the electronic device can lower the call volume, for example, automatically lower it to level 8, and the electronic device enables the smart privacy call function and displays the prompt message "Smart privacy call mode is turned on" in the incoming call notification interface. At this time, the incoming call ringtone is muted. As shown in (c) of Figure 21, when the incoming call is answered, the electronic device adopts the smart privacy call mode and outputs voice at the lowered system call volume.

[0307] It should be noted that if the system call volume is at level 8 or below before the electronic device receives an incoming call, the electronic device may not adjust the system call volume after the user double-clicks the volume down button. Once the call is answered, the electronic device adopts the smart privacy call mode and outputs the voice at the unadjusted system call volume.

[0308] As a comparative example, as shown in (d) in FIG21 , when a prompt message is displayed in the incoming call notification interface: “Double-click the volume down button to enter the smart private call”, as shown in (e) in FIG21 , if the user clicks the answer button without double-clicking the volume down button, then as shown in (f) in FIG21 , the electronic device displays a prompt message in the call interface: “Lower the volume to enter the private call mode”, and the smart private call function is not enabled.

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

[0310] In some embodiments, before an incoming call is connected or when an incoming call is notified, in response to the user double-clicking the volume down button, the electronic device can automatically answer the incoming call directly without the user clicking the answer control, and use the above-mentioned method to lower the system call volume or maintain the system call volume, quickly enabling the "smart privacy call mode".

[0311] Figure 22 shows another timing diagram of the call control method provided by an embodiment of the present application. As shown in Figure 22, the call control method includes S201 to S210. The modules involved include call service, call APP, basic service, playback control module and volume control module.

[0312] S201: The call service receives an incoming call signal.

[0313] It should be noted that the private call function is not enabled at this time.

[0314] S202: The call service starts the call APP in response to the incoming call signal.

[0315] Correspondingly, the call APP is started and triggers the display of an incoming call notification interface on the desktop. The incoming call notification interface displays an answer button, which is used to trigger answering the incoming call.

[0316] S203: The call service instructs the play control module to play a ring tone.

[0317] Correspondingly, the play control module plays the incoming call ring tone.

[0318] S204: The basic service receives an operation in which the user double-clicks the volume down button.

[0319] S205: The basic service notification playback control mode sets the incoming call ringtone to be silent.

[0320] S206 : The basic service notifies the volume control mode to enable the private call mode.

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

[0322] For 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 maintains the system call volume. For example, if the system call volume is at level 6 when the electronic device receives an incoming call notification, if the user double-clicks the volume down button, the electronic device maintains the system call volume at level 6 and outputs sound at level 6 after the call is connected. It can be understood that since level 6 corresponds to the private call mode, the private call mode will be automatically enabled accordingly.

[0323] S207: The call APP receives the user's operation of clicking the answer button.

[0324] S208 , the call APP notifies the volume control module of the incoming call connection signal.

[0325] S209: The volume control module instructs the playback control module to adopt the private call mode.

[0326] S210: The playback control module outputs voice in a private call mode during a call.

[0327] In other embodiments, when "Smart Private Call Mode" is not enabled, the electronic device can, in response to a user clicking the volume down button, mute the incoming call ringtone; and in response to the user clicking the volume down button again, display a volume bar in the incoming call notification interface. By adjusting the volume on the volume bar, the user can quickly activate "Smart Private Call Mode."

[0328] For example, as shown in (a) of Figure 23 , an electronic device receives an incoming call and displays an incoming call notification interface, along with a prompt message: "Turn down the volume to enter smart private call." As shown in (b) of Figure 23 , after the user clicks the volume down button, the electronic device mutes the incoming call ringtone. After the user clicks the volume down button again, as shown in (c) of Figure 23 , the electronic device displays a volume bar in the incoming call notification interface. As shown in (d) of Figure 23 , in response to the user's operation on the volume bar, the electronic device lowers the volume and enables the smart private call function, and as shown in (e) of Figure 23 , displays a prompt message in the incoming call notification interface: "Smart private call mode is on." As shown in (f) of Figure 23 , after the incoming call is answered, the electronic device uses the smart private call mode for voice output.

[0329] Fourth Example: Quickly enable or disable "Smart Private Call Mode" via the Private Call Switch

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

[0331] For example, Figure 24 illustrates an interface diagram for triggering the private call switch on the incoming call screen. As shown in Figure 24 (a), the electronic device receives an incoming call and displays the incoming call notification screen. The private call switch and the prompt "Private call mode is on, minimizing call leakage. Click to turn it off" are displayed within the incoming call notification screen. At this point, the private call switch indicates that private call mode is on. As shown in Figures 24 (b) and 24 (c), when the user clicks the private call switch, the display status of the switch changes (e.g., from dark to light), indicating that private call mode is off. Furthermore, in response to the user turning off private call, the electronic device displays a volume bar and a high volume icon within the incoming call notification screen. Furthermore, when the user clicks the answer button, as shown in Figure 24 (d), the electronic device displays the call screen, which still displays the private call switch. Optionally, a prompt "Click to turn on private call mode, minimizing call leakage" may be displayed near the private call switch.

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

[0333] As another example, Figure 25 shows an interface diagram for triggering the private call switch on a call page. As shown in Figure 25 (a), the electronic device displays the call interface, which displays the private call switch and the prompt "Click to enable private call mode, reducing call leakage." At this time, the private call switch indicates that private call mode is off. As shown in Figures 25 (b) and 25 (c), when the user clicks the private call switch, the switch updates its display state to indicate that private call mode is on (for example, changing from a light color to a dark color). In response to the user's operation to enable private call, the electronic device displays a volume bar and a call privacy icon in the incoming call notification interface. During the call, the electronic device uses private call mode for voice output. Optionally, the prompt "Private call mode is on, reducing call leakage. Click to turn off" can be displayed near the private call switch. As shown in Figure 25 (d), the volume bar automatically hides after a certain period of time.

[0334] It should be noted that the above embodiments are described using the incoming call scenario as an example. In actual implementation, the above embodiments are also applicable to the outgoing call scenario. For example, a privacy call switch can be displayed on the outgoing call interface, and the electronic device can quickly enable or disable "Smart Privacy Call Mode" 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 enable or disable "Smart Privacy Call Mode" in response to the user's operation of the privacy call switch.

[0335] Fifth embodiment: Pop-up volume bar and mode adjustment prompt when incoming call is connected

[0336] In some embodiments, when "Smart Private Call Mode" is not enabled, a volume bar and a prompt "Lower volume to enter Smart Private Call Mode" will pop up immediately on the call interface when an incoming call is connected. Users can choose to lower the volume to trigger the electronic device to activate Smart Private Call Mode, or not to activate Smart Private Call Mode by not adjusting the volume, depending on their needs.

[0337] For example, Figure 26 shows an interface diagram that prompts you to turn on the private call mode on the incoming call page. As shown in (a) of Figure 26, the electronic device receives an incoming call and displays the incoming call page. When the user clicks the answer button, as shown in (b) of Figure 26, the electronic device displays the call interface, and the call interface displays a volume bar, a large volume icon, and a prompt message "Lower the volume to enter smart private call mode". In this case, the user has the following two options: as shown in (c) and (d) of Figure 26, the user operates on the volume bar to lower the volume, which can trigger the entry into the private call mode; or, as shown in (e) of Figure 26, the user does not operate on the call interface or clicks on a blank area of ​​the call interface, and the private call mode will not be entered.

[0338] It should be noted that the above embodiments are described using the incoming call scenario as an example. In actual implementation, the above embodiments are also applicable to the outgoing call scenario. In some embodiments, when the "smart privacy call mode" is not turned on, when the outgoing call is connected and the electronic device is not close to the ear, a volume bar and a prompt message "Lower the volume to enter the smart privacy call mode" can be popped up immediately in the call interface to guide the user to enable the smart privacy call mode by adjusting the volume bar. The user can choose to lower the volume to trigger the electronic device to enable the smart privacy call mode according to actual usage needs. In some embodiments, when the "smart privacy call mode" is not turned on, when the outgoing call is connected and the electronic device is close to the ear, the electronic device can control the display screen to turn off to prevent accidental touches.

[0339] For example, Figure 27 shows an interface diagram that prompts the user to turn on the private call mode on the outgoing call page. As shown in (a) of Figure 27, the electronic device displays the outgoing call page. When the call is connected, as shown in (b) of Figure 27, the electronic device displays the call interface, and the call interface displays a volume bar, a large volume icon, and a prompt message "Lower the volume to enter smart private call mode". In this case, the user has the following two options: as shown in (c) and (d) of Figure 27, the user operates on the volume bar to lower the volume, which can trigger the entry into the private call mode; or, as shown in (e) of Figure 27, the user does not operate on the call interface or clicks on a blank area of ​​the call interface, and the private call mode will not be entered.

[0340] In an embodiment of the present application, after the smart privacy call function is enabled, the privacy call mode can be automatically enabled when the output volume level of the electronic device falls below a preset volume level during a voice call. That is, when the output volume level of the electronic device falls below a preset volume level during a voice call, the device automatically switches to the privacy call mode and uses the voice output method corresponding to the privacy call mode (for example, sound is output through both the screen and the earpiece, where the screen sound intensity is greater than the earpiece sound intensity) to output the voice, thereby avoiding sound leakage during the voice call.

[0341] In other embodiments, in a voice call scenario, when it is sensed that the user has triggered the volume reduction operation multiple times in a row, the system can automatically switch to the privacy call mode and use the voice output method corresponding to the privacy call mode (for example, through the screen and the earpiece to output the voice, such as the screen sound intensity is greater than the earpiece sound intensity) to avoid sound leakage during the voice call.

[0342] In some embodiments, when switching from private call mode to normal mode, the overall sound volume (also known as loudness or intensity) can be increased based on the volume corresponding to private call mode to improve the voice playback effect. In other words, the overall sound loudness of the sound through the earpiece and the screen in normal mode is greater than the overall sound loudness of the sound through the earpiece and the screen in private call mode.

[0343] Compared with the earpiece sound mode, the screen sound mode can effectively prevent sound leakage during voice calls. Therefore, when users are in a quiet environment to make or receive calls, they usually want to reduce sound leakage. At this time, the private call mode can be used to ensure that the call is clear while reducing sound leakage, thereby protecting the user's privacy.

[0344] The above describes in detail the process of switching between the private call mode and the normal mode. The following further describes possible implementation methods of switching between the private call mode and the speaker mode.

[0345] In some embodiments, through the audio processing method provided by this application, when an electronic device is in private call mode, when the electronic device receives a user click on the speaker icon, it can switch to speaker mode, that is, output the voice through the speaker, at which point neither the screen nor the receiver produces any sound. Optionally, further, when the electronic device receives a user click on the speaker icon, it can exit speaker mode and re-enter private call mode.

[0346] For example, Figure 28 shows a schematic diagram of the voice call interface after answering an incoming call. The voice call interface displays the following prompt: "Smart Private Call is On" 71 and an icon 72 identifying a private call. As shown in Figure 28 (a), the user taps the speaker button 73 in the voice call interface to trigger the playback of the voice through the speaker. As shown in Figure 28 (b), in response to the user tapping the speaker button 73, the phone activates the hands-free function. The voice is played through the speaker, and neither the screen nor the earpiece produces any sound. The voice call interface may display a prompt message "Smart Private Call Exited" 74, and accordingly, the "Smart Private Call is On" 71 and the icon 72 identifying the private call are no longer displayed. The prompt message "Smart Private Call Exited" 74 disappears after being displayed for a certain period of time (e.g., 5 seconds).

[0347] Alternatively, as shown in Figure 28(c), the user can tap the speaker button 73 in the voice call interface again to turn off the speaker. As shown in Figure 28(d), in response to the user tapping the speaker button 73, the phone switches from speaker mode to private call mode. This allows switching between private call mode and normal mode.

[0348] As another example, Figure 29 shows a schematic diagram of the interface for triggering the switch from private call mode to speakerphone mode by operating on the notification card of the Smart Private Call feature. As shown in Figure 29 (a), the user slides their finger downward in the direction of the arrow on the voice call interface to pull down the menu bar. As shown in Figure 29 (b), the menu bar (also known as the notification interface) is displayed, which displays a notification card 75 indicating 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. As shown in Figure 29 (c), after the user clicks the hands-free icon 76, the menu bar interface returns to the voice call interface, where the prompt message "Smart Private Call Exited" 74 may be displayed. Accordingly, the "Smart Private Call Enabled" icon 71 and the private call icon 72 are no longer displayed. This is how the switch between private call mode and normal mode is achieved.

[0349] In some embodiments, the electronic device provides a setting interface for the smart privacy call function, and the user can trigger the smart privacy call function to be turned on or off in the setting interface according to actual usage needs.

[0350] For example, Figure 30 shows a schematic diagram of accessing the Smart Private Call feature settings interface via the Smart Private Call feature notification card. As shown in Figure 30 (a), the user swipes downward in the direction of the arrow on the voice call interface to pull down the menu bar. As shown in Figure 30 (b), the menu bar (also known as the notification interface) appears, displaying a notification card 77 indicating that the Smart Private Call feature is enabled. The user can click on this notification card 77 to configure the Smart Private Call feature. As shown in Figure 30 (c), after the user clicks on this notification card 75, the menu bar interface jumps to the Smart Private Call feature settings interface 78. This settings interface 78 includes a switch control 79 for the Smart Private Call feature, which currently indicates that the Smart Private Call feature is enabled. The user can operate the switch control 79 (e.g., by sliding in the direction of the arrow) to toggle the Smart Private Call feature off.

[0351] Furthermore, as shown in FIG30( d ), after the user operates the switch control 79, the private call mode is exited and the user switches from the smart private call setting interface 78 to the voice call interface. The voice call interface may display a prompt message "Smart private call exited" 74. Accordingly, the "Smart private call enabled" message 71 and the private call icon 72 are no longer displayed.

[0352] It should be noted that the above embodiments are described using the voice call scenario as an example. It can be understood that the solutions provided in the above embodiments for switching between the privacy call mode and the speaker mode, as well as the function settings of the privacy call mode, can also be applied to the voice call scenario of VoIP.

[0353] In this way, when a user listens to audio through an electronic device with their ear close to their ear, the electronic device can determine whether to enable private call mode or normal mode based on different volume levels, and can choose to play sound through the earpiece and / or screen. For example, when the volume level set by default for the electronic device or the volume level adjusted by the user is less than or equal to the preset volume level, the private call mode is enabled. In the private call mode, the voice can be played through the earpiece and screen at different sound intensities, for example, the screen sound intensity is greater than the earpiece sound intensity. When the volume level set by default for the electronic device or the volume level adjusted by the user is greater than the preset volume level, the normal mode is enabled. In the normal mode, the voice can also be played through the earpiece and screen at different sound intensities, for example, the earpiece sound intensity is greater than the screen sound intensity. By using the earpiece sound and the screen sound in a complementary manner, the electronic device can avoid sound leakage in a quiet environment and have good sound quality when playing voice. This can effectively protect the user's privacy and make the electronic device more private when the user listens to audio close to their ear.

[0354] As described above, when a user places their phone close to their ear to listen to audio, or when the user selects handset mode (i.e., a mode in which the phone plays audio through the handset), the phone can determine whether the current volume level is greater than a preset volume level and, based on the determination, determine whether to activate private call mode or normal mode. The following describes possible implementations of detecting a user placing their phone close to their ear to listen to audio.

[0355] Among them, when a user puts their ear to the ear to listen to audio data stored in the phone (i.e., the phone is in the ear-to-ear listening state), the user can place their ear near the earpiece and listen to audio data (such as recording data, song data, etc.) stored in the phone through the earpiece of the phone. It can also be that when the user places their ear near the earpiece for voice communication (voice communication can be voice communication with other electronic devices through the phone function in the phone, or voice communication with other electronic devices through an instant messaging application installed on the phone), the phone listens to sound data transmitted from the opposite user's phone through the earpiece of the phone. It can also be that the user places their ear near the earpiece and listens to voice messages in an instant messaging application through the earpiece of the phone. For example, the phone receives voice messages from other phones through the instant messaging application. The phone can display the chat interface of the instant messaging application, which includes voice messages from other phones. In response to the user clicking on the voice message, the phone can play the voice message (i.e., sound signal) from the other phone through the earpiece.

[0356] For example, the mobile phone can detect whether the user's ear is close to the receiver through sensors such as light sensors and distance sensors. For example, the mobile phone can detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone through a distance sensor. If there is an obstruction at a close distance in front of the front panel, it can be determined that the current user's ear is close to the receiver. For another example, when the mobile phone light sensor detects that the light intensity decreases instantaneously and the change is large, it can be determined that the current user's ear is close to the receiver. Of course, in other embodiments of the present application, the mobile phone can also detect whether the user's ear is close to the receiver through other methods or algorithms, and reference can be made to the relevant introduction in conventional technology, which is not limited here.

[0357] In some embodiments, when a user uses their phone to listen to audio close to their ear, the phone can display various listening modes for the user to choose from, allowing the user to manually select a listening mode based on their actual needs, triggering the phone to execute the corresponding audio playback policy for the earpiece and screen. The listening modes can include private call mode and normal mode.

[0358] It should be noted that in the above example, after the mobile phone receives the user input of selecting a listening mode, it can directly adopt the corresponding sound playing strategy to play the sound. Each listening mode adopts a corresponding sound playing strategy.

[0359] In private call mode, audio playback can be achieved through both the earpiece and the screen, with the screen sound intensity being greater than or equal to the earpiece sound intensity. This means the phone can play audio primarily through the screen, supplemented by the earpiece. Private call mode can also utilize only the screen for audio playback.

[0360] In normal mode, the handset and screen can be used together to play audio, with the handset's audio intensity being higher than the screen's. That is, the phone can play audio primarily through the handset and supplemented by the screen. Normal mode can also use only the handset for audio.

[0361] In the above examples, based on the various scenarios where a user puts their ear to the phone, the audio played by the receiver and screen can be any audio data stored in the phone, for example, recorded data or song data stored in the phone. It can also be sound data transmitted from the phone of the other user during voice communication. It can also be voice messages in an instant messaging application installed on the phone.

[0362] Figure 31 is a flow chart illustrating a method for controlling a private call function according to an embodiment of the present application. As shown in Figure 31 , after answering or making a call three times and not entering private call mode, a bubble prompt (such as the bubble prompt shown in Figure 5 ) pops up in the incoming call notification interface or the outgoing call interface. A further determination is made as to whether private call mode has been entered. If it is detected that the user has not entered private call mode, this indicates that the user has not yet mastered the private call function. Therefore, the electronic device prompts the user by popping up a bubble, for example, three times. If it is detected that the user has entered private call mode, this indicates that the user has mastered the function. Furthermore, a determination is made as to whether the user has triggered private call mode more than once (e.g., twice) within a predetermined time period (e.g., 7 days). If it is detected that the user has not yet mastered the private call function, this indicates that the user has not yet mastered the private call function. Therefore, the electronic device prompts the user by popping up a bubble three more times, and the prompts cease until the user has mastered the private call function. If it is detected that the user has entered private call mode, this indicates that the user has mastered the function, and no further prompts are given.

[0363] Optionally, in an embodiment of the present application, in a quiet environment, the mobile phone can also adjust the volume (or loudness) of the earpiece sound and the screen sound according to the distance between the human ear and the mobile phone (or earpiece). At the same time, the frequency band of the earpiece sound output and the frequency band of the screen sound output can also be adjusted.

[0364] For example, when the ear is away from the phone, the phone can increase the volume of the earpiece and screen sounds. At the same time, the phone can also reduce the relatively high-frequency portion of the earpiece's sound output frequency band, that is, lowering the boundary frequency between the screen and earpiece sound output frequencies, allowing the earpiece to output a lower frequency band. Because most of the energy from the screen sound is directed directly at the ear, while part of the earpiece sound energy is released through the sound outlet at the top of the phone's midframe, the earpiece sound is more likely to leak than the screen sound after increasing the volume. Therefore, further lowering the earpiece sound output frequency band can prevent other users from hearing the earpiece sound output clearly after increasing the volume.

[0365] In some embodiments, the sound intensity of the screen sound can also be set according to the sensitivity of the screen sound. That is, according to the different sensitivities of the screen sound, the sound intensity of the screen sound can also be set differently.

[0366] For example, in an embodiment of the present application, screen sound generation can be achieved through a screen sound generation device (for example, a screen sound generation device as shown in FIG2 ). Depending on different screen sound generation schemes, the screen sound generation device may also be different. For example, the screen sound generation device may be a vibration source (usually a piezoelectric ceramic, but also a motor vibrator, an exciter, or other vibration unit) connected to the back of the screen. The piezoelectric ceramic vibration may be controlled by a current signal to drive the screen vibration, thereby achieving screen sound generation. For another example, the screen sound generation device may also be a piezoelectric ceramic fixed to the middle frame of the mobile phone through a cantilever beam structure. The piezoelectric ceramic vibration may be controlled by a current signal. The vibration is transmitted to the screen by the middle frame of the mobile phone to drive the screen vibration, thereby achieving screen sound generation. For another example, the screen sound generation device may also be an exciter fixed to the middle frame of the mobile phone. The exciter vibration may be controlled by a current signal. The vibration is transmitted to the screen by the middle frame of the mobile phone to drive the screen vibration, thereby achieving screen sound generation. For another example, the screen sound generation device may also be a split magnetic levitation vibrator. One vibrator is fixed to the phone's midframe, and the other to the screen. Current signals can be used to control the screen-attached vibrator to vibrate relative to the vibrator fixed to the phone's midframe, thereby driving the screen to vibrate and produce screen sound. Different screen sound schemes have different screen sound sensitivities, influenced by factors such as the type and location of the screen sound device, the weight of the phone's midframe, and the phone's internal structural layout. High-sensitivity screen sound can be achieved with relatively low sound intensity and driving power, while low-sensitivity screen sound can be achieved with relatively high sound intensity and driving power.

[0367] Optionally, in an embodiment of the present application, the electronic device (such as a mobile phone) can automatically enable the function implemented by the above method, or can be set to allow the user to manually enable the function implemented by the above method.

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

[0369] The various embodiments described herein may be independent solutions or may be combined according to internal logic, and all of these solutions fall within the scope of protection of this application.

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

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

[0372] The present application also provides an electronic device, which includes a chip, and the chip is used to read and execute computer programs or instructions stored in a memory, so that the methods in each embodiment are executed.

[0373] This embodiment also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the call control method in the above-mentioned embodiment.

[0374] This embodiment further provides a computer program product, wherein the computer-readable storage medium stores program code. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the call control method in the above-mentioned embodiment.

[0375] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the call control method in the above-mentioned method embodiments.

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

[0377] The embodiments of the present application do not specifically limit the specific structure of the execution subject of the method provided in the embodiments of the present application; as long as a program containing the code of the method provided in the embodiments of the present application can be run to perform call control according to the method provided in the embodiments of the present application, it is sufficient. For example, the execution subject of the method provided in the embodiments of the present application can be an electronic device, or a functional module in the electronic device that can call and execute the program.

[0378] The term "and / or" as used herein describes an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. The symbol " / " as used herein indicates that the related objects are in an "or" relationship, for example, A / B means either A or B.

[0379] In the specification and claims herein, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. In the description of the embodiments of this application, unless otherwise specified, the meaning of "plurality" refers to two or more. For example, "multiple processing units" refers to two or more processing units, etc.; "multiple components" refers to two or more components, etc.

[0380] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0381] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0382] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0383] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0384] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0385] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a computer software product, which is stored in a storage medium. The computer software product includes a number of instructions that enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium may include, but is not limited to: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0386] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A call control method, characterized in that: Applied to an electronic device, the electronic device includes a receiver, a screen, and a screen sound device, the screen sound device is used to drive the screen to produce screen sound, the method includes: When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call; The electronic device receives a first operation from a user, and in response to the first operation, answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume; During the first incoming call, the electronic device receives a second operation of the user, and in response to the second operation, the receiver and the screen sound device emit a second sound at a second ratio and a second volume, where the second volume is greater than the first volume; The electronic device receives a third operation of the user, and ends the first incoming call in response to the third operation; When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call; The electronic device receives a fourth operation of the user, and in response to the fourth operation, answers the second incoming call, and the 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 less than the second volume; The first ratio is different from the second ratio, and the third ratio is different from the second ratio.

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

3. The method according to claim 1 or 2, characterized in that The first ratio, the second ratio, and the third ratio are respectively the ratios of the sound intensity of the earpiece to the sound intensity of the screen sound device; The first ratio is smaller than the second ratio, and the third ratio is smaller than the second ratio.

4. The method according to any one of claims 1 to 3, characterized in that Before the electronic device receives the first incoming call, the method further includes: After the electronic device is turned on, the first function is enabled by default; Among them, when the first function is turned on, after an incoming call or an outgoing call is connected, the sound intensity of the earpiece is lower than the sound intensity of the screen sound device.

5. The method according to any one of claims 1 to 4, characterized in that The second operation is an operation in which the user presses a physical volume up key; or an operation in which the user drags upward a volume adjustment button in a volume bar icon.

6. The method according to any one of claims 1 to 5, characterized in that The output volume of the electronic device is represented by a volume decibel value; or, The output volume of the electronic device is represented by a volume level; wherein the volume decibel values ​​within a preset range are divided into N volume levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values, where N is a positive integer.

7. The method according to claim 6, characterized in that The N volume levels include volume level 1 to volume level 10; wherein the volume levels corresponding to the first volume and the third volume are respectively in the range of [level 1, level 1], and the volumes corresponding to the second volume and the fourth volume are respectively in the range of [level 1+1, level 10], where level 1 is an integer greater than 1 and less than 10.

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

9. A call control method, characterized in that: Applied to an electronic device, the electronic device includes a receiver, a screen, and a screen sound device, the screen sound device is used to drive the screen to produce screen sound, the method includes: When the call volume set by the system of the electronic device is a first volume, the electronic device receives a first incoming call; The electronic device activates a first function in response to a user double-clicking the volume down button, wherein the first function is that the sound intensity of the earpiece is less than the sound intensity of the screen sound device; In response to the user answering the call operation, the electronic device answers the first incoming call, and the receiver and the screen sound device of the electronic device emit a first sound at a first ratio and a first volume; During the first incoming call, in response to a user turning up the volume, the receiver and the screen sound device of the electronic device emit a second sound at a second ratio and a second volume, where the second volume is greater than the first volume; The electronic device ends the first incoming call in response to the user hanging up the call; When the call volume set by the system of the electronic device is the second volume, the electronic device receives a second incoming call; The electronic device activates the first function in response to a user double-clicking the volume down button; In response to the user answering the call operation, the electronic device answers the second incoming call, and the receiver and the screen sound device of the electronic device emit a third sound at a third ratio and a third volume, wherein the third volume is greater than the first volume and less than the second volume; The first ratio is different from the second ratio, and the third ratio is different from the second ratio.

10. The method according to claim 9, characterized in that The first ratio, the second ratio, and the third ratio are respectively the ratios of the sound intensity of the earpiece to the sound intensity of the screen sound device; The first ratio is smaller than the second ratio, and the third ratio is smaller than the second ratio.

11. The method according to claim 9 or 10, characterized in that The electronic device receives a first incoming call, including: The electronic device displays an incoming call notification interface; When the incoming call is not answered, the electronic device displays a first prompt message in the incoming call notification interface, where the first prompt message is used to prompt the user to double-click the volume down button to trigger the activation of the first function.

12. The method according to any one of claims 9 to 11, characterized in that After enabling the first function, the method further includes: The electronic device displays a second prompt message in the incoming call notification interface, and the second prompt message is used It prompts that the first function has been turned on.

13. The method according to any one of claims 9 to 12, characterized in that The method further comprises: The electronic device processes the incoming call ring tone to be silent in response to the user's double-clicking of the volume down button.

14. The method according to any one of claims 9 to 13, characterized in that The method further comprises: The electronic device receives a third incoming call; In response to receiving an operation of a user clicking a volume down button, the electronic device processes the incoming call ring tone as silent; In response to the user clicking the volume down button again, the electronic device displays a volume bar icon in the incoming call notification interface, where the volume bar icon is used to indicate the call volume set by the system of the electronic device.

15. The method according to claim 14, 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 operation on the volume bar icon, the electronic device adjusts the call volume; When the adjusted volume is the first call volume, the first function is enabled; or When the adjusted volume is the second call volume, turning off the first function; The first call volume is lower than the second call volume.

16. The method according to any one of claims 9 to 15, characterized in that The method further comprises: When the first function is turned off, 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, and an animation guide and a text prompt are shown; wherein the animation guide includes the volume adjustment button in the volume bar icon moving downward, and the text prompt is used to prompt that the first function is triggered by lowering the volume.

17. The method according to any one of claims 9 to 15, characterized in that The method further comprises: The electronic device displays a switch icon of the first function in an incoming call notification interface, an outgoing call interface, or a call interface; In response to receiving a click operation on the switch icon by the user, the electronic device activates the first function; In response to receiving a click operation on the switch icon by the user again, the electronic device turns off the first function.

18. An electronic device, characterized in that: The electronic device comprises a processor coupled to a memory, wherein the processor is configured to execute a computer program or instruction stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 17.

19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1 to 8, or any one of claims 9 to 17.

20. A computer program product, characterized in that The computer program product includes a computer program code, and when the computer program code is executed by an electronic device, the electronic device executes the method according to any one of claims 1 to 8, or any one of claims 9 to 17.

Citation Information

Cited By

  • Call control method, electronic equipment and storage medium

    CN117998009A