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 volume adjustment, the problem of sound leakage when listening to audio with the phone to the ear is solved, achieving both privacy protection and improved sound quality.
Patent Information
- Application Number
- CN202410358549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-02-28
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 outputs voice by combining a screen-based sound device and an earpiece, and automatically switches between a privacy call mode and a high-volume mode based on the volume adjustment. It outputs sound through the screen or earpiece at different volume intensities to avoid sound leakage and ensure sound quality.
It effectively prevents sound leakage during voice calls, protects user privacy, improves the call experience, and ensures clear calls in quiet environments.
Smart Images

Figure CN118264746B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese Patent Application No. 202210191577.X, filed on February 28, 2022, entitled "Audio processing method and electronic device", with the State Intellectual Property Office. TECHNICAL FIELD
[0002] The present application relates to the technical field of electronic devices, in particular to an audio processing method and an electronic device. BACKGROUND
[0003] At present, most mobile phones use a receiver arranged at the top of the mobile phone to realize voice communication sound generation. Generally, the mobile phone needs to be provided with a sound hole at the position of the receiver to release the energy when the receiver generates sound. The sound hole is generally arranged on the front panel of the mobile phone. With the development of large screens and full-screen mobile phones, the sound hole of some full-screen mobile phones is designed in the form of a long slit at the connection between the middle frame and the front panel of the mobile phone. In order to ensure that the sound emitting area is large enough to have good sound emitting effect, some full-screen mobile phones also increase the opening at the top of the middle frame as a sound hole.
[0004] However, in the process of the user holding the mobile phone close to the ear to listen to the sound (for example, in a voice call scenario), the voice output through the receiver is not only emitted from the sound hole at the side slit, but also a large part of the energy is emitted from the top sound hole. Therefore, the sound emitted from the sound hole can not only be heard by the user, but also can be heard by other users in a quiet environment, which causes the phenomenon of sound leakage and easily leaks the user's privacy. SUMMARY
[0005] The present application provides an audio processing method and an electronic device, which solves the problem of sound leakage when playing voice through the receiver in the scenario of the user holding the mobile phone close to the ear to listen to the sound.
[0006] To achieve the above purpose, the present application adopts the following technical solutions:
[0007] In a first aspect, the present application provides an audio processing method applied to an electronic device, the electronic device comprising a receiver, a screen and a screen sound generating device, the screen sound generating device being configured to drive the screen to generate screen sound, the method comprising:
[0008] receiving a first operation of a user, the first operation being configured to trigger a call or a call;
[0009] In response to the first operation, the electronic device enters a voice call state and outputs voice according to a first output strategy corresponding to a private call mode, the first output strategy being to output voice through the screen;
[0010] receiving a second operation of a user, the second operation being configured to trigger 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, switching from the private call mode to a large volume mode, and outputting the voice according to a second output strategy corresponding to the large volume mode, the second output strategy being outputting the voice through the earpiece.
[0012] According to the audio processing method provided in the embodiments of the present application, when the electronic device enters the voice call state, the private call mode is automatically enabled, for example, the voice can be output through the screen sounding mode, so as to avoid the voice leakage, protect the user's call privacy, and improve the user's call experience. When the operation of increasing the volume by the user is received, if it is determined that the adjusted volume level is greater than the preset volume level, the large volume mode is enabled, for example, the voice can be output through the earpiece sounding mode, so as to ensure the good sound output effect and improve the user's call experience.
[0013] In some possible implementation manners, the first output strategy is to output the voice through the screen and the earpiece; and when the voice is output through the screen and the earpiece in the private call mode, the volume intensity of the screen sounding is greater than or equal to the volume intensity of the earpiece sounding.
[0014] According to the above scheme, in the private call mode, the screen and the earpiece can sound at the same time, and the two sounding modes are controlled to sound at different volume intensities, for example, the intensity of the screen sounding is greater than or equal to the intensity of the earpiece sounding, so as to avoid the voice leakage, protect the user's call privacy, and improve the user's call experience.
[0015] In some possible implementation manners, the second output strategy is to output the voice through the screen and the earpiece; and when the voice is output through the screen and the earpiece in the large volume mode, the volume intensity of the earpiece sounding is greater than the volume intensity of the screen sounding.
[0016] According to the above scheme, in the large volume mode, the screen and the earpiece can sound at the same time, and the two sounding modes are controlled to sound at different volume intensities, for example, the intensity of the earpiece sounding is greater than the intensity of the screen sounding, so as to ensure the good sound output effect and improve the user's call experience.
[0017] In some possible implementation manners, the total intensity of the output volume in the private call mode is equal to the total intensity of the output volume in the large volume mode.
[0018] In some possible implementation manners, the method can further include: when switching from the private call mode to the large volume mode, increasing the total intensity of the output volume of the electronic device.
[0019] In some possible implementation manners, after outputting the voice according to the second output strategy corresponding to the large volume mode, the method can further include:
[0020] receive a third operation of the user, the third operation being used to trigger the output volume of the electronic device to be reduced;
[0021] In response to the third operation, when the adjusted output volume is less than or equal to the preset output volume, switch from the large volume mode to the private call mode, and output the voice according to the first output strategy corresponding to the private call mode.
[0022] Through the above scheme, when the operation of reducing the volume of the user is received, if it is judged that the adjusted volume level is less than or equal to the preset volume level, the private call mode is enabled to avoid sound leakage, protect the user's call privacy, and improve the user's call experience.
[0023] In some possible implementation manners, the outputting the voice according to the first output strategy corresponding to the private call mode includes:
[0024] In a case where the intelligent private call function of the electronic device is turned on, the voice is output according to the first output strategy corresponding to the private call mode.
[0025] In some possible implementation manners, the output volume of the electronic device is represented by a volume level, and the preset volume is represented by a preset volume level; or the output volume of the electronic device is represented by a volume decibel value, and the preset volume is represented by a preset volume decibel value.
[0026] In some possible implementation manners, the output volume range of the electronic device includes a preset volume decibel value range, the preset volume decibel value range is divided into N levels, and the N volume levels have a one-to-one correspondence with N decibel values in the preset volume decibel value range.
[0027] In some possible implementation manners, the N volume levels include volume level 1 to volume level 10; wherein the private call mode corresponds to volume level 1 to volume level I, and the large volume mode corresponds to volume level I+1 to volume level 10, where I is an integer greater than 1 and less than 10.
[0028] In some possible implementation manners, the preset volume decibel value range is [2.5dB, 25dB].
[0029] In some possible implementation manners, when I is 6, the preset volume level is volume level 6, and the volume decibel value corresponding to the volume level 6 is 15dB.
[0030] In some possible implementation manners, the method can further include:
[0031] After the smart privacy call function is enabled, the first prompt information and / or the second prompt information are displayed in the first area in the voice call interface, the first prompt information is used to prompt that the privacy call function has been enabled, and the first prompt information is used to guide the user to approach the first area to answer the call.
[0032] The first area is an area of the screen closest to the screen sound emitting device.
[0033] In some possible implementation manners, the first prompt information and / or the second prompt information are displayed in the first area in the voice call interface, including: alternately displaying the first prompt information and the second prompt information in the first area in the voice call interface.
[0034] In some possible implementation manners, the method further includes: when switching from the privacy call mode to the large volume mode, canceling display of the first prompt information and the second prompt information.
[0035] In some possible implementation manners, the method further includes:
[0036] After the smart privacy call function is enabled, the third prompt information is displayed in the voice call interface of the M previous voice calls, and the third prompt information is used to represent an effect after the smart privacy call function is enabled.
[0037] The third prompt information is not displayed in the voice call interface of subsequent voice calls.
[0038] In some possible implementation manners, the method further includes: when outputting the voice according to the first output strategy corresponding to the privacy call mode, displaying, in a status bar of the electronic device, an icon used to identify the privacy call mode.
[0039] In some possible implementation manners, the method further includes: when switching from the privacy call mode to the large volume mode, canceling display, in the status bar of the electronic device, of the icon used to identify the privacy call mode.
[0040] In some possible implementation manners, the method further includes:
[0041] A fourth operation of a physical volume key of the electronic device is received.
[0042] In response to the fourth operation, a volume bar icon and a call mode icon are displayed in the voice call interface.
[0043] The volume bar icon is used to represent an output volume size in the voice call, and the call mode icon is used to represent that the current call mode is the privacy call mode or the large volume mode.
[0044] In some possible implementation manners, when the smart privacy call function is turned on, the call mode icon is an icon for representing a privacy call mode; or when the smart privacy call function is turned off, the call mode icon is an icon for representing a large volume mode.
[0045] In some possible implementation manners, the electronic device can further include a loudspeaker; and the method can further include:
[0046] When the smart privacy call function is turned on, a fifth operation of a user on a loudspeaker control in the voice call interface is received;
[0047] In response to the fifth operation, the voice is output through the loudspeaker, and the earpiece sound and the screen sound are stopped.
[0048] In some possible implementation manners, the method can further include:
[0049] When an operation of a user on a system setting icon is received, a system setting interface is displayed, and the system setting interface includes a privacy call setting item;
[0050] When an operation of a user on the privacy call setting item is received, a setting interface of the smart privacy call function is displayed, and the setting interface displays an opening control and a closing control of the smart privacy call function;
[0051] When an operation of a user on the opening control is received, the smart privacy call function is turned on; or when an operation of a user on the closing control is received, the smart privacy call function is turned off.
[0052] In some possible implementation manners, the method can further include:
[0053] When the smart privacy call function is turned on, a sixth operation of a user in the voice call interface is received;
[0054] In response to the sixth operation, the voice call interface is jumped to a card notification interface, and the card notification interface displays a first notification card, and the first notification card is used to prompt that the smart privacy call function is turned on.
[0055] In some possible implementation manners, the method can further include: when an operation of a user on the first notification card is received, the notification interface is jumped to the setting interface of the smart privacy call function.
[0056] In some possible implementation manners, the method is applicable to a call scenario of a voice over IP (VoIP) call.
[0057] In a second aspect, the present application provides an audio processing apparatus, which comprises units for performing the method in the first aspect. The apparatus can correspond to performing the method described in the first aspect, and the related description of the units in the apparatus can refer to the description of the first aspect, which will not be repeated here for brevity.
[0058] The method described in the first aspect can be implemented by hardware, or the corresponding software can be executed by hardware. The hardware or software comprises one or more modules or units corresponding to the above functions. For example, processing modules or units, display modules or units, etc.
[0059] In a third aspect, the present application provides an electronic device, which comprises a processor and a memory. The memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions stored in the memory, so that the method in the first aspect is executed.
[0060] For example, the processor is used to execute the computer programs or instructions stored in the memory, so that the apparatus executes the method in the first aspect.
[0061] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program (also referred to as instructions or code) for implementing the method in the first aspect.
[0062] For example, when the computer program is executed by a computer, the computer can execute the method in the first aspect.
[0063] In a fifth aspect, the present application provides a chip, which comprises a processor. The processor is used to read and execute the computer program stored in the memory, so as to execute the method in the first aspect and any possible implementation manner thereof.
[0064] Optionally, the chip further comprises a memory, which is connected to the processor through a circuit or a wire.
[0065] In a sixth aspect, the present application provides a chip system, which comprises a processor. The processor is used to read and execute the computer program stored in the memory, so as to execute the method in the first aspect and any possible implementation manner thereof.
[0066] Optionally, the chip system further comprises a memory, which is connected to the processor through a circuit or a wire.
[0067] In a seventh aspect, the present application provides a computer program product, which comprises a computer program (also referred to as instructions or code). When the computer program is executed by a computer, the computer can implement the method in the first aspect.
[0068] It can be understood that the beneficial effects of the second aspect to the seventh aspect described above can be referred to the relevant description in the first aspect described above, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0069] Figure 1 A structure schematic diagram of an electronic device provided with an earpiece and a sound hole;
[0070] Figure 2 A structure schematic diagram of an electronic device provided with an earpiece and a screen vibration device according to an embodiment of the present application;
[0071] Figure 3 A structure schematic diagram of an electronic device according to an embodiment of the present application;
[0072] Figure 4 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, one of;
[0073] Figure 5 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, two of;
[0074] Figure 6 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, three of;
[0075] Figure 7 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, four of;
[0076] Figure 8 A schematic diagram of volume bar change when mode switching of an audio processing method according to an embodiment of the present application;
[0077] Figure 9 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, five of;
[0078] Figure 10 An interface schematic diagram of an electronic device to which an audio processing method according to an embodiment of the present application is applied, six of;
[0079] Figure 11 A schematic diagram of volume level division to which an audio processing method according to an embodiment of the present application is applied;
[0080] Figure 12 A schematic diagram of another volume level division to which an audio processing method according to an embodiment of the present application is applied;
[0081] Figure 13 A schematic diagram of volume bar change when mode switching of an audio processing method according to an embodiment of the present application, one of;
[0082] Figure 14 Fig. 2 is a schematic diagram of volume bar change when mode switching according to an embodiment of the present application;
[0083] Figure 15 Fig. 3 is a schematic diagram of volume bar change when mode switching according to an embodiment of the present application;
[0084] Figure 16 Fig. 7 is a schematic diagram of an interface of an electronic device to which an audio processing method according to an embodiment of the present application is applied;
[0085] Figure 17 Fig. 8 is a schematic diagram of an interface of an electronic device to which an audio processing method according to an embodiment of the present application is applied;
[0086] Figure 18 Fig. 9 is a schematic diagram of an interface of an electronic device to which an audio processing method according to an embodiment of the present application is applied;
[0087] Figure 19 Fig. 10 is a schematic diagram of an interface of an electronic device to which an audio processing method according to an embodiment of the present application is applied;
[0088] Figure 20 Fig. 11 is a schematic diagram of an interface of an electronic device to which an audio processing method according to an embodiment of the present application is applied;
[0089] Figure 21 Fig. 12 is a schematic diagram of an audio processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0090] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following will be combined with the accompanying drawings for the embodiments of the present application to clearly and completely describe the technical solutions of the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0091] At present, most mobile phones use a receiver arranged at the top of the mobile phone to realize voice communication sound generation of the mobile phone. Generally, the mobile phone needs to correspondingly set a sound hole at the position of the receiver to release the energy when the receiver generates sound, and the sound hole is generally arranged on the front panel of the mobile phone. However, with the continuous development of mobile phones, in order to provide better screen viewing experience for users, the screen ratio of the mobile phone is getting higher and higher. The sound hole arranged on the front panel occupies part of the area of the front panel of the mobile phone, which increases the width of the frame of the mobile phone, so as to affect the further improvement of the screen ratio of the mobile phone.
[0092] Therefore, with the development of large screens and full-screen phones, in order to reduce the area occupied by the sound hole of the receiver (also known as the earpiece) for call sound in voice communication on the front panel of the phone, so as to further improve the screen ratio of the screen, the sound hole of the receiver of some full-screen phones is designed in the form of a long slit at the connection between the middle frame and the front panel, and in order to ensure that the sound area is large enough and has good sound output effect, the top opening of the middle frame is also increased as a sound hole on some full-screen phones.
[0093] For example, Figure 1 A structural schematic diagram of a phone is shown. As Figure 1 shown, the phone can include a front panel (usually including a screen and a frame) for setting a screen, a back panel for supporting internal circuits, and a middle frame, which can be enclosed into a shell structure through the front panel, the back panel, and the middle frame. As Figure 1 shown in (a) thereof, a receiver 101 (i.e., a loudspeaker for call sound in voice communication, also known as an earpiece) is arranged at a top position (i.e., a top position of the phone) in the shell structure. Corresponding to the receiver 101, the phone is provided with two sound holes (e.g., sound hole 102 and sound hole 103). In combination with Figure 1 (b) shown in (b) thereof, Figure 1 (b) is a cross-sectional view of the structure of the phone, in which the sound hole 102 is located at the connection between the front panel and the middle frame of the phone (i.e., at the side seam). The sound hole 103 is located at a position close to the above-mentioned receiver 101 on the middle frame of the phone (i.e., at the top position of the middle frame of the phone).
[0094] However, the sound holes arranged in this way cannot be completely covered by the auricle of the user when the user normally uses the phone for voice communication, so when the sound energy of the loudspeaker comes out of the sound hole opened at the top of the middle frame of the phone, there will be a sound leakage phenomenon. Figure 1 (c) shown in (c) thereof shows a schematic diagram of a user using the phone for voice communication. As Figure 1 shown in (c) thereof, during the process of the user holding the phone for voice communication through the receiver, the receiver of the phone is close to the ear (or auricle) of the user, and since the sound holes of the receiver (the sound hole 102 at the side seam of the phone and the sound hole 103 at the top of the middle frame) cannot be completely covered by the ear of the user, the sound coming out of the sound holes can not only be heard by the user, but also by other users in a quiet environment.
[0095] To solve the above problems, an embodiment of the present application provides an audio processing method, which can be applied to an electronic device with a voice communication function. For example, the audio processing method can be applied to a scenario where a user listens to audio through the above electronic device, such as when the user makes a voice call through an earpiece, or listens to voice messages in an instant messaging application through an earpiece. The above electronic device may include a display screen (also called a screen), a screen sound device (i.e., a device that can vibrate the screen to produce sound), an earpiece (i.e., the above-mentioned speaker for producing sound in voice communication, also called a receiver), and a sound outlet corresponding to the earpiece.
[0096] For example, Figure 2 FIG. 1 shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 2 As shown in (a) and (b), in addition to setting Figure 1 In addition to the earpiece 101, sound outlet 102, and sound outlet 103 shown, the electronic device is also provided with a screen sound-generating device 104 connected to the screen. For example, the screen sound-generating device 104 is a vibration source (also called an exciter) connected to the screen. The exciter causes the screen to vibrate, thereby producing sound through the screen. The screen sound-generating device 104 is disposed within the housing structure of the electronic device.
[0097] It should be noted that, in the embodiments of the present application, the voice output mode (also called listening mode) of the electronic device may include a privacy mode (PVM), a high volume mode, and a speaker mode. Among them, the privacy mode may also be called a private call mode.
[0098] In some embodiments, after the electronic device turns on the private call mode, the electronic device can use a combination of screen sound and earpiece sound to output voice. Among them, the voice output intensity corresponding to the screen sound mode (for example, 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound mode (for example, 30%). That is, the mobile phone can use the screen sound as the main sound and the earpiece sound as the auxiliary sound to play voice simultaneously. The private call mode can also use only the screen sound.
[0099] In some embodiments, when high-volume mode is enabled on an electronic device, the electronic device may output voice using a combination of an earpiece and a screen. The voice output intensity corresponding to the earpiece (e.g., 70%) is greater than the voice output intensity corresponding to the screen (e.g., 30%). The mobile phone may simultaneously play voice using the earpiece as the primary source and the screen as the secondary source.
[0100] In some embodiments, when switching from the privacy call mode to the large volume mode, the overall sound volume (or loudness or intensity) can also be increased on the basis of the sound volume corresponding to the privacy call mode, so as to improve the voice playing effect. That is, the overall sound loudness when playing sound through the earpiece and the screen in the large volume mode is greater than the overall sound loudness when playing sound through the earpiece and the screen in the privacy call mode.
[0101] Compared with the earpiece sound playing mode, the screen sound playing mode can effectively prevent voice leakage during voice communication. Therefore, when the user is in a quiet environment and makes or receives a call, the user usually hopes to reduce voice leakage. At this time, the privacy call mode can be used to ensure clear communication while reducing voice leakage, thereby protecting the user's privacy.
[0102] In some other embodiments, after the electronic device starts the privacy call mode, the electronic device can also output voice only through the screen sound playing mode. It can be understood that the earpiece does not play sound at this time.
[0103] In some other embodiments, after the electronic device starts the large volume mode, the electronic device can also output voice only through the earpiece sound playing mode. It can be understood that the screen does not play sound at this time.
[0104] In some embodiments, after the electronic device starts the loudspeaker mode, the electronic device outputs voice through the loudspeaker (also referred to as a speaker). It can be understood that the earpiece and the screen do not play sound at this time.
[0105] Optionally, in response to the user's operation on the electronic device, the voice output mode can be controlled to switch between the privacy call mode, the large volume mode, and the loudspeaker mode. The specific conditions for triggering the switching and the switching process will be described in detail below.
[0106] The following describes an electronic device to which the audio processing method provided in the embodiments of the present application is applied, with reference to the accompanying drawings.
[0107] For example, the electronic device in the embodiments of the present application can be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch or a smart bracelet), or any other device with a voice communication function. The embodiments of the present application do not specially limit the specific form of the electronic device.
[0108] For example, taking the electronic device as a mobile phone, Figure 3 FIG. 2 shows a structural schematic diagram of another electronic device provided in the embodiments of the present application. That is, for example, Figure 3The electronic device shown may be a mobile phone.
[0109] like Figure 3 As shown, the mobile phone may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver (i.e., an earpiece) 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, a subscriber identification module (SIM) card interface 395, a screen sound device 396, etc.
[0110] Among them, the above-mentioned sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor and a bone conduction sensor. In an embodiment of the present application, the electronic device can detect whether the user's ear is close to the receiver through a proximity light sensor (i.e., a light sensor), a distance sensor and other sensors. For example, the electronic device can use a distance sensor to detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone, as well as the distance between the obstruction and the screen, to determine whether the current user's ear is close to the receiver.
[0111] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown, or some components may be combined or separated, or arranged differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.
[0112] The processor 310 can include one or more processing units, for example: the processor 310 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0113] The controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of instruction fetching and instruction execution.
[0114] The memory can also be provided in the processor 310, for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory can save instructions or data that have just been used or are frequently used by the processor 310. If the processor 310 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 310, thereby improving the efficiency of the system.
[0115] In some embodiments, the processor 310 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0116] It can be understood that the interface connection relationship between the modules shown in the embodiments is only illustrative and does not constitute a structural limitation of the mobile phone. In other embodiments, the mobile phone can also use different interface connection modes or combinations of multiple interface connection modes in the above embodiments.
[0117] In the embodiments of the present application, the electronic device can determine the category of the current listening environment through the processor 310, and then adjust the frequency band of the earpiece sound and the frequency band of the screen sound according to the category, so as to control the earpiece and the screen to sound to respectively play the sound in the corresponding frequency band in the sound signal, thereby avoiding the electronic device from missing sound when a person listens to sound in a quiet environment.
[0118] The charging management module 340 is configured to receive charging input from a charger (such as a wireless charger or a wired charger) to charge the battery 342. The power management module 341 is configured to connect the battery 342, the charging management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and / or the charging management module 340 to supply power to various devices of the electronic device.
[0119] The wireless communication function of the mobile phone can be realized through the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor and the baseband processor.
[0120] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
[0121] In some embodiments, the antenna 1 of the mobile phone is coupled with the mobile communication module 350, and the antenna 2 is coupled with the wireless communication module 360, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The above-mentioned mobile communication module 350 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the mobile phone. The mobile communication module 350 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA) and the like. The mobile communication module 350 can receive electromagnetic waves from the antenna 1 and perform filtering, amplification and other processing on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation.
[0122] The mobile communication module 350 can also amplify the signal modulated by the modem processor and convert the signal into electromagnetic wave radiation through the antenna 1. In some embodiments, at least part of the functions of the mobile communication module 350 can be arranged in the processor 310. In some embodiments, at least part of the functions of the mobile communication module 350 can be arranged in the same device as at least part of the modules of the processor 310.
[0123] The wireless communication module 360 can provide wireless communication solutions applied to the mobile phone, 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 the like.
[0124] The wireless communication module 360 can be one or more devices that integrate at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 310. The wireless communication module 360 can also receive signals to be sent from the processor 310, perform frequency modulation, amplify, and convert the signals into electromagnetic wave radiation through the antenna 2.
[0125] Of course, the wireless communication module 360 described above can also support voice communication of the mobile phone. For example, the mobile phone can access a Wi-Fi network through the wireless communication module 360, and then use any application that can provide voice communication services to interact with other devices to provide voice communication services for users. For example, the application that can provide voice communication services described above can be an instant messaging application.
[0126] The mobile phone can realize display functions through the GPU, the display screen 394, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 can include one or more GPUs that execute program instructions to generate or change display information. The display screen 394 is used to display images, videos, and the like.
[0127] The camera 393 can be used for taking pictures and videos. In some embodiments, the camera 393 can be implemented by the ISP, the video codec, the GPU, the display 394, and the application processor.
[0128] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The internal memory 321 can be used to store computer executable program codes, which include instructions. The processor 310 performs various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 321. For example, in the embodiments of the present application, the processor 310 can perform the instructions stored in the internal memory 321 to include a program storage area and a data storage area.
[0129] The audio module 370, the speaker 370A, the receiver (i.e., earpiece) 370B, the microphone 370C, the earphone interface 370D, and the application processor can be used to implement audio functions, such as music playing, recording, and the like.
[0130] The audio module 370 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio input into digital audio signals. The audio module 370 can also be used to encode and decode audio signals. In some embodiments, the audio module 370 can be disposed in the processor 310, or some functional modules of the audio module 370 can be disposed in the processor 310. The speaker 370A, also known as a “loudspeaker”, is used to convert audio electrical signals into sound signals. The receiver 370B, also known as an “earpiece”, is used to convert audio electrical signals into sound signals. The microphone 370C, also known as a “microphone”, “transducer”, is used to convert sound signals into electrical signals. The earphone interface 370D is used to connect a wired earphone. The earphone interface 370D can be a USB interface 330, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0131] The receiver 370B (i.e., “earpiece”) can be the earpiece 101 shown in FIG. 1. Figure 1 The earpiece 101 shown in FIG. 1.
[0132] Exemplarily, in the embodiments of the present application, the audio module 370 can convert the audio electrical signals received by the mobile communication module 350 and the wireless communication module 360 into sound signals. The sound signals are played by the receiver 370B (i.e., "earpiece") of the audio module 370, while the screen (i.e., display screen) is driven by the screen-sound device 396 to perform screen sounding to play the sound signals.
[0133] Exemplarily, in the embodiments of the present application, the electronic device can detect the sound intensity of the ambient sound of the current environment through the microphone 370C. Thus, the processor 310 can determine the category of the current listening environment according to the detected sound intensity of the ambient sound.
[0134] The keys 390 include a power key, a volume key, and the like. The motor 391 can generate a vibration prompt. The indicator 392 can be an indicator light, which can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 395 is used to connect a SIM card. The mobile phone can support one or N SIM card interfaces, and N is a positive integer greater than 1.
[0135] Of course, it can be understood that the above Figure 3 The above description is only an exemplary description of the device form of the electronic device as a mobile phone. If the electronic device is a tablet computer, a handheld computer, a PDA, a wearable device (such as a smart watch, a smart bracelet), or other device forms, the structure of the electronic device can include fewer structures than those shown in the above Figure 3 , or can include more structures than those shown in the above Figure 3 , which is not limited herein.
[0136] In the embodiments of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer can include a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as main memory), and the like. The operating system of the operating system layer can be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system, and the like. The application layer can include a browser, an address book, a word processing software, an instant messaging software, and the like.
[0137] The embodiments of the present application will be illustrated below by way of example in conjunction with the accompanying drawings. The methods in the following embodiments can be implemented in an electronic device with the hardware structure described above. For ease of illustration, the electronic device in the embodiments of the present application is taken as a mobile phone as shown in the drawings. Figure 1
[0138] The embodiments of the present application provide an audio processing method. When receiving a user operation of reducing or increasing the volume, if it is determined that the adjusted volume level is less than or equal to a preset volume level, a private call mode is enabled, for example, the screen and the earpiece can be used to emit sound at the same time, and the two sound emission modes can be controlled to emit sound at different volume intensities (for example, the intensity of the screen sound is greater than or equal to the intensity of the earpiece sound), so as to avoid sound leakage and protect the user's call privacy and improve the user's call experience. If it is determined that the adjusted volume level is greater than the preset volume level, a large volume mode is enabled, for example, the screen and the earpiece can be used to emit sound at the same time, and the two sound emission modes can be controlled to emit sound at different volume intensities (for example, the intensity of the earpiece sound is greater than the intensity of the screen sound), so as to ensure good sound output effect and improve the user's call experience.
[0139] The audio control method provided by the embodiments of the present application can be applied to a voice call scene. For example, the voice call scene can be an incoming call scene of receiving a phone call, or a call scene after receiving an incoming call, or a dialing call scene of making a phone call, or a call scene after a dialing call is answered, or any other possible voice call scene, which is not limited in the embodiments of the present application. For ease of illustration, the interfaces used in the above various voice call scenes are collectively referred to as a voice call interface.
[0140] In the embodiments of the present application, the electronic device has enabled a smart private call function by default. After the smart private call function is enabled, the private call mode can be directly enabled in the voice call scene, or can be enabled when the volume value of the electronic device is lower than a preset volume level in the voice call scene. The specific implementation can be determined according to actual use requirements, which is not limited in the embodiments of the present application.
[0141] As described above, the private call mode can use the screen sound emission mode and the earpiece sound emission mode to output voice. Alternatively, the private call mode can use only the screen sound emission mode to output voice. Compared with the earpiece sound emission mode, the screen sound emission mode can effectively prevent sound leakage during a voice call, so when the user is in a quiet environment to make or receive a call, the user usually hopes to reduce sound leakage. At this time, the private call mode can be used to ensure clear communication while reducing sound leakage, thereby protecting the user's privacy.
[0142] In some embodiments, when an electronic device receives a call, the private call mode corresponding to the smart private call feature may be enabled by default, and a prompt message indicating that the smart private call feature has been enabled may be displayed on the incoming call interface. Optionally, the prompt message may be text, an icon, or a combination of text and icon.
[0143] In some embodiments, after the smart privacy call function is turned on, an introduction to the smart privacy call function (for example, ensuring call clarity while reducing sound leakage and protecting privacy) can be displayed in a bubble box on the voice call interface each time the handset is used to make or receive a call; operation methods such as "Smart privacy call is turned on" and / or "Move closer to this area to hear more clearly" can also be displayed in a specific area (i.e., the sound area of the screen). These prompt messages introduce the smart privacy call function and guide users to use the smart privacy call function.
[0144] For example, taking the incoming call scenario as an example, Figure 4 A schematic diagram of the incoming call interface is shown, Figure 4 As shown in (a) of FIG, the following prompt information is displayed in the incoming call interface 40: "Smart private call is turned on" 41, "Ensure clear call while reducing sound leakage and protecting privacy" 42 (located in the bubble box), and an icon indicating private call 43 (displayed in the status bar). Figure 4 As shown in (b) of FIG, the following prompts are displayed on the incoming call interface 40: "Come closer to this area for clearer hearing" 44, "Ensure call clarity while reducing sound leakage and protecting privacy" 42, and an icon indicating a private call 43. These prompts are used to indicate that the private call mode is enabled. Among them, the "Smart private call is enabled" 41 and "Come closer to this area for clearer hearing" 44 can be displayed alternately (i.e., in a carousel) on the incoming call interface 40. This allows users to quickly learn about the smart private call function and learn how to use it, thereby improving the human-computer interaction experience.
[0145] It should be noted that the prompt information here is for illustrative purposes only. The specific content, display position, display quantity, display size, display style, etc. of the prompt information can be determined according to actual usage requirements and are not limited in the embodiments of this application.
[0146] Optionally, the above prompt information can be displayed in the voice call interface for the first N calls (for example, N is 3) after the Smart Privacy Call feature is enabled to guide the user to use the Smart Privacy Call feature, and can be removed from the voice call interface for subsequent calls. For example, the introduction to the Smart Privacy Call feature, such as "Ensures clear calls while reducing sound leakage and protecting privacy," can be removed from the voice call interface.
[0147] In some embodiments, when the user clicks anywhere in the voice call interface (including the answer button), the introduction and description information of the smart privacy call function is cancelled in the voice call interface. For example, the bubble box corresponding to "ensuring clear calls while reducing sound leakage and protecting privacy" disappears.
[0148] In some embodiments, the "Smart Private Calling is On" prompt can be a permanent reminder in the voice call interface. That is, when the user clicks anywhere in the voice call interface (including the answer button), the "Smart Private Calling is On" prompt message can remain displayed.
[0149] For example, take the call scenario after answering the call as an example. Figure 5 A schematic diagram showing the incoming call interface and the voice call interface after answering the call is shown in FIG. Figure 5 As shown in (a) in FIG, the user clicks the answer key 45 in 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 key 45, the incoming call interface 40 switches to the voice call interface 46. The voice call interface 46 displays the following prompt information: "Smart privacy call is turned on" 41 and the icon 43 indicating the privacy call. Figure 5 The bubble box corresponding to "ensuring call clarity while reducing sound leakage and protecting privacy" shown in (a) disappears.
[0150] In some embodiments, when the smart private call feature is turned on, when the user pulls down the menu bar, a notification card indicating that a voice call is in progress and a notification card indicating that the smart private call feature is turned on are displayed in the menu bar.
[0151] For example, Figure 6 A diagram showing a notification card for the smart private call function displayed in the menu bar is shown. Figure 6 As shown in (a) in FIG, the user slides his finger downward in the direction of the arrow on the voice call interface 46 to pull down the menu bar. Figure 6 As shown in (b), a menu bar (also called a notification interface) is displayed, in which notification card 47 and notification card 48 are displayed. 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 is turned on.
[0152] Through these notification cards, users can better understand the application scenarios and effects of the smart privacy call function, thereby improving the user experience.
[0153] In some embodiments, the audio processing method provided by the embodiments of the present application is also applicable to voice over Internet protocol (VoIP). Exemplarily, Figure 7 An interface schematic diagram of a call scene of a VoIP phone is shown as Figure 7 As shown, in the VoIP call interface 50, "smart private call has been started" 51 and an icon 52 identifying the private call are displayed, for prompting that the current call scene adopts the private call mode to realize voice output.
[0154] It should be noted that the above embodiments are exemplarily described by taking the incoming call scene and the call scene after the incoming call is answered as examples. It can be understood that, in actual implementation, the audio processing method provided by the embodiments of the present application is also applicable to the outgoing call scene and the call scene after the outgoing call is answered, and the detailed description of the smart private call function can be referred to the detailed description of the smart private call function in the above incoming call scene and the call scene after the incoming call is answered, which will not be described herein again.
[0155] It should be further noted that the audio processing method provided by the embodiments of the present application is also applicable to the scene of playing a voice message, for example, some social applications support receiving or sending voice messages, and the voice messages can also apply the above smart private call function when playing, to avoid voice leakage when the voice message is played.
[0156] It should be further noted that the audio processing method provided by the embodiments of the present application is also applicable to the scene of playing a recording, for example, the above smart private call function can also be applied when playing the recording, to avoid voice leakage when the recording is played.
[0157] It can be understood that the audio processing method provided by the embodiments of the present application can be applicable to various scenes in which the user needs to perform close-to-ear listening through the electronic device, and the embodiments of the present application do not limit this.
[0158] In the embodiments of the present application, after the smart private call function is started, in the voice call scene, the private call mode can be automatically started when the output volume level of the electronic device is lower than the preset volume level. That is, in the voice call scene, when the output volume level of the electronic device is lower than the preset volume level, the private call mode is automatically switched, and the voice is output by using the voice output mode corresponding to the private call mode (for example, the screen and the earpiece jointly sound, and the screen sound intensity is greater than the earpiece sound intensity), to avoid voice leakage during the voice call.
[0159] In some embodiments, in a voice call scenario, when the user continuously triggers the volume reduction operation multiple times, the device can automatically switch to the private call mode and output the voice in the corresponding voice output mode of the private call mode (for example, the screen and the earpiece jointly output the voice, and the screen output intensity is greater than the earpiece output intensity) to avoid voice leakage during the voice call.
[0160] In some embodiments, after the electronic device opens the private call mode, the electronic device can output the voice in combination with the screen sound and the earpiece sound. The voice output intensity corresponding to the screen sound (for example, 70%) is greater than or equal to the voice output intensity corresponding to the earpiece sound (for example, 30%). That is, the phone can simultaneously play the voice in the mode of screen sound as the main sound and earpiece sound as the auxiliary sound. The private call mode can also only use the screen sound.
[0161] In some embodiments, after the electronic device opens the large volume mode, the electronic device can output the voice in combination with the earpiece sound and the screen sound. The voice output intensity corresponding to the earpiece sound (for example, 70%) is greater than the voice output intensity corresponding to the screen sound (for example, 30%). The phone can simultaneously play the voice in the mode of earpiece sound as the main sound and screen sound as the auxiliary sound.
[0162] In some embodiments, when switching from the private call mode to the large volume mode, the overall sound volume (or intensity) can be increased on the basis of the sound volume corresponding to the private call mode to improve the voice playing effect. That is, the overall sound intensity in the large volume mode through the earpiece sound and the screen sound is greater than the overall sound intensity in the private call mode through the earpiece sound and the screen sound.
[0163] Compared with the earpiece sound mode, the screen sound mode can effectively prevent voice leakage during the voice call. Therefore, when the user is in a quiet environment and makes or receives a call, the user usually wants to reduce the voice leakage. At this time, the private call mode can be used to ensure clear communication while reducing voice leakage, thereby protecting the user's privacy.
[0164] The above describes possible ways to open the private call mode and the display effect of the voice call interface after opening. The following describes possible implementation manners of the private call mode in actual use, for example, how to realize the switching between the private call mode and the large volume mode, specific user operations that can trigger the mode switching, conditions that need to be met, and the change of the volume bar during the mode switching.
[0165] In the embodiments of the present application, the audio processing method provided by the present application can control the switching between the private call mode and the large volume mode according to the output volume level or range of the electronic device.
[0166] For the switching between the private call mode and the large volume mode, the electronic device can predefine the following rules:
[0167] When the output volume level of the electronic device is less than or equal to a preset volume level, or when the output volume level of the electronic device is within a preset first volume level range, the private call mode is automatically enabled;
[0168] When the output volume level of the electronic device is greater than the preset volume level, or when the output volume level of the electronic device is within a preset second volume level range, the private call mode is automatically exited and the large volume mode is entered. The volume values corresponding to each level in the second volume level range are greater than the volume values corresponding to each level in the first volume level range.
[0169] It should be noted that the output volume level of the electronic device can be the volume level when the call is received or made, or can be the volume level adjusted by the user.
[0170] That is, in the scenario where the user listens to the earphone in a close-to-ear manner through the electronic device, the audio processing method provided by the present application can automatically enable the private call mode when the output volume level of the electronic device is reduced to be less than or equal to the preset volume level, so as to avoid voice leakage during the call. When the output volume level of the electronic device is increased to be greater than the preset volume level, the private call mode is automatically exited and the large volume mode is entered, so as to ensure the large volume playback effect.
[0171] Exemplarily, when the user's operation of reducing the volume or increasing the volume is received, if it is judged that the adjusted volume level is less than or equal to the preset volume level, the private call mode is enabled, for example, the screen and the earpiece can be made to sound at the same time and the two sound modes are controlled to sound at different volume intensities (for example, the intensity of the screen sound is greater than the intensity of the earpiece sound), so as to avoid voice leakage and improve the user's call experience. If it is judged that the adjusted volume level is greater than the preset volume level, the large volume mode is enabled, for example, the screen and the earpiece can be made to sound at the same time and the two sound modes are controlled to sound at different volume intensities (for example, the intensity of the earpiece sound is greater than the intensity of the screen sound), so as to ensure good sound output effect and improve the user's call experience.
[0172] In some embodiments, the electronic device can divide different volumes into 10 levels, including levels 1 to 10, wherein the volume values corresponding to levels 1 to 10 increase gradually. The volume value or volume range corresponding to each level can be determined according to actual use requirements, which is not limited in the embodiments of the present application.
[0173] In some embodiments, the size of the volume value can be represented in the form of a volume bar. For example, different sizes of volume levels can be distinguished by different filling lengths in the volume bar, for example, the more filling in the volume bar, the greater the volume level, in which case the voice output volume is greater. When the volume bar is completely filled, it corresponds to level 10, indicating that the maximum volume is reached. When the volume bar is not filled, it indicates silence.
[0174] Specifically, according to the scheme of the present application, one of the 10 levels can be taken as the preset volume level according to the actual situation. For example, level 6 can be taken as the preset volume level; accordingly, the preset first volume level range can be [1, 6], and the preset second volume level range can be [7, 10].
[0175] For example, different call modes are enabled for different volume levels as described herein, as shown in (a) of FIG. 6, the volume bar corresponds to volume level 6 (here, level 6 is taken as an example, and any one of levels 1 to 5 can also be taken), and volume level 6 is within the [1, 6] volume level range, at which time the private call mode is enabled. Referring to (b) of FIG. 6, the volume bar corresponds to level 7 (here, level 7 is taken as an example, and any one of levels 8 to 10 can also be taken), and volume level 7 is within the [7, 10] volume range, at which time the loud volume mode is enabled. Figure 8 Figure 8 For example, different call modes are enabled for different volume levels as described herein, as shown in (a) of FIG. 6, the volume bar corresponds to volume level 6 (here, level 6 is taken as an example, and any one of levels 1 to 5 can also be taken), and volume level 6 is within the [1, 6] volume level range, at which time the private call mode is enabled. Referring to (b) of FIG. 6, the volume bar corresponds to level 7 (here, level 7 is taken as an example, and any one of levels 8 to 10 can also be taken), and volume level 7 is within the [7, 10] volume range, at which time the loud volume mode is enabled.
[0176] For example, the switching of different call modes is described herein, as shown in (a) of FIG. 7, when the user increases the volume, the filling amount of the volume bar will increase, for example, the volume bar changes from level 6 to level 7, and the private call mode is automatically exited and the loud volume mode is entered, that is, the private call mode is switched to the loud volume mode. When the user lowers the volume, the filling amount of the volume bar will decrease, for example, the volume bar changes from level 7 to level 6, and the loud volume mode is switched to the private call mode. Figure 8 For example, the switching of different call modes is described herein, as shown in (a) of FIG. 7, when the user increases the volume, the filling amount of the volume bar will increase, for example, the volume bar changes from level 6 to level 7, and the private call mode is automatically exited and the loud volume mode is entered, that is, the private call mode is switched to the loud volume mode. When the user lowers the volume, the filling amount of the volume bar will decrease, for example, the volume bar changes from level 7 to level 6, and the loud volume mode is switched to the private call mode.
[0177] It should be noted that the above examples of changing the volume bar from level 6 to level 7 and changing the volume bar from level 7 to level 6 are exemplary, and in actual implementation, any one of levels 1 to 6 changing to any one of levels 7 to 10 can trigger the switching from the private call mode to the loud volume mode, and any one of levels 7 to 10 changing to any one of levels 1 to 6 can trigger the switching from the loud volume mode to the private call mode.
[0178] It should be noted that the above examples of changing the volume bar from level 6 to level 7 and changing the volume bar from level 7 to level 6 are exemplary, and in actual implementation, any one of levels 1 to 6 changing to any one of levels 7 to 10 can trigger the switching from the private call mode to the loud volume mode, and any one of levels 7 to 10 changing to any one of levels 1 to 6 can trigger the switching from the loud volume mode to the private call mode.
[0179] Optionally, the embodiment of the present application does not limit the display form, display color, display length, etc. of the volume bar in the loud volume mode and the private call mode. In some embodiments, the volume bar in the loud volume mode and the volume bar in the private call mode can be as follows: Figure 8 In other embodiments, the volume bar in the loud volume mode and the volume bar in the private call mode can be as shown in (a). Figure 8 As shown in (b) of FIG, the volume bars of the two call modes are displayed in different colors. Figure 8 The volume bar shown in (a) is used as an example for illustration.
[0180] Optionally, in an embodiment of the present application, different icons may be used to represent private call mode and high volume mode, respectively, to distinguish between private call mode and high volume mode. Specifically, the display position, display size, and display format of the icon used to identify the call mode can be determined based on actual usage requirements and are not limited in the embodiment of the present application. Optionally, the icon used to identify the call mode can be displayed below or above the volume bar.
[0181] In some embodiments, when the call mode is switched, the fill amount of the volume bar changes and the call mode icon also changes accordingly to prompt the user that the call mode has been switched, thereby improving the user experience.
[0182] In some embodiments, when the call mode is switched, the electronic device can vibrate to remind the user, thereby improving the user experience.
[0183] In some embodiments, the user can press the physical volume button of the electronic device to increase or decrease the volume. In other embodiments, the user can slide on the volume bar displayed on the screen to increase or decrease the volume.
[0184] The process of switching the call mode is described below with reference to the accompanying drawings.
[0185] For example, Figure 9 Shows a schematic diagram of an interface for switching call modes. Figure 9 As shown in (a) in the figure, the private call mode is enabled in the current voice call. The user can press the volume button to adjust the volume. Figure 9 As shown in (b) of FIG, after the user presses the volume button, a volume bar 61 and an icon 62 for identifying the private call mode are displayed in the voice call interface. The volume button includes a volume increase button (volume + button) and a volume decrease button (volume - button). The user can press the volume + button to increase the volume, or press the volume - button to decrease the volume. Figure 9(c) and (d) of FIG. 6B, when the user presses the volume + key to increase the volume, the volume bar increases in the direction of the arrow, and when the adjusted volume level exceeds the preset volume level (level 6), the smart privacy call mode is switched to the loud volume mode. As shown in Figure 9 (d) of FIG. 6B, in the loud volume mode, the icon 62 used to identify the smart privacy call mode is updated to display the icon 63 used to identify the loud volume mode; in addition, the prompt information related to the smart privacy call mode, such as "the smart privacy call is enabled", is no longer displayed, and the icon used to identify the smart privacy call mode in the status bar is also hidden.
[0186] Further exemplarily, Figure 10 Another interface diagram for switching the call mode is shown. As shown in Figure 10 (a) of FIG. 6C, the volume bar 61 and the icon 63 used to identify the loud volume mode are displayed in the voice call interface, so it can be known that the current voice call is in the loud volume mode. The user can adjust the volume by sliding the finger along the volume bar 61 in a specific direction, for example, sliding the finger in a direction can increase the volume, and sliding the finger in the opposite direction can decrease the volume. As shown in Figure 10 (b) of FIG. 6C, the user slides the finger along the volume bar 61 in the direction of the arrow to decrease the volume. As shown in Figure 10 (c) of FIG. 6C, when the user operates the volume bar 61 to decrease the volume, the volume bar decreases in the direction of the arrow, and when the adjusted volume level is less than or equal to the preset volume level (level 6), the loud volume mode is switched to the smart privacy call mode. As shown in Figure 10 (c) of FIG. 6C, in the smart privacy call mode, the icon 63 used to identify the loud volume mode is updated to display the icon 62 used to identify the smart privacy call mode; in addition, "the smart privacy call is enabled" is displayed, and the icon used to identify the smart privacy call mode in the status bar is also displayed to prompt the user that the smart privacy call mode is currently enabled.
[0187] Optionally, as shown in Figure 10 (c) and (d) of FIG. 6C, after a preset time length (for example, 5 seconds), the volume bar and the icon used to identify the call mode are hidden. The user can press the physical volume key to call out the volume bar and the icon used to identify the call mode again.
[0188] In the embodiments of the present application, Figure 11 A diagram for dividing the volume levels and mapping the volume levels to the volume values is shown. As shown in Figure 11As shown, the volume level is divided into levels 1 to 10, where when the volume level is in the range of levels 1 to 6, the private call mode is enabled; when the volume level is in the range of levels 7 to 10, the 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, 25dB. It can be understood that the mapping relationship between each volume level and the volume value here is an exemplary illustration. It can be understood that in actual implementation, the volume value corresponding to each volume level can be set according to actual usage requirements, and the embodiments of the present application are not limited thereto.
[0189] It should be noted that, in the above embodiment, the private call mode and the high volume mode use the same volume level classification rule. In some embodiments, the private call mode and the high volume mode may also use different volume level classification rules. Figure 12 The volume level classification rules of the two call modes and the volume level mapping relationship between the two call modes are exemplarily described.
[0190] like Figure 12 As shown, the private call mode can also correspond to 10 volume levels, and the volume values corresponding to these 10 volume levels are 1.5dB to 15dB, for example, volume level 1 corresponds to 1.5dB, and volume level 10 corresponds to 15dB. The loud volume mode corresponds to 10 volume levels, and the volume values corresponding to these 10 volume levels are 2.5dB to 25dB, for example, volume level 1 corresponds to 2.5dB, and volume level 10 corresponds to 25dB. The volume value range covered by the 10 volume levels of the private call mode is the same as the volume value range covered by volume level 1 to volume level 6 of the loud volume mode. It can be understood that the 10 volume levels of the private call mode are a finer level division of the volume level 1 to volume level 6 of the loud volume mode.
[0191] Figure 12 The mapping relationship of the volume level when switching from private call mode to high volume mode is also shown, as shown in FIG. Figure 12 As shown, the volume level 10 in the private call mode corresponds to a volume value of 15, and the volume level 6 in the high volume mode corresponds to a volume value of 15. That is to say, the volume level 10 in the private call mode is equivalent to the volume level 6 in the high volume mode.
[0192] The volume level 9 (13.5dB) of the privacy call mode is approximately equal to the volume level 6 (15dB) of the large volume mode, the volume level 8 (12dB) of the privacy call mode is approximately equal to the volume level 5 (12.5dB) of the large volume mode, the volume level 6 (9dB) and the volume level 7 (10.5dB) of the privacy call mode are approximately equal to the volume level 4 (10dB) of the large volume mode, the volume level 4 (6dB) of the privacy call mode is approximately equal to the volume level 3 (7.5dB) of the large volume mode, the volume level 5 (7.5dB) of the privacy call mode is equal to the volume level 3 (7.5dB) of the large volume mode, the volume level 2 (3dB) and the volume level 3 (4.5dB) of the privacy call mode are approximately equal to the volume level 2 (5dB) of the large volume mode, and the volume level 1 (1.5dB) of the privacy call mode is approximately equal to the volume level 1 (2.5dB) of the large volume mode.
[0193] It should be noted that, Figure 12 The mapping relationship shown is exemplary, and can be determined according to actual use requirements, and the embodiments of the application are not limited.
[0194] In combination with Figure 11 and Figure 12 The volume level division rule shown, in the process of switching between the privacy call mode and the large volume mode, the change form of the volume bar can have various possible implementation manners, and the embodiments of the application exemplarily give the following three implementation manners:
[0195] Manner one, in combination with reference Figure 11 and Figure 13 The length of the volume bar of the two modes is the same and the volume value range represented by the volume bar is the same. The maximum level of the volume bar of the two modes is volume level 10, and volume level 10 corresponds to 25dB.
[0196] As shown in (a) of Figure 13 , the current volume bar represents volume level 6 (15dB), at this time, the privacy call mode is used. When the user increases the volume, the shadow filling amount of the volume bar increases, for example, the volume level is increased to volume level 7 (17.5dB), at this time, mode switching occurs, that is, the privacy call mode is exited and the large volume mode is entered. Further, when the user continues to increase the volume, the shadow filling amount of the volume bar increases, for example, the volume level is increased to volume level 8 (20dB), at this time, the large volume mode is still used.
[0197] As shown in (b) of Figure 13As shown in (a) of FIG. 6, the current volume bar represents volume level 8 (12 dB), which is in the privacy call mode. When the user adjusts the volume up, the volume bar becomes full and the volume level increases to volume level 10 (15 dB). When the user continues to adjust the volume up, the volume bar becomes longer and the volume level changes to volume level 8 (20 dB), which is in the loud volume mode. Further, when the user continues to adjust the volume up, the length of the volume bar changes and the volume level increases to volume level 9 (22.5 dB), which is still in the loud volume mode.
[0198] Mode Two, refer to Figure 12 and Figure 14 The length of the volume bar and the range of the volume value represented by the volume bar are different in the two modes. Unlike Mode One, in Mode Two, the length of the volume bar in the privacy call mode is shorter than that in the loud volume mode. The maximum level of the volume bar in the privacy call mode is volume level 10, which corresponds to 15 dB; the maximum level of the volume bar in the loud volume mode is volume level 10, which corresponds to 25 dB.
[0199] As shown in (a) of FIG. 6, the current volume bar represents volume level 8 (12 dB), which is in the privacy call mode. When the user adjusts the volume up, the volume bar becomes full and the volume level increases to volume level 10 (15 dB). When the user continues to adjust the volume up, the volume bar becomes longer and the volume level changes to volume level 8 (20 dB), which is in the loud volume mode. Further, when the user continues to adjust the volume up, the length of the volume bar changes and the volume level increases to volume level 9 (22.5 dB), which is still in the loud volume mode. Figure 14 As shown in (b) of FIG. 6, the current volume bar represents volume level 7 (17.5 dB), which is in the loud volume mode. When the user adjusts the volume down, the volume bar becomes shorter and the volume level decreases to volume level 10 (15 dB), which is in the privacy call mode. Further, when the user continues to adjust the volume down, the length of the volume bar does not change and the volume level decreases to volume level 7 (10.5 dB), which is still in the privacy call mode.
[0200] Figure 14 As shown in (a) of FIG. 6, the current volume bar represents volume level 8 (12 dB), which is in the privacy call mode. When the user adjusts the volume up, the volume bar becomes full and the volume level increases to volume level 10 (15 dB). When the user continues to adjust the volume up, the volume bar becomes longer and the volume level changes to volume level 8 (20 dB), which is in the loud volume mode. Further, when the user continues to adjust the volume up, the length of the volume bar changes and the volume level increases to volume level 9 (22.5 dB), which is still in the loud volume mode.
[0201] It can be seen that, in Mode Two, the volume bar can be adjusted to the maximum level, i.e., volume level 10, in the privacy call mode, at which the volume bar is full.
[0202] Mode Three, refer to Figure 12 and Figure 15 , the volume bar of the two modes has the same length but the volume value range represented by the volume bar is different. Different from the above-mentioned mode one, in the mode three, the maximum level of the volume bar of the private call mode is volume 10 level, and the volume 10 level corresponds to 15 dB; the maximum level of the volume bar of the loud volume mode is volume 10 level, and the volume 10 level corresponds to 25 dB. In order to facilitate the distinction, different colors or patterns can be used to represent the shadow of the volume bar of the two modes in the mode three.
[0203] As shown in (a) of FIG. 13, Figure 15 The current volume bar represents volume 8 level (12 dB), and at this time, the private call mode is enabled. When the user increases the volume, the shadow filling amount of the volume bar changes to the full state, and the volume level increases to volume 10 level (15 dB), and at this time, the private call mode is still enabled. Further, when the user continues to increase the volume, the shadow filling amount of the volume bar decreases and the shadow color changes, for example, the corresponding volume level is volume 7 level (17.5 dB), at this time, the mode switching occurs, that is, the private call mode is exited, and the loud volume mode is entered. Further, when the user continues to increase the volume, the shadow filling amount of the volume bar increases, for example, the volume level increases to volume 8 level (20 dB), and at this time, the loud volume mode is still enabled.
[0204] As shown in (b) of FIG. 13, Figure 15 The current volume bar represents volume 7 level (17.5 dB), and at this time, the loud volume mode is enabled. When the user decreases the volume, the shadow filling amount of the volume bar changes to the full state and the shadow color changes, and the corresponding volume level is volume 10 level (15 dB), at this time, the mode switching occurs, that is, the private call mode is enabled, and the loud volume mode is exited. Further, when the user continues to decrease the volume, the shadow filling amount of the volume bar decreases, for example, the volume level decreases to volume 7 level (10.5 dB), and at this time, the private call mode is still enabled.
[0205] The above describes in detail the switching process between the private call mode and the loud volume mode, and the following further describes possible implementation manners of switching between the private call mode and the speaker mode.
[0206] In some embodiments, through the audio processing method provided in the present application, when the electronic device is in the private call mode, the electronic device can be switched to the speaker mode to output voice through the speaker when the electronic device receives the user's click on the speaker icon, at this time, neither the screen nor the earpiece emits sound. Alternatively, further, when the electronic device receives the user's click on the speaker icon, the electronic device can exit the speaker mode and re-enter the private call mode.
[0207] Exemplarily, Figure 16A schematic diagram of the voice call interface after answering the incoming call is shown. In the voice call interface, the following prompt information is displayed: "Smart privacy call is started" 71 and an icon 72 indicating the privacy call. As shown in (a) of FIG. 7B, the user clicks the speaker key 73 in the voice call interface to trigger the voice to be played through the speaker. As shown in (b) of FIG. 7B, in response to the user's operation on the speaker key 73, the phone starts the hands-free function, at this time the voice is played through the speaker, and neither the screen nor the earpiece makes a sound, and the voice call interface can display the prompt information "Smart privacy call is exited" 74. Accordingly, "Smart privacy call is started" 71 and the icon 72 indicating the privacy call are cancelled. The prompt information "Smart privacy call is exited" 74 will be hidden after being displayed for a preset time (for example, 5 seconds). Figure 16 Figure 16
[0208] Further optionally, as shown in (c) of FIG. 7B, the user can click the speaker key 73 in the voice call interface again to trigger the speaker to be turned off. As shown in (d) of FIG. 7B, in response to the user's operation on the speaker key 73, the phone switches from the speaker mode to the privacy call mode. In this way, the switching between the privacy call mode and the large volume mode is realized. Figure 16 Figure 16
[0209] Further exemplarily, Figure 17 A schematic diagram of the interface for triggering the switching from the privacy call mode to the speaker mode by operating on the notification card of the smart privacy call function is shown. As shown in (a) of FIG. 8B, the user slides the finger downward along the arrow direction on the voice call interface to pull down the menu bar. As shown in (b) of FIG. 8B, the menu bar (also referred to as the notification interface) is displayed, and the notification card 75 indicating that the voice call is in progress is displayed in the menu bar. The user can click the hands-free icon 76 in the notification card 75 to trigger the hands-free function to be started. As shown in (c) of FIG. 8B, after the user clicks the hands-free icon 76, the menu bar interface returns to the voice call interface, and the prompt information "Smart privacy call is exited" 74 can be displayed in the voice call interface. Accordingly, "Smart privacy call is started" 71 and the icon 72 indicating the privacy call are cancelled. In this way, the switching between the privacy call mode and the large volume mode is realized. Figure 17 Figure 17 Figure 17
[0210] In some embodiments, the electronic device provides a setting interface of the smart privacy call function, and the user can trigger the smart privacy call function to be started or stopped in the setting interface according to the actual use demand.
[0211] Exemplarily, Figure 18 A schematic diagram showing how to enter the setting interface of the smart private call function through the notification card of the smart private call function is shown in FIG. Figure 18 As shown in (a) in the figure, the user slides his finger downward in the direction of the arrow on the voice call interface to pull down the menu bar. Figure 18 As shown in (b) of FIG, a menu bar (also called a notification interface) is displayed, in which a notification card 77 is displayed. The notification card 77 is used to indicate that the smart private call function has been turned on. The user can click on the notification card 77 to set the smart private call function. Figure 18 As shown in (c) of FIG. 1 , after the user clicks notification card 75, the menu bar interface jumps to the smart private call function settings interface 78. This settings interface 78 includes a smart private call function switch control 79, which currently indicates that the smart private call function is on. The user can operate switch control 79 (e.g., slide it in the direction of the arrow in the figure) to trigger the smart private call function to be turned off.
[0212] Furthermore, if Figure 18 As shown in (d) of FIG, after the user operates the switch control 79, the private call mode is exited and the user switches from the smart private call setting interface 78 to the voice call interface. The voice call interface may display a prompt message "Smart private call exited" 74. Correspondingly, the "Smart private call is on" 71 and the private call icon 72 are no longer displayed.
[0213] It should be noted that the above embodiments are described using the voice call scenario as an example. It can be understood that the solutions provided in the above embodiments for switching between the privacy call mode and the speaker mode, as well as the function settings of the privacy call mode, can also be applied to the voice call scenario of VoIP.
[0214] For example, taking the switch between private call mode and speaker mode as an example, Figure 19 FIG. 1 shows a schematic diagram of a VoIP voice call interface, in which the following prompt information is displayed: “Smart privacy call is turned on” 81 and an icon 82 indicating a privacy call. Figure 19 As shown in (a) in FIG, the user clicks the speaker button 83 in the voice call interface to trigger the voice to be played through the speaker. Figure 19 As shown in (b), in response to the user's operation of the speaker button 83, the mobile phone turns on the hands-free function. At this time, the voice is played through the speaker, and the screen and the earpiece are silent. In addition, the prompt message "Smart privacy call has been exited" 84 can be displayed in the voice call interface, and accordingly "Smart privacy call is turned on" 81 and the icon 82 indicating the private call will be cancelled.
[0215] Thus, when the user listens to the earphone mode through the electronic device, the electronic device can determine whether to enable the privacy call mode or the large volume mode according to different volume levels, and can select to sound through the earpiece and / or the screen. For example, when the volume level set by default by the electronic device or the volume level adjusted by the user is less than or equal to the preset volume level, the privacy call mode is enabled, and in the privacy call mode, the voice can be played through the earpiece and the screen at different sound intensities, for example, the sound intensity of the screen is greater than that of the earpiece. When the volume level set by default by the electronic device or the volume level adjusted by the user is greater than the preset volume level, the large volume mode is enabled, and in the large volume mode, the voice can also be played through the earpiece and the screen at different sound intensities, for example, the sound intensity of the earpiece is greater than that of the screen. The earpiece sound and the screen sound are used complementarily to avoid sound leakage in a quiet environment and have good sound quality when the electronic device plays voice. Thus, the privacy of the user can be well protected, and the electronic device has better privacy when the user listens to the earphone mode.
[0216] As described above, when the user listens to the earphone mode through the mobile phone, or the user selects the earpiece mode (i.e., the mode in which the mobile phone plays sound through the earpiece), the mobile phone can determine whether the current volume level is less than or equal to the preset volume level, and determine whether to enable the privacy call mode or the large volume mode according to the determination result. The possible implementation of how to detect the action of the user listening to the earphone mode through the mobile phone is described below.
[0217] Among them, the user listens to the earphone mode through the mobile phone (i.e., the earphone mode state of the mobile phone), which can be that the user's ear is close to the earpiece, and listens to the audio data (such as recording data, song data, etc.) stored in the mobile phone through the earpiece of the mobile phone. It can also be that the user's ear is close to the earpiece for voice communication (the voice communication can be voice communication between the mobile phone and other electronic devices through the telephone function of the mobile phone, or voice communication between the mobile phone and other electronic devices through the instant messaging application installed in the mobile phone), and listens to the sound data transmitted by the user's mobile phone on the other side through the earpiece of the mobile phone. It can also be that the user's ear is close to the earpiece, and listens to the voice message in the instant messaging application through the earpiece of the mobile phone. For example, the mobile phone receives a voice message from another mobile phone through the instant messaging application. The mobile phone can display a chat interface of the instant messaging application, which includes the voice message from the other mobile phone. In response to the user's click operation on the voice message, the mobile phone can play the voice message (i.e., the sound signal) from the other mobile phone through the earpiece.
[0218] For example, the mobile phone can detect whether the user's ear is close to the earpiece through a light sensor, a distance sensor, or the like. For example, the mobile phone can detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone through a distance sensor, and if there is an obstruction at a close distance in front of the front panel, it can be determined that the user's ear is currently close to the earpiece. For another example, when the light sensor of the mobile phone detects that the light intensity instantaneously decreases and changes greatly, it can be determined that the user's ear is currently close to the earpiece. Of course, in other embodiments of the present application, the mobile phone can also detect whether the user's ear is close to the earpiece through other manners or algorithms, and reference can be made to the related introduction in the conventional technology, which is not limited here.
[0219] In some embodiments, when the user uses the mobile phone for ear-close listening, the mobile phone can also display various listening modes that can be selected by the user, so that the user can manually select the listening mode according to the actual use requirement, and trigger the mobile phone to execute the corresponding sound playing strategy of the earpiece and the screen sound emission. Among them, the listening mode can include a privacy mode and a large volume mode.
[0220] For example, as shown in (a) of FIG. 1, the mobile phone can display the control of the “privacy call mode” and the “large volume mode” and the like in the voice call interface of the mobile phone, which can be selected by the user as the listening mode. For example, as shown in (a) of FIG. 1, when the current listening mode is the privacy call mode, the control “privacy call mode” displayed in the voice call interface of the mobile phone has a highlighted effect. As shown in (a) and (b) of FIG. 1, in response to the user's operation of clicking the “large volume mode”, the mobile phone can switch the listening mode from the “privacy call mode” to the “large volume mode”. Of course, the user can also switch the listening mode from the “large volume mode” to the “privacy call mode” by clicking the “privacy call mode”. Subsequently, the mobile phone can play the sound according to the sound playing strategy (for example, through the earpiece and the screen sound emission) corresponding to the listening mode selected by the user. Figure 20 Figure 20 Figure 20
[0221] It should be noted that in the above examples, after the mobile phone receives the operation of selecting the listening mode input by the user, the corresponding sound playing strategy can be directly adopted to play the sound. Each listening mode adopts the corresponding sound playing strategy.
[0222] Among them, the privacy call mode can adopt the sound playing strategy of the earpiece and the screen sound emission together, and the screen sound emission intensity can be greater than or equal to the earpiece sound emission intensity. That is, the mobile phone can adopt the screen sound emission as the main mode and the earpiece sound emission as the auxiliary mode to play the voice simultaneously. The privacy call mode can also only adopt the screen sound emission.
[0223] In the loud volume mode, the loud volume mode can adopt a sound playing strategy of the earpiece and the screen sounding together, and the sound intensity of the earpiece can be greater than the sound intensity of the screen. That is, the mobile phone can adopt a mode of playing the voice mainly by the earpiece and secondarily by the screen. The loud volume mode can also adopt only the earpiece sounding.
[0224] In the various scenarios of the user's close-to-ear listening according to the above examples, the voice played by the earpiece and the screen sounding can be any audio data stored in the mobile phone, for example, the voice is the recording data or the song data stored in the mobile phone, and the like. It can also be the voice data transmitted by the user's mobile phone on the opposite side received by the mobile phone when the mobile phone is in voice communication. It can also be the voice message in the instant messaging application installed in the mobile phone, and the like.
[0225] Optionally, in the embodiments of the present application, under the quiet environment, the mobile phone can also adjust the volume (or the loudness) of the earpiece sounding and the screen sounding according to the distance between the human ear and the mobile phone (or the earpiece). At the same time, the frequency band of the earpiece sounding output and the frequency band of the screen sounding output can also be adjusted.
[0226] For example, when the human ear is far away from the mobile phone, the mobile phone can increase the volume of the earpiece sounding and the screen sounding. At the same time, the mobile phone can also reduce the sounding of the relatively high frequency part in the frequency band of the earpiece sounding output, that is, reduce the demarcation frequency between the frequency band of the screen sounding output and the frequency band of the earpiece sounding output, so that the earpiece sounding output is in a lower frequency band. Since the energy of the screen sounding is mostly directed to the human ear, and part of the energy of the earpiece sounding is released from the sound hole on the top of the mobile phone frame, the earpiece sounding is more likely to leak sound after the volume is increased compared with the screen sounding, so further adjusting the frequency band of the earpiece sounding output can avoid other users hearing the sound output by the earpiece sounding after the volume is increased.
[0227] In some embodiments, the sound intensity of the screen sounding can also be set according to the sensitivity of the screen sounding. That is, according to the different sensitivity of the screen sounding, the sound intensity of the screen sounding set can also be different.
[0228] For example, in the embodiments of the present application, the screen sounding can be realized by the screen sounding device (for example, as shown in FIG. 1, the screen sounding device 100 is arranged on the screen 110 of the mobile phone 1000), and the screen sounding device can be arranged on the screen of the mobile phone. Figure 2The screen sounding device shown in the screen sounding device) implementation, according to different screen sounding scheme, screen sounding device also varies. For example, the screen sounding device can be a vibration source (usually piezoelectric ceramic, but also can be a motor vibrator, exciter or other vibration unit) connected to the back of the screen, and the piezoelectric ceramic can be controlled by the current signal to vibrate to drive the screen vibration, thereby realizing the screen sounding. For another example, the screen sounding device can also be a piezoelectric ceramic fixed on the middle frame of the mobile phone through a cantilever beam structure, which can be controlled by the current signal to vibrate, and the vibration can be transmitted to the screen through the middle frame of the mobile phone to drive the screen vibration, thereby realizing the screen sounding. For another example, the screen sounding device can also be an exciter fixed on the middle frame of the mobile phone, which can be controlled by the current signal to vibrate, and the vibration can be transmitted to the screen through the middle frame of the mobile phone to drive the screen vibration, thereby realizing the screen sounding. For another example, the screen sounding device can also be a split type magnetic levitation vibrator. One of the vibrators is fixed on the middle frame of the mobile phone, and the other is fixed on the screen. The vibrator fixed on the screen can be controlled by the current signal to vibrate relative to the vibrator fixed on the middle frame of the mobile phone, thereby pushing the screen to vibrate to realize the screen sounding. Due to the type, position, weight of the middle frame of the mobile phone, internal structure layout and other factors of the screen sounding device, the screen sounding sensitivity of different screen sounding schemes varies. The screen sounding device with high sensitivity can be set to have relatively small screen sounding sound intensity and pushing power, and the screen sounding device with low sensitivity can be set to have relatively large screen sounding sound intensity and pushing power.
[0229] Optionally, in the embodiments of the present application, the electronic device (such as a mobile phone) can automatically start the function realized by the above method, or can be set to manually start the function realized by the above method.
[0230] It should also be noted that in the embodiments of the present application, "greater than" can be replaced by "greater than or equal to", "less than or equal to" can be replaced by "less than", or "greater than or equal to" can be replaced by "greater than", and "less than" can be replaced by "less than or equal to".
[0231] Each of the embodiments described herein can be an independent scheme, or can be combined according to the inherent logic. These schemes all fall within the protection scope of the present application.
[0232] It can be understood that the methods and operations realized by the electronic device in each of the above method embodiments can also be realized by components (such as chips or circuits) that can be used in the electronic device.
[0233] The above describes the method embodiments provided by the present application, and the following describes the device embodiments provided by the present application. It should be understood that the description of the device embodiments corresponds to the description of the method embodiments, and therefore, the content not described in detail can be referred to the above method embodiments, and for brevity, will not be described here.
[0234] The above mainly describes the scheme provided by the embodiments of the present application from the perspective of method steps. It can be understood that, in order to implement the above functions, the electronic device implementing the method comprises the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in the form of hardware or computer software driving hardware depends on the specific application of the technical solution and design constraints. 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 the present application.
[0235] The embodiments of the present application can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The above integrated module can be implemented in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. When actually implemented, there can be other feasible division manners. The following takes the division of each functional module according to each function as an example for description.
[0236] Figure 21 A schematic block diagram of an audio processing apparatus 800 provided by the embodiments of the present application is shown. The apparatus 800 can be used to perform the actions performed by the electronic device in the above method embodiments. The apparatus 800 comprises a detection unit 810, a processing unit 820 and a display unit 830.
[0237] The detection unit 810 is configured to receive a first operation of a user, the first operation being used to trigger dialing a phone or answering a phone;
[0238] The processing unit 820 is configured to, in response to the first operation, enter a voice call state by the electronic device, and output voice according to a first output strategy corresponding to the private call mode, the first output strategy being outputting voice through a screen;
[0239] The detection unit 810 is further configured to receive a second operation of a user, the second operation being used to trigger increasing the output volume of the electronic device;
[0240] The processing unit 820 is further configured to, in response to the second operation, switch from the private call mode to a large volume mode when the adjusted output volume is greater than a preset output volume, and output voice according to a second output strategy corresponding to the large volume mode, the second output strategy being outputting voice through an earpiece.
[0241] The audio processing apparatus provided in the embodiments of the present application can automatically enable the private call mode when the electronic device enters the voice call state, for example, output voice through screen sound emission, so as to avoid voice leakage, protect the user's call privacy, and improve the user's call experience. When receiving the user's operation of increasing the volume, if it is judged that the adjusted volume level is greater than the preset volume level, the large volume mode is enabled, for example, voice is output through earpiece sound emission, so as to ensure good sound emission effect and improve the user's call experience.
[0242] In some possible implementation ways, the first output strategy is to output voice through the screen and the earpiece; and when voice is output through the screen and the earpiece in the private call mode, the volume intensity of the screen sound emission is greater than or equal to the volume intensity of the earpiece sound emission.
[0243] Through the above scheme, in the private call mode, the screen and the earpiece can simultaneously emit sound, and the two sound emission manners are controlled to emit sound at different volume intensities, for example, the intensity of the screen sound emission is greater than or equal to the intensity of the earpiece sound emission, so as to avoid voice leakage, protect the user's call privacy, and improve the user's call experience.
[0244] In some possible implementation ways, the second output strategy is to output voice through the screen and the earpiece; and when voice is output through the screen and the earpiece in the large volume mode, the volume intensity of the earpiece sound emission is greater than the volume intensity of the screen sound emission.
[0245] Through the above scheme, in the large volume mode, the screen and the earpiece can simultaneously emit sound, and the two sound emission manners are controlled to emit sound at different volume intensities, for example, the intensity of the earpiece sound emission is greater than the intensity of the screen sound emission, so as to ensure good sound emission effect and improve the user's call experience.
[0246] In some possible implementation ways, the total output volume intensity in the private call mode is equal to the total output volume intensity in the large volume mode.
[0247] In some possible implementation ways, the processing unit 820 is further configured to increase the total output volume intensity of the electronic device when the private call mode is switched to the large volume mode.
[0248] In some possible implementation ways, the detection unit 810 is further configured to receive a third operation of the user, the third operation being used to trigger the output volume decrease of the electronic device.
[0249] The processing unit 820 is further configured to, in response to the third operation, switch from the large volume mode to the private call mode when the adjusted output volume is less than or equal to the preset output volume, and output voice according to the first output strategy corresponding to the private call mode.
[0250] By the above scheme, when receiving the operation of the user reducing the volume, if it is judged that the adjusted volume level is less than or equal to the preset volume level, the private call mode is enabled to avoid the leakage of sound and protect the user's call privacy and improve the user's call experience.
[0251] In some possible implementation manners, the outputting the voice according to the first output strategy corresponding to the private call mode includes:
[0252] In a case where the electronic device has enabled the smart private call function, the voice is output according to the first output strategy corresponding to the private call mode.
[0253] In some possible implementation manners, the output volume of the electronic device is represented by a volume level, and the preset volume is represented by a preset volume level; or the output volume of the electronic device is represented by a volume decibel value, and the preset volume is represented by a preset volume decibel value.
[0254] In some possible implementation manners, the output volume range of the electronic device includes a preset volume decibel value range, the preset volume decibel value range is divided into N levels, and the N volume levels have a one-to-one corresponding relationship with N decibel values in the preset volume decibel value range.
[0255] In some possible implementation manners, the N volume levels include volume level 1 to volume level 10; wherein the private call mode corresponds to volume level 1 to volume level I, and the large volume mode corresponds to volume level I+1 to volume level 10, where I is an integer greater than 1 and less than 10.
[0256] In some possible implementation manners, the preset volume decibel value range is [2.5 dB, 25 dB].
[0257] In some possible implementation manners, when I is 6, the preset volume level is volume level 6, and the volume decibel value corresponding to volume level 6 is 15 dB.
[0258] In some possible implementation manners, as shown in FIG. 8, the apparatus 800 can further include a display unit 830. Figure 21
[0259] The display unit 830 is configured to display first prompt information and / or second prompt information in a first region in a voice call interface after the smart private call function is enabled, the first prompt information is used to prompt that the private call function has been enabled, and the first prompt information is used to guide the user to approach the first region to answer the phone.
[0260] The first region is a region of the screen closest to the screen sound emitting apparatus.
[0261] In some possible implementation manners, the first region in the voice call interface displays the first prompt information and / or the second prompt information, including: alternately displaying the first prompt information and the second prompt information in the first region in the voice call interface.
[0262] In some possible implementation manners, the display unit 830 is further configured to cancel displaying the first prompt information and the second prompt information when the privacy call mode is switched to the large-volume mode.
[0263] In some possible implementation manners, the display unit 830 is further configured to display, after the intelligent privacy call function is enabled, third prompt information in voice call interfaces of the previous M voice calls, the third prompt information being used to indicate effects after the intelligent privacy call function is enabled, and cancel displaying the third prompt information in voice call interfaces of subsequent voice calls.
[0264] In some possible implementation manners, the display unit 830 is further configured to display, when the voice is output according to the first output strategy corresponding to the privacy call mode, an icon used to identify the privacy call mode in a status bar of the electronic device.
[0265] In some possible implementation manners, the display unit 830 is further configured to cancel displaying the icon used to identify the privacy call mode in the status bar of the electronic device when the privacy call mode is switched to the large-volume mode.
[0266] In some possible implementation manners, the detection unit 810 is further configured to receive a fourth operation of a physical volume key of the electronic device by a user;
[0267] The display unit 830 is further configured to display, in response to the fourth operation, a volume bar icon and a call mode icon in the voice call interface;
[0268] The volume bar icon is used to indicate an output volume size during a voice call, and the call mode icon is used to indicate that the current call mode is the privacy call mode or the large-volume mode.
[0269] In some possible implementation manners, when the intelligent privacy call function is enabled, the call mode icon is an icon used to indicate the privacy call mode; or when the intelligent privacy call function is disabled, the call mode icon is an icon used to indicate the large-volume mode.
[0270] In some possible implementation manners, the electronic device can further include a loudspeaker, and the detection unit 810 is further configured to receive a fifth operation of a loudspeaker control in the voice call interface by a user when the intelligent privacy call function is enabled.
[0271] The processing unit 820 is further configured to output the voice through the speaker and stop the earpiece from sounding and the screen from sounding in response to the fifth operation.
[0272] In some possible implementation manners, the processing unit 820 is further configured to display a system setting interface when the detection unit 810 receives the operation of the user on the system setting icon, the system setting interface including a smart private call setting item.
[0273] The display unit 830 is further configured to display a setting interface of the smart private call function when the detection unit 810 receives the operation of the user on the smart private call setting item, the setting interface of the smart private call function including an on control and an off control of the smart private call function.
[0274] The smart private call function is started when the on control is operated by the user, or the smart private call function is stopped when the off control is operated by the user.
[0275] In some possible implementation manners, the detection unit 810 is further configured to receive a sixth operation of the user in the voice call interface when the smart private call function is started.
[0276] The display unit 830 is further configured to jump from the voice call interface to a card notification interface in response to the sixth operation, the card notification interface including a first notification card, the first notification card being used to prompt that the smart private call function is started.
[0277] In some possible implementation manners, the display unit 830 is further configured to jump from the notification interface to the setting interface of the smart private call function when the detection unit 810 receives the operation of the user on the first notification card.
[0278] In some possible implementation manners, the apparatus 800 is applicable to a voice call scenario of the voice over IP (VoIP).
[0279] The apparatus 800 according to the embodiments of the present application can correspond to performing the methods described in the embodiments of the present application, and the above and other operations and / or functions of the units in the apparatus 800 are respectively for implementing the corresponding flows of the methods, and for brevity, will not be described here.
[0280] Optionally, in some embodiments, the present application provides a chip, the chip being coupled with a memory, the chip being used to read and execute a computer program or instructions stored in the memory, so as to execute the method in each of the above embodiments.
[0281] Optionally, in some embodiments, the present application provides an electronic device, the electronic device including a chip, the chip being used to read and execute a computer program or instructions stored in the memory, so as to execute the method in each of the embodiments.
[0282] Optionally, in some embodiments, the embodiments of the present application further provide a computer readable storage medium, which stores program codes, and when the program codes are run on a computer, the computer is caused to execute the method in each of the above embodiments.
[0283] Optionally, in some embodiments, the embodiments of the present application further provide a computer program product, which comprises computer program codes, and when the computer program codes are run on a computer, the computer is caused to execute the method in each of the above embodiments.
[0284] The embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application, as long as the execution subject can process according to the method provided by the embodiments of the present application by running the program in which the codes of the method provided by the embodiments of the present application are recorded. For example, the execution subject of the method provided by the embodiments of the present application can be an electronic device, or a functional module in the electronic device which can call and execute the program.
[0285] Those skilled in the art can clearly understand that the units and steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software mode depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0286] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described 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 the present application belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application.
[0288] The above describes only the specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A volume adjustment prompting method, characterized by, The method is applied to an electronic device, and the method comprises: During a voice call process through a receiver, the electronic device displays a first interface and outputs voice at a first volume, wherein when the first volume is less than or equal to a preset volume, a prompt message that a private call function is turned on is displayed on the first interface; after the private call function is turned on, the electronic device outputs voice through a screen sound production device and the receiver, and a voice output intensity corresponding to the screen sound production device is greater than or equal to a voice output intensity corresponding to the receiver; or, after the private call function is turned on, the electronic device outputs voice only through the screen sound production device; When receiving an operation of a user pressing a volume key, in response to the operation of the user pressing the volume key, a volume bar is displayed on the first interface, and a filling length of the volume bar is a first length; When receiving a second operation of the user, the electronic device adjusts the filling length of the volume bar on the first interface to a second length and adjusts the volume of the output voice to a second volume, wherein when the second volume is greater than the preset volume, the electronic device switches from the private call function to a large volume mode and cancels the display of the prompt message on the first interface; in the large volume mode, the electronic device outputs voice through the screen sound production device and the receiver, or, in the large volume mode, the electronic device outputs voice only through the receiver.
2. The method of claim 1, wherein, The method further comprises: When the electronic device outputs voice at the second volume, a third operation of the user is received; When receiving the third operation, in response to the third operation, the electronic device adjusts the volume of the output voice to a third volume and adjusts the filling length of the volume bar to a third length, wherein when the third volume is less than or equal to the preset volume, the electronic device switches from the large volume mode to the private call function and re-displays the prompt message on the first interface.
3. The method of claim 1, wherein, The second volume is a maximum volume.
4. The method of claim 1, wherein, The range of volume decibel values of the output volume of the electronic device is divided into a plurality of volume levels, wherein the greater the volume level, the greater the corresponding output volume decibel value, and the first volume corresponds to any one of levels 1 to 6.
5. The method of claim 4, wherein, The second volume corresponds to level 9.
6. The method of claim 1, wherein, The call is an IP-based voice call.
7. The method of claim 1, wherein, The method further comprises: The first interface further displays a loudspeaker icon; In a case where the electronic device turns on the private call function, when the electronic device receives a user click on the loudspeaker icon, the electronic device turns off the private call function, cancels the display of the prompt message on the first interface, and turns on a loudspeaker mode; After the electronic device turns on the loudspeaker mode, the electronic device outputs voice through a loudspeaker.
8. The method of claim 7, wherein, The method further comprises: In a case where the electronic device outputs voice in the loudspeaker mode, when the electronic device receives a user click on the loudspeaker icon, the electronic device turns on the private call function and re-displays the prompt message on the first interface.
9. The method of any of claims 1-8, wherein the prompt information comprises a first icon displayed at a status bar.
10. The method of any of claims 1-8, wherein the prompt information comprises text prompt information and a first icon located at a first region of the first interface.
11. The method of any of claims 1-8, wherein the prompt information further comprises text prompt information and a first icon located at a first region of the first interface.
12. The method of any of claims 1-8, wherein the first region is located at an upper half of the first interface.
11. The method of claim 9, wherein, 13. The method of any of claims 1-8, wherein the second operation and the third operation are operations of a physical volume button of the electronic device, and the second operation is an operation of increasing the volume, and the third operation is an operation of decreasing the volume.
12. The method of claim 10, wherein, 14. The method of any of claims 1-8, wherein the second operation and the third operation are sliding operations on the first interface, and the sliding directions of the second operation and the third operation are opposite.
13. The method of claim 2, wherein, 15. The method of claim 14, wherein the second operation is sliding along a length direction of the volume bar to a first end of the volume bar; and the third operation is sliding along the length direction of the volume bar to a second end of the volume bar; and the volume corresponding to the first end is greater than the volume corresponding to the second end.
14. The method of claim 2, wherein, 16. The method of any of claims 1-8, wherein when the electronic device is switched to the speaker mode to output the voice, the electronic device outputs the voice through the loudspeaker, and does not output the voice through the screen sound device and the earpiece.
17. The method of any of claims 1-8, further comprising: displaying a system setting interface when an operation of a system setting icon is received, the system setting interface comprising a private call function setting item.
18. The method of claim 17, wherein the first icon is an icon identifying the private call function.
19. The method of claim 18, wherein the icon identifying the private call function is in the shape of a shield, and the shield contains an identification similar to an icon of an answer key.
16. The method of claim 7, wherein, 20. An electronic device comprising a processor coupled to a memory, the processor configured to execute a computer program or instructions stored in the memory to cause the electronic device to implement the method of any of claims 1-19.
17. The method of claim 1, wherein, 21. A computer readable storage medium storing a computer program, the computer program, when executed on an electronic device, causing the electronic device to perform the method of any of claims 1-19. 18. The method of claim 9, wherein, 19. The method of claim 18, wherein, 20. An electronic device, comprising: 21. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Screen sound production control method and device and electronic device
CN108958631A
Audio control method, device, electronic device, and storage medium
CN109062533A