Call control method, electronic equipment and storage medium
By combining the earpiece and screen sounding device on the mobile phone, and automatically or manually switch the call mode according to the ambient sound and the volume adjusted by the user, the phone's sound leakage problem is solved when listening to the ear with the ear, and privacy protection in a quiet environment and clear calls in a noisy environment.
Patent Information
- Application Number
- CN202410050321.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2025-07-18
AI Technical Summary
When a user holds a mobile phone and listens to the ear, there is a leak when playing voice through the earpiece, especially in a quiet environment, it is easy to disclose user privacy.
It provides a call control method, through the combination of the earpiece and the screen sounding device, to automatically or manually switch multiple call modes according to the ambient sound and the volume adjusted by the user, ensuring the reduction of sound leakage in a quiet environment and ensuring the listening effect in a noisy environment.
It effectively reduces the sound leakage of voice calls in quiet environments, protects user privacy, and ensures call clarity in noisy environments, improving user experience.
Smart Images

Figure CN120343122A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technologies, and in particular, to a call control method, an electronic device, and a storage medium. Background Art
[0002] At present, most mobile phones use a receiver arranged at the top of the mobile phone to realize voice communication sound. Generally, the mobile phone needs to correspondingly set a sound outlet at the position of the receiver to release the energy when the receiver makes a sound, and the sound outlet is generally opened on the front panel of the mobile phone. With the development of large-screen and full-screen mobile phones, the sound outlets of some full-screen mobile phones are designed in a long-slit form and are located at the connection between the middle frame and the front panel. At the same time, in order to ensure that the external sound area is large enough and has a good sound output effect, some full-screen mobile phones will also add openings at the top of the middle frame as sound outlets.
[0003] However, during the process that a user holds the mobile phone close to the ear to listen to the sound (such as in a voice call scenario), the voice output by the receiver not only emits from the sound outlets at the side slits, but also a large part of the energy emits from the top sound outlets. Therefore, the sound coming out of the sound outlets can not only be heard by this user, but also can be heard by other users in a quiet environment, there is a sound leakage phenomenon, and it is easy to disclose user privacy. Summary of the Invention
[0004] The present application provides a call control method and an electronic device, which solve the problem of sound leakage when playing voice through a receiver in the scenario that a user holds the mobile phone close to the ear to listen to the sound.
[0005] To achieve the above object, the present application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a call control method, which is applied to an electronic device. The electronic device includes a receiver, a screen, and a screen sound generating device for driving the screen to generate sound. The call control method includes:
[0007] Display a first setting interface, where the first setting interface includes a first call mode, a second call mode, and a third call mode;
[0008] When the first call mode is selected, when answering a call, the receiver and the screen sound generating device output voice at a first ratio and a first volume; during the call, the ratio and volume of the output voice change based on the size of the volume adjusted by the user;
[0009] When the second call mode is selected, when answering a call, output voice based on a second ratio and a second volume at which the receiver and the screen sound generating device made a sound during the previous call; during the call, the ratio and volume of the output voice change based on the size of the ambient sound, or based on the size of the volume adjusted by the user;
[0010] When the third call mode is selected and the call is connected, the receiver and the screen sound device output voice at a third ratio and a third volume; during the call, the volume of the output voice changes based on the magnitude of the user's volume adjustment.
[0011] Through the call control method provided by the embodiments of the present application, for the situation where users have different requirements for call privacy, the present application provides multiple usage modes of intelligent privacy calls for users to choose from. In a specific usage mode, when the call is connected and during the call, the receiver and the screen sound device output voice at a specific voice output ratio and volume, and the ratio and / or volume of the output voice can change based on the magnitude of the ambient sound or based on the magnitude of the user's volume adjustment. In a quiet environment, sound leakage can be reduced, and in a noisy environment, the listening effect can be guaranteed, meeting the user's call requirements and the user's usage habits, and improving the user's call experience.
[0012] Some users have low requirements for call privacy, while some users attach great importance to call privacy. For the situation where users have different requirements for call privacy, the present application provides multiple usage modes for intelligent privacy calls for users to choose from. Users can choose the usage mode according to their actual usage needs, thus better meeting the user's needs.
[0013] Wherein, the first ratio, the second ratio, and the third ratio are respectively the ratio values of the sound intensity of the receiver to the sound intensity of the screen sound device; the first ratio and the third ratio are different.
[0014] Wherein, in the first ratio, the sound intensity of the receiver is less than the sound intensity of the screen sound device. For example, the first ratio is 3:7, the sound intensity of the receiver is 30%, and the sound intensity of the screen sound device is 70%. The first mode corresponds to the privacy call mode.
[0015] Wherein, in the third ratio, the sound intensity of the receiver is greater than the sound intensity of the screen sound device. For example, the third ratio is 7:3, the sound intensity of the receiver is 70%, and the sound intensity of the screen sound device is 30%. The third ratio corresponds to the normal mode.
[0016] Wherein, the first volume, the second volume, and the third volume are respectively the total volume of the sound volume of the receiver and the sound volume of the screen sound device. Among them, the third volume is greater than the first volume.
[0017] Among them, the output volume of the electronic device is represented by a volume decibel value; alternatively, the output volume of the electronic device is represented by a volume level; among them, 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 N decibel values, where N is a positive integer.
[0018] In some possible implementation manners, the N volume levels include volume level 1 to volume level 10; among them, the volume level corresponding to the first volume is within the range of [level 1, level I], and the volume level corresponding to the third volume is within the range of [level I + 1, level 10], where I is an integer greater than 1 and less than 10.
[0019] In some possible implementation manners, I takes the value of 9, the first volume is level 9, and the third volume is level 10.
[0020] It can be understood that the earpiece and the screen sound-emitting device output voice at a first ratio and a first volume, which can be understood as the earpiece and the screen sound-emitting device output voice with a sound intensity ratio of 3:7 and a total volume of level 9.
[0021] These three modes are three usage modes provided for intelligent privacy calls. The first call mode can be called the default startup mode. The second call mode can be called the intelligent startup mode. The third call mode can be called the non-startup mode.
[0022] Mode 1: Default startup mode.
[0023] In the default startup mode, when the electronic device answers a call each time, it controls the call to start in the privacy call mode. This can ensure that the privacy call mode is automatically enabled when the call starts, avoid call sound leakage, and protect the user's call privacy. In some embodiments, when answering a call each time, the electronic device automatically enables the privacy call mode and automatically sets the system call volume to level 9.
[0024] In the default startup mode, the electronic device can respond to the user's operation of manually increasing the volume and exit the privacy call mode. For example, when the user increases the call volume until it reaches the preset volume level, the electronic device controls the current call to switch from the privacy call mode to the normal mode.
[0025] This solution can automatically adjust the answering volume to an appropriate volume according to the system call volume when answering an incoming call and enable the privacy call mode, which can meet the purpose of protecting the user's call privacy.
[0026] Mode 2: Intelligent startup mode.
[0027] In the intelligent startup mode, the electronic device records the last call settings, which include the last call volume level and the call mode (private call mode or normal mode). When the electronic device answers or makes a call each time, it automatically adopts the last call settings.
[0028] In the intelligent startup mode, during a call, the electronic device automatically adjusts the mode according to the ambient sound volume, that is, it switches between the private call mode and the normal mode. In some embodiments, when the call volume is at level 10, the electronic device automatically switches to the privacy protection mode in a quiet environment and reduces the volume to level 9; when the call volume is at level 9, the electronic device automatically exits the privacy protection mode in a noisy environment and increases the volume to level 10. This solution can automatically switch the mode according to the ambient sound volume during a call, that is, automatically switch to the private call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; automatically switch to the normal mode and automatically increase the volume in a noisy environment, thereby ensuring call clarity.
[0029] In the intelligent startup mode, during a call, the electronic device adjusts the call volume in response to the user's operation of manually adjusting the volume. In the case where the user manually triggers the volume adjustment, the electronic device does not automatically adjust the volume according to the ambient sound volume during this call and does not intelligently switch the call mode.
[0030] Mode three: Do not start mode.
[0031] In the do not start mode, when the electronic device answers or makes a call each time, it automatically adopts the last call volume level and uses the normal mode, that is, it does not support intelligent switching to the private call mode during the call, nor does it support manual switching to the private call mode.
[0032] In some possible implementation manners, the method further includes: when the second call mode (intelligent startup mode) is selected, during a call, when the ambient sound volume of the electronic device is at a first value, the earpiece and the screen sound-emitting device output voice at the first ratio and the first volume; when the ambient sound volume of the electronic device is at a second value, the earpiece and the screen sound-emitting device output voice at the third ratio and the third volume.
[0033] Wherein, the second ratio and the second volume at which the earpiece and the screen sound-emitting device emitted sound during the last call are the first ratio (such as 3:7) and the first volume (such as level 9); or the third ratio (such as 7:3) and the third volume (such as level 10). In this case, the electronic device can adjust the sound-emitting ratio and the volume according to the ambient sound volume.
[0034] For example, during the last call, the sound output ratio of the earpiece and the screen sound-emitting device was 3:7, and the sound volume was level 9. When the magnitude of the ambient sound (the first value) where the electronic device is located exceeds a certain threshold (such as 55 dB), the electronic device can adjust the sound output ratio and volume to: sound output ratio 7:3, sound volume level 10.
[0035] For example, during the last call, the sound output ratio of the earpiece and the screen sound-emitting device was 7:3, and the sound volume was level 10. When the magnitude of the ambient sound (the second value) where the electronic device is located is less than or equal to a certain threshold, the electronic device can adjust the sound output ratio and volume to: sound output ratio 3:7, sound volume level 9.
[0036] In the intelligent startup mode, during a call, the electronic device automatically adjusts the mode according to the magnitude of the ambient sound, that is, switches between the private call mode and the normal mode, and improves the user experience through intelligent switching.
[0037] In some possible implementation manners, the method further includes: when the second call mode (intelligent startup mode) is selected, during a call, the electronic device receives an operation by the user to adjust the call volume to a fourth volume (such as level 6), and the earpiece and the screen sound-emitting device of the electronic device output the voice with the fourth ratio (such as 4:6) and the fourth volume (such as level 6). Through this solution, in the intelligent startup mode, during a call, in response to the operation by the user to manually adjust the volume, the electronic device adjusts the call volume.
[0038] In some possible implementation manners, the method further includes: when the second call mode (intelligent startup mode) is selected and the electronic device receives an operation by the user to adjust the call volume to a fourth volume, during a call, when the magnitude of the ambient sound where the electronic device is located is the first value or the second value, the earpiece and the screen sound-emitting device output the voice with the fourth ratio and the fourth volume. Through this solution, in the intelligent startup mode, when the user manually triggers the volume adjustment, the electronic device maintains the volume manually adjusted by the user, and this call no longer automatically adjusts the volume according to the magnitude of the ambient sound and no longer intelligently switches the call mode.
[0039] In some possible implementation manners, the method further includes: when the first call mode (default startup mode) is selected, during a call, when the magnitude of the ambient sound where the electronic device is located is the first value or the second value, the earpiece and the screen sound-emitting device of the electronic device both output the voice with the first ratio (such as 3:7) and the first volume (such as level 9). Through this solution, in the default startup mode, this call does not automatically adjust the volume according to the magnitude of the ambient sound and no longer intelligently switches the call mode.
[0040] In some possible implementations, the method further includes: when the first call mode (default startup mode) is selected, during a call, the electronic device receives an operation by the user to increase the call volume from the first volume to the third volume, and the earpiece and the screen sound-emitting device of the electronic device emit output voice at the third ratio and the third volume. Through this solution, in the default startup mode, if the user adjusts the volume from level 9 to level 10, then the electronic device exits the private call mode, increases the call volume, and ensures the listening effect.
[0041] In some possible implementations, the method further includes: during a call, the electronic device receives an operation by the user to decrease the call volume from the third volume (such as level 10) to the fifth volume (such as level 9 or below level 9), and the earpiece and the screen sound-emitting device of the electronic device emit output voice at the fifth ratio (such as 3:7 or 4:6) and the fifth volume. The fifth volume is less than or equal to the first volume.
[0042] Through this solution, in the default startup mode, if the user adjusts the volume from level 10 to level 9 or below level 9, then the electronic device switches to the private call mode, avoids sound leakage, and achieves the purpose of ensuring call privacy.
[0043] In some possible implementations, the method further includes: after the electronic device is powered on, the first call mode is default enabled. The electronic device can directly adopt the default startup mode after being powered on. In the default startup mode, it can ensure that the private call mode can be automatically enabled when starting a call, avoid call sound leakage, and protect the user's call privacy. This meets the needs of most users.
[0044] In some possible implementations, the method further includes: the electronic device receives an operation by the user on the first setting interface to switch between the first call mode, the second call mode, and the third call mode. The user can select the usage mode according to personal actual usage needs, so it better meets the user's needs.
[0045] In some possible implementations, the operation by the user to adjust the volume is an operation where the user presses the physical volume up button, or an operation where the user drags the volume adjustment button in the volume bar icon.
[0046] Through the above solution, when there is an incoming call and during a call, it is also possible to switch between different modes in response to a user's manual trigger operation according to the user's actual needs. Therefore, the automatic adjustment method and the manual adjustment method provided in this application can achieve mode switching according to actual usage needs, meeting the needs of users' calls in various scenarios.
[0047] In a second aspect, the present application provides a call control device, which includes a unit for executing the method in the first aspect above. This device can correspond to the execution of the method described in the first aspect above. For the relevant descriptions of the units in this device, please refer to the description in the first aspect above. For the sake of brevity, they will not be repeated here.
[0048] Among them, the method described in the first 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. For example, a processing module or unit, a display module or unit, etc.
[0049] In a third aspect, the present application provides an electronic device, which includes a processor. The processor is coupled to a memory, and the memory is used to store computer programs or instructions. The processor is used to execute the computer programs or instructions stored in the memory, so that the method in the first aspect is executed. For example, the processor is used to execute the computer programs or instructions stored in the memory, so that the device executes the method in the first aspect.
[0050] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program (which can also be referred to as an instruction or code) for implementing the method in the first aspect is stored. For example, when the computer program is executed by the computer, the computer can execute the method in the first aspect.
[0051] In a fifth aspect, the present application provides a chip, which includes a processor. The processor is used to read and execute the computer program stored in the memory to execute the method in the first aspect and any possible implementation manners thereof. Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.
[0052] In a sixth aspect, the present application provides a chip system, which includes a processor. The processor is used to read and execute the computer program stored in the memory to execute the method in the first aspect and any possible implementation manners thereof. Optionally, the chip system further includes a memory, and the memory is connected to the processor through a circuit or a wire.
[0053] In a seventh aspect, the present application provides a computer program product, which includes a computer program (which can also be referred to as an instruction or code). When the computer program is executed by the computer, the computer implements the method in the first aspect.
[0054] It can be understood that the beneficial effects of the second aspect to the seventh aspect above can be referred to the relevant descriptions in the first aspect above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1Schematic diagram of a structure with a receiver and sound outlet holes in an electronic device;
[0056] Figure 2 Schematic diagram of a structure with a receiver and a screen vibration device in the electronic device provided by an embodiment of the present application;
[0057] Figure 3 Schematic diagram of a structure of an electronic device provided by an embodiment of the present application;
[0058] Figure 4 Schematic diagram of a software architecture of an electronic device provided by an embodiment of the present application;
[0059] Figure 5 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied to an electronic device Figure 1 ;
[0060] Figure 6 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied to an electronic device Figure 2 ;
[0061] Figure 7 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied to an electronic device Figure 3 ;
[0062] Figure 8 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied to an electronic device Figure 4 ;
[0063] Figure 9 Schematic diagram of volume level division in a call control method provided by an embodiment of the present application;
[0064] Figure 10 Schematic diagram of a volume bar in a call control method provided by an embodiment of the present application;
[0065] Figure 11 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied Figure 1 ;
[0066] Figure 12 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied Figure 2 ;
[0067] Figure 13 Schematic diagram of the timing of a call control method provided by an embodiment of the present application;
[0068] Figure 14 Schematic diagram of an interface where a call control method provided by an embodiment of the present application is applied Figure 3 ;
[0069] Figure 15 Schematic diagram of an interface for applying a call control method provided by an embodiment of the present application Figure 4 ;
[0070] Figure 16 Another timing schematic diagram of a call control method provided by an embodiment of the present application;
[0071] Figure 17 Schematic diagram of an interface for applying a call control method provided by an embodiment of the present application Figure 5 ;
[0072] Figure 18 Schematic diagram of an interface for applying a call control method provided by an embodiment of the present application Figure 6 ;
[0073] Figure 19 Schematic diagram of an interface for applying a call control method provided by an embodiment of the present application Figure 7 ;
[0074] Figure 20 Schematic diagram of an interface for applying a call control method provided by an embodiment of the present application Figure 8 ;
[0075] Figure 21 Schematic diagram of a usage mode of a call control method provided by an embodiment of the present application;
[0076] Figure 22A Schematic diagram of a setting interface for the intelligent privacy call mode in the call control method provided by an embodiment of the present application;
[0077] Figure 22B Schematic diagram of controlling volume and mode in the call control method provided by an embodiment of the present application;
[0078] Figure 23A Schematic diagram of a mode setting interface in the call control method provided by an embodiment of the present application;
[0079] Figure 23B Schematic diagram of a mode setting interface in the call control method provided by an embodiment of the present application;
[0080] Figure 23C Schematic diagram of controlling volume and mode in the call control method provided by an embodiment of the present application;
[0081] Figure 23D Schematic diagram of controlling volume and mode in the call control method provided by an embodiment of the present application;
[0082] Figure 24A Schematic diagram of a mode setting interface in the call control method provided by an embodiment of the present application;
[0083] Figure 24B Schematic diagram for controlling volume and mode in the call control method provided by the embodiments of this application;
[0084] Figure 25A Schematic diagram of the mode setting interface in the call control method provided by the embodiments of this application;
[0085] Figure 25B Schematic diagram of the mode setting interface in the call control method provided by the embodiments of this application;
[0086] Figure 26A Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 One;
[0087] Figure 26B Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Two;
[0088] Figure 27A Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Three;
[0089] Figure 27B Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Four;
[0090] Figure 28 Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Five;
[0091] Figure 29 Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Six;
[0092] Figure 30 Schematic diagram of an interface where a call control method provided by the embodiments of this application is applied Figure 10 Seven;
[0093] Figure 31 Schematic diagram of the prompt process of a call control method provided by the embodiments of this application. Detailed implementation manners
[0094] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in this application belong to the scope of protection of this application.
[0095] At present, most mobile phones use a receiver set at the top of the mobile phone to realize voice communication and sound production. Usually, the mobile phone needs to correspondingly set sound holes at the position of the receiver to release the energy when the receiver produces sound, and the sound holes are generally opened on the front panel of the mobile phone. However, with the continuous development of mobile phones, in order to provide users with a better screen viewing experience, the screen-to-body ratio of mobile phone screens is getting higher and higher. The sound holes set on the front panel occupy a part of the front panel area of the mobile phone, which will increase the width of the mobile phone frame, so it will affect the further improvement of the screen-to-body ratio of the mobile phone.
[0096] Therefore, with the development of large-screen and full-screen mobile phones, in order to reduce the area occupied by the sound holes of the receiver (also called the earpiece) used for call sound production in voice communication on the front panel of the mobile phone, so as to further improve the screen-to-body ratio, the sound holes of some full-screen mobile phones are designed in a long-slit shape and are 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 area is large enough and has a good sound output effect, some full-screen mobile phones will also increase the openings at the top of the middle frame as sound holes.
[0097] For example, Figure 1 shows a schematic structural diagram of a mobile phone. As Figure 1 shown, 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 housing structure. As Figure 1 shown in (a) of Figure 1 , inside the housing structure, a receiver 101 (i.e., a speaker for call sound production in voice communication, also called the earpiece) is set 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 (such as, sound hole 102 and sound hole 103), and the sound of the receiver 101 can come out from the sound holes. Combining Figure 1 shown in (b) of
[0098] However, for the sound holes set in this way, when the user normally uses the mobile phone for voice communication, the user's auricle cannot completely cover the sound holes. Therefore, when the sound energy of the speaker comes out from the sound holes opened at the top of the middle frame of the mobile phone, sound leakage will occur. Figure 1 Shown in (c) of Figure 1As shown in (c), when the user holds the mobile phone and makes a voice call through the earpiece, the earpiece of the mobile phone is close to the user's ear (or auricle). Since the sound outlet holes of the mobile phone earpiece (the sound outlet hole 102 located at the side seam of the mobile phone and the sound outlet hole 103 at the top of the middle frame) cannot be completely covered by the user's ear, the sound coming out of the sound outlet holes can not only be heard by this user, but also be heard by other users in a quiet environment.
[0099] To solve the above problems, an embodiment of the present application provides a call control method. This method can be applied to an electronic device with a voice communication function. For example, this call control method can be applied to a scenario where the user listens to the earpiece through the above-mentioned electronic device, such as when the user makes a voice call through the earpiece, or listens to voice messages in an instant messaging application through the earpiece. Among them, the above-mentioned electronic device may include a display screen (also called a screen), a screen sound generating device (i.e., a device capable of generating sound by vibrating the screen), an earpiece (i.e., the above-mentioned speaker for call sound in voice communication, also called a receiver), and a sound outlet hole opened corresponding to the earpiece.
[0100] For example, Figure 2 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 2 shown in (a) and Figure 2 shown in (b), in addition to being provided with Figure 1 the earpiece 101, the sound outlet hole 102, and the sound outlet hole 103 shown in
[0101] the electronic device is also provided with a screen sound generating device 104 connected to the screen. For example, the screen sound generating device 104 is a vibration source (also called an exciter) connected to the screen. The exciter causes the screen to vibrate to realize sound generation through the screen. Among them, the screen sound generating device 104 is disposed within the housing structure of the electronic device.
[0102] It should be noted that in the embodiment of the present application, the voice output mode (also called the listening mode) of the electronic device may include a privacy call mode (privacy mode, PVM), a normal mode, and a speaker mode. Among them, the privacy call mode may also be called a smart privacy mode or a smart privacy call mode or a PVM mode or a privacy protection mode. The normal mode may also be called a conventional (normal) mode.
[0103] In some other embodiments, after the electronic device enables the private call mode, the electronic device can also output voice only by means of screen sound. It can be understood that the earpiece does not make a sound at this time.
[0104] It should be noted that in actual implementation, in the private call mode, whether to output voice by means of screen sound or mainly by screen sound and supplemented by earpiece sound can be determined according to actual usage requirements, and the embodiments of the present application do not make any limitations.
[0105] In some embodiments, after the electronic device enables the normal mode, the electronic device can combine the earpiece sound output mode and the screen sound output mode to output voice. Exemplarily, the voice output intensity corresponding to the earpiece sound output mode (for example, 70%) is greater than the voice output intensity corresponding to the screen sound output mode (for example, 30%). The mobile phone can play voice simultaneously in the mode of mainly using the earpiece and supplemented by the screen.
[0106] In some other embodiments, after the electronic device enables the normal mode, the electronic device can also output voice only by means of earpiece sound. It can be understood that the screen does not make a sound at this time.
[0107] It should be noted that in actual implementation, in the normal mode, whether to output voice by means of earpiece sound or mainly by earpiece sound and supplemented by screen sound can be determined according to actual usage requirements, and the embodiments of the present application do not make any limitations.
[0108] In some embodiments, when switching from the private call mode to the normal mode, the overall voice volume (or called loudness or intensity) can also be increased on the basis of the volume corresponding to the private call mode to improve the voice playback effect. That is to say, the overall voice loudness when using the earpiece and the screen to output voice in the normal mode is greater than the overall voice loudness when using the earpiece and the screen to output voice in the private call mode.
[0109] Compared with the earpiece sound output mode, the screen sound output mode can effectively prevent voice leakage during a voice call. Therefore, when the user answers or makes a call in a quiet environment, the user usually hopes to reduce voice leakage. At this time, the private call mode can be adopted, which can ensure clear calls while reducing voice leakage, thus achieving the effect of protecting the user's privacy.
[0110] In some embodiments, after the electronic device enables the speaker mode, the electronic device outputs voice through the speaker (also called the horn). It can be understood that the earpiece and the screen do not make a sound at this time.
[0111] It should be noted that in response to the user's operation on the electronic device, the electronic device can control the voice output mode to switch between the private call mode, the normal mode, and the speaker mode. The specific triggering conditions for the switch and the switching process will be described in detail below.
[0112] In some embodiments, the electronic device can pre-set the private call mode to be in the default on state. In this way, when the electronic device dials a call or answers an incoming call, the private call mode is automatically enabled to prevent call sound leakage, without the need for user operation, thus enhancing the user experience.
[0113] In some embodiments, when dialing a call or answering an incoming call, the output volume after this call can be automatically adjusted to an appropriate volume level according to the system call volume (specifically, the volume level) to ensure call privacy and call clarity.
[0114] In some embodiments, during a call, when the current volume level is an adjustable volume level, the mode can be automatically switched according to the ambient sound size, that is, automatically switched to the private call mode and the volume is automatically reduced in a quiet environment, thereby reducing sound leakage; automatically switched to the normal mode and the volume is automatically increased in a noisy environment, thereby ensuring call clarity. This method can be called the automatic adjustment mode.
[0115] In some embodiments, when the private call mode is not enabled, the operation method for the user to enable the private call mode can be prompted in the incoming call notification interface. For example, when receiving an incoming call notification, double-clicking the volume down key can enable or enter the private call mode. Or, when receiving an incoming call notification, if the user clicks the volume down key once, the ringtone of the incoming call notification is muted; at this time, if the user clicks the volume down key again, the electronic device can display a volume bar on the incoming call notification interface, so that the user can adjust the incoming call volume in advance when receiving the incoming call notification. This method is different from the current method that can only adjust the incoming call volume after the call is connected. This method can be called the manual adjustment mode.
[0116] In some embodiments, during a call, the electronic device can exit or enter the private call mode according to the user's operation of adjusting the volume bar. For example, the electronic device can respond to the user's operation of increasing the volume bar and exit the private call mode; the electronic device can respond to the user's operation of decreasing the volume bar and switch to (or enter) the private call mode again. It can be understood that this method also belongs to the manual adjustment mode.
[0117] For example, when receiving an operation of 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 (such as volume level 9), the privacy call mode is enabled. For example, the screen and the earpiece can simultaneously emit sound and control these two sound-emitting methods to emit sound at different volume intensities (such as 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 simultaneously emit sound and control these two sound-emitting methods to emit sound at different volume intensities (such as the intensity of the earpiece sound is greater than the intensity of the screen sound) to ensure a good sound output effect and improve the user's call experience.
[0118] The call control method provided by the embodiment of the present application can automatically adjust the answering volume to an appropriate volume according to the system call volume when answering an incoming call and enable the privacy call mode. During the call, it can automatically switch the mode according to the ambient sound size, that is, automatically switch to the privacy call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; 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 be switched between the privacy call mode and the normal mode according to the actual needs of the user in response to the user's manual trigger operation. Therefore, the present application can meet the needs of the user's call in various scenarios.
[0119] Hereinafter, the electronic device to which the call control method provided by the embodiment of the present application is applied will be described with reference to the accompanying drawings first.
[0120] Exemplarily, the electronic device in the embodiment of the present application can 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), etc., which are devices with voice communication functions. The embodiment of the present application does not impose special restrictions on the specific form of the electronic device.
[0121] Exemplarily, taking the electronic device as a mobile phone as an example, Figure 3 The structural schematic diagram of another electronic device provided by the embodiment of the present application is shown. That is, exemplarily, Figure 3 The shown electronic device can be a mobile phone.
[0122] As Figure 3As shown in the figure, 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., earpiece) 370B, a microphone 370C, a headphone jack 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a subscriber identification module (SIM) card interface 394, a display screen 395, and a screen sound generating device 396, etc.
[0123] Among them, the above-mentioned sensor module may include sensors such as a pressure sensor, a gyroscope sensor, a barometric 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 the embodiment of the present application, the electronic device may detect whether the user's ear is close to the earpiece through sensors such as a proximity light sensor (i.e., a light sensor) and a distance sensor. For example, the electronic device may detect whether there is an obstruction in front of the front panel (or the screen) of the mobile phone and the distance between the obstruction and the screen through the distance sensor to determine whether the current user's ear is close to the earpiece.
[0124] It can 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 those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0125] 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), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0126] The controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
[0127] A memory can also be set in the processor 310 to store instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory can save the instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
[0128] In some embodiments, the processor 310 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0129] It can be understood that the interface connection relationships among the modules illustrated in this embodiment are only illustrative and do not constitute a limitation on the structure of the mobile phone. In other embodiments, the mobile phone can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0130] In the embodiments of the present application, the electronic device can determine the category of the current listening environment (quiet environment or noisy environment) through the processor 310, and then adjust the frequency bands of the speakerphone and the screen sound respectively according to the category of the listening environment to control the speakerphone and the screen sound to play the sounds in the corresponding frequency bands of the sound signal respectively, so as to avoid sound leakage of the electronic device when a person listens with ears in a quiet environment.
[0131] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to implement the storage capacity expansion of the mobile phone. The internal memory 321 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 310 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 321. For example, in the embodiments of the present application, the processor 310 can execute the instructions stored in the internal memory 321, and the internal memory 321 can include a program storage area and a data storage area.
[0132] The charging management module 340 is used to receive a charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342. The power management module 341 is used to connect the battery 342, the charging management module 340, and the processor 310. The power management module 341 receives the inputs from the battery 342 and / or the charging management module 340 to supply power to each component of the electronic device.
[0133] The wireless communication function of the mobile phone can be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modulation and demodulation processor, and the baseband processor, etc.
[0134] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0135] In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the mobile phone can communicate with the network and other devices through wireless communication technologies. The above-mentioned mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc. applied to the mobile phone. The mobile communication module 350 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves by the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0136] The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 350 can be disposed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 can be disposed in the same device.
[0137] The wireless communication module 360 can provide solutions for wireless communications applied to mobile phones, including wireless local area networks (WLANs) (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.
[0138] The wireless communication module 360 can be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 310. The wireless communication module 360 can also receive the signals to be sent from the processor 310, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0139] Of course, the above wireless communication module 360 can also support the mobile phone for voice communication. For example, the mobile phone can access the Wi-Fi network through the wireless communication module 360, and then use any application program that can provide voice communication services to interact with other devices to provide voice communication services for users. For example, the above application program that can provide voice communication services can be an instant messaging application.
[0140] The keys 390 include a power-on key, volume keys, etc. The motor 391 can generate vibration prompts. The indicator 392 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 394 is used to connect the SIM card. The mobile phone can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
[0141] The mobile phone can implement the display function through the GPU, the display screen 395, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 395 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 can include one or more GPUs, which execute program instructions to generate or change the display information. The display screen 395 is used to display images, videos, etc.
[0142] The mobile phone can implement the shooting function through the ISP, camera 393, video codec, GPU, display screen 395, application processor, etc. The ISP is used to process the data fed back by the camera 393. In some embodiments, the ISP can be set 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.
[0143] The mobile phone can implement the audio function through the audio module 370, speaker 370A, receiver (i.e., earpiece) 370B, microphone 370C, headphone jack 370D, and application processor, etc. Such as music playback, recording, etc. Specifically in the embodiments of this application, the receiver 370B is Figure 2 the earpiece 101 shown in (a) of
[0144] The audio module 370 is used to convert the digital audio signal into an analog audio signal for output, and is also used to convert the analog audio input into a digital audio signal. The audio module 370 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 370 can be set in the processor 310, or some functional modules of the audio module 370 can be set in the processor 310. The speaker 370A, also known as the "loudspeaker", is used to convert the audio electrical signal into a sound signal. The receiver 370B, also known as the "earpiece", is used to convert the audio electrical signal into a sound signal. The microphone 370C, also known as the "microphone", "transmitter", is used to convert the sound signal into an electrical signal. The headphone jack 370D is used to connect a wired headphone. The headphone jack 370D can be a USB interface 330, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0145] The screen sound generating device 396 is a vibration source device connected to the display screen 395. The screen sound generating device 396 causes the display screen 395 to vibrate to achieve sound emission through the screen. Specifically in the embodiments of this application, the screen sound generating device 396 is Figure 2 the earpiece 104 shown in (a) of
[0146] In an embodiment of the present application, the electronic device outputs voice by controlling the receiver 370B and the screen sound generating device 396, that is, the screen sound generating method and the receiver sound generating method can be combined to output voice. Exemplarily, in an 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 sound signals are played by the receiver 370B of the audio module 370, and at the same time, the screen sound generating device 396 drives the display screen 395 to generate screen sound to play the sound signals.
[0147] Exemplarily, in an 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 as to facilitate the processor 310 to determine the category of the current listening environment according to the detected sound intensity of the ambient sound.
[0148] The above is a specific description of the embodiment of the present application taking the electronic device 100 as an example. It should be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. The electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0149] The electronic device provided by the embodiment of the present application may be a user equipment (UE), for example, it may be a mobile terminal (such as a user's mobile phone), a tablet computer, a desktop type, a laptop computer, a handheld computer, a netbook, a personal digital assistant (PDA), and other devices.
[0150] In addition, on top of the above hardware, an operating system is running. The operating system at the operating system layer may be any one or more computer operating systems that implement service processing through processes. For example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or windows operating system, etc. Application programs can be installed and run on the operating system.
[0151] The operating system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In an embodiment of the present application, taking the Android system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.
[0152] Figure 4 It is a software structure block diagram of the electronic device 100 in an embodiment of the present application.
[0153] The layered architecture divides software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer (applications), the application framework layer (application framework), the Android Runtime (AndroidRuntime), and the system libraries, as well as the kernel layer (kernel).
[0154] Among them, the application layer may include a series of application packages. For example, the application layer may include camera APP, gallery APP, calendar APP, map APP, navigation APP, WLAN, Bluetooth, music APP, video APP, short message APP, sports health APP and other applications (applications can be simply referred to as apps), and the embodiments of the present application do not make any restrictions on this.
[0155] The applications in the application layer can be divided into system applications and non-system applications. Among them, the system applications can specifically include call APP, desktop APP, System User Interface (SystemUI), etc., and the non-system applications can include game APP, map APP, short video APP, social APP, shopping APP, etc.
[0156] In the embodiments of the present application, the application layer may further include a context awareness module, a service logic processing module, a service presentation module, etc. The context awareness module, the service logic processing module, and the service presentation module may be independent apps, or may be integrated into different apps respectively, or may be integrated into the same app, and the present application does not make a limitation.
[0157] Among them, the context awareness module runs permanently or in a low-power form and has the ability to sense 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 an application programming interface (API), such as detecting Bluetooth connection, network connection, monitoring user text messages, customizing timers, etc. In the embodiments 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 phone was hung up last time. 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 magnitude value of the ambient sound. The context awareness module is also used to monitor the click (such as single click or double click) event of the volume down key (volume - key) triggered by the user. The context awareness module can notify the monitored information to the service logic processing module.
[0158] The business logic processing module (such as: computing engine) has the ability to process business logic, and is used to perform data processing or logical judgment according to the information monitored by the context awareness module and the preset logical algorithm, so as to realize the adjustment of call volume size and mode switching. For example, the business logic processing module determines whether the volume adjustment and mode switching conditions are met according to the incoming call event and the system call volume, so as to determine whether to adjust the volume and switch the mode. The business logic processing module can also determine that the incoming call has been answered according to the operation of answering the incoming call, and further determine whether the volume adjustment and mode switching conditions are met according to the value of the ambient sound, so as to determine whether to adjust the volume and switch the mode. The specific judgment process will be described in detail below.
[0159] The service presentation module (such as: YOYO suggestion) is used to display the volume bar and the change of the volume bar on the screen of the mobile phone according to the instructions of the business logic processing module, and prompt the switched mode after the mode switching. For example, in the case of enabling the private call mode, it displays the intelligent private call mode or the private call mode has been enabled. For example, the service 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 incoming call notification interface or the call interface. At the same time, the service presentation module can also present the volume size and change in the volume bar; among them, the volume size can be measured by the volume level, which will be described in detail below. In addition, the service presentation module can also display the volume bar and the volume change in the call interface according to the event that the user triggers the click of the volume down key.
[0160] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. As Figure 4 shown, the application framework layer may include a call manager, a window manager, a content provider, a view system, a resource manager, a notification manager, etc., an activity manager, etc., and the embodiments of the present application do not make any restrictions on this.
[0161] The call manager is used to manage the call status of the mobile phone, 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 can call the phone dialer to make a call. The call manager can also be called the call service module, abbreviated as call service.
[0162] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, in the embodiments of this application, the view system can be used to display an incoming call notification interface and a call interface on the desktop.
[0163] The notification manager enables an application to display notification information in the status bar. It can be used to convey messages of the notification type, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the current call has enabled intelligent privacy call, etc. For example, it prompts text information or privacy call icons in the incoming call notification interface, the call interface, or the drop-down menu bar.
[0164] The window manager is used to manage window programs. The window manager can obtain the display screen size, as well as the size and shape of the volume bar, and determine whether it is necessary to adjust the size and shape of the volume bar, etc.
[0165] The activity manager is used to manage the life cycle of each application and the navigation back function, and is responsible for creating the main thread of Android and maintaining the life cycle of each application.
[0166] The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
[0167] Android Runtime includes core libraries and a virtual machine. Android Runtime is responsible for the scheduling and management of the Android system.
[0168] The core libraries contain two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core libraries of Android.
[0169] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0170] The system libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (such as: openGL ES), 2D graphics engines (such as: SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D layers and 3D layers for multiple applications.
[0171] The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
[0172] It should be noted that although the embodiments of the present application are described by taking the Android system as an example, the basic principles thereof are equally applicable to electronic devices based on operating systems such as iOS or Windows.
[0173] The execution subject of the call control method provided by the embodiments of the present application may be the above-mentioned electronic device, or a functional module and / or functional entity in the electronic device that can implement the call control method. Moreover, the solution of the present application can be implemented in a hardware and / or software manner, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make any limitations. Taking the electronic device as an example below, the call control method provided by the embodiments of the present application will be described exemplarily with reference to the accompanying drawings.
[0174] The embodiments of the present application will be illustrated by the following multiple exemplary embodiments with reference to 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 as Figure 3 shown, and the software structure block diagram of the electronic device can be as Figure 4 shown, but the embodiments of the present application are not limited thereto. For the sake of convenience of description, in the embodiments of the present application, the electronic device is taken as a mobile phone as Figure 3 shown as an example.
[0175] First of all, it should be noted that in the embodiments of the present application, the call volume set by the system is simply referred to as the system call volume, which can be specifically represented by a volume level.
[0176] The embodiments of the present application provide a call control method, which automatically adjusts the answering volume to an appropriate volume level according to the system call volume when answering an incoming call and enables the private call mode. Moreover, during the call, it can automatically switch modes according to the ambient sound level, that is, automatically switch to the private call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; 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 be switched between the private call mode and the normal mode in response to a user's manual trigger operation according to the actual needs of the user. Therefore, the solution of the present application can meet the call needs of users in various scenarios.
[0177] The audio control method provided by the embodiments of the present application can be applied to the voice call scenario. For example, the voice call scenario can be an incoming call scenario when receiving a call, or a call scenario after answering an incoming call, or an outgoing call scenario when making a call, or a call scenario after the outgoing call is answered. Of course, it can also be any other possible voice call scenario, and the embodiments of the present application do not make any limitations. For the sake of convenience of description, the interfaces adopted in the above various voice call scenarios are collectively referred to as the voice call interface in the following text.
[0178] In the embodiments of the present application, the electronic device defaults to have the intelligent privacy call function enabled. After the intelligent privacy call function is enabled, the privacy call mode can be directly enabled in the scenario of a voice call, or enabled when the volume value of the electronic device is lower than or equal to a preset volume level (such as volume level 9) in the scenario of a voice call. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0179] As described above, the privacy call mode can combine the screen sound output method and the earpiece sound output method to output voice. Optionally, the voice output intensity corresponding to the screen sound output method is greater than or equal to the voice output intensity corresponding to the earpiece sound output method. Or, the privacy call mode can output voice only through the screen sound output method. Compared with the earpiece sound output method, the screen sound output method can effectively prevent sound leakage during a voice call. Therefore, when the user makes or answers a call in a quiet environment, the user usually hopes to reduce sound leakage. At this time, the privacy call mode can be used, which can ensure clear calls while reducing sound leakage, thus achieving the effect of protecting the user's privacy.
[0180] In some embodiments, when the electronic device receives a call, it can default to enable the privacy call mode corresponding to the intelligent privacy call function, and display a prompt message related to the enabled intelligent privacy call function in the incoming call notification interface. Optionally, the prompt message can be text, an icon, or a combination of text and an icon.
[0181] In some embodiments, after the intelligent privacy call function is enabled, when using the earpiece to make or answer a call each time, an introduction and description of the intelligent privacy call function (such as: ensuring clear calls while reducing sound leakage and protecting privacy) can be displayed in a bubble box on the voice call interface; operation methods such as "Intelligent Privacy Call Enabled" and / or "Get closer to this area for clearer sound" can also be displayed in a specific area (i.e., the screen sound output area). These prompt messages introduce the intelligent privacy call function and guide the user to use the intelligent privacy call function.
[0182] Exemplarily, taking the incoming call scenario as an example, Figure 5 shows a schematic diagram of the incoming call notification interface. As shown in (a) of Figure 5 below, the following prompt messages are displayed in the incoming call notification interface 40: "Intelligent Privacy Call Enabled" 41, "Ensuring clear calls while reducing sound leakage and protecting privacy" 42 (located in the bubble box). As shown in Figure 5As shown in (b) of [Figure 0], the following prompt messages are displayed in the incoming call notification interface 40: "Get closer to this area for clearer sound" 43 and "Reduce sound leakage and protect privacy while ensuring clear calls" 42. These prompt messages are all used to indicate that the privacy call mode has been enabled. Among them, in the incoming call notification interface 40, "Intelligent Privacy Call Enabled" 41 and "Get closer to this area for clearer sound" 43 can be alternately displayed (i.e., carousel). This allows users to learn about the intelligent privacy call function more quickly and learn to use this function, enhancing the human-computer interaction experience.
[0183] It should be noted that the above prompt messages are all for illustrative purposes. The specific content, display location, display quantity, display size, display style, etc. of the prompt messages can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0184] Optionally, the above prompt messages can be displayed in the voice call interface in the first N call scenarios (for example, N = 3) after the intelligent privacy call function is enabled, to guide users to use this intelligent privacy call function, and the display is cancelled in subsequent call scenarios. For example, in the voice call interface, the introduction and explanation of the intelligent privacy call function such as "Reduce sound leakage and protect privacy while ensuring clear calls" 42 can be cancelled.
[0185] In some embodiments, when the user clicks on any position (including the answer button) in the voice call interface, the introduction and explanation information of the intelligent privacy call function in the voice call interface is cancelled. For example, the bubble box corresponding to "Reduce sound leakage and protect privacy while ensuring clear calls" 42 disappears.
[0186] In some embodiments, in the voice call interface, "Intelligent Privacy Call Enabled" can be a permanent prompt. That is, when the user clicks on any position (including the answer button) in the voice call interface, the prompt message "Intelligent Privacy Call Enabled" can remain displayed.
[0187] Exemplarily, taking the call scenario after answering an incoming call as an example, Figure 6 The schematic diagrams of the incoming call notification interface and the voice call interface after answering are shown. As Figure 6 shown in (a) of [Figure 0], the user clicks the answer button 44 in the incoming call notification interface 40 to answer the call. As Figure 6 shown in (b) of [Figure 0], in response to the user's operation on the answer button 44, the incoming call notification interface 40 switches to display the voice call interface 45. The following prompt messages are displayed in the voice call interface 45: "Intelligent Privacy Call Enabled" 41 and the icon 46 indicating a privacy call. In Figure 6 in (b) of [Figure 0], Figure 6 the bubble box corresponding to "Reduce sound leakage and protect privacy while ensuring clear calls" shown in (a) of [Figure 0] disappears.
[0188] In some embodiments, when the intelligent privacy call function is enabled, when the user pulls down the menu bar, a notification card for indicating an ongoing voice call and a notification card for indicating that the intelligent privacy call function has been enabled are displayed in the menu bar.
[0189] Exemplarily, Figure 7 A schematic diagram showing the notification card regarding the intelligent privacy call function displayed in the menu bar is shown. As Figure 7 shown in (a) of, the user slides a finger downward along the arrow direction on the voice call interface 46 to pull down the menu bar. As Figure 7 shown in (b) of, the menu bar (also referred to as the notification interface or notification center) is displayed. A notification card 47 and a notification card 48 are displayed in the menu bar. The notification card 47 is used to indicate an ongoing voice call, and the notification card 48 is used to indicate that the intelligent privacy call function has been enabled.
[0190] Through these notification cards, it is convenient for the user to better know the application scenarios and application effects of the intelligent privacy call function, improving the user experience.
[0191] In some embodiments, the call control method provided by the embodiments of the present application is also applicable to voice over Internet protocol (VoIP). Exemplarily, Figure 8 A schematic diagram of the interface of a VoIP call scenario is shown. As Figure 8 shown, "Intelligent Privacy Call Enabled" 51 and an icon 52 for identifying a privacy call are displayed in the VoIP call interface 50, which is used to prompt that the current call scenario uses the privacy call mode to implement voice output.
[0192] The above has described the possible ways to enable the privacy call mode and the display effect of the voice call interface after enabling. Next, the possible implementation ways of the privacy call mode in actual use will be described in detail in combination with the interface.
[0193] It should be noted that the above embodiments are described by taking the incoming call scenario and the call scenario after answering the incoming call as examples for illustration. It can be understood that in actual implementation, the call control method provided by the embodiments of the present application is also applicable to the outgoing call scenario and the call scenario after answering the outgoing call. For the specific description related to the intelligent privacy call function, reference can be made to the detailed description of the intelligent privacy call function in the above incoming call scenario and the call scenario after answering the incoming call, and details will not be repeated here.
[0194] 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. When playing these voice messages, the smart privacy call function provided in the embodiment of the present application can also be applied to avoid sound leakage when playing voice messages.
[0195] It should be further 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.
[0196] 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.
[0197] It can be understood that the call control method provided in the embodiment of the present application can be applicable to various scenarios in which the user needs to listen to the audio through the electronic device close to the ear, and the embodiment of the present application is not limited to this.
[0198] The following first describes, in conjunction with 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.
[0199] In some embodiments, the electronic device can divide different volumes 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 according to actual usage requirements, and the embodiments of the present application are not limited thereto.
[0200] 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 A schematic diagram showing the division of volume levels and the mapping relationship between each volume level and volume value is shown. Figure 9As shown, the volume level can be divided into levels 1 to 10. Optionally, the volume level range [level 1, level 9] corresponds to the private call mode, and volume level 10 corresponds to the normal mode. That is, if the volume level is within the volume level range of [level 1, level 9], the private call mode is used to output voice during a call; if the volume level is 10, the normal mode is used to output voice during a call. Exemplarily, the volume values corresponding to levels 1 to 10 are: 16dB, 13dB, 10dB, 7dB, 4dB, 5dB, 0dB, -2dB, -5.8dB, -8.8dB. Among them, 0dB can be understood as the reference volume, 16dB, 13dB, 10dB, 7dB, 4dB, and 5dB can be respectively understood as the reduction amounts based on 0dB, and -2dB, -5.8dB, and -8.8dB can be respectively understood as the increase amounts based on 0dB. Of course, each volume level can also correspond to other volume values.
[0201] It should be noted that the mapping relationship between each volume level and the volume value here is for illustrative purposes. It can be understood that in actual implementation, the volume values corresponding to each volume level can be set according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0202] In the embodiments of the present application, whether the electronic device is in the private call mode or the normal mode, the earpiece and the screen sound generating device can both generate sound simultaneously.
[0203] In some embodiments, the screen sound generating device is responsible for outputting high-frequency sounds, and the earpiece is responsible for outputting medium and low-frequency sounds.
[0204] In some embodiments, in different modes, the earpiece and the screen sound generating device can respectively generate sound at different sound output intensity ratios.
[0205] Exemplarily, after the electronic device enables the private call mode, the electronic device can play voice simultaneously in a manner that gives priority to the screen sound generating device and supplements it with the earpiece; among them, the voice output intensity corresponding to the screen sound generating method (for example, 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound generating method (for example, 30%).
[0206] Exemplarily again, when the electronic device is in the normal mode, the electronic device can play voice simultaneously in a manner that gives priority to the earpiece and supplements it with the screen sound generating device; among them, the voice output intensity corresponding to the earpiece sound generating method (for example, 70%) is greater than the voice output intensity corresponding to the screen sound generating method (for example, 30%).
[0207] In some embodiments, for different volume levels in the same mode, the earpiece and the screen sound generating device can respectively generate sound at different sound output intensity ratios. For example, within the range of [level 1, level 9], the sound output intensity ratios of the earpiece and the screen sound generating device can be set differently.
[0208] 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-emitting device can also be set to be the same. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make any limitations. For the sake of convenience of description, for different volume levels in the same mode, the following will give an exemplary description with the same sound intensity ratio. For example, when the system volume level is within the range of [Level 1, Level 9], the sound intensity ratio of the earpiece and the screen sound-emitting device is the first ratio (for example, 3:7). When the system volume level is Level 10, the sound intensity ratio of the earpiece and the screen sound-emitting device is the second ratio (for example, 7:3). Among them, the second ratio is greater than the first ratio.
[0209] It should also be noted that the above takes the change of the volume level from Level 9 to Level 10 and the change of the volume level from Level 10 to Level 9 as examples for exemplary illustration. In actual implementation, it is not limited to switching modes between Level 9 and Level 10, 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 within the range of [Level 1, Level 6], the privacy call mode is enabled at this time; when the volume level is within the range of [Level 7, Level 10], the normal mode is enabled at this time. In this case, when the volume level changes from Level 6 to Level 7, it can trigger the switch from the privacy call mode to the normal mode; or, when the volume level changes from Level 7 to Level 6, it can trigger the switch from the normal mode to the privacy call mode.
[0210] It should also be noted that the embodiments of the present application take the change of the volume level as an example to trigger the switch between the normal mode and the privacy call mode. For example, when the volume level is greater than the volume level threshold, it switches to the normal mode; when the volume level is less than or equal to the volume level threshold, it switches to the privacy call mode. It can be understood that in actual implementation, it can also be triggered to switch between the normal mode and the privacy call mode according to the change of the volume value. For example, when the volume value (such as the decibel value) is greater than the volume threshold (such as the decibel threshold), it switches to the normal mode; when the volume value is less than or equal to the volume threshold, it switches to the privacy call mode. Which of the above specific methods to adopt can be determined according to actual usage requirements, and the embodiments of the present application do not make any limitations.
[0211] In the embodiments of the present application, the size of the volume value can be represented in the form of a volume bar. Based on the above example of volume level division, the possible forms of the volume bar corresponding to each volume level in the embodiments of the present application will be described below.
[0212] Exemplarily, different volume levels are distinguished by different filling lengths in the volume bar. For example, the more the volume bar is filled, the higher the volume level, and in this case, the voice output volume is greater. When the volume bar is fully filled, it corresponds to level 10, indicating that the maximum volume has been reached. When the volume bar is not filled, it indicates mute.
[0213] Optionally, in the embodiments of the present application, when not limiting the normal mode and the private call mode, the display form, display color, display length, etc. of the volume bar are not limited.
[0214] Exemplarily, taking the display color of the volume bar to distinguish the normal mode and the private call mode as an example for exemplary illustration. For example, when the volume bar is blue, it indicates that the device is in the normal mode; when the volume bar is green, it indicates that the device is in the private call mode. When the volume bar changes from blue to green, it indicates a switch from the normal mode to the private call mode; when the volume bar changes from green to blue, it indicates a switch from the private call mode to the normal mode.
[0215] In the embodiments of the present application, different icons can be used to represent the private call mode and the normal mode respectively for distinction. Specifically, the icons used to identify the call mode can be determined according to actual usage requirements in terms of display position, display size, display form, etc., and are not limited in the embodiments of the present application. Optionally, the icons used to identify the call mode can be displayed below or above the volume bar.
[0216] Exemplarily, Figure 10 For Figure 9 the schematic diagrams of the volume bar corresponding to each volume level shown. As Figure 10 shown, volume levels 1 to 9 all correspond to the private call mode, and volume level 10 corresponds to the normal mode. Among them, different icons are displayed below the volume bar to respectively identify the private call mode and the normal mode.
[0217] In some embodiments, when switching between the private call mode and the normal mode, while the filling amount of the volume bar changes, the icons of the call mode will also change accordingly to prompt the user that the call mode has been switched, thereby improving the user experience.
[0218] In some embodiments, when switching between the private call mode and the normal mode, the electronic device can prompt the user by displaying specific prompt information.
[0219] In some embodiments, when switching between the private call mode and the normal mode, the electronic device can vibrate to prompt the user, improving the user experience.
[0220] The call control method provided by the embodiments of the present application can automatically adjust the answering volume to an appropriate volume level according to the system call volume level when answering an incoming call and enable the private call mode. During the call, it can automatically switch modes according to the ambient sound size, that is, automatically switch to the private call mode and automatically reduce the volume in a quiet environment, thereby reducing sound leakage; 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 private call mode and the normal mode in response to a user's manual trigger operation according to the actual needs of the user. Therefore, the automatic adjustment method and the manual adjustment method provided by the present application can achieve mode switching according to the actual usage requirements, meeting the call needs of users in various scenarios.
[0221] For the switching between the private call mode and the normal mode, the embodiments of the present application provide an automatic adjustment method and a manual adjustment method. Based on the above basic contents such as the volume level division, the volume bar, and the mode correspondence relationship, the call control method provided by the embodiments of the present application will be introduced in combination with specific embodiments.
[0222] First Embodiment: Automatic Adjustment Method
[0223] In the embodiments of the present application, in the incoming call scenario, the electronic device obtains the system call volume, and then determines whether to automatically adjust the volume and whether to perform mode adjustment 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 previous call was hung up, or the volume after the user adjusts the "call volume" in the "Sound and Vibration" settings interface. The system call volume can specifically be measured by a volume level. For example, the system call volume can be a certain volume level among the volume levels from 1 to 10.
[0224] Exemplarily, in the embodiments of the present application, the following call control rules can be preset:
[0225] When the system call volume is within the range of volume levels from 1 to 9, the call volume after this incoming call is connected will remain the system call volume, and enter the private call mode. Refer to (a) in Figure 11 and (b) in Figure 11 As shown, when the system call volume is 4, the call volume after this incoming call is connected remains 4, and enters the private call mode. When the system call volume is 9, the call volume after this incoming call is connected remains 9, and enters the private call mode.
[0226] When the system call volume is 10, the call volume after this incoming call is connected is reduced to a preset volume (such as 9), and enters the private call mode. Refer to Figure 11As shown in (c), when the system call volume is at level 10, the call volume after this incoming call is connected is automatically lowered to level 9, and the private call mode is entered.
[0227] In an embodiment of the present application, in the call scenario after an incoming call is connected, the electronic device monitors the ambient sound (also referred to as ambient noise or ambient sound or ambient noise, etc.), and then the electronic device determines whether to automatically adjust the volume according to the magnitude of the ambient sound, and makes corresponding switches between the private call mode and the normal mode when adjusting the volume.
[0228] In a possible implementation manner, in the call scenario after an incoming call is connected, when the current call output volume is at level A volume (such as level 9 and level 10 volume), the electronic device is triggered to collect the ambient sound, and then determines whether to automatically adjust the volume and perform mode adjustment according to the magnitude of the ambient sound.
[0229] For example, when the current call output volume is at level 9 volume, the electronic device collects the ambient sound, and then determines whether to automatically increase the volume and whether to switch from the private call mode to the normal mode according to the magnitude of the ambient sound. Specifically, when the ambient sound is greater than a certain ambient sound threshold (such as 55 dB), it indicates that the environment where the electronic device is located is a noisy environment, and it is necessary for the electronic device to output the other party's call voice at a high volume to ensure the clarity of the call. In this case, the electronic device can automatically increase the volume to level 10 volume and switch from the private call mode to the normal mode. It should be noted that the above ambient sound threshold can be set according to actual needs, and the embodiments of the present application do not limit this.
[0230] For another example, when the current call output volume is at level 10 volume, the electronic device collects the ambient sound, and then determines whether to automatically decrease the volume and whether to switch from the normal mode to the private call mode according to the magnitude of the ambient sound. Specifically, when the ambient sound is less than or equal to a certain ambient sound threshold (such as 55 dB), it indicates that the environment where the electronic device is located is a quiet environment. If the voice is output in the normal mode, there may be a risk of call voice leakage, and it is necessary to ensure call privacy. In this case, the electronic device can automatically decrease the volume to level 9 volume and switch from the normal mode to the private call mode.
[0231] Exemplarily, Figure 12 shows a schematic diagram of the call control method provided by the embodiments of the present application for controlling the volume and mode when an incoming call is connected and controlling the volume and mode according to the ambient sound after the call is connected. Refer to Figure 12 As shown in (a), when the current system call volume is at level 8 volume, when an incoming call is connected, the earpiece and the screen sound device emit sound at a first ratio and at level 8 volume, and the private call mode is entered. During the call, it is always in the private call mode, and the change of the ambient sound does not trigger the automatic adjustment of the call volume. For example, the first ratio is 3:7.
[0232] Reference Figure 12 As shown in (b) of [], when the system call volume is at level 9, when an incoming call is connected, the earpiece and the screen sound emitter emit sound at the third ratio and at level 9, entering the 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 55 dB), the electronic device raises the system call volume to level 10, exiting the private call mode. In this case, the earpiece and the screen sound emitter emit sound at the second ratio and at level 10. 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 9, entering the private call mode again, and the earpiece and the screen sound emitter emit sound at the third ratio and at level 9. Exemplarily, the second ratio is 7:3. Among them, the third ratio and the first ratio may be the same or different. For example, both the third ratio and the first ratio are 3:7, or the first ratio is 3:7 and the third ratio is 4:6.
[0233] Reference Figure 12 As shown in (c) of [], when the system call volume is at level 10, when an incoming call is connected, the earpiece and the screen sound emitter emit sound at the third ratio and at level 9, entering the 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 55 dB), the electronic device raises the system call volume to level 10, exiting the private call mode. In this case, the earpiece and the screen sound emitter emit sound at the second ratio and at level 10. 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 9, entering the private call mode again, and the earpiece and the screen sound emitter emit sound at the third ratio and at level 9.
[0234] It should be noted that if the system call volume is at level 10 before answering an incoming call, the electronic device can adjust the volume to level 9 before answering the incoming call, or it can also adjust the volume to level 9 after the incoming call is connected. Specifically, it can be set according to actual needs, and the embodiments of this application do not make limitations in this regard.
[0235] Figure 13 shows the timing schematic diagram of the call control method provided by the embodiments of this application. As Figure 13 shown, the call control method includes S101 to S114. The involved modules include call service, call APP, basic service, playback control module, volume control module, and decision center.
[0236] S101. The call service defaults to enabling the private call function.
[0237] When the private call function is enabled, the following solutions can be executed when a call notification is received or when a call is connected: Based on the size of the system call volume, determine whether the volume level needs to be adjusted and whether to enable the private call mode for this call to avoid sound leakage during the call.
[0238] S102. The call service receives an incoming call signal.
[0239] S103. In response to the incoming call signal, the call service starts the call APP.
[0240] Correspondingly, the call APP starts and triggers the display of an incoming call notification interface on the desktop. The incoming call notification interface displays an answer button, and the answer button is used to trigger answering the incoming call.
[0241] S104. The call service instructs the playback control module to play a ringtone.
[0242] Correspondingly, the playback control module plays the incoming call ringtone.
[0243] S105. The call service notifies the basic service of the incoming call signal.
[0244] S106. In response to the incoming call signal, the basic service obtains the system call volume.
[0245] Among them, the system call volume can be measured by the volume level. For example, the level of the system call volume can be any level from 1 to 10.
[0246] S107. The basic service notifies the decision center of the system call volume (specifically, it can be the volume level).
[0247] S108. The decision center determines whether the system call volume is greater than the volume level threshold.
[0248] Exemplarily, the volume level threshold can be set to level 9.
[0249] It should be noted that S109 and S110 below are executed alternatively.
[0250] S109. When the system call volume is greater than the volume level threshold, the decision center notifies the volume control module: lower the volume to level 9 and enter the private call mode.
[0251] For example, if the system call volume is at level 10, the volume can be adjusted to level 9 and enter the private call mode.
[0252] S110. When the system call volume is less than or equal to the volume level threshold, the decision center notifies the volume control module: keep the system call volume unchanged.
[0253] For example, the level of the system call volume can be any one of levels 1 to 9. Assuming the system call volume is level 9, the system call volume can be maintained at level 9 and the private call mode can be entered.
[0254] S111. The call APP receives the operation of the user clicking the answer button.
[0255] S112. The call APP notifies the volume control module of the incoming call connection signal.
[0256] S113. In response to the incoming call connection signal, the volume control module instructs the playback control module to adopt the private call mode.
[0257] S114. The playback control module outputs voice in the private call mode during the call.
[0258] It should be noted that since S109 and S110 are executed alternatively, when S114 outputs voice in the private call mode, the answer volume level during the call will be determined according to the result of the alternative execution of S109 and S110. Exemplarily, in the case of S109, the earpiece and the screen sound device emit sound at the first ratio and at level 9 volume. In the case of S110, the earpiece and the screen sound device emit sound at the first ratio and at a volume below level 9.
[0259] The following will describe in detail the implementation process of automatically adjusting the volume according to the system call volume when the incoming call is connected, in combination with the schematic diagram of the mobile phone interface.
[0260] As Figure 14 shown in (a) of, the electronic device receives an incoming call notification and displays an incoming call notification interface, in which a prompt message "Intelligent Private Call Mode" is displayed, indicating that the intelligent private call function is default enabled, and once the incoming call is connected, the "Intelligent Private Call Mode" can be used to output voice.
[0261] In response to the user's answer operation, as Figure 14 shown in (b) of, the electronic device connects the incoming call, and the earpiece and the screen sound device of the electronic device emit sound at the first ratio and at level 6 volume. At this time, it is in the private call mode.
[0262] Exemplarily, the first ratio is 3:7. It should be noted that the earpiece and the screen sound device emitting sound at the first ratio and at level 6 volume means that the earpiece and the screen sound device emit sound together, and the total volume of their sounds is level 6 volume; in the total volume, the sound intensity ratio of the earpiece is 3, and the sound intensity ratio of the screen sound device is 7.
[0263] As Figure 14 shown in (c) of, the electronic device receives the operation of the user turning up the volume. As Figure 14As shown in (d) therein, the electronic device increases the volume, for example, increases the volume to level 10. In this case, the earpiece and the screen sound generating device of the electronic device emit sound at a second ratio and at level 10 volume, and at this time, the private call mode is exited. Among them, the second ratio is greater than the first ratio.
[0264] Exemplarily, the second ratio is 7:3. It should be noted that the earpiece and the screen sound generating device emitting sound at a second ratio and at level 10 volume means that the earpiece and the screen sound generating device emit sound together, and the total volume of their sounds is level 10 volume; in the total volume, the sound intensity ratio of the earpiece is 7, and the sound intensity ratio of the screen sound generating device is 3.
[0265] As Figure 14 shown in (e) therein, the electronic device receives an operation from the user to hang up the phone, and this call ends.
[0266] As Figure 14 shown in (f) therein, the electronic device receives a call notification again and displays a call notification interface. Similarly, the call notification interface displays a prompt message "Smart Private Call Mode", indicating that the smart private call function is default enabled, and once the call is connected, the "Smart Private Call Mode" can be used to output voice.
[0267] In response to the user's answering operation, as Figure 14 shown in (g) therein, the electronic device answers the call, and the earpiece and the screen sound generating device of the electronic device emit sound at a third ratio and at level 9 volume, and at this time, it is in the private call mode. Among them, the third ratio is less than the second ratio. And the third ratio may be the same as or different from the first ratio.
[0268] Exemplarily, the third ratio can be 4:6. It should be noted that the earpiece and the screen sound generating device emitting sound at a third ratio and at level 9 volume means that the earpiece and the screen sound generating device emit sound together, and the total volume of their sounds is level 9 volume; in the total volume, the sound intensity ratio of the earpiece is 4, and the sound intensity ratio of the screen sound generating device is 6.
[0269] It should be noted that Figure 14 the specific volume level of the system call volume and the sound ratio values of the earpiece and the screen sound generating device in the above are all exemplary explanations. In actual implementation, they can be set or confirmed according to the actual situation, and the embodiments of the present application do not make limitations.
[0270] In some embodiments, during a call, the electronic device can continuously collect ambient sound and automatically adjust the volume according to the change in the ambient sound level. When the ambient sound is less than or equal to a preset ambient sound threshold and the answering volume is relatively large (e.g., volume level 10), it can be determined that the volume needs to be automatically decreased and the private call mode is entered; when the ambient sound is greater than the preset ambient sound threshold and the answering volume is relatively small (e.g., volume level 9), it can be determined that the volume needs to be automatically increased and the private call mode is exited.
[0271] The following will describe in detail the implementation process of automatically adjusting the volume according to the system call volume or the change in the ambient sound level after a call is connected, in combination with the schematic diagram of the mobile phone interface. Different from the related art where a fixed volume (e.g., fixed volume level 6) preset in the "intelligent private call mode" is used to output voice in the default manner after a call is connected, in the embodiments of the present application, the answering volume for this call 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 answering volume in different scenarios such as noisy scenes and quiet scenes according to the change in the ambient sound.
[0272] As Figure 15 shown in (a) of the figure, the electronic device receives a call notification and displays a call notification interface. The call notification interface displays a prompt message "intelligent private call mode", indicating that the intelligent private call function is default enabled, and once the call is connected, the voice can be output in the "intelligent private call mode".
[0273] In some embodiments, if it is determined during a call that the system call volume is within the volume range corresponding to the private call mode, for example, the system call volume is 6, which is relatively small, then there is no need to adjust after the call is answered, and the voice can be output at this system call volume during the call to best meet the user's usage habits. Correspondingly, after the user clicks the answer button, as Figure 15 shown in (b) of the figure, the electronic device displays an answer interface. The answer interface still displays the prompt message "intelligent private call mode", indicating that the "intelligent private call mode" has been enabled for this call, and the current volume remains at 6.
[0274] In some other embodiments, if it is determined during a call that the system call volume is 10, which is relatively large and exceeds the volume range corresponding to the private call mode, then the volume needs to be decreased after the call is answered so that the voice output can best meet the user's usage habits and ensure call privacy. After the user clicks the answer button, as Figure 15 shown in (c) of the figure, the electronic device displays an answer interface. The answer interface still displays the prompt message "intelligent private call mode", indicating that the "intelligent private call mode" has been enabled for this call, and the electronic device automatically adjusts the answering volume to 9 in the background.
[0275] In some other embodiments, as Figure 15 shown in (c), it is assumed that the current answering volume is level 9. When it is determined that the ambient sound is less than or equal to the preset ambient sound threshold, as Figure 15 shown in (d), the electronic device maintains the answering volume at level 9 and maintains the "Intelligent Privacy Call Mode". When it is determined that the ambient sound is greater than the preset ambient sound threshold, as Figure 15 shown in (e), the electronic device automatically increases the answering volume to level 10, automatically exits the "Intelligent Privacy Call Mode", and changes to the normal mode. As Figure 15 shown in (e), in the normal mode, a prompt message "Lower the volume to enter the intelligent privacy call" is displayed in the call interface, instead of the "Intelligent Privacy Call Mode", and the privacy call icon is no longer displayed in the status bar of the call interface.
[0276] It should be noted that in actual implementation, the volume bar is not displayed in the incoming call notification interface and the connected interface in the automatic adjustment mode. The volume adjustment of the electronic device is all completed in the background without the need for user-triggered operations, improving the user experience.
[0277] The process of switching from the "Intelligent Privacy Call Mode" to the normal mode during a call is described above. It can be understood that in actual implementation, the environment where the user answers the incoming call 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 perform mode switching and volume adjustment according to the ambient sound. Figure 16 shows a schematic flowchart of automatically switching modes according to the change of ambient sound. Combining Figure 13 , as Figure 16 shown, after S114, the call control method further includes S115 - S119.
[0278] S115, the decision center determines whether the ambient sound is greater than the ambient sound threshold.
[0279] Exemplarily, the ambient sound threshold can be set to 55dB.
[0280] It should be noted that the following S116 - S118 and S119 are executed alternatively.
[0281] S116, when the call mode is the privacy call mode and the ambient sound is greater than the ambient sound threshold, the decision center instructs the volume control module: switch to the normal mode and increase the volume level to 10.
[0282] S117, the volume control module instructs the playback control module to adopt the normal mode.
[0283] S118, the playback control module outputs voice in the normal mode during the call.
[0284] S119. When the call mode is the private call mode and the ambient sound is less than or equal to the ambient sound threshold, the decision center determines to maintain the private call mode.
[0285] The following combines Figure 17 to illustrate the process of automatically adjusting the system call volume and correspondingly switching the mode according to the change of the ambient sound size. As Figure 17 shown in (a) of [], the electronic device displays a call interface. The current answering volume is level 9, and the private call mode is used for voice output. A private call icon and a prompt message are displayed in the call interface. As Figure 17 shown in (b) of [], when the ambient sound is greater than the threshold, the intelligent private call mode is automatically exited, and the volume is automatically increased (such as increased to level 10). The private call icon and the prompt message disappear in the call interface after the mode is switched.
[0286] As Figure 17 shown in (b) of [], the electronic device displays a call interface. The current answering volume is level 10, and the normal mode is used for voice output. As Figure 17 shown in (a) of [], when the ambient sound is less than or equal to the threshold, it is automatically switched to the intelligent private call mode, and the volume is automatically decreased (such as decreased to level 9). A private call icon and a prompt message are displayed in the call interface after the mode is switched, indicating that the "intelligent private call mode" has been enabled for this call.
[0287] In some embodiments, it is possible to switch from the private call mode to the normal mode when currently using the private call mode and detecting that the ambient sound is greater than the ambient sound threshold and the duration is greater than a certain duration; or, it is possible to switch from the normal mode to the private call mode when currently using the normal mode and detecting that the ambient sound is less than or equal to the ambient sound threshold and the duration is greater than a certain duration. This can avoid switching between modes back and forth in a short time and improve the user experience.
[0288] 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 call is connected (either incoming or outgoing), the electronic device preferentially uses the private call mode. Exemplarily, as Figure 18 shown in (a) of [] and Figure 18 shown in (b) of [], the user adjusts the call volume to level 10 in the sound and vibration settings interface. As Figure 18 shown in (c) of [] and Figure 18As shown in (d) therein, when an incoming call (or outgoing call) is connected, the electronic device preferentially switches to the private call mode, automatically adjusts the volume level 10 to level 9, and the earpiece and the screen sound device emit sound together, and output the call voice at level 9 according to the first ratio (for example, 3:7), and can also trigger switching between the private call mode and the normal mode according to the ambient sound volume during the subsequent call process.
[0289] In some other embodiments, before making a call or receiving an incoming call notification, the user may adjust the call volume in the settings interface. In this case, when the next incoming 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. When the user receives an incoming call notification or makes a call next time, the electronic device determines whether to automatically adjust the volume and whether to adjust the mode between the private call mode and the normal mode according to the size of the system call volume, as Figures 11 - 17 the method shown.
[0290] For example, before making a call or receiving an incoming call notification, the user adjusts the call volume to level 10 in the settings interface. When the user makes a call or receives an incoming call notification and 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 subsequent calls, if the user does not manually adjust the volume below level 10, then the electronic device maintains the level 10 volume manually set by the user in the system settings. If the user manually adjusts the volume to a certain volume within the range of [level 1, level 9] during a certain call, then the electronic device enters the private call mode. And, when receiving an incoming call notification or making a call next time, the electronic device determines the call mode and volume according to Figures 11 - 17 the method shown.
[0291] Second Embodiment: Manual Adjustment Method
[0292] The second embodiment is a further added solution based on the automatic adjustment mode of the first embodiment. It should be noted that when the private call function is enabled, the electronic device can adopt the automatic adjustment mode to automatically decide whether to adjust the volume and whether to adjust the mode. When the user triggers the adjustment of the volume or triggers the adjustment of the mode, the electronic device switches from the automatic adjustment method to the manual adjustment method, and then adjusts the volume and mode according to the user's manual adjustment method.
[0293] In some embodiments, the user can press the physical volume button of the electronic device to trigger a decrease or increase in volume, and then trigger the switching of the call mode between the private call mode and the normal mode.
[0294] In some other embodiments, the user can trigger increasing or decreasing the volume by swiping on the volume bar displayed on the screen, thereby triggering the switching of the call mode between the private call mode and the normal mode.
[0295] Exemplarily, the switching between different call modes is described here. For example, when the user clicks the physical volume button, the electronic device can display the volume bar in response to the user's operation. When the user increases the volume, the filling amount of the volume bar will increase. For example, when the volume bar changes from level 9 to level 10, the private call mode will automatically exit and switch from the private call mode to the normal mode. When the user decreases the volume, the filling amount of the volume bar will decrease. For example, when the volume bar changes from level 10 to level 9, it will switch from the normal mode to the private call mode.
[0296] In the embodiments of the present application, through the call control method provided by the present application, the switching use between the private call mode and the normal mode can be controlled according to the output volume level or range of the electronic device. Among them, for the switching between the private call mode and the normal mode, the electronic device can pre-define the following rules:
[0297] When the output volume level of the electronic device is less than or equal to the preset volume level (for example, level 9), or when the output volume level of the electronic device is within the preset first volume level range (for example, [level 1, level 9]), the private call mode is automatically enabled; when the output volume level of the electronic device is greater than the preset volume level, or when the output volume level of the electronic device is within the preset second volume level range, the private call mode is automatically exited and switched from the private call mode to the normal mode. Among them, the volume values corresponding to each level in the second volume level range are greater than the volume values corresponding to each level in the first volume level range.
[0298] Exemplarily, when the electronic device receives an operation from the user to decrease 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, level 9), the private call mode is enabled. For example, the screen and the earpiece can simultaneously emit sound and control these two sound-emitting methods to emit sound with different volume intensities (for example, the ratio of the screen sound-emitting intensity to the earpiece sound-emitting intensity is 7:3) 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 9), the normal mode is enabled. For example, the screen and the earpiece can simultaneously emit sound and control these two sound-emitting methods to emit sound with different volume intensities (for example, the ratio of the earpiece sound-emitting intensity to the screen sound-emitting intensity is 7:3) to ensure a good sound output effect and improve the user's call experience.
[0299] Exemplarily, Figure 19 shows a schematic interface diagram of triggering mode switching by pressing the physical volume button. As Figure 19As shown in (a) of [the figure], assuming that the current answering volume level is 10 levels, the user can press the physical volume button "-" of the electronic device to trigger volume reduction. As Figure 19 shown in (b) of [the figure], in response to the user operation, the electronic device switches the call mode to the private call mode, and displays a volume bar 61 and a private call icon 62 in the call interface. The volume bar 61 shows the volume reduction change, and the answering volume level is reduced to, for example, 6 levels. Call privacy can be guaranteed in the private call mode. Similarly, as Figure 19 shown in (c) of [the figure], a volume bar 61 and a private call icon 62 are displayed in the call interface. Assuming that the current answering volume level is 6 levels, the user presses the volume "+" button. Then, as Figure 19 shown in (d) of [the figure], in response to the user operation, the electronic device switches the call mode to the normal mode, and displays a volume bar 61 and a high volume icon 63 in the call interface. The volume bar 61 shows the volume increase change, and the answering volume level is 10 levels. Call clarity can be guaranteed in the normal mode.
[0300] Exemplarily, Figure 20 shows a schematic diagram of an interface for adjusting the volume by pressing the volume bar to trigger mode switching. As Figure 20 shown in (a) of [the figure] and Figure 20 shown in (b) of [the figure], assuming that the current answering volume level is 10 levels, when a volume bar is displayed in the connection interface, the user can drag the adjustment button on the volume bar to trigger volume reduction. As Figure 20 shown in (c) of [the figure], the volume is reduced to 6 levels, and the call mode is switched from the normal mode to the private call mode. As Figure 20 shown in (d) of [the figure], the volume bar 61 and the private call icon 62 will be automatically hidden after a certain period of time.
[0301] It should be noted that in the scenario where the user listens to the call by putting the electronic device close to the ear, the call control method provided in this application can enable the private call mode when the output volume level of the electronic device is reduced and is less than or equal to the preset volume level to avoid sound leakage during a voice call. When the output volume level of the electronic device rises and exceeds the preset volume level, the private call mode is exited and switched to the normal mode to ensure the high-volume playback effect.
[0302] In some embodiments, during the current call, after switching to the manual adjustment mode, it will not return to the automatic adjustment mode again, that is, the above-mentioned scheme of automatically adjusting the volume and mode according to the ambient sound size will not be executed during the current call.
[0303] In some embodiments, assuming that the manual adjustment mode is switched to during the current call, then when the electronic device receives a call notification or another call next time, the automatic adjustment mode is still enabled by default, that is, the method in the first embodiment is still executed.
[0304] The possible implementation methods of private calls are introduced above. For example, the electronic device can automatically enable the private call mode by default when answering a call. For another example, the electronic device can automatically adjust the system call volume according to the ambient sound level and switch between the private call mode and the normal mode. For another example, the electronic device can adjust the system call volume and switch between the private call mode and the normal mode in response to a user's manual operation.
[0305] Some users have low requirements for call privacy, while some users attach great importance to call privacy. In view of the different needs of users for call privacy, this application provides multiple usage modes for intelligent private calls for users to choose from, which can better meet the needs of users.
[0306] Exemplarily, referring to Figure 21 As shown, this application provides the following three usage modes for intelligent private calls:
[0307] (1) Default startup mode.
[0308] In the default startup mode, when the electronic device answers a call each time, it controls the call to start in the private call mode. This can ensure that the private call mode is automatically enabled when starting a call, avoid call sound leakage, and protect the user's call privacy. In some embodiments, when answering a call each time, the electronic device automatically enables the private call mode and automatically sets the system call volume to level 9.
[0309] In the default startup mode, the electronic device can exit the private call mode in response to the user's operation of manually increasing the volume. For example, when the user increases the call volume until it reaches a preset volume level, the electronic device controls the current call to switch from the private call mode to the normal mode.
[0310] In some embodiments, when the user increases the call volume until the volume bar changes color (such as turns blue), the electronic device controls the current call to switch from the private call mode to the normal mode.
[0311] In some embodiments, when the user increases the call volume until the filling amount of the volume bar reaches a preset ratio (such as 100%), the electronic device controls the current call to switch from the private call mode to the normal mode.
[0312] (2) Intelligent startup mode.
[0313] In the intelligent startup mode, the electronic device records the last call settings, which include the last call volume level and the call mode (private call mode or normal mode). Each time the electronic device answers or makes a call, it automatically adopts the last call settings.
[0314] In the intelligent startup mode, during a call, the electronic device automatically adjusts the mode according to the ambient sound level, that is, it switches between the private call mode and the normal mode. In some embodiments, when the call volume is at level 10, the electronic device automatically switches to the privacy protection mode in a quiet environment and reduces the volume to level 9; when the call volume is at level 9, the electronic device automatically exits the privacy protection mode in a noisy environment and increases the volume to level 10.
[0315] In the intelligent startup mode, during a call, the electronic device adjusts the call volume in response to the user's operation of manually adjusting the volume. When the user manually triggers the volume adjustment, the electronic device maintains the volume manually adjusted by the user, and the call volume will not be automatically adjusted and the call mode will not be intelligently switched during this call.
[0316] (3) Non-startup mode.
[0317] In the non-startup mode, each time the electronic device answers or makes a call, it automatically adopts the last call volume level and uses the normal mode, that is, intelligent switching to the private call mode is not supported during the call, nor is manual switching to the private call mode supported.
[0318] The following Figure 22A illustrates the schematic diagram of the mode setting interface of the intelligent private call provided by this application.
[0319] As Figure 22A shown in (a) below, the electronic device displays the setting interface 71, and the setting interface 71 includes the auxiliary function option 72. The electronic device receives the user's operation on the auxiliary function option 72. As Figure 22A shown in (b) below, in response to the user's operation, the electronic device jumps from the setting interface 71 to the auxiliary function setting interface 73, and the auxiliary function setting interface 73 includes the intelligent private call option 74. The electronic device receives the user's operation on the intelligent private call option 74. As Figure 22A shown in (c) below, in response to the user's operation, the electronic device jumps from the auxiliary function setting interface 73 to the intelligent private call setting interface 75.
[0320] Among them, the intelligent private call setting interface 75 includes the function prompt information of the intelligent private call: reduce sound leakage, protect privacy, make the call sound be directed to the user's ear, effectively reduce call sound leakage, and protect the privacy and security of the call.
[0321] Among them, the intelligent privacy call settings interface 75 also includes a default startup option 76, an intelligent startup option 77, and a non-startup option 78. Each of these three options includes a selection control. It should be noted that these three options are in a mutually exclusive mode.
[0322] For example, when the default startup option 76 is selected, the intelligent startup option 77 and the non-startup option 78 cannot be selected.
[0323] For example, when the intelligent startup option 77 is selected, the default startup option 76 and the non-startup option 78 cannot be selected.
[0324] For example, when the non-startup option 78 is selected, the default startup option 76 and the intelligent startup option 77 cannot be selected.
[0325] The possible implementation methods of these three usage modes are described below respectively.
[0326] Default startup mode
[0327] The electronic device can default that the intelligent privacy call function adopts the default startup mode to meet the needs of most users. Referring again to Figure 22A As shown, the default startup option is in the selected state. In the default startup mode, regardless of the volume and mode of the previous call, the electronic device will start with the privacy call mode every time a call is connected. Exemplarily, every time a call is connected, the electronic device automatically enables the privacy call mode and automatically sets the system call volume to level 9.
[0328] Figure 22B Shows a schematic diagram of the electronic device controlling the call volume and mode in the default startup mode.
[0329] Refer to Figure 22B As shown in (a) of , the system call volume is in the range of [level 1, level 10] (for example, level 1). In the default startup mode, when the call is connected, the electronic device automatically turns on the privacy call mode and sets the system call volume to level 9.
[0330] Refer to Figure 22B As shown in (b) of , the system call volume is in the range of [level 1, level 10] (for example, level 6). In the default startup mode, when the call is connected, the electronic device automatically turns on the privacy call mode and sets the system call volume to level 9. During the call, the call volume and the privacy call mode will not change automatically.
[0331] When the user manually increases the volume to level 10 (such as when the volume bar fill amount reaches 100%), the electronic device increases the volume to level 10 and exits the privacy call mode, switching to the normal mode.
[0332] When the user manually lowers the volume to level 9 (e.g., the volume bar filling reaches 90%) and below, the electronic device reduces the volume to level 9 and below and switches from the normal mode to the private call mode.
[0333] In the default startup mode, it can ensure that the private call mode is automatically enabled when starting a call, avoiding call sound leakage and protecting the user's call privacy.
[0334] Intelligent startup mode
[0335] Figure 23A Shows a schematic diagram of the interface for the electronic device to set the intelligent startup mode. As Figure 23A shown, the intelligent startup option 77 includes a prompt identifier 79. In response to the user's operation on the prompt identifier 79, the electronic device can display a prompt message about the intelligent startup mode: There are 10 levels of call volume, from smallest to largest, which are 1 grid to 10 grids. In a quiet environment, when the volume is at 10 grids, it can automatically drop to 9 grids and enter the private call mode. In a noisy environment, when the volume is at 9 grids, it can automatically rise to 10 grids.
[0336] Figure 23B Shows a schematic diagram of the interface for the electronic device to set the intelligent startup mode. Some users attach great importance to call privacy and can select the intelligent startup mode. As Figure 23B shown, in response to the user's operation on the intelligent startup option 77, the electronic device switches the intelligent private call from the default startup mode to the intelligent startup mode.
[0337] In the intelligent startup mode, the electronic device will record the previous call settings, which include the previous call volume level and the call mode (private call mode or normal mode). When the electronic device answers or makes a call each time, it will automatically adopt the previous call settings.
[0338] Figure 23C Shows a schematic diagram of the electronic device controlling the call volume and mode in the intelligent startup mode.
[0339] Refer to Figure 23C as shown in (a) in it, the previous call settings were: the system call volume was in the range of [level 1, level 8], and the private call mode. In the intelligent startup mode, when the call is connected, the electronic device adopts the previous call settings, that is, the system call volume remains unchanged and still maintains the private call mode.
[0340] Refer to Figure 23C as shown in (b) in it, the previous call settings were: the system call volume was level 9, and the private call mode. In the intelligent startup mode, when the call is connected, the electronic device adopts the previous call settings, that is, the system call volume is still level 9 and still maintains the private call mode.
[0341] In the intelligent startup mode, during a call, the electronic device can intelligently switch between the private call mode and the normal mode according to the ambient sound level.
[0342] Refer to Figure 23C As shown in (b) therein, during a call, the call volume is at level 9 and the private call mode is enabled. When the electronic device detects that the ambient sound is greater than the threshold, the electronic device automatically increases the volume to level 10 and switches to the normal mode. That is to say, when the call volume is at level 9, the electronic device automatically exits the privacy protection mode in a noisy environment and increases the volume to level 10.
[0343] Refer to Figure 23C As shown in (c) therein, during a call, the call volume is at level 10 and the normal mode is enabled. When the electronic device detects that the ambient sound is less than or equal to the threshold, the electronic device automatically decreases the volume to level 9 and switches to the private call mode. That is to say, when the call volume is at level 10, the electronic device automatically switches to the privacy protection mode in a quiet environment and decreases the volume to level 9.
[0344] Figure 23D Another schematic diagram shows how the electronic device controls the call volume and mode in the intelligent startup mode. In the intelligent startup mode, during a call, the electronic device can adjust the call volume in response to the user's manual operation of adjusting the volume. When the user manually triggers the volume adjustment, the electronic device maintains the volume manually adjusted by the user, and the call volume will no longer be automatically adjusted and the call mode will no longer be intelligently switched during this call.
[0345] Refer to Figure 23D As shown in (a) therein, the last call was set as follows: the system call volume was at level 8 and the private call mode was enabled. In the intelligent startup mode, when the call is connected, the electronic device adopts the settings of the last call, that is, the system call volume remains at level 8 and the private call mode is still maintained. During the call, the system call volume and the private call mode remain unchanged. When the user manually increases the volume to level 10, the electronic device adjusts the volume to level 10 and switches the private call mode to the normal mode. After the user adjusts the volume, there is no more intelligent switching. For example, when the electronic device detects that the ambient sound is less than or equal to the threshold, the electronic device no longer automatically adjusts the volume and no longer intelligently switches the call mode.
[0346] Refer to Figure 23DAs shown in (b) thereof, the settings for the last call were: the system call volume was at level 9, and the private call mode was enabled. In the intelligent startup mode, when the call is connected, the electronic device adopts the settings of the last call, that is, the system call volume remains at level 9, and the private call mode is still maintained. During the call, when the electronic device detects that the ambient sound is greater than the threshold, the electronic device automatically increases the volume to level 10 and switches to the normal mode. When the user manually lowers the volume to level 9, the electronic device adjusts the volume to level 9 and switches the normal mode to the private call mode. There is no more intelligent switching after the user adjusts the volume. For example, when the electronic device detects that the ambient sound is greater than the threshold, the electronic device no longer automatically adjusts the volume and no longer intelligently switches the call mode.
[0347] Reference Figure 23D As shown in (c) thereof, the settings for the last call were: the system call volume was at level 10, and the normal mode was enabled. In the intelligent startup mode, when the call is connected, the electronic device adopts the settings of the last call, that is, the system call volume remains at level 10, and the normal mode is still maintained. During the call, when the electronic device detects that the ambient sound is less than or equal to the threshold, the electronic device automatically decreases the volume to level 9 and switches to the private call mode. When the user manually raises the volume to level 10, the electronic device adjusts the volume to level 10 and switches the private call mode to the normal mode. There is no more intelligent switching after the user adjusts the volume. For example, when the electronic device detects that the ambient sound is less than or equal to the threshold, the electronic device no longer automatically adjusts the volume and no longer intelligently switches the call mode.
[0348] Non-start mode
[0349] Figure 24A The schematic diagram of the interface for the electronic device to set the non-start mode is shown. Some users have low requirements for call privacy and can choose the non-start mode. As Figure 24A shown, in response to the user's operation on the non-start option 78, the electronic device switches the intelligent private call from the intelligent startup mode to the non-start mode.
[0350] Figure 24B The schematic diagram of the electronic device controlling the call volume and mode in the non-start mode is shown.
[0351] Reference Figure 24B As shown in (a) thereof, the system call volume is at level 8. In the non-start mode, when the call is connected, the electronic device maintains the system call volume at level 8 and the normal mode. During the call, the system call volume and the normal mode remain unchanged. Reference Figure 24B As shown in (b) thereof, the system call volume is at level 9. In the non-start mode, when the call is connected, the electronic device maintains the system call volume at level 9 and the normal mode. During the call, the system call volume and the normal mode remain unchanged. Reference Figure 24BAs shown in (c) in [description], the system call volume has 10 levels. In the non-boot mode, when the call is connected, the electronic device maintains the system call volume at level 10, which is the normal mode. During the call, the system call volume and the normal mode remain unchanged.
[0352] In the non-boot mode, when the electronic device answers or makes a call each time, it will automatically adopt the previous call volume level and adopt the normal mode, that is, the intelligent switch to the privacy call mode is not supported during the call, nor is the manual switch to the privacy call mode supported.
[0353] For the situation where users have different requirements for call privacy, this application provides multiple usage modes for intelligent privacy calls for users to choose from. Users can select the usage mode according to their actual usage needs, so as to better meet the user needs.
[0354] In addition to the above implementation methods provided by this application, this application also provides the following implementation methods for intelligent privacy calls. For the situation where users have different requirements for call privacy, this application provides two usage modes for intelligent privacy calls for users to choose from, which can better meet the user needs.
[0355] Exemplarily, this application provides an intelligent privacy call mode and an automatic tuning mode for intelligent privacy calls.
[0356] (1) Intelligent privacy call mode.
[0357] In the intelligent privacy call mode, during the call, the user manually adjusts the volume, that is, enters the manual mode and no longer switches intelligently; the call volume is in the privacy call mode from 1 to 9 grids, and 10 grids is the normal call mode.
[0358] (2) Automatic tuning mode.
[0359] After the call is connected, when the initial volume is 9 grids or 10 grids, the electronic device can intelligently exit or enter the intelligent privacy call according to the ambient sound.
[0360] For example, when the initial volume is 9 grids and in the privacy call mode, the electronic device can intelligently exit the privacy call mode according to the ambient sound and increase the volume to 10 grids.
[0361] For example, when the initial volume is 10 grids and in the normal mode, the electronic device can intelligently enter the privacy call mode according to the ambient sound and lower the volume to 9 grids.
[0362] Among them, when entering or exiting the privacy call mode, the electronic device will vibrate to prompt.
[0363] The following combines Figure 25A to illustrate the schematic diagram of the mode setting interface of the intelligent privacy call provided by this application.
[0364] As shown Figure 25A in (a) of [], the electronic device displays a settings interface 81, and the settings interface 81 includes an accessibility option 82. The electronic device receives an operation of the user on the accessibility option 82. As shown Figure 25A in (b) of [], in response to the user operation, the electronic device jumps from the settings interface 81 to an accessibility settings interface 83, and the accessibility settings interface 73 includes a smart privacy call option 84. The electronic device receives an operation of the user on the smart privacy call option 84. As shown Figure 25A in (c) of [], in response to the user operation, the electronic device jumps from the accessibility settings interface 83 to a smart privacy call settings interface 85.
[0365] Among them, the smart privacy call settings interface 85 includes function prompt information for smart privacy calls: reduce sound leakage, protect privacy, and when making or receiving calls with the earpiece, enter or exit smart privacy calls intelligently according to the ambient sound.
[0366] Among them, the smart privacy call settings interface 85 also includes a smart privacy call option 86 and an automatic tuning option 87. Each of these two options includes an on / off control. These two options can be either one selected, or both selected, or neither selected.
[0367] In some embodiments, as shown Figure 25B in (a) of [], both the smart privacy call option 86 and the automatic tuning option 87 are selected. In this case, the electronic device enables the smart privacy call mode and the automatic tuning function (i.e., the automatic adjustment mode). After the call is connected, when the initial volume is 9 or 10 grids, the electronic device can intelligently exit or enter the smart privacy call according to the ambient sound. Also, during the call, when the user manually adjusts the volume, it enters the manual mode and no longer switches intelligently. Among them, the call volume is in the privacy call mode from 1 to 9 grids, and the normal call mode at 10 grids.
[0368] In some embodiments, as shown Figure 25B in (b) of [], the smart privacy call option 86 is selected. In this case, the electronic device enables the smart privacy call mode, and during the call, when the user manually adjusts the volume, it enters the manual mode and no longer switches intelligently. Among them, the call volume is in the privacy call mode from 1 to 9 grids, and the normal call mode at 10 grids.
[0369] In some embodiments, as shown Figure 25B in (c) of [], the automatic tuning option 87 is selected. In this case, the electronic device enables the automatic tuning function (i.e., the automatic adjustment mode), and after the call is connected, when the initial volume is 9 or 10 grids, the electronic device can intelligently exit or enter the smart privacy call according to the ambient sound.
[0370] In some embodiments, as shown in (d) of Figure 25B , the intelligent privacy call option 86 and the auto-tuning option 87 are not selected. In this case, the electronic device adopts the normal mode and maintains the ordinary call effect.
[0371] For the situation where users have different requirements for call privacy, this application provides multiple usage modes for the intelligent privacy call for users to choose from. Users can select the usage mode according to their actual usage needs, thus better meeting the user requirements.
[0372] Third Embodiment: Quickly enable or disable the "intelligent privacy call mode" through the privacy call switch
[0373] In some embodiments, the privacy call switch can be displayed in the incoming call notification interface. The electronic device can quickly enable or disable the "intelligent privacy call mode" in response to the user's operation on the privacy call switch. In some other embodiments, the privacy call switch can also be displayed in the call interface after the incoming call is answered. The electronic device can quickly enable or disable the "intelligent privacy call mode" in response to the user's operation on the privacy call switch.
[0374] Exemplarily, Figure 26A shows the interface diagram of triggering the privacy call switch on the incoming call page. As shown in (a) of Figure 26A , the electronic device receives an incoming call and displays the incoming call notification interface, in which the privacy call switch and the prompt message "The privacy call mode has been enabled, and the call sound leakage is smaller. Click to close" are displayed. At this time, the privacy call switch indicates that the privacy call mode is in the enabled state. As shown in (b) of Figure 26A and (c) of Figure 26A , when the user clicks the privacy call switch, the display state of the privacy call switch is updated (for example, from dark color to light color). At this time, the privacy call switch indicates that the privacy call mode is in the disabled state. And, in response to the user's operation of closing the privacy call, the electronic device displays the volume bar and the large volume icon in the incoming call notification interface. Further, when the user clicks the answer button, as shown in (d) of Figure 26A , the electronic device displays the call interface, and the privacy call switch is still displayed in the call interface. Optionally, the prompt message "Click to enable the privacy call mode, and the call sound leakage is smaller" can be displayed in the area near the privacy call switch.
[0375] It should be noted that the display method of the privacy call switch in the embodiments of this application is only an example, and this application is not limited thereto. For example, the privacy call switch can also be displayed in the form of a capsule in the status bar at the top of the display interface.
[0376] Another exemplarily, Figure 26BAn interface diagram showing the triggering of the private call switch on the call page is shown. As Figure 26B shown in (a) of , the electronic device displays a call interface, and a private call switch and a prompt message "Click to enable the private call mode with less call sound leakage" are displayed in the call interface. At this time, the private call switch indicates that the private call mode is in the off state. As Figure 26B shown in (b) of and Figure 26B shown in (c) of , when the user clicks the private call switch, the display state of the private call switch is updated, and the private call switch indicates that the private call mode is in the on state (for example, changing from light color to dark color). Moreover, in response to the user's operation of enabling the 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 outputs voice in the private call mode. Optionally, a prompt message "The private call mode has been enabled with less call sound leakage. Click to turn off" can be displayed in the area near the private call switch. As Figure 26B shown in (Dtu of , the volume bar will automatically hide after a certain period of time.
[0377] It should be noted that the above embodiments are described by taking the incoming call scenario as an example. In actual implementation, the above embodiments are equally applicable to the outgoing call scenario. For example, a private call switch can be displayed in the outgoing call interface, and the electronic device can quickly enable or disable the "intelligent private call mode" in response to the user's operation on the private call switch. Moreover, a private call switch can also be displayed in the call interface after the outgoing call is connected, and the electronic device can quickly enable or disable the "intelligent private call mode" in response to the user's operation on the private call switch.
[0378] Fourth Embodiment: Pop up a volume bar and a mode adjustment prompt when the incoming call is connected
[0379] In some embodiments, when the "intelligent private call mode" is not enabled, when the incoming call is connected, a volume bar and a prompt message "Lower the volume to enter the intelligent private call mode" are immediately popped up in the call interface. The user can, according to actual usage requirements, choose to lower the volume to trigger the electronic device to enable the intelligent private call mode, or not adjust the volume, so as not to enable the intelligent private call mode.
[0380] Exemplarily, Figure 27A an interface diagram showing the prompt to enable the private call mode on the incoming call page is shown. As Figure 27A shown in (a) of , the electronic device receives an incoming call and displays the incoming call page. When the user clicks the answer button, as Figure 27A shown in (b) of , the electronic device displays a call interface, and a volume bar, a high volume icon, and a prompt message "Lower the volume to enter the intelligent private call mode" are displayed in the call interface. In this case, the user can have the following two options: AsFigure 27A as shown in (c) in Figure 27A and (d) in Figure 27A when the user operates on the volume bar to lower the volume, it can trigger entering the private call mode; or, as shown in (e) in
[0381]
[0382] It should be noted that the above embodiments are described by taking the incoming call scenario as an example. In actual implementation, the above embodiments are equally applicable to the outgoing call scenario. In some embodiments, when the "intelligent private call mode" is not enabled, 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 intelligent private call mode" can be immediately popped up in the call interface to guide the user to enable the intelligent private call mode by adjusting the volume bar. The user can choose to lower the volume to trigger the electronic device to enable the intelligent private call mode according to actual usage requirements. In some embodiments, when the "intelligent private call mode" is not enabled, 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 touch. Exemplarily, Figure 27B shows an interface diagram for prompting to enable the private call mode on the outgoing call page. As shown in (a) in Figure 27B the electronic device displays the outgoing call page. When the call is connected, as shown in (b) in Figure 27B the electronic device displays the call interface, and a volume bar, a high-volume icon, and a prompt message "Lower the volume to enter the intelligent private call mode" are displayed in the call interface. In this case, the user can have the following two options: as shown in (c) in Figure 27B and (d) in Figure 27B when the user operates on the volume bar to lower the volume, it can trigger entering the private call mode; or, as shown in (e) in Figure 27B when the user does not operate on the call interface or clicks on the blank area of the call interface, the private call mode will not be entered.
[0383] In the embodiments of the present application, after the intelligent private call function is enabled, in the voice call scenario, the private call mode can be automatically enabled when the output volume level of the electronic device is lower than the preset volume level. That is to say, in the voice call scenario, when the output volume level of the electronic device is lower than the preset volume level, it will automatically switch to the private call mode and adopt the voice output method corresponding to the private call mode (for example, by jointly sounding through the screen and the earpiece, such as the screen sounding intensity is greater than the earpiece sounding intensity) to output voice, avoiding voice leakage during the voice call.
[0384] In some other embodiments, in a voice call scenario, when it is sensed that the user triggers the operation of reducing the volume continuously for multiple times, it can also be automatically switched to the private call mode, and the voice output method corresponding to the private call mode (for example, by jointly emitting sound through the screen and the earpiece, such as the sound emission intensity of the screen being greater than that of the earpiece) is adopted to output the voice, so as to avoid sound leakage during the voice call.
[0385] In some embodiments, when switching from the private call mode to the normal mode, the overall sound volume (or called loudness or intensity) can also be increased on the basis of the volume corresponding to the private call mode, so as to improve the voice playback effect. That is to say, the overall sound loudness when emitting sound through the earpiece and the screen in the normal mode is greater than the overall sound loudness when emitting sound through the earpiece and the screen in the private call mode.
[0386] Compared with the sound emission method of the earpiece, the sound emission method of the screen can effectively prevent sound leakage during the voice call. Therefore, when the user is answering or making a call in a quiet environment, the user usually hopes to reduce sound leakage. At this time, the private call mode can be adopted, which can ensure clear call while reducing sound leakage, thus achieving the effect of protecting the user's privacy.
[0387] The process of switching between the private call mode and the normal mode is described in detail above. Next, the possible implementation methods of switching between the private call mode and the speaker mode will be further described.
[0388] In some embodiments, through the audio processing method provided by the present application, when the electronic device is in the private call mode, when the electronic device receives the user's click on the speaker icon, it can be switched to the speaker mode, that is, the voice is output by emitting sound through the speaker. At this time, both the screen and the earpiece do not emit sound. Optionally, further, when the electronic device receives the user's click on the speaker icon, it can exit the speaker mode and re-enter the private call mode.
[0389] Exemplarily, Figure 28 shows a schematic diagram of the voice call interface after answering an incoming call. The following prompt information is displayed in the voice call interface: "Smart Private Call is enabled" 91 and the icon 92 identifying the private call. As Figure 28 shown in (a) of, the user clicks the speaker key 93 in the voice call interface to trigger playing the voice through the speaker. As Figure 28 shown in (b) of, in response to the user's operation on the speaker key 93, the mobile phone turns on the hands-free function. At this time, the voice is played through the speaker, and both the screen and the earpiece do not emit sound, and the prompt information "Exited Smart Private Call" 94 can be displayed in the voice call interface. Correspondingly, "Smart Private Call is enabled" 91 and the icon 92 identifying the private call will cancel the display. The prompt information "Exited Smart Private Call" 94 will be hidden after being displayed for a certain duration (for example, 5 seconds).
[0390] Further optionally, as Figure 28 shown in (c) of [], the user can click the speaker key 93 in the voice call interface again to trigger the closing of the speaker. As Figure 28 shown in (d) of [], in response to the user's operation on the speaker key 93, the mobile phone switches from the speaker mode to the private call mode. In this way, the switching between the private call mode and the normal mode is realized.
[0391] Exemplarily again, Figure 29 shows a schematic diagram of the interface for triggering the switching from the private call mode to the speaker mode by operating on the notification card of the intelligent private call function. As Figure 29 shown in (a) of [], the user slides the finger downward along the arrow direction on the voice call interface to pull down the menu bar. As Figure 29 shown in (b) of [], the menu bar (also called the notification interface) is displayed. The notification card 95 is displayed in the menu bar. The notification card 95 is used to indicate that a voice call is in progress. The user can click the hands-free icon 96 in the notification card 95 to trigger the opening of the hands-free function. As Figure 29 shown in (c) of [], after the user clicks the hands-free icon 96, the interface returns from the menu bar interface to the voice call interface. A prompt message "Exited intelligent private call" 94 can be displayed in the voice call interface. Correspondingly, "Intelligent private call has been enabled" 91 and the icon 92 indicating the private call will be cancelled. In this way, the switching between the private call mode and the normal mode is realized.
[0392] In some embodiments, the electronic device provides a setting interface for the intelligent private call function. The user can trigger the opening or closing of the intelligent private call function in this setting interface according to actual usage requirements.
[0393] Exemplarily, Figure 30 shows a schematic diagram of entering the setting interface of the intelligent private call function through the notification card of the intelligent private call function. As Figure 30 shown in (a) of [], the user slides the finger downward along the arrow direction on the voice call interface to pull down the menu bar. As Figure 30 shown in (b) of [], the menu bar (also called the notification interface) is displayed. The notification card 97 is displayed in the menu bar. The notification card 97 is used to indicate that the intelligent private call function has been enabled. The user can click the notification card 97 to set the intelligent private call function. As Figure 30As shown in (c), after the user clicks on the notification card 95, the menu bar interface jumps to the settings interface 98 of the intelligent privacy call function. The settings interface 98 includes a switch control 99 for the intelligent privacy call function, and the switch control 99 currently indicates that the intelligent privacy call function is in the on state. The user can operate on the switch control 99 (such as a sliding operation in the direction of the arrow shown in the figure) to trigger the closing of the intelligent privacy call function.
[0394] Furthermore, as shown in Figure 30 (d), after the user operates on the switch control 99, the privacy call mode is exited, and the settings interface 98 of the intelligent privacy call function jumps to the voice call interface, where a prompt message "Intelligent Privacy Call Exited" 94 can be displayed. Accordingly, "Intelligent Privacy Call Enabled" 91 and the icon 92 indicating the privacy call will be cancelled from display.
[0395] It should be noted that the above embodiments are described by taking the voice call scenario as an example for illustration. It can be understood that the above embodiments provide solutions for switching between the privacy call mode and the speaker mode, as well as function settings for the privacy call mode, which can also be applied to the VoIP voice call scenario.
[0396] In this way, when the user listens to sounds by putting the ear close to the electronic device, the electronic device can determine whether to enable the privacy call mode or the normal mode according to different volume levels, and can choose to emit sound through the earpiece and / or the screen. For example, when the volume level set by default on the electronic device or the volume level adjusted by the user is less than or equal to the preset volume level, the privacy call mode is enabled. In the privacy call mode, the voice can be played through the earpiece and the screen with different sound emission intensities. For example, the sound emission intensity of the screen is greater than that of the earpiece. When the volume level set by default on 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 the screen with different sound emission intensities. For example, the sound emission intensity of the earpiece is greater than that of the screen. By using the earpiece sound emission and the screen sound emission complementarily, the electronic device can avoid sound leakage in a quiet environment and also have good sound quality when playing the voice. Thus, it can well protect the user's privacy and make the electronic device have better privacy when the user listens to sounds by putting the ear close to it.
[0397] As described above, when the user listens to sounds by putting the ear close to the mobile phone, or the user selects the earpiece mode (i.e., the mode in which the mobile phone plays sounds through the earpiece), the mobile phone can determine whether the current volume level is greater than the preset volume level and determine whether to enable the privacy call mode or the normal mode according to the judgment result. The following describes a possible implementation method for detecting the action of the user listening to sounds by putting the ear close to the mobile phone.
[0398] Among them, when the user listens to sounds by putting the ear close to the mobile phone (i.e., the mobile phone is in the state of listening to sounds by putting the ear close), it can be that the user's ear is close to the vicinity of the earpiece, and the user listens to the audio data stored in the mobile phone (such as recording data, song data, etc.) through the earpiece of the mobile phone. It can also be that when the user's ear is close to the vicinity of the earpiece for voice communication (the voice communication can be voice communication with other electronic devices through the phone function in the mobile phone, or voice communication with other electronic devices through the instant messaging application installed in the mobile phone), the user listens to the voice data transmitted from the mobile phone of the opposite user received by the mobile phone through the earpiece of the mobile phone. It can also be that the user's ear is close to the vicinity of the earpiece, and the user listens to voice messages in the instant messaging application through the earpiece of the mobile phone. For example, the mobile phone receives voice messages from other mobile phones through the instant messaging application. The mobile phone can display the chat interface of the instant messaging application, and the chat interface includes voice messages from other mobile phones. In response to the user's click operation on the voice message, the mobile phone can play the voice message (i.e., the sound signal) from other mobile phones through the earpiece.
[0399] Exemplarily, the mobile phone can detect whether the user's ear is close to the vicinity of the earpiece through sensors such as a light sensor and a distance sensor. For example, the mobile phone can detect whether there is an occlusion in front of the front panel (or the screen) of the mobile phone through the distance sensor. If there is an occlusion at a short distance in front of the front panel, it can be determined that the current user's ear is close to the vicinity of the earpiece. For another example, when the light sensor of the mobile phone detects that the light intensity drops instantaneously and changes greatly, it can be determined that the current user's ear is close to the vicinity of the earpiece. Of course, in other embodiments of the present application, the mobile phone can also detect whether the user's ear is close to the vicinity of the earpiece by other means or algorithms, and can also refer to the relevant introductions in the conventional technology, which are not limited here.
[0400] In some embodiments, when the user uses the mobile phone to listen to sounds by putting the ear close, the mobile phone can also display various listening modes for the user to select, so that the user can manually select the listening mode according to the actual usage requirements, and trigger the mobile phone to execute the corresponding sound playback strategy for the earpiece and the screen to emit sounds. Among them, the listening modes can include a private call mode and a normal mode.
[0401] It should be noted that in the above example, after the mobile phone receives the operation of the user inputting to select the listening mode, it can directly adopt the corresponding sound playback strategy to play the sound. Each listening mode adopts the corresponding sound playback strategy.
[0402] Among them, the private call mode can adopt the sound playback strategy of the earpiece and the screen emitting sounds together, and the sound intensity of the screen emitting sounds can be greater than or equal to the sound intensity of the earpiece emitting sounds. That is, the mobile phone can adopt the method of mainly emitting sounds from the screen and supplementarily emitting sounds from the earpiece to play the voice at the same time. The private call mode can also only emit sounds from the screen.
[0403] Among them, in the normal mode, a sound playback strategy that combines the earpiece and the screen to emit sound can be adopted to play sound, where the sound intensity of the earpiece can be greater than that of the screen. That is, the mobile phone can play the voice in a way that mainly uses the earpiece to emit sound and the screen to assist in emitting sound. The normal mode can also only use the earpiece to emit sound.
[0404] Among them, according to various scenarios of the user putting the ear close to the phone to listen to the sound in the above example, the voice played by the earpiece and the screen can be any audio data stored in the mobile phone. For example, the voice is the recorded data or song data stored in the mobile phone, etc. It can also be the sound data transmitted from the mobile phone of the opposite user received by the mobile phone during a voice call. It can also be the voice message in the instant messaging application installed in the mobile phone.
[0405] Figure 31 It is a schematic flowchart of the privacy call function for a call control method provided by an embodiment of the present application. As Figure 31 shown, after the first three answers or when making a call and not entering the privacy call mode, a bubble prompt (such as the bubble prompt shown above Figure 5 ) is popped up in the incoming call notification interface or the outgoing call interface. Further determine whether to enter the privacy call mode. If it is detected that the privacy call mode is not entered, it means that the user has not learned the privacy call function. Therefore, the electronic device prompts by popping up bubbles, for example, prompts three times. If it is detected that the privacy call mode is entered, it means that the user has learned the function. Further, determine whether the user has triggered the entry into the privacy call mode multiple times (such as twice) within a certain preset duration (such as 7 days). If it is detected that the privacy call mode is not entered, it means that the user still has not learned the privacy call function. Therefore, the electronic device pops up three bubbles again for prompting until the user learns the privacy call function and then stops the prompting. If it is detected that the privacy call mode is entered, it means that the user has learned the function and no further prompting is performed.
[0406] Optionally, in an embodiment of the present application, in a quiet environment, the mobile phone can also adjust the volume (or loudness) of the sound emitted by the earpiece and the screen according to the distance between the human ear and the mobile phone (or the earpiece). At the same time, the frequency band output by the earpiece and the frequency band output by the screen can also be adjusted.
[0407] For example, when the human ear is far from the mobile phone, the mobile phone can increase the volume of the speaker and the screen sound. At the same time, the mobile phone can also reduce the sound of the relatively high-frequency part in the frequency band output by the speaker, that is, lower the cut-off frequency between the frequency band output by the screen sound and the frequency band output by the speaker, so that the speaker outputs a lower frequency band. Since most of the energy of the screen sound is directly facing the human ear, and part of the energy of the speaker sound will be released from the sound outlet hole at the top of the middle frame of the mobile phone, the speaker sound is more likely to leak sound than the screen sound after the volume is increased. Therefore, further lowering the frequency band output by the speaker can prevent other users from hearing the sound output by the speaker clearly after the volume is increased.
[0408] 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 different sensitivities of the screen sound, the set sound intensity of the screen sound can also be different.
[0409] For example, in the embodiments of the present application, the screen sound can be realized by a screen sound device (for example, such as Figure 2 the screen sound device shown). According to different screen sound schemes, the screen sound devices are also different. For example, the screen sound device can be a vibration source connected to the back of the screen (usually a piezoelectric ceramic, or a motor vibrator, an exciter or other vibration units), and the piezoelectric ceramic can be controlled to vibrate by an electric current signal to drive the screen to vibrate, so as to realize the screen sound. Another example is that the screen sound device can also be a piezoelectric ceramic fixed to the middle frame of the mobile phone through a cantilever beam structure. The piezoelectric ceramic can be controlled to vibrate by an electric current signal, and the vibration can be transmitted to the screen through the middle frame of the mobile phone to drive the screen to vibrate, so as to realize the screen sound. Another example is that the screen sound device can also be an exciter fixed to the middle frame of the mobile phone. The exciter can be controlled to vibrate by an electric current signal, and the vibration can be transmitted to the screen through the middle frame of the mobile phone to drive the screen to vibrate, so as to realize the screen sound. Another example is that the screen sound device can also be a split-type magnetic levitation oscillator. One oscillator is fixed to the middle frame of the mobile phone, and the other oscillator is fixed to the screen. The oscillator fixed to the screen can be controlled to vibrate relative to the oscillator fixed to the middle frame of the mobile phone by an electric current signal, so as to push the screen to vibrate to realize the screen sound. Affected by the type, position, weight of the middle frame of the mobile phone, internal structure layout of the mobile phone, etc. of the screen sound device, the screen sound sensitivities of different screen sound schemes are all different. A relatively small screen sound intensity and driving power can be set for the screen sound with high sensitivity, and a relatively large screen sound intensity and driving power can be set for the screen sound with low sensitivity.
[0410] Optionally, in the embodiments of the present application, the electronic device (such as a mobile phone) can automatically turn on the function implemented by the above method, or can be set to be manually turned on by the user for the function implemented by the above method.
[0411] 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".
[0412] Each of the embodiments described herein may be an independent solution or may be combined according to internal logic, and all these solutions fall within the protection scope of the present application.
[0413] It can be understood that the methods and operations implemented by the electronic device in the above method embodiments can also be implemented by components (such as chips or circuits) applicable to the electronic device.
[0414] The present application also provides a chip, which is coupled to a memory and is used to read and execute computer programs or instructions stored in the memory to execute the methods in the above embodiments.
[0415] The present application also provides an electronic device, which includes a chip for reading and executing computer programs or instructions stored in a memory, so that the methods in the embodiments are executed.
[0416] This embodiment also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is enabled to execute the above-related method steps to implement the call control method in the above embodiments.
[0417] This embodiment also provides a computer program product. The computer-readable storage medium stores program codes. When the computer program product runs on a computer, the computer is enabled to execute the above-related steps to implement the call control method in the above embodiments.
[0418] In addition, the embodiments of the present application also provide a device, which may specifically be a chip, a component or a module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device runs, the processor may execute the computer execution instructions stored in the memory so that the chip executes the call control method in the above method embodiments.
[0419] 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 elaborated here.
[0420] The embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application. As long as the program that records the code of the method provided by the embodiments of the present application can be run to perform call control according to the method provided by the embodiments of the present application. For example, the execution subject of the method provided by 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.
[0421] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an "or" relationship. For example, A / B represents A or B.
[0422] The terms "first" and "second" in the description and claims of this application are used to distinguish different objects, rather than to describe a specific order of the objects. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more. For example, a plurality of processing units refers to two or more processing units, and a plurality of elements refers to two or more elements.
[0423] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0424] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, 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 displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0425] In several embodiments provided by 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 illustrative. For example, the division of the units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the couplings, direct couplings, or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0426] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0427] In addition, in each embodiment of this application, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0428] 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 this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium. This computer software product includes several instructions, and these instructions are used to cause 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 methods described in each embodiment of this application. The foregoing storage medium may include, but is not limited to: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs, etc., all kinds of media that can store program codes.
[0429] As described above, the above are only the specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope 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 generating device, and the screen sound generating device is used to drive the screen to generate sound. The method includes: Displaying a first setting interface, the first setting interface including a first call mode, a second call mode, and a third call mode; When the first call mode is selected, when a call is connected, the receiver and the screen sound generating device output voice at a first ratio and a first volume; during the call, the ratio and volume of the output voice change based on the magnitude of the user's volume adjustment; When the second call mode is selected, when a call is connected, voice is output based on a second ratio and a second volume of the receiver and the screen sound generating device during the previous call; during the call, the ratio and volume of the output voice change based on the magnitude of the ambient sound or based on the magnitude of the user's volume adjustment; When the third call mode is selected, when a call is connected, the receiver and the screen sound generating device output voice at a third ratio and a third volume; during the call, the volume of the output voice changes based on the magnitude of the user's volume adjustment.
2. The method according to claim 1, wherein: The first ratio, the second ratio, and the third ratio are respectively the ratio values of the sound intensity of the receiver to the sound intensity of the screen sound generating device; the first ratio is different from the third ratio; Wherein, the first volume, the second volume, and the third volume are respectively the total volume of the sound volume of the receiver and the sound volume of the screen sound generating device, and the third volume is greater than the first volume.
3. The method according to claim 1 or 2, wherein: In the first ratio, the sound intensity of the receiver is less than the sound intensity of the screen sound generating device; In the third ratio, the sound intensity of the receiver is greater than the sound intensity of the screen sound generating device.
4. The method according to any one of claims 1 to 3, characterized in that The method further includes: When the second call mode is selected, during the call, when the magnitude of the ambient sound where the electronic device is located is a first value, the receiver and the screen sound generating device output voice at the first ratio and the first volume; when the magnitude of the ambient sound where the electronic device is located is a second value, the receiver and the screen sound generating device output voice at the third ratio and the third volume.
5. The method according to claim 4, wherein The second ratio and the second volume of the receiver and the screen sound generating device during the previous call are the first ratio and the first volume.
6. The method according to claim 4, characterized in that, The second ratio and the second volume of the receiver and the screen sound generating device during the previous call are the third ratio and the third volume.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: When the second call mode is selected, during the call, the electronic device receives an operation by the user to adjust the call volume to a fourth volume, and the receiver and the screen sound generating device of the electronic device emit and output voice at a fourth ratio and the fourth volume.
8. The method according to claim 7, wherein The method further includes: When the second call mode is selected and the electronic device receives an operation from the user to adjust the call volume to the fourth volume, during a call, when the ambient sound level where the electronic device is located is the first value or the second value, the earpiece and the screen sound-emitting device output voice at the fourth ratio and the fourth volume.
9. The method according to any one of claims 1 to 8, characterized in that The method further includes: When the first call mode is selected, during a call, when the ambient sound level where the electronic device is located is the first value or the second value, the earpiece and the screen sound-emitting device of the electronic device emit and output voice at the first ratio and the first volume.
10. The method according to any one of claims 1 to 9, characterized in that The method further includes: When the first call mode is selected, during a call, the electronic device receives an operation from the user to increase the call volume from the first volume to the third volume, and the earpiece and the screen sound-emitting device of the electronic device emit and output voice at the third ratio and the third volume.
11. The method according to claim 10, wherein The method further includes: During a call, the electronic device receives an operation from the user to decrease the call volume from the third volume to the fifth volume, and the earpiece and the screen sound-emitting device of the electronic device emit and output voice at the fifth ratio and the fifth volume.
12. The method according to claim 11, wherein The fifth volume is less than or equal to the first volume.
13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: After the electronic device is powered on, the first call mode is defaultly enabled.
14. The method according to any one of claims 1 to 13, characterized in that, The method further includes: The electronic device receives an operation from the user on the first setting interface to switch among the first call mode, the second call mode, and the third call mode.
15. The method according to any one of claims 1 to 14, wherein 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 N decibel values, and N is a positive integer.
16. The method according to claim 15, characterized in that, The N volume levels include volume level 1 to volume level 10; wherein, the volume level corresponding to the first volume is within the range of [level 1, level I], and the volume level corresponding to the third volume is within the range of [level I + 1, level 10], where I is an integer greater than 1 and less than 10.
17. The method according to claim 16, wherein I is taken as 9, the first volume is level 9, and the third volume is level 10.
18. The method according to any one of claims 1 to 17, characterized in that The operation by which the user adjusts the volume is an operation where the user presses the physical volume up key, or an operation where the user drags the volume adjustment button in the volume bar icon.
19. An electronic device, characterized in that, It includes a processor, the processor is coupled with a memory, and the processor is used to execute the computer program or instructions stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 18.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program runs on the electronic device, it causes the electronic device to execute the method according to any one of claims 1 to 18.