[go: up one dir, main page]

CN106201422A - A kind of volume adjusting method and electronic equipment - Google Patents

A kind of volume adjusting method and electronic equipment Download PDF

Info

Publication number
CN106201422A
CN106201422A CN201610514062.3A CN201610514062A CN106201422A CN 106201422 A CN106201422 A CN 106201422A CN 201610514062 A CN201610514062 A CN 201610514062A CN 106201422 A CN106201422 A CN 106201422A
Authority
CN
China
Prior art keywords
signal
electronic device
output
output volume
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610514062.3A
Other languages
Chinese (zh)
Inventor
韦仁杰
黄业伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610514062.3A priority Critical patent/CN106201422A/en
Publication of CN106201422A publication Critical patent/CN106201422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本发明实施例公开了一种音量调节方法和电子设备。所述方法包括:解调接收到的第一FM信号,得到第二FM信号;获取所述电子设备的信号出声属性;依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。

The embodiment of the invention discloses a volume adjustment method and electronic equipment. The method includes: demodulating the received first FM signal to obtain a second FM signal; acquiring the signal output property of the electronic device; adjusting the second FM signal according to the signal output property of the electronic device output volume. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's auditory experience, thereby ensuring the user's experience effect.

Description

一种音量调节方法以及电子设备A volume adjustment method and electronic device

技术领域technical field

本发明实施例涉及通信领域,尤其涉及一种音量调节方法,以及一种电子设备。The embodiments of the present invention relate to the communication field, and in particular, to a volume adjustment method and an electronic device.

背景技术Background technique

随着电子技术的不断发展,电子产品以其强大的功能被越来越多的用户使用。电子产品内部通常安装有收音机,用户可以使用电子产品内置的收音机收听FM频道节目。With the continuous development of electronic technology, electronic products are used by more and more users due to their powerful functions. A radio is usually installed inside the electronic product, and the user can use the built-in radio of the electronic product to listen to FM channel programs.

在接听FM频道节目的过程中,当电子产品所在环境的环境噪声发生变化时,用户会通过相应操作对FM音量进行调节,以适应当前的环境噪声。In the process of listening to FM channel programs, when the environmental noise of the environment where the electronic product is located changes, the user will adjust the FM volume through corresponding operations to adapt to the current environmental noise.

然而,由于环境噪声是不断变化的,因此用户对音量的调节操作非常麻烦。当环境噪声变化频繁时,用户对音量的调节速度可能无法满足环境噪声的变化速度,这会影响用户的听觉感受,降低用户的体验效果。However, since the ambient noise is constantly changing, it is very troublesome for the user to adjust the volume. When the environmental noise changes frequently, the volume adjustment speed of the user may not be able to meet the changing speed of the environmental noise, which will affect the user's hearing experience and reduce the user's experience effect.

另外,由于电子设备上存在多种播放装置,例如喇叭、耳机,不同播放装置对同一FM音量的输出效果不同,因此在更换播放装置后,FM频道节目的原始音量已不再适合当前播放装置,从而无法满足用户的听觉感受。In addition, since there are various playback devices on electronic equipment, such as speakers and earphones, different playback devices have different output effects on the same FM volume. Therefore, after changing the playback device, the original volume of the FM channel program is no longer suitable for the current playback device. Thus, the hearing experience of the user cannot be satisfied.

发明内容Contents of the invention

本发明提供了一种音量调节方法,以解决背景技术中存在的环境噪声的变化以及电子设备上不同播放装置的更换会影响用户的听觉感受、降低用户的体验效果的问题。The present invention provides a volume adjustment method to solve the problems existing in the background art that the change of environmental noise and the replacement of different playback devices on electronic equipment will affect the user's hearing experience and reduce the user's experience effect.

第一方面,提供了一种音量调节方法,所述方法包括:In a first aspect, a volume adjustment method is provided, the method comprising:

解调接收到的第一FM信号,得到第二FM信号;Demodulating the received first FM signal to obtain a second FM signal;

获取所述电子设备的信号出声属性;Obtaining the sound output property of the electronic device;

依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume of the second FM signal is adjusted according to the sound output property of the electronic device.

第二方面,提供了一种电子设备,包括:In a second aspect, an electronic device is provided, including:

第二FM信号得到模块,用于解调接收到的第一FM信号,得到第二FM信号;The second FM signal obtaining module is used to demodulate the received first FM signal to obtain the second FM signal;

信号出声属性获取模块,用于获取所述电子设备的信号出声属性;a signal sounding attribute acquisition module, configured to obtain the signal sounding attribute of the electronic device;

输出音量调节模块,用于依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume adjustment module is configured to adjust the output volume of the second FM signal according to the sound output property of the electronic device.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明一个实施例的音量调节方法的流程图;Fig. 1 is the flowchart of the volume adjustment method of an embodiment of the present invention;

图2是本发明另一个实施例的音量调节方法的流程图;Fig. 2 is a flowchart of a volume adjustment method according to another embodiment of the present invention;

图3是本发明一个实施例的电子设备的框图;FIG. 3 is a block diagram of an electronic device according to an embodiment of the present invention;

图4是本发明另一个实施例的电子设备的框图;4 is a block diagram of an electronic device according to another embodiment of the present invention;

图5是本发明另一个实施例的电子设备的框图;5 is a block diagram of an electronic device according to another embodiment of the present invention;

图6是本发明另一个实施例的电子设备的框图。FIG. 6 is a block diagram of an electronic device according to another embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

实施例1Example 1

图1是本发明一个实施例的音量调节方法的流程图。图1所示的音量调节方法包括:Fig. 1 is a flowchart of a volume adjustment method according to an embodiment of the present invention. The volume adjustment methods shown in Figure 1 include:

步骤101、解调接收的第一FM信号,得到第二FM信号。Step 101. Demodulate the received first FM signal to obtain a second FM signal.

射频信号即为高频信号,一般用于传输数据,像无线电波、手机信号等。通常使用天线接收高频信号,并对接收的高频信号进行解调处理,以获得相应的基带信号。Radio frequency signals are high-frequency signals, which are generally used to transmit data, such as radio waves and mobile phone signals. Antennas are usually used to receive high-frequency signals, and demodulate the received high-frequency signals to obtain corresponding baseband signals.

收音机接收的FM信号即为高频信号,收音机在接收到FM信号后,需要对接收的FM信号进行解调处理。The FM signal received by the radio is a high-frequency signal. After receiving the FM signal, the radio needs to demodulate the received FM signal.

本发明实施例中,第一FM信号为收音机接收的高频FM信号,为了获取第一FM信号中的有用信息,需要对第一FM信号进行了解调处理,得到第二FM信号。所得的第二FM信号属于基带信号,其中携带有信号的有用信息,例如信号的幅度、频率、相位等。In the embodiment of the present invention, the first FM signal is a high-frequency FM signal received by a radio. In order to obtain useful information in the first FM signal, it is necessary to demodulate the first FM signal to obtain a second FM signal. The obtained second FM signal is a baseband signal, which carries useful information of the signal, such as the amplitude, frequency, phase, etc. of the signal.

步骤102、获取所述电子设备的信号出声属性。Step 102, acquiring the sound output property of the electronic device.

本发明实施例所述的方法应用于电子设备,具体地,应用于设置有收音机的电子设备,例如手机、收音机、平板电脑等。The method described in the embodiment of the present invention is applied to an electronic device, specifically, an electronic device provided with a radio, such as a mobile phone, a radio, a tablet computer, and the like.

信号出声属性为影响音量输出大小的特性,例如音频输出设备种类、环境噪声强度等,其中音量输出设备种类可以包括喇叭、耳机等。The sound output attribute of a signal is a characteristic that affects volume output, such as the type of audio output device, the intensity of ambient noise, etc., where the type of volume output device may include speakers, earphones, and the like.

若信号出声属性包括音量输出设备种类,则在解调第一FM信号得到第二FM信号后,系统对当前电子设备的音量输出设备进行识别,确定当前电子设备的音量输出设备。If the sound output attribute of the signal includes the type of the volume output device, after demodulating the first FM signal to obtain the second FM signal, the system identifies the volume output device of the current electronic device to determine the volume output device of the current electronic device.

若信号出声属性包括环境噪声强度时,则可以开启电子设备的麦克风对设备所在环境的环境噪声进行采集,并进一步对采集的环境噪声进行计算,得到相应的环境噪声强度,例如计算各个环境噪声的环境噪声强度、计算预设时段内采集的多个环境噪声强度的有效值或环境噪声强度峰值。实际中,可以按照预设时间间隔,周期性开启麦克风对信号出声所在环境的环境噪声进行采集,也可以随机开启麦克风采集环境噪声。If the sound attribute of the signal includes the intensity of environmental noise, the microphone of the electronic device can be turned on to collect the environmental noise of the environment where the device is located, and the collected environmental noise can be further calculated to obtain the corresponding environmental noise intensity, such as calculating each environmental noise The ambient noise intensity, calculate the effective value or the peak value of the environmental noise intensity collected in the preset time period. In practice, the microphone can be turned on periodically to collect the ambient noise of the environment where the signal is sounded according to a preset time interval, or the microphone can be turned on randomly to collect the ambient noise.

步骤103、依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。Step 103. Adjust the output volume of the second FM signal according to the sound output property of the electronic device.

在获取电子设备的信号出声属性后,可以依据该信号出声属性对第二FM信号的输出音量进行调节,从而使调节后的输出音量更加适合用户收听。After acquiring the sound output property of the signal of the electronic device, the output volume of the second FM signal may be adjusted according to the sound output property of the signal, so that the adjusted output volume is more suitable for the user to listen to.

当信号出声属性为环境噪声强度时,若采集的当前环境的环境噪声强度较大,则可以适当增大第二FM信号的输出音量;若采集的当前环境的环境噪声强度较小,则可以适当减小第二FM信号的输出音量。When the sound attribute of the signal is the environmental noise intensity, if the environmental noise intensity of the current environment collected is relatively large, the output volume of the second FM signal can be appropriately increased; if the environmental noise intensity of the current environment collected is small, then the Properly reduce the output volume of the second FM signal.

当信号出声属性为音量输出设备时,若播放设备由耳机改为喇叭,则可以适当增大第二FM信号的输出音量,以使用户清晰地听到电子设备所播放的FM音频;若播放设备由喇叭改为耳机,则可以适当减小第二FM信号的输出音量,以防止输出音量过大对用户造成不适。When the sound attribute of the signal is a volume output device, if the playback device is changed from earphones to speakers, the output volume of the second FM signal can be appropriately increased so that the user can clearly hear the FM audio played by the electronic device; If the device is changed from a loudspeaker to an earphone, the output volume of the second FM signal can be appropriately reduced to prevent the user from being uncomfortable due to excessive output volume.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

实施例2Example 2

图2是本发明另一个实施例的音量调节方法的流程图。图2所示的音量调节方法包括:Fig. 2 is a flowchart of a volume adjustment method according to another embodiment of the present invention. The volume adjustment method shown in Figure 2 includes:

步骤201、解调接收到的第一FM信号,得到第二FM信号。Step 201. Demodulate the received first FM signal to obtain a second FM signal.

步骤202、获取所述电子设备的信号出声属性。Step 202, acquire the sound output property of the electronic device.

本发明实施例中,电子设备的信号出声属性可以包括信号出声方式和环境噪嘈杂度中的一种或多种,具体地,可以包括信号出声方式,或信号出声方式和环境嘈杂度。In the embodiment of the present invention, the signal sound attribute of the electronic device may include one or more of the signal sound mode and the environmental noise, specifically, it may include the signal sound mode, or the signal sound mode and the environmental noise Spend.

其中,信号出声方式可以理解为使用何种信号输出设备播放音频,即音频输出设备的种类,例如喇叭、耳机等,不同的信号输出设备对信号的出声效果产生不同的影响。Wherein, the signal output mode can be understood as which signal output device is used to play audio, that is, the type of audio output device, such as speakers, earphones, etc. Different signal output devices have different effects on the sound output of the signal.

环境嘈杂度可以指电子设备所在环境的环境噪声强度或环境噪声强度等级。The environmental annoyance may refer to the environmental noise intensity or the environmental noise intensity level of the environment where the electronic device is located.

当环境嘈杂度为环境噪声强度时,可以在采集到电子设备所在环境的环境噪声后,计算采集的环境噪声的环境噪声强度。其中计算环境噪声的噪声强度是常用技术手段,本发明在此不再赘述。When the environmental annoyance is the environmental noise intensity, after collecting the environmental noise of the environment where the electronic device is located, the environmental noise intensity of the collected environmental noise can be calculated. Calculating the noise intensity of the ambient noise is a common technical means, which will not be repeated in the present invention.

当环境嘈杂度为环境噪声强度等级时,在确定采集的环境噪声的环境噪声强度之后,可以根据预设的环境噪声强度与环境噪声强度等级的对应关系,确定采集的环境噪声的环境噪声强度等级,进而确定电子设备所在环境的环境噪声强度等级。When the environmental annoyance is the environmental noise intensity level, after determining the environmental noise intensity of the collected environmental noise, the environmental noise intensity level of the collected environmental noise can be determined according to the preset corresponding relationship between the environmental noise intensity and the environmental noise intensity level , and then determine the environmental noise intensity level of the environment where the electronic equipment is located.

实际中,可以根据实际将环境噪声强度划分为多个环境噪声强度等级,例如高、中、底三种等级,或一级、二级、三级…N级(N是大于三的正整数)多个等级。In practice, the environmental noise intensity can be divided into multiple environmental noise intensity levels according to the actual situation, such as three levels of high, medium, and low, or first, second, third...N levels (N is a positive integer greater than three) multiple levels.

步骤203、依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量。Step 203: Determine the preset output volume corresponding to the signal output property of the electronic device according to the preset correspondence between the signal output property of the electronic device and the preset output volume of the second FM signal.

本发明实施例中,预设输出音量可以理解为标准输出音量,用户在标准输出音量下具有较好的听觉感受,既可以听清楚输出音频,又不会因为输出音量过高而感到不适。In the embodiment of the present invention, the preset output volume can be understood as the standard output volume. The user has a better hearing experience under the standard output volume, and can hear the output audio clearly without feeling uncomfortable because the output volume is too high.

不同的信号出声属性对应不同的预设输出音量。当信号出声属性为信号出声方式时,由于不同信号出声方式对应的音量输出设备不同,不同结构的音量输出设备对音量的输出效果不同,因此不同信号出声方式对应不同的预设输出音量。Different signal output properties correspond to different preset output volumes. When the sound output property of the signal is the sound output mode of the signal, since the volume output devices corresponding to different signal sound modes are different, the volume output devices of different structures have different output effects on the volume, so different signal sound modes correspond to different preset outputs volume.

当信号出声属性为环境嘈杂度时,不同环境嘈杂度对应不同的预设输出音量,环境嘈杂度越高,其对应的预设输出音量越高,以确保用户可以听清楚输出音频。When the sound attribute of the signal is environmental noise, different environmental noises correspond to different preset output volumes. The higher the environmental noise, the higher the corresponding preset output volume, so as to ensure that the user can hear the output audio clearly.

在执行本发明实施例所述的方法之前,可以预先将电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系存储至电子设备中。Before executing the method described in the embodiment of the present invention, the corresponding relationship between the signal output property of the electronic device and the preset output volume of the second FM signal may be stored in the electronic device in advance.

具体地,当信号出声属性包括信号出声方式时,可以将电子设备的信号出声方式和第二FM信号的预设输出音量之间的对应关系存储至电子设备中。Specifically, when the signal sounding attribute includes a signal sounding manner, the corresponding relationship between the signal sounding manner of the electronic device and the preset output volume of the second FM signal may be stored in the electronic device.

当信号出声属性包括环境嘈杂度时,可以将电子设备所在环境的环境嘈杂度和第二FM信号的预设输出音量之间的对应关系存储至电子设备中。When the sound output attribute of the signal includes environmental annoyance, the corresponding relationship between the environmental annoyance of the environment where the electronic device is located and the preset output volume of the second FM signal may be stored in the electronic device.

当信号出声属性包括信号出声方式和环境嘈杂度两种时,预设电子设备的信号出声方式和所在环境的环境嘈杂度阈值之间的第一对应关系,同时预设所在环境的环境嘈杂度阈值和第二FM信号的预设输出音量之间的第二对应关系,可以将所述第一对应关系和所述第二对应关系存储至电子设备中。When the signal sound attribute includes signal sound mode and environmental annoyance, the first corresponding relationship between the signal sound mode of the electronic device and the environmental annoyance threshold of the environment is preset, and the environment of the environment is preset at the same time For the second correspondence between the annoyance threshold and the preset output volume of the second FM signal, the first correspondence and the second correspondence may be stored in the electronic device.

在获取所述电子设备的信号出声属性之后,可以依据电子设备中存储的对应关系,查找并确定当前电子设备的信号出声属性对应的预设输出音量。进一步,可以根据预设输出音量对第二FM信号的输出音量进行调节。After acquiring the sound output property of the electronic device, the preset output volume corresponding to the sound output property of the current electronic device may be searched and determined according to the corresponding relationship stored in the electronic device. Further, the output volume of the second FM signal can be adjusted according to the preset output volume.

具体地,当信号出声属性为信号出声方式时,可以从信号出声方式-预设输出音量的对应关系中,确定当前电子设备的信号出声方式对应的预设输出音量。当信号出声属性为环境嘈杂度时,可以从环境嘈杂度-预设输出音量的对应关系中,确定对应的预设输出音量。Specifically, when the sound output attribute of the signal is the sound output mode of the signal, the preset output volume corresponding to the sound output mode of the current electronic device may be determined from the corresponding relationship between the sound output mode of the signal and the preset output volume. When the sound output attribute of the signal is environmental annoyance, the corresponding preset output volume may be determined from the corresponding relationship between environmental annoyance and preset output volume.

当信号出声属性为信号出声方式和环境嘈杂度时,可以先依据信号出声方式-环境嘈杂度阈值的第一对应关系,确定当前电子设备的信号出声方式对应的环境嘈杂度阈值,之后依据环境嘈杂度阈值-预设输出音量的第二对应关系,最终确定当前电子设备的信号出声属性对应的预设输出音量。When the signal sound attribute is the signal sound mode and the environmental annoyance, the environmental annoyance threshold corresponding to the signal sound mode of the current electronic device can be determined according to the first corresponding relationship between the signal sound mode and the environmental annoyance threshold, Then, according to the second corresponding relationship between the environmental annoyance threshold value and the preset output volume, the preset output volume corresponding to the signal output property of the current electronic device is finally determined.

步骤204、调节所述第二FM信号的输出音量至预设输出音量。Step 204, adjusting the output volume of the second FM signal to a preset output volume.

由于用户在预设输出音量下具有较好的听觉感受,因此在得到电子设备的信号出声属性所对应的预设输出音量后,可以根据所得的预设输出音量对第二FM信号的输出音量进行调节,将第二FM信号的输出音量调整至所得的预设输出音量,以满足用户感受。Since the user has a better auditory experience at the preset output volume, after obtaining the preset output volume corresponding to the signal sound attribute of the electronic device, the output volume of the second FM signal can be adjusted according to the preset output volume obtained. Adjustment is made to adjust the output volume of the second FM signal to the obtained preset output volume, so as to satisfy the user's experience.

具体地,调节所述第二FM信号的输出音量至预设输出音量可以包括以下步骤:Specifically, adjusting the output volume of the second FM signal to a preset output volume may include the following steps:

S1、计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较该有效值与所述第二FM信号的预设输出音量。S1. Calculate effective values of output volumes of multiple second FM signals obtained within a preset period of time, and compare the effective values with preset output volumes of the second FM signals.

S2、当该有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。S2. When the effective value is smaller than the preset output volume of the second FM signal, increase the output volume of the second FM signal to the preset output volume of the second FM signal.

可以按照预设的步长对第二FM信号的输出音量进行调节。若第二FM信号的输出音量小于预设输出音量,则对第二FM信号的输出音量增加一个步长,进一步将增加后的第二FM信号的输出音量与预设输出音量进行比较,重复上述步骤,直至增加后的第二FM信号的输出音量达到对应的预设输出音量为止。The output volume of the second FM signal can be adjusted according to the preset step size. If the output volume of the second FM signal is less than the preset output volume, then the output volume of the second FM signal is increased by a step, and the output volume of the second FM signal after the increase is further compared with the preset output volume, repeating the above step until the increased output volume of the second FM signal reaches the corresponding preset output volume.

电子设备内通常设置有增益控制电路,用于对第二FM信号进行调整。增益控制电路包括线性放大电路和压缩放大电路,当输入信号较弱时,启动线性放大电路,将FM信号的信号强度乘以音量输出增益,此时的音量输出增益大于1,从而放大FM信号的信号强度;当输入信号较强时,启动压缩放大电路,将FM信号的信号强度乘以音量输出增益,此时的音量输出增益小于1,从而降低FM信号的信号强度,满足了对输入信号进行衰减的需要。音量输出增益可以理解为信号强度的调整系数。A gain control circuit is usually provided in the electronic equipment for adjusting the second FM signal. The gain control circuit includes a linear amplifier circuit and a compression amplifier circuit. When the input signal is weak, the linear amplifier circuit is started, and the signal strength of the FM signal is multiplied by the volume output gain. At this time, the volume output gain is greater than 1, thereby amplifying the FM signal. Signal strength; when the input signal is strong, the compression amplifier circuit is started, and the signal strength of the FM signal is multiplied by the volume output gain. At this time, the volume output gain is less than 1, thereby reducing the signal strength of the FM signal and satisfying the input signal. attenuation needs. Volume output gain can be understood as an adjustment factor for signal strength.

因此,本发明实施例可以通过控制增益控制电路的音量输出增益,实现对第二FM信号的输出音量的调节。当第二FM信号的输出音量小于预设输出音量时,可以增大音量输出增益;当第二FM信号的输出音量大于预设输出音量时,可以适当减小音量输出增益,从而实现对输出音量的调节。Therefore, the embodiment of the present invention can adjust the output volume of the second FM signal by controlling the volume output gain of the gain control circuit. When the output volume of the second FM signal is less than the preset output volume, the volume output gain can be increased; when the output volume of the second FM signal is greater than the preset output volume, the volume output gain can be appropriately reduced, thereby realizing the adjustment of the output volume adjustment.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

实施例3Example 3

图3是本发明一个实施例的电子设备的框图。图3所示的电子设备包括:Figure 3 is a block diagram of an electronic device according to one embodiment of the present invention. The electronic equipment shown in Figure 3 includes:

第二FM信号得到模块301,用于解调接收到的第一FM信号,得到第二FM信号。The second FM signal obtaining module 301 is configured to demodulate the received first FM signal to obtain a second FM signal.

信号出声属性获取模块302,用于获取所述电子设备的信号出声属性。The signal sounding attribute acquiring module 302 is configured to acquire the signal sounding attribute of the electronic device.

输出音量调节模块303,用于依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume adjustment module 303 is configured to adjust the output volume of the second FM signal according to the sound output property of the electronic device.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

实施例4Example 4

图4是本发明另一个实施例的电子设备的框图。图4所示的电子设备包括:FIG. 4 is a block diagram of an electronic device according to another embodiment of the present invention. The electronic equipment shown in Figure 4 includes:

第二FM信号得到模块401,用于解调接收到的第一FM信号,得到第二FM信号。The second FM signal obtaining module 401 is configured to demodulate the received first FM signal to obtain a second FM signal.

信号出声属性获取模块402,用于获取所述电子设备的信号出声属性。The signal sounding attribute acquiring module 402 is configured to acquire the signal sounding attribute of the electronic device.

输出音量调节模块403,用于依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume adjustment module 403 is configured to adjust the output volume of the second FM signal according to the sound output property of the electronic device.

所述输出音量调节模块403包括:The output volume adjustment module 403 includes:

预设输出音量确定子模块4031,用于依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量。The preset output volume determination sub-module 4031 is used to determine the corresponding relationship between the signal output property of the electronic device and the preset output volume of the second FM signal according to the preset output volume of the electronic device. preset output volume.

音量调整子模块4032,用于调节所述第二FM信号的输出音量至预设输出音量。The volume adjustment sub-module 4032 is configured to adjust the output volume of the second FM signal to a preset output volume.

本发明实施例中,优选地,所述音量调整子模块4032包括:In the embodiment of the present invention, preferably, the volume adjustment submodule 4032 includes:

有效值比较单元,用于计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较所述有效值与所述第二FM信号的预设输出音量的大小;An effective value comparison unit, used to calculate the effective value of the output volume of a plurality of second FM signals obtained within a preset period of time, and compare the effective value with the preset output volume of the second FM signal;

输出音量增大单元,用于当所述有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。An output volume increasing unit, configured to increase the output volume of the second FM signal to the preset output of the second FM signal when the effective value is less than the preset output volume of the second FM signal volume.

本发明实施例中,优选地,所述输出音量调节模块403,具体用于按照预设的步长调节所述第二FM信号的输出音量。In the embodiment of the present invention, preferably, the output volume adjustment module 403 is specifically configured to adjust the output volume of the second FM signal according to a preset step size.

本发明实施例中,优选地,所述电子设备的信号出声属性包括信号出声方式,或信号出声方式和所在环境的环境嘈杂度。In the embodiment of the present invention, preferably, the signal sounding attribute of the electronic device includes a signal sounding mode, or a signal sounding mode and environmental noise of the environment where it is located.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

实施例5Example 5

图5是本发明另一个实施例的电子设备的框图。图5所示的电子设备500包括:至少一个处理器501、存储器502、至少一个网络接口504和其他用户接口503。电子设备500中的各个组件通过总线系统505耦合在一起。可理解,总线系统505用于实现这些组件之间的连接通信。总线系统505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统505。FIG. 5 is a block diagram of an electronic device according to another embodiment of the present invention. The electronic device 500 shown in FIG. 5 includes: at least one processor 501 , a memory 502 , at least one network interface 504 and other user interfaces 503 . Various components in the electronic device 500 are coupled together through the bus system 505 . It can be understood that the bus system 505 is used to realize connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 505 in FIG. 5 .

其中,用户接口503可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 503 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器502可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本发明实施例描述的系统和方法的存储器502旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 502 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-OnlyMemory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (ErasablePROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (Random Access Memory, RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (Direct Rambus RAM, DRRAM). The memory 502 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器502存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统5021和应用程序5022。In some implementations, the memory 502 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 5021 and an application program 5022 .

其中,操作系统5021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序5022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序5022中。Among them, the operating system 5021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 5022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 5022 .

在本发明实施例中,通过调用存储器502存储的程序或指令,具体的,可以是应用程序5022中存储的程序或指令,处理器501用于解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。In the embodiment of the present invention, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application program 5022, the processor 501 is used to demodulate the received first FM signal to obtain the second FM signal, acquiring the sound output property of the signal of the electronic device, and adjusting the output volume of the second FM signal according to the sound output property of the signal of the electronic device.

上述本发明实施例揭示的方法可以应用于处理器501中,或者由处理器501实现。处理器501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器501可以是通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(ApplicationSpecific IntegratedCircuit,ASIC)、现成可编程门阵列(FieldProgrammableGateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器502,处理器501读取存储器502中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 501 or implemented by the processor 501 . The processor 501 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 501 or instructions in the form of software. The above-mentioned processor 501 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates Or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD ), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application, or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,处理器501还用于依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量;Optionally, the processor 501 is further configured to determine, according to the preset corresponding relationship between the signal sound property of the electronic device and the preset output volume of the second FM signal, the signal sound property corresponding to the electronic device. preset output volume;

调节所述第二FM信号的输出音量至预设输出音量。adjusting the output volume of the second FM signal to a preset output volume.

可选地,处理器501还用于计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较所述有效值与所述第二FM信号的预设输出音量;Optionally, the processor 501 is further configured to calculate effective values of output volumes of multiple second FM signals obtained within a preset period of time, and compare the effective values with the preset output volumes of the second FM signals;

当所述有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。When the effective value is smaller than the preset output volume of the second FM signal, increasing the output volume of the second FM signal to the preset output volume of the second FM signal.

可选地,处理器501还用于按照预设的步长调节所述第二FM信号的输出音量。Optionally, the processor 501 is further configured to adjust the output volume of the second FM signal according to a preset step size.

可选地,所述电子设备的信号出声属性包括信号出声方式,或信号出声方式和所在环境的环境嘈杂度。Optionally, the signal output property of the electronic device includes a signal output mode, or a signal output mode and the environmental noise of the environment where it is located.

电子设备500能够实现前述实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 500 is capable of implementing various processes implemented by the electronic device in the foregoing embodiments, and details are not repeated here to avoid repetition.

依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。According to an embodiment of the present invention, the received first FM signal is demodulated to obtain a second FM signal, the sound output property of the electronic device is acquired, and the second FM signal is adjusted according to the sound output property of the electronic device. The output volume of the FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

实施例6Example 6

图6是本发明另一个实施例的电子设备的结构示意图。具体地,图6中的电子设备600可以为手机、平板电脑、个人数字助理(PersonalDigital Assistant,PDA)、或车载电脑等。Fig. 6 is a schematic structural diagram of an electronic device according to another embodiment of the present invention. Specifically, the electronic device 600 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图6中的电子设备600包括射频(RadioFrequency,RF)电路610、存储器620、输入单元630、显示单元640、处理器660、音频电路670、WiFi(WirelessFidelity)模块680和电源690。The electronic device 600 in FIG. 6 includes a radio frequency (Radio Frequency, RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a WiFi (Wireless Fidelity) module 680 and a power supply 690.

其中,输入单元630可用于接收用户输入的数字或字符信息,以及产生与电子设备600的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元630可以包括触控面板631。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器660,并能接收处理器660发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除了触控面板631,输入单元630还可以包括其他输入设备632,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 630 can be used to receive digital or character information input by the user, and generate signal input related to user setting and function control of the electronic device 600 . Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631 . The touch panel 631, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 631 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元640可用于显示由用户输入的信息或提供给用户的信息以及电子设备600的各种菜单界面。显示单元640可包括显示面板641,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板641。Wherein, the display unit 640 can be used to display information input by the user or information provided to the user and various menu interfaces of the electronic device 600 . The display unit 640 may include a display panel 641. Optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板631可以覆盖显示面板641,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器660以确定触摸事件的类型,随后处理器660根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 631 can cover the display panel 641 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 660 to determine the type of the touch event, and then the processor 660 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器660是电子设备600的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器621内的软件程序和/或模块,以及调用存储在第二存储器622内的数据,执行电子设备600的各种功能和处理数据,从而对电子设备600进行整体监控。可选的,处理器660可包括一个或多个处理单元。Wherein the processor 660 is the control center of the electronic device 600, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 621, and calls the software programs and/or modules stored in the second memory 621. The data in the memory 622 executes various functions of the electronic device 600 and processes data, so as to monitor the electronic device 600 as a whole. Optionally, the processor 660 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器621内的软件程序和/或模块和/或该第二存储器622内的数据,处理器660用于解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。In the embodiment of the present invention, the processor 660 is used to demodulate the received first FM signal by calling the software programs and/or modules stored in the first memory 621 and/or the data in the second memory 622, Obtaining the second FM signal, acquiring the sound output property of the signal of the electronic device, and adjusting the output volume of the second FM signal according to the sound output property of the signal of the electronic device.

可选地,处理器660还用于依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量;Optionally, the processor 660 is further configured to determine, according to the preset corresponding relationship between the signal sound property of the electronic device and the preset output volume of the second FM signal, the signal sound property corresponding to the electronic device. preset output volume;

调节所述第二FM信号的输出音量至预设输出音量。adjusting the output volume of the second FM signal to a preset output volume.

可选地,处理器660还用于计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较所述有效值与所述第二FM信号的预设输出音量;Optionally, the processor 660 is further configured to calculate effective values of output volumes of multiple second FM signals obtained within a preset period of time, and compare the effective values with the preset output volumes of the second FM signals;

当所述有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。When the effective value is smaller than the preset output volume of the second FM signal, increasing the output volume of the second FM signal to the preset output volume of the second FM signal.

可选地,处理器660还用于按照预设的步长调节所述第二FM信号的输出音量。Optionally, the processor 660 is further configured to adjust the output volume of the second FM signal according to a preset step size.

可选地,所述电子设备的信号出声属性包括信号出声方式,或信号出声方式和所在环境的环境嘈杂度。Optionally, the signal output property of the electronic device includes a signal output mode, or a signal output mode and the environmental noise of the environment where it is located.

可见,依据本发明的实施例,解调接收到的第一FM信号,得到第二FM信号,获取所述电子设备的信号出声属性,依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。因此,使用本发明实施例所述的方法可以实现对第二FM信号的输出音量的有效调节,调节后的第二FM信号的输出音量满足用户的听觉感受,从而保证了用户的体验效果。It can be seen that, according to the embodiment of the present invention, the first FM signal received is demodulated to obtain the second FM signal, and the sound output property of the electronic device is obtained, and the sound output property of the electronic device is adjusted according to the sound output property of the electronic device. The output volume of the second FM signal. Therefore, using the method described in the embodiment of the present invention can effectively adjust the output volume of the second FM signal, and the adjusted output volume of the second FM signal satisfies the user's hearing experience, thereby ensuring the user's experience effect.

由于所述电子设备实施例基本相应于前述图1-图2所示的方法实施例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此就不赘述了。Since the embodiment of the electronic device basically corresponds to the method embodiment shown in the above-mentioned Figures 1-2, the details in the description of this embodiment can be referred to the relevant descriptions in the above-mentioned embodiments, and will not be repeated here. up.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1.一种音量调节方法,应用于电子设备,其特征在于,所述方法包括:1. A volume adjustment method, applied to electronic equipment, is characterized in that, the method comprises: 解调接收到的第一FM信号,得到第二FM信号;Demodulating the received first FM signal to obtain a second FM signal; 获取所述电子设备的信号出声属性;Obtaining the sound output property of the electronic device; 依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume of the second FM signal is adjusted according to the sound output property of the electronic device. 2.根据权利要求1所述的音量调节方法,其特征在于,所述依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量包括:2. The volume adjustment method according to claim 1, wherein, adjusting the output volume of the second FM signal according to the sound output property of the electronic device comprises: 依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量;Determine the preset output volume corresponding to the signal sound attribute of the electronic device according to the preset correspondence between the signal sound attribute of the electronic device and the preset output volume of the second FM signal; 调节所述第二FM信号的输出音量至预设输出音量。adjusting the output volume of the second FM signal to a preset output volume. 3.根据权利要求2所述的音量调节方法,其特征在于,所述调节所述第二FM信号的输出音量至预设输出音量包括:3. The volume adjustment method according to claim 2, wherein the adjusting the output volume of the second FM signal to a preset output volume comprises: 计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较所述有效值与所述第二FM信号的预设输出音量;calculating effective values of the output volumes of the plurality of second FM signals obtained within a preset period of time, and comparing the effective values with the preset output volumes of the second FM signals; 当所述有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。When the effective value is smaller than the preset output volume of the second FM signal, increasing the output volume of the second FM signal to the preset output volume of the second FM signal. 4.根据权利要求1所述的音量调节方法,其特征在于,所述调节所述第二FM信号的输出音量包括:4. volume adjustment method according to claim 1, is characterized in that, the output volume of described adjustment described second FM signal comprises: 按照预设的步长调节所述第二FM信号的输出音量。and adjusting the output volume of the second FM signal according to a preset step size. 5.根据权利要求1所述的音量调节方法,其特征在于,所述电子设备的信号出声属性包括信号出声方式,或信号出声方式和所在环境的环境嘈杂度。5 . The volume adjustment method according to claim 1 , wherein the signal output attribute of the electronic device includes a signal output mode, or a signal output mode and environmental noise of the environment where it is located. 6 . 6.一种电子设备,其特征在于,所述电子设备包括:6. An electronic device, characterized in that the electronic device comprises: 第二FM信号得到模块,用于解调接收到的第一FM信号,得到第二FM信号;The second FM signal obtaining module is used to demodulate the received first FM signal to obtain the second FM signal; 信号出声属性获取模块,用于获取所述电子设备的信号出声属性;a signal sounding attribute acquisition module, configured to obtain the signal sounding attribute of the electronic device; 输出音量调节模块,用于依据所述电子设备的信号出声属性,调节所述第二FM信号的输出音量。The output volume adjustment module is configured to adjust the output volume of the second FM signal according to the sound output property of the electronic device. 7.根据权利要求6所述的电子设备,其特征在于,所述输出音量调节模块包括:7. The electronic device according to claim 6, wherein the output volume adjustment module comprises: 预设输出音量确定子模块,用于依据预设的电子设备的信号出声属性和第二FM信号的预设输出音量之间的对应关系,确定所述电子设备的信号出声属性所对应的预设输出音量;The preset output volume determination sub-module is used to determine the corresponding relationship between the signal output volume of the electronic device and the preset output volume of the second FM signal according to the preset output volume of the electronic device. preset output volume; 音量调整子模块,用于调节所述第二FM信号的输出音量至预设输出音量。The volume adjustment sub-module is used to adjust the output volume of the second FM signal to a preset output volume. 8.根据权利要求7所述的电子设备,其特征在于,所述音量调整子模块包括:8. The electronic device according to claim 7, wherein the volume adjustment submodule comprises: 有效值比较单元,用于计算预设时段内得到的多个第二FM信号的输出音量的有效值,并且比较所述有效值与所述第二FM信号的预设输出音量;An effective value comparison unit, configured to calculate the effective value of the output volume of a plurality of second FM signals obtained within a preset period of time, and compare the effective value with the preset output volume of the second FM signal; 输出音量增大单元,用于当所述有效值小于所述第二FM信号的预设输出音量时,将所述第二FM信号的输出音量增大至所述第二FM信号的预设输出音量。An output volume increasing unit, configured to increase the output volume of the second FM signal to the preset output of the second FM signal when the effective value is less than the preset output volume of the second FM signal volume. 9.根据权利要求6所述的电子设备,其特征在于:9. The electronic device according to claim 6, characterized in that: 所述输出音量调节模块,具体用于按照预设的步长调节所述第二FM信号的输出音量。The output volume adjustment module is specifically configured to adjust the output volume of the second FM signal according to a preset step size. 10.根据权利要求6所述的电子设备,其特征在于,所述电子设备的信号出声属性包括信号出声方式,或信号出声方式和所在环境的环境嘈杂度。10 . The electronic device according to claim 6 , wherein the sound signal attribute of the electronic device includes a sound signal mode, or a signal sound mode and environmental noise of an environment where the electronic device is located. 11 .
CN201610514062.3A 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment Pending CN106201422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610514062.3A CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514062.3A CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106201422A true CN106201422A (en) 2016-12-07

Family

ID=57464120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514062.3A Pending CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106201422A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN201234260Y (en) * 2008-06-30 2009-05-06 宇龙计算机通信科技(深圳)有限公司 FM receiving circuit and mobile communication terminal
US20090262955A1 (en) * 2006-08-04 2009-10-22 Kazunobu Kimura Electronic device and volume control method of electronic device
CN103137155A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Play system with acoustical signals adjusted according to external acoustical signal changes and method thereof
CN104010147A (en) * 2014-04-29 2014-08-27 京东方科技集团股份有限公司 Method for automatically adjusting volume of audio playing system and audio playing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
US20090262955A1 (en) * 2006-08-04 2009-10-22 Kazunobu Kimura Electronic device and volume control method of electronic device
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN201234260Y (en) * 2008-06-30 2009-05-06 宇龙计算机通信科技(深圳)有限公司 FM receiving circuit and mobile communication terminal
CN103137155A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Play system with acoustical signals adjusted according to external acoustical signal changes and method thereof
CN104010147A (en) * 2014-04-29 2014-08-27 京东方科技集团股份有限公司 Method for automatically adjusting volume of audio playing system and audio playing device

Similar Documents

Publication Publication Date Title
CN106303804B (en) Microphone control method and mobile terminal
CN106027809B (en) A volume adjustment method and mobile terminal
CN106101929A (en) A kind of protection human ear audition method and mobile terminal
CN107277268B (en) A kind of audio playback method and mobile terminal
CN106101909A (en) A kind of method of earphone noise reduction and mobile terminal
CN105246000A (en) Method and mobile terminal for improving earphone sound quality
CN106791109A (en) A kind of sound prompting method and mobile terminal
CN106331371A (en) A volume adjustment method and mobile terminal
CN107623776A (en) A volume control method, system and mobile terminal
CN107277249A (en) It is a kind of to reduce the method and mobile terminal of interference of call signal
CN105260161A (en) Method for application software volume control and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN105827853A (en) Method for controlling terminal loudspeaker volume output and mobile terminal
CN106851486B (en) Method for switching earphone channels and mobile terminal
CN107743279B (en) Noise reduction method for earphone, earphone and mobile terminal
CN107369459A (en) A kind of audio-frequency processing method and mobile terminal
CN106060710A (en) Audio output method and electronic equipment
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN106341535A (en) Audio playing control method and mobile terminal
CN106714038B (en) A sound loudness control method and mobile terminal
CN107690026B (en) Signal processing method and mobile terminal
CN107391078A (en) A kind of sound adjusting method and mobile terminal
CN107317608A (en) Antenna operating mode system of selection, mobile terminal and computer-readable recording medium
CN106060268A (en) Voice output method for mobile terminal and mobile terminal
CN106060719A (en) Terminal audio output control method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication