Volume adjustment prompting method, electronic device, and computer-readable storage medium
By combining the audio processing methods of the screen and earpiece, and automatically switching modes according to the volume, the problem of sound leakage when the phone is held close to the ear is solved, achieving both privacy protection and improved sound quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2022-02-28
- Publication Date
- 2026-05-01
AI Technical Summary
When a user holds their phone to their ear to listen, there is a sound leakage issue when the voice is played through the earpiece, leading to a breach of user privacy.
It adopts an audio processing method that combines the screen and earpiece, and automatically switches between privacy call mode and high volume mode according to the volume adjustment. It outputs voice with different volume intensities through screen sound or earpiece sound to avoid sound leakage and improve user experience.
It effectively prevents sound leakage during voice calls, protects user privacy, and improves call clarity and user experience.
Smart Images

Figure CN120825542B_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application filed on February 28, 2022, with application number 202210191577.X and title "Audio Processing Method, Electronic Device, Chip System and Storage Medium". Technical Field
[0002] This application relates to the field of electronic device technology, and in particular to a volume adjustment prompt method, an electronic device, and a computer-readable storage medium. Background Technology
[0003] Currently, most mobile phones use an earpiece located at the top of the phone for voice communication. Typically, a sound outlet is located at the earpiece's position to release the energy emitted by the earpiece; this outlet is usually located on the front panel of the phone. With the development of large-screen and full-screen phones, some full-screen phones have designed their sound outlet as a long slit, located at the junction of the phone's frame and the front panel. Additionally, to ensure a large enough external sound output area and good sound quality, some full-screen phones also add an opening at the top of the frame as a sound outlet.
[0004] However, when a user holds their phone to their ear to listen (such as during a voice call), the voice output through the earpiece is not only emitted from the sound outlet at the side seam, but also a large portion of the energy is emitted from the sound outlet at the top. Therefore, the sound coming out of the sound outlet can not only be heard by the user, but also by other users in a quiet environment, resulting in sound leakage and potentially compromising user privacy. Summary of the Invention
[0005] This application provides a volume adjustment prompt method, an electronic device, and a computer-readable storage medium, which solves the problem of sound leakage when playing voice through the earpiece in scenarios where a user holds a mobile phone to their ear to listen to the sound.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] In a first aspect, this application provides an audio processing method applied to an electronic device, the electronic device including a handset, a screen, and a screen sound-emitting device, the screen sound-emitting device being used to drive the screen to emit sound, the method comprising:
[0008] Receive the user's first action, which is used to trigger making or answering a call;
[0009] In response to the first operation, the electronic device enters a voice call state and outputs voice according to the first output strategy corresponding to the privacy call mode, which is to output voice through the screen.
[0010] Receive a second operation from the user, which triggers an increase in the output volume of the electronic device;
[0011] In response to the second operation, when the adjusted output volume is greater than the preset output volume, the system switches from the privacy call mode to the high volume mode and outputs voice according to the second output strategy corresponding to the high volume mode, which is to output voice through the earpiece.
[0012] The audio processing method provided in this application allows for the automatic activation of a privacy call mode when an electronic device enters a voice call state. For example, it can output voice through screen sound to avoid audio leakage, protect user call privacy, and improve the user's call experience. When a user's volume increase command is received, if the adjusted volume level is greater than a preset volume level, a high-volume mode is activated. For example, it can output voice through the earpiece to ensure good sound output and improve the user's call experience.
[0013] In some possible implementations, the first output strategy is to output voice through the screen and earpiece; wherein, when outputting voice through the screen and earpiece in privacy call mode, the volume intensity of the sound emitted from the screen is greater than or equal to the volume intensity of the sound emitted from the earpiece.
[0014] With the above solution, in privacy call mode, sound can be emitted simultaneously through the screen and the earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities. For example, the intensity of the sound emitted from the screen can be greater than or equal to the intensity of the sound emitted from the earpiece, so as to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0015] In some possible implementations, 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 high volume mode, the volume intensity of the sound emitted by the earpiece is greater than the volume intensity of the sound emitted by the screen.
[0016] With the above solution, in high volume mode, sound can be emitted simultaneously through the screen and earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities. For example, the intensity of the sound emitted by the earpiece is greater than that emitted by the screen, so as to ensure good sound output and improve the user's call experience.
[0017] In some possible implementations, the total output volume intensity in privacy call mode is equal to the total output volume intensity in high volume mode.
[0018] In some possible implementations, the above method may also include increasing the total output volume intensity of the electronic device when switching from privacy call mode to high volume mode.
[0019] In some possible implementations, after outputting speech according to the second output strategy corresponding to the high volume mode, the above method may further include:
[0020] Receives a third operation from the user, which triggers the electronic device to reduce its output volume;
[0021] In response to the third operation, when the adjusted output volume is less than or equal to the preset output volume, the system switches from the high volume mode to the private call mode and outputs voice according to the first output strategy corresponding to the private call mode.
[0022] With the above solution, when a user is asked to lower the volume, if the adjusted volume level is less than or equal to the preset volume level, a privacy call mode is activated to prevent sound leakage, protect user call privacy, and improve the user's call experience.
[0023] In some possible implementations, the above-mentioned output of voice according to the first output strategy corresponding to the privacy call mode includes:
[0024] When the smart privacy call function is enabled on the electronic device, voice is output according to the first output strategy corresponding to the privacy call mode.
[0025] In some possible implementations, 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.
[0026] In some possible implementations, the output volume range of the electronic device includes a preset volume decibel range, which is divided into N levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values in the preset volume decibel range.
[0027] In some possible implementations, the above N volume levels include volume levels 1 to 10; wherein, the privacy call mode corresponds to volume levels 1 to I, and the high volume mode corresponds to volume levels I+1 to 10, where I is an integer greater than 1 and less than 10.
[0028] In some possible implementations, the preset volume decibel range is [2.5dB, 25dB].
[0029] In some possible implementations, when I is 6, the preset volume level is volume level 6, and the volume level 6 corresponds to a volume decibel value of 15dB.
[0030] In some possible implementations, the above method may also include:
[0031] After the smart privacy call function is enabled, a first prompt message and / or a second prompt message are displayed in the first area of the voice call interface. The first prompt message is used to indicate that the privacy call function has been enabled and to guide the user to approach the first area to answer the call.
[0032] The first area is the area of the screen that is closest to the screen sound-emitting device.
[0033] In some possible implementations, displaying the first prompt information and / or the second prompt information in the first area of the voice call interface includes: alternately displaying the first prompt information and the second prompt information in the first area of the voice call interface.
[0034] In some possible implementations, the above method also includes: when switching from private call mode to high volume mode, canceling the display of the first and second prompt messages.
[0035] Among some possible implementations, the method also includes:
[0036] After the Smart Privacy Call function is enabled, a third prompt message will be displayed in the voice call interface of the first M voice calls. This third prompt message is used to indicate the effect of enabling the Smart Privacy Call function.
[0037] The third prompt message will be removed from the voice call interface in subsequent voice calls.
[0038] In some possible implementations, the above method may further include: when voice is output according to the first output strategy corresponding to the privacy call mode, displaying an icon for identifying the privacy call mode in the status bar of the electronic device.
[0039] In some possible implementations, the above method may also include: when switching from private call mode to loud volume mode, removing the icon used to identify private call mode from the status bar of the electronic device.
[0040] In some possible implementations, the above method may also include:
[0041] The user has performed a fourth operation on the physical volume buttons of the electronic device.
[0042] In response to this fourth operation, a volume bar icon and a call mode icon are displayed in the voice call interface;
[0043] The volume bar icon indicates the output volume during a voice call, while the call mode icon indicates whether the current call mode is private or high volume.
[0044] In some possible implementations, when the Smart Privacy Call function is enabled, the call mode icon is an icon used to indicate the privacy call mode; or, when the Smart Privacy Call function is disabled, the call mode icon is an icon used to indicate the high volume mode.
[0045] In some possible implementations, the electronic device may also include a speaker; the above method may also include:
[0046] When the smart privacy call function is enabled, the system receives the user's fifth operation on the speaker control in the voice call interface;
[0047] In response to this fifth action, voice is output through the speaker, and the earpiece and screen sound are stopped.
[0048] In some possible implementations, the method may also include:
[0049] When a user interacts with the system settings icon, the system settings interface is displayed, which includes privacy call settings.
[0050] When a user's action on the privacy call settings is received, the settings interface for the smart privacy call function is displayed, which shows the control to enable and disable the smart privacy call function.
[0051] When a user's action to enable the control is received, the Smart Privacy Call function is enabled; or, when a user's action to disable the control is received, the Smart Privacy Call function is disabled.
[0052] In some possible implementations, the above method may also include:
[0053] When the smart privacy call function is enabled, the sixth operation performed by the user in the voice call interface is received.
[0054] In response to the sixth operation, the user is redirected from the voice call interface to the card notification interface, which displays a first notification card that indicates that the smart privacy call function has been enabled.
[0055] In some possible implementations, the above method may also include: when a user's operation on the first notification card is received, the user is redirected from the notification interface to the settings interface of the smart privacy call function.
[0056] Among some possible implementations, the above method is suitable for IP-based voice telephony scenarios.
[0057] Secondly, this application provides an audio processing apparatus, which includes units for performing the method described in the first aspect above. This apparatus is capable of performing the method described in the first aspect above, and a description of the units within this apparatus is provided in the description of the first aspect above; for brevity, it will not be repeated here.
[0058] The method described in the first aspect above can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.
[0059] Thirdly, this application provides an electronic device including a processor coupled to a memory for storing computer programs or instructions, and the processor for executing the computer programs or instructions stored in the memory, such that the method in the first aspect is performed.
[0060] For example, a processor is used to execute computer programs or instructions stored in memory, causing the device to perform the method in the first aspect.
[0061] Fourthly, this application provides a computer-readable storage medium having a computer program (also referred to as instructions or code) stored thereon for implementing the method in the first aspect.
[0062] For example, when the computer program is executed by the computer, it enables the computer to perform the methods in the first aspect.
[0063] Fifthly, this application provides a chip including a processor. The processor is used to read and execute a computer program stored in a memory to perform the methods in the first aspect and any possible implementation thereof.
[0064] Optionally, the chip may also include a memory, which is connected to the processor via a circuit or wire.
[0065] Sixthly, this application provides a chip system including a processor. The processor is configured to read and execute a computer program stored in a memory to perform the methods in the first aspect and any possible implementation thereof.
[0066] Optionally, the chip system further includes a memory, which is connected to the processor via a circuit or wire.
[0067] In a seventh aspect, this application provides a computer program product comprising a computer program (also referred to as instructions or code), which, when executed by a computer, causes the computer to implement the method in the first aspect.
[0068] It is understood that the beneficial effects of the second to seventh aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0069] Figure 1 This is a schematic diagram of an electronic device that includes an earpiece and a sound outlet.
[0070] Figure 2 A schematic diagram of an electronic device provided in an embodiment of this application, which includes an earpiece and a screen vibration device;
[0071] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0072] Figure 4 One of the schematic diagrams of an interface for applying an audio processing method to an electronic device according to an embodiment of this application;
[0073] Figure 5 A second schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in an embodiment of this application;
[0074] Figure 6 The third schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in this application embodiment;
[0075] Figure 7 The fourth schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in the embodiments of this application;
[0076] Figure 8 A schematic diagram illustrating the volume bar change during mode switching in an audio processing method provided in this application embodiment;
[0077] Figure 9 Fifth schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in this application embodiment;
[0078] Figure 10 A sixth schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in this application embodiment;
[0079] Figure 11 A schematic diagram illustrating the volume level division of an audio processing method provided in an embodiment of this application;
[0080] Figure 12 A schematic diagram illustrating another volume level division applied to an audio processing method provided in this application embodiment;
[0081] Figure 13 One of the schematic diagrams illustrating the volume bar change during mode switching in an audio processing method provided in this application embodiment;
[0082] Figure 14 A second schematic diagram illustrating the volume bar change during mode switching in an audio processing method provided in this application embodiment;
[0083] Figure 15 A third schematic diagram illustrating the volume bar change during mode switching in an audio processing method provided in this application embodiment;
[0084] Figure 16 The seventh schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in the embodiments of this application;
[0085] Figure 17 This is the eighth schematic diagram of an interface for an audio processing method applied to an electronic device, as provided in an embodiment of this application.
[0086] Figure 18 A schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in this application embodiment;
[0087] Figure 19 The tenth schematic diagram of an interface for applying an audio processing method to an electronic device, as provided in the embodiments of this application;
[0088] Figure 20 This is eleventh of a schematic diagram of an interface for an electronic device, illustrating an audio processing method provided in this application.
[0089] Figure 21 This is a schematic diagram of the structure of an audio processing device provided in an embodiment of this application. Detailed Implementation
[0090] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0091] Currently, most mobile phones use an earpiece located at the top of the screen for voice communication. Typically, a sound outlet is located at the earpiece's position to distribute the sound energy, and this outlet is usually located on the front panel. However, with the continuous development of mobile phones and the pursuit of a better viewing experience, screen-to-body ratios are increasing. The sound outlet on the front panel occupies a portion of the front panel, increasing the width of the phone's bezels, thus hindering further improvements in screen-to-body ratio.
[0092] Therefore, with the development of large-screen and full-screen mobile phones, in order to reduce the area occupied by the earpiece (also known as the receiver) on the front panel of the phone for voice communication and to further improve the screen ratio, some full-screen mobile phones have designed the earpiece to be a long slit, located at the connection between the phone's mid-frame and the front panel. At the same time, in order to ensure that the external sound output area is large enough and has a good sound output effect, some full-screen mobile phones also add an opening at the top of the mid-frame as a sound output hole.
[0093] For example, Figure 1 A schematic diagram of a mobile phone structure is shown. Figure 1 As shown, the mobile phone may include a front panel (typically including the screen and bezel) for mounting the screen, a rear panel for supporting internal circuitry, and a mid-frame, which together form a housing structure. Figure 1 As shown in (a), an earpiece 101 (i.e., a speaker for making sounds during voice communication, also called a receiver) is located at the top of the housing structure (i.e., the top of the phone). Corresponding to the earpiece 101, the phone has two sound outlets (e.g., sound outlet 102 and sound outlet 103). Combined with... Figure 1 As shown in (b) in the figure, Figure 1 (b) is a cross-sectional view of the mobile phone structure, in which the sound hole 102 is located at the connection between the front panel and the mid-frame of the mobile phone (i.e., at the side seam). The sound hole 103 is located on the mid-frame of the mobile phone, closer to the earpiece 101 (i.e., at the top of the mid-frame of the mobile phone).
[0094] However, with this design, when a user is using the phone for normal voice communication, their ear cannot completely cover the sound hole. Therefore, when the sound energy from the speaker comes out through the sound hole located at the top of the phone's frame, there will be sound leakage. Figure 1 (c) in the diagram illustrates a scenario where a user conducts voice communication via a mobile phone. Figure 1 As shown in (c), when a user holds a mobile phone and makes a voice communication through the earpiece, the earpiece is close to the user's ear (or auricle). Since the sound outlet of the earpiece (the sound outlet 102 located at the side seam of the phone and the sound outlet 103 at the top of the middle frame) cannot be completely covered by the user's ear, the sound coming out of the sound outlet can not only be heard by the user, but also by other users in a quiet environment.
[0095] To address the aforementioned problems, this application provides an audio processing method that can be applied to electronic devices with voice communication capabilities. For example, this audio processing method can be applied to scenarios where a user listens to audio through the electronic device, such as making a voice call through the earpiece or listening to voice messages in an instant messaging application. The electronic device may include a display screen (also called a screen), a screen sound-emitting device (i.e., a device capable of producing sound through screen vibration), an earpiece (i.e., the speaker used for voice communication, also called a receiver), and a sound outlet corresponding to the earpiece.
[0096] For example, Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Figure 2 As shown in (a) and (b), besides having Figure 1 In addition to the earpiece 101, sound outlet 102, and sound outlet 103 shown, the electronic device also includes a screen sound-emitting device 104 connected to the screen. For example, the screen sound-emitting device 104 is a vibration source (also called an exciter) connected to the screen. The exciter causes the screen to vibrate, thus generating sound through the screen. The screen sound-emitting device 104 is housed within the casing structure of the electronic device.
[0097] It should be noted that, in the embodiments of this application, the voice output mode (also known as the listening mode) of the electronic device may include privacy mode (PVM), high volume mode, and speaker mode. Privacy mode can also be referred to as privacy call mode.
[0098] In some embodiments, after the electronic device activates the privacy call mode, the electronic device can output voice using a combination of screen sound and earpiece sound. Specifically, the voice output intensity corresponding to the screen sound method (e.g., 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound method (e.g., 30%). That is, the phone can simultaneously play voice using screen sound as the primary method and earpiece sound as a secondary method. The privacy call mode can also use only screen sound.
[0099] In some embodiments, after the electronic device activates its high-volume mode, it can output voice using a combination of earpiece and screen sound. The voice output intensity corresponding to the earpiece sound method (e.g., 70%) is greater than the voice output intensity corresponding to the screen sound method (e.g., 30%). The mobile phone can simultaneously play voice using primarily earpiece sound and secondarily screen sound.
[0100] In some embodiments, when switching from private call mode to high volume mode, the overall volume (or loudness or intensity) can be increased based on the volume corresponding to private call mode to improve the voice playback effect. That is, the overall loudness of sound emitted through the earpiece and screen in high volume mode is greater than the overall loudness of sound emitted through the earpiece and screen in private call mode.
[0101] Compared to earpiece sound, screen sound effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, they can use the privacy call mode, which can ensure clear calls while reducing sound leakage, thereby protecting user privacy.
[0102] In other embodiments, after the electronic device activates the privacy call mode, it can also output voice solely through screen audio. Understandably, the earpiece does not emit sound in this case.
[0103] In other embodiments, after the electronic device activates its high-volume mode, it can also output voice solely through the earpiece. Understandably, the screen remains silent during this process.
[0104] In some embodiments, when the electronic device is in speaker mode, it outputs voice through the speaker (also called a loudspeaker). It is understood that neither the earpiece nor the screen emits sound during this time.
[0105] Optionally, in response to user operations on the electronic device, the voice output mode can be switched between private call mode, high volume mode, and speaker mode. The specific conditions for triggering the switching and the switching process will be described in detail below.
[0106] The following description, in conjunction with the accompanying drawings, will first describe the electronic device to which the audio processing method provided in the embodiments of this application is applied.
[0107] For example, the electronic device in this application embodiment may be a mobile phone, tablet computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), wearable device (such as smartwatch, smart bracelet), etc., which have voice communication function. This application embodiment does not impose any special restrictions on the specific form of the electronic device.
[0108] For example, taking a mobile phone as an electronic device, Figure 3 A schematic diagram of the structure of another electronic device provided in an embodiment of this application is shown. That is, exemplary, Figure 3The electronic device shown could be a mobile phone.
[0109] like Figure 3 As shown, a mobile phone may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver (i.e., earpiece) 370B, a microphone 370C, a headphone jack 370D, a sensor module 380, buttons 390, a motor 391, an indicator 392, a camera 393, a display screen 394, a subscriber identification module (SIM) card interface 395, a screen sound device 396, etc.
[0110] The aforementioned sensor module may include sensors such as pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, proximity sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, and bone conduction sensors. In this embodiment, the electronic device can use sensors such as proximity light sensors (i.e., light sensors) and proximity sensors to detect whether the user's ear is near the earpiece. For example, the electronic device can use a proximity sensor to detect whether there is an obstruction in front of the phone's front panel (or screen), and the distance between the obstruction and the screen, to determine whether the user's ear is currently near the earpiece.
[0111] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0112] Processor 310 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.
[0113] The controller can be the nerve center and command center of a mobile phone. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0114] The processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory can store instructions or data that the processor 310 has just used or that are used repeatedly. If the processor 310 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
[0115] In some embodiments, the processor 310 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0116] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0117] In this embodiment of the application, the electronic device can determine the category of the current listening environment through the processor 310, and then adjust the frequency band of the earpiece and the frequency band of the screen according to the category, so as to control the earpiece and the screen to play the sound in the corresponding frequency band of the sound signal, thereby avoiding sound leakage of the electronic device when the human ear listens in a quiet environment.
[0118] The charging management module 340 receives charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342. The power management module 341 connects the battery 342, the charging management module 340, and the processor 310. The power management module 341 receives input from the battery 342 and / or the charging management module 340 to power various components of the electronic device.
[0119] The wireless communication function of a mobile phone can be achieved through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor, and baseband processor.
[0120] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0121] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, enabling the mobile phone to communicate with networks and other devices via wireless communication technology. The mobile communication module 350 can provide solutions for wireless communication applications in mobile phones, including 2G / 3G / 4G / 5G. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves through the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation.
[0122] The mobile communication module 350 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 350 can be housed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 can be housed in the same device.
[0123] The 360 wireless communication module can provide solutions for mobile phone applications including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and other wireless communication technologies.
[0124] The wireless communication module 360 can be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 310. The wireless communication module 360 can also receive signals to be transmitted from processor 310, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0125] Of course, the aforementioned wireless communication module 360 can also support voice communication on mobile phones. For example, a mobile phone can access a Wi-Fi network through the wireless communication module 360, and then use any application that provides voice communication services to interact with other devices, providing voice communication services to the user. For example, the aforementioned application that provides voice communication services could be an instant messaging application.
[0126] A mobile phone can achieve display functions through a GPU, a display screen 394, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or modify display information. The display screen 394 is used to display images, videos, etc.
[0127] A mobile phone can perform shooting functions through an ISP, camera 393, video codec, GPU, display 394, and application processor. The ISP is used to process data fed back from the camera 393. In some embodiments, the ISP can be located within the camera 393. The camera 393 is used to capture still images or videos. In some embodiments, the mobile phone may include one or N cameras 393, where N is a positive integer greater than 1.
[0128] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the phone's storage capacity. The internal memory 321 can be used to store computer executable program code, which includes instructions. The processor 310 executes various functions and data processing of the phone by running the instructions stored in the internal memory 321. For example, in this embodiment, the processor 310 can execute instructions stored in the internal memory 321, which may include a program storage area and a data storage area.
[0129] Mobile phones can perform audio functions, such as music playback and recording, through an audio module 370, a speaker 370A, a receiver (i.e., earpiece) 370B, a microphone 370C, a headphone jack 370D, and an application processor.
[0130] Audio module 370 is used to convert digital audio signals into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 370 can also be used for encoding and decoding audio signals. In some embodiments, audio module 370 may be located in processor 310, or some functional modules of audio module 370 may be located in processor 310. Speaker 370A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Receiver 370B, also called a "handpiece," is used to convert audio electrical signals into sound signals. Microphone 370C, also called a "microphone" or "microphone," is used to convert sound signals into electrical signals. Headphone jack 370D is used to connect wired headphones. Headphone jack 370D can be a USB interface 330, or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
[0131] The receiver 370B (i.e., the "earpiece") can be... Figure 1 The earpiece 101 shown.
[0132] For example, in this embodiment of the application, the audio module 370 can convert the audio electrical signals received by the mobile communication module 350 and the wireless communication module 360 into sound signals. The sound signal is played by the receiver 370B (i.e., the "earpiece") of the audio module 370, and at the same time, the screen sound device 396 drives the screen (i.e. the display screen) to emit screen sound to play the sound signal.
[0133] For example, in this embodiment of the application, the electronic device can detect the ambient sound intensity of the current environment using the microphone 370C. This allows the processor 310 to determine the category of the current listening environment based on the detected ambient sound intensity.
[0134] Buttons 390 include a power button, volume buttons, etc. A motor 391 can generate vibration alerts. An indicator 392 can be an indicator light, used to indicate charging status, battery level changes, and also to indicate messages, missed calls, notifications, etc. A SIM card slot 395 is used to connect a SIM card. The phone can support one or N SIM card slots, where N is a positive integer greater than 1.
[0135] Of course, it is understandable that the above... Figure 3 The illustration shown is merely an example when the electronic device is a mobile phone. If the electronic device is a tablet, handheld computer, PDA, wearable device (such as a smartwatch, smart bracelet), or other device form factor, the structure of the electronic device may include more advanced features. Figure 3 The fewer structures shown can also include more than Figure 3 The structures shown are not limited here.
[0136] In this embodiment, the electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0137] The embodiments of this application will be described below with reference to the accompanying drawings and through several exemplary embodiments. The methods in the following embodiments can all be implemented in an electronic device having the above-described hardware structure. For ease of explanation, electronic devices are used as examples in the embodiments of this application. Figure 1 Take the mobile phone shown as an example.
[0138] This application provides an audio processing method. When a user's operation to lower or raise the volume is received, if the adjusted volume level is determined to be less than or equal to a preset volume level, a privacy call mode is activated. For example, sound can be emitted simultaneously from the screen and the earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities (e.g., the intensity of the screen sound emission is greater than or equal to the intensity of the earpiece sound emission) to avoid sound leakage, protect user call privacy, and improve the user's call experience. If the adjusted volume level is determined to be greater than a preset volume level, a high volume mode is activated. For example, sound can be emitted simultaneously from the screen and the earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities (e.g., the intensity of the earpiece sound emission is greater than the intensity of the screen sound emission) to ensure good sound output and improve the user's call experience.
[0139] The audio control method provided in this application can be applied to voice call scenarios. For example, a voice call scenario can be an incoming call scenario, a call after an incoming call is answered, an outgoing call scenario, or a call after an outgoing call is answered. Of course, it can also be any other possible voice call scenario, and this application embodiment does not limit it. For ease of explanation, the interfaces used in the above-mentioned various voice call scenarios will be collectively referred to as voice call interfaces below.
[0140] In this embodiment, the electronic device has the Smart Privacy Call function enabled by default. After the Smart Privacy Call function is enabled, the privacy call mode can be directly activated in a voice call scenario, or it can be activated in a voice call scenario when the volume of the electronic device is lower than a preset volume level. The specific activation can be determined according to actual usage needs, and this embodiment does not limit it.
[0141] As described above, the privacy call mode can combine screen sound and earpiece sound to output voice. Optionally, the voice output intensity corresponding to the screen sound mode is greater than or equal to the voice output intensity corresponding to the earpiece sound mode. Alternatively, the privacy call mode can output voice solely through the screen sound mode. Compared to the earpiece sound mode, the screen sound mode effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, the privacy call mode can be used to ensure clear calls while reducing sound leakage, thereby protecting user privacy.
[0142] In some embodiments, when an electronic device receives a call, the privacy call mode corresponding to the Smart Privacy Call function can be enabled by default, and a prompt message indicating that the Smart Privacy Call function has been enabled can be displayed on the incoming call screen. Optionally, the prompt message can be text, an icon, or a combination of text and an icon.
[0143] In some embodiments, after the Smart Privacy Call function is enabled, an introduction to the Smart Privacy Call function can be displayed in a bubble in the voice call interface each time a call is made using the handset (e.g., ensuring clear calls while reducing sound leakage and protecting privacy). Operation methods such as "Smart Privacy Call is enabled" and / or "Move closer to this area for clearer sound" can also be displayed in a specific area (i.e., the screen's sound area) to introduce the Smart Privacy Call function and guide users to use it.
[0144] For example, taking a phone call scenario as an example, Figure 4 A schematic diagram of the incoming call interface is shown, such as... Figure 4 As shown in (a), the incoming call interface 40 displays the following prompts: "Smart Privacy Calling is enabled" 41, "Ensuring clear calls while reducing audio leakage and protecting privacy" 42 (located in a speech bubble), and an icon indicating privacy calling 43 (displayed in the status bar). Figure 4 As shown in (b), the incoming call interface 40 displays the following prompts: "Get closer to this area for a clearer view" 44, "Ensure clear calls while reducing audio leakage and protecting privacy" 42, and an icon indicating privacy calls 43. These prompts are all used to indicate that privacy call mode has been enabled. The incoming call interface 40 can alternately display (i.e., rotate) "Smart privacy call enabled" 41 and "Get closer to this area for a clearer view" 44. This allows users to quickly learn about and use the smart privacy call function, improving the human-computer interaction experience.
[0145] It should be noted that the prompts here are all illustrative examples. The specific content, display position, number of displays, display size, display style, etc. of the prompts can be determined according to actual usage requirements, and are not limited in this application embodiment.
[0146] Optionally, the aforementioned prompts can be displayed in the voice call interface during the first N calls (e.g., N = 3) after the Smart Privacy Call function is enabled, to guide users in using the Smart Privacy Call function, and then be removed from the display in subsequent call scenarios. For example, the voice call interface can remove the display of introductory descriptions of the Smart Privacy Call function such as "Ensuring clear calls while reducing audio leakage and protecting privacy".
[0147] In some embodiments, when a user clicks anywhere in the voice call interface (including the answer button), the informational details about the smart privacy call function will be removed from the voice call interface. For example, the bubble corresponding to "Ensuring clear calls while reducing sound leakage and protecting privacy" will disappear.
[0148] In some embodiments, the "Smart Privacy Call Enabled" message can be a persistent notification in the voice call interface. That is, the "Smart Privacy Call Enabled" message can remain displayed whenever the user clicks anywhere in the voice call interface (including the answer button).
[0149] For example, consider a call scenario after the call is answered. Figure 5 The diagram shows the incoming call interface and the voice call interface after answering, as follows: Figure 5 As shown in (a), the user clicks the answer button 45 on the incoming call interface 40 to answer the call. Figure 5 As shown in (b), in response to the user's operation of the answer button 45, the incoming call interface 40 switches to the voice call interface 46. The voice call interface 46 displays the following message: "Smart Privacy Call Enabled" 41 and an icon indicating a privacy call 43. Figure 5 The bubble corresponding to "Ensure clear calls while reducing audio leakage and protecting privacy" shown in (a) has disappeared.
[0150] In some embodiments, when the Smart Privacy Call feature is enabled, when the user pulls down the menu bar, a notification card indicating that a voice call is in progress and a notification card indicating that the Smart Privacy Call feature has been enabled are displayed in the menu bar.
[0151] For example, Figure 6 The diagram shows a notification card related to the Smart Privacy Call feature displayed in the menu bar, such as... Figure 6 As shown in (a), the user slides their finger down along the arrow direction on the voice call interface 46 to access the drop-down menu. Figure 6 As shown in (b), a menu bar (also known as a notification interface) is displayed, which displays notification card 47 and notification card 48. Notification card 47 is used to indicate that a voice call is in progress, and notification card 48 is used to indicate that the smart privacy call function has been enabled.
[0152] These notification cards help users better understand the application scenarios and effects of the smart privacy calling function, thus improving the user experience.
[0153] In some embodiments, the audio processing method provided in this application is also applicable to Voice over Internet Protocol (VoIP). For example, Figure 7 The diagram illustrates a VoIP phone call scenario. Figure 7 As shown, the VoIP call interface 50 displays "Smart Privacy Call Enabled" 51 and an icon 52 indicating privacy calls, which is used to prompt that the current call scenario uses privacy call mode to achieve voice output.
[0154] It should be noted that the above embodiments are illustrative examples of incoming call scenarios and call scenarios after an incoming call is answered. It can be understood that in actual implementation, the audio processing method provided in this application embodiment is also applicable to outgoing call scenarios and call scenarios after an outgoing call is answered. For a detailed description of the smart privacy call function, please refer to the detailed description of the smart privacy call function in the above-mentioned incoming call scenarios and call scenarios after an incoming call is answered. It will not be repeated here.
[0155] It should also be noted that the audio processing method provided in this application embodiment is also applicable to scenarios where voice messages are played. For example, some social applications support receiving or sending voice messages. When these voice messages are played, the above-mentioned smart privacy call function can also be applied to avoid sound leakage when playing voice messages.
[0156] It should also be noted that the audio processing method provided in this application embodiment is also applicable to the scenario of playing recordings. For example, the above-mentioned smart privacy call function can also be applied when playing recordings to avoid sound leakage during recording playback.
[0157] It is understood that the audio processing method provided in this application embodiment can be applied to various scenarios in which users need to listen to audio with their ears close to an electronic device, and this application embodiment does not limit this.
[0158] In this embodiment, after the smart privacy call function is enabled, the privacy call mode can be automatically activated when the output volume level of the electronic device is lower than the preset volume level in a voice call scenario. That is, when the output volume level of the electronic device is lower than the preset volume level in a voice call scenario, it automatically switches to privacy call mode and uses the voice output method corresponding to privacy call mode (e.g., sound is emitted from both the screen and the earpiece, such as the screen sound intensity being greater than the earpiece sound intensity) to output voice, thus avoiding sound leakage during voice calls.
[0159] In other embodiments, during voice calls, when the system senses that the user has repeatedly triggered the volume reduction operation, it can automatically switch to a private call mode and use the voice output method corresponding to the private call mode (e.g., using both the screen and the earpiece to emit sound, such as the screen's sound intensity being greater than the earpiece's sound intensity) to output voice, thus avoiding sound leakage during voice calls.
[0160] In some embodiments, after the electronic device activates the privacy call mode, the electronic device can output voice using a combination of screen sound and earpiece sound. Specifically, the voice output intensity corresponding to the screen sound method (e.g., 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound method (e.g., 30%). That is, the phone can simultaneously play voice using screen sound as the primary method and earpiece sound as a secondary method. The privacy call mode can also use only screen sound.
[0161] In some embodiments, after the electronic device activates its high-volume mode, it can output voice using a combination of earpiece and screen sound. The voice output intensity corresponding to the earpiece sound method (e.g., 70%) is greater than the voice output intensity corresponding to the screen sound method (e.g., 30%). The mobile phone can simultaneously play voice using primarily earpiece sound and secondarily screen sound.
[0162] In some embodiments, when switching from private call mode to high volume mode, the overall volume (or loudness or intensity) can be increased based on the volume corresponding to private call mode to improve the voice playback effect. That is, the overall loudness of sound emitted through the earpiece and screen in high volume mode is greater than the overall loudness of sound emitted through the earpiece and screen in private call mode.
[0163] Compared to earpiece sound, screen sound effectively prevents sound leakage during voice calls. Therefore, when users are making or receiving calls in a quiet environment, they usually want to reduce sound leakage. In this case, they can use the privacy call mode, which can ensure clear calls while reducing sound leakage, thereby protecting user privacy.
[0164] The above explains the possible ways to enable the privacy call mode and the display effect of the voice call interface after it is enabled. The following describes in detail the possible implementation methods of the privacy call mode in actual use. For example, the following will introduce how to switch between the privacy call mode and the loud volume mode, specifically through which user operations and under what conditions the mode switch can be triggered, as well as the changes in the volume bar when the mode is switched.
[0165] In the embodiments of this application, the audio processing method provided in this application can control the switching between privacy call mode and high volume mode according to the output volume level or range of the electronic device.
[0166] Specifically, for switching between privacy call mode and high volume mode, electronic devices can predefine the following rules:
[0167] 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 privacy call mode is automatically enabled.
[0168] When the output volume level of the electronic device exceeds the preset volume level, or when the output volume level of the electronic device is within the preset second volume level range, the device will automatically exit the privacy call mode and enter the high volume mode. 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.
[0169] It should be noted that the output volume level of the aforementioned electronic device can be the volume level when answering or making a phone call, or it can be the volume level adjusted by the user.
[0170] In other words, in scenarios where users listen to audio directly into their ears via electronic devices, the audio processing method provided in this application can automatically activate a privacy call mode when the output volume level of the electronic device decreases to or equals a preset volume level, thus preventing audio leakage during voice calls. When the output volume level of the electronic device increases to exceed the preset volume level, it automatically exits the privacy call mode and enters a high-volume mode to ensure high-volume playback.
[0171] For example, when a user's volume control is received (either lowering or raising the volume), if the adjusted volume level is determined to be less than or equal to a preset volume level, a privacy call mode is activated. This can involve simultaneously emitting sound through the screen and earpiece, controlling these two methods to emit sound at different volume intensities (e.g., the screen's sound intensity is greater than the earpiece's sound intensity) to prevent sound leakage and improve the user's call experience. If the adjusted volume level is determined to be greater than the preset volume level, a high volume mode is activated. This can also involve simultaneously emitting sound through the screen and earpiece, controlling these two methods to emit sound at different volume intensities (e.g., the earpiece's sound intensity is greater than the screen's sound intensity) to ensure good sound output and improve the user's call experience.
[0172] In some embodiments, the electronic device can divide different volume levels into 10 levels, from level 1 to level 10, where the volume values corresponding to levels 1 to 10 increase progressively. The volume values can be expressed in decibels (dB). The specific volume value or volume range corresponding to each level can be determined according to actual usage requirements, and this application embodiment does not impose any limitations.
[0173] In some embodiments, volume levels can be represented by a volume bar. For example, different volume levels can be distinguished by varying fill lengths in the volume bar; more fill indicates a higher volume level, and in this case, a louder voice output. When the volume bar is completely filled, corresponding to level 10, it indicates that the maximum volume has been reached. When the volume bar is not filled, it indicates mute.
[0174] Specifically, in this application, one of the 10 levels can be selected as the preset volume level, depending on the actual situation. For example, 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].
[0175] For example, this section describes enabling different call modes for different volume levels, such as... Figure 8 As shown in (a), the volume bar corresponds to volume level 6 (level 6 is used as an example here, but it can also be any level from 1 to 5). Volume level 6 falls within the range of [1, 6], at which point the privacy call mode is enabled. See also... Figure 8 As shown in (b), the volume bar corresponds to level 7 (level 7 is used as an example here, but it can also be any level from level 8 to level 10). The volume level 7 is within the volume range of [7, 10], and the high volume mode is enabled at this time.
[0176] For example, the switching between different call modes is described here, such as Figure 8 As shown in (a), when the user increases the volume, the volume bar fill level increases. For example, if the volume bar changes from level 6 to level 7, the user automatically exits the private call mode and enters the high volume mode, i.e., switches from private call mode to high volume mode. When the user decreases the volume, the volume bar fill level decreases. For example, if the volume bar changes from level 7 to level 6, the user switches from high volume mode to private call mode.
[0177] It should be noted that the above examples of changing the volume bar from level 6 to level 7 and from level 7 to level 6 are used as examples. In actual implementation, changing any level from level 1 to level 6 to any level from level 7 to level 10 can trigger the switch from private call mode to high volume mode; and changing any level from level 7 to level 10 to any level from level 1 to level 6 can trigger the switch from high volume mode to private call mode.
[0178] It should be noted that the above-described use of volume level 6 as the preset volume level is an illustrative example. In actual implementation, the value of the preset volume level can be selected according to specific circumstances, and this application embodiment does not limit this.
[0179] Optionally, embodiments of this application do not limit the display format, color, or length of the volume bar in high-volume mode and private call mode. In some embodiments, the volume bar in high-volume mode and private call mode can be as follows: Figure 8 As shown in (a) above. In other embodiments, the volume bar in high volume mode and the volume bar in private call mode can be as follows: Figure 8 As shown in (b) of the diagram, the volume bars for the two call modes are displayed in different colors. For ease of explanation, the embodiments in this application all use... Figure 8 The volume bar shown in (a) is used as an example for illustration.
[0180] Optionally, in this embodiment, different icons can be used to represent the privacy call mode and the high volume mode respectively, to distinguish between the two modes. Specifically, the display position, size, and format of the icon used to identify the call mode can be determined according to actual usage needs, and this embodiment does not impose any limitations. Optionally, the icon used to identify the call mode can be displayed below or above the volume bar.
[0181] In some embodiments, when switching call modes, the call mode icon changes accordingly as the volume bar fill level changes, to indicate to the user that the call mode has been switched, thereby improving the user experience.
[0182] In some embodiments, the electronic device can vibrate to alert the user when switching call modes, thereby enhancing the user experience.
[0183] In some embodiments, a user can increase or decrease the volume by pressing the physical volume buttons on the electronic device. In other embodiments, a user can increase or decrease the volume by sliding on a volume bar displayed on the screen.
[0184] The process of switching call modes described above is explained below with reference to the accompanying diagram.
[0185] For example, Figure 9 This diagram illustrates one possible interface for switching call modes. Figure 9 As shown in (a), privacy call mode is enabled in the current voice call. Users can press the volume buttons to adjust the volume. Figure 9 As shown in (b), after the user presses a volume button, a volume bar 61 and an icon 62 indicating the private call mode are displayed in the voice call interface. The volume buttons include a volume up button (Volume + button) and a volume down button (Volume - button). The user can press the Volume + button to increase the volume and press the Volume - button to decrease the volume. Figure 9As shown in (c) and (d), when the user presses the volume + button to increase the volume, the volume bar increases in the direction of the arrow. When the adjusted volume level exceeds the preset volume level (level 6), the mode switches from private call mode to high volume mode. Figure 9 As shown in (d) in the high volume mode, the icon 62 used to identify the privacy call mode is updated to the icon 63 used to identify the high volume mode; in addition, the relevant prompts for the privacy call mode, such as "Smart privacy call is enabled", are no longer displayed, and the icon used to identify the privacy call mode in the status bar is also removed.
[0186] For example again, Figure 10 This shows another interface diagram for switching call modes. (Example) Figure 10 As shown in (a), the voice call interface displays a volume bar 61 and an icon 63 indicating high volume mode, thus indicating that the current voice call is in high volume mode. Users can adjust the volume by sliding their finger along the volume bar 61 in a specific direction; for example, sliding the finger in one direction increases the volume, and sliding it in the opposite direction decreases the volume. Figure 10 As shown in (b), the user slides their finger on volume bar 61 in the direction indicated by the arrow to lower the volume. Figure 10 As shown in (c), when the user operates the volume bar 61 to lower the volume, the volume bar descends in the direction indicated by the arrow. When the adjusted volume level is less than or equal to the preset volume level (level 6), the mode switches from high volume mode to private call mode. Figure 10 As shown in (c), in privacy call mode, the icon 63 used to identify the loud volume mode is updated to the icon 62 used to identify privacy call mode; in addition, "Smart privacy call is enabled" will be displayed, and the icon used to identify privacy call mode will also be displayed in the status bar to prompt the user that privacy call mode is currently enabled.
[0187] Optionally, such as Figure 10 As shown in (c) and (d), the volume bar and the icon indicating the call mode are hidden after a preset duration (e.g., 5 seconds). Users can press the physical volume buttons to bring up the volume bar and the icon again.
[0188] In the embodiments of this application, Figure 11 This diagram illustrates the division of volume levels and the mapping relationship between each volume level and its corresponding volume value. For example... Figure 11As shown, the volume levels are divided into 1 to 10 levels. When the volume level is between 1 and 6, a privacy call mode is enabled; when the volume level is between 7 and 10, a high volume mode is enabled. For example, the volume values corresponding to levels 1 to 10 are: 2.5dB, 5dB, 7.5dB, 10dB, 12.5dB, 15dB, 17.5dB, 20dB, 22.5dB, and 25dB, respectively. It is understood that the mapping relationship between the volume levels and volume values here is illustrative. In actual implementation, the volume values corresponding to each volume level can be set according to actual usage needs, and this embodiment does not impose limitations.
[0189] It should be noted that in the above embodiments, the privacy call mode and the high volume mode use the same volume level division rule. In some embodiments, the privacy call mode and the high volume mode may also use different volume level division rules. The following will combine... Figure 12 This example illustrates the volume level division rules for each of the two call modes and the volume level mapping relationship between the two call modes.
[0190] like Figure 12 As shown, the privacy call mode also corresponds to 10 volume levels, with volume values ranging 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 also corresponds to 10 volume levels, with volume values ranging 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 in privacy call mode is the same as the volume value range covered by volume levels 1 to 6 in high volume mode. It can be understood that the 10 volume levels in privacy call mode are a more granular division of volume levels 1 to 6 in high volume mode.
[0191] Figure 12 It also shows the volume level mapping when switching from privacy call mode to loud volume mode, such as... Figure 12 As shown, volume level 10 in Privacy Call Mode corresponds to a volume value of 15, and volume level 6 in High Volume Mode also corresponds to a volume value of 15. In other words, volume level 10 in Privacy Call Mode is equivalent to volume level 6 in High Volume Mode.
[0192] Specifically, volume level 9 (13.5dB) in Privacy Call Mode is approximately equivalent to volume level 6 (15dB) in High Volume Mode; volume level 8 (12dB) in Privacy Call Mode is approximately equivalent to volume level 5 (12.5dB) in High Volume Mode; volume levels 6 (9dB) and 7 (10.5dB) in Privacy Call Mode are approximately equivalent to volume level 4 (10dB) in High Volume Mode; volume level 4 (6dB) in Privacy Call Mode is approximately equivalent to volume level 3 (7.5dB) in High Volume Mode; volume level 5 (7.5dB) in Privacy Call Mode is approximately equivalent to volume level 3 (7.5dB) in High Volume Mode; volume levels 2 (3dB) and 3 (4.5dB) in Privacy Call Mode are approximately equivalent to volume level 2 (5dB) in High Volume Mode; and volume level 1 (1.5dB) in Privacy Call Mode is approximately equivalent to volume level 1 (2.5dB) in High Volume Mode.
[0193] It should be noted that, Figure 12 The mapping relationship shown is illustrative and can be determined according to actual usage requirements. This application does not limit the specific mapping relationship.
[0194] Combination Figure 11 and Figure 12 The volume level division rules shown can be implemented in various ways during the switching between private call mode and high volume mode. The embodiments of this application exemplarily provide the following three implementation methods:
[0195] Method 1, in conjunction with reference Figure 11 and Figure 13 Both modes have the same volume bar length and represent the same range of volume values. The maximum volume level for both modes is 10, which corresponds to 25dB.
[0196] like Figure 13 As shown in (a), the current volume bar indicates volume level 6 (15dB), which is the private call mode. When the user increases the volume, the shadow fill of the volume bar increases, for example, when the volume level increases to volume level 7 (17.5dB). At this point, a mode switch occurs, exiting private call mode and entering high volume mode. Furthermore, when the user continues to increase the volume, the shadow fill of the volume bar increases further, for example, when the volume level increases to volume level 8 (20dB), which is still the high volume mode.
[0197] like Figure 13As shown in (b), the current volume bar indicates volume level 7 (17.5dB), which is the high volume mode. When the user lowers the volume, the shadow fill of the volume bar decreases, for example, when the volume level drops to level 6 (15dB). At this point, a mode switch occurs, enabling private call mode and exiting high volume mode. Furthermore, when the user continues to lower the volume, the shadow fill of the volume bar decreases, for example, when the volume level drops to level 5 (12.5dB), still maintaining private call mode.
[0198] Method 2, in conjunction with reference Figure 12 and Figure 14 The volume bars in the two modes differ in length and represent different volume ranges. Unlike Method 1, in Method 2, the volume bar length in Privacy Call Mode is shorter than that in High Volume Mode. The maximum volume level in Privacy Call Mode is 10, which corresponds to 15dB; the maximum volume level in High Volume Mode is 10, which corresponds to 25dB.
[0199] like Figure 14 As shown in (a), the current volume bar indicates volume level 8 (12dB), which is the private call mode. When the user increases the volume, the volume bar's shadow fill becomes full, and the volume level increases to volume level 10 (15dB). When the user continues to increase the volume, the volume bar lengthens and the shadow fill changes to an unfilled state, for example, corresponding to volume level 8 (20dB). At this point, a mode switch occurs, exiting private call mode and entering high volume mode. Furthermore, when the user continues to increase the volume, the length of the volume bar changes and the volume bar's shadow fill increases, for example, the volume level increases to volume level 9 (22.5dB), which is still high volume mode.
[0200] like Figure 14 As shown in (b), the current volume bar indicates volume level 7 (17.5dB), which is the high volume mode. When the user lowers the volume, the volume bar shortens and the shadow fill changes to a full state, corresponding to volume level 10 (15dB). At this point, a mode switch occurs, enabling private call mode and exiting high volume mode. Furthermore, when the user continues to lower the volume, the length of the volume bar does not change, but the shadow fill decreases, for example, the volume level decreases to volume level 7 (10.5dB), still maintaining private call mode.
[0201] As can be seen, in Method 2, the volume bar can be adjusted to the maximum level in the private call mode, that is, volume level 10, at which time the volume bar remains fully displayed.
[0202] Method 3, combined with reference Figure 12 and Figure 15Both modes have the same volume bar length, but the volume values they represent differ. Unlike Method 1, in Method 3, the maximum volume level of the volume bar in Privacy Call Mode is 10, which corresponds to 15dB; the maximum volume level of the volume bar in High Volume Mode is 10, which corresponds to 25dB. To facilitate differentiation, Method 3 can use different colors or patterns to represent the shading of the volume bars for the two modes.
[0203] like Figure 15 As shown in (a), the current volume bar indicates volume level 8 (12dB), which is the private call mode. When the user increases the volume, the shadow fill of the volume bar changes to a full state, increasing the volume level to volume level 10 (15dB), still in private call mode. Further, when the user continues to increase the volume, the shadow fill of the volume bar decreases and the shadow color changes, for example, corresponding to volume level 7 (17.5dB). At this point, a mode switch occurs, exiting private call mode and entering high volume mode. Further, when the user continues to increase the volume, the shadow fill of the volume bar increases, for example, increasing the volume level to volume level 8 (20dB), still in high volume mode.
[0204] like Figure 15 As shown in (b), the current volume bar indicates volume level 7 (17.5dB), which is the high volume mode. When the user lowers the volume, the shadow fill of the volume bar changes to full and the shadow color changes, corresponding to volume level 10 (15dB). At this point, a mode switch occurs, enabling private call mode and exiting high volume mode. Furthermore, when the user continues to lower the volume, the shadow fill of the volume bar decreases, for example, the volume level drops to volume level 7 (10.5dB), still maintaining private call mode.
[0205] The process of switching between private call mode and loud volume mode has been described in detail above. The following section will further explain the possible ways to switch between private call mode and speaker mode.
[0206] In some embodiments, using the audio processing method provided in this application, when the electronic device is in private call mode, it can switch to speaker mode when it receives a user's click on the speaker icon, that is, output voice through the speaker, while the screen and earpiece remain silent. Optionally, further, when the electronic device receives a user's click on the speaker icon, it can exit speaker mode and re-enter private call mode.
[0207] For example, Figure 16A schematic diagram of the voice call interface after answering an incoming call is shown. The voice call interface displays the following message: "Smart Privacy Call Enabled" 71 and an icon indicating a privacy call 72. For example... Figure 16 As shown in (a), the user clicks the speaker button 73 in the voice call interface to trigger the playback of voice through the speaker. Figure 16 As shown in (b), in response to the user's operation of the speaker button 73, the phone activates the hands-free function. At this time, voice is played through the speaker, and neither the screen nor the earpiece emits sound. The voice call interface displays the message "Smart Privacy Call Exited" 74, while the message "Smart Privacy Call Enabled" 71 and the icon 72 indicating a privacy call are removed. The message "Smart Privacy Call Exited" 74 is hidden after a preset duration (e.g., 5 seconds).
[0208] Further optional, such as Figure 16 As shown in (c), the user can press the speaker button 73 in the voice call interface again to trigger the speaker to turn off. Figure 16 As shown in (d), in response to the user's operation of the speaker button 73, the phone switches from speaker mode to private call mode. This achieves the switching between private call mode and high volume mode.
[0209] For example again, Figure 17 The diagram illustrates the interface for switching from privacy call mode to speaker mode by interacting with the notification card of the Smart Privacy Call feature, as shown below. Figure 17 As shown in (a), the user slides their finger down in the direction of the arrow on the voice call interface to access the drop-down menu. Figure 17 As shown in (b), a menu bar (also known as the notification interface) is displayed, which contains a notification card 75. This notification card 75 indicates that a voice call is in progress. The user can click the hands-free icon 76 in the notification card 75 to activate the hands-free function. Figure 17 As shown in (c), after the user clicks the hands-free icon 76, they return to the voice call interface from the menu bar. The voice call interface displays the message "Smart Privacy Call Exited" 74. Correspondingly, "Smart Privacy Call Enabled" 71 and the icon indicating privacy calls 72 are removed from the display. This achieves the switching between privacy call mode and high volume mode.
[0210] In some embodiments, the electronic device provides a settings interface for the Smart Privacy Call function, which users can enable or disable according to their actual needs.
[0211] For example, Figure 18The diagram illustrates how to access the Smart Privacy Call settings interface via a notification card for the Smart Privacy Call feature. Figure 18 As shown in (a), the user slides their finger down in the direction of the arrow on the voice call interface to access the drop-down menu. Figure 18 As shown in (b), a menu bar (also known as the notification interface) is displayed, which contains a notification card 77. This notification card 77 indicates that the Smart Privacy Call function is enabled. Users can click on the notification card 77 to configure the Smart Privacy Call function. Figure 18 As shown in (c), after the user clicks the notification card 75, the user is redirected from the menu bar to the settings interface 78 of the Smart Privacy Call function. This settings interface 78 includes a toggle control 79 for the Smart Privacy Call function, which currently indicates that the Smart Privacy Call function is enabled. The user can manipulate the toggle control 79 (e.g., by sliding it in the direction of the arrow shown in the figure) to disable the Smart Privacy Call function.
[0212] Furthermore, such as Figure 18 As shown in (d), after the user operates the switch control 79, the privacy call mode is exited, and the user is redirected from the smart privacy call function settings interface 78 to the voice call interface. In the voice call interface, the prompt message "Smart privacy call has been exited" 74 can be displayed. Correspondingly, "Smart privacy call has been enabled" 71 and the icon 72 that identifies privacy call will be removed from the display.
[0213] It should be noted that the above embodiments are illustrated using a voice call scenario as an example. It can be understood that the solutions provided in the above embodiments regarding switching between private call mode and speaker mode, as well as the function settings for private call mode, can also be applied to VoIP voice call scenarios.
[0214] For example, consider switching between private call mode and speakerphone mode. Figure 19 A schematic diagram of the VoIP voice call interface is shown. The VoIP voice call interface displays the following message: "Smart Privacy Calling is enabled" 81 and an icon indicating privacy calling 82. For example... Figure 19 As shown in (a), the user clicks the speaker button 83 in the voice call interface to trigger the playback of voice through the speaker. Figure 19 As shown in (b), in response to the user's operation of the speaker button 83, the phone activates the hands-free function. At this time, voice is played through the speaker, and neither the screen nor the earpiece makes any sound. The voice call interface can display the prompt message "Smart Privacy Call Exited" 84, and correspondingly, "Smart Privacy Call Enabled" 81 and the icon 82 that indicates privacy calls will be removed from the display.
[0215] Thus, when a user listens to audio through an electronic device, the device can determine whether to activate a private call mode or a high-volume mode based on different volume levels, and can choose to emit sound through the earpiece and / or the screen. For example, when the default volume level of the electronic device or the volume level adjusted by the user is less than or equal to the preset volume level, the private call mode is activated. In this mode, audio can be played through the earpiece and the screen at different sound intensities, for example, the screen's sound intensity is greater than the earpiece's sound intensity. When the default volume level of the electronic device or the volume level adjusted by the user is greater than the preset volume level, the high-volume mode is activated. In this mode, audio can also be played through the earpiece and the screen at different sound intensities, for example, the earpiece's sound intensity is greater than the screen's sound intensity. By using the earpiece and screen's sound in a complementary manner, the electronic device can avoid sound leakage in quiet environments while still providing good sound quality when playing audio. This effectively protects the user's privacy, making the electronic device more private when the user listens to audio through the ear.
[0216] As mentioned above, when a user listens to audio by pressing their ear to the phone, or when the user selects earpiece mode (i.e., the phone plays sound through the earpiece), the phone can determine whether the current volume level is less than or equal to a preset volume level, and based on the determination result, decide whether to enable private call mode or high volume mode. The following explains the possible ways to detect the user's action of listening to audio by pressing their ear to the phone.
[0217] In this context, "listening to audio with the ear" (i.e., the phone being in a "listening to audio with the ear" state) can refer to the user placing their ear near the earpiece to listen to audio data (such as recordings or songs) stored on the phone. It can also refer to the user engaging in voice communication (either through the phone's dial-up function or through an instant messaging application) and listening to audio data received from another user's phone. Furthermore, it can refer to the user listening to voice messages from an instant messaging application. For example, the phone might receive voice messages from other phones via an instant messaging application. The phone can display the instant messaging application's chat interface, which includes the voice messages from other phones. In response to the user's tap on the voice message, the phone can play the voice message (i.e., the audio signal) from the other phone through the earpiece.
[0218] For example, a mobile phone can use sensors such as a light sensor and a proximity sensor to detect whether a user's ear is near the earpiece. For instance, the phone can use a proximity sensor to detect if there is an obstruction in front of the front panel (or screen). If there is an obstruction at close range in front of the front panel, it can be determined that the user's ear is near the earpiece. As another example, when the phone's light sensor detects a sudden and significant decrease in light intensity, it can also determine that the user's ear is near the earpiece. Of course, in other embodiments of this application, the mobile phone can also use other methods or algorithms to detect whether the user's ear is near the earpiece, and relevant descriptions in conventional technology can be consulted; no limitations are set here.
[0219] In some embodiments, when a user uses the phone to listen to audio with their ear, the phone can also display various listening modes for the user to choose from, allowing the user to manually select a listening mode according to their actual needs and trigger the phone to execute the corresponding sound playback strategy for the earpiece and screen. These listening modes may include a privacy mode and a high-volume mode.
[0220] For example, such as Figure 20 As shown in (a), the phone's voice call interface can display controls for selectable listening modes, such as "privacy call mode" and "high volume mode." For example, as... Figure 20 As shown in (a), when the current listening mode is private call mode, the "Private Call Mode" control displayed on the phone's voice call interface has a highlighted effect. Figure 20 As shown in (a) and (b), in response to the user tapping "Volume Mode," the phone can switch the listening mode from "Privacy Call Mode" to "Volume Mode." Of course, the user can also switch the listening mode from "Volume Mode" to "Privacy Call Mode" by tapping "Privacy Call Mode." Subsequently, the phone can play sound according to the sound playback strategy corresponding to the user's selected listening mode (e.g., sound from the earpiece and screen).
[0221] It should be noted that in the example above, after the mobile phone receives the user's input to select a listening mode, it can directly use the corresponding sound playback strategy to play the sound. Each listening mode uses a corresponding sound playback strategy.
[0222] In the privacy call mode, a sound playback strategy can be employed that combines sound from both the earpiece and the screen, with the screen's sound intensity being greater than or equal to the earpiece's sound intensity. That is, the phone can play voice messages simultaneously, primarily using screen sound and secondarily using earpiece sound. The privacy call mode can also use only screen sound.
[0223] The high-volume mode can employ a sound playback strategy that uses both the earpiece and the screen to emit sound, with the earpiece's sound intensity exceeding that of the screen. In other words, the phone can play audio simultaneously using primarily earpiece sound and secondarily screen sound. The high-volume mode can also use only the earpiece.
[0224] In the various scenarios described above, where the user listens with their ear close to their ear, the voice played through the earpiece and screen can be any audio data stored on the phone, such as recordings or songs. It can also be sound data received by the phone from the other user's phone during voice communication. Furthermore, it can be voice messages from instant messaging applications installed on the phone.
[0225] Optionally, in this embodiment, in a quiet environment, the mobile phone can also adjust the volume (or loudness) of the earpiece and screen sound output according to the distance between the user's ear and the mobile phone (or earpiece). Simultaneously, the frequency band of the earpiece sound output and the frequency band of the screen sound output can also be adjusted.
[0226] For example, when a person's ear is far from the phone, the phone can increase the volume of both the earpiece and screen sound. Simultaneously, the phone can reduce the relatively high-frequency components of the earpiece's output frequency band, lowering the boundary frequency between the screen and earpiece sound output bands, resulting in a lower earpiece output frequency. Since most of the screen's sound energy is directed towards the ear, while some of the earpiece's energy is released through the sound outlet at the top of the phone's frame, increasing the volume makes the earpiece more prone to sound leakage compared to the screen. Therefore, further lowering the earpiece's output frequency band can prevent other users from clearly hearing the earpiece's sound output when the volume is increased.
[0227] In some embodiments, the sound intensity of the screen sound can also be set according to the sensitivity of the screen sound. That is, the set sound intensity of the screen sound can vary depending on the sensitivity of the screen sound.
[0228] For example, in this embodiment of the application, screen sound can be emitted by a screen sound device (e.g., such as...). Figure 2The screen sound-generating device (as shown) is used to achieve this. Depending on the specific screen sound-generating scheme, the device itself can vary. For example, the screen sound-generating device can be a vibration source (usually a piezoelectric ceramic, but it could also be a motor vibrator, exciter, or other vibration unit) connected to the back of the screen. It can control the vibration of the piezoelectric ceramic via a current signal to drive the screen to vibrate, thus producing sound. Alternatively, the screen sound-generating device can be a piezoelectric ceramic fixed to the phone's frame via a cantilever beam structure. It can control the vibration of the piezoelectric ceramic via a current signal, and the phone's frame transmits the vibration to the screen, causing it to vibrate and produce sound. Another example is an exciter fixed to the phone's frame. It can control the vibration of the exciter via a current signal, and the phone's frame transmits the vibration to the screen, causing it to vibrate and produce sound. Yet another example is a split-type magnetic levitation vibrator. One vibrator is fixed to the phone's frame, and the other is fixed to the screen. The vibrator fixed to the screen can be controlled by a current signal to vibrate relative to the vibrator fixed to the phone's frame, thus driving the screen to vibrate and produce sound. Due to factors such as the type and location of the screen sound-emitting device, the weight of the phone's frame, and the internal structural layout of the phone, the screen sound sensitivity varies for different screen sound-emitting solutions. A relatively low screen sound intensity and driving power can be set for screen sound-emitting devices with high sensitivity, while a relatively high screen sound intensity and driving power can be set for screen sound-emitting devices with low sensitivity.
[0229] Optionally, in this embodiment of the application, the electronic device (such as a mobile phone) can automatically enable the functions implemented by the above method, or it can be set to be manually enabled by the user.
[0230] It should also be noted that in the embodiments of this application, "greater than" can be replaced with "greater than or equal to", "less than or equal to" can be replaced with "less than", or "greater than or equal to" can be replaced with "greater than", and "less than" can be replaced with "less than or equal to".
[0231] The various embodiments described herein can be independent solutions or combinations thereof based on their inherent logic, and all such solutions fall within the protection scope of this application.
[0232] It is understood that the methods and operations implemented by electronic devices in the above-described method embodiments can also be implemented by components (such as chips or circuits) that can be used in electronic devices.
[0233] The method embodiments provided in this application have been described above. The apparatus embodiments provided in this application will be described below. It should be understood that the description of the apparatus embodiments corresponds to the description of the method embodiments. Therefore, any content not described in detail can be referred to the method embodiments above. For the sake of brevity, it will not be repeated here.
[0234] The foregoing mainly describes the solutions provided by the embodiments of this application from the perspective of method steps. It is understood that, in order to achieve the above functions, the electronic device implementing this method includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of protection of this application.
[0235] This application embodiment can divide an electronic device into functional modules based on the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, other feasible division methods may exist. The following description uses the division of functional modules according to each function as an example.
[0236] Figure 21 This is a schematic block diagram of an audio processing apparatus 800 provided in an embodiment of this application. The apparatus 800 can be used to perform the actions performed by the electronic device in the above method embodiments. The apparatus 800 includes a detection unit 810, a processing unit 820, and a display unit 830.
[0237] The detection unit 810 is used to receive a first operation from the user, which is used to trigger making a call or answering a call.
[0238] The processing unit 820 is configured to respond to the first operation, wherein the electronic device enters a voice call state and outputs voice according to a first output strategy corresponding to the privacy call mode, wherein the first output strategy is to output voice through the screen.
[0239] The detection unit 810 is also configured to receive a second operation from the user, which is used to trigger an increase in the output volume of the electronic device.
[0240] The processing unit 820 is also configured to respond to the second operation by switching from the privacy call mode to the high volume mode when the adjusted output volume is greater than the preset output volume, and outputting voice according to the second output strategy corresponding to the high volume mode, wherein the second output strategy is to output voice through the earpiece.
[0241] The audio processing device provided in this application embodiment automatically activates a privacy call mode when the electronic device enters a voice call state. For example, it can output voice through screen sound to avoid sound leakage, protect user call privacy, and improve user call experience. When a user's volume increase operation is received, if it is determined that the adjusted volume level is greater than the preset volume level, a high volume mode is activated. For example, it can output voice through the earpiece to ensure good sound output and improve user call experience.
[0242] In some possible implementations, the first output strategy is to output voice through the screen and earpiece; wherein, when outputting voice through the screen and earpiece in privacy call mode, the volume intensity of the sound emitted from the screen is greater than or equal to the volume intensity of the sound emitted from the earpiece.
[0243] With the above solution, in privacy call mode, sound can be emitted simultaneously through the screen and the earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities. For example, the intensity of the sound emitted from the screen can be greater than or equal to the intensity of the sound emitted from the earpiece, so as to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0244] In some possible implementations, 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 high volume mode, the volume intensity of the sound emitted by the earpiece is greater than the volume intensity of the sound emitted by the screen.
[0245] With the above solution, in high volume mode, sound can be emitted simultaneously through the screen and earpiece, and these two sound emission methods can be controlled to emit sound at different volume intensities. For example, the intensity of the sound emitted by the earpiece is greater than that emitted by the screen, so as to ensure good sound output and improve the user's call experience.
[0246] In some possible implementations, the total output volume intensity in privacy call mode is equal to the total output volume intensity in high volume mode.
[0247] In some possible implementations, the processing unit 820 is also used to increase the overall output volume intensity of the electronic device when switching from privacy call mode to high volume mode.
[0248] In some possible implementations, the detection unit 810 is also configured to receive a third operation from the user, which triggers a decrease in the output volume of the electronic device;
[0249] The processing unit 820 is also configured to respond to the third operation by switching from the high volume mode to the privacy call mode when the adjusted output volume is less than or equal to the preset output volume, and outputting voice according to the first output strategy corresponding to the privacy call mode.
[0250] With the above solution, when a user is asked to lower the volume, if the adjusted volume level is less than or equal to the preset volume level, a privacy call mode is activated to prevent sound leakage, protect user call privacy, and improve the user's call experience.
[0251] In some possible implementations, the above-mentioned output of voice according to the first output strategy corresponding to the privacy call mode includes:
[0252] When the smart privacy call function is enabled on the electronic device, voice is output according to the first output strategy corresponding to the privacy call mode.
[0253] In some possible implementations, 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.
[0254] In some possible implementations, the output volume range of the electronic device includes a preset volume decibel range, which is divided into N levels, and there is a one-to-one correspondence between the N volume levels and the N decibel values in the preset volume decibel range.
[0255] In some possible implementations, the above N volume levels include volume levels 1 to 10; wherein, the privacy call mode corresponds to volume levels 1 to I, and the high volume mode corresponds to volume levels I+1 to 10, where I is an integer greater than 1 and less than 10.
[0256] In some possible implementations, the preset volume decibel range is [2.5dB, 25dB].
[0257] In some possible implementations, when I is 6, the preset volume level is volume level 6, and the volume level 6 corresponds to a volume decibel value of 15dB.
[0258] In some possible implementations, such as Figure 21 As shown, the device 800 may also include a display unit 830.
[0259] The display unit 830 is used to display a first prompt message and / or a second prompt message in a first area of the voice call interface after the smart privacy call function is enabled. The first prompt message is used to indicate that the privacy call function has been enabled and to guide the user to approach the first area to answer the call.
[0260] The first area is the area of the screen that is closest to the screen sound-emitting device.
[0261] In some possible implementations, displaying the first prompt information and / or the second prompt information in the first area of the voice call interface includes: alternately displaying the first prompt information and the second prompt information in the first area of the voice call interface.
[0262] In some possible implementations, the display unit 830 is also used to cancel the display of the first and second prompt messages when switching from the privacy call mode to the volume mode.
[0263] In some possible implementations, the display unit 830 is also configured to display a third prompt message in the voice call interface of the first M voice calls after the smart privacy call function is enabled, the third prompt message being used to indicate the effect of the smart privacy call function being enabled; and to cancel the display of the third prompt message in the voice call interface of subsequent voice calls.
[0264] In some possible implementations, the display unit 830 is also configured to display an icon for identifying the privacy call mode in the status bar of the electronic device when outputting voice according to the first output strategy corresponding to the privacy call mode.
[0265] In some possible implementations, the display unit 830 is also used to deselect the icon used to identify the private call mode in the status bar of the electronic device when switching from the private call mode to the loud volume mode.
[0266] In some possible implementations, the detection unit 810 is also used to receive a fourth operation by the user on the physical volume button of the electronic device;
[0267] The display unit 830 is also configured to, in response to the fourth operation, display a volume bar icon and a call mode icon in the voice call interface;
[0268] The volume bar icon indicates the output volume during a voice call, while the call mode icon indicates whether the current call mode is private or high volume.
[0269] In some possible implementations, when the Smart Privacy Call function is enabled, the call mode icon is an icon used to indicate the privacy call mode; or, when the Smart Privacy Call function is disabled, the call mode icon is an icon used to indicate the high volume mode.
[0270] In some possible implementations, the electronic device may also include a speaker; the detection unit 810 is also configured to receive a fifth operation by the user on the speaker control in the voice call interface when the smart privacy call function is enabled.
[0271] The processing unit 820 is also configured to, in response to the fifth operation, output voice through the speaker and stop the earpiece and screen from emitting sound.
[0272] In some possible implementations, the processing unit 820 is also configured to display a system settings interface when the detection unit 810 receives a user's operation on the system settings icon, the system settings interface including privacy call settings items;
[0273] The display unit 830 is also used to display the settings interface of the smart privacy call function when the detection unit 810 receives the user's operation on the privacy call settings. The settings interface displays the start and stop controls of the smart privacy call function.
[0274] When a user's action to enable the control is received, the Smart Privacy Call function is enabled; or, when a user's action to disable the control is received, the Smart Privacy Call function is disabled.
[0275] In some possible implementations, the detection unit 810 is also used to receive the user's sixth operation in the voice call interface when the smart privacy call function is enabled;
[0276] The display unit 830 is also configured to respond to the sixth operation by switching from the voice call interface to the card notification interface, which displays a first notification card to indicate that the smart privacy call function has been enabled.
[0277] In some possible implementations, the display unit 830 is also used to jump from the notification interface to the settings interface of the smart privacy call function when the detection unit 810 receives an operation from the user on the first notification card.
[0278] In some possible implementations, the aforementioned device 800 is suitable for IP-based voice telephony scenarios.
[0279] The apparatus 800 according to the embodiments of this application can correspond to the execution of the method described in the embodiments of this application, and the above and other operations and / or functions of the units in the apparatus 800 are respectively for implementing the corresponding process of the method, which will not be described again here for the sake of brevity.
[0280] Optionally, in some embodiments, this application provides a chip coupled to a memory, the chip being used to read and execute computer programs or instructions stored in the memory to perform the methods described in the above embodiments.
[0281] Optionally, in some embodiments, this application provides an electronic device including a chip for reading and executing computer programs or instructions stored in a memory, such that the methods in the various embodiments are performed.
[0282] Optionally, in some embodiments, this application also provides a computer-readable storage medium storing program code that, when run on a computer, causes the computer to perform the methods described in the above embodiments.
[0283] Optionally, in some embodiments, this application also provides a computer program product including computer program code, which, when run on a computer, causes the computer to perform the methods described in the above embodiments.
[0284] This application does not impose any particular limitation on the specific structure of the execution subject of the method provided in this application embodiment. As long as it is possible to process according to the method provided in this application embodiment by running a program that records the code of the method provided in this application embodiment. For example, the execution subject of the method provided in this application embodiment can be an electronic device, or a functional module in an electronic device that can call and execute a program.
[0285] Those skilled in the art will recognize that the units and steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of protection of this application.
[0286] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0287] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0288] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for providing volume adjustment prompts, characterized in that, The method includes: Receive the user's first action, which is used to trigger making or answering a phone call. In response to the first operation, the electronic device enters a voice call state, displays a voice call interface, and outputs voice at a first volume. When the first volume is less than or equal to a preset volume, a prompt message is displayed on the voice call interface to remind users to protect their call privacy. When a user presses the volume button, in response to the user's press of the volume button, a volume bar is displayed on the voice call interface, and the fill length of the volume bar is a first length; When the second operation from the user is received, the electronic device adjusts the fill length of the volume bar on the voice call interface to a second length and adjusts the volume of the output voice to a second volume. When the second volume is greater than the preset volume, the electronic device cancels the display of the prompt information.
2. The method according to claim 1, characterized in that, The method is applied to the process of switching between a privacy call mode and a high volume mode in earpiece mode on an electronic device. The electronic device determines whether to enable the privacy call mode or the high volume mode based on different volume levels, and selects to emit sound through the earpiece and / or the screen sound device.
3. The method according to claim 2, characterized in that, The notification message also serves to indicate that the privacy call mode has been enabled.
4. The method according to claim 3, characterized in that, When the second volume is greater than the preset volume, the electronic device switches from the privacy call mode to the high volume mode.
5. The method according to claim 4, characterized in that, The method further includes: When the electronic device outputs voice at the second volume, it receives a third operation from the user; When the third operation is received, the electronic device adjusts the volume of the output voice to the third volume and adjusts the fill length of the volume bar to the third length. When the third volume is less than or equal to the preset volume, the electronic device switches from the high volume mode to the privacy call mode and re-displays the prompt information on the voice call interface.
6. The method according to claim 1, characterized in that, The second volume is the maximum volume.
7. The method according to claim 1, characterized in that, The output volume of the electronic device is divided into multiple volume levels, wherein the larger the volume level, the larger the output volume in decibels. The first volume level corresponds to any level from level 1 to level 6.
8. The method according to claim 7, characterized in that, The output volume of the electronic device is divided into multiple volume levels, wherein the larger the volume level, the larger the output volume in decibels. The second volume level corresponds to 9 levels.
9. The method according to claim 1, characterized in that, The method further includes: Before the voice call is connected, the electronic device displays an incoming call interface, which includes the prompt information.
10. The method according to claim 1, characterized in that, The call was an IP-based voice call.
11. The method according to claim 2, characterized in that, The method further includes: The voice call interface also displays a speaker icon; When the electronic device has the privacy call mode enabled, when the electronic device receives a user tapping the speaker icon, the electronic device disables the privacy call mode, cancels the display of the prompt message on the voice call interface, and enables speaker mode. When an electronic device is in speaker mode, it outputs voice through the speaker.
12. The method according to claim 11, characterized in that, The method further includes: When the electronic device is outputting voice in speaker mode, and the electronic device receives a user clicking the speaker icon, the electronic device activates the privacy call function and redisplays the prompt information in the voice call interface.
13. The method according to any one of claims 1-12, characterized in that, The notification message includes the first icon displayed in the status bar.
14. The method according to any one of claims 1-12, characterized in that, The prompt information includes text prompts and a first icon located in the first area of the voice call interface.
15. The method according to claim 13, characterized in that, The prompt information also includes text prompt information and a first icon located in the first area of the voice call interface.
16. The method according to claim 14, characterized in that, The first area is located in the upper half of the voice call interface.
17. The method according to any one of claims 5-12, characterized in that, The second and third operations are operations performed by the user on the physical volume buttons of the electronic device. The second operation is to increase the volume, and the third operation is to decrease the volume.
18. The method according to any one of claims 5-12, characterized in that, The second and third operations are swiping operations performed by the user on the voice call interface, and the swiping directions of the second and third operations are opposite.
19. The method according to claim 18, characterized in that, The second operation is to slide the volume bar towards its first end along its length. The third operation is to slide the volume bar towards the second end of the volume bar along its length. The volume corresponding to the first end is greater than the volume corresponding to the second end.
20. The method according to claim 2, characterized in that, After the privacy call mode is activated, the electronic device outputs voice only through the screen sound device and not through the earpiece.
21. The method according to claim 2, characterized in that, After the privacy call mode is activated, the electronic device outputs voice through the screen sound device and the earpiece.
22. The method according to claim 2, characterized in that, After the privacy call mode is turned off, the electronic device outputs voice only through the earpiece and not through the screen sound device.
23. The method according to claim 2, characterized in that, After the privacy call mode is turned off, the electronic device outputs voice through the screen sound device and the earpiece.
24. The method according to claim 11, characterized in that, When switching to speaker mode to output voice, the electronic device outputs voice through a speaker.
25. The method according to claim 1, characterized in that, The method further includes: When a user interacts with the system settings icon, the system settings interface is displayed, which includes settings for the privacy call function.
26. The method according to claim 13, characterized in that, The first icon is the one that identifies the privacy call function.
27. The method according to claim 26, characterized in that, The icon for the privacy call function is shield-shaped, and the shield shape contains an icon similar to the answer button icon.
28. An electronic device, characterized in that, The device includes a processor coupled to a memory, the processor being configured to execute a computer program or instructions stored in the memory to cause the electronic device to perform the method as described in any one of claims 1 to 27.
29. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 27.
Citation Information
Patent Citations
Volume adjustment method and telephone watch
CN107197087A
Volume control method and terminal equipment
CN109981904A