Audio Processing Method, Electronic Device, Chip System and Storage Medium
By combining the sounding method of the screen and the earpiece in the mobile phone, and adjusting the automatic switching mode according to the volume, the sound leakage problem of the phone when listening to the ear is solved, and the privacy and sound quality of the voice output are achieved.
Patent Information
- Application Number
- CN202210191577.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-02-28
AI Technical Summary
When a user holds a phone with his ears to listen to the sound, the voice output through the earpiece can easily leak sound from the sound hole at the top, resulting in privacy leakage.
The combination of screen sound and earphone sound is adopted to automatically switch private call mode and high volume mode according to the volume adjustment. The intensity of screen sound is greater than that of earphones in privacy mode, and the intensity of earphone sound is greater than that of screen in high volume mode, ensuring the privacy and sound quality of voice output.
It effectively avoids sound leakage during voice calls, protects user privacy and improves call experience, ensuring clear and audible voice in a quiet environment.
Smart Images

Figure CN116708654B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and particularly to an audio processing method and an electronic device. Background Art
[0002] At present, most mobile phones use a receiver set at the top of the mobile phone to realize voice communication and sound output. Generally, the mobile phone needs to correspondingly set a sound outlet at the position of the receiver to release the energy when the receiver emits 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 output 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 of a user holding the mobile phone close to the ear to listen to 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 be heard by other users in a quiet environment, resulting in sound leakage and easily revealing user privacy. Summary of the Invention
[0004] This application provides an audio processing method and an electronic device, which solve the problem of sound leakage when playing voice through the receiver in the scenario where a user holds the mobile phone close to the ear to listen to sound.
[0005] To achieve the above object, this application adopts the following technical solutions:
[0006] In a first aspect, this application provides an audio processing method, which is 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:
[0007] Receiving a first operation of the user, where the first operation is used to trigger making a call or answering a call;
[0008] In response to the first operation, the electronic device enters a voice call state and outputs voice according to a first output strategy corresponding to the private call mode, and the first output strategy is to output voice through the screen;
[0009] Receiving a second operation of the user, where the second operation is used to trigger an increase in the output volume of the electronic device;
[0010] In response to the second operation, when the adjusted output volume is greater than a preset output volume, switching from the private call mode to the large volume mode and outputting voice according to a second output strategy corresponding to the large volume mode, and the second output strategy is to output voice through the receiver.
[0011] Through the audio processing method provided by the embodiments of the present application, when the electronic device enters the voice call state, the private call mode is automatically enabled. For example, the voice can be output by means of screen sound production to avoid sound leakage, protect the user's call privacy, and improve the user's call experience. When receiving the user's operation to increase the volume, if it is determined that the adjusted volume level is greater than the preset volume level, the high-volume mode is enabled. For example, the voice can be output by means of the earpiece sound production to ensure a good sound output effect and improve the user's call experience.
[0012] In some possible implementation manners, the first output strategy is to output the voice through the screen and the earpiece; wherein, when the voice is output through the screen and the earpiece in the private call mode, the volume intensity of the screen sound production is greater than or equal to the volume intensity of the earpiece sound production.
[0013] Through the above solution, in the private call mode, the screen and the earpiece can sound simultaneously and control these two sound production methods to sound at different volume intensities. For example, the intensity of the screen sound production is greater than or equal to the intensity of the earpiece sound production, so as to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0014] In some possible implementation manners, the second output strategy is to output the voice through the earpiece and the screen; wherein, when the voice is output through the screen and the earpiece in the high-volume mode, the volume intensity of the earpiece sound production is greater than the volume intensity of the screen sound production.
[0015] Through the above solution, in the high-volume mode, the screen and the earpiece can sound simultaneously and control these two sound production methods to sound at different volume intensities. For example, the intensity of the earpiece sound production is greater than the intensity of the screen sound production, so as to ensure a good sound output effect and improve the user's call experience.
[0016] In some possible implementation manners, the total output volume intensity in the private call mode is equal to the total output volume intensity in the high-volume mode.
[0017] In some possible implementation manners, the above method may further include: when switching from the private call mode to the high-volume mode, increasing the total output volume intensity of the electronic device.
[0018] In some possible implementation manners, after outputting the voice according to the second output strategy corresponding to the high-volume mode, the above method may further include:
[0019] Receiving a third operation of the user, where the third operation is used to trigger the reduction of the output volume of the electronic device;
[0020] In response to the third operation, when the adjusted output volume is less than or equal to the preset output volume, switch from the high-volume mode to the private call mode, and output the voice according to the first output strategy corresponding to the private call mode.
[0021] Through the above solution, when receiving the operation of the user to lower the volume, if it is determined that the adjusted volume level is less than or equal to the preset volume level, the private call mode is enabled to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0022] In some possible implementation manners, the above outputting the voice according to the first output strategy corresponding to the private call mode includes:
[0023] When the intelligent private call function of the electronic device is enabled, output the voice according to the first output strategy corresponding to the private call mode.
[0024] In some possible implementation manners, the output volume of the electronic device is represented by a volume level, and the preset volume is represented by a preset volume level; or, the output volume of the electronic device is represented by a volume decibel value, and the preset volume is represented by a preset volume decibel value.
[0025] In some possible implementation manners, the output volume range of the electronic device includes a preset volume decibel value range, the preset volume decibel value range is divided into N levels, and there is a one-to-one correspondence between the N volume levels and N decibel values in the preset volume decibel value range.
[0026] In some possible implementation manners, the above N volume levels include volume level 1 to volume level 10; among them, the private call mode corresponds to volume level 1 to volume level I, and the high-volume mode corresponds to volume level I + 1 to volume level 10, where I is an integer greater than 1 and less than 10.
[0027] In some possible implementation manners, the preset volume decibel value range is [2.5dB, 25dB].
[0028] In some possible implementation manners, when I takes 6, the preset volume level is volume level 6, and the volume decibel value corresponding to volume level 6 is 15dB.
[0029] In some possible implementation manners, the above method may further include:
[0030] After the intelligent private call function is enabled, display the first prompt message and / or the second prompt message in the first area of the voice call interface. The first prompt message is used to prompt that the private call function has been enabled, and the first prompt message is used to guide the user to approach the first area to answer the call;
[0031] Among them, the first area is the area of the screen closest to the screen sound generating device.
[0032] In some possible implementation manners, the above-mentioned displaying the first prompt message and / or the second prompt message in the first area in the voice call interface includes: alternately displaying the first prompt message and the second prompt message in the first area in the voice call interface.
[0033] In some possible implementation manners, the above-mentioned method further includes: when switching from the private call mode to the high volume mode, canceling the display of the first prompt message and the second prompt message.
[0034] In some possible implementation manners, the method further includes:
[0035] After the intelligent private call function is turned on, a third prompt message is displayed in the voice call interface of the first M voice calls, and the third prompt message is used to indicate the effect after the intelligent private call function is turned on;
[0036] The display of the third prompt message is canceled in the voice call interface of subsequent voice calls.
[0037] In some possible implementation manners, the above-mentioned method may further include: when outputting voice according to the first output strategy corresponding to the private call mode, displaying an icon for identifying the private call mode in the status bar of the electronic device.
[0038] In some possible implementation manners, the above-mentioned method may further include: when switching from the private call mode to the high volume mode, canceling the display of the icon for identifying the private call mode in the status bar of the electronic device.
[0039] In some possible implementation manners, the above-mentioned method may further include:
[0040] Receiving a fourth operation on the physical volume key of the electronic device;
[0041] In response to the fourth operation, a volume bar icon and a call mode icon are displayed in the voice call interface;
[0042] Among them, the volume bar icon is used to indicate the output volume size during a voice call, and the call mode icon is used to indicate that the current call mode is the private call mode or the high volume mode.
[0043] In some possible implementation manners, when the intelligent private call function is turned on, the call mode icon is an icon for indicating the private call mode; or, when the intelligent private call function is turned off, the call mode icon is an icon for indicating the high volume mode.
[0044] In some possible implementations, the electronic device may further include a speaker; the above method may further include:
[0045] When the intelligent privacy call function is enabled, receiving a fifth operation by the user on the speaker control in the voice call interface;
[0046] In response to the fifth operation, outputting voice through the speaker and stopping the earpiece from sounding and the screen from sounding.
[0047] In some possible implementations, the method may further include:
[0048] When receiving an operation by the user on the system settings icon, displaying a system settings interface, which includes a privacy call setting item;
[0049] When receiving an operation by the user on the privacy call setting item, displaying a settings interface for the intelligent privacy call function, which shows an enable control and a disable control for the intelligent privacy call function;
[0050] When receiving an operation by the user on the enable control, enabling the intelligent privacy call function; or when receiving an operation by the user on the disable control, disabling the intelligent privacy call function.
[0051] In some possible implementations, the above method may further include:
[0052] When the intelligent privacy call function is enabled, receiving a sixth operation by the user in the voice call interface;
[0053] In response to the sixth operation, jumping from the voice call interface to a card notification interface, which displays a first notification card for prompting that the intelligent privacy call function has been enabled.
[0054] In some possible implementations, the above method may further include: when receiving an operation by the user on the first notification card, jumping from the notification interface to the settings interface for the intelligent privacy call function.
[0055] In some possible implementations, the above method is applicable to the call scenario of an IP-based voice call.
[0056] In a second aspect, the present application provides an audio processing device, which includes a unit for executing the method in the first aspect above. The device may correspond to executing the method described in the first aspect above. For the relevant descriptions of the units in the device, please refer to the description in the first aspect. For the sake of brevity, they are not repeated here.
[0057] 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.
[0058] 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 a computer program or instruction. The processor is used to execute the computer program or instruction stored in the memory, so that the method in the first aspect is executed.
[0059] For example, the processor is used to execute the computer program or instruction stored in the memory, so that the device executes the method in the first aspect.
[0060] 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.
[0061] For example, when the computer program is executed by a computer, the computer can execute the method in the first aspect.
[0062] 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.
[0063] Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.
[0064] 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.
[0065] Optionally, the chip system further includes a memory, and the memory is connected to the processor through a circuit or a wire.
[0066] 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 a computer, the computer implements the method in the first aspect.
[0067] 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, and will not be elaborated here. Description of the Drawings
[0068] Figure 1 It is a schematic structural diagram of a structure with a receiver and a sound outlet hole arranged in an electronic device;
[0069] Figure 2 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application, which is provided with a receiver and a screen vibration device;
[0070] Figure 3 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0071] Figure 4 Schematic diagram one of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0072] Figure 5 Schematic diagram two of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0073] Figure 6 Schematic diagram three of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0074] Figure 7 Schematic diagram four of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0075] Figure 8 Schematic diagram of the change of the volume bar when an audio processing method provided in an embodiment of the present application is switched in mode;
[0076] Figure 9 Schematic diagram five of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0077] Figure 10 Schematic diagram six of the interface of an audio processing method applied to an electronic device provided in an embodiment of the present application;
[0078] Figure 11 Schematic diagram of the volume level division applied by an audio processing method provided in an embodiment of the present application;
[0079] Figure 12 Schematic diagram of another volume level division applied by an audio processing method provided in an embodiment of the present application;
[0080] Figure 13 Schematic diagram one of the change of the volume bar when an audio processing method provided in an embodiment of the present application is switched in mode;
[0081] Figure 14 Schematic diagram two of the change of the volume bar when an audio processing method provided in an embodiment of the present application is switched in mode;
[0082] Figure 15 Schematic diagram three of the change of the volume bar when an audio processing method provided in an embodiment of the present application is switched in mode;
[0083] Figure 16 Figure 7 of the schematic diagram of the interface of an electronic device to which an audio processing method provided by an embodiment of the present application is applied;
[0084] Figure 17 Figure 8 of the schematic diagram of the interface of an electronic device to which an audio processing method provided by an embodiment of the present application is applied;
[0085] Figure 18 Figure 9 of the schematic diagram of the interface of an electronic device to which an audio processing method provided by an embodiment of the present application is applied;
[0086] Figure 19 Figure 10 of the schematic diagram of the interface of an electronic device to which an audio processing method provided by an embodiment of the present application is applied;
[0087] Figure 20 Figure 11 of the schematic diagram of the interface of an electronic device to which an audio processing method provided by an embodiment of the present application is applied;
[0088] Figure 21 Schematic diagram of the structure of an audio processing device provided by an embodiment of the present application. Detailed implementation manners
[0089] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0090] Currently, most mobile phones use a receiver disposed at the top of the mobile phone to implement voice communication sound. Generally, the mobile phone needs to correspondingly set a sound outlet hole at the position of the receiver to release the energy when the receiver emits sound, and the sound outlet hole is 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 outlet hole disposed on the front panel occupies 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 mobile phone to further improve the screen-to-body ratio.
[0091] Therefore, with the development of large-screen and full-screen mobile phones, in order to reduce the area occupied by the sound outlet holes of the earpiece (also known as the receiver) for call sound in voice communication on the front panel of the mobile phone, so as to further increase the screen-to-body ratio of the screen, the sound outlet 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 output area is large enough and has a good sound output effect, some full-screen mobile phones also add openings at the top of the middle frame as sound outlet holes.
[0092] 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 border), a rear panel for supporting the internal circuit, and a middle frame. A housing structure can be enclosed by the front panel, the rear panel, and the middle frame. As Figure 1 shown in (a) of Figure 1 , at the position at the top in the housing structure (i.e., the top position of the mobile phone), an earpiece 101 (i.e., a speaker for call sound in voice communication, also known as the receiver) is provided. Corresponding to the earpiece 101, the mobile phone is provided with two sound outlet holes (such as, sound outlet hole 102 and sound outlet hole 103). Combining Figure 1 shown in (b) of Figure 1 , (b) of Figure 1 is a cross-sectional view of the mobile phone structure, where the sound outlet hole 102 is located at the connection between the front panel and the middle frame of the mobile phone (i.e., the side slit). The sound outlet hole 103 is located at a position on the middle frame of the mobile phone that is relatively close to the above-mentioned earpiece 101 (i.e., the top position of the middle frame of the mobile phone).
[0093] However, for the sound outlet holes set in this way, when the user is using the mobile phone for voice communication normally, the user's auricle cannot completely cover the sound outlet holes. Therefore, when the sound energy of the speaker comes out from the sound outlet hole opened at the top of the middle frame of the mobile phone, there will be a sound leakage phenomenon. Figure 1 Shown in (c) of Figure 1 is a schematic diagram of the scenario where the user conducts voice communication through the mobile phone. As Figure 1 shown in (c), when the user holds the mobile phone and conducts voice communication 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 at the side slit 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 from the sound outlet holes can not only be heard by this user, but also be heard by other users in a quiet environment.
[0094] To solve the above problems, an embodiment of the present application provides an audio processing method, which can be applied to an electronic device with a voice communication function. For example, the audio processing method can be applied to a scenario where a user listens to sounds closely through the above-mentioned electronic device, such as when the user makes a voice call through the earpiece or listens to a voice message in an instant messaging application through the earpiece. Among them, the above-mentioned electronic device may include a display screen (also referred to as a screen), a screen sound generating device (i.e., a device capable of generating sound by vibrating the screen), an earpiece (i.e., the speaker used for call sound in voice communication, also referred to as a receiver), and a sound outlet hole opened corresponding to the earpiece.
[0095] 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 (b) thereof, in addition to being provided with Figure 1 the earpiece 101, the sound outlet hole 102, and the sound outlet hole 103 shown, the electronic device is further 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 referred to as an exciter) connected to the screen. The exciter causes the screen to vibrate, thereby realizing sound generation through the screen. Among them, the screen sound generating device 104 is disposed within the housing structure of the electronic device.
[0096] It should be noted that, in the embodiment of the present application, the voice output mode (also referred to as the listening mode) of the electronic device may include a privacy mode (privacy mode, PVM), a high-volume mode, and a speaker mode. Among them, the privacy mode may also be referred to as a private call mode.
[0097] In some embodiments, after the electronic device enables the private call mode, the electronic device may combine the screen sound generating method and the earpiece sound generating method to output voice. 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%). That is, the mobile phone can play voice in a manner that mainly uses the screen to generate sound and the earpiece to generate sound as an auxiliary. The private call mode may also only use the screen to generate sound.
[0098] In some embodiments, after the electronic device enables the high-volume mode, the electronic device may combine the earpiece sound generating method and the screen sound generating method to output voice. 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%). The mobile phone can play voice in a manner that mainly uses the earpiece to generate sound and the screen to generate sound as an auxiliary.
[0099] In some embodiments, when switching from the private call mode to the high-volume 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 to enhance the voice playback effect. That is to say, the overall sound loudness when the voice is output through the earpiece and the screen in the high-volume mode is greater than the overall sound loudness when the voice is output through the earpiece and the screen in the private call mode.
[0100] Compared with the earpiece sound output mode, the screen sound output mode 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 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.
[0101] In some other embodiments, after the electronic device enables the private call mode, the electronic device can also output the voice only through the screen sound output mode. It can be understood that the earpiece does not emit sound at this time.
[0102] In some other embodiments, after the electronic device enables the high-volume mode, the electronic device can also output the voice only through the earpiece sound output mode. It can be understood that the screen does not emit sound at this time.
[0103] In some embodiments, after the electronic device enables the speaker mode, the electronic device outputs the voice through the speaker (also called the horn). It can be understood that the earpiece and the screen do not emit sound at this time.
[0104] Optionally, in response to the user's operation on the electronic device, the voice output mode can be controlled to switch between the private call mode, the high-volume mode, and the speaker mode. The specific triggering conditions and the switching process will be described in detail below.
[0105] Hereinafter, the electronic device to which the audio processing method provided in the embodiments of the present application is applied will be described first in conjunction with the accompanying drawings.
[0106] Exemplarily, the electronic device in the embodiments 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 have voice communication functions. The embodiments of the present application do not impose special restrictions on the specific form of the electronic device.
[0107] Exemplarily, taking the electronic device as a mobile phone as an example, Figure 3 The structural schematic diagram of another electronic device provided in the embodiments of the present application is shown. That is to say, exemplarily, Figure 3The electronic device shown can be a mobile phone.
[0108] As Figure 3 shown, 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 39, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, a screen sound generating device 396, etc.
[0109] Among them, the above 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 can detect whether the user's ear is close to the earpiece through sensors such as a proximity light sensor (i.e., a light sensor), a distance sensor, etc. For example, the electronic device can 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, and determine whether the current user's ear is close to the earpiece.
[0110] It can be understood that the structure shown in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0111] 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.
[0112] The controller may be the nerve center and command center of the mobile phone. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0113] A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory may 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.
[0114] In some embodiments, the processor 310 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0115] It can be understood that the interface connection relationships between the modules illustrated in this embodiment are only illustrative descriptions and do not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0116] In the embodiments of the present application, the electronic device can determine the category of the current listening environment through the processor 310, and then adjust the frequency bands of the speaker and the screen according to this category respectively, so as to control the speaker and the screen to play the sounds in the corresponding frequency bands of the sound signal respectively, thereby avoiding sound leakage of the electronic device when a person listens with ears in a quiet environment.
[0117] The charging management module 340 is used to receive charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342. The power management module 341 is used to connect the battery 342, the charging management module 340 and the processor 310. The power management module 341 receives the inputs from the battery 342 and / or the charging management module 340 to supply power to each component of the electronic device.
[0118] 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, the baseband processor, etc.
[0119] 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.
[0120] 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 mobile communication module 350 can provide wireless communication solutions including 2G / 3G / 4G / 5G, etc. applied to the mobile phone. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves by the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0121] 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.
[0122] The wireless communication module 360 can provide solutions for wireless communications applied to a mobile phone, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), and the like.
[0123] 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.
[0124] Of course, the above wireless communication module 360 can also support voice communication on the mobile phone. For example, the mobile phone can access a Wi-Fi network through the wireless communication module 360, and then use any application 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.
[0125] The mobile phone can implement the display function through the GPU, the display screen 394, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 can include one or more GPUs, which execute program instructions to generate or change display information. The display screen 394 is used to display images, videos, etc.
[0126] The mobile phone can implement the shooting function through the ISP, camera 393, video codec, GPU, display screen 394, 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 static 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.
[0127] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The internal memory 321 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 310 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 321. For example, in 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.
[0128] 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. For example, music playback, recording, etc.
[0129] The audio module 370 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 370 can also be used 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 called a "loudspeaker", is used to convert audio electrical signals into sound signals. The receiver 370B, also called an "earpiece", is used to convert audio electrical signals into sound signals. The microphone 370C, also called a "microphone", "transmitter", is used to convert sound signals into electrical signals. The headphone jack 370D is used to connect a wired headphone. The headphone jack 370D can be a USB interface 330, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0130] Among them, the receiver 370B (i.e., the "earpiece") can be Figure 1 the earpiece 101 shown.
[0131] Exemplarily, in the embodiments of the present application, the audio module 370 may 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 (i.e., "earpiece") of the audio module 370, and at the same time, the screen sound generating device 396 drives the screen (i.e., the display screen) to generate sound for playing the sound signals.
[0132] Exemplarily, in the embodiments of the present application, the electronic device may detect the sound intensity of the ambient sound in the current environment through the microphone 370C. Thus, it is convenient for the processor 310 to determine the category of the current listening environment according to the detected sound intensity of the ambient sound.
[0133] 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 state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 395 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.
[0134] Of course, it can be understood that the above Figure 3 is only an exemplary description when the device form of the electronic device is a mobile phone. When the electronic device is in other device forms such as a tablet computer, a handheld computer, a PDA, a wearable device (such as a smart watch, a smart bracelet), etc., the structure of the electronic device may include fewer structures than Figure 3 shown, or may include more structures than Figure 3 shown, which is not limited herein.
[0135] In the embodiments of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as the main memory). The operating system of the operating system layer can be any one or more computer operating systems that implement service processing through processes. For example, the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the windows operating system, etc. The application layer may include applications such as a browser, an address book, a word processing software, an instant messaging software, etc.
[0136] The following will describe the embodiments of the present application by way of multiple exemplary embodiments in conjunction with the accompanying drawings. The methods in the following embodiments can all be implemented in an electronic device having the above-mentioned hardware structure. For the sake of convenience of description, in the embodiments of the present application, the electronic device is taken as a mobile phone as shown in Figure 1 for example.
[0137] The embodiments of the present application provide an audio processing method. When receiving an operation of the user to lower or raise the volume, if it is determined that the adjusted volume level is less than or equal to a preset volume level, the private call mode is enabled. For example, the screen and the earpiece can be used to emit sound simultaneously and control the 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 privacy of the user's call, and improve the user's call experience. If it is determined that the adjusted volume level is greater than the preset volume level, the high-volume mode is enabled. For example, the screen and the earpiece can be used to emit sound simultaneously and control the 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.
[0138] The audio control method provided by the embodiments of the present application can be applied to a 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 the 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, which is not limited in the embodiments of the present application. For the sake of convenience of description, in the following, the interfaces adopted in the above various voice call scenarios are collectively referred to as voice call interfaces.
[0139] In the embodiments of the present application, the electronic device has the intelligent private call function enabled by default. After the intelligent private call function is enabled, the private call mode can be directly enabled in the voice call scenario, or enabled when the volume value of the electronic device is lower than the preset volume level in the voice call scenario, which can be specifically determined according to actual usage requirements and is not limited in the embodiments of the present application.
[0140] As described above, the private call mode can combine the screen sound-emitting method and the earpiece sound-emitting method to output voice. Optionally, the voice output intensity corresponding to the screen sound-emitting method is greater than or equal to the voice output intensity corresponding to the earpiece sound-emitting method. Or, the private call mode can output voice only through the screen sound-emitting method. Compared with the earpiece sound-emitting method, the screen sound-emitting 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 private call mode can be adopted, which can ensure clear calls while reducing sound leakage, thereby protecting the privacy of the user.
[0141] In some embodiments, when the electronic device receives a call, the privacy call mode corresponding to the intelligent privacy call function can be enabled by default, and a prompt message related to the enabled intelligent privacy call function can be displayed on the incoming call interface. Optionally, the prompt message can be text, an icon, or a combination of text and an icon.
[0142] In some embodiments, after the intelligent privacy call function is enabled, when using the earpiece to make or answer calls each time, an introduction and description of the intelligent privacy call function (e.g., ensuring clear calls while reducing sound leakage and protecting privacy) can be displayed within a bubble box on the voice call interface; operation methods such as "Intelligent Privacy Call Enabled" and / or "Get clearer sound when approaching this area" can also be displayed in a specific area (i.e., the screen sound-emitting area). Through these prompt messages, the intelligent privacy call function is introduced and users are guided to use the intelligent privacy call function.
[0143] Exemplarily, taking the incoming call scenario as an example, Figure 4 shows a schematic diagram of the incoming call interface, as Figure 4 shown in (a) below. The following prompt messages are displayed on the incoming call interface 40: "Intelligent Privacy Call Enabled" 41, "Ensuring clear calls while reducing sound leakage and protecting privacy" 42 (located within the bubble box), and an icon 43 indicating the privacy call (displayed at the status bar). As Figure 4 shown in (b) below. The following prompt messages are displayed on the incoming call interface 40: "Get clearer sound when approaching this area" 44, "Ensuring clear calls while reducing sound leakage and protecting privacy" 42, and an icon 43 indicating the privacy call. These prompt messages are all used to prompt that the privacy call mode has been enabled. Among them, "Intelligent Privacy Call Enabled" 41 and "Get clearer sound when approaching this area" 44 can be alternately displayed (i.e., carousel) on the incoming call interface 40. This can enable users to learn about the intelligent privacy call function more quickly and learn to use the function, improving the human-computer interaction experience.
[0144] It should be noted that the above prompt messages are all for illustrative purposes. The specific content, display position, 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.
[0145] Optionally, the above prompt messages can be displayed on the voice call interface in the first N call scenarios (e.g., N is 3) after the intelligent privacy call function is enabled to guide users to use the intelligent privacy call function, and the display is cancelled in subsequent call scenarios. For example, introductions and descriptions of the intelligent privacy call function such as "Ensuring clear calls while reducing sound leakage and protecting privacy" can be cancelled from display on the voice call interface.
[0146] 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 is cancelled from display in the voice call interface. For example, the bubble box corresponding to "Ensuring clear call while reducing sound leakage and protecting privacy" disappears.
[0147] In some embodiments, in the voice call interface, "Intelligent Privacy Call is 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 is enabled" can remain displayed.
[0148] Exemplarily, taking the call scenario after answering an incoming call as an example, Figure 5 The schematic diagrams of the incoming call interface and the voice call interface after answering are shown. As Figure 5 shown in (a) of [reference], the user clicks the answer button 45 in the incoming call interface 40 to answer the call. As Figure 5 shown in (b) of [reference], in response to the user's operation on the answer button 45, the incoming call interface 40 switches to display the voice call interface 46. The following prompt messages are displayed in the voice call interface 46: "Intelligent Privacy Call is enabled" 41 and the icon 43 indicating the privacy call. Among them, Figure 5 the bubble box corresponding to "Ensuring clear call while reducing sound leakage and protecting privacy" shown in (a) of [reference] disappears.
[0149] 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 is enabled are displayed in the menu bar.
[0150] Exemplarily, Figure 6 The schematic diagram of the notification card regarding the intelligent privacy call function displayed in the menu bar is shown. As Figure 6 shown in (a) of [reference], the user slides a finger downward along the arrow direction on the voice call interface 46 to pull down the menu bar. As Figure 6 shown in (b) of [reference], the menu bar (also called the notification interface) is displayed. A notification card 47 and a notification card 48 are displayed in this 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 is enabled.
[0151] Through these notification cards, it is convenient for the user to better understand the application scenarios and application effects of the intelligent privacy call function, improving the user experience.
[0152] In some embodiments, the audio processing method provided by the embodiments of the present application is also applicable to voice over Internet protocol (VoIP). Exemplarily, Figure 7 FIG. shows an interface schematic diagram of a call scenario of a VoIP phone, as Figure 7 shown, in the VoIP call interface 50, "Intelligent Private Call Enabled" 51 and an icon 52 indicating a private call are displayed, which is used to prompt that the current call scenario adopts a private call mode to implement voice output.
[0153] 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. It can be understood that in actual implementation, the audio processing 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 of the intelligent private call function, reference can be made to the detailed description of the intelligent private call function in the above incoming call scenario and the call scenario after answering the incoming call, which will not be elaborated here.
[0154] It should also be noted that the audio processing method provided by the embodiments 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, and the above intelligent private call function can also be applied when these voice messages are played to avoid sound leakage during the playback of voice messages.
[0155] Furthermore, it should be noted that the audio processing method provided by the embodiments of the present application is also applicable to the scenario of playing recordings. For example, the above intelligent private call function can also be applied when playing recordings to avoid sound leakage during the playback of recordings.
[0156] It can be understood that the audio processing method provided by the embodiments of the present application can be applicable to various scenarios where a user needs to listen to sounds closely through an electronic device, and the embodiments of the present application do not limit this.
[0157] In the embodiments of the present application, after the intelligent private call function is enabled, in a voice call scenario, the private call mode can be automatically enabled when the output volume level of the electronic device is lower than a preset volume level. That is to say, in a voice call scenario, when the output volume level of the electronic device is lower than the preset volume level, it 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 being greater than the earpiece sounding intensity) to output voice, avoiding sound leakage during the voice call.
[0158] 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, the privacy call mode can also be automatically switched, and the voice output mode corresponding to the privacy call mode (for example, by jointly sounding through the screen and the earpiece, such as the screen sounding intensity being greater than the earpiece sounding intensity) is adopted to output the voice, so as to avoid voice leakage during a voice call.
[0159] In some embodiments, after the electronic device turns on the privacy call mode, the electronic device can jointly adopt the screen sounding mode and the earpiece sounding mode to output the voice. Among them, the voice output intensity corresponding to the screen sounding mode (for example, 7**%*) is greater than or equal to the voice output intensity corresponding to the earpiece sounding mode (for example, 3**%*). That is, the mobile phone can adopt the mode of mainly sounding through the screen and supplemented by the earpiece to play the voice simultaneously. The privacy call mode can also only adopt screen sounding.
[0160] In some embodiments, after the electronic device turns on the high volume mode, the electronic device can jointly adopt the earpiece sounding mode and the screen sounding mode to output the voice. Among them, the voice output intensity corresponding to the earpiece sounding mode (for example, 7**%*) is greater than the voice output intensity corresponding to the screen sounding mode (for example, 3**%*). The mobile phone can adopt the mode of mainly sounding through the earpiece and supplemented by the screen to play the voice simultaneously.
[0161] In some embodiments, when switching from the privacy call mode to the high volume mode, the overall sounding volume (or called loudness or intensity) can also be increased on the basis of the volume corresponding to the privacy call mode, so as to improve the voice playback effect. That is to say, the overall sounding loudness when sounding through the earpiece and the screen in the high volume mode is greater than the overall sounding loudness when sounding through the earpiece and the screen in the privacy call mode.
[0162] Compared with the earpiece sounding mode, the screen sounding 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 privacy call mode can be adopted, which can ensure clear calls while reducing voice leakage, thus achieving the effect of protecting the user's privacy.
[0163] The above describes the possible ways to turn on the privacy call mode and the display effect of the voice call interface after it is turned on. Next, the possible implementation ways of the privacy call mode in actual use will be described in detail. For example, the following will introduce: how to implement the switch between the privacy call mode and the high volume mode, specifically which user operations and what conditions can trigger the mode switch, and the changes of the volume bar during the mode switch, etc.
[0164] In the embodiments of the present application, through the audio processing method provided by the present application, the switching use of the privacy call mode and the high volume mode can be controlled according to the output volume level or range of the electronic device.
[0165] Among them, for the switching between the private call mode and the high-volume mode, the electronic device can pre-define the following rules:
[0166] When the output volume level of the electronic device is less than or equal to the preset volume level, or when the output volume level of the electronic device is within the preset first volume level range, the private call mode is automatically enabled;
[0167] 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 the high-volume mode is entered. 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.
[0168] It should be noted that the output volume level of the above-mentioned electronic device can be the volume level when answering or making a call, or can be the volume level after the user triggers an adjustment.
[0169] That is to say, in the scenario where the user listens to the sound by putting the electronic device close to the ear, the audio processing method provided in this application can automatically enable the private call mode when the output volume level of the electronic device decreases and is less than or equal to the preset volume level, so as to avoid sound leakage during a voice call. When the output volume level of the electronic device increases and exceeds the preset volume level, the private call mode is automatically exited and the high-volume mode is entered to ensure the high-volume playback effect.
[0170] Exemplarily, when receiving an operation of 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, 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 intensity of the screen sound is greater than the intensity of the earpiece sound) to avoid sound leakage and improve the user's call experience. If it is determined that the adjusted volume level is greater than the preset volume level, the high-volume 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 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.
[0171] 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 level 1 to level 10 increase gradually. Among them, the volume value can be expressed in decibels (dB). The volume value or volume range corresponding to each level can be specifically determined according to actual usage requirements, and the embodiments of this application do not make limitations.
[0172] In some embodiments, the volume value can be represented in the form of a volume bar. For example, different volume levels are distinguished by different filling lengths in the volume bar. For instance, 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 is reached. When the volume bar is not filled, it indicates mute.
[0173] Specifically for the solution of the present application, according to the actual situation, one level among these 10 levels can be selected as the preset volume level. Exemplarily, level 6 can be selected as the preset volume level; correspondingly, the preset first volume level range can be [1, 6], and the preset second volume level range can be [7, 10].
[0174] Exemplarily, different call modes are enabled for different volume levels here, as Figure 8 shown in (a) below. The volume bar corresponds to volume level 6 (taking level 6 as an example here, it can also be any level from level 1 to level 5). Volume level 6 is within the volume level range of [1, 6]. At this time, the private call mode is enabled. Referring again to Figure 8 shown in (b) below. The volume bar corresponds to level 7 (taking level 7 as an example here, it can also be any level from level 8 to level 10). Volume level 7 is within the volume range of [7, 10]. At this time, the high-volume mode is enabled.
[0175] Exemplarily, the switching between different call modes is described here, as Figure 8 shown in (a) below. When the user turns up the volume, the filling amount of the volume bar will increase. For example, when the volume bar changes from level 6 to level 7, the private call mode will automatically exit and enter the high-volume mode, that is, switch from the private call mode to the high-volume mode. When the user turns down the volume, the filling amount of the volume bar will decrease. For example, when the volume bar changes from level 7 to level 6, it switches from the high-volume mode to the private call mode.
[0176] It should be noted that the above examples of the volume bar changing from level 6 to level 7 and the volume bar changing from level 7 to level 6 are for illustrative purposes. In actual implementation, changing from any level from level 1 to level 6 to any level from level 7 to level 10 can trigger the switch from the private call mode to the high-volume mode; and changing from any level from level 7 to level 10 to any level from level 1 to level 6 can trigger the switch from the high-volume mode to the private call mode.
[0177] It should be noted that the above selection of volume level 6 as the preset volume level is for illustrative purposes. In actual implementation, the value of the preset volume level can be selected according to specific circumstances, and the embodiments of the present application do not limit this.
[0178] Optionally, the embodiments of the present application do not limit the display form, display color, display length, etc. of the volume bar in the large volume mode and the private call mode. In some embodiments, the volume bar in the large volume mode and the volume bar in the private call mode may be as shown in Figure 8 as shown in (a) therein. In other embodiments, the volume bar in the large volume mode and the volume bar in the private call mode may be as shown in Figure 8 as shown in (b) therein, and the volume bars in the two call modes are different in display color. For the convenience of description, in the embodiments of the present application, the volume bar shown in Figure 8 as shown in (a) therein is taken as an example for exemplary description
[0179] Optionally, in the embodiments of the present application, different icons may be used to represent the private call mode and the large volume mode respectively to distinguish the private call mode and the large volume mode. Specifically, the icons for identifying the call mode may be determined according to actual usage requirements in terms of display position, display size, display form, etc., and the embodiments of the present application do not make any limitations. Optionally, the icons for identifying the call mode may be displayed below or above the volume bar.
[0180] In some embodiments, when the call mode is switched, while the filling amount of the volume bar changes, the icon of the call mode will also change accordingly to prompt the user that the call mode has been switched, thereby improving the user experience.
[0181] In some embodiments, when the call mode is switched, the electronic device may vibrate to prompt the user, improving the user experience.
[0182] In some embodiments, the user may press the physical volume keys of the electronic device to increase or decrease the volume. In other embodiments, the user may slide on the volume bar displayed on the screen to increase or decrease the volume.
[0183] The process of the above call mode switching is described below with reference to the accompanying drawings.
[0184] Exemplarily, Figure 9 shows a schematic diagram of an interface for call mode switching. As shown in Figure 9 as shown in (a) therein, the private call mode has been enabled during the current voice call. The user may press the volume keys to adjust the volume. As shown in Figure 9 as shown in (b) therein, after the user presses the volume keys, a volume bar 61 and an icon 62 for identifying the private call mode are displayed in the voice call interface. The volume keys include a volume increase key (volume + key) and a volume decrease key (volume - key). The user may press the volume + key to increase the volume or press the volume - key to decrease the volume. As shown in Figure 9As shown in (c) and (d) therein, when the user presses the volume + key to increase the volume, the volume bar increases in the arrow direction. When the adjusted volume level exceeds the preset volume level (level 6), the privacy call mode is switched to the high volume mode. As Figure 9 As shown in (d) therein, in the high volume mode, the icon 62 for identifying the privacy call mode is updated to display the icon 63 for identifying the high volume mode; in addition, the relevant prompt information of the privacy call mode, such as "Smart Privacy Call has been enabled" is no longer displayed, and the icon for identifying the privacy call mode in the status bar is also cancelled.
[0185] Exemplarily again, Figure 10 shows another schematic diagram of the call mode switch. As Figure 10 As shown in (a) therein, the volume bar 61 and the icon 63 for identifying the high volume mode are displayed in the voice call interface, from which it can be known that the current voice call is in the high volume mode. The user can adjust the volume by sliding a finger along a specific direction on the volume bar 61. For example, sliding a finger in one direction can increase the volume, and sliding a finger in the opposite direction can decrease the volume. As Figure 10 As shown in (b) therein, the user slides a finger along the arrow direction on the volume bar 61 to decrease the volume. As Figure 10 As shown in (c) therein, when the user operates on the volume bar 61 to decrease the volume, the volume bar decreases in the arrow direction. When the adjusted volume level is less than or equal to the preset volume level (level 6), the high volume mode is switched to the privacy call mode. As Figure 10 As shown in (c) therein, in the privacy call mode, the icon 63 for identifying the high volume mode is updated to display the icon 62 for identifying the privacy call mode; in addition, "Smart Privacy Call has been enabled" will be displayed, and the icon for identifying the privacy call mode will also be displayed in the status bar to prompt the user that the privacy call mode is currently enabled.
[0186] Optionally, as Figure 10 As shown in (c) and (d) therein, after a preset duration (such as 5 seconds), the volume bar and the icon for identifying the call mode will be hidden. The user can press the physical volume button to call out the volume bar and the icon for identifying the call mode again.
[0187] In the embodiments of the present application, Figure 11 shows a schematic diagram of the division of volume levels and the mapping relationship between each volume level and volume values. As Figure 11As shown, the volume level is divided into levels 1 to 10. When the volume level is within the range of levels 1 to 6, the private call mode is enabled; when the volume level is within the range of levels 7 to 10, the high-volume mode is enabled. Exemplarily, the volume values corresponding to levels 1 to 10 are: 2.5dB, 5dB, 7.5dB, 10dB, 12.5dB, 15dB, 17.5dB, 20dB, 22.5dB, 25dB. It can be understood 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.
[0188] It should be noted that in the above embodiments, the private call mode and the high-volume mode adopt the same volume level division rule. In some embodiments, the private call mode and the high-volume mode can also adopt different volume level division rules. The following combines Figure 12 Exemplarily illustrate the volume level division rules of these two call modes and the volume level mapping relationship between these two call modes.
[0189] As Figure 12 shown, the private call mode can also correspond to 10 volume levels. The volume values corresponding to these 10 volume levels are respectively from 1.5dB to 15dB. For example, volume level 1 corresponds to 1.5dB, and volume level 10 corresponds to 15dB. The high-volume mode corresponds to 10 volume levels. The volume values corresponding to these 10 volume levels are respectively from 2.5dB to 25dB. For example, volume level 1 corresponds to 2.5dB, and volume level 10 corresponds to 25dB. The volume value range covered by the 10 volume levels of the private call mode is the same as the volume value range covered by volume levels 1 to 6 of the high-volume mode. It can be understood that the 10 volume levels of the private call mode are a finer level division of volume levels 1 to 6 of the high-volume mode.
[0190] Figure 12 It also shows the volume level mapping relationship when switching from the private call mode to the high-volume mode. As Figure 12 shown, the volume value corresponding to volume level 10 of the private call mode is 15, and the volume value corresponding to volume level 6 of the high-volume mode is also 15. That is to say, volume level 10 of the private call mode is equivalent to volume level 6 of the high-volume mode.
[0191] Among them, the volume level 9 (13.5 dB) of the private call mode is approximately equivalent to the volume level 6 (15 dB) of the high volume mode, the volume level 8 (12 dB) of the private call mode is approximately equivalent to the volume level 5 (12.5 dB) of the high volume mode, the volume levels 6 (9 dB) and 7 (10.5 dB) of the private call mode are approximately equivalent to the volume level 4 (10 dB) of the high volume mode, the volume level 4 (6 dB) of the private call mode is approximately equivalent to the volume level 3 (7.5 dB) of the high volume mode, the volume level 5 (7.5 dB) of the private call mode is equivalent to the volume level 3 (7.5 dB) of the high volume mode, the volume levels 2 (3 dB) and 3 (4.5 dB) of the private call mode are approximately equivalent to the volume level 2 (5 dB) of the high volume mode, and the volume level 1 (1.5 dB) of the private call mode is approximately equivalent to the volume level 1 (2.5 dB) of the high volume mode.
[0192] It should be noted that Figure 12 The mapping relationship shown is for illustrative purposes and can be determined specifically according to actual usage requirements, which is not limited in the embodiments of this application.
[0193] Combined with Figure 11 and Figure 12 the volume level division rules shown, during the process of switching between the private call mode and the high volume mode, there can be various possible implementation methods for the change form of the volume bar. The embodiments of this application exemplarily give the following three implementation methods:
[0194] Method 1, with reference to Figure 11 and Figure 13 , the lengths of the volume bars in the two modes are the same and the range of volume values represented by the volume bars is the same. The maximum level of the volume bars in both modes is volume level 10, and volume level 10 corresponds to 25 dB.
[0195] As shown in (a) of Figure 13 , the current volume bar represents volume level 6 (15 dB), and this is the private call mode at this time. When the user increases the volume, the shaded filling amount of the volume bar increases. For example, when the volume level rises to volume level 7 (17.5 dB), a mode switch occurs at this time, that is, exiting the private call mode and entering the high volume mode. Further, when the user continues to increase the volume, the shaded filling amount of the volume bar increases. For example, when the volume level rises to volume level 8 (20 dB), it is still the high volume mode at this time.
[0196] As shown in Figure 13As shown in (b) of [reference], the current volume bar indicates volume level 7 (17.5 dB), and at this time, it is in the high-volume mode. When the user lowers the volume, the shaded filling amount of the volume bar decreases. For example, when the volume level drops to volume level 6 (15 dB), a mode switch occurs at this time, that is, the private call mode is enabled and the high-volume mode is exited. Further, when the user continues to lower the volume, the shaded filling amount of the volume bar decreases. For example, when the volume level drops to volume level 5 (12.5 dB), it is still in the private call mode at this time.
[0197] Method 2, in combination with reference Figure 12 and Figure 14 , the volume bars of the two modes have different lengths and different ranges of volume values represented by the volume bars. Different from Method 1 above, in Method 2, the length of the volume bar in the private call mode is less than the length of the volume bar in the high-volume mode. The maximum level of the volume bar in the private call mode is volume level 10, and this volume level 10 corresponds to 15 dB; the maximum level of the volume bar in the high-volume mode is volume level 10, and this volume level 10 corresponds to 25 dB.
[0198] As Figure 14 shown in (a) of [reference], the current volume bar indicates volume level 8 (12 dB), and at this time, it is in the private call mode. When the user raises the volume, the shaded filling amount of the volume bar becomes fully filled, and the volume level rises to volume level 10 (15 dB). When the user continues to raise the volume, the volume bar becomes longer and the shaded filling amount changes to an unfilled state. For example, the corresponding volume level is volume level 8 (20 dB), and at this time, a mode switch occurs, that is, the private call mode is exited and the high-volume mode is entered. Further, when the user continues to raise the volume, the length of the volume bar does not change and the shaded filling amount of the volume bar increases. For example, when the volume level rises to volume level 9 (22.5 dB), it is still in the high-volume mode at this time.
[0199] As Figure 14 shown in (b) of [reference], the current volume bar indicates volume level 7 (17.5 dB), and at this time, it is in the high-volume mode. When the user lowers the volume, the volume bar becomes shorter and the shaded filling amount changes to a fully filled state, and the corresponding volume level is volume level 10 (15 dB). At this time, a mode switch occurs, that is, the private call mode is enabled and the high-volume mode is exited. Further, when the user continues to lower the volume, the length of the volume bar does not change and the shaded filling amount decreases. For example, when the volume level drops to volume level 7 (10.5 dB), it is still in the private call mode at this time.
[0200] It can be seen that in Method 2, the volume bar can be adjusted to the maximum level in the private call mode, that is, volume level 10, and at this time, the volume bar remains fully displayed.
[0201] Method 3, in combination with reference Figure 12 and Figure 15, the volume bar lengths of the two modes are the same, but the range of volume values represented by the volume bar is different. Different from the above-mentioned Method 1, in Method 3, the maximum level of the volume bar in the private call mode is Volume Level 10, and this Volume Level 10 corresponds to 15 dB; the maximum level of the volume bar in the high-volume mode is Volume Level 10, and this Volume Level 10 corresponds to 25 dB. For easy distinction, in Method 3, different colors or patterns can be used to represent the shading of the volume bars of the two modes respectively.
[0202] As Figure 15 shown in (a) of, the current volume bar represents Volume Level 8 (12 dB), and at this time it is the private call mode. When the user increases the volume, the shading filling amount of the volume bar changes to the full state, and the volume level rises to Volume Level 10 (15 dB), and at this time it is still the private call mode. Further, when the user continues to increase the volume, the shading filling amount of the volume bar decreases and the shading color changes. For example, the corresponding volume level is Volume Level 7 (17.5 dB), and at this time a mode switch occurs, that is, the private call mode is exited and the high-volume mode is entered. Further, when the user continues to increase the volume, the shading filling amount of the volume bar increases. For example, the volume level rises to Volume Level 8 (20 dB), and at this time it is still the high-volume mode.
[0203] As Figure 15 shown in (b) of, the current volume bar represents Volume Level 7 (17.5 dB), and at this time it is the high-volume mode. When the user decreases the volume, the shading filling amount of the volume bar changes to the full state and the shading color changes. The corresponding volume level is Volume Level 10 (15 dB), and at this time a mode switch occurs, that is, the private call mode is enabled and the high-volume mode is exited. Further, when the user continues to decrease the volume, the shading filling amount of the volume bar decreases. For example, the volume level drops to Volume Level 7 (10.5 dB), and at this time it is still the private call mode.
[0204] The process of switching between the private call mode and the high-volume 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.
[0205] In some embodiments, through the audio processing method provided by this application, when the electronic device is in the private call mode and the electronic device receives a user click on the speaker icon, it can be switched to the speaker mode, that is, the voice is output by sounding through the speaker, and at this time the screen and the earpiece do not sound. Optionally, further, when the electronic device receives a user click on the speaker icon, it can exit the speaker mode and re-enter the private call mode.
[0206] Exemplarily, Figure 16A schematic diagram of a voice call interface after answering an incoming call is shown. The following prompt messages are displayed in the voice call interface: "Smart Privacy Call has been enabled" 71 and an icon 72 indicating the privacy call. As Figure 16 shown in (a) of , the user clicks the speaker key 73 in the voice call interface to trigger playing the voice through the speaker. As Figure 16 shown in (b) of , in response to the user's operation on the speaker key 73, the mobile phone enables the hands-free function. At this time, the voice is played through the speaker, and neither the screen nor the earpiece emits sound. And the prompt message "Smart Privacy Call has been exited" 74 can be displayed in the voice call interface. Correspondingly, "Smart Privacy Call has been enabled" 71 and the icon 72 indicating the privacy call will be cancelled. The prompt message "Smart Privacy Call has been exited" 74 will be hidden after being displayed for a preset duration (e.g., 5 seconds).
[0207] Further optionally, as Figure 16 shown in (c) of , the user can click the speaker key 73 in the voice call interface again to trigger turning off the speaker. As Figure 16 shown in (d) of , in response to the user's operation on the speaker key 73, the mobile phone switches from the speaker mode to the privacy call mode. Thus, the switching between the privacy call mode and the high-volume mode is realized.
[0208] Again exemplarily, Figure 17 a schematic diagram of an interface for triggering the switching from the privacy call mode to the speaker mode by operating on the notification card of the smart privacy call function is shown. As Figure 17 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 17 shown in (b) of , the menu bar (also called the notification interface) is displayed, and a notification card 75 is displayed in the menu bar. The notification card 75 is used to indicate that a voice call is in progress. The user can click the hands-free icon 76 in the notification card 75 to trigger enabling the hands-free function. As Figure 17 shown in (c) of , after the user clicks the hands-free icon 76, it returns from the menu bar interface to the voice call interface, and the prompt message "Smart Privacy Call has been exited" 74 can be displayed in the voice call interface. Correspondingly, "Smart Privacy Call has been enabled" 71 and the icon 72 indicating the privacy call will be cancelled. Thus, the switching between the privacy call mode and the high-volume mode is realized.
[0209] In some embodiments, the electronic device provides a setting interface for the smart privacy call function. The user can trigger the enabling or disabling of the smart privacy call function in this setting interface according to actual usage requirements.
[0210] Exemplarily, Figure 18The figure shows a schematic diagram of entering the settings interface of the intelligent privacy call function through the notification card of the intelligent privacy call function. As Figure 18 shown in (a) of the figure, the user slides a finger downward along the arrow direction on the voice call interface to pull down the menu bar. As Figure 18 shown in (b) of the figure, the menu bar (also called the notification interface) is displayed. The notification card 77 is displayed in the menu bar. The notification card 77 is used to indicate that the intelligent privacy call function has been enabled. The user can click on the notification card 77 to set the intelligent privacy call function. As Figure 18 shown in (c) of the figure, after the user clicks on the notification card 75, the menu bar interface jumps to the settings interface 78 of the intelligent privacy call function. The settings interface 78 includes a switch control 79 for the intelligent privacy call function. The switch control 79 currently indicates that the intelligent privacy call function is in the enabled state. The user can operate on the switch control 79 (such as a sliding operation along the arrow direction shown in the figure) to trigger the closing of the intelligent privacy call function.
[0211] Furthermore, as Figure 18 shown in (d) of the figure, after the user operates on the switch control 79, the privacy call mode is exited, and the settings interface 78 of the intelligent privacy call function jumps to the voice call interface. A prompt message "Exited intelligent privacy call" 74 can be displayed in the voice call interface. Correspondingly, "Intelligent privacy call is enabled" 71 and the icon 72 indicating the privacy call will be cancelled from display.
[0212] 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, etc., which can also be applied to the VoIP voice call scenario.
[0213] Exemplarily, taking the switching between the privacy call mode and the speaker mode as an example, Figure 19 the figure shows a schematic diagram of the VoIP voice call interface. The following prompt messages are displayed in the VoIP voice call interface: "Intelligent privacy call is enabled" 81 and the icon 82 indicating the privacy call. As Figure 19 shown in (a) of the figure, the user clicks on the speaker key 83 in the voice call interface to trigger playing the voice through the speaker. As Figure 19 shown in (b) of the figure, in response to the user's operation on the speaker key 83, the mobile phone enables the hands-free function. At this time, the voice is played through the speaker, and the screen and the earpiece do not emit sound. And a prompt message "Exited intelligent privacy call" 84 can be displayed in the voice call interface. Correspondingly, "Intelligent privacy call is enabled" 81 and the icon 82 indicating the privacy call will be cancelled from display.
[0214] In this way, when the user listens to sounds by placing the ear close to the electronic device, the electronic device can determine whether to enable the private call mode or the high-volume mode according to different volume levels, and can choose to emit sounds 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 private call mode is enabled. In the private call mode, voices can be played through the earpiece and the screen with different sound intensities. For example, the sound 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 high-volume mode is enabled. In the high-volume mode, voices can also be played through the earpiece and the screen with different sound intensities. For example, the sound intensity of the earpiece is greater than that of the screen. By using the earpiece sound and the screen sound complementarily, it can be ensured that when the electronic device plays voices, not only can sound leakage in a quiet environment be avoided, but also good sound quality can be achieved. Thus, the privacy of the user can be well protected, and the electronic device can have better privacy when the user listens to sounds by placing the ear close to it.
[0215] As described above, when the user listens to sounds by placing 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 less than or equal to the preset volume level, and determine whether to enable the private call mode or the high-volume mode according to the judgment result. The following describes a possible implementation method for detecting the action of the user listening to sounds by placing the ear close to the mobile phone.
[0216] Among them, when the user listens to sounds by placing the ear close to the mobile phone (i.e., the mobile phone is in the state of listening to sounds by placing the ear close to it), 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 sound 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 a voice message from another mobile phone through the instant messaging application. The mobile phone can display the chat interface of the instant messaging application, and the chat interface includes the voice message from another mobile phone. 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 another mobile phone through the earpiece.
[0217] Exemplarily, a mobile phone can detect whether the user's ear is close to the earpiece through sensors such as a light sensor and a distance sensor. For example, the mobile phone can detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone through the distance sensor. If there is an obstruction at a short distance in front of the front panel, it can be determined that the current user's ear is close to the earpiece. For another example, when the light sensor of the mobile phone detects that the light intensity suddenly decreases and changes greatly, it can be determined that the current user's ear is close to 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 earpiece through other methods or algorithms, and reference can also be made to the relevant introductions in the conventional technology, which are not limited here.
[0218] In some embodiments, when the user uses the mobile phone for ear-to-ear listening, 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 sound. Among them, the listening modes can include a privacy mode and a high-volume mode.
[0219] For example, as shown in Figure 20 (a) of [reference], controls such as "Privacy Call Mode" and "High-Volume Mode" can be displayed in the voice call interface of the mobile phone for the user to select listening modes. For example, as shown in Figure 20 (a) of [reference], when the current listening mode is the privacy call mode, the control "Privacy Call Mode" displayed in the voice call interface of the mobile phone has a highlighted effect. As shown in Figure 20 (a) and (b) of [reference], in response to the user's operation of clicking on the "High-Volume Mode", the mobile phone can switch the listening mode from the "Privacy Call Mode" to the "High-Volume Mode". Of course, the user can also switch the listening mode from the "High-Volume Mode" to the "Privacy Call Mode" by clicking on the "Privacy Call Mode". Subsequently, the mobile phone can play the sound according to the sound playback strategy corresponding to the listening mode selected by the user (for example, by emitting sound through the earpiece and the screen).
[0220] 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.
[0221] Among them, the privacy call mode can adopt a sound playback strategy of jointly emitting sound by the earpiece and the screen, and the sound emission intensity of the screen can be greater than or equal to the sound emission intensity of the earpiece. That is, the mobile phone can adopt the method of mainly emitting sound by the screen and supplementing with the earpiece to emit sound simultaneously. The privacy call mode can also only emit sound through the screen.
[0222] Among them, in the high - volume mode, the sound playback strategy of the handset and the screen sounding together can be adopted to play the sound, where the sounding intensity of the handset can be greater than that of the screen. That is, the mobile phone can adopt the way of mainly sounding through the handset and supplementarily sounding through the screen to play the voice at the same time. The high - volume mode can also only sound through the handset.
[0223] Among them, according to the various scenarios of the user putting the ear close to the handset in the above examples, the voice sounded by the handset and the screen can be any audio data stored in the mobile phone. For example, the voice is the recording data or song data stored in the mobile phone, etc. It can also be the sound data transmitted from the mobile phone of the opposite - side user received by the mobile phone during voice communication. It can also be the voice message in the instant messaging application installed in the mobile phone.
[0224] Optionally, in the embodiments of the present application, in a quiet environment, the mobile phone can also adjust the volume (or loudness) of the handset sound and the screen sound according to the distance between the human ear and the mobile phone (or the handset). At the same time, the frequency band output by the handset sound and the frequency band output by the screen sound can also be adjusted.
[0225] For example, when the human ear is far from the mobile phone, the mobile phone can increase the volume of the handset sound 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 handset sound, that is, lower the demarcation frequency between the frequency band output by the screen sound and the frequency band output by the handset sound, so that the handset sound 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 handset sound will be released from the sound outlet hole at the top of the middle frame of the mobile phone, the handset sound is more likely to leak sound than the screen sound after increasing the volume. Therefore, further lowering the frequency band output by the handset sound can prevent other users from hearing clearly the sound output by the handset sound after increasing the volume.
[0226] In some embodiments, the sound intensity of the screen sound can also be set according to the sensitivity of the screen sound. That is, according to the different sensitivities of the screen sound, the set sound intensity of the screen sound can also be different.
[0227] For example, in the embodiments of the present application, the screen sound can be generated by a screen sound - generating device (for example, as Figure 2The screen sound generating device shown) is implemented. According to different screen sound generating schemes, the screen sound generating device is also different. For example, the screen sound generating device can be a vibration source connected to the back of the screen (usually a piezoelectric ceramic, or it can also be a motor vibrator, an exciter or other vibration units). The piezoelectric ceramic can be controlled by an electric current signal to vibrate, driving the screen to vibrate, thereby realizing screen sound generation. Another example is that the screen sound generating 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 by an electric current signal to vibrate, and the middle frame of the mobile phone is used to transfer the vibration to the screen to drive the screen to vibrate, thereby realizing screen sound generation. Another example is that the screen sound generating device can also be an exciter fixed to the middle frame of the mobile phone. The exciter can be controlled by an electric current signal to vibrate, and the middle frame of the mobile phone is used to transfer the vibration to the screen to drive the screen to vibrate, thereby realizing screen sound generation. Another example is that the screen sound generating 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 by an electric current signal to vibrate relative to the oscillator fixed to the middle frame of the mobile phone, thereby pushing the screen to vibrate and realizing screen sound generation. Affected by the type, position of the screen sound generating device, the weight of the middle frame of the mobile phone, the internal structure layout of the mobile phone, etc., the screen sound generating sensitivities of different screen sound generating schemes are different. A relatively small screen sound intensity and driving power can be set for the screen sound generation with high sensitivity, while a relatively large screen sound intensity and driving power can be set for the screen sound generation with low sensitivity.
[0228] Optionally, in the embodiments of the present application, an 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.
[0229] 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", "less than" can be replaced by "less than or equal to".
[0230] Each of the embodiments described herein can be an independent solution, or can be combined according to the internal logic, and these solutions all fall within the protection scope of the present application.
[0231] 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) available for the electronic device.
[0232] The method embodiments provided by the present application are described above, and the device embodiments provided by the present application will be described below. It should be understood that the description of the device embodiments corresponds to the description of the method embodiments, so the content not described in detail can refer to the above method embodiments. For the sake of brevity, it will not be repeated here.
[0233] The above mainly describes the solution provided by the embodiments of the present application from the perspective of method steps. It can be understood that, in order to implement the above functions, the electronic device implementing the method includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should be able to realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the protection scope of the present application.
[0234] According to the above method examples, the embodiments of the present application can divide the functional modules of the electronic device. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other feasible division methods in actual implementation. The following takes the division of each functional module corresponding to each function as an example for illustration.
[0235] Figure 21 FIG. 800 is a schematic block diagram of an audio processing device 800 provided by an embodiment of the present application. The device 800 can be used to perform the actions executed by the electronic device in the above method embodiments. The device 800 includes a detection unit 810, a processing unit 820, and a display unit 830.
[0236] The detection unit 810 is configured to receive a first operation of a user, and the first operation is used to trigger making a call or answering a call;
[0237] The processing unit 820 is configured to, in response to the first operation, the electronic device enters a voice call state and outputs voice according to a first output policy corresponding to the private call mode, and the first output policy is to output voice through the screen;
[0238] The detection unit 810 is further configured to receive a second operation of the user, and the second operation is used to trigger an increase in the output volume of the electronic device;
[0239] The processing unit 820 is further configured to, in response to the second operation, when the adjusted output volume is greater than the preset output volume, switch from the private call mode to the high volume mode and output voice according to a second output policy corresponding to the high volume mode, and the second output policy is to output voice through the earpiece.
[0240] Through the audio processing device provided by the embodiments of the present application, when the electronic device enters the voice call state, the private call mode is automatically enabled. For example, the voice can be output by means of screen sound, so as to avoid sound leakage, protect the user's call privacy, and improve the user's call experience. When receiving the operation of the user to increase the volume, if it is determined that the adjusted volume level is greater than the preset volume level, the high-volume mode is enabled. For example, the voice can be output by means of the earpiece, so as to ensure a good sound output effect and improve the user's call experience.
[0241] In some possible implementation manners, the first output strategy is to output voice through the screen and the earpiece; wherein, when outputting voice through the screen and the earpiece in the private call mode, the volume intensity of the screen sound is greater than or equal to the volume intensity of the earpiece sound.
[0242] Through the above solution, in the private call mode, the screen and the earpiece can sound simultaneously and control these two sound output modes to sound with different volume intensities, such as the intensity of the screen sound being greater than or equal to the intensity of the earpiece sound, so as to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0243] In some possible implementation manners, the second output strategy is to output voice through the earpiece and the screen; wherein, when outputting voice through the screen and the earpiece in the high-volume mode, the volume intensity of the earpiece sound is greater than the volume intensity of the screen sound.
[0244] Through the above solution, in the high-volume mode, the screen and the earpiece can sound simultaneously and control these two sound output modes to sound with different volume intensities, such as the intensity of the earpiece sound being greater than the intensity of the screen sound, so as to ensure a good sound output effect and improve the user's call experience.
[0245] In some possible implementation manners, the total output volume intensity in the private call mode is equal to the total output volume intensity in the high-volume mode.
[0246] In some possible implementation manners, the processing unit 820 is further configured to increase the total output volume intensity of the electronic device when switching from the private call mode to the high-volume mode.
[0247] In some possible implementation manners, the detection unit 810 is further configured to receive a third operation of the user, and the third operation is used to trigger the reduction of the output volume of the electronic device;
[0248] The processing unit 820 is further configured to respond to the third operation, and when the adjusted output volume is less than or equal to the preset output volume, switch from the high-volume mode to the private call mode and output voice according to the first output strategy corresponding to the private call mode.
[0249] Through the above solution, when receiving the user's operation to lower the volume, if it is determined that the adjusted volume level is less than or equal to the preset volume level, the private call mode is enabled to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0250] In some possible implementation manners, outputting the voice according to the first output strategy corresponding to the private call mode includes:
[0251] When the intelligent private call function of the electronic device is enabled, output the voice according to the first output strategy corresponding to the private call mode.
[0252] In some possible implementation manners, the output volume of the electronic device is represented by a volume level, and the preset volume is represented by a preset volume level; or, the output volume of the electronic device is represented by a volume decibel value, and the preset volume is represented by a preset volume decibel value.
[0253] In some possible implementation manners, the output volume range of the electronic device includes a preset volume decibel value range, the preset volume decibel value range is divided into N levels, and there is a one-to-one correspondence between the N volume levels and N decibel values in the preset volume decibel value range.
[0254] In some possible implementation manners, the above N volume levels include volume level 1 to volume level 10; among them, the private call mode corresponds to volume level 1 to volume level I, and the large volume mode corresponds to volume level I + 1 to volume level 10, where I is an integer greater than 1 and less than 10.
[0255] In some possible implementation manners, the preset volume decibel value range is [2.5dB, 25dB].
[0256] In some possible implementation manners, when I is 6, the preset volume level is volume level 6, and the volume decibel value corresponding to volume level 6 is 15dB.
[0257] In some possible implementation manners, as Figure 21 shown, the device 800 may further include a display unit 830.
[0258] The display unit 830 is configured to, after the intelligent private call function is enabled, display a first prompt message and / or a second prompt message in a first area in the voice call interface, where the first prompt message is used to prompt that the private call function has been enabled, and the first prompt message is used to guide the user to approach the first area to answer the call;
[0259] wherein, the first area is the area of the screen closest to the screen sound emitting device.
[0260] In some possible implementations, displaying the first prompt message and / or the second prompt message in the first area of the voice call interface includes: alternately displaying the first prompt message and the second prompt message in the first area of the voice call interface.
[0261] In some possible implementations, the display unit 830 is further configured to cancel the display of the first prompt message and the second prompt message when switching from the private call mode to the high volume mode.
[0262] In some possible implementations, the display unit 830 is further configured to, after the intelligent private call function is enabled, display a third prompt message in the voice call interfaces of the first M voice calls, where the third prompt message is used to indicate the effect after the intelligent private call function is enabled; and cancel the display of the third prompt message in the voice call interfaces of subsequent voice calls.
[0263] In some possible implementations, the display unit 830 is further configured to display an icon for identifying the private call mode in the status bar of the electronic device when outputting voice according to the first output strategy corresponding to the private call mode.
[0264] In some possible implementations, the display unit 830 is further configured to cancel the display of the icon for identifying the private call mode in the status bar of the electronic device when switching from the private call mode to the high volume mode.
[0265] In some possible implementations, the detection unit 810 is further configured to receive a fourth operation by the user on the physical volume key of the electronic device;
[0266] The display unit 830 is further configured to, in response to the fourth operation, display a volume bar icon and a call mode icon in the voice call interface;
[0267] Wherein, the volume bar icon is used to indicate the output volume size during a voice call, and the call mode icon is used to indicate that the current call mode is the private call mode or the high volume mode.
[0268] In some possible implementations, when the intelligent private call function is enabled, the call mode icon is an icon for indicating the private call mode; or, when the intelligent private call function is disabled, the call mode icon is an icon for indicating the high volume mode.
[0269] In some possible implementations, the electronic device may further include a speaker; the detection unit 810 is further configured to receive a fifth operation by the user on the speaker control in the voice call interface when the intelligent private call function is enabled;
[0270] The processing unit 820 is further configured to output voice through a speaker in response to the fifth operation, and stop the handset from sounding and the screen from sounding.
[0271] In some possible implementation manners, the processing unit 820 is further configured to display a system settings interface when the detection unit 810 receives an operation of the user on the system settings icon, and the system settings interface includes a private call setting item;
[0272] The display unit 830 is further configured to display a settings interface of the intelligent private call function when the detection unit 810 receives an operation of the user on the private call setting item, and an enable control and a disable control of the intelligent private call function are displayed in the settings interface;
[0273] When receiving an operation of the user on the enable control, the intelligent private call function is enabled; or when receiving an operation of the user on the disable control, the intelligent private call function is disabled.
[0274] In some possible implementation manners, the detection unit 810 is further configured to receive a sixth operation of the user in the voice call interface when the intelligent private call function is enabled;
[0275] The display unit 830 is further configured to jump from the voice call interface to a card notification interface in response to the sixth operation, and a first notification card is displayed in the card notification interface, and the first notification card is used to prompt that the intelligent private call function is enabled.
[0276] In some possible implementation manners, the display unit 830 is further configured to jump from the notification interface to the settings interface of the intelligent private call function when the detection unit 810 receives an operation of the user on the first notification card.
[0277] In some possible implementation manners, the above device 800 is applicable to a call scenario of an IP-based voice call.
[0278] The device 800 according to the embodiment of the present application can correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of the units in the device 800 are respectively for implementing the corresponding processes of the method. For the sake of brevity, they are not described in detail here.
[0279] Optionally, in some embodiments, the present application provides a chip, which is coupled to a memory, and the chip is configured to read and execute a computer program or instruction stored in the memory to execute the methods in the above embodiments.
[0280] Optionally, in some embodiments, the present application provides an electronic device, which includes a chip, and the chip is configured to read and execute a computer program or instruction stored in the memory, so that the methods in the embodiments are executed.
[0281] Optionally, in some embodiments, the embodiments of the present application further provide a computer-readable storage medium storing program codes, which, when run on a computer, cause the computer to execute the methods in the above embodiments.
[0282] Optionally, in some embodiments, the embodiments of the present application further provide a computer program product including computer program codes, which, when run on a computer, cause the computer to execute the methods in the above embodiments.
[0283] The embodiments of the present application do not particularly limit the specific structure of the execution subject of the methods provided by the embodiments of the present application. As long as it can process according to the methods provided by the embodiments of the present application by running a program recording the codes of the methods provided by the embodiments of the present application. For example, the execution subject of the methods provided by the embodiments of the present application may be an electronic device, or a functional module in the electronic device that can call and execute the program.
[0284] Those of ordinary skill in the art can realize that the units and steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the protection scope of the present application.
[0285] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.
[0286] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0287] The above are only the specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the technical field can easily think of changes or substitutions within the technical scope disclosed by the present application and should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An audio processing 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: Receiving a first operation of the user, the first operation being used to trigger making a call or answering a call; In response to the first operation, the electronic device enters a voice call state based on the receiver mode, outputs voice according to a first output strategy corresponding to the private call mode, and displays a second prompt message in the voice call interface, where the second prompt message is used to prompt that the private call mode has been enabled, and the first output strategy is to output voice through the screen; Receiving a second operation of the user, the second operation being a pressing operation on a physical volume button or a sliding operation on a volume bar displayed on the screen; In response to the second operation, when the adjusted output volume is greater than a preset output volume, switch from the private call mode to the high volume mode in the receiver mode, output voice according to a second output strategy corresponding to the high volume mode, and cancel the display of the second prompt message, where the second output strategy is to output voice through the receiver; 2. The method according to claim 1, wherein The first output strategy is to output voice through the screen and the receiver; Wherein, when outputting voice through the screen and the receiver in the private call mode, the volume intensity of the screen sound is greater than or equal to the volume intensity of the receiver sound; 3. The method according to claim 1, wherein The second output strategy is to output voice through the receiver and the screen; Wherein, when outputting voice through the screen and the receiver in the high volume mode, the volume intensity of the receiver sound is greater than the volume intensity of the screen sound; 4. The method according to claim 1, characterized in that The total output volume intensity in the private call mode is less than the total output volume intensity in the high volume mode; 5. The method according to claim 1, wherein The method further includes: When switching from the private call mode to the high volume mode, increasing the total output volume intensity of the electronic device; 6. The method according to claim 1, wherein After outputting voice according to the second output strategy corresponding to the high volume mode, the method further includes: Receiving a third operation of the user, the third operation being used to trigger a decrease in the output volume of the electronic device; In response to the third operation, when the adjusted output volume is less than or equal to the preset output volume, switch from the high volume mode to the private call mode, and output voice according to the first output strategy corresponding to the private call mode; 7. The method according to claim 1, characterized in that Outputting voice according to the first output strategy corresponding to the private call mode includes: In the case where the intelligent private call function of the electronic device is enabled, outputting voice according to the first output strategy corresponding to the private call mode; 8. The method according to claim 1, characterized in that, The output volume of the electronic device is represented by a volume level, and the preset volume is represented by a preset volume level; or The output volume of the electronic device is represented by a volume decibel value, and the preset volume is represented by a preset volume decibel value.
9. The method according to claim 8, characterized in that, The output volume range of the electronic device includes a preset volume decibel value range, which is divided into N levels, and there is a one-to-one correspondence between the N volume levels and N decibel values in the preset volume decibel value range, where N is a positive integer greater than or equal to 2.
10. The method according to claim 9, characterized in that, The N volume levels include volume level 1 to volume level 10; among them, the private call mode corresponds to volume level 1 to volume level I, and the high-volume mode corresponds to volume level I + 1 to volume level 10, where I is an integer greater than 1 and less than 10.
11. The method according to claim 10, wherein The preset volume decibel value range is [2.5dB, 25dB].
12. The method according to claim 10, characterized in that, When I takes 6, the preset volume level is volume level 6, and the volume decibel value corresponding to volume level 6 is 15dB.
13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: After the intelligent private call function is turned on, display a first prompt message in a first area of the voice call interface, where the first prompt message is used to guide the user to approach the first area to answer the call; Among them, the first area is the area of the screen closest to the screen sound-emitting device.
14. The method according to claim 13, wherein Displaying the first prompt message and the second prompt message in the first area of the voice call interface includes: In the first area of the voice call interface, alternately display the first prompt message and the second prompt message.
15. The method according to claim 14, characterized in that, The method further includes: When switching from the private call mode to the high-volume mode, cancel the display of the first prompt message.
16. The method according to any one of claims 1 to 12, characterized in that, The method further includes: After the intelligent private call function is turned on, display a third prompt message in the voice call interfaces of the first M voice calls, where the third prompt message is used to indicate the effect after the intelligent private call function is turned on; where M is a positive integer; Cancel the display of the third prompt message in the voice call interfaces of subsequent voice calls.
17. The method according to any one of claims 1 to 12, characterized in that, The method further includes: When outputting voice according to the first output strategy corresponding to the private call mode, display an icon for identifying the private call mode in the status bar of the electronic device.
18. The method according to claim 17, wherein The method further includes: When switching from the private call mode to the high-volume mode, cancel the display of the icon for identifying the private call mode in the status bar of the electronic device.
19. The method according to any one of claims 1 to 12, characterized in that, The method further includes: Receive a fourth operation by the user on the physical volume key of the electronic device; In response to the fourth operation, display a volume bar icon and a call mode icon in the voice call interface; Among them, the volume bar icon is used to represent the output volume size during a voice call, and the call mode icon is used to represent that the current call mode is the private call mode or the high-volume mode.
20. The method according to claim 19, wherein When the intelligent private call function is turned on, the call mode icon is an icon for representing the private call mode; or, When the intelligent private call function is turned off, the call mode icon is an icon for representing the high-volume mode.
21. The method according to any one of claims 1 to 12, characterized in that, The electronic device further includes a speaker; the method further includes: When the intelligent privacy call function is enabled, a fifth operation on the speaker control in the voice call interface is received by the user; In response to the fifth operation, the voice is output through the speaker, and the earpiece and the screen stop sounding.
22. The method according to claim 1, wherein The method further includes: When an operation on the system settings icon is received by the user, a system settings interface is displayed, and the system settings interface includes a privacy call setting item; When an operation on the privacy call setting item is received by the user, a setting interface for the intelligent privacy call function is displayed, and an enable control and a disable control for the intelligent privacy call function are displayed in the setting interface; When an operation on the enable control is received by the user, the intelligent privacy call function is enabled; or when an operation on the disable control is received by the user, the intelligent privacy call function is disabled.
23. The method according to claim 1, characterized in that, The method further includes: When the intelligent privacy call function is enabled, a sixth operation in the voice call interface is received by the user; In response to the sixth operation, a jump is made from the voice call interface to a card notification interface, and a first notification card is displayed in the card notification interface, and the first notification card is used to prompt that the intelligent privacy call function has been enabled.
24. The method according to claim 23, wherein The method further includes: When an operation on the first notification card is received by the user, a jump is made from the notification interface to the setting interface of the intelligent privacy call function.
25. The method according to any one of claims 1 to 12, characterized in that, The method is applicable to the call scenario of an IP-based voice call.
26. An electronic device, characterized in that, It includes a processor, and the processor is coupled to a memory. The processor is configured to execute a computer program or instruction stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 25.
27. A chip system, characterized in that, It includes a processor, and the processor is coupled to a memory. The processor is configured to execute a computer program or instruction stored in the memory, so that the chip system implements the method according to any one of claims 1 to 25.
28. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program. When the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 25.
Citation Information
Patent Citations
Equipment volume adjusting method, wearable equipment and computer readable storage medium
CN109799968A
Audio processing method and electronic equipment
CN118120217A
Screen sound production method and terminal equipment
WO2019191953A1
Cited By
Audio processing method and electronic device
EP4708835A2