CN106126168B - A kind of sound effect treatment method and device - Google Patents
A kind of sound effect treatment method and device Download PDFInfo
- Publication number
- CN106126168B CN106126168B CN201610438868.9A CN201610438868A CN106126168B CN 106126168 B CN106126168 B CN 106126168B CN 201610438868 A CN201610438868 A CN 201610438868A CN 106126168 B CN106126168 B CN 106126168B
- Authority
- CN
- China
- Prior art keywords
- sound effect
- terminal device
- mode
- type
- audio mode
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (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)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
- Multimedia (AREA)
Abstract
本发明实施例公开了一种音效处理方法及装置,其中音效处理方法可包括:获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;以及根据所述音效模式设置所述终端设备的音效参数。采用本发明实施例,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。
The embodiment of the present invention discloses a sound effect processing method and device, wherein the sound effect processing method may include: obtaining the type of the terminal device; and determining the corresponding sound effect mode of the terminal device according to the preset correspondence between the terminal device type and the sound effect mode ; and setting the sound effect parameters of the terminal device according to the sound effect mode. By adopting the embodiment of the present invention, it is possible to automatically determine the corresponding sound effect mode for different terminal types, automatically set the sound effect parameters of the terminal device, reduce user operations, and effectively improve user experience and auditory effects.
Description
技术领域technical field
本发明涉及智能终端技术领域,尤其涉及一种音效处理方法及装置。The present invention relates to the technical field of intelligent terminals, in particular to a sound effect processing method and device.
背景技术Background technique
随着智能终端技术的发展,市场上各种各样的智能终端层出不穷,智能终端的功能及应用也越来越丰富。其中,音频播放功能为大多数智能终端都具备的基本功能。终端中的许多应用都需要调用音频模块进行音频播放,例如播放游戏音效、音乐、视频音效等。With the development of smart terminal technology, various smart terminals emerge in an endless stream on the market, and the functions and applications of smart terminals are becoming more and more abundant. Among them, the audio playback function is a basic function that most smart terminals have. Many applications in the terminal need to call the audio module for audio playback, such as playing game sound effects, music, video sound effects, etc.
为了迎合用户对听觉体验的不同需求,目前的许多终端设备可通过音效均衡器设置音效参数,设置生效后,终端设备将以该音效参数播放所有音频直至重新设置音效参数。然而,在实际应用中,在不同的情况下用户希望体验不同的声音效果,在现有技术中,用户只能每次都手动设置不同的音效参数,使得操作繁琐且费时。In order to meet the different needs of users for listening experience, many current terminal devices can set the sound effect parameters through the sound effect equalizer. After the setting takes effect, the terminal device will play all audio with the sound effect parameters until the sound effect parameters are reset. However, in practical applications, users wish to experience different sound effects in different situations. In the prior art, users can only manually set different sound effect parameters each time, which makes the operation cumbersome and time-consuming.
发明内容Contents of the invention
本发明实施例提供一种音效处理方法及装置,可自动设置音效参数,减少用户操作量,有效改善用户体验和听觉效果。Embodiments of the present invention provide a sound effect processing method and device, which can automatically set sound effect parameters, reduce user operations, and effectively improve user experience and auditory effects.
本发明实施例第一方面提供一种音效处理方法,可包括:The first aspect of the embodiments of the present invention provides a method for processing sound effects, which may include:
获取终端设备的类型;Obtain the type of the terminal device;
根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;以及Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode; and
根据所述音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the sound effect mode.
在一些可选实施例中,在所述终端设备对应的音效模式包括多种时,所述方法还包括:In some optional embodiments, when the sound effect modes corresponding to the terminal device include multiple types, the method further includes:
获取用户登录服务器的登录信息;以及Obtain the login information of the user to log in to the server; and
根据所述登录信息从所述多种音效模式中确定第一目标音效模式;determining a first target sound effect mode from the plurality of sound effect modes according to the login information;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第一目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the first target sound effect mode.
在一些可选实施例中,在所述终端设备设备对应的音效模式包括多种时,所述方法还包括:In some optional embodiments, when the sound effect modes corresponding to the terminal equipment include multiple types, the method further includes:
获取所述终端设备的环境音量;以及acquiring the ambient volume of the terminal device; and
根据所述环境音量从所述多种音效模式中确定第二目标音效模式;determining a second target sound effect mode from the plurality of sound effect modes according to the ambient volume;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第二目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the second target sound effect mode.
在一些可选实施例中,在所述终端设备对应的音效模式包括多种时,所述方法还包括:In some optional embodiments, when the sound effect modes corresponding to the terminal device include multiple types, the method further includes:
获取所述终端设备的当前状态信息,所述当前状态信息包括所述终端设备的位置信息、所述终端设备当前的系统时间中的至少一种;以及Acquire current state information of the terminal device, where the current state information includes at least one of location information of the terminal device and current system time of the terminal device; and
根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式;determining a third target sound effect mode from the plurality of sound effect modes according to the current state information;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第三目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the third target sound effect mode.
本发明实施例第二方面提供一种音效处理方法,可包括:The second aspect of the embodiment of the present invention provides a sound effect processing method, which may include:
接收服务器发送的与终端设备对应的音效模式的信息,所述对应的音效模式是根据终端设备的类型及预先设置的终端设备类型与音效模式的对应关系确定的;Receiving the information of the sound effect mode corresponding to the terminal device sent by the server, the corresponding sound effect mode is determined according to the type of the terminal device and the preset correspondence between the terminal device type and the sound effect mode;
根据所述对应的音效模式设置音效参数。Sound effect parameters are set according to the corresponding sound effect mode.
在一些可选实施例中,所述接收服务器发送的音效模式信息之前,所述方法还包括:In some optional embodiments, before receiving the sound effect mode information sent by the server, the method further includes:
登录服务器,并向所述服务器发送登录信息,以使所述服务器根据所述登录信息从所述终端设备对应的多种音效模式中确定第一目标音效模式;Logging into a server, and sending login information to the server, so that the server determines a first target sound effect mode from various sound effect modes corresponding to the terminal device according to the login information;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第一目标音效模式的信息;receiving the information of the first target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第一目标音效模式设置音效参数。Set sound effect parameters according to the first target sound effect mode.
在一些可选实施例中,所述接收服务器发送的音效模式信息之前,所述方法还包括:In some optional embodiments, before receiving the sound effect mode information sent by the server, the method further includes:
获取环境音量,并向所述服务器发送所述环境音量,以使所述服务器根据所述环境音量从所述终端设备对应的多种音效模式中确定第二目标音效模式;Acquiring the ambient volume, and sending the ambient volume to the server, so that the server determines a second target sound effect mode from a plurality of sound effect modes corresponding to the terminal device according to the environmental volume;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第二目标音效模式的信息;receiving the information of the second target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第二目标音效模式设置音效参数。Set sound effect parameters according to the second target sound effect mode.
在一些可选实施例中,所述接收服务器发送的音效模式信息之前,所述方法还包括:In some optional embodiments, before receiving the sound effect mode information sent by the server, the method further includes:
获取当前状态信息并向所述服务器发送所述当前状态信息,以使所述服务器根据所述当前状态信息从所述终端设备对应的多种音效模式中确定第三目标音效模式;Acquiring current state information and sending the current state information to the server, so that the server determines a third target sound effect mode from various sound effect modes corresponding to the terminal device according to the current state information;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第三目标音效模式的信息;receiving information of the third target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第三目标音效模式设置音效参数;Setting sound effect parameters according to the third target sound effect mode;
其中,所述当前状态信息包括位置信息及当前的系统时间中至少一种。Wherein, the current status information includes at least one of location information and current system time.
本发明实施例第三方面提供一种音效处理装置,可包括:The third aspect of the embodiment of the present invention provides an audio processing device, which may include:
获取单元,用获取终端设备的类型;The acquisition unit is used to acquire the type of the terminal device;
确定单元,用于根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;以及A determining unit, configured to determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode; and
设置单元,用于根据所述音效模式设置所述终端设备的音效参数。A setting unit, configured to set the sound effect parameters of the terminal device according to the sound effect mode.
在一些可选实施例中,在所述终端设备对应的音效模式包括多种时,In some optional embodiments, when the sound effect modes corresponding to the terminal device include multiple types,
所述获取单元,还用于获取用户登录服务器的登录信息;The obtaining unit is also used to obtain the login information of the user logging in to the server;
所述确定单元,还用于根据所述登录信息从所述多种音效模式中确定第一目标音效模式;The determining unit is further configured to determine a first target sound effect mode from the plurality of sound effect modes according to the login information;
所述设置单元,具体用于根据所述第一目标音效模式设置所述终端设备的音效参数。The setting unit is specifically configured to set the sound effect parameters of the terminal device according to the first target sound effect mode.
在一些可选实施例中,在所述终端设备对应的音效模式包括多种时,In some optional embodiments, when the sound effect modes corresponding to the terminal device include multiple types,
所述获取单元,还用于获取所述终端设备的环境音量;The acquiring unit is further configured to acquire the ambient volume of the terminal device;
所述确定单元,还用于根据所述环境音量从所述多种音效模式中确定第二目标音效模式;The determining unit is further configured to determine a second target sound effect mode from the plurality of sound effect modes according to the ambient volume;
所述设置单元,具体用于根据所述第二目标音效模式设置所述终端设备的音效参数。The setting unit is specifically configured to set the sound effect parameters of the terminal device according to the second target sound effect mode.
在一些可选实施例中,在所述终端设备对应的音效模式包括多种时,In some optional embodiments, when the sound effect modes corresponding to the terminal device include multiple types,
所述获取单元,还用于获取所述终端设备的当前状态信息,所述当前状态信息包括所述终端设备的位置信息、所述终端设备当前的系统时间中的至少一种;The obtaining unit is further configured to obtain current state information of the terminal device, where the current state information includes at least one of location information of the terminal device and current system time of the terminal device;
所述确定单元,还用于根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式;The determining unit is further configured to determine a third target sound effect mode from the plurality of sound effect modes according to the current state information;
所述设置单元,具体用于根据所述第三目标音效模式设置所述终端设备的音效参数。The setting unit is specifically configured to set the sound effect parameters of the terminal device according to the third target sound effect mode.
本发明实施例第四方面提供一种音效处理装置,可包括:The fourth aspect of the embodiment of the present invention provides an audio processing device, which may include:
接收单元,用于接收服务器发送的与终端设备对应的音效模式的信息,所述对应的音效模式是根据终端设备的类型及预先设置的终端设备类型与音效模式的对应关系确定的;The receiving unit is used to receive the information of the sound effect mode corresponding to the terminal device sent by the server, and the corresponding sound effect mode is determined according to the type of the terminal device and the preset corresponding relationship between the terminal device type and the sound effect mode;
设置单元,用于根据所述对应的音效模式设置音效参数。A setting unit, configured to set sound effect parameters according to the corresponding sound effect mode.
在一些可选实施例中,所述音效处理装置还包括:In some optional embodiments, the sound effect processing device further includes:
登录单元,用于登录服务器,并向所述服务器发送登录信息,以使所述服务器根据所述登录信息从所述终端设备对应的多种音效模式中确定第一目标音效模式;A login unit, configured to log in to a server, and send login information to the server, so that the server determines a first target sound effect mode from various sound effect modes corresponding to the terminal device according to the login information;
所述接收单元,具体用于接收所述服务器发送的所述第一目标音效模式的信息;The receiving unit is specifically configured to receive the information of the first target sound effect mode sent by the server;
所述设置单元,具体用于根据所述第一目标音效模式设置音效参数。The setting unit is specifically configured to set sound effect parameters according to the first target sound effect mode.
在一些可选实施例中,所述音效处理装置还包括:In some optional embodiments, the sound effect processing device further includes:
第一获取单元,用于获取环境音量,并向所述服务器发送所述环境音量,以使所述服务器根据所述环境音量从所述终端设备对应的多种音效模式中确定第二目标音效模式;A first acquiring unit, configured to acquire the ambient volume, and send the ambient volume to the server, so that the server determines a second target audio mode from various audio modes corresponding to the terminal device according to the ambient volume. ;
所述接收单元,具体用于接收所述服务器发送的所述第二目标音效模式的信息;The receiving unit is specifically configured to receive the information of the second target sound effect mode sent by the server;
所述设置单元,具体用于根据所述第二目标音效模式设置音效参数。The setting unit is specifically configured to set sound effect parameters according to the second target sound effect mode.
在一些可选实施例中,所述音效处理装置还包括:In some optional embodiments, the sound effect processing device further includes:
第二获取单元,用于获取当前状态信息并向所述服务器发送所述当前状态信息,以使所述服务器根据所述当前状态信息从所述终端设备对应的多种音效模式中确定第三目标音效模式;A second acquiring unit, configured to acquire current state information and send the current state information to the server, so that the server determines a third target from various sound effect modes corresponding to the terminal device according to the current state information sound mode;
所述接收单元,具体用于接收所述服务器发送的所述第三目标音效模式的信息;The receiving unit is specifically configured to receive the information of the third target sound effect mode sent by the server;
所述设置单元,具体用于根据所述第三目标音效模式设置音效参数;The setting unit is specifically configured to set sound effect parameters according to the third target sound effect mode;
其中,所述当前状态信息包括位置信息及当前的系统时间中至少一种。Wherein, the current status information includes at least one of location information and current system time.
本发明实施例第五方面提供一种音效处理装置,可包括处理器、存储器、通信接口和通信总线,其中所述处理器、所述存储器、所述处理器和所述通信接口通过所述通信总线连接,所述存储器存储有可执行程序代码,所述通信接口用于无线通信;所述处理器用于调用所述存储器中存储的可执行程序代码,以执行本发明实施例第一方面或者第一方面任一可选实施例所述的音效处理方法。The fifth aspect of the embodiment of the present invention provides an audio processing device, which may include a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, the processor, and the communication interface pass through the communication bus connection, the memory stores executable program codes, and the communication interface is used for wireless communication; the processor is used to call the executable program codes stored in the memory to execute the first aspect or the second aspect of the embodiments of the present invention In one aspect, the sound effect processing method described in any optional embodiment.
本发明实施例第六方面提供一种音效处理装置,可包括处理器、存储器、通信接口和通信总线,其中所述处理器、所述存储器、所述处理器和所述通信接口通过所述通信总线连接,所述存储器存储有可执行程序代码,所述通信接口用于无线通信;所述处理器用于调用所述存储器中存储的可执行程序代码,以执行本发明实施例第二方面或者第二方面任一可选实施例所述的音效处理方法。The sixth aspect of the embodiment of the present invention provides an audio processing device, which may include a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, the processor, and the communication interface pass through the communication bus connection, the memory stores executable program codes, and the communication interface is used for wireless communication; the processor is used to call the executable program codes stored in the memory to execute the second aspect or the first aspect of the embodiments of the present invention The sound effect processing method described in any optional embodiment of the second aspect.
本发明实施例中,可以获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;以及根据所述音效模式设置所述终端设备的音效参数。采用本发明实施例,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, the type of the terminal device can be obtained; according to the preset correspondence between the terminal device type and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; and the sound effect of the terminal device is set according to the sound effect mode parameter. By adopting the embodiment of the present invention, it is possible to automatically determine the corresponding sound effect mode for different terminal types, automatically set the sound effect parameters of the terminal device, reduce user operations, and effectively improve user experience and auditory effects.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.
图1是本发明的一个实施例提供的音效处理方法的流程示意图;Fig. 1 is a schematic flowchart of a sound effect processing method provided by an embodiment of the present invention;
图2是本发明的另一个实施例提供的音效处理方法的流程示意图;Fig. 2 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图3是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 3 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图4是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 4 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图5是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 5 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图6是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 6 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图7是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 7 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图8是本发明的又一个实施例提供的音效处理方法的流程示意图;Fig. 8 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention;
图9是本发明的一个实施例提供的终端设备的结构示意图;FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图10是本发明的另一个实施例提供的终端设备的结构示意图;FIG. 10 is a schematic structural diagram of a terminal device provided by another embodiment of the present invention;
图11是本发明的又一个实施例提供的终端设备的结构示意图;Fig. 11 is a schematic structural diagram of a terminal device provided by another embodiment of the present invention;
图12是本发明的又一个实施例提供的终端设备的结构示意图。Fig. 12 is a schematic structural diagram of a terminal device provided by another embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种音效处理方法及装置,可自动设置音效参数,减少用户操作量,有效改善用户体验和听觉效果。以下将结合附图进行详细说明。Embodiments of the present invention provide a sound effect processing method and device, which can automatically set sound effect parameters, reduce user operations, and effectively improve user experience and auditory effects. It will be described in detail below in conjunction with the accompanying drawings.
参见图1,图1是本发明的一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器或终端设备来执行。如图1所示,所述方法可包括如下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a sound effect processing method provided by an embodiment of the present invention. The sound effect processing method can be executed by a server or a terminal device. As shown in Figure 1, the method may include the following steps:
S101,获取终端设备的类型。S101. Acquire the type of the terminal device.
可选的,终端设备可以包括手机、平板电脑、笔记本电脑、个人计算机、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、多媒体播放器(如MP3、CD机等)各类具有音频播放功能的终端,本发明实施例不作限定。Optionally, the terminal equipment may include mobile phone, tablet computer, notebook computer, personal computer, personal digital assistant (Personal Digital Assistant, PDA), mobile Internet device (Mobile Internet Device, MID), multimedia player (such as MP3, CD player etc.) various types of terminals with an audio playback function, which are not limited in this embodiment of the present invention.
具体实施中,终端设备可获取自身的类型,服务器可接收终端发送的类型信息,或者根据终端设备的身份标识确定终端设备的类型。In a specific implementation, the terminal device can obtain its own type, and the server can receive the type information sent by the terminal, or determine the type of the terminal device according to the identity of the terminal device.
S102,根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。S102. Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
作为一种可行的实施方式,可预先存储终端设备类型与音效模式之间的对应关系。可选地,该对应关系可以由用户通过终端设备登录服务器进行手动设置,并存储在服务器或终端设备中;该对应关系也可由服务器根据不同终端类型的配置进行设置,存储在服务器中或推送给终端进行存储。可选地,一种终端类型对应的音效模式可以是一种或多种。当一种终端类型对应多种音效模式时,可根据终端设备的其他信息从多种音效模式中确定一种目标音效模式。As a feasible implementation manner, the corresponding relationship between the type of the terminal device and the sound effect mode may be stored in advance. Optionally, the corresponding relationship can be manually set by the user logging in to the server through the terminal device, and stored in the server or the terminal device; the corresponding relationship can also be set by the server according to the configuration of different terminal types, stored in the server or pushed to terminal for storage. Optionally, there may be one or more sound effect modes corresponding to a terminal type. When a terminal type corresponds to multiple sound effect modes, a target sound effect mode may be determined from the multiple sound effect modes according to other information of the terminal device.
本发明实施例中,当按照场景划分时,音效模式可包括音乐模式、电影模式、KTV模式、广场模式等,其中音乐模式按照不同风格还可以进一步细分为古典音乐模式、流行音乐模式、爵士乐模式、摇滚乐模式、蓝调模式、嘻哈(Hip-Hop)模式等。电影模式可包括杜比模式、DTS(Digital Theatre System,数字化影院系统)模式等。当按照音频质量来划分时,音效模式可包括高清晰度模式、高保真度模式、高对比度模式、低功耗模式等。In the embodiment of the present invention, when divided according to the scene, the sound mode can include music mode, movie mode, KTV mode, plaza mode, etc., wherein the music mode can be further subdivided into classical music mode, pop music mode, jazz mode according to different styles. mode, rock mode, blues mode, hip-hop (Hip-Hop) mode, etc. The movie mode may include a Dolby mode, a DTS (Digital Theater System, digital theater system) mode, and the like. When divided according to audio quality, the sound effect mode may include a high definition mode, a high fidelity mode, a high contrast mode, a low power consumption mode, and the like.
S103,根据所述音效模式设置所述终端设备的音效参数。S103. Set sound effect parameters of the terminal device according to the sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes.
在一些可行的实施方式中,确定对应的音效模式之后,可由服务器进一步确定该音效模式对应的音效参数,并向上述终端设备发送该对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the corresponding sound effect mode is determined, the server may further determine the sound effect parameters corresponding to the sound effect mode, and send the corresponding sound effect parameters to the above-mentioned terminal device, so that the above-mentioned terminal device Make sound effect parameter settings.
在另一些可行的实施方式中,可由终端设备根据确定的音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the determined sound effect mode, and set its own sound effect parameters.
在图1所述的音效处理方法中,可获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;并根据所述音效模式设置所述终端设备的音效参数。采用该音效处理方法,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the sound effect processing method described in FIG. 1 , the type of the terminal device can be obtained; according to the preset corresponding relationship between the terminal device type and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; and the sound effect mode is set according to the sound effect mode. Describe the sound effect parameters of the terminal device. By adopting the sound effect processing method, corresponding sound effect modes can be automatically determined for different terminal types, sound effect parameters of the terminal equipment can be automatically set, user operations are reduced, and user experience and auditory effects are effectively improved.
参见图2,图2是本发明的另一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器或终端设备执行。如图2所示,所述方法可包括如下步骤:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed by a server or a terminal device. As shown in Figure 2, the method may include the following steps:
S201,获取终端设备的类型。S201. Acquire the type of the terminal device.
S202,根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。S202. Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
本发明实施例中,步骤S201和步骤S202的具体实施方式可分别参考图1所示实施例中步骤S101和步骤S102的相关描述,此处不再赘述。In the embodiment of the present invention, for specific implementation manners of step S201 and step S202, reference may be made to the relevant descriptions of step S101 and step S102 in the embodiment shown in FIG. 1 , and details are not repeated here.
S203,在所述终端设备对应的音效模式包括多种时,获取用户登录服务器的登录信息。S203. Acquire login information of the user logging in to the server when the sound effect modes corresponding to the terminal device include multiple types.
具体实施中,在用户通过终端设备登录服务器时,终端设备可获取登录信息并向服务器发送该登录信息,从而服务器和终端设备均可获取用户服务器的登录信息。可选地,登录信息可包括用户名、登录账号、密码、终端设备的身份标识等,还可包括终端设备的类型。In a specific implementation, when the user logs in to the server through the terminal device, the terminal device can obtain the login information and send the login information to the server, so that both the server and the terminal device can obtain the login information of the user server. Optionally, the login information may include a user name, a login account, a password, an identity of the terminal device, etc., and may also include a type of the terminal device.
S204,根据所述登录信息从所述多种音效模式中确定第一目标音效模式。S204. Determine a first target sound effect mode from the plurality of sound effect modes according to the login information.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置登录信息和音效模式之间的对应关系。例如,设置登录账号和音效模式之间的对应关系,或者,设置用户名和音效模式之间的对应关系等。其中,登录信息和音效模式之间的对应关系可以由用户预先登录服务器手动进行设置,该对应关系可以存储在服务器中,也可存储在终端设备中。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between login information and sound effect modes can be further set for this type of terminal equipment relation. For example, the corresponding relationship between the login account and the sound effect mode is set, or the corresponding relationship between the user name and the sound effect mode is set. Wherein, the corresponding relationship between the login information and the sound effect mode can be manually set by the user logging in to the server in advance, and the corresponding relationship can be stored in the server or in the terminal device.
当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,可根据针对该终端设备的类型的登录信息与音效模式的对应关系,从该多种音效模式中确定第一目标音效模式。When there are multiple sound effect modes corresponding to the terminal device determined according to the type of the terminal device, the first target may be determined from the multiple sound effect modes according to the corresponding relationship between the login information for the type of the terminal device and the sound effect modes Sound mode.
通过实施该实施方式,在终端类型的基础上进一步结合考虑了终端设备的登录信息,可以使终端设备在不同的登录信息下能使用不同的音效模式,更具人性化,音效效果更佳。By implementing this embodiment, the login information of the terminal device is further considered on the basis of the terminal type, so that the terminal device can use different sound effect modes under different login information, which is more humanized and has better sound effects.
S205,根据所述第一目标音效模式设置所述终端设备的音效参数。S205. Set sound effect parameters of the terminal device according to the first target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第一目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the first target sound effect mode.
在一些可行的实施方式中,确定第一目标音效模式之后,可由服务器向上述终端设备发送第一目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the first target sound effect mode is determined, the server may send the sound effect parameters corresponding to the first target sound effect mode to the terminal device, so that the terminal device can set the sound effect parameters according to the corresponding sound effect parameters.
在另一些可行的实施方式中,可由终端设备根据第一目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the first target sound effect mode, and set its own sound effect parameters.
在图2所述的音效处理方法中,可获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;在所述终端设备对应的音效模式包括多种时,获取用户登录服务器的登录信息;根据所述登录信息从所述多种音效模式中确定第一目标音效模式;并根据所述第一目标音效模式设置所述终端设备的音效参数。采用图2所描述的方法,可以针对不同的终端类型和登录信息自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the sound effect processing method described in FIG. 2 , the type of the terminal device can be obtained; according to the preset correspondence between the terminal device type and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; the sound effect mode corresponding to the terminal device is determined; When the mode includes multiple types, obtain the login information of the user logging into the server; determine the first target sound effect mode from the multiple sound effect modes according to the login information; and set the sound effect of the terminal device according to the first target sound effect mode parameter. Using the method described in Figure 2, it is possible to automatically determine the corresponding sound effect mode for different terminal types and login information, automatically set the sound effect parameters of the terminal device, reduce the amount of user operations, and effectively improve user experience and auditory effects.
参见图3,图3是本发明的又一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器或终端设备执行。如图3所示,所述方法可包括如下步骤:Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed by a server or a terminal device. As shown in Figure 3, the method may include the following steps:
S301,获取终端设备的类型。S301. Acquire the type of the terminal device.
S302,根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。S302. Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
本发明实施例中,步骤S301和步骤S302的具体实施方式可分别参考图1所示实施例中步骤S101和步骤S102的相关描述,此处不再赘述。In the embodiment of the present invention, for specific implementation manners of step S301 and step S302, reference may be made to the relevant descriptions of step S101 and step S102 in the embodiment shown in FIG. 1 , and details are not repeated here.
S303,在所述终端设备对应的音效模式包括多种时,获取所述终端设备的环境音量。S303. Acquire the ambient volume of the terminal device when the sound effect modes corresponding to the terminal device include multiple types.
在一些可行的实施方式中,当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,为了确定出即将使用的目标音效模式,可进一步获取终端设备的环境音量,根据环境音量来从多种音效模式中选择一种目标音效模式。In some feasible implementation manners, when there are multiple sound effect modes corresponding to the above-mentioned terminal device determined according to the type of the above-mentioned terminal device, in order to determine the target sound effect mode to be used, the ambient volume of the terminal device may be further obtained, and according to the environment Volume to select a target sound mode from various sound modes.
具体实施中,终端设备可通过音频采集装置(如麦克风)采集当前所处环境的噪音响度作为环境音量,并向服务器反馈该环境音量。In a specific implementation, the terminal device may collect the noise loudness of the current environment as the ambient volume through an audio collection device (such as a microphone), and feed back the ambient volume to the server.
S304,根据所述环境音量从所述多种音效模式中确定第二目标音效模式。S304. Determine a second target sound effect mode from the plurality of sound effect modes according to the ambient volume.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置环境音量和音效模式之间的对应关系。具体地,可将终端设备的可调节音量范围划分为多个音量区间,并建立每个音量区间与音效模式之间的对应关系。优选的,一个音量区间可对应一种音效模式,例如:0-20dB的音量区间对应蓝调音乐模式,20-40dB的音量区间对应古典音乐模式,40-60dB的音量区间对应流行音乐模式,60dB以上的音量区间对应摇滚乐模式等。其中,音量区间和音效模式之前的对应关系可以由用户预先登录服务器手动进行设置并存储在服务器中,该对应关系也可以由用户在终端设备本地设置并存储在终端设备中。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between ambient volume and sound effect modes can be further set for this type of terminal equipment relation. Specifically, the adjustable volume range of the terminal device may be divided into multiple volume intervals, and a correspondence between each volume interval and a sound effect mode is established. Preferably, a volume interval can correspond to a sound effect mode, for example: the volume interval of 0-20dB corresponds to the blues music mode, the volume interval of 20-40dB corresponds to the classical music mode, and the volume interval of 40-60dB corresponds to the pop music mode, above 60dB The volume range of corresponds to the rock music mode, etc. Wherein, the corresponding relationship between the volume interval and the sound effect mode can be manually set and stored in the server by the user logging in to the server in advance, and the corresponding relationship can also be set and stored locally in the terminal device by the user.
当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,可根据针对该终端设备的类型的环境音量与音效模式的对应关系,从该多种音效模式中确定第二目标音效模式。When there are multiple sound effect modes corresponding to the terminal device determined according to the type of the terminal device, the second target may be determined from the multiple sound effect modes according to the corresponding relationship between the ambient volume and the sound effect mode for the type of the terminal device Sound mode.
通过实施该实施方式,在终端类型的基础上进一步结合考虑了终端设备的环境音量,可以使音效模式随着环境音量的变化而更改,使得音效模式更适合于用户,更具人性化,音效效果更佳。By implementing this embodiment, on the basis of the terminal type, the environmental volume of the terminal device is further considered, and the sound effect mode can be changed with the change of the environmental volume, so that the sound effect mode is more suitable for the user, more humanized, and the sound effect better.
S305,根据所述第二目标音效模式设置所述终端设备的音效参数。S305. Set sound effect parameters of the terminal device according to the second target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第二目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the second target sound effect mode.
在一些可行的实施方式中,确定第二目标音效模式之后,可由服务器向上述终端设备发送第二目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the second target sound effect mode is determined, the server may send sound effect parameters corresponding to the second target sound effect mode to the terminal device, so that the terminal device can set sound effect parameters according to the corresponding sound effect parameters.
在另一些可行的实施方式中,可由终端设备根据第二目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the second target sound effect mode, and set its own sound effect parameters.
在图3所述的音效处理方法中,可获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;在所述终端设备对应的音效模式包括多种时,获取所述终端设备的环境音量;根据所述环境音量从所述多种音效模式中确定第二目标音效模式;并根据所述第二目标音效模式设置所述终端设备的音效参数。采用图3所描述的方法,可以针对不同的终端类型和终端设备的环境音量自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the sound effect processing method described in FIG. 3 , the type of the terminal device can be obtained; according to the preset correspondence between the terminal device type and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; the sound effect mode corresponding to the terminal device is determined; When there are multiple modes, acquire the ambient volume of the terminal device; determine a second target sound effect mode from the multiple sound effect modes according to the environmental volume; and set the terminal device's ambient volume according to the second target sound effect mode Sound parameters. Using the method described in Figure 3, the corresponding sound effect mode can be automatically determined for different terminal types and the ambient volume of the terminal device, and the sound effect parameters of the terminal device can be automatically set, reducing the amount of user operations, and effectively improving user experience and auditory effects.
参见图4,图4是本发明的另一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器或终端设备执行。如图4所示,所述方法可包括如下步骤:Referring to FIG. 4 , FIG. 4 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed by a server or a terminal device. As shown in Figure 4, the method may include the following steps:
S401,获取终端设备的类型。S401. Acquire the type of the terminal device.
S402,根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。S402. Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
本发明实施例中,步骤S401和步骤S402的具体实施方式可分别参考图1所示实施例中步骤S101和步骤S102的相关描述,此处不再赘述。In the embodiment of the present invention, for specific implementation manners of step S401 and step S402, reference may be made to relevant descriptions of step S101 and step S102 in the embodiment shown in FIG. 1 , and details are not repeated here.
S403,在所述终端设备对应的音效模式包括多种时,获取所述终端设备的当前状态信息。S403. Acquire current state information of the terminal device when the sound effect modes corresponding to the terminal device include multiple types.
在一些可行的实施方式中,当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,为了确定出即将使用的目标音效模式,可进一步获取终端设备的当前状态信息,以根据该当前状态信息来从多种音效模式中选择一种目标音效模式。In some feasible implementation manners, when there are multiple sound effect modes corresponding to the above-mentioned terminal device determined according to the type of the above-mentioned terminal device, in order to determine the target sound effect mode to be used, the current state information of the terminal device may be further obtained, to A target sound effect mode is selected from multiple sound effect modes according to the current state information.
可选地,上述当前状态信息可包括所述当前状态信息包括所述终端设备的位置信息、所述终端设备当前的系统时间中的至少一种。其中,该位置信息可以通过终端设备中的GPS(Global Positioning System,全球定位系统)来获取,也可以是通过基站定位来获取,还可以是通过Wi-Fi定位来获取等等,本发明实施例不作限定。可选地,终端设备的位置信息可以是具体的一个位置,也可以是一个位置范围,本发明实施例不作限定。所述终端设备的系统时间为终端设备当前输出的时间。Optionally, the above current state information may include that the current state information includes at least one of location information of the terminal device and current system time of the terminal device. Wherein, the location information may be obtained through GPS (Global Positioning System, Global Positioning System) in the terminal device, may also be obtained through base station positioning, or may be obtained through Wi-Fi positioning, etc., the embodiment of the present invention Not limited. Optionally, the location information of the terminal device may be a specific location or a location range, which is not limited in this embodiment of the present invention. The system time of the terminal device is the time currently output by the terminal device.
S404,根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式。S404. Determine a third target sound effect mode from the plurality of sound effect modes according to the current state information.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置状态信息和音效模式之间的对应关系,例如设置位置信息与音效模式之间的对应关系,或者设置时间与音效模式之间的对应关系,或者设置位置信息、时间与音效模式三者之间的对应关系。其中,状态信息和音效模式之前的对应关系可以由用户预先登录服务器手动进行设置并存储在服务器中,该对应关系也可以由用户在终端设备本地设置并存储在终端设备中。用户可以设置在不同位置对应不同的音效参数,例如住处和办公室对应不同的音效模式。用户还可以设置在不同时间对应不同的音效参数,例如上午8:00~11:00和晚上21:00~24:00对应不同的音效模式,工作日和休息日对应不同的音效模式。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between status information and sound effect modes can be further set for this type of terminal equipment Relationships, such as setting the correspondence between position information and sound effect modes, or setting the correspondence between time and sound effect modes, or setting the correspondence between position information, time and sound effect modes. Wherein, the corresponding relationship between the state information and the sound effect mode can be manually set and stored in the server by the user logging in to the server in advance, and the corresponding relationship can also be set and stored locally in the terminal device by the user. Users can set different sound effect parameters corresponding to different locations, for example, residence and office correspond to different sound effect modes. Users can also set different sound effect parameters corresponding to different times, for example, 8:00-11:00 am and 21:00-24:00 pm correspond to different sound effect modes, and weekdays and rest days correspond to different sound effect modes.
通过实施该实施方式,在终端类型的基础上进一步结合考虑了终端设备的当前状态信息,可以使音效模式随着终端设备状态的变化而更改,使得音效模式更适合于用户,更具人性化,音效效果更佳。By implementing this embodiment, further considering the current state information of the terminal device on the basis of the terminal type, the sound effect mode can be changed with the change of the terminal device state, making the sound effect mode more suitable for the user and more humanized. The sound effect is better.
S405,根据所述第三目标音效模式设置所述终端设备的音效参数。S405. Set sound effect parameters of the terminal device according to the third target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第三目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the third target sound effect mode.
在一些可行的实施方式中,确定第三目标音效模式之后,可由服务器向上述终端设备发送第三目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the third target sound effect mode is determined, the server may send sound effect parameters corresponding to the third target sound effect mode to the terminal device, so that the terminal device performs sound effect parameter setting according to the corresponding sound effect parameter.
在另一些可行的实施方式中,可由终端设备根据第三目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the third target sound effect mode, and set its own sound effect parameters.
在图4所述的音效处理方法中,可获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;在所述终端设备对应的音效模式包括多种时,获取所述终端设备的当前状态信息;根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式;并根据所述第三目标音效模式设置所述终端设备的音效参数。采用图4所描述的方法,可以针对不同的终端类型和终端设备的当前状态信息自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the sound effect processing method described in FIG. 4 , the type of the terminal device can be obtained; according to the preset correspondence between the terminal device type and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; the sound effect mode corresponding to the terminal device is determined; When the mode includes multiple types, acquire the current state information of the terminal device; determine a third target sound effect mode from the multiple sound effect modes according to the current state information; and set the terminal according to the third target sound effect mode The sound effect parameters of the device. Using the method described in Figure 4, the corresponding sound effect mode can be automatically determined for different terminal types and the current state information of the terminal device, and the sound effect parameters of the terminal device can be automatically set to reduce the amount of user operations and effectively improve user experience and auditory effects.
参见图5,图5是本发明的又一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器和终端设备交互执行。如图5所示,所述方法可包括如下步骤:Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed interactively by the server and the terminal device. As shown in Figure 5, the method may include the following steps:
S501,服务器获取终端设备的类型。S501. The server obtains the type of the terminal device.
S502,服务器根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。S502. The server determines the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
S503,终端设备接收服务器发送的与所述终端设备对应的音效模式的信息。S503, the terminal device receives the information of the sound effect mode corresponding to the terminal device sent by the server.
S504,终端设备根据所述音效模式设置音效参数。S504. The terminal device sets sound effect parameters according to the sound effect mode.
本发明实施例,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, it is possible to automatically determine corresponding sound effect modes for different terminal types, automatically set sound effect parameters of terminal devices, reduce user operations, and effectively improve user experience and auditory effects.
参见图6,图6是本发明的又一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器和终端设备交互执行。如图6所示,所述方法可包括如下步骤:Referring to FIG. 6 , FIG. 6 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed interactively by the server and the terminal device. As shown in Figure 6, the method may include the following steps:
S601,终端设备登录服务器。S601. The terminal device logs in to the server.
S602,所述终端设备向所述服务器发送登录信息。S602. The terminal device sends login information to the server.
S603,所述服务器获取终端设备的类型。S603. The server obtains the type of the terminal device.
S604,所述服务器根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的多种音效模式。S604. The server determines multiple sound effect modes corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
S605,所述服务器根据所述登录信息从所述终端设备对应的多种音效模式中确定第一目标音效模式。S605. The server determines a first target sound effect mode from multiple sound effect modes corresponding to the terminal device according to the login information.
S606,服务器向所述终端设备发送所述第一目标音效模式的信息。S606. The server sends information about the first target sound effect mode to the terminal device.
S607,终端设备根据所述第一目标音效模式设置音效参数。S607. The terminal device sets sound effect parameters according to the first target sound effect mode.
本发明实施例中,可以针对不同的终端类型和登录信息自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, it is possible to automatically determine the corresponding sound effect mode for different terminal types and login information, automatically set the sound effect parameters of the terminal device, reduce the amount of user operations, and effectively improve user experience and auditory effects.
参见图7,图7是本发明的又一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器和终端设备交互执行。如图7所示,所述方法可包括如下步骤:Referring to FIG. 7 , FIG. 7 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed interactively by the server and the terminal device. As shown in Figure 7, the method may include the following steps:
S701,所述服务器获取终端设备的类型。S701. The server obtains the type of the terminal device.
S702,所述服务器根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的多种音效模式。S702. The server determines multiple sound effect modes corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
S703,所述终端设备获取环境音量。S703. The terminal device acquires the ambient volume.
S704,所述终端设备向所述服务器发送所述环境音量。S704. The terminal device sends the ambient volume to the server.
S705,所述服务器根据所述环境音量从所述终端设备对应的多种音效模式中确定第二目标音效模式。S705. The server determines a second target sound effect mode from multiple sound effect modes corresponding to the terminal device according to the ambient volume.
S706,服务器向所述终端设备发送所述第二目标音效模式的信息。S706. The server sends information about the second target sound effect mode to the terminal device.
S707,终端设备根据所述第二目标音效模式设置音效参数。S707. The terminal device sets sound effect parameters according to the second target sound effect mode.
本发明实施例中,可以针对不同的终端类型和环境音量自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, the corresponding sound effect mode can be automatically determined according to different terminal types and ambient volumes, and the sound effect parameters of the terminal device can be automatically set to reduce user operations and effectively improve user experience and auditory effects.
参见图8,图8是本发明的又一个实施例提供的音效处理方法的流程示意图。所述音效处理方法可由服务器和终端设备交互执行。如图8所示,所述方法可包括如下步骤:Referring to FIG. 8 , FIG. 8 is a schematic flowchart of a sound effect processing method provided by another embodiment of the present invention. The sound effect processing method can be executed interactively by the server and the terminal device. As shown in Figure 8, the method may include the following steps:
S801,所述服务器获取终端设备的类型。S801. The server obtains the type of the terminal device.
S802,所述服务器根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的多种音效模式。S802. The server determines multiple sound effect modes corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
S803,所述终端设备获取当前状态信息。S803. The terminal device acquires current state information.
S804,所述终端设备向所述服务器发送所述当前状态信息。S804. The terminal device sends the current state information to the server.
S805,所述服务器根据所述当前状态信息从所述终端设备对应的多种音效模式中确定第三目标音效模式。S805. The server determines a third target sound effect mode from multiple sound effect modes corresponding to the terminal device according to the current state information.
S806,服务器向所述终端设备发送所述第三目标音效模式的信息。S806. The server sends information about the third target sound effect mode to the terminal device.
S807,终端设备根据所述第三目标音效模式设置音效参数。S807. The terminal device sets sound effect parameters according to the third target sound effect mode.
本发明实施例中,可以针对不同的终端类型和终端设备的当前状态信息自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, the corresponding sound effect mode can be automatically determined for different terminal types and the current state information of the terminal device, and the sound effect parameters of the terminal device can be automatically set to reduce the amount of user operations and effectively improve user experience and auditory effects.
参见图9,图9是本发明的一个实施例提供的音效处理装置的结构示意图。该音效处理装置可用于服务器或用于终端设备。如图9所示,所述音效处理装置可包括以下单元:Referring to FIG. 9 , FIG. 9 is a schematic structural diagram of an audio effect processing device provided by an embodiment of the present invention. The sound effect processing device can be used in a server or in a terminal device. As shown in Figure 9, the sound effect processing device may include the following units:
获取单元901,用于获取终端设备的类型。The obtaining unit 901 is configured to obtain the type of the terminal device.
可选的,终端设备可以包括手机、平板电脑、笔记本电脑、个人计算机、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、多媒体播放器(如MP3、CD机等)各类具有音频播放功能的终端,本发明实施例不作限定。Optionally, the terminal equipment may include mobile phone, tablet computer, notebook computer, personal computer, personal digital assistant (Personal Digital Assistant, PDA), mobile Internet device (Mobile Internet Device, MID), multimedia player (such as MP3, CD player etc.) various types of terminals with an audio playback function, which are not limited in this embodiment of the present invention.
具体实施中,终端设备可获取自身的类型,服务器可接收终端发送的类型信息,或者根据终端设备的身份标识确定终端设备的类型。In a specific implementation, the terminal device can obtain its own type, and the server can receive the type information sent by the terminal, or determine the type of the terminal device according to the identity of the terminal device.
确定单元902,用于根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式。The determining unit 902 is configured to determine the corresponding sound effect mode of the terminal device according to the preset correspondence between the terminal device type and the sound effect mode.
作为一种可行的实施方式,服务器可预先存储终端设备类型与音效模式之间的对应关系可选地,该对应关系可以由用户通过终端设备登录服务器进行手动设置,并存储在服务器或终端设备中;该对应关系也可由服务器根据不同终端类型的配置进行设置,存储在服务器中或推送给终端进行存储。可选地,一种终端类型对应的音效模式可以是一种或多种。当一种终端类型对应多种音效模式时,可根据终端设备的其他信息从多种音效模式中确定一种目标音效模式。As a feasible implementation, the server can pre-store the corresponding relationship between the terminal device type and the sound effect mode. Optionally, the corresponding relationship can be manually set by the user logging in to the server through the terminal device, and stored in the server or the terminal device. ; The corresponding relationship can also be set by the server according to the configuration of different terminal types, and stored in the server or pushed to the terminal for storage. Optionally, there may be one or more sound effect modes corresponding to a terminal type. When a terminal type corresponds to multiple sound effect modes, a target sound effect mode may be determined from the multiple sound effect modes according to other information of the terminal device.
本发明实施例中,当按照场景划分时,音效模式可包括音乐模式、电影模式、KTV模式、广场模式等,其中音乐模式按照不同风格还可以进一步细分为古典音乐模式、流行音乐模式、爵士乐模式、摇滚乐模式、蓝调模式、嘻哈(Hip-Hop)模式等。电影模式可包括杜比模式、DTS(Digital Theatre System,数字化影院系统)模式等。当按照音频质量来划分时,音效模式可包括高清晰度模式、高保真度模式、高对比度模式、低功耗模式等。In the embodiment of the present invention, when divided according to the scene, the sound mode can include music mode, movie mode, KTV mode, plaza mode, etc., wherein the music mode can be further subdivided into classical music mode, pop music mode, jazz mode according to different styles. mode, rock mode, blues mode, hip-hop (Hip-Hop) mode, etc. The movie mode may include a Dolby mode, a DTS (Digital Theater System, digital theater system) mode, and the like. When divided according to audio quality, the sound effect mode may include a high definition mode, a high fidelity mode, a high contrast mode, a low power consumption mode, and the like.
设置单元903,用于根据所述音效模式设置所述终端设备的音效参数。A setting unit 903, configured to set sound effect parameters of the terminal device according to the sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes.
在一些可行的实施方式中,确定对应的音效模式之后,服务器可进一步确定该音效模式对应的音效参数,并通过设置单元903向上述终端设备发送该对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after determining the corresponding sound effect mode, the server may further determine the sound effect parameters corresponding to the sound effect mode, and send the corresponding sound effect parameters to the above-mentioned terminal device through the setting unit 903, so that the above-mentioned terminal device Corresponding sound effect parameters to set the sound effect parameters.
在另一些可行的实施方式中,可由终端设备根据确定的音效模式确定对应的音效参数,并通过设置单元903对自身的音效参数进行设置。In other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the determined sound effect mode, and set its own sound effect parameters through the setting unit 903 .
本实施方式中,可获取终端设备的类型;根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;并根据所述音效模式设置所述终端设备的音效参数。可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In this embodiment, the type of the terminal device can be obtained; according to the preset correspondence between the type of the terminal device and the sound effect mode, the sound effect mode corresponding to the terminal device is determined; and the sound effect parameters of the terminal device are set according to the sound effect mode . It can automatically determine the corresponding sound effect mode for different terminal types, automatically set the sound effect parameters of the terminal equipment, reduce the amount of user operations, and effectively improve user experience and auditory effects.
可选实施例中,在所述终端设备对应的音效模式包括多种时,所述获取单元901还用于获取用户登录服务器的登录信息。In an optional embodiment, when the sound effect modes corresponding to the terminal device include multiple types, the obtaining unit 901 is further configured to obtain login information of the user logging in to the server.
具体实施中,在用户通过终端设备登录服务器时,终端设备可获取登录信息并向服务器发送该登录信息,从而服务器和终端设备均可获取用户服务器的登录信息。可选地,登录信息可包括用户名、登录账号、密码、终端设备的身份标识等,还可包括终端设备的类型。In a specific implementation, when the user logs in to the server through the terminal device, the terminal device can obtain the login information and send the login information to the server, so that both the server and the terminal device can obtain the login information of the user server. Optionally, the login information may include a user name, a login account, a password, an identity of the terminal device, etc., and may also include a type of the terminal device.
所述确定单元902还用于根据所述登录信息从所述多种音效模式中确定第一目标音效模式。The determining unit 902 is further configured to determine a first target sound effect mode from the plurality of sound effect modes according to the login information.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置登录信息和音效模式之间的对应关系。例如,设置登录账号和音效模式之间的对应关系,或者,设置用户名和音效模式之间的对应关系等。其中,登录信息和音效模式之间的对应关系可以由用户预先登录服务器手动进行设置,该对应关系可以存储在服务器中,也可存储在终端设备中。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between login information and sound effect modes can be further set for this type of terminal equipment relation. For example, the corresponding relationship between the login account and the sound effect mode is set, or the corresponding relationship between the user name and the sound effect mode is set. Wherein, the corresponding relationship between the login information and the sound effect mode can be manually set by the user logging in to the server in advance, and the corresponding relationship can be stored in the server or in the terminal device.
当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,可根据针对该终端设备的类型的登录信息与音效模式的对应关系,从该多种音效模式中确定第一目标音效模式。When there are multiple sound effect modes corresponding to the terminal device determined according to the type of the terminal device, the first target may be determined from the multiple sound effect modes according to the corresponding relationship between the login information for the type of the terminal device and the sound effect modes Sound mode.
所述设置单元903,具体用于根据所述第一目标音效模式设置所述终端设备的音效参数。The setting unit 903 is specifically configured to set the sound effect parameters of the terminal device according to the first target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第一目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the first target sound effect mode.
在一些可行的实施方式中,确定第一目标音效模式之后,服务器可向上述终端设备发送第一目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the first target sound effect mode is determined, the server may send sound effect parameters corresponding to the first target sound effect mode to the terminal device, so that the terminal device performs sound effect parameter setting according to the corresponding sound effect parameter.
在另一些可行的实施方式中,可由终端设备根据第一目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the first target sound effect mode, and set its own sound effect parameters.
本实施方式中,在终端类型的基础上进一步结合考虑了终端设备的登录信息,可以使终端设备在不同的登录信息下能使用不同的音效模式,更具人性化,音效效果更佳。In this embodiment, the login information of the terminal device is further considered on the basis of the terminal type, so that the terminal device can use different sound effect modes under different login information, which is more humanized and has better sound effects.
可选实施例中,在所述终端设备对应的音效模式包括多种时,所述获取单元901,还用于获取所述终端设备的环境音量。In an optional embodiment, when the sound effect modes corresponding to the terminal device include multiple types, the acquiring unit 901 is further configured to acquire the ambient volume of the terminal device.
在一些可行的实施方式中,当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,为了确定出即将使用的目标音效模式,可进一步获取终端设备的环境音量,根据环境音量来从多种音效模式中选择一种目标音效模式。In some feasible implementation manners, when there are multiple sound effect modes corresponding to the above-mentioned terminal device determined according to the type of the above-mentioned terminal device, in order to determine the target sound effect mode to be used, the ambient volume of the terminal device may be further obtained, and according to the environment Volume to select a target sound mode from various sound modes.
具体实施中,终端设备可通过音频采集装置(如麦克风)采集当前所处环境的噪音响度作为环境音量,并向服务器反馈该环境音量。In a specific implementation, the terminal device may collect the noise loudness of the current environment as the ambient volume through an audio collection device (such as a microphone), and feed back the ambient volume to the server.
所述确定单元902,还用于根据所述环境音量从所述多种音效模式中确定第二目标音效模式。The determining unit 902 is further configured to determine a second target sound effect mode from the plurality of sound effect modes according to the ambient volume.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置环境音量和音效模式之间的对应关系。具体地,可将终端设备的可调节音量范围划分为多个音量区间,并建立每个音量区间与音效模式之间的对应关系。优选的,一个音量区间可对应一种音效模式,例如:0-20dB的音量区间对应蓝调音乐模式,20-40dB的音量区间对应古典音乐模式,40-60dB的音量区间对应流行音乐模式,60dB以上的音量区间对应摇滚乐模式等。其中,音量区间和音效模式之前的对应关系可以由用户预先登录服务器手动进行设置并存储在服务器中,该对应关系也可以由用户在终端设备本地设置并存储在终端设备中。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between ambient volume and sound effect modes can be further set for this type of terminal equipment relation. Specifically, the adjustable volume range of the terminal device may be divided into multiple volume intervals, and a correspondence between each volume interval and a sound effect mode is established. Preferably, a volume interval can correspond to a sound effect mode, for example: the volume interval of 0-20dB corresponds to the blues music mode, the volume interval of 20-40dB corresponds to the classical music mode, and the volume interval of 40-60dB corresponds to the pop music mode, above 60dB The volume range of corresponds to the rock music mode, etc. Wherein, the corresponding relationship between the volume interval and the sound effect mode can be manually set and stored in the server by the user logging in to the server in advance, and the corresponding relationship can also be set and stored locally in the terminal device by the user.
当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,可根据针对该终端设备的类型的环境音量与音效模式的对应关系,从该多种音效模式中确定第二目标音效模式。When there are multiple sound effect modes corresponding to the terminal device determined according to the type of the terminal device, the second target may be determined from the multiple sound effect modes according to the corresponding relationship between the ambient volume and the sound effect mode for the type of the terminal device Sound mode.
所述设置单元903,具体用于根据所述第二目标音效模式设置所述终端设备的音效参数。The setting unit 903 is specifically configured to set the sound effect parameters of the terminal device according to the second target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第二目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the second target sound effect mode.
在一些可行的实施方式中,确定第二目标音效模式之后,服务器可向上述终端设备发送第二目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the second target sound effect mode is determined, the server may send sound effect parameters corresponding to the second target sound effect mode to the terminal device, so that the terminal device can set sound effect parameters according to the corresponding sound effect parameters.
在另一些可行的实施方式中,可由终端设备根据第二目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the second target sound effect mode, and set its own sound effect parameters.
本实施方式中,在终端类型的基础上进一步结合考虑了终端设备的环境音量,可以使音效模式随着环境音量的变化而更改,使得音效模式更适合于用户,更具人性化,音效效果更佳。In this embodiment, on the basis of the terminal type, the environmental volume of the terminal device is further considered, so that the sound effect mode can be changed with the change of the environmental volume, so that the sound effect mode is more suitable for the user, more humanized, and the sound effect is better. good.
可选实施例中,在所述终端设备对应的音效模式包括多种时,所述获取单元901,还用于获取所述终端设备的当前状态信息。In an optional embodiment, when the sound effect modes corresponding to the terminal device include multiple types, the obtaining unit 901 is further configured to obtain current state information of the terminal device.
在一些可行的实施方式中,当根据上述终端设备的类型确定的上述终端设备对应的音效模式有多种时,为了确定出即将使用的目标音效模式,可进一步获取终端设备的当前状态信息,以根据该当前状态信息来从多种音效模式中选择一种目标音效模式。In some feasible implementation manners, when there are multiple sound effect modes corresponding to the above-mentioned terminal device determined according to the type of the above-mentioned terminal device, in order to determine the target sound effect mode to be used, the current state information of the terminal device may be further obtained, to A target sound effect mode is selected from multiple sound effect modes according to the current state information.
可选地,上述当前状态信息可包括所述当前状态信息包括所述终端设备的位置信息、所述终端设备当前的系统时间中的至少一种。其中,该位置信息可以通过终端设备中的GPS(Global Positioning System,全球定位系统)来获取,也可以是通过基站定位来获取,还可以是通过Wi-Fi定位来获取等等,本发明实施例不作限定。可选地,终端设备的位置信息可以是具体的一个位置,也可以是一个位置范围,本发明实施例不作限定。所述终端设备的系统时间为终端设备当前输出的时间。Optionally, the above current state information may include that the current state information includes at least one of location information of the terminal device and current system time of the terminal device. Wherein, the location information may be obtained through GPS (Global Positioning System, Global Positioning System) in the terminal device, may also be obtained through base station positioning, or may be obtained through Wi-Fi positioning, etc., the embodiment of the present invention Not limited. Optionally, the location information of the terminal device may be a specific location or a location range, which is not limited in this embodiment of the present invention. The system time of the terminal device is the time currently output by the terminal device.
所述确定单元902,还用于根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式。The determining unit 902 is further configured to determine a third target sound effect mode from the plurality of sound effect modes according to the current state information.
作为一种可行的实施方式,在终端设备类型与音效模式的对应关系中,若一种终端设备类型对应多种音效模式,可针对该种终端设备类型进一步设置状态信息和音效模式之间的对应关系,例如设置位置信息与音效模式之间的对应关系,或者设置时间与音效模式之间的对应关系,或者设置位置信息、时间与音效模式三者之间的对应关系。其中,状态信息和音效模式之前的对应关系可以由用户预先登录服务器手动进行设置并存储在服务器中,该对应关系也可以由用户在终端设备本地设置并存储在终端设备中。用户可以设置在不同位置对应不同的音效参数,例如住处和办公室对应不同的音效模式。用户还可以设置在不同时间对应不同的音效参数,例如上午8:00~11:00和晚上21:00~24:00对应不同的音效模式,工作日和休息日对应不同的音效模式。As a feasible implementation, in the correspondence between terminal equipment types and sound effect modes, if one type of terminal equipment corresponds to multiple sound effect modes, the correspondence between status information and sound effect modes can be further set for this type of terminal equipment Relationships, such as setting the correspondence between position information and sound effect modes, or setting the correspondence between time and sound effect modes, or setting the correspondence between position information, time and sound effect modes. Wherein, the corresponding relationship between the state information and the sound effect mode can be manually set and stored in the server by the user logging in to the server in advance, and the corresponding relationship can also be set and stored locally in the terminal device by the user. Users can set different sound effect parameters corresponding to different locations, for example, residence and office correspond to different sound effect modes. Users can also set different sound effect parameters corresponding to different times, for example, 8:00-11:00 am and 21:00-24:00 pm correspond to different sound effect modes, and weekdays and rest days correspond to different sound effect modes.
所述设置单元903,具体用于根据所述第三目标音效模式设置所述终端设备的音效参数。The setting unit 903 is specifically configured to set the sound effect parameters of the terminal device according to the third target sound effect mode.
具体实施中,服务器或终端设备可存储各种音效模式对应的音效参数,其中包括第三目标音效模式对应的音效参数。In a specific implementation, the server or the terminal device may store sound effect parameters corresponding to various sound effect modes, including sound effect parameters corresponding to the third target sound effect mode.
在一些可行的实施方式中,确定第三目标音效模式之后,服务器可向上述终端设备发送第三目标音效模式对应的音效参数,以使上述终端设备根据该对应的音效参数进行音效参数设置。In some feasible implementation manners, after the third target sound effect mode is determined, the server may send sound effect parameters corresponding to the third target sound effect mode to the terminal device, so that the terminal device performs sound effect parameter setting according to the corresponding sound effect parameter.
在另一些可行的实施方式中,可由终端设备根据第三目标音效模式确定对应的音效参数,并对自身的音效参数进行设置。In some other feasible implementation manners, the terminal device may determine corresponding sound effect parameters according to the third target sound effect mode, and set its own sound effect parameters.
本实施方式中,在终端类型的基础上进一步结合考虑了终端设备的当前状态信息,可以使音效模式随着终端设备状态的变化而更改,使得音效模式更适合于用户,更具人性化,音效效果更佳。In this embodiment, the current state information of the terminal device is further considered on the basis of the terminal type, so that the sound effect mode can be changed with the change of the terminal device state, so that the sound effect mode is more suitable for the user, more humanized, and the sound effect mode is more user-friendly. The effect is better.
参见图10,图10是本发明的另一个实施例提供的音效处理装置的结构示意图。该音效处理装置可应用于终端设备。如图10所示,该音效处理装置可包括:Referring to FIG. 10 , FIG. 10 is a schematic structural diagram of an audio effect processing device provided by another embodiment of the present invention. The sound effect processing device can be applied to terminal equipment. As shown in Figure 10, the sound effect processing device may include:
接收单元1001,用于接收服务器发送的与终端设备对应的音效模式的信息,所述对应的音效模式是根据终端设备的类型及预先设置的终端设备类型与音效模式的对应关系确定的。The receiving unit 1001 is configured to receive the information of the sound effect mode corresponding to the terminal device sent by the server, the corresponding sound effect mode is determined according to the type of the terminal device and the preset correspondence between the terminal device type and the sound effect mode.
设置单元1002,用于根据所述对应的音效模式设置音效参数。A setting unit 1002, configured to set sound effect parameters according to the corresponding sound effect mode.
作为可选实施例,当与终端设备对应的音效模式包括多种音效模式时,如图11所示,该音效处理装置还可包括登录单元1003、第一获取单元1004及第二获取单元1005中至少一种。As an optional embodiment, when the sound effect mode corresponding to the terminal device includes multiple sound effect modes, as shown in FIG. at least one.
其中,登录单元1003可用于登录服务器,并向所述服务器发送登录信息,以使所述服务器根据所述登录信息从所述终端设备对应的多种音效模式中确定第一目标音效模式;Wherein, the login unit 1003 can be used to log in to the server, and send login information to the server, so that the server can determine the first target sound effect mode from various sound effect modes corresponding to the terminal device according to the login information;
此时,接收单元1001可具体用于接收所述服务器发送的所述第一目标音效模式的信息;设置单元1002可具体用于根据所述第一目标音效模式设置音效参数。At this time, the receiving unit 1001 may be specifically configured to receive the information of the first target sound effect mode sent by the server; the setting unit 1002 may be specifically configured to set sound effect parameters according to the first target sound effect mode.
第一获取单元1004可用于获取环境音量,并向所述服务器发送所述环境音量,以使所述服务器根据所述环境音量从所述终端设备对应的多种音效模式中确定第二目标音效模式;The first acquiring unit 1004 may be configured to acquire the ambient volume, and send the ambient volume to the server, so that the server determines a second target audio mode from various audio modes corresponding to the terminal device according to the ambient volume. ;
此时,接收单元1001可具体用于接收所述服务器发送的所述第二目标音效模式的信息;设置单元1002可具体用于根据所述第二目标音效模式设置音效参数。At this time, the receiving unit 1001 may be specifically configured to receive the information of the second target sound effect mode sent by the server; the setting unit 1002 may be specifically configured to set sound effect parameters according to the second target sound effect mode.
第二获取单元1005可用于获取当前状态信息并向所述服务器发送所述当前状态信息,以使所述服务器根据所述当前状态信息从所述终端设备对应的多种音效模式中确定第三目标音效模式;The second obtaining unit 1005 may be configured to obtain current state information and send the current state information to the server, so that the server determines a third target from various sound effect modes corresponding to the terminal device according to the current state information sound mode;
此时,接收单元1001可具体用于接收所述服务器发送的所述第三目标音效模式的信息;设置单元1002可具体用于根据所述第三目标音效模式设置音效参数。At this time, the receiving unit 1001 may be specifically configured to receive the information of the third target sound effect mode sent by the server; the setting unit 1002 may be specifically configured to set sound effect parameters according to the third target sound effect mode.
其中,所述当前状态信息包括位置信息及当前的系统时间中至少一种。Wherein, the current status information includes at least one of location information and current system time.
本发明实施例中,针对不同的终端类型,可以结合登录信息、环境音量或者当前状态信息,确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。In the embodiment of the present invention, for different terminal types, the corresponding sound effect mode can be determined in combination with the login information, ambient volume or current state information, and the sound effect parameters of the terminal device can be automatically set to reduce the amount of user operations and effectively improve user experience and auditory effects .
参见图12,图12是本发明的又一个实施例提供的音效处理装置的结构示意图。如图12所示,所述音效处理装置可包括处理器1201,存储器1202,通信接口1203和通信总线1204;其中,处理器1201、存储器1202和通信接口1203通过通信总线1204连接并完成相互间的通信;处理器1201通过通信接口1203控制与外部蜂窝网的无线通信;通信接口1203包括但不限于天线、放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。存储器1202包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器,存储器1202中存储有可执行程序代码,处理器1201可调用该可执行程序代码,执行以下步骤:Referring to FIG. 12 , FIG. 12 is a schematic structural diagram of an audio effect processing device provided by another embodiment of the present invention. As shown in Figure 12, the sound effect processing device may include a processor 1201, a memory 1202, a communication interface 1203 and a communication bus 1204; wherein, the processor 1201, the memory 1202 and the communication interface 1203 are connected through the communication bus 1204 and complete mutual communication Communication; processor 1201 controls wireless communication with external cellular network through communication interface 1203; communication interface 1203 includes but not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer Wait. The memory 1202 includes at least one of the following: random access memory, non-volatile memory, and external memory. Executable program codes are stored in the memory 1202. The processor 1201 can call the executable program codes to perform the following steps:
在用户通过终端设备登录音频播放平台后,获取所述终端设备的类型;After the user logs into the audio playback platform through the terminal device, obtain the type of the terminal device;
根据预先设置的终端设备类型与音效模式的对应关系,确定所述终端设备对应的音效模式;以及Determine the sound effect mode corresponding to the terminal device according to the preset correspondence between the terminal device type and the sound effect mode; and
根据所述音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the sound effect mode.
其中,在所述终端设备对应的音效模式包括多种时,所述可执行程序代码还被执行以用于:Wherein, when the sound effect modes corresponding to the terminal equipment include multiple types, the executable program code is also executed for:
获取用户登录服务器的登录信息;以及Obtain the login information of the user to log in to the server; and
根据所述登录信息从所述多种音效模式中确定第一目标音效模式;determining a first target sound effect mode from the plurality of sound effect modes according to the login information;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第一目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the first target sound effect mode.
其中,在所述终端设备对应的音效模式包括多种时,所述可执行程序代码还被执行以用于:Wherein, when the sound effect modes corresponding to the terminal equipment include multiple types, the executable program code is also executed for:
获取所述终端设备的环境音量;以及Acquiring the ambient volume of the terminal device; and
根据所述环境音量从所述多种音效模式中确定第二目标音效模式;determining a second target sound effect mode from the plurality of sound effect modes according to the ambient volume;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第二目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the second target sound effect mode.
其中,在所述终端设备对应的音效模式包括多种时,所述可执行程序代码还被执行以用于:Wherein, when the sound effect modes corresponding to the terminal equipment include multiple types, the executable program code is also executed for:
获取所述终端设备的当前状态信息;以及acquiring current status information of the terminal device; and
根据所述当前状态信息从所述多种音效模式中确定第三目标音效模式;determining a third target sound effect mode from the plurality of sound effect modes according to the current state information;
所述根据所述音效模式设置所述终端设备的音效参数包括:The setting of the sound effect parameters of the terminal device according to the sound effect mode includes:
根据所述第三目标音效模式设置所述终端设备的音效参数。Set the sound effect parameters of the terminal device according to the third target sound effect mode.
其中,所述当前状态信息包括所述终端设备的位置信息、所述终端设备当前的系统时间中的至少一种。Wherein, the current state information includes at least one of the location information of the terminal device and the current system time of the terminal device.
采用本发明实施例,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。By adopting the embodiment of the present invention, it is possible to automatically determine the corresponding sound effect mode for different terminal types, automatically set the sound effect parameters of the terminal device, reduce user operations, and effectively improve user experience and auditory effect.
在另一可行实施例中,图12所示的音效处理装置可应用于终端设备,其中处理器1201还可调用该可执行程序代码,执行以下步骤:In another feasible embodiment, the sound effect processing apparatus shown in FIG. 12 can be applied to a terminal device, wherein the processor 1201 can also call the executable program code to perform the following steps:
接收服务器发送的与终端设备对应的音效模式的信息,所述对应的音效模式是根据终端设备的类型及预先设置的终端设备类型与音效模式的对应关系确定的;Receiving the information of the sound effect mode corresponding to the terminal device sent by the server, the corresponding sound effect mode is determined according to the type of the terminal device and the preset correspondence between the terminal device type and the sound effect mode;
根据所述对应的音效模式设置音效参数。Sound effect parameters are set according to the corresponding sound effect mode.
其中,在接收服务器发送的音效模式信息之前,处理器1201还可调用该可执行程序代码,执行以下步骤:Wherein, before receiving the sound effect mode information sent by the server, the processor 1201 can also call the executable program code to perform the following steps:
登录服务器,并向所述服务器发送登录信息,以使所述服务器根据所述登录信息从所述终端设备对应的多种音效模式中确定第一目标音效模式;Logging into a server, and sending login information to the server, so that the server determines a first target sound effect mode from various sound effect modes corresponding to the terminal device according to the login information;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第一目标音效模式的信息;receiving the information of the first target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第一目标音效模式设置音效参数。Set sound effect parameters according to the first target sound effect mode.
其中,在接收服务器发送的音效模式信息之前,处理器1201还可调用该可执行程序代码,执行以下步骤:Wherein, before receiving the sound effect mode information sent by the server, the processor 1201 can also call the executable program code to perform the following steps:
获取环境音量,并向所述服务器发送所述环境音量,以使所述服务器根据所述环境音量从所述终端设备对应的多种音效模式中确定第二目标音效模式;Acquiring the ambient volume, and sending the ambient volume to the server, so that the server determines a second target sound effect mode from a plurality of sound effect modes corresponding to the terminal device according to the environmental volume;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第二目标音效模式的信息;receiving the information of the second target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第二目标音效模式设置音效参数。Set sound effect parameters according to the second target sound effect mode.
其中,在接收服务器发送的音效模式信息之前,处理器1201还可调用该可执行程序代码,执行以下步骤:Wherein, before receiving the sound effect mode information sent by the server, the processor 1201 can also call the executable program code to perform the following steps:
获取当前状态信息并向所述服务器发送所述当前状态信息,以使所述服务器根据所述当前状态信息从所述终端设备对应的多种音效模式中确定第三目标音效模式;Acquiring current state information and sending the current state information to the server, so that the server determines a third target sound effect mode from various sound effect modes corresponding to the terminal device according to the current state information;
所述接收服务器发送的与终端设备对应的音效模式的信息,包括:The information of the sound effect mode corresponding to the terminal device sent by the receiving server includes:
接收所述服务器发送的所述第三目标音效模式的信息;receiving information of the third target sound effect mode sent by the server;
所述根据所述对应的音效模式设置音效参数,包括:The setting of sound effect parameters according to the corresponding sound effect mode includes:
根据所述第三目标音效模式设置音效参数;Setting sound effect parameters according to the third target sound effect mode;
其中,所述当前状态信息包括位置信息及当前的系统时间中至少一种。Wherein, the current status information includes at least one of location information and current system time.
采用本发明实施例,可以针对不同的终端类型自动确定相应的音效模式,自动设置终端设备的音效参数,减少用户操作量,有效改善用户体验和听觉效果。By adopting the embodiment of the present invention, it is possible to automatically determine the corresponding sound effect mode for different terminal types, automatically set the sound effect parameters of the terminal device, reduce user operations, and effectively improve user experience and auditory effect.
本发明所有实施例中的模块或单元,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The modules or units in all the embodiments of the present invention can be implemented by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (6)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610438868.9A CN106126168B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and device |
| PCT/CN2017/088529 WO2017215640A1 (en) | 2016-06-16 | 2017-06-15 | Sound effect processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610438868.9A CN106126168B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106126168A CN106126168A (en) | 2016-11-16 |
| CN106126168B true CN106126168B (en) | 2018-12-11 |
Family
ID=57469839
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610438868.9A Expired - Fee Related CN106126168B (en) | 2016-06-16 | 2016-06-16 | A kind of sound effect treatment method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106126168B (en) |
| WO (1) | WO2017215640A1 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106126168B (en) * | 2016-06-16 | 2018-12-11 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and device |
| CN106775568A (en) * | 2017-01-12 | 2017-05-31 | 珠海格力电器股份有限公司 | Sound effect adjusting method and device and mobile terminal |
| CN108462895A (en) * | 2017-02-21 | 2018-08-28 | 阿里巴巴集团控股有限公司 | Sound effect treatment method, device and machine readable media |
| CN107391076A (en) * | 2017-06-30 | 2017-11-24 | 广州酷狗计算机科技有限公司 | Audio evaluation display method and device |
| CN109348040A (en) * | 2018-08-09 | 2019-02-15 | 北京奇艺世纪科技有限公司 | A kind of effect adjusting method, device and terminal device |
| CN109550248B (en) * | 2018-11-09 | 2021-05-04 | Oppo广东移动通信有限公司 | Virtual object position identification method and device, mobile terminal and storage medium |
| CN112740169A (en) * | 2019-12-23 | 2021-04-30 | 深圳市易优斯科技有限公司 | Equalizer setting method, device, equipment and computer readable storage medium |
| CN112235633A (en) * | 2020-10-16 | 2021-01-15 | 深圳创维-Rgb电子有限公司 | Output effect adjustment method, apparatus, device, and computer-readable storage medium |
| CN116036591B (en) * | 2021-10-28 | 2025-10-14 | 腾讯科技(深圳)有限公司 | Sound effect optimization method, device, equipment and storage medium |
| CN114173255B (en) * | 2021-12-03 | 2025-01-14 | Oppo广东移动通信有限公司 | Parameter adjustment method and related products |
| CN118891883A (en) * | 2022-04-08 | 2024-11-01 | 海信视像科技股份有限公司 | Display device and processing method for display device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104883642A (en) * | 2015-03-27 | 2015-09-02 | 成都上生活网络科技有限公司 | Sound effect adjustment method |
| CN104918109A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Intelligent playing method and device |
| CN105025415A (en) * | 2015-06-08 | 2015-11-04 | 广东欧珀移动通信有限公司 | A sound effect switching method and user terminal |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103927146A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Sound effect self-adapting method and device |
| CN105469802A (en) * | 2014-08-26 | 2016-04-06 | 中兴通讯股份有限公司 | Speech quality improving method and system and mobile terminal |
| CN104954867A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Media playing method and device |
| CN105681821B (en) * | 2016-02-02 | 2019-03-22 | Oppo广东移动通信有限公司 | A kind of playback method of audio, play system and server |
| CN106126168B (en) * | 2016-06-16 | 2018-12-11 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and device |
-
2016
- 2016-06-16 CN CN201610438868.9A patent/CN106126168B/en not_active Expired - Fee Related
-
2017
- 2017-06-15 WO PCT/CN2017/088529 patent/WO2017215640A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104883642A (en) * | 2015-03-27 | 2015-09-02 | 成都上生活网络科技有限公司 | Sound effect adjustment method |
| CN104918109A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Intelligent playing method and device |
| CN105025415A (en) * | 2015-06-08 | 2015-11-04 | 广东欧珀移动通信有限公司 | A sound effect switching method and user terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2017215640A1 (en) | 2017-12-21 |
| CN106126168A (en) | 2016-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106126168B (en) | A kind of sound effect treatment method and device | |
| US11159887B2 (en) | Method and apparatus for controlling portable audio devices | |
| JP6489563B2 (en) | Volume control method, system, device and program | |
| US9584945B2 (en) | Surround sound effects provided by cell phones | |
| CN110633067B (en) | Method for adjusting sound effect parameters and mobile terminal | |
| US20150296226A1 (en) | Techniques For Client Device Dependent Filtering Of Metadata | |
| CN106210365B (en) | Method and system for adjusting volume of teleconference | |
| JP2019128586A (en) | Audio processing method and apparatus, and computer-readable storage medium | |
| WO2016187227A1 (en) | Wireless device pairing management | |
| CN108494954A (en) | Voice call data detection method and device, storage medium and mobile terminal | |
| CN104869505B (en) | Volume control method, playing device, mobile terminal and system | |
| WO2018102230A1 (en) | Bluetooth identity binding for volume control | |
| CN109413132B (en) | Apparatus and method for delivering audio to an identified recipient | |
| CN105682010B (en) | Bluetooth connection control method and device in audio playing system and playing equipment | |
| EP3149957B1 (en) | Portable speaker | |
| US10356526B2 (en) | Computers, methods for controlling a computer, and computer-readable media | |
| CN108574914B (en) | Method and device for adjusting multicast playback file of sound box and receiving end | |
| CN111159462B (en) | Method and terminal for playing songs | |
| CN105163338B (en) | Grouping management method of playing equipment and terminal | |
| EP4268475A1 (en) | Acoustic feedback reduction in co-located audioconferencing devices | |
| CN115811591A (en) | Audio processing method and device, terminal equipment and storage medium | |
| CN106210762A (en) | Method, source device, purpose equipment, TV and the terminal that audio frequency is play | |
| CN113407147A (en) | Audio playing method, device, equipment and storage medium | |
| CN105847905A (en) | A control method and device for an audio and video playback system | |
| KR101945174B1 (en) | Program Stored in Recording Medium for Supporting Automatic Response Service |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181211 |