Method for adjusting call volume and electronic equipment
By introducing call scene options and background sound playback functions in electronic devices, the problems of call volume adjustment and privacy protection are solved, improving user experience and privacy security.
Patent Information
- Application Number
- CN202310548455.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2024-11-15
AI Technical Summary
The prior art is difficult to effectively adjust the call volume during a call, affecting the user experience, and may disclose user privacy.
By introducing call scene options in electronic devices, users are allowed to select a call volume that suits the current state and play background sounds during the call to protect privacy and enhance user experience.
It realizes user-defined call volume adjustment, simplifies the operation process, improves the user experience, and avoids privacy leakage through background sounds, meeting user needs.
Smart Images

Figure CN118972491A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a method for adjusting call volume and an electronic device. Background Art
[0002] With the development of electronic devices, user needs are constantly increasing. Electronic devices not only need to realize the call function, but also should consider the user's experience during the call. Among them, the call volume has become one of the factors that determine whether the user is comfortable during the call. The call volume of the electronic device when the user is talking can be the volume provided by the current audio device of the device. The volume may be too loud or too low, affecting the user experience and may also leak user privacy. In this way, how to ensure that the call volume from the moment the call is connected is a volume that the user is satisfied with is a problem that needs to be solved urgently in this field. Summary of the invention
[0003] The present application provides a method and electronic device for adjusting call volume, which not only allows the user to make a call at a volume that matches the current state, but also protects the user's privacy by playing background sound to avoid privacy leakage, and can also meet the user's wishes so that the other end user can recognize the current call scene of the local user.
[0004] In a first aspect, the present application provides a method for adjusting call volume, characterized in that the method is applied to an electronic device, and the method includes:
[0005] The electronic device receives a call request sent by the opposite electronic device, and displays a first interface, wherein the first interface includes a first call scenario option and a second call scenario option, wherein the first call scenario option corresponds to the first call scenario, and the second call scenario option corresponds to the second call scenario, and the first call scenario is different from the second call scenario. The electronic device responds to an operation of selecting the first call scenario option and establishes a call connection with the opposite electronic device. The electronic device plays a sound at a call volume corresponding to the first call scenario. The electronic device sends the background sound corresponding to the first call scenario to the opposite electronic device, and the background sound is played by the opposite electronic device.
[0006] As can be seen from the above, the electronic device can play the sound during the call using the call volume corresponding to the call scene selected by the user. The other electronic device and / or the electronic device can also play the background sound of the selected call scene. This can not only improve the interactivity between the user and the mobile phone, simplify the user's related operations of adjusting the call volume, and improve the user experience, but also avoid privacy leakage by playing background sound, and further meet the user's usage needs.
[0007] In combination with the first aspect, in some embodiments, after the electronic device establishes a call connection with the opposite electronic device, the method also includes: the electronic device displays a second interface, the second interface includes a second prompt information, and the first prompt information is used to prompt that the current call scene is the first call scene.
[0008] In a second aspect, the present application provides a method for adjusting a call volume, characterized in that the method is applied to an electronic device, comprising: the electronic device displays a third interface in response to a user's operation of making a call, the third interface including a first call scene option and a second call scene option, the first call scene option corresponds to a first call scene, the second call scene option corresponds to a second call scene, and the first call scene is different from the second call scene. The electronic device initiates a call request to an electronic device at the opposite end in response to an operation acting on selecting the first call scene option. After the electronic device receives information from the electronic device at the opposite end confirming the call request, it establishes a call connection with the electronic device at the opposite end. The electronic device plays a sound at the call volume corresponding to the first call scene. The electronic device sends the background sound corresponding to the first call scene to the electronic device at the opposite end, and the background sound is played by the electronic device at the opposite end.
[0009] As can be seen from the above, the electronic device can play the sound during the call using the call volume corresponding to the call scene selected by the user. The other electronic device and / or the electronic device can also play the background sound of the selected call scene. This can not only improve the interactivity between the user and the mobile phone, simplify the user's related operations of adjusting the call volume, and improve the user experience, but also avoid privacy leakage by playing background sound, and further meet the user's usage needs.
[0010] In combination with the first aspect and the second aspect, in some embodiments, after the electronic device plays a sound at a call volume corresponding to the first call scenario, the method further includes: the electronic device displays a fourth interface, the third interface including second prompt information. The second prompt information is used to prompt that the current call scenario is the first call scenario.
[0011] In combination with the first aspect and the second aspect, in some embodiments, the method further includes: the peer electronic device includes multiple, and the number of peer user information of the peer electronic device includes multiple, and the second call scenario is the call scenario corresponding to the peer user information with the highest priority among the multiple peer user information. In this way, the solution provided by the present application can be implemented in a multi-person call scenario.
[0012] In combination with the first aspect and the second aspect, in some embodiments, the correspondence between the peer user information and the second call scenario is set by a local user of the electronic device, or is preset by the electronic device.
[0013] In combination with the first aspect and the second aspect, in some embodiments, the first call scenario or the second call scenario is determined by the electronic device based on one or more of the following: the environment in which the local user is located, the status of the local user, the information of the other user, the relationship between the other user and the local user, and the current time.
[0014] In combination with the first aspect and the second aspect, in some embodiments, after the electronic device plays the sound at the call volume corresponding to the first call scenario, the method further includes: the electronic device plays the background sound. In this way, when other people other than the user may hear the user's call, they mostly hear the background sound effects instead of the conversation content, thereby protecting the user's privacy.
[0015] In combination with the first aspect and the second aspect, in some embodiments, before the electronic device plays the sound at the call volume corresponding to the first call scenario, the method further includes: the electronic device performs voice change processing on the sound. The electronic device playing the sound at the call volume corresponding to the first call scenario specifically includes: the electronic device plays the voice-changed sound at the call volume corresponding to the first call scenario. In this way, other people other than the user cannot determine the identity information of the other end user when they may hear the user's call, thereby protecting the user's privacy.
[0016] In a third aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method of the first aspect or any implementation of the first aspect.
[0017] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, which, when executed on an electronic device, enables a vehicle to execute the method of the first aspect or any one of the embodiments of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1A A schematic diagram of the structure of an electronic device provided as an implementation example of the present application.
[0019] Figure 1B A schematic diagram of the software structure of an electronic device provided for an implementation example of the present application.
[0020] Figure 2 A flowchart of a method for adjusting call volume of an electronic device provided as an implementation example of the present application.
[0021] Figure 3A-Figure 5B A user interface of an electronic device provided for an implementation example of the present application.
[0022] Figure 6 A flowchart of a method for adjusting call volume of an electronic device provided as an implementation example of the present application.
[0023] Figure 7A-Figure 9 A user interface of an electronic device provided for an implementation example of the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0025] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0026] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0027] Calls are a convenient way for users to communicate with each other. The call volume is one of the factors that determine whether the user experience is good during the call. The following methods can be used to adjust the call volume:
[0028] Method 1: The electronic device sets a volume for each of the three answering methods: answering with a handset, answering with a headset, and answering with a hands-free phone. When the electronic device uses different answering methods, the electronic device can detect the current answering method and set the corresponding volume to answer the call, and then the user can manually adjust the volume of the answering call. In this way, the answering scene is relatively simple, and the volume is only divided into three types, which is also relatively simple. In this way, method 1 is equivalent to a fixed volume as long as the call is connected, no matter when and where the user uses the handset to answer the call.
[0029] Method 2: The electronic device can adjust the call volume according to the noise of the current environment and the fit strength of the user's ear against the electronic device. If the external environment volume (i.e., noise) is loud or the fit strength is low, the call volume is increased; if the external environment volume is low or the fit strength is high, the call volume is decreased.
[0030] From the above two methods, it can be seen that method 1 is to talk at a fixed volume, and method 2 is to adjust the volume based on the current environmental noise and ear fit strength. Both methods do not take into account the volume requirements of users in different scenarios. For example, users need a louder call volume in work scenarios, a lower call volume in rest scenarios, and so on. For another example, users need a louder call volume when talking to colleagues, and a lower call volume when talking to family members.
[0031] In order to solve the problems arising from the above-mentioned methods, the present application provides a method and an electronic device for adjusting the call volume. Before specifically introducing the method provided in the embodiment of the present application, the following explanation is first made for the call:
[0032] In terms of call form, the calls provided in the embodiments of the present application may include but are not limited to: audio calls, video calls, etc.
[0033] From the perspective of application category, the call provided in the embodiment of the present application can be implemented based on a system application (such as a telephone application) or based on a third-party application (such as an instant messaging application).
[0034] From the perspective of communication technology, the call provided in the embodiment of the present application can be implemented based on protocols such as the Global System for Mobile Communications (GSM) protocol or the Voice over Long-Term Evolution (VOLTE) protocol, or can be implemented based on technologies such as the fourth generation mobile communication technology (4G) or the fifth generation mobile communication technology (5G).
[0035] The call process involved in the embodiments of the present application mainly involves two electronic devices, one of which can be called a local electronic device and the other can be called a peer electronic device. The above call can be initiated by the local electronic device or by the peer electronic device. In a possible implementation, the call process can also involve multiple electronic devices, one of which can be a local electronic device and the other multiple electronic devices can be peer electronic devices.
[0036] Based on the above-described method for adjusting the volume, some structural schematic diagrams of the local electronic device provided in the embodiments of the present application are introduced below.
[0037] Figure 1A The schematic diagram of the structure of the electronic device 100 is exemplarily shown.
[0038] The electronic device 100 may be equipped with Or a portable terminal device of other operating systems, the electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle, a vehicle-mounted device, a smart home device and / or a smart city device, but not limited thereto, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or a touch panel, a desktop computer with a touch-sensitive surface or a touch panel, and other non-portable terminal devices, etc. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.
[0039] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0040] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0041] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0042] In some implementations, the processor 110 can be used to identify the user information of the other electronic device and determine whether it is the target person. The processor 110 can also be used to determine the target call scene used for the current call based on the user information. The processor 110 can also be used to select a target call scene from multiple current call scenes in response to user operations. The processor 110 can also be used to adjust the default call volume to the first call volume. The processor 110 can also be used to determine the location information of the current electronic device 100 and determine the current call scene based on the location information. The processor 110 can also be used to adjust the call volume to the default call volume or the first call volume after determining the target call scene.
[0043] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0044] In some embodiments, the memory may be used for various call scenarios and the corresponding default call volumes or first call volumes. The memory may also be used to store contact information, such as contact avatars, contact names, contact notes, contact groups, contact numbers, and number locations. The memory may also be used to store historically selected call scenarios for the peer electronic device.
[0045] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0046] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0047] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0048] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0049] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0050] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
[0051] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal.
[0052] The USB interface 130 is an interface that complies with USB standard specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, or may be used to transmit data between the electronic device 100 and a peripheral device. It may also be used to connect headphones to play audio through the headphones.
[0053] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0054] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.
[0055] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0056] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0057] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
[0058] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0059] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
[0060] The wireless communication module 160 can provide wireless communication solutions 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), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0061] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0062] In some implementations, the mobile communication module 150 and the wireless communication module 160 may be used to determine the current location information of the electronic device 100 .
[0063] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0064] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0065] In some implementations, the display screen 194 may be used to display a user interface for adjusting the volume of each call scenario from a default call volume to a first call volume. The display screen 194 may also be used to display a user interface for incoming and outgoing calls with multiple call scenario options available for the user to select, such as a first interface, a second interface, a third interface, and a fourth interface. The display screen 194 may also be used to set a user interface for a call scenario corresponding to a contact in a contact-related user interface.
[0066] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0067] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0068] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0069] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0070] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0071] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0072] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0073] In some implementations, the internal memory 121 may store a volume adjustment process, which is used to adjust the call volume according to the call scenario.
[0074] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.
[0075] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.
[0076] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0077] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0078] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0079] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0080] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0081] In some implementations, the audio module 170 can convert the sound data collected by the other electronic device into audio, and when the electronic device 100 selects the hands-free mode for a call, the audio is played through the speaker 170A. The audio module 170 can also be used to collect audio through the microphone 170C, such as the sound made by the user, and convert the audio into sound data. In a possible implementation, the audio module 170 can also play the background sound corresponding to the first call scene. The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0082] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0083] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0084] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0085] In some implementations, the earphone interface 170D can be used to implement the function of the electronic device 100 to make calls through the earphone mode.
[0086] The pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
[0087] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0088] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0089] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0090] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0091] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0092] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects.
[0093] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0094] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0095] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0096] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0097] In some implementations, the touch sensor 180K may be used to detect a user's touch operation on a call scenario option in the incoming call interface, and send relevant information about the touch operation to the processor 110. The touch sensor 180K may also be used to detect a user's touch operation on a call scenario option in the outgoing call interface, and send relevant information about the touch operation to the processor 110.
[0098] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.
[0099] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0100] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0101] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0102] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting the SIM card interface 195 or removing the SIM card from the SIM card interface 195 .
[0103] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.
[0104] Figure 1B 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0105] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0106] The application layer can include a series of application packages.
[0107] like Figure 1B As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0108] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0109] like Figure 1B As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0110] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0111] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0112] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0113] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0114] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0115] The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.
[0116] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0117] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0118] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0119] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0120] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0121] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0122] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0123] A 2D graphics engine is a drawing engine for 2D drawings.
[0124] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0125] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.
[0126] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.
[0127] The following describes in detail the method for adjusting the call volume provided in an embodiment of the present application in conjunction with the user interface exemplarily provided in the present application.
[0128] Embodiment 1:
[0129] In the first embodiment, the electronic device 100 may be pre-set with a variety of call scenes, and may also be pre-set with call volumes and background sounds corresponding to the various call scenes. Before the electronic device 100 makes a call with the other electronic device 100, it may identify the multiple call scenes it is currently in. The user may select a call scene from the multiple call scenes. During the call, the electronic device 100 may use the call volume corresponding to the call scene selected by the user to play the sound collected by the other electronic device 100.
[0130] Of course, if the electronic device 100 only recognizes a current call scene before talking with the opposite device, there is no need for user selection, and the call volume corresponding to the call scene can be directly used to play the sound collected by the opposite device.
[0131] In some implementations, the current call scenario of the electronic device 100 can be determined based on any one or more of the following factors: the environment in which the local user is located, the status of the local user, the relationship between the other user and the local user, the current time, etc.
[0132] The above environment may include but is not limited to: the current location of the local user, the current space size, the current noise situation, etc. The above user status may include but is not limited to: the user's current action and emotion, etc.
[0133] The following specifically introduces a variety of call scenarios preset in some electronic device 100.
[0134] For example, according to the environment where the local user is located, the call scenes preset by the electronic device 100 may include but are not limited to: subway scenes, highway scenes, cinema scenes, home scenes, underwater scenes, mountain top scenes, etc. The electronic device 100 can obtain the current location information of the electronic device 100 through the global positioning system (GPS) positioning technology, thereby identifying the current call scene. Among them, when the user is on the subway or when the user is waiting for the subway, the electronic device 100 can identify that the current call scene is a subway scene. When the user is walking on the road or waiting on the road, the electronic device 100 can identify that the current call scene is a highway scene. When the user is in a movie theater, the electronic device 100 can identify that the current call scene is a movie theater scene. When the user is in a house, the electronic device 100 can identify that the current call scene is a home scene. When the user is in the water, the electronic device 100 can identify that the current call scene is an underwater scene. When the user is at the top of the mountain, the electronic device 100 can identify that the current call scene is a mountain top scene.
[0135] According to the state of the local user, the call scenes preset by the electronic device 100 may include but are not limited to: work scenes, driving scenes, sports scenes, fatigue scenes, silent scenes, sleep scenes, etc. Among them, when the user is in a working state, such as the current time is working time, the electronic device 100 can identify that the current call scene is a work scene. When the user is driving, such as the electronic device 100 obtains that the current position is in the vehicle and the electronic device 100 establishes a communication connection with the vehicle, the electronic device 100 can identify that the current call scene is a driving scene. When the user is exercising, such as the electronic device 100 establishes a communication connection with the wearable device worn by the user, and detects that the user is exercising through an inertial sensor, the electronic device 100 can identify that the current call scene is a sports scene. After the user finishes work or exercise, such as the current time is non-working time, the electronic device 100 can identify that the current call scene is a fatigue scene. When the user does not want to answer the call, but has to answer it for some reason, such as the electronic device 100 does not receive the user's operation to answer the call for a long time, the electronic device 100 can identify that the current call scene is a silent scene. When the user is in a sleeping state, for example, the electronic device 100 detects through a sensor that the user is in a sleeping state, the electronic device 100 can recognize that the current call scene is a sleeping scene.
[0136] According to the relationship between the peer user and the local user, the call scene set by the electronic device 100 may include but is not limited to: colleague scene, family scene, friend scene, etc. Among them, when the relationship between the peer user and the local user is a colleague, the electronic device 100 can identify the current call scene as a colleague scene. When the relationship between the peer user and the local user is a family, the electronic device 100 can identify the current call scene as a family scene. When the relationship between the peer user and the local user is a friend, the electronic device 100 can identify the current call scene as a friend scene.
[0137] According to the current time, the call scene set by the electronic device 100 may include but is not limited to: a late night scene. If the current time is between 11 pm and 3 am, the electronic device 100 may identify that the current call scene is a late night scene.
[0138] It is worth noting that the call scenarios introduced above are only exemplary. In the embodiments of the present application, more or fewer call scenarios may be included, and there is no limitation on this.
[0139] refer to Figure 2 , Figure 2 A flowchart of a method for adjusting call volume provided in Example 1 of the present application.
[0140] The method provided in the first embodiment specifically includes:
[0141] S201: The electronic device 100 receives a call request sent by a peer electronic device, or the electronic device 100 receives a user operation for requesting a call with a peer electronic device.
[0142] In a possible implementation, the electronic device 100 may configure the call scenario before the call.
[0143] In some implementations, the electronic device 100 presets a variety of call scenarios and default call volumes corresponding to the various call scenarios. Further, the various call scenarios preset by the electronic device 100 are matched with preset background sounds.
[0144] The electronic device 100 has preset default call volumes corresponding to various call scenarios before leaving the factory. The default call volumes are set by the developer.
[0145] In some implementations, the electronic device 100 can set up multiple call scenarios and the default call volumes corresponding to the multiple call scenarios in a system-provided application (such as a settings application), and can also set up multiple call scenarios and the default call volumes corresponding to the multiple call scenarios in a third-party application (such as an instant messaging application).
[0146] The above-mentioned various call scenarios may include but are not limited to: subway scenario, highway scenario, cinema scenario, home scenario, underwater scenario, mountaintop scenario, work scenario, driving scenario, sports scenario, fatigue scenario, silent scenario, sleep scenario, colleague scenario, family scenario, friend scenario, late night scenario, etc. For a detailed introduction of call scenarios, please refer to the above content and will not be elaborated here.
[0147] In a possible implementation, the call scene can also be added and set by the user, and a corresponding call volume can be set.
[0148] In some implementations, the electronic device 100 may preset a corresponding default call volume for each call scenario.
[0149] Specifically, the default call volume corresponding to the call scenario may be obtained in the following ways:
[0150] 1. The server of the electronic device 100 can collect a large amount of noise in real scenarios, and conduct multiple call experiments using call volumes of various levels to determine that the call content at a certain call volume is the clearest, and this call volume is the default call volume for calls in this call scenario.
[0151] 2. A large number of experimenters conduct calls at different call volumes in a certain call scenario, and the experimenters rate the comfort of different call volumes in a certain call scenario. The server of the electronic device 100 inputs a large amount of the comfort rating data and determines that the call volume with the highest comfort in a certain call scenario is the default call volume.
[0152] In the embodiment of the present application, the method for obtaining the default call volume is not limited, and more methods may be included.
[0153] Optionally, after the electronic device 100 obtains the call scene and the default call volume corresponding to the call scene, the user can adjust the volume corresponding to the call scene according to their own needs. Specifically, the electronic device 100 receives an operation for adjusting the call volume corresponding to the third call scene, and adjusts the call volume corresponding to the third call scene from the default call volume to the first call volume.
[0154] In some implementations, the user can view various call scenarios and the default call volumes corresponding thereto. When the user is not satisfied with the default call volume, the electronic device 100 can adjust the call volume corresponding to the third call scenario from the default call volume to the first call volume based on user needs. The third call scenario can refer to a call scenario among multiple call scenarios, or can refer to multiple call scenarios among multiple call scenarios.
[0155] It is worth noting that the electronic device 100 can also store background sounds corresponding to a variety of call scenarios. The background sound can be used to realistically simulate the noise in various call scenarios. The background sound can be set by the electronic device 100 according to the characteristics of the call scenario. For example, the background sound corresponding to the subway scene can be the noise collected in a real subway scene, including the noise emitted by the subway, the noise of the crowd, and the sound of the subway announcement, etc. The background sound can be played when the above-mentioned electronic device 100 adjusts the call volume corresponding to the third call scenario, so that the user can adjust the call volume according to the background sound instead of adjusting it at will.
[0156] In some implementations, the background sound may also be played by the electronic device 100 during a call and / or by the other end electronic device.
[0157] In some implementations, the first call volume corresponding to the third call scenario can be stored in the electronic device 100, or in a server of the electronic device 100. That is, if a user has multiple electronic devices 100, other electronic devices 100 can synchronously set the first call volume corresponding to the third call scenario after logging into the user account of the local electronic device 100. In this way, the user does not need to adjust the call volume multiple times.
[0158] The following describes in detail the adjustment of the call volume corresponding to the third call scenario from the default call volume to the first call volume in conjunction with the relevant user interface.
[0159] refer to Figure 3A , Figure 3A The user interface 200 is shown as an example. The user interface 200 may be a user interface in a setting application provided by the system, or a user interface in a third-party application. The user may view different call scenarios and corresponding volumes in the user interface 200, and may also adjust different call scenarios and corresponding volumes in the user interface.
[0160] The user interface 200 includes, but is not limited to, a call scene name 201 , a volume adjustment control 202 , a restore default control 203 , a save configuration control 204 , and the like.
[0161] in, Figure 3A The call scene names 201 in the example include subway scene, highway scene, noisy scene, quiet scene, driving scene, theater scene, work scene, and fatigue scene, etc. In the embodiment of the present application, the call scene names are only exemplary, and more or fewer call scenes may also be included.
[0162] like Figure 3A As shown, the maximum volume of the electronic device 100 is 100%, the minimum volume is 0%, the default call volume corresponding to the subway scene is 80%, and the electronic device 100 responds to the user's left sliding operation on the volume adjustment control 202A, and can adjust the call volume corresponding to the subway scene to 70% of the first call volume. The electronic device 100 responds to the user's right sliding operation on the volume adjustment control 202A, and can adjust the call volume corresponding to the subway scene to 90% of the first call volume. When the user performs the above left sliding operation or right sliding operation, the electronic device 100 can simultaneously play the background sound effect corresponding to the subway scene.
[0163] It should be noted that if the electronic device 100 responds to the user's left or right swipe operation on the volume adjustment control 202A, and adjusts the call volume corresponding to the subway scene from the default call volume to the first call volume, and then responds to the user's click operation on the save configuration control 204, the electronic device 100 can save the adjusted first call volume. When the electronic device 100 enters the user interface 200 again, the volume displayed by the volume adjustment control 202A is the first call volume corresponding to the subway scene.
[0164] If the electronic device 100 responds to the user's left or right swipe operation on the volume adjustment control 202A, and adjusts the call volume corresponding to the subway scene from the default call volume to the first call volume, and then responds to the user's click operation on the restore default control 203, it can be considered that the adjustment is not successful, and the call volume corresponding to the subway scene in the electronic device 100 is still the default call volume. When the electronic device 100 enters the user interface 200 again, the volume displayed by the volume adjustment control 202A is still the default call volume corresponding to the subway scene.
[0165] The user interface 200 described above is based on the common adjustment of the call volume of the three call modes in the same call scene. The following describes a user interface for adjusting the call volume of the three call modes in the same call scene separately.
[0166] like Figure 3B As shown, the user interface 210 includes but is not limited to: a call scenario name 211, a detail control 212, a restore default control 213, and a save configuration control 214. The electronic device 100 can enter the user interface 220 in response to a user clicking operation on the detail control 212A.
[0167] like Figure 3C As shown, the user interface 220 includes three call mode names 221 and corresponding volume adjustment controls 222. The electronic device 100 can respond to the user's sliding operation on the volume adjustment control 222A, the volume adjustment control 222B, and the volume adjustment control 222C to adjust the call volume of the call in the receiver mode, the headset mode, and the hands-free mode in the subway scene from the default call volume to the first call volume. For a detailed introduction to the sliding operation, please refer to the above-mentioned Figure 3A The relevant description of the sliding operation in will not be repeated here.
[0168] When the electronic device 100 receives a call request sent by the opposite electronic device 100, the electronic device 100 can be regarded as the receiver of the call; when the electronic device 100 receives a user operation for requesting a call with the opposite electronic device 100, the electronic device 100 can be regarded as the initiator of the call. The user of the opposite electronic device 100 can be a contact of the user or not.
[0169] In some implementations, the electronic device 100 may receive a call request sent by the opposite electronic device 100, and the call request may include a call type identifier and a number identifier, etc. The call type may include, but is not limited to, a voice call and a video call. The number identifier is used by the electronic device 100 to identify the telephone number of the opposite electronic device 100, so as to determine the user of the opposite electronic device 100, i.e., the opposite user.
[0170] In some implementations, the electronic device 100 may receive a user operation for requesting a call with the other electronic device 100 .
[0171] refer to Figure 4A , Figure 4A The user interface 300 is shown as an example, and the user interface 300 is a telephone application program provided by the system. The user interface 300 includes a recent call bar 301, a dialing keyboard 302, and a dialing control 303. The electronic device 100 can select a number to be dialed by selecting an item from the recent call bar 301 or directly selecting the number to be dialed through the dialing keyboard 302. The electronic device 100 can respond to the user's click operation on the dialing control 303, identify the number identifier, and request to call the opposite electronic device 100 having the number identifier.
[0172] In the embodiment of the present application, the user operation for requesting a call with the other electronic device 100 is not limited to the above-mentioned click operation on the dial control 303, but may also include touch operation, voice command, gesture command, etc., which is not limited to this.
[0173] S202: The electronic device 100 identifies the current call scenario.
[0174] In some implementations, the electronic device 100 can identify the current call scene based on the current location of the electronic device 100, the current time, whether it is connected to a wearable electronic device, and the speed collected by the sensor. Specifically, when the electronic device 100 is connected to the wearable device, the wearable device obtains the relevant data of the current user through the sensor and sends it to the electronic device 100. The electronic device 100 can determine that the current user is in motion based on the relevant data, and then determine that the current call scene is a motion scene.
[0175] In a possible implementation, the electronic device 100 can also assist in identifying the call scene in combination with the image captured by the camera. For example, if the electronic device 100 analyzes that the captured image contains a subway, the electronic device 100 can determine that the current call scene is a subway scene.
[0176] In another possible implementation, the electronic device 100 can also determine the size of the current space by echolocation based on GPS technology and Beidou navigation technology, and then assist in determining the current call scene. For example, the electronic device determines by echolocation that the obstacle distances of 360° around the current electronic device are all less than 50cm, and then determines that the current call scene may be an elevator scene, a subway scene, or a bus scene. Then the electronic device 100 can obtain through the acceleration sensor that the current electronic device 100 has acceleration in the vertical direction (i.e., the direction perpendicular to the ground plane), and there is no acceleration in the horizontal direction (i.e., the direction parallel to the ground plane), and then it can be determined that the current call scene is an elevator scene.
[0177] In another possible implementation, the electronic device may also combine factors such as signal strength and interference to assist in identifying the current call scenario.
[0178] Since the call scene can be presented from different angles, the electronic device 100 may recognize only one call scene or multiple call scenes. When only one call scene is recognized, the following S203 does not display multiple call scene options, and does not require the user to select, but directly adopts the call scene.
[0179] For example, the current location of the electronic device 100 is an office building, and the current time is 3:00 p.m. on Monday. The electronic device 100 recognizes that the current call scene may be a work scene, a fatigue scene, a quiet scene, a sleep scene, and the like.
[0180] In one possible implementation, in step S201, if the electronic device 100 receives a call request sent by the other electronic device 100 in the system application, or receives a user operation for requesting a call with the other electronic device 100 in the system application, then the electronic device 100 can directly identify the current call scenario by the system.
[0181] In another possible implementation, in step S201, if the electronic device 100 receives a call request sent by the opposite electronic device 100 in the third-party application, or receives a user operation for requesting a call with the opposite electronic device 100 in the third-party application, there are two ways to identify the current call scenario:
[0182] 1. The third-party application requests the system of the electronic device 100 to identify the current call scenario. The system of the electronic device 100 identifies the current call scenario and then sends the relevant information of the identified call scenario to the third-party application.
[0183] 2. The third-party application directly identifies the current call scenario.
[0184] S203. The electronic device 100 displays an incoming call interface, which includes options for multiple call scenarios identified by the electronic device 100; or displays an outgoing call interface, which includes options for multiple call scenarios identified by the electronic device 100.
[0185] In some implementations, the incoming call interface may refer to an answering interface that allows a user to select a call scenario from multiple call scenario options. The outgoing call interface may refer to a calling interface that allows a user to select a call scenario from multiple call scenario options.
[0186] Of course, the call scenario options displayed in the incoming call interface or the outgoing call interface may include options of all call scenarios set in the electronic device 100, or may be options of multiple call scenarios identified in step S202.
[0187] When the electronic device 100 is located at different locations, the call scene options displayed on the incoming call interface or the outgoing call interface may be different. When the electronic device 100 is calling a different other electronic device 100, the call scene options displayed on the incoming call interface or the outgoing call interface may also be different. The incoming call interface and the outgoing call interface in step S203 are introduced below in conjunction with the relevant user interface.
[0188] refer to Figure 5A , Figure 5A The incoming call interface in the system application is exemplarily shown. When the electronic device 100 receives the call request sent by the other electronic device 100, the electronic device 100 identifies the current call scene. The electronic device 100 can display the user interface 400. The user interface 400 includes caller information 401, call scene options 402, and a hang-up control 403. Among them, the caller is a contact, and the caller information includes a contact avatar, a contact name, a contact group, a contact number, and a number attribution location, etc. The call scene option 402 includes a subway scene option 402A, a work scene option 402B, a quiet scene option 402C, a sleep scene option 402D, and an answering control 402E. The information displayed by the call scene option 402 indicates that the call scenes identified by the electronic device 100 in the current situation include: subway scene, work scene, quiet scene, and sleep scene.
[0189] In some implementations, Figure 5A The user interface 400 shown may be referred to as a first interface. In the embodiment of the present application, the user interface 400 is only used for exemplary purposes, and the user interface 400 may also include more or less content.
[0190] refer to Figure 4B , Figure 4B The example shows the outgoing call interface in the system application. Figure 4A By clicking the dial control 303, a user interface 410 can be displayed. The user interface 410 includes caller information 411, a call scene prompt bar 412, call scene options 413, etc. The caller is a contact, and the caller information includes a contact avatar, a contact name, a contact group, a contact number, and a number location, etc. The call scene prompt bar 412 is used to prompt the user to select a specific call scene to make a call. The call scene options 413 include a subway scene option 413A, a work scene option 413B, a quiet scene option 413C, and a sleep scene option 413D.
[0191] In some implementations, Figure 4A The click operation of the dial control 303 can be referred to as an operation of the user making a call.
[0192] In some implementations, Figure 4B The user interface 410 shown may be referred to as a third interface. In the embodiment of the present application, the user interface 400 is only used for exemplary purposes, and the user interface 400 may also include more or less content.
[0193] S204: The electronic device 100 detects a user operation of selecting a target call scenario.
[0194] In some implementations, the user operation may refer to an operation in which the user selects a target call scenario from a plurality of call scenarios when the electronic device 100 displays the incoming call interface or the outgoing call interface in step S203. The user operation may include but is not limited to a click operation, a touch operation, a slide operation, a voice command, and the like.
[0195] In some implementations, the user can select a specific call scenario based on subjective factors. Exemplarily, the call scenarios displayed by the electronic device 100 in the incoming call interface or the outgoing call interface include work scenarios, fatigue scenarios, quiet scenarios, and sleep scenarios. If the current user is working or the incoming call information determines that the content of the call may be work-related, the user can choose the work scenario to make the call; if the current user is at the end of work or the user subjectively resists the call from the caller but objectively should answer the call, the user can choose the fatigue scenario. In the embodiments of the present application, the above is only an exemplary description.
[0196] In some implementations, the call scenario selected by the user may be referred to as a first call scenario, and the call scenarios other than the first call scenario among the multiple call scenarios identified by the electronic device 100 may be referred to as second call scenarios.
[0197] For example, the user operation may refer to a click operation on the subway scene option 402A in the user interface 400, or a sliding operation from the subway scene option 402A to the answering control 402E. The user operation may also refer to a click operation of a pointer on the subway scene option 413A in the user interface 410. This is not limited.
[0198] S205. After the electronic device 100 responds to the user operation of selecting the target call scene, it plays the sound at the call volume corresponding to the target call scene.
[0199] In some implementations, if the electronic device 100 adjusts the call volume corresponding to the target call scenario from the default call volume to the first call volume, that is, the third call scenario in the above steps includes the target call scenario, the electronic device 100 answers the call at the first call volume corresponding to the target call scenario, or makes a call at the first call volume corresponding to the target call scenario.
[0200] If the electronic device 100 does not adjust the call volume corresponding to the target call scenario from the default call volume to the first call volume, that is, the third call scenario in the above steps does not include the target call scenario, the electronic device 100 answers the call at the default call volume corresponding to the target call scenario, or makes a call at the default call volume corresponding to the target call scenario.
[0201] It is worth noting that when the electronic device 100 serves as the initiator of a call, after the electronic device 100 responds to the user operation of selecting the target call scene, it also needs to receive a signal from the other electronic device that receives the call request initiated by the electronic device before it can play the sound collected by the other electronic device at the call volume corresponding to the target call scene.
[0202] Step S205 is described below in conjunction with related interfaces.
[0203] After the electronic device 100 responds to the click operation on the subway scene option 402A in the user interface 400, the following may be displayed: Figure 5B The user interface 500 is shown. The user interface 500 exemplarily shows a scene in which the electronic device 100 is in a call with the other electronic device. The user interface 500 includes, but is not limited to, call duration 501, call scene reminder information 502, and hang-up control 503. The call duration 501 is used to display the current call duration. The call scene reminder information 502 is used to remind the user that the current call scene is a subway scene.
[0204] After the electronic device 100 responds to the click operation on the subway scene option 413A in the user interface 410, it can display the following Figure 4CThe user interface 510 is shown. The user interface 510 exemplarily shows a scene in which the electronic device 100 is waiting for the other electronic device 100 to answer the call. The user interface 510 is also an outgoing call interface. The user interface 510 may include, but is not limited to: call prompt information 511, call scene reminder information 512, and hang up control 513. The call prompt information 511 is used to remind the user that the current call has not been connected and is waiting for the other electronic device 100 to answer. The call scene reminder information 512 is used to remind the user that the current call scene is a subway scene. After the other electronic device 100 answers the current call, the electronic device 100 may display the following information: Figure 5B User interface 500 shown. It is worth noting that, when the electronic device 100 serves as the initiator of the call, the electronic device 100 can initiate a call request to the electronic device at the other end after responding to the user's click operation on the dial control 303 in the user interface 300. The electronic device 100 can also initiate a call request to the electronic device 100 at the other end during the process of identifying the current call scene. The electronic device 100 can also initiate a call request to the electronic device at the other end after identifying the current call scene, that is, when the electronic device 100 displays the user interface 410. The electronic device 100 can also send a call request to the electronic device at the other end after the user selects the target call scene, that is, when the electronic device 100 displays the user interface 510. In the embodiments of the present application, this is not limited.
[0205] In some implementations, Figure 5B The user interface 500 shown may be referred to as a second interface. Among them, the call scene reminder information 502 may be referred to as a first prompt information. In the embodiment of the present application, the user interface 500 is only used for exemplary description, and the user interface 500 may also include more or less content.
[0206] In some implementations, Figure 4C The user interface 500 shown may be referred to as a fourth interface. The call scene reminder information 512 may be referred to as second prompt information. In the embodiment of the present application, the user interface 500 is only used for exemplary description, and the user interface 500 may also include more or less content.
[0207] S206: The electronic device 100 sends the background sound corresponding to the target call scenario to the opposite electronic device, and the background sound is played by the opposite electronic device.
[0208] In some implementations, the electronic device 100 can send the background sound corresponding to the target call scene to the opposite electronic device, so that the opposite electronic device also plays the background sound. For example, when the target call scene is a subway scene, the opposite electronic device can obtain the background sound effects corresponding to the subway scene sent by the electronic device 100, such as subway noise, etc. When the opposite user hears the background sound effects, he thinks that the local user is in a subway environment with loud noise and a poor call experience. The opposite user can hang up the phone and wait for the local user to be in an environment with less noise before establishing a call connection. In this way, the opposite user can be informed of the call scene of the local user, and the call time of the local user can be shortened when it is inconvenient for the user to answer the call, so that the user experience is good.
[0209] In some implementations, during a call between a user and a peer user, the electronic device 100 may play sound at a call volume corresponding to a target call scenario, and may also play background sound corresponding to the target call scenario. In a possible implementation, each call scenario set by the electronic device 100 may also be configured with a corresponding background sound. This allows other people other than the user to mostly hear background sound effects rather than the content of the conversation when they may hear the user's call, thereby protecting the user's privacy.
[0210] In a possible implementation, the electronic device 100 and the opposite electronic device simultaneously play the background sound effects corresponding to the target call scene. Specifically, after determining the first call scene, the electronic device sends the data of the background sound corresponding to the first call scene to the opposite electronic device, so that the opposite electronic device can simultaneously obtain the voice data and background sound data of the user at the local end, and simultaneously play the content of the user's speech at the local end and the background sound corresponding to the first call scene.
[0211] In a possible implementation, during a call between a user and a peer user, the electronic device 100 can also play sound in a directional sounding manner. In this way, the electronic device 100 can play sound in a direction close to the user's ear in the handset answering mode, thereby avoiding sound leakage and protecting the user's privacy.
[0212] In a possible implementation, when a user is talking to a user on the other end, the electronic device 100 can change the audio data sent by the other end electronic device, and then play the changed audio data. In this way, only the user knows the identity information of the other end user, and other people other than the user cannot determine the identity information of the other end user when they may hear the user's conversation, thereby protecting the user's privacy.
[0213] In a possible implementation, during a call between a user and a peer user, the electronic device 100 may send a prompt message to the peer electronic device to prompt the peer user to lower or increase the volume. Specifically, the prompt message may be a voice message to prompt the peer user. For example, the voice message may be "The current speaking volume is detected to be too loud, please lower the speaking volume", or "The other party is detected to be in an environment that is prone to privacy leakage, please lower the speaking volume".
[0214] As can be seen from the above-mentioned first embodiment, the electronic device 100 can select a target call scene from multiple call scenes identified by the electronic device 100 based on the user's personal ideas, thereby improving the interactivity between the user and the mobile phone. In addition, the user can directly adjust the call volume to the call volume corresponding to the target call scene by answering or dialing, thereby simplifying the user's related operations of adjusting the call volume and improving the user experience. The electronic device 100 can also play background sound to further avoid privacy leakage, and the other end electronic device can play background sound to improve the call experience of the user at the local end.
[0215] Embodiment 2:
[0216] In the second embodiment, the electronic device 100 can also be pre-set with a variety of call scenes, and can also be pre-set with a variety of call volumes and background sounds corresponding to the call scenes. Before the electronic device 100 calls the other electronic device, it determines whether the other user is the target user. If the other user is the target user, the user information of the other user is obtained, and the target call scene is matched according to the user information of the other user. Then, the sound collected by the other electronic device is played according to the volume corresponding to the target call scene, and the background sound corresponding to the target call scene is played.
[0217] The above user information may include any of the following: the relationship between the peer user and the local user, the call scenario set for the peer user, etc.
[0218] refer to Figure 6 , Figure 6 A flowchart of a method for adjusting call volume provided in Embodiment 2 of the present application.
[0219] The method provided in the second embodiment specifically includes:
[0220] S601. The electronic device 100 sets relevant user information for a first user.
[0221] For the relevant description about the electronic device 100 presetting multiple call scenarios and the default call volumes corresponding to the multiple call scenarios, and adjusting the call volumes corresponding to the multiple call scenarios to the first call volume according to user needs, please refer to the relevant description in S201, which will not be repeated here.
[0222] In some implementations, the electronic device 100 may also perform relevant settings for the call scene of the opposite user. The first user may include a contact. When the opposite user is a contact of the local user, the electronic device 100 may set a corresponding call scene for the contact.
[0223] The following describes how the electronic device 100 sets relevant user information for the first user in conjunction with the relevant user interface.
[0224] refer to Fig. 7A , Fig. 7A The user interface 700 is shown as an example. The user interface 700 may be a user interface in the contact application program provided by the system. The user interface 700 may include, but is not limited to: a contact name 701, a contact group 702, a contact phone number 703, a call scene selection box 704, and a selection control 705, etc. Among them, the contact group may be used to indicate the relationship between the opposite end user and the local end user. For example, the contact name 701 is "Xiao Ming" and the contact group 702 is "Family".
[0225] like Fig. 7A As shown, the prompt information displayed in the call scene selection box 704 is "to be selected". The electronic device 100 can respond to the user's click operation on the selection control 705, set a corresponding call scene for "Xiao Ming", and display the following Figure 7B The user interface 710 shown in FIG. 7 includes multiple call scene options. The electronic device 100 can respond to the user's click operation on the subway scene option 711, set the corresponding call scene for "Xiao Ming" as the subway scene, and display the following Figure 7C The user interface 720 shown. The prompt information in the call scene selection box 721 included in the user interface 720 is "subway scene", indicating that the electronic device 100 has completed setting the call scene for the contact "Xiao Ming".
[0226] In the embodiment of the present application, the above 7A to 7C The user interface shown is for illustrative purposes only and is not intended to be limiting.
[0227] In some implementations, the electronic device 100 may further set multiple contacts under a specific contact group, and may further set a specific call scenario for the contact group. That is, the peer users in the same group may correspond to the same call scenario. For example, if the electronic device 100 sets the call scenario for the "family" group in the contacts as the family scenario, then the call scenarios corresponding to all contacts in the "family" group are all family scenarios.
[0228] S602: The electronic device 100 receives a call request sent by a peer electronic device, or the electronic device 100 receives a user operation for requesting a call with a peer electronic device.
[0229] For a detailed description of S602, please refer to the relevant introduction of S201 above, which will not be repeated here.
[0230] S603: The electronic device 100 determines whether the opposite user is a target user.
[0231] In some implementations, the target user may include a contact stored in the electronic device 100. Specifically, the electronic device 100 may determine whether the opposite user is the target user based on whether the number identifier in the call request sent by the opposite electronic device is consistent with the number identifier of the contact stored in the electronic device 100; the electronic device 100 may also determine whether the opposite user is the target user based on whether the number identifier identified after receiving a user operation for requesting a call with the opposite electronic device is consistent with the number identifier of the contact stored in the electronic device 100.
[0232] In addition to contacts, the target user may also refer to a peer user with a specific identifier. Specifically, the electronic device 100 may identify the identifier of the incoming or outgoing number through the number identification service provided by the relevant application or the identification of the number by other users of other electronic devices of the same manufacturer as the local electronic device 100, and make a note of the incoming or outgoing number. For example, if the incoming or outgoing number is the customer service phone number of the express application, the electronic device 100 may note the number as "express"; if the incoming number is an advertising promotion call, the electronic device 100 may note the number as "advertising"; if the incoming number is a malicious harassment call, the electronic device 100 may note the number as "harassment call". Not limited to the above-mentioned number annotation methods, in the embodiments of the present application, there may be more or fewer number annotation methods.
[0233] In the embodiment of the present application, it is not limited to the above two types of target persons, and may also include more or fewer types of target persons, which is not limited to this.
[0234] S604: If the opposite user is the target user, the electronic device 100 obtains user information of the opposite user.
[0235] In some implementations, the electronic device 100 can determine whether the peer user is a target user by the relevant method in S605. The target user may include but is not limited to: a contact stored in the electronic device 100, a peer user with a special identifier, and the like.
[0236] When the other end user is a contact stored in the electronic device 100, the electronic device 100 can determine the contact number of the current call through the number identifier, and then obtain the other end user information, i.e., contact information, according to the contact number. The above contact information includes but is not limited to: the relationship between the contact and the local end user, the call scene set for the contact, the contact name, the contact notes, etc.
[0237] When the other party user is a special identifier, the electronic device 100 can determine the number of the other party user of the call through the number identifier, and then obtain the other party user information according to the number of the other party user. The other party user information includes but is not limited to: the call scene set for the other party user, number notes, etc.
[0238] S605: The electronic device 100 matches the target call scenario according to the user information, and displays an incoming call interface or an outgoing call interface.
[0239] In some implementations, matching the target call scenario according to the user information may include the following methods:
[0240] 1. Match the target call scenario based on the call scenario set for the contact.
[0241] The electronic device 100 can set a corresponding call scene for the contact in response to the user operation. That is, different contacts can correspond to different call scenes. For a specific introduction to the call scene corresponding to the contact set by the electronic device 100, please refer to the relevant description in the above step S603, which will not be repeated here. In this case, after the electronic device 100 determines that the opposite user is a contact among the target users through the number identification, the user information can be obtained, and the user information may include the call scene set for the contact, and then the target call scene is matched according to the user information.
[0242] 2. Match the target call scenario according to the call scenario set for the contact group.
[0243] The electronic device 100 can set corresponding call scenarios for contact groups in response to user operations. The contact group may refer to the relationship between the opposite user and the local user. For a specific introduction to the call scenarios corresponding to the contact groups set by the electronic device 100, please refer to the relevant description in the above step S603, which will not be repeated here. In this scenario, after the electronic device 100 determines that the opposite user is a contact of the target user through the number identification, the user information can be obtained, and the user information may include the relationship between the opposite user and the local user, and then the target call scenario is matched according to the user information.
[0244] 3. Match the target call scenario based on the number notes.
[0245] The electronic device 100 can set a corresponding call scene for the number note. For example, when the electronic device 100 notes the number as "express delivery", the call content may involve the user's privacy information, and the electronic device 100 sets the call scene corresponding to the number note as a privacy scene. For another example, when the electronic device 100 notes the number as "advertisement", the electronic device 100 sets the scene corresponding to the number note as a "fatigue scene". In this scenario, the electronic device 100 can match the target call scene according to the number note.
[0246] In the embodiments of the present application, the method is not limited to the above method, and more or fewer methods of determining the target call scenario based on the incoming call information may also be included, and there is no limitation on this.
[0247] In some implementations, after the electronic device 100 determines the target call scenario, it may display an incoming call interface or an outgoing call interface. The incoming call interface may be a user interface for receiving a call request when the electronic device 100 is a call receiving end. The outgoing call interface may be a user interface for initiating a call request when the electronic device 100 is a call initiating end.
[0248] The following describes the incoming call interface and the outgoing call interface displayed by S606 in conjunction with related interfaces.
[0249] refer to Fig. 8A , Fig. 8A The incoming call interface in the system application is exemplarily shown. After the electronic device 100 receives the call request sent by the other electronic device 100, the electronic device 100 can determine the target call scene according to the number identifier in the call request. The method of matching the target call scene can refer to the above description and will not be repeated here. The electronic device 100 can display a user interface 800. The user interface 800 includes caller information 801, call scene prompt information 802, answering control 803, and hang up control 804. The call scene prompt information 802 can display the text message "The current call scene is a subway scene", which means that the target call scene matched by the electronic device 100 according to the user information is a subway scene.
[0250] refer to Figure 8B , Figure 8B The example shows the outgoing call interface in the system application. Figure 4AA click operation on the dial control 303 in the user interface 300 can display the user interface 810. The electronic device 100 can determine the target call scenario based on the identifier of the number entered by the user in the user interface 300. The method of matching the target call scenario can refer to the above description and will not be repeated here. The user interface 810 includes caller information 811 and a call scenario prompt bar 812, wherein the call scenario prompt bar 812 includes prompt information 812A, a confirmation control 812B and a cancel control 812C. Prompt information 812A can display the text message "It is detected that the current user is adapted to the subway scene, do you want to apply it?", which means that the target call scenario matched by the electronic device 100 according to the user information is the subway scene. The electronic device 100 can respond to the user's click operation on the confirmation control 812B, determine that the call scenario currently used is the subway scene, and display the following. Figure 8C The user interface 820 shown. The user interface 820 exemplarily shows a scene in which the electronic device 100 is waiting for the other electronic device 100 to answer the call. The user interface 820 may include, but is not limited to: call prompt information 821, call scene reminder information 822, and hang up control 823. The call prompt information 821 is used to remind the user that the current call has not been connected and is waiting for the other electronic device 100 to answer. The call scene reminder information 822 is used to remind the user that the current call scene is a subway scene.
[0251] S606: The electronic device 100 plays sound at a call volume corresponding to the target call scenario.
[0252] In some implementations, after matching the target call scenario, the electronic device 100 can play the sound collected by the other electronic device at a call volume corresponding to the target call scenario.
[0253] If the electronic device 100 adjusts the call volume corresponding to the target call scenario from the default call volume to the first call volume, that is, the third call scenario in the above step S602 includes the target call scenario, the electronic device 100 answers the call at the first call volume corresponding to the target call scenario, or makes a call at the first call volume corresponding to the target call scenario.
[0254] If the electronic device 100 does not adjust the call volume corresponding to the target call scenario from the default call volume to the first call volume, that is, the third call scenario in the above step S602 does not include the target call scenario, the electronic device 100 answers the call at the default call volume corresponding to the target call scenario, or makes a call at the default call volume corresponding to the target call scenario.
[0255] It should be noted that when the electronic device 100 serves as the initiator of a call, after the electronic device 100 responds to the user's operation to determine the call application for the target call scenario, it is also necessary to receive a signal from the other electronic device 100 receiving the call request initiated by the electronic device 100 before it can play the sound collected by the other electronic device at the call volume corresponding to the target call scenario.
[0256] Step S606 is described below in conjunction with related interfaces.
[0257] After the electronic device 100 responds to the click operation on the answer control 803 in the user interface 800, it can display the following Fig. 9 User interface 900 is shown. User interface 900 exemplarily shows a scene in which electronic device 100 is in a call with a peer electronic device. User interface 900 includes, but is not limited to, call duration 901, call scene reminder information 902, and hang-up control 903. Call duration 901 is used to display the current call duration. Call scene reminder information 902 is used to remind the user that the current call scene is a subway scene.
[0258] When the electronic device 100 displays the user interface 820 , after the opposite electronic device receives the call request sent by the electronic device 100 , the electronic device 100 receives a receiving signal sent by the opposite electronic device and can switch to display the user interface 900 .
[0259] It is worth noting that, when the electronic device 100 serves as the initiator of the call, the electronic device 100 can initiate a call request to the electronic device at the other end after responding to the user's click operation on the dial control 303 in the user interface 300. The electronic device 100 can also initiate a call request to the electronic device at the other end during the process of matching the target call scene. The electronic device 100 can also initiate a call request to the electronic device at the other end after matching the target call scene, that is, when the electronic device 100 displays the user interface 810. The electronic device 100 can also send a call request to the electronic device at the other end after the user determines to apply the target call scene call, that is, when the electronic device 100 displays the user interface 820. In the embodiments of the present application, this is not limited.
[0260] In one possible implementation, after step S605, when the opposite user is not the target user, that is, the opposite user has no corresponding user information, has not added a relationship with the local user, and has not set a corresponding call scene, the electronic device 100 can directly use the method for adjusting the call volume provided in Example 1 to play the sound collected by the opposite electronic device, or play the sound collected by the opposite electronic device according to the call volume corresponding to the call scene applied to the historical call of the opposite user, or play the sound collected by the opposite electronic device according to the volume provided by the current audio device of the electronic device 100.
[0261] In a possible implementation, the method for adjusting the call volume can be applied not only to one-to-one call scenarios, but also to multi-person call scenarios. When the electronic device 100 determines the call scenario based on the user information of the opposite user, it is also necessary to determine the priorities of multiple opposite users, and determine the call scenario based on the user information of the opposite user with the highest priority.
[0262] Exemplarily, the electronic device 100 accesses a multi-person call, and there are two opposite-end users in the multi-person call, namely, contact A and contact B. Among them, contact A is a pinned contact in the contact list of the electronic device 100, and the call scene of contact A is set to an intimate scene, and contact B is a non-pinned contact in the contact list of the electronic device 100, and the call scene of contact B is set to a work scene. When accessing the multi-person call, the electronic device 100 determines that the priority of contact A is higher than the priority of contact B, and then the electronic device 100 determines that the call scene of the multi-person call is an intimate scene based on the user information of contact A, and adjusts the call volume of the electronic device 100 when accessing the multi-person call to the call volume corresponding to the intimate scene.
[0263] The priority is set in the following ways:
[0264] 1. The priority of the contact groups set in the electronic device 100. For example, the priority of the contacts in the family group is higher than that of the contacts in the friends group, and the priority of the contacts in the friends group is higher than that of the contacts in the colleagues group.
[0265] 2. The priority of the contact notes set in the electronic device 100. For example, contacts with notes have a higher priority than contacts without notes. The notes here refer to nicknames, nicknames, etc. set by the user in addition to the contact name.
[0266] 3. The priority of the location of the number of the contact making the call. For example, the priority of the contact whose number location is consistent with that of the user is higher than the priority of the contact whose number location is inconsistent with that of the user.
[0267] Not limited to the above methods, there may be more or fewer settings for the priority of contacts in the embodiment of the present application.
[0268] In a possible implementation, the current location of the electronic device 100 may affect the order of priority. When the electronic device 100 obtains that the current location is a house, the priority of the friend group contact is higher than the priority of the colleague group contact; when the electronic device 100 obtains that the current location is a company, the priority of the colleague group contact is higher than the priority of the friend group contact. In the embodiment of the present application, this is not limited.
[0269] S607: The electronic device 100 sends the background sound corresponding to the target call scenario to the opposite electronic device, and the background sound is played by the opposite electronic device.
[0270] For a detailed description of S607, please refer to the relevant introduction of S206 above, which will not be repeated here.
[0271] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0272] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.
[0273] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0274] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for adjusting call volume, characterized in that: The method is applied to an electronic device, and the method comprises: The electronic device receives a call request sent by the opposite electronic device, and displays a first interface, wherein the first interface includes a first call scenario option and a second call scenario option, wherein the first call scenario option corresponds to a first call scenario, and the second call scenario option corresponds to the second call scenario, and the first call scenario is different from the second call scenario; The electronic device establishes a call connection with the opposite electronic device in response to the operation of selecting the first call scenario option; The electronic device plays a sound at a call volume corresponding to the first call scenario; The electronic device sends the background sound corresponding to the first call scenario to the opposite electronic device, and the background sound is played by the opposite electronic device.
2. The method according to claim 1, characterized in that After the electronic device establishes a call connection with the opposite electronic device, the method further includes: The electronic device displays a second interface, where the second interface includes first prompt information, and the first prompt information is used to prompt that the current call scenario is the first call scenario.
3. A method for adjusting call volume, characterized in that: The method is applied to an electronic device, and the method comprises: The electronic device displays a third interface in response to a user's operation of making a call, wherein the third interface includes a first call scenario option and a second call scenario option, wherein the first call scenario option corresponds to a first call scenario, and the second call scenario option corresponds to a second call scenario, and the first call scenario is different from the second call scenario; The electronic device initiates a call request to the other electronic device in response to the operation of selecting the first call scenario option; After receiving the information that the opposite electronic device confirms the call request, the electronic device establishes a call connection with the opposite electronic device; The electronic device plays sound at a call volume corresponding to the first call scenario; the electronic device sends the background sound corresponding to the first call scenario to the opposite electronic device, and the background sound is played by the opposite electronic device.
4. The method according to any one of claims 1 to 3, characterized in that After the electronic device plays a sound at a call volume corresponding to the first call scenario, the method further includes: The electronic device displays a fourth interface, and the third interface includes second prompt information; the second prompt information is used to prompt that the current call scenario is the first call scenario.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The peer electronic devices include multiple ones, and the number of peer user information of the peer electronic devices includes multiple ones, and the second call scenario is the call scenario corresponding to the peer user information with the highest priority among the multiple peer user information.
6. The method according to claim 5, characterized in that The correspondence between the peer user information and the second call scenario is set by a local user of the electronic device, or is preset by the electronic device.
7. The method according to any one of claims 1 to 6, characterized in that The first call scenario or the second call scenario is determined by the electronic device based on one or more of the following: the environment of the local user, the status of the local user, the information of the opposite user, the relationship between the opposite user and the local user, and the current time.
8. The method according to any one of claims 1 to 7, characterized in that After the electronic device plays the sound at the call volume corresponding to the first call scenario, the method further includes: the electronic device plays the background sound.
9. The method according to any one of claims 1 to 8, characterized in that Before the electronic device plays a sound at a call volume corresponding to the first call scenario, the method further includes: The electronic device performs voice modification processing on the sound; The electronic device playing the sound at the call volume corresponding to the first call scenario specifically includes: The electronic device plays the voice-changed sound at a call volume corresponding to the first call scenario.
10. An electronic device, characterized in that: The electronic device comprises a memory, one or more processors, and one or more programs; when the one or more processors execute the one or more programs, the electronic device implements the method as claimed in any one of claims 1 to 9.
11. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 9.
Citation Information
Cited By
Call method and related equipment
CN120434323A
