









技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种通话控制方法及电子设备。The embodiments of the present application relate to the field of communication technologies, and in particular, to a call control method and an electronic device.
背景技术Background technique
随着电子技术及通信技术的发展,电子设备(例如智能手机)的功能越来越多样化,其应用程序也越来越丰富,人们可以利用电子设备学习、工作、社交等。例如,用户可以随时随地,通过手机拨打电话或者接听电话,非常方便。With the development of electronic technology and communication technology, the functions of electronic devices (such as smart phones) are becoming more and more diverse, and their application programs are more and more abundant. People can use electronic devices to study, work, and socialize. For example, users can make or receive calls through their mobile phones anytime and anywhere, which is very convenient.
以通过手机接听电话为例,在手机接收到来电请求信号时,手机界面上通常会显示“接听”选项和“挂断”选项。在用户选择“接听”选项触发电话接通后,由于电子设备通常为用户预设听筒接听方式(即采用受话器输出音频信号)接听电话,因此用户需要将手机靠近耳边才能听清楚对方说明,此时接听音量为默认音量或者为之前用户调节后的音量。如果此时用户发现声音过大,那么用户可以通过手动按压音量调节按键以减小接听音量;如果此时用户发现声音过小,那么用户可以通过手动按压音量调节按键以增大接听音量。Taking answering a call through a mobile phone as an example, when the mobile phone receives an incoming call request signal, the "answer" option and the "hang up" option are usually displayed on the mobile phone interface. After the user selects the "answer" option to trigger the call to be connected, since the electronic device usually presets the handset answering method for the user (that is, using the receiver to output audio signals) to answer the call, the user needs to put the phone close to the ear to hear the other party's instructions clearly. The listening volume is the default volume or the volume adjusted by the previous user. If the user finds that the sound is too loud at this time, the user can manually press the volume adjustment button to decrease the answering volume; if the user finds that the sound is too low at this time, the user can manually press the volume adjustment button to increase the answering volume.
然而,用户在接听电话时只能接受系统预设的接听方式,以特定接听音量来接听电话,这样用户通常需要在接通电话后通过调节接听音量或切换接听方式等一系列繁琐操作,达到提高通话效果的目的。因此,目前来电场景或去电场景中控制通话性能的灵活性较差。However, when answering a call, the user can only accept the answering method preset by the system and answer the call with a specific answering volume. In this way, the user usually needs to adjust the answering volume or switch the answering method after a series of tedious operations to improve the quality of the call. The purpose of the call effect. Therefore, currently, the flexibility of controlling the call performance in the incoming call scenario or the outgoing call scenario is poor.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通话控制方法及电子设备,以解决来电场景或去电场景中控制通话性能的灵活性较差的问题。Embodiments of the present application provide a call control method and electronic device to solve the problem of poor flexibility in controlling call performance in an incoming call scenario or an outgoing call scenario.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种通话控制方法,应用于电子设备,该方法包括:在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;接收用户对该M个音量控件中的第一音量控件的第一输入;响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。In a first aspect, an embodiment of the present application provides a call control method, which is applied to an electronic device. The method includes: when a call request signal is detected, displaying a call request interface, where the call request interface includes M volume controls , M volume controls are in one-to-one correspondence with M kinds of audio output modes, each volume control is used to control the volume value of the audio signal output by the electronic device, and M is a positive integer; the first volume control in the M volume controls is received by the user. the first input; in response to the first input, according to the audio output mode corresponding to the first volume control, use the first volume value to output the audio signal; wherein, the first volume value is the first input on the first volume control The volume value corresponding to the touch end position of .
第二方面,本申请实施例提供了一种电子设备,该电子设备包括第一显示模块、第一接收模块和第一控制模块。第一显示模块用于在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数。第一接收模块用于接收用户对第一显示模块显示的该M个音量控件中的第一音量控件的第一输入。第一控制模块用于响应于第一接收模块接收的第一输入,按照与第一音量控件对应的音频输出方式,采用第一音量值输出音频信号。其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a first display module, a first receiving module, and a first control module. The first display module is used to display a call request interface when a call request signal is detected. The call request interface includes M volume controls, and the M volume controls are in one-to-one correspondence with the M audio output modes, and each volume control Used to control the volume value of the audio signal output by the electronic device, M is a positive integer. The first receiving module is configured to receive a first input from a user to a first volume control among the M volume controls displayed by the first display module. The first control module is configured to, in response to the first input received by the first receiving module, output an audio signal with a first volume value according to an audio output mode corresponding to the first volume control. The first volume value is the volume value corresponding to the touch end position of the first input on the first volume control.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的通话控制方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to implement the above-mentioned first The steps of a call control method in an aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的通话控制方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of the call control method in the first aspect.
在本申请实施例中,可以在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;接收用户对该M个音量控件中的第一音量控件的第一输入;响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。本申请实施例提供的通话控制方法可以应用于电子设备检测到通话请求信号且显示通话请求界面时选择接听方式及接听音量的场景中,由于本申请实施例在通话请求界面上提供了多个音量控件,每个音量控件对应一种音频输出方式(即接听方式),因此用户可以通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小,如此为用户在接听电话的场景中提供了更多选择,大大提升了通话效果。In the embodiment of the present application, when a call request signal is detected, a call request interface may be displayed, and the call request interface includes M volume controls, and the M volume controls correspond to the M audio output modes one-to-one. The volume control is used to control the volume value of the audio signal output by the electronic device, and M is a positive integer; the first input from the user to the first volume control in the M volume controls is received; The audio output mode corresponding to the control uses the first volume value to output the audio signal; wherein, the first volume value is the volume value corresponding to the touch end position of the first input on the first volume control. The call control method provided by the embodiment of the present application can be applied to the scenario where the electronic device detects the call request signal and displays the call request interface and selects the answering method and the answering volume. Since the embodiment of the present application provides multiple volume levels on the call request interface Controls, each volume control corresponds to an audio output mode (that is, answering mode), so the user can touch the call request interface (that is, the first input to the volume control), not only can the electronic device support more You can choose which answering method to answer the call from among the answering methods, and you can also choose the volume level when answering the call in this answering method, which provides the user with more choices in the scene of answering the phone, and greatly improves the call effect.
附图说明Description of drawings
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present application;
图2为本申请实施例提供的通话控制方法的流程示意图;2 is a schematic flowchart of a call control method provided by an embodiment of the present application;
图3为本申请实施例提供的通话控制方法应用的界面示意图之一;FIG. 3 is one of interface schematic diagrams of the application of the call control method provided by the embodiment of the present application;
图4为本申请实施例提供的通话控制方法应用的界面示意图之二;FIG. 4 is the second schematic diagram of the interface of the application of the call control method provided by the embodiment of the present application;
图5为本申请实施例提供的通话控制方法应用的界面示意图之三;FIG. 5 is the third interface schematic diagram of the application of the call control method provided by the embodiment of the present application;
图6为本申请实施例提供的通话控制方法应用的界面示意图之四;FIG. 6 is the fourth schematic diagram of the interface of the application of the call control method provided by the embodiment of the present application;
图7为本申请实施例提供的通话控制方法应用的界面示意图之五;FIG. 7 is the fifth schematic diagram of the interface of the application of the call control method provided by the embodiment of the present application;
图8为本申请实施例提供的通话控制方法应用的界面示意图之六;FIG. 8 is the sixth schematic diagram of the interface of the application of the call control method provided by the embodiment of the present application;
图9为本申请实施例提供的电子设备的结构示意图;9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图10为本申请实施例提供的电子设备的硬件示意图。FIG. 10 is a schematic hardware diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一音量控件和第二音量控件等是用于区别不同的音量控件,而不是用于描述音量控件的特定顺序。The terms "first" and "second" and the like in the specification and claims herein are used to distinguish between different objects, rather than to describe a particular order of the objects. For example, the first volume control, the second volume control, etc. are used to distinguish different volume controls, rather than to describe a specific order of the volume controls.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present application, unless otherwise specified, the meaning of "plurality" refers to two or more, for example, a plurality of processing units refers to two or more processing units, etc.; a plurality of An element refers to two or more elements or the like.
本申请实施例提供一种通话控制方法及电子设备,可以在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;接收用户对该M个音量控件中的第一音量控件的第一输入;响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。本申请实施例提供的通话控制方法可以应用于电子设备检测到通话请求信号且显示通话请求界面时选择接听方式及接听音量的场景中,由于本申请实施例在通话请求界面上提供了多个音量控件,每个音量控件对应一种音频输出方式(即接听方式),因此用户可以通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小,如此为用户在接听电话的场景中提供了更多选择,大大提升了通话效果。Embodiments of the present application provide a call control method and electronic device, which can display a call request interface when a call request signal is detected, and the call request interface includes M volume controls, M volume controls and M types of audio outputs One-to-one correspondence, each volume control is used to control the volume value of the audio signal output by the electronic device, and M is a positive integer; receive the first input from the user to the first volume control in the M volume controls; in response to the first input , according to the audio output mode corresponding to the first volume control, the first volume value is used to output the audio signal; wherein, the first volume value is the volume value corresponding to the touch end position of the first input on the first volume control. The call control method provided by the embodiment of the present application can be applied to the scenario where the electronic device detects the call request signal and displays the call request interface and selects the answering method and the answering volume. Since the embodiment of the present application provides multiple volume levels on the call request interface Controls, each volume control corresponds to an audio output mode (that is, answering mode), so the user can touch the call request interface (that is, the first input to the volume control), not only can the electronic device support more You can choose which answering method to answer the call from among the answering methods, and you can also choose the volume level when answering the call in this answering method, which provides the user with more choices in the scene of answering the phone, and greatly improves the call effect.
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be an electronic device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
下面以安卓操作系统为例,介绍一下本申请实施例提供的通话控制方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the call control method provided by the embodiment of the present application is applied.
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present application. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的通话控制方法的软件程序,从而使得该通话控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的通话控制方法。Taking the Android operating system as an example, in this embodiment of the present application, a developer can develop a software program for implementing the call control method provided by the embodiment of the present application based on the system architecture of the Android operating system as shown in FIG. The control method can run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the call control method provided by the embodiments of the present application by running the software program in the Android operating system.
本申请实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). ), etc., the non-mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
本申请实施例提供的通话控制方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该通话控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,结合各个附图对本申请实施例提供的通话控制方法进行示例性的说明。The executive body of the call control method provided by the embodiment of the present application may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device capable of implementing the call control method, and the specific one may be determined according to actual use requirements. The embodiments of the present application are not limited. The call control method provided by the embodiments of the present application is exemplarily described below by taking an electronic device as an example and with reference to the accompanying drawings.
如图2所示,本申请实施例提供一种通话控制方法,该通话控制方法可以包括下述的步骤201-步骤203。As shown in FIG. 2, an embodiment of the present application provides a call control method, and the call control method may include the following steps 201-203.
步骤201、电子设备在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,该M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值。
在一种可能的实现方式中,上述通话请求信号可以为来电请求信号,即在电子设备接收到另一电子设备的通话请求的场景中,电子设备可以显示通话请求界面,此时通话请求界面为来电请求界面。In a possible implementation manner, the above-mentioned call request signal may be an incoming call request signal, that is, in a scenario where the electronic device receives a call request from another electronic device, the electronic device may display a call request interface, and at this time, the call request interface is Call request interface.
在一种可能的实现方式中,通话请求信号也可以为去电请求信号,即在电子设备向另一电子设备拨打电话以请求通话的场景中,电子设备可以显示通话请求界面,此时通话请求界面为去电请求界面。In a possible implementation manner, the call request signal may also be an outgoing call request signal, that is, in a scenario where the electronic device makes a call to another electronic device to request a call, the electronic device may display a call request interface, and the call request The interface is the outgoing call request interface.
其中,M可以为正整数。即,电子设备显示的通话请求界面可以包括一个或多个音量控件,每个音量控件对应一个音频输出方式,每个音量控件用于控制电子设备采用对应音频输出方式输出音频信号时的音量值。Among them, M can be a positive integer. That is, the call request interface displayed by the electronic device may include one or more volume controls, each volume control corresponds to an audio output mode, and each volume control is used to control the volume value when the electronic device outputs audio signals in the corresponding audio output mode.
可选的,本申请实施例中,上述M个音量控件中的每个音量控件可以为条状音量控件,例如音量进度条;也可以为环状音量控件,或者可以为其它任意可能显示形式的音量控件,具体可根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, each volume control in the above-mentioned M volume controls may be a bar-shaped volume control, such as a volume progress bar; may also be a ring-shaped volume control, or may be any other possible display form. The volume control can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
本申请实施例中,对于每个音量控件而言,音量控件上的不同位置可以对应不同的音量值。即,用户可以通过在音量控件上的不同位置触控,选择在接听电话时的音频输出音量值。In this embodiment of the present application, for each volume control, different positions on the volume control may correspond to different volume values. That is, the user can select the audio output volume value when answering a call by touching different positions on the volume control.
示例性的,以音量控件为音量进度条为例,在音量控件的长度方向上的不同位置各自对应的音量值依次增大或依次减小,这样用户可以通过在音量进度条上滑动输入,选择相应的音量值。例如,若用户在音量控件上沿音量增大方向滑动,则滑动过程中音量值依次增大;若用户在音量控件上沿音量减小方向滑动,则滑动过程中音量值依次减小。Exemplarily, taking the volume control as the volume progress bar as an example, the respective volume values corresponding to different positions in the length direction of the volume control increase or decrease in turn, so that the user can slide the input on the volume progress bar to select corresponding volume value. For example, if the user slides on the volume control in the direction of increasing the volume, the volume value increases sequentially during the sliding process; if the user slides on the volume control in the direction of decreasing the volume, the volume value decreases sequentially during the sliding process.
需要说明的是,上述M个音量控件的显示形式可以均相同,也可以部分相同,或者可以均不同,具体可根据实际使用需求确定,本申请实施例不作限定。It should be noted that, the display forms of the above M volume controls may all be the same, may be partially the same, or may be different, which may be determined according to actual usage requirements, which are not limited in the embodiments of the present application.
步骤202、电子设备接收用户对M个音量控件中的第一音量控件的第一输入。Step 202: The electronic device receives a first input from a user to a first volume control among the M volume controls.
本申请实施例中,在电子设备检测到通话请求信号且显示通话请求界面的情况下,如果用户需要选择以某种接听方式接听电话并选择接听电话时的音量大小,那么此时用户可以在通话请求界面中的M个音量控件中的第一音量控件上进行第一输入。In the embodiment of the present application, when the electronic device detects the call request signal and displays the call request interface, if the user needs to select a certain answering method to answer the call and select the volume level when answering the call, then the user can call A first input is performed on a first volume control among the M volume controls in the request interface.
步骤203、电子设备响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号。Step 203: In response to the first input, the electronic device outputs an audio signal using a first volume value according to an audio output mode corresponding to the first volume control.
其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。The first volume value is the volume value corresponding to the touch end position of the first input on the first volume control.
在相关技术中,在来电或去电的场景中,电子设备通常在通话请求界面中仅提供一种接听方式(例如受话器接听方式),如果用户要接听电话,那么用户只能选择以该接听方式接听电话。本申请实施例中,在来电或去电的场景中,电子设备的通话请求界面中提供了多种接听方式供用户选择;如果用户要接听电话,那么用户可以根据实际使用需求,在多种接听方式中选择一种接听方式。In the related art, in the scenario of an incoming call or an outgoing call, the electronic device usually only provides one answering method (for example, the receiver answering method) in the call request interface. If the user wants to answer the call, the user can only choose this answering method. answer the phone. In the embodiment of the present application, in the scenario of an incoming call or an outgoing call, the call request interface of the electronic device provides a variety of answering methods for the user to choose; Choose an answering method.
可以理解,不同的接听方式对应于不同的音频输出方式。It can be understood that different answering modes correspond to different audio output modes.
示例性的,在用户选择免提接听方式的情况下,电子设备采用扬声器输出音频信号。在用户选择听筒接听方式的情况下,电子设备采用受话器输出音频信号。Exemplarily, when the user selects the hands-free answering mode, the electronic device uses the speaker to output the audio signal. In the case that the user selects the receiver answering mode, the electronic device uses the receiver to output audio signals.
可选的,本申请实施例中,上述M种音频输出方式可以包括以下(1)至(4)中的至少一项:Optionally, in this embodiment of the present application, the above-mentioned M audio output modes may include at least one of the following (1) to (4):
(1)采用电子设备中的受话器输出音频信号的方式。(1) Adopt the method of outputting audio signal from the receiver in the electronic device.
其中,采用受话器输出音频信号的方式对应于听筒接听方式。Wherein, the way of using the receiver to output the audio signal corresponds to the way of receiving the receiver.
(2)采用电子设备中的扬声器输出音频信号的方式。(2) The method of outputting the audio signal by the speaker in the electronic device is adopted.
其中,采用扬声器输出音频信号的方式对应于免提接听方式。Wherein, the way of using the speaker to output the audio signal corresponds to the way of hands-free answering.
(3)采用与电子设备连接的无线音频设备输出音频信号的方式。(3) A method of outputting audio signals from a wireless audio device connected to an electronic device is adopted.
其中,采用无线音频设备输出音频信号的方式对应于无线接听方式。Wherein, the method of using the wireless audio device to output the audio signal corresponds to the wireless answering method.
可选的,上述无线音频设备可以为无线耳机,也可以为无线音响,或者可以为其它任意可能的通过无线连接方式接入的音频设备,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the above-mentioned wireless audio device may be a wireless earphone, a wireless audio device, or any other possible audio device connected through a wireless connection, which can be determined according to actual usage requirements, and is not limited in the embodiments of the present application. .
(4)采用与电子设备连接的有线音频设备输出音频信号的方式。(4) The method of outputting the audio signal by the wired audio device connected with the electronic device is adopted.
其中,采用有线音频设备输出音频信号的方式对应于有线接听方式。Wherein, the method of using the wired audio device to output the audio signal corresponds to the wired answering method.
可选的,上述有线音频设备可以为有线耳机,也可以为有线音响,或者可以为其它任意可能的通过有线连接方式接入的音频设备,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the above-mentioned wired audio device may be a wired earphone, a wired audio device, or any other possible audio device connected through a wired connection, which can be determined according to actual usage requirements, and is not limited in the embodiments of the present application. .
本申请实施例中,在电子设备检测到通话请求信号且显示通话请求界面的情况下,在接通电话之前,用户通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小。In the embodiment of the present application, when the electronic device detects the call request signal and displays the call request interface, before connecting the call, the user performs a touch operation on the call request interface (ie, the first input to the volume control) , not only can choose which answering method to answer the call from among the various answering methods supported by the electronic device, but also can choose the volume level when answering the call in this answering method.
可选的,本申请实施例中,上述第一输入可以为用户(例如通过手指或触控笔)在第一音量控件上的滑动输入,也可以为用户在第一音量控件上的点击输入(例如单击输入或双击输入),或者可以为其它任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned first input may be a user's sliding input (for example, through a finger or a stylus) on the first volume control, or may be a user's click input on the first volume control ( For example, single-click input or double-click input), or can be any other possible input, which can be determined according to actual usage requirements, which is not limited in the embodiments of the present application.
示例性的,若第一输入为用户手指单击第一音量控件上的第一位置,此时第一位置即为上述的触控终点位置,则电子设备可以将第一音量控件上的第一位置对应的音量值,确定为第一音量值。Exemplarily, if the first input is that the user's finger clicks the first position on the first volume control, and the first position is the above-mentioned touch end position, the electronic device can change the first position on the first volume control to the first position. The volume value corresponding to the position is determined as the first volume value.
又示例性的,若第一输入为用户手指从第一音量控件上的第二位置滑动到第一音量控件上的第三位置,此时第三位置即为上述的触控终点位置,则电子设备可以将第一音量控件上的第三位置对应的音量值,确定为第一音量值。Another example, if the first input is that the user's finger slides from the second position on the first volume control to the third position on the first volume control, and the third position is the above-mentioned touch end position, then the electronic The device may determine the volume value corresponding to the third position on the first volume control as the first volume value.
可以理解,在用户手指滑动选择接听方式的同时,通过手指滑动的程度来对应不同的音量大小,例如当手指滑动较小幅度时,对应的接听音量较小,当手指滑动幅度较大时,对应接听音量较大。It can be understood that when the user slides the finger to select the answering mode, the degree of the finger slide corresponds to different volume levels. For example, when the finger slides a small amount, the corresponding answering volume is small, and when the finger slides a large amount, the corresponding volume is smaller. The listening volume is louder.
下面以通话请求信号为来电请求信号(即电子设备接到来电请求信号的场景)为例,对本申请实施例提供的通话控制方法进行示例性的描述。The call control method provided by the embodiment of the present application is exemplarily described below by taking the call request signal as an incoming call request signal (that is, a scenario where the electronic device receives the incoming call request signal) as an example.
示例性的,如图3所示,若电子设备检测到另一电子设备发送的来电请求信号,则电子设备显示通话请求界面31,该通话请求界面31中包括多个选项,例如挂断选项32(即拒绝接听的控件)、免提接听选项33(即采用扬声器输出音频信号)和听筒接听选项34(即采用受话器输出音频信号),供用户选择。Exemplarily, as shown in FIG. 3, if the electronic device detects an incoming call request signal sent by another electronic device, the electronic device displays a
其中,与相关技术中通话请求界面中仅包括单个接听选项,即电子设备仅支持一种接听方式(例如听筒接听方式)不同的是,本申请实施例中通话请求界面中可以包括多个接听选项,这多个选项分别对应电子设备当前支持的多种音频输出方式(即多种接听方式,包括但不限于听筒接听方式),如此为用户在接听电话的场景中提供了更多选择。Wherein, unlike the call request interface in the related art that only includes a single answering option, that is, the electronic device supports only one answering method (for example, a handset answering method), the call request interface in the embodiment of the present application may include multiple answering options. , these multiple options correspond to multiple audio output modes currently supported by the electronic device (ie multiple answering modes, including but not limited to handset answering modes), thus providing users with more choices in the scenario of answering calls.
并且,本申请实施例中,通话请求界面中可以包括分别对应不同接听方式的多个音量控件,该音量控件可以支持用户在接听电话时选择合适的音量值。这样用户在接到来电时可以根据实际使用需求,选择在接听电话时电子设备输出音频信号的音量大小,方便快捷。Furthermore, in this embodiment of the present application, the call request interface may include a plurality of volume controls corresponding to different answering modes, and the volume controls may support the user to select an appropriate volume value when answering a call. In this way, when a user receives an incoming call, he or she can select the volume of the audio signal output by the electronic device when answering a call, which is convenient and quick.
下面结合图4至图7,示例性的说明电子设备在接到来电时来电请求界面的可能显示内容以及如电子设备何控制在接听电话时电子设备输出音频信号的音量大小。4 to 7 , the possible display contents of the incoming call request interface when the electronic device receives a call and how the electronic device controls the volume of the audio signal output by the electronic device when receiving a call are exemplarily described below.
在一个示例中,结合图3,如图4中的(a)所示,通话请求界面31中包括两个音量控件:与免提接听选项对应的音量控件35以及与听筒接听选项对应的音量控件36。In an example, referring to FIG. 3 , as shown in (a) of FIG. 4 , the
这样,若用户在音量控件35上进行第一输入,则电子设备可以将第一输入在音量控件35上的触控终点位置对应的音量值确定为第一音量值,然后电子设备按照扬声器输出音频信号的方式,采用第一音量值输出音频信号,从而实现免提接听。In this way, if the user performs the first input on the
或者,若用户在音量控件36上进行第一输入,则电子设备可以将第一输入在音量控件36上的触控终点位置对应的音量值确定为第一音量值,然后电子设备按照受话器输出音频信号的方式,采用第一音量值输出音频信号,从而实现听筒接听。Alternatively, if the user performs the first input on the
当然,本申请实施例不限定通话请求界面中各个控件的布局以及显示形式,如图4中的(b)所示的通话请求界面31中各个控件的布局不同于图4中的(a)所示的通话请求界面31中各个控件的布局。可以理解,在实际实现时,还可以包括通话请求界面中各个控件的其它可能布局。Of course, the embodiment of the present application does not limit the layout and display form of each control in the call request interface. The layout of each control in the
需要说明的是,上述通话请求界面中的接听选项及其对应的音量控件可以为多功能集成的单个控件,也可以为相互关联的分别具有独立功能的两个控件。具体可以根据实际使用需求确定,本申请实施例不作限定。It should be noted that the answering option and its corresponding volume control in the above-mentioned call request interface may be a single control integrated with multiple functions, or may be two interrelated controls with independent functions respectively. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
在另一示例中,图5中的(a)示出了本申请实施例提供的通话控制方法中的另一通话请求界面示意图。如图5中的(a)所示,在电子设备接收到另一电子设备的来电请求信号的情况下,电子设备显示通话请求界面41,该通话请求界面41中包括三个音量控件:与免提接听选项对应的音量控件42、与听筒接听选项对应的音量控件43,以及与有线接听选项对应的音量控件44,如此为用户在接听电话的场景中提供了更多选择。此外,图5中的(b)示出了本申请实施例提供的通话控制方法中的再一通话请求界面示意图。In another example, (a) in FIG. 5 shows a schematic diagram of another call request interface in the call control method provided by the embodiment of the present application. As shown in (a) of FIG. 5, when the electronic device receives an incoming call request signal from another electronic device, the electronic device displays a
在再一示例中,图6示出了本申请实施例提供的通话控制方法中的又一通话请求界面示意图。如图6所示,在电子设备接收到另一电子设备的来电请求信号的情况下,电子设备显示通话请求界面51,该通话请求界面51中包括三个音量控件:与免提接听选项对应的音量控件52、与听筒接听选项对应的音量控件53、与无线接听选项对应的音量控件54,如此为用户在接听电话的场景中提供了更多选择。In yet another example, FIG. 6 shows a schematic diagram of another call request interface in the call control method provided by the embodiment of the present application. As shown in FIG. 6, when the electronic device receives an incoming call request signal from another electronic device, the electronic device displays a
在又一示例中,图7示出了本申请实施例提供的通话控制方法中的还一通话请求界面示意图。如图7所示,在电子设备接收到另一电子设备的来电请求信号的情况下,电子设备显示通话请求界面61,该通话请求界面61中包括四个音量控件:与免提接听选项对应的音量控件62、与听筒接听选项对应的音量控件63、与有线接听选项对应的音量控件64,以及与无线接听选项对应的音量控件65,如此为用户在接听电话的场景中提供了更多选择。In yet another example, FIG. 7 shows a schematic diagram of yet another call request interface in the call control method provided by the embodiment of the present application. As shown in FIG. 7 , when the electronic device receives an incoming call request signal from another electronic device, the electronic device displays a
在一个示例性场景中,当用户使用手机时用有线或无线耳机听歌或看电影时有电话呼入,如果用户想选择耳机接听电话,考虑到音量过大对听力不好,音量过小又听不清,那么此时用户就可以直接选择合适的音量来接听。同样,如果用户想选择扬声器接听,就可以直接选择最大音量接听,确保通话能够听清,提高通话效果。In an exemplary scenario, when a user uses a mobile phone to listen to a song or watch a movie with a wired or wireless headset, there is an incoming call. If the user wants to select a headset to answer the call, considering that the volume is too high, it is bad for hearing, and the volume is too low. If you cannot hear clearly, then the user can directly select the appropriate volume to answer. Similarly, if the user wants to select the speaker to answer, he can directly select the maximum volume to answer to ensure that the call can be heard clearly and improve the call effect.
本申请实施例提供的通话控制方法,可以在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;接收用户对该M个音量控件中的第一音量控件的第一输入;响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。本申请实施例提供的通话控制方法可以应用于电子设备检测到通话请求信号且显示通话请求界面时选择接听方式及接听音量的场景中,由于本申请实施例在通话请求界面上提供了多个音量控件,每个音量控件对应一种音频输出方式(即接听方式),因此用户可以通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小,如此为用户在接听电话的场景中提供了更多选择,大大提升了通话效果。The call control method provided by the embodiment of the present application can display a call request interface when a call request signal is detected. The call request interface includes M volume controls, and the M volume controls correspond to M audio output modes one-to-one. , each volume control is used to control the volume value of the audio signal output by the electronic device, and M is a positive integer; receive the first input from the user to the first volume control in the M volume controls; in response to the first input, according to the The audio output mode corresponding to the first volume control adopts a first volume value to output the audio signal; wherein, the first volume value is the volume value corresponding to the touch end position of the first input on the first volume control. The call control method provided by the embodiment of the present application can be applied to the scenario where the electronic device detects the call request signal and displays the call request interface and selects the answering method and the answering volume. Since the embodiment of the present application provides multiple volume levels on the call request interface Controls, each volume control corresponds to an audio output mode (that is, answering mode), so the user can touch the call request interface (that is, the first input to the volume control), not only can the electronic device support more You can choose which answering method to answer the call from among the answering methods, and you can also choose the volume level when answering the call in this answering method, which provides the user with more choices in the scene of answering the phone, and greatly improves the call effect.
可选的,本申请实施例中,在电子设备接收到来电请求信号并显示通话请求界面的情况下,电子设备可以响应于用户对通话请求界面中的第一音量控件的第一输入,确定以第一音频输出方式,采用第一音量值输出音频信号,并且接通电话。Optionally, in this embodiment of the present application, when the electronic device receives the incoming call request signal and displays the call request interface, the electronic device may, in response to the user's first input to the first volume control in the call request interface, determine to use the call request interface. In the first audio output mode, the audio signal is output using the first volume value, and the phone is connected.
示例性的,在上述图2的步骤202之后,本申请实施例提供的通话控制方法还可以包括下述的步骤204。Exemplarily, after
步骤204、电子设备响应于第一输入,与目标电子设备建立通话连接,并显示通话响应界面。Step 204, the electronic device establishes a call connection with the target electronic device in response to the first input, and displays a call response interface.
其中,该目标电子设备为向电子设备发送通话请求信号的电子设备。The target electronic device is an electronic device that sends a call request signal to the electronic device.
本申请实施例中,在电子设备接收到目标电子设备发送的来电请求信号并显示通话请求界面的情况下,在接通电话之前,用户通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以选择以某一接听方式接听电话时的音量大小,而且可以触发电话被接通。In the embodiment of the present application, when the electronic device receives the incoming call request signal sent by the target electronic device and displays the call request interface, before the call is connected, the user performs a touch operation on the call request interface (that is, the volume control The first input), not only can choose the volume level when answering the call in a certain answering mode, but also can trigger the call to be connected.
示例性的,假设第一音量控件为免提接听选项(采用扬声器输出音频信号的方式)对应的音量控件,若用户在第一音量控件上的第一位置点击并松手后,则电子设备接通电话,并采用扬声器输出音频信号的方式,以根据第一位置确定的第一音量值输出音频信号,从而实现在接听电话时以合适的音量免提接听。Exemplarily, assuming that the first volume control is the volume control corresponding to the hands-free answering option (using the speaker to output audio signals), if the user clicks and releases the hand at the first position on the first volume control, the electronic device is turned on. A phone is used, and the speaker outputs an audio signal to output an audio signal with a first volume value determined according to the first position, so as to realize hands-free answering with an appropriate volume when answering a call.
再示例性的,假设第一音量控件为有线接听选项(例如采用有线耳机输出音频信号的方式)对应的音量控件,若用户从第一音量控件上的第二位置滑动到第三位置并松手后,则电子设备接通电话,并采用有线耳机输出音频信号的方式,以根据第三位置确定的第一音量值输出音频信号,从而实现在接听电话时以合适的音量接听。For another example, assuming that the first volume control is the volume control corresponding to the wired answering option (for example, using a wired headset to output audio signals), if the user slides from the second position on the first volume control to the third position and releases the , the electronic device connects to the phone, and outputs audio signals with the first volume value determined according to the third position by using wired earphones to output audio signals, so as to answer the phone with an appropriate volume.
本申请实施例中,在接到来电时,用户只需要在来电请求界面上简单触控,即可触发电子设备接通电话,并按照选择的接听方式,以选择的音量大小接听电话,因此用户操作起来更灵活更便捷。In the embodiment of the present application, when receiving an incoming call, the user only needs to simply touch the incoming call request interface to trigger the electronic device to connect the call, and answer the call at the selected volume according to the selected answering method. Therefore, the user It is more flexible and convenient to operate.
可选的,本申请实施例中,通话响应界面中可以包括上述M个音量控件,如果用户需要在接通电话后调节当前输出音频信号的音量大小,或者用户需要在接通电话后将当前接听方式切换至另一种接听方式,或者用户需要在接通电话后将当前接听方式切换至另一种接听方式并选择合适的音量接听,那么用户可以通过对通话响应界面进行触控操作,触发电子设备调节音量和/或切换接听方式。Optionally, in the embodiment of the present application, the above-mentioned M volume controls may be included in the call response interface. If the user needs to adjust the volume of the currently output audio signal after connecting the call, or the user needs to answer the current voice switch to another answering method, or the user needs to switch the current answering method to another answering method after connecting the call and select the appropriate volume to answer, then the user can touch the call response interface to trigger the electronic The device adjusts the volume and/or switches the listening method.
示例性的,在上述的步骤204之后,本申请实施例提供的通话控制方法还可以包括下述的步骤205和步骤206。Exemplarily, after the foregoing step 204, the call control method provided in this embodiment of the present application may further include the following steps 205 and 206.
步骤205、电子设备接收用户对M个音量控件中的第二音量控件的第二输入。Step 205: The electronic device receives a second input from the user to a second volume control of the M volume controls.
其中,第二音量控件和第一音量控件可以相同,也可以不同。Wherein, the second volume control and the first volume control may be the same or different.
示例性的,第二音量控件和第一音量控件相同,即在接通电话前和接通电话后,用户针对同一音量控件进行输入,此时对应于用户调节音量的场景。Exemplarily, the second volume control is the same as the first volume control, that is, before and after the call is connected, the user inputs to the same volume control, which corresponds to a scenario where the user adjusts the volume.
又示例性的,第二音量控件和第一音量控件不同,即在接通电话前和接通电话后,用户针对不同音量控件进行输入,此时对应于用户切换接听方式且调节音量的场景。In another example, the second volume control is different from the first volume control, that is, the user inputs different volume controls before and after the call is connected, which corresponds to a scenario where the user switches the answering mode and adjusts the volume.
对于第二音量控件的描述具体可以参见上述对第一音量控件的详细描述,此处不再赘述。For the description of the second volume control, reference may be made to the above-mentioned detailed description of the first volume control, which will not be repeated here.
对于第二输入的描述具体可以参见上述对第一输入的显示描述,此处不再赘述。For the description of the second input, reference may be made to the foregoing description of the display of the first input, which will not be repeated here.
步骤206、电子设备响应于第二输入,按照与该第二音量控件对应的音频输出方式,采用第二音量值输出音频信号。Step 206: In response to the second input, the electronic device outputs an audio signal using the second volume value according to the audio output mode corresponding to the second volume control.
其中,该第二音量值为第二输入在第二音量控件上的结束位置对应的音量值。Wherein, the second volume value is the volume value corresponding to the end position of the second input on the second volume control.
本申请实施例中,在接通电话后,用户仍然可以根据实际使用需求,切换接听方式,或者调节音量,如此用户操作起来更灵活更便捷。In the embodiment of the present application, after the phone is connected, the user can still switch the answering mode or adjust the volume according to actual usage requirements, so that the user can operate more flexibly and conveniently.
可选的,本申请实施例中,当电子设备检测到通话请求信号时,电子设备会检测当前的外设连接状态,例如检测是否有接有线耳机,检测是否有通过蓝牙连接外设,检测是否有通过其他无线所连接的外设;然后电子设备根据外设连接状态,弹出相应的通话请求界面,而用户在选择不同的方式来接听时,可以同时通过屏幕触控来选择合适的音量,让用户在使用不同的设备接听时,可简便的选择合适的音量。Optionally, in this embodiment of the present application, when the electronic device detects a call request signal, the electronic device detects the current peripheral connection status, for example, detects whether a wired headset is connected, detects whether a peripheral is connected through Bluetooth, and detects whether There are peripherals connected by other wireless devices; then the electronic device pops up the corresponding call request interface according to the connection status of the peripherals, and when the user chooses a different way to answer, he can touch the screen to select the appropriate volume at the same time, so that the Users can easily select the appropriate volume when using different devices to answer.
示例性的,在上述图2的步骤201中“显示通话请求界面”的步骤之前,本申请实施例提供的通话控制方法还包括下述的步骤207。Exemplarily, before the step of "displaying a call request interface" in
步骤207、电子设备在检测到通话请求信号的情况下,检测电子设备是否连接音频设备。Step 207: In the case of detecting the call request signal, the electronic device detects whether the electronic device is connected to the audio device.
本申请实施例中,当电子设备检测到通话请求信号时,电子设备后台检测是否连接外接音频设备:In the embodiment of the present application, when the electronic device detects a call request signal, the electronic device detects whether an external audio device is connected in the background:
(1)电子设备检测有线耳机孔是否接入音频设备;(1) The electronic device detects whether the wired headphone jack is connected to the audio device;
(2)电子设备检测蓝牙是否连接有音频设备;当检测到有蓝牙设备连接时,电子设备可以进一步确定电子设备连接了几个蓝牙设备;(2) The electronic device detects whether an audio device is connected to the Bluetooth; when it is detected that a Bluetooth device is connected, the electronic device can further determine that the electronic device is connected to several Bluetooth devices;
(3)电子设备检测其他无线通路是否连接有音频设备;此无线通路包括但不限于无线保真(Wireless-Fidelity,Wi-Fi)、紫蜂(ZigBee)、近场通信(Near FieldCommunication,NFC)、超宽带(Ultra Wide Band,UWB)等;(3) The electronic device detects whether other wireless channels are connected to audio devices; this wireless channel includes but is not limited to Wireless-Fidelity (Wi-Fi), ZigBee (ZigBee), Near Field Communication (NFC) , Ultra Wide Band (UWB), etc.;
需要说明的是,上述几个外接音频设备的检测顺序可以有优先顺序,也可以没有优先顺序,或者可以同时进行,具体可以根据实际使用需求确定,本申请实施例不作限定。It should be noted that the detection order of the above-mentioned several external audio devices may have a priority order, or may not have a priority order, or may be performed at the same time.
进一步的,当电子设备检测完电子设备当前所连接的外设连接状态后,根据电子设备当前的外设连接状态,显示对应的通话请求界面,下面将对此进行详细说明。Further, after the electronic device detects the connection state of the peripheral device currently connected to the electronic device, a corresponding call request interface is displayed according to the current peripheral device connection state of the electronic device, which will be described in detail below.
示例性的,结合上述的步骤207,上述的步骤201中“显示通话请求界面”的步骤可以包括如下的步骤201A或步骤201B:Exemplarily, in conjunction with the above step 207, the step of "displaying the call request interface" in the
步骤201A、在未检测到电子设备连接音频设备的情况下,电子设备显示通话请求界面,该通话请求界面中的M个音量控件分别对应电子设备默认支持的音频输出方式。Step 201A: In the case that the electronic device is not detected to be connected to the audio device, the electronic device displays a call request interface, and the M volume controls in the call request interface respectively correspond to the audio output modes supported by the electronic device by default.
本申请实施例中,当电子设备检测到没有外接设备(无论有线设备还是无线设备)接入到电子设备时,返回参照图4中的(a),电子设备显示的通话请求界面41中的音量控件35和音量控件36分别对应采用扬声器输出音频信号的方式(免提接听)和采用受话器输出音频信号的方式(听筒接听),这两种音频输出方式均为电子设备在无外接设备情况下默认支持的音频输出方式。In the embodiment of the present application, when the electronic device detects that no external device (whether wired or wireless) is connected to the electronic device, referring back to (a) in FIG. 4 , the volume in the
步骤201B、在检测到电子设备连接第一音频设备的情况下,电子设备显示通话请求界面,该通话请求界面中的第一音量控件对应于采用第一音频设备输出音频信号的方式。Step 201B: When detecting that the electronic device is connected to the first audio device, the electronic device displays a call request interface, and the first volume control in the call request interface corresponds to the way in which the first audio device outputs audio signals.
在一个示例中,当电子设备检测到耳机孔有有线音频设备接入(包括但不限于有线耳机、有线音箱等),但没有其他音频设备通过无线连接方式接入时,返回参照上述图5,电子设备弹出的通话请求界面中除了显示有“听筒接听”选项、“挂断”选项和“免提接听”选项,还会显示“有线接听”选项,此外在通话请求界面除了可以选择接听方式,还可以同步选择对应的接听音量大小。示例性的,第一音量控件对应于采用耳机输出音频信号的方式,用户可以通过对第一音量控件进行输入,触发电子设备调节通过耳机接听电话的音量大小。In one example, when the electronic device detects that a wired audio device (including but not limited to wired earphones, wired speakers, etc.) is connected to the headphone jack, but no other audio device is connected through a wireless connection, referring back to FIG. 5 above, In the call request interface popped up by the electronic device, in addition to the "Handset Answer" option, the "Hang up" option and the "Hands-free Answer" option, the "Wired Answer" option will also be displayed. You can also select the corresponding listening volume synchronously. Exemplarily, the first volume control corresponds to the manner in which the audio signal is output by the earphone, and the user can trigger the electronic device to adjust the volume of the phone through the earphone by inputting the first volume control.
在另一个示例中,当电子设备检测到耳机孔没有有线音频设备接入,但有其他音频设备通过无线连接方式接入时(此无线连接方式包括但不限于蓝牙、Wifi、Zigbee、NFC、UWB等无线连接方式),返回参照上述图6,电子设备弹出的通话请求界面中除了显示有“听筒接听”选项、“挂断”选项和“免提接听”选项,还会显示有“无线接听”选项;此外,在通话请求界面除了可以选择接听方式,还可以同步选择对应的接听音量大小。In another example, when the electronic device detects that there is no wired audio device connected to the headphone jack, but other audio devices are connected through a wireless connection (this wireless connection includes but is not limited to Bluetooth, Wifi, Zigbee, NFC, UWB and other wireless connection methods), referring back to the above Figure 6, in the call request interface popped up by the electronic device, in addition to the "Handset Answer" option, the "Hang up" option and the "Handsfree Answer" option, it will also display "Wireless Answer" option; in addition, in the call request interface, in addition to selecting the answering method, you can also simultaneously select the corresponding answering volume.
在再一个示例中,当电子设备检测到耳机孔有有线音频设备接入,同时也有其他音频设备通过无线连接方式接入时,返回参照上述图7,电子设备弹出的通话请求界面中除了显示有“听筒接听”选项、“挂断”选项和“免提接听”选项,还会显示“有线接听”选项和“无线接听”选项;此外,在通话请求界面除了可以选择接听方式,还可以同步选择对应的接听音量大小。In yet another example, when the electronic device detects that a wired audio device is connected to the headphone jack, and other audio devices are also connected through a wireless connection, referring back to FIG. 7 above, the call request interface popped up by the electronic device is displayed except that there are The "Handset answer" option, "Hang up" option and "Handsfree answer" option will also display the "Wired answer" option and the "Wireless answer" option; in addition, in the call request interface, in addition to selecting the answering method, you can also select synchronously. The corresponding listening volume.
本申请实施例中,电子设备在接收到通话请求信号时先检测是否连接有外设音频设备,根据检测结果在通话请求界面显示出不同的接听选项,同时用户在选择不同的方式接听电话的同时还能选择合适的音量,如此可以改善用户的使用便利性,提升用户的使用体验。In the embodiment of the present application, when the electronic device receives the call request signal, it first detects whether a peripheral audio device is connected, and displays different answering options on the call request interface according to the detection result. At the same time, the user selects different ways to answer the call. An appropriate volume can also be selected, which can improve the user's convenience and enhance the user's experience.
在一种可能的实现方式中,在上述第一音频设备包括第一耳机的情况下,上述通话请求界面中还包括与第一音量控件对应的声道选项,该声道选项包括以下至少一项:左声道选项、右声道选项、双声道选项。In a possible implementation manner, when the first audio device includes a first headset, the call request interface further includes a channel option corresponding to the first volume control, and the channel option includes at least one of the following : Left channel option, Right channel option, Dual channel option.
示例性的,在上述的步骤202和步骤203具体可以通过下述的步骤202A和步骤203A实现。Exemplarily, the
步骤202A、电子设备接收用户对第一音量控件和声道选项中的目标声道选项的第一输入。Step 202A: The electronic device receives the first input from the user on the first volume control and the target channel option in the channel options.
步骤203A、电子设备响应于第一输入,采用第一耳机,通过与目标声道选项对应的声道,以第一音量值输出音频信号。Step 203A: In response to the first input, the electronic device uses a first earphone to output an audio signal with a first volume value through a channel corresponding to the target channel option.
示例性的,在电子设备检测到连接有线耳机的情况下,电子设备显示的通话请求界面中不但包括“有线接听”选项,相应地还可以包括左声道选项、右声道选项、双声道选项等选项供用户选择,如此当用户选择使用有线耳机接听时,可以进一步选择使用左声道、右声道或双声道来接听电话。Exemplarily, when the electronic device detects that a wired headset is connected, the call request interface displayed by the electronic device not only includes the "wired answer" option, but also includes the left channel option, the right channel option, and the dual channel option accordingly. Options and other options are for the user to choose, so when the user chooses to use a wired headset to answer the call, he can further choose to use the left channel, the right channel or the dual channel to answer the call.
又示例性的,类似地,电子设备显示的通话响应界面中也可以包括“有线接听”选项,以及左声道选项、右声道选项、双声道选项等选项,供用户选择,如此当用户使用有线耳机接听时,可以进一步切换使用左声道、右声道或双声道来接听电话。如此,用户在接听电话时有更多选择,满足用户接听电话时的更多需求。For another example, similarly, the call response interface displayed by the electronic device may also include a "wired answering" option, as well as options such as left channel option, right channel option, dual channel option, etc. for the user to choose. When using a wired headset to answer, you can further switch to use the left channel, right channel or dual channel to answer the call. In this way, the user has more choices when answering the phone, and meets more demands of the user when answering the phone.
在另一种可能的实现方式中,在上述第一音频设备包括M个无线音频设备的情况下,该通话请求界面中的M个音量控件与M个无线音频设备一一对应。In another possible implementation manner, when the above-mentioned first audio device includes M wireless audio devices, the M volume controls in the call request interface correspond to the M wireless audio devices one-to-one.
示例性的,上述的步骤202具体可以通过下述的步骤202B实现。Exemplarily, the above-mentioned
步骤202B、电子设备接收用户对M个音量控件中的N个音量控件的第一输入,该N个音量控件与M个音量控件中的N个无线音频设备一一对应。Step 202B: The electronic device receives a first input from the user to N volume controls in the M volume controls, where the N volume controls correspond one-to-one with the N wireless audio devices in the M volume controls.
其中,N为小于或等于M的正整数。Among them, N is a positive integer less than or equal to M.
进一步的,结合上述的步骤202B,上述的步骤203具体可以通过下述的步骤203B实现。Further, in conjunction with the above-mentioned step 202B, the above-mentioned
步骤203B、电子设备响应于第一输入,采用N个无线音频设备,分别以N个第一音量值输出音频信号。Step 203B: In response to the first input, the electronic device adopts N wireless audio devices to output audio signals with N first volume values respectively.
其中,该N个第一音量值包括第一输入在N个音量控件上的触控终点位置分别对应的音量值。The N first volume values include volume values corresponding to the touch end positions of the first input on the N volume controls respectively.
本申请实施例中,第一输入可以包括同时选中N个音量控件的多个子输入(例如点击输入或滑动输入);或者,第一输入可以包括依次选中N个音量控件的多个子输入。具体可以根据实际使用需求确定,本申请实施例不作限定。In this embodiment of the present application, the first input may include multiple sub-inputs that simultaneously select N volume controls (eg, tap input or sliding input); or, the first input may include multiple sub-inputs that sequentially select N volume controls. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
需要说明的是,在第一输入包括依次选中N个音量控件的多个子输入的情况下,电子设备可以检测这多个子输入中相邻的两个子输入之间的时长是否在预设时长内。若在这多个子输入中相邻的两个子输入之间的时长在预设时长内,则电子设备采用N个音量控件对应的无线音频设备输出音频信号。这样可以保证电子设备准确判断用户的输入,提高电子设备控制的准确性。It should be noted that, when the first input includes multiple sub-inputs that sequentially select N volume controls, the electronic device can detect whether the duration between two adjacent sub-inputs in the multiple sub-inputs is within a preset duration. If the duration between two adjacent sub-inputs in the plurality of sub-inputs is within the preset duration, the electronic device uses the wireless audio device corresponding to the N volume controls to output the audio signal. In this way, it can be ensured that the electronic device can accurately judge the user's input, and the accuracy of the control of the electronic device can be improved.
可选的,上述预设时长可以为2秒,或者可以为其它任意满足实际使用需求的时长,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the above-mentioned preset duration may be 2 seconds, or may be any other duration that meets actual usage requirements, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
还需要说明的是,若用户依次进行的两个输入之间的时长大于预设时长,则电子设备可以执行接听方式的切换操作。例如,用户对第一音量控件进行输入,在第一时长后用户对第二音量控件进行输入,若电子设备检测到第一时长大于预设时长,则电子设备可以将与第一音量控件对应的音频输出方式切换为与第二音量控件对应的音频输出方式。如此,可以提高电子设备控制的准确性。It should also be noted that, if the duration between two consecutive inputs performed by the user is greater than the preset duration, the electronic device may perform the switching operation of the answering mode. For example, the user inputs the first volume control, and the user inputs the second volume control after the first duration. If the electronic device detects that the first duration is greater than the preset duration, the electronic device may change the volume corresponding to the first volume control. The audio output mode is switched to the audio output mode corresponding to the second volume control. In this way, the accuracy of electronic device control can be improved.
下面结合图8对上述的步骤202B和步骤203B进行示例性的描述。The above-mentioned steps 202B and 203B are exemplarily described below with reference to FIG. 8 .
如图8所示,若电子设备检测到有两个无线音频设备接入,则电子设备会在通话请求界面中显示两个无线音频设备的接听选项:“无线接听1”选项72、“无线接听2”选项73。如果用户对这两个音量控件进行第一输入,那么电子设备可以采用这两个无线音频设备分别输出音频信号。这样,在电子设备连接多个无线音频设备的场景中,本申请实施例可支持多个无线音频设备同时输出音频信号,为用户接听电话提供了更多个选择。As shown in Figure 8, if the electronic device detects that two wireless audio devices are connected, the electronic device will display the answering options of the two wireless audio devices in the call request interface: "Wireless Answer 1"
可选的,电子设备可以采用这两个无线音频设备分别输出音频信号的音量大小可以相同,也可以不同。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the electronic device may use the two wireless audio devices to respectively output audio signals whose volume levels may be the same or different. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
需要说明的是,以上各图示仅作为示范,实际专利保护范围包括但不限于以上界面布局和接听图案。其中,用户可以在选择对应的接听方式时也可同步调节合适的音量,具体的实施界面还可能会有多种方案。It should be noted that the above figures are only examples, and the actual scope of patent protection includes but is not limited to the above interface layout and answering patterns. Among them, the user can also adjust the appropriate volume synchronously when selecting the corresponding answering mode, and there may also be various solutions for the specific implementation interface.
还需要说明的是,在音量调节时,可以如上图所示通过手指滑动来选择合适的音量(不一定必须要有音量柱状显示条);也可以是屏幕上显示对应的音量大小的柱状条,手指直接点选对应的柱状条位置来选择音量大小。当然,用户也可以设置接听时不调节音量,直接使用系统默认音量接听。It should also be noted that when adjusting the volume, you can select the appropriate volume by sliding your finger as shown in the figure above (you do not have to have a volume bar); it can also be a bar that displays the corresponding volume on the screen. Directly click on the corresponding bar position with your finger to select the volume level. Of course, the user can also set the volume without adjusting the volume when answering, and use the system default volume to answer directly.
如图9所示,本申请实施例提供一种电子设备700,该电子设备700可以包括第一显示模块701、第一接收模块702和第一控制模块703。As shown in FIG. 9 , an embodiment of the present application provides an
第一显示模块701用于在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,该M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;The
第一接收模块702用于接收用户对第一显示模块701显示的该M个音量控件中的第一音量控件的第一输入;The
第一控制模块703用于响应于第一接收模块702接收的第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;The
其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。The first volume value is the volume value corresponding to the touch end position of the first input on the first volume control.
可选的,本申请实施例提供的电子设备还包括第二控制模块和第二显示模块;Optionally, the electronic device provided in the embodiment of the present application further includes a second control module and a second display module;
第二控制模块用于响应于该第一输入,与目标电子设备建立通话连接;The second control module is configured to establish a call connection with the target electronic device in response to the first input;
第二显示模块用于显示通话响应界面;The second display module is used to display the call response interface;
其中,该目标电子设备为向电子设备发送通话请求信号的电子设备。The target electronic device is an electronic device that sends a call request signal to the electronic device.
可选的,本申请实施例中,上述通话响应界面中包括上述M个音量控件;本申请实施例提供的电子设备还包括第二接收模块和第三控制模块;Optionally, in the embodiment of the present application, the above-mentioned call response interface includes the above-mentioned M volume controls; the electronic device provided in the embodiment of the present application further includes a second receiving module and a third control module;
第二接收模块还用于接收用户对M个音量控件中的第二音量控件的第二输入;The second receiving module is further configured to receive a second input from the user to the second volume control in the M volume controls;
第三控制模块还用于响应于第二接收模块接收的该第二输入,按照与该第二音量控件对应的音频输出方式,采用第二音量值输出音频信号;The third control module is further configured to, in response to the second input received by the second receiving module, use the second volume value to output the audio signal according to the audio output mode corresponding to the second volume control;
其中,该第二音量值为第二输入在第二音量控件上的结束位置对应的音量值。Wherein, the second volume value is the volume value corresponding to the end position of the second input on the second volume control.
可选的,本申请实施例提供的电子设备还包括检测模块。该检测模块用于在检测到通话请求信号的情况下,检测电子设备是否连接音频设备;Optionally, the electronic device provided in this embodiment of the present application further includes a detection module. The detection module is used to detect whether the electronic device is connected to the audio device when the call request signal is detected;
在一种可能实现方式中,第一显示模块具体用于在检测模块未检测到电子设备连接音频设备的情况下,显示通话请求界面,该通话请求界面中的M个音量控件分别对应电子设备默认支持的音频输出方式;In a possible implementation manner, the first display module is specifically configured to display a call request interface when the detection module does not detect that the electronic device is connected to the audio device, and the M volume controls in the call request interface respectively correspond to the default values of the electronic device. Supported audio output methods;
在另一种可能实现方式中,第一显示模块具体用于在检测模块检测到电子设备连接第一音频设备的情况下,显示通话请求界面,该通话请求界面中的第一音量控件对应于采用第一音频设备输出音频信号的方式。In another possible implementation manner, the first display module is specifically configured to display a call request interface when the detection module detects that the electronic device is connected to the first audio device, and the first volume control in the call request interface corresponds to the The manner in which the first audio device outputs audio signals.
可选的,本申请实施例中,在上述第一音频设备包括第一耳机的情况下,上述通话请求界面中还包括与第一音量控件对应的声道选项,该声道选项包括以下至少一项:左声道选项、右声道选项、双声道选项;Optionally, in this embodiment of the present application, in the case where the above-mentioned first audio device includes a first earphone, the above-mentioned call request interface further includes a channel option corresponding to the first volume control, and the channel option includes at least one of the following: Item: left channel option, right channel option, dual channel option;
第一接收模块具体用于接收用户对第一音量控件和声道选项中的目标声道选项的第一输入;The first receiving module is specifically configured to receive the first input from the user to the target channel option in the first volume control and the channel option;
第一控制模块还用于响应于第一接收模块接收的第一输入,采用第一耳机,通过与目标声道选项对应的声道,以第一音量值输出音频信号。The first control module is further configured to, in response to the first input received by the first receiving module, use the first earphone to output the audio signal with the first volume value through the channel corresponding to the target channel option.
可选的,本申请实施例中,在上述第一音频设备包括M个无线音频设备的情况下,上述通话请求界面中的M个音量控件与该M个无线音频设备一一对应;Optionally, in this embodiment of the present application, in the case that the above-mentioned first audio device includes M wireless audio devices, the M volume controls in the above-mentioned call request interface correspond to the M wireless audio devices one-to-one;
第一接收模块具体用于接收用户对M个音量控件中的N个音量控件的第一输入,该N个音量控件与M个音量控件中的N个无线音频设备一一对应,N为小于或等于M的正整数;The first receiving module is specifically configured to receive the first input from the user to the N volume controls in the M volume controls, and the N volume controls are in one-to-one correspondence with the N wireless audio devices in the M volume controls, and N is less than or A positive integer equal to M;
第一控制模块具体用于响应于第一接收模块接收的第一输入,采用N个无线音频设备,分别以N个第一音量值输出音频信号;The first control module is specifically configured to, in response to the first input received by the first receiving module, use N wireless audio devices to output audio signals with N first volume values respectively;
其中,该N个第一音量值包括第一输入在N个音量控件上的触控终点位置分别对应的音量值。The N first volume values include volume values corresponding to the touch end positions of the first input on the N volume controls respectively.
需要说明的是,上述第一显示模块和第二显示模块可以为一个集成的显示模块。上述第一接收模块和第二接收模块可以为一个集成的接收模块。上述第一控制模块、第二控制模块和第三控制模块可以为一个集成的控制模块。It should be noted that the above-mentioned first display module and second display module may be an integrated display module. The above-mentioned first receiving module and second receiving module may be an integrated receiving module. The above-mentioned first control module, second control module and third control module may be an integrated control module.
可选的,本申请实施例中,上述M种音频输出方式包括以下(1)至(4)中的至少一项:Optionally, in the embodiment of the present application, the above-mentioned M audio output modes include at least one of the following (1) to (4):
(1)采用电子设备中的受话器输出音频信号的方式;(1) Adopt the method of outputting audio signal from the receiver in the electronic equipment;
(2)采用电子设备中的扬声器输出音频信号的方式;(2) Adopt the method of outputting audio signal from the speaker in the electronic equipment;
(3)采用与电子设备连接的无线音频设备输出音频信号的方式;(3) Adopt the method of outputting audio signal from the wireless audio device connected with the electronic device;
(4)采用与电子设备连接的有线音频设备输出音频信号的方式。(4) The method of outputting the audio signal by the wired audio device connected with the electronic device is adopted.
本申请实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiments of the present application can implement each process implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本申请实施例提供的电子设备,可以在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;接收用户对该M个音量控件中的第一音量控件的第一输入;响应于第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。本申请实施例提供的通话控制方法可以应用于电子设备检测到通话请求信号且显示通话请求界面时选择接听方式及接听音量的场景中,由于本申请实施例在通话请求界面上提供了多个音量控件,每个音量控件对应一种音频输出方式(即接听方式),因此用户可以通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小,如此为用户在接听电话的场景中提供了更多选择,大大提升了通话效果。The electronic device provided by the embodiment of the present application can display a call request interface when a call request signal is detected. The call request interface includes M volume controls, and the M volume controls correspond to M audio output modes one-to-one. Each volume control is used to control the volume value of the audio signal output by the electronic device, and M is a positive integer; receive the first input from the user to the first volume control in the M volume controls; An audio output method corresponding to a volume control uses a first volume value to output an audio signal; wherein, the first volume value is a volume value corresponding to the touch end position of the first input on the first volume control. The call control method provided by the embodiment of the present application can be applied to the scenario where the electronic device detects the call request signal and displays the call request interface and selects the answering method and the answering volume. Since the embodiment of the present application provides multiple volume levels on the call request interface Controls, each volume control corresponds to an audio output mode (that is, answering mode), so the user can touch the call request interface (that is, the first input to the volume control), not only can the electronic device support more You can choose which answering method to answer the call from among the answering methods, and you can also choose the volume level when answering the call in this answering method, which provides the user with more choices in the scene of answering the phone, and greatly improves the call effect.
图10为实现本申请各个实施例的一种电子设备的硬件结构示意图。如图10所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application. As shown in FIG. 10 , the
其中,显示单元806,用于在检测到通话请求信号的情况下,显示通话请求界面,该通话请求界面中包括M个音量控件,M个音量控件与M种音频输出方式一一对应,每个音量控件用于控制电子设备输出音频信号的音量值,M为正整数;用户输入单元807,用于接收用户对显示单元806显示的该M个音量控件中的第一音量控件的第一输入;处理器810,用于响应于用户输入单元807接收的第一输入,按照与该第一音量控件对应的音频输出方式,采用第一音量值输出音频信号;其中,该第一音量值为第一输入在第一音量控件上的触控终点位置对应的音量值。The
本申请实施例提供一种电子设备,该电子设备可以应用于检测到通话请求信号且显示通话请求界面时选择接听方式及接听音量的场景中,由于本申请实施例在通话请求界面上提供了多个音量控件,每个音量控件对应一种音频输出方式(即接听方式),因此用户可以通过在通话请求界面上进行触控操作(即对音量控件的第一输入),不但可以在电子设备支持的多种接听方式中选择以哪种接听方式接听电话,而且还可以选择以该接听方式接听电话时的音量大小,如此为用户在接听电话的场景中提供了更多选择,该电子设备大大提升了通话效果。An embodiment of the present application provides an electronic device, which can be applied to a scenario in which a call request signal is detected and a call request interface is displayed and an answering method and an answering volume are selected. Each volume control corresponds to an audio output mode (ie answering mode), so the user can touch the call request interface (ie the first input to the volume control), not only can the electronic device support You can choose which answering method to answer the call from among the various answering methods, and you can also choose the volume level when answering the call in this answering method, which provides the user with more choices in the scene of answering the phone, and the electronic device greatly improves the call effect.
应理解的是,本申请实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present application, the
电子设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The
输入单元804用于接收音频或视频信号。输入单元804可以包括图像捕获装置(如摄像头)8040、图形处理器(graphics processing unit,GPU)8041和麦克风8042。图像捕获装置8040(如摄像头)采集静态图片或视频的图像数据。图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The
电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。The
用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图10中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置之间传输数据。The
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The
电子设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备800包括一些未示出的功能模块,在此不再赘述。In addition, the
可选的,本申请实施例还提供一种电子设备,包括如图10所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述通话控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述通话控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the call control method is implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例公开的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to related technologies, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ), including several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods disclosed in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010225519.5ACN111432071B (en) | 2020-03-26 | 2020-03-26 | Call control method and electronic device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010225519.5ACN111432071B (en) | 2020-03-26 | 2020-03-26 | Call control method and electronic device |
| Publication Number | Publication Date |
|---|---|
| CN111432071Atrue CN111432071A (en) | 2020-07-17 |
| CN111432071B CN111432071B (en) | 2021-05-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010225519.5AActiveCN111432071B (en) | 2020-03-26 | 2020-03-26 | Call control method and electronic device |
| Country | Link |
|---|---|
| CN (1) | CN111432071B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113542488A (en)* | 2021-06-30 | 2021-10-22 | 青岛海信移动通信技术股份有限公司 | Method, device and storage medium for controlling controlled terminal by terminal device |
| CN113808592A (en)* | 2021-08-17 | 2021-12-17 | 百度在线网络技术(北京)有限公司 | Method and device for transcribing call recording, electronic equipment and storage medium |
| CN115379283A (en)* | 2022-08-16 | 2022-11-22 | 维沃移动通信有限公司 | Video call method and device |
| CN115567629A (en)* | 2022-09-30 | 2023-01-03 | 维沃移动通信有限公司 | Incoming call processing method, device, electronic device and medium |
| CN116390041A (en)* | 2021-12-23 | 2023-07-04 | 荣耀终端有限公司 | Call control method and device |
| CN116743904A (en)* | 2022-09-30 | 2023-09-12 | 荣耀终端有限公司 | Call volume control method and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012151712A (en)* | 2011-01-20 | 2012-08-09 | Brother Ind Ltd | Communication device |
| US20140135076A1 (en)* | 2012-11-15 | 2014-05-15 | Yeri LEE | Mobile terminal and method of controlling the same |
| CN103986813A (en)* | 2014-05-26 | 2014-08-13 | 深圳市中兴移动通信有限公司 | Volume setting method and mobile terminal |
| CN104065788A (en)* | 2014-06-30 | 2014-09-24 | 深圳市中兴移动通信有限公司 | Volume adjusting method and mobile terminal |
| CN105120063A (en)* | 2015-07-13 | 2015-12-02 | 联想(北京)有限公司 | Volume prompting method of input voice and electronic device |
| CN109151172A (en)* | 2018-07-23 | 2019-01-04 | Oppo广东移动通信有限公司 | Audio output control method and related equipment |
| CN110545351A (en)* | 2019-08-21 | 2019-12-06 | 维沃移动通信有限公司 | An incoming call processing method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012151712A (en)* | 2011-01-20 | 2012-08-09 | Brother Ind Ltd | Communication device |
| US20140135076A1 (en)* | 2012-11-15 | 2014-05-15 | Yeri LEE | Mobile terminal and method of controlling the same |
| CN103986813A (en)* | 2014-05-26 | 2014-08-13 | 深圳市中兴移动通信有限公司 | Volume setting method and mobile terminal |
| CN104065788A (en)* | 2014-06-30 | 2014-09-24 | 深圳市中兴移动通信有限公司 | Volume adjusting method and mobile terminal |
| CN105120063A (en)* | 2015-07-13 | 2015-12-02 | 联想(北京)有限公司 | Volume prompting method of input voice and electronic device |
| CN109151172A (en)* | 2018-07-23 | 2019-01-04 | Oppo广东移动通信有限公司 | Audio output control method and related equipment |
| CN110545351A (en)* | 2019-08-21 | 2019-12-06 | 维沃移动通信有限公司 | An incoming call processing method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113542488A (en)* | 2021-06-30 | 2021-10-22 | 青岛海信移动通信技术股份有限公司 | Method, device and storage medium for controlling controlled terminal by terminal device |
| CN113542488B (en)* | 2021-06-30 | 2024-03-15 | 青岛海信移动通信技术有限公司 | Method, device and storage medium for controlling controlled terminal using terminal device |
| CN113808592A (en)* | 2021-08-17 | 2021-12-17 | 百度在线网络技术(北京)有限公司 | Method and device for transcribing call recording, electronic equipment and storage medium |
| CN116390041A (en)* | 2021-12-23 | 2023-07-04 | 荣耀终端有限公司 | Call control method and device |
| CN115379283A (en)* | 2022-08-16 | 2022-11-22 | 维沃移动通信有限公司 | Video call method and device |
| CN115567629A (en)* | 2022-09-30 | 2023-01-03 | 维沃移动通信有限公司 | Incoming call processing method, device, electronic device and medium |
| CN116743904A (en)* | 2022-09-30 | 2023-09-12 | 荣耀终端有限公司 | Call volume control method and electronic equipment |
| Publication number | Publication date |
|---|---|
| CN111432071B (en) | 2021-05-28 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108551636B (en) | A speaker control method and mobile terminal | |
| CN111432071B (en) | Call control method and electronic device | |
| CN108182019B (en) | Suspension control display processing method and mobile terminal | |
| CN111459456B (en) | Audio control method and electronic equipment | |
| EP3691235B1 (en) | Display method and mobile terminal | |
| CN107770760B (en) | A kind of method and mobile terminal of the type identifying bluetooth equipment | |
| CN108521520A (en) | A call processing method and mobile terminal | |
| CN108712577B (en) | A call mode switching method and terminal device | |
| WO2021129529A1 (en) | Device switching method and related device | |
| CN111562896A (en) | Screen projection method and electronic equipment | |
| WO2019154182A1 (en) | Method for setting volume of application program, and mobile terminal | |
| US12120261B2 (en) | Incoming call processing method and electronic device | |
| CN108762869A (en) | A kind of information processing method and mobile terminal | |
| WO2021077908A1 (en) | Parameter adjusting method and electronic device | |
| WO2021037074A1 (en) | Audio output method and electronic apparatus | |
| CN110351407A (en) | A kind of audio frequency playing method and mobile terminal | |
| WO2021136141A1 (en) | Playback method and electronic device | |
| CN111459447B (en) | Volume adjustment display method and electronic equipment | |
| CN108712563A (en) | call control method, device and mobile terminal | |
| JP7526810B2 (en) | Method for switching audio output modes and electronic device | |
| CN108347642B (en) | A video playback method and mobile terminal | |
| CN108307075B (en) | A kind of incoming call processing method and mobile terminal | |
| CN111556196B (en) | Call method, device and electronic device | |
| CN111352566A (en) | A kind of parameter adjustment method and electronic device | |
| CN115037831B (en) | Mode control method and device, electronic equipment and earphone |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |