[go: up one dir, main page]

CN107085512A - Audio playing method and mobile terminal - Google Patents

Audio playing method and mobile terminal Download PDF

Info

Publication number
CN107085512A
CN107085512A CN201710271840.5A CN201710271840A CN107085512A CN 107085512 A CN107085512 A CN 107085512A CN 201710271840 A CN201710271840 A CN 201710271840A CN 107085512 A CN107085512 A CN 107085512A
Authority
CN
China
Prior art keywords
mobile terminal
target
audio file
audio
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710271840.5A
Other languages
Chinese (zh)
Inventor
唐涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710271840.5A priority Critical patent/CN107085512A/en
Publication of CN107085512A publication Critical patent/CN107085512A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/01Measuring temperature of body parts ; Diagnostic temperature sensing, e.g. for malignant or inflamed tissue
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • A61B5/02055Simultaneously evaluating both cardiovascular condition and temperature
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/021Measuring pressure in heart or blood vessels
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/05Detecting, measuring or recording for diagnosis by means of electric currents or magnetic fields; Measuring using microwaves or radio waves
    • A61B5/053Measuring electrical impedance or conductance of a portion of the body
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Cardiology (AREA)
  • Physiology (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Pulmonology (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Vascular Medicine (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种音频播放方法及移动终端,其中,该方法包括:检测移动终端是否接收到音频播放指令;如果接收到音频播放指令,获取用户当前的生理参数;根据该生理参数确定用户的当前情绪状态;根据当前情绪状态确定待播放的目标音频文件以及用于播放该目标音频文件的目标播放参数;按照该目标播放参数播放该目标音频文件。实施本发明实施例,能够根据用户的情绪变化智能地调节音频文件及其播放参数,有效提高音频的播放效率。

The embodiment of the present invention discloses an audio playback method and a mobile terminal, wherein the method comprises: detecting whether the mobile terminal receives an audio playback instruction; if the audio playback instruction is received, obtaining the current physiological parameters of the user; determining the current emotional state of the user according to the physiological parameters; determining the target audio file to be played and the target playback parameters for playing the target audio file according to the current emotional state; and playing the target audio file according to the target playback parameters. By implementing the embodiment of the present invention, the audio file and its playback parameters can be intelligently adjusted according to the emotional changes of the user, effectively improving the audio playback efficiency.

Description

一种音频播放方法及移动终端A kind of audio playing method and mobile terminal

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种音频播放方法及移动终端。The present invention relates to the field of electronic technology, in particular to an audio playing method and a mobile terminal.

背景技术Background technique

随着电子技术的不断发展,诸如智能手机、平板电脑等移动终端已成为人们生活不可或缺的组成部分。移动终端不仅能满足人们的日常通讯,还能够进行浏览新闻资讯、玩游戏、播放音视频等娱乐活动。在实际应用中,播放音乐时,一般需要用户手动去选择自己想听的音乐,并且为了最大程度地提高听觉享受,可以通过在音乐播放器中调节播放参数来提高播放效果,如调节音量大小、调节音乐的曲风(如爵士、摇滚、古典等),或调节音效均衡器来改变音乐的音效模式等。然而,上述方式需要用户手动去选择和设置,且往往需要尝试多次才可能选择到满意的结果,从而使得整个过程费时而繁琐,且不够智能化。With the continuous development of electronic technology, mobile terminals such as smart phones and tablet computers have become an indispensable part of people's life. Mobile terminals can not only satisfy people's daily communication, but also perform entertainment activities such as browsing news information, playing games, and playing audio and video. In practical applications, when playing music, the user generally needs to manually select the music he wants to listen to, and in order to maximize the listening enjoyment, the playback effect can be improved by adjusting the playback parameters in the music player, such as adjusting the volume, Adjust the genre of music (such as jazz, rock, classical, etc.), or adjust the sound equalizer to change the sound effect mode of the music, etc. However, the above method requires the user to manually select and set, and it often takes multiple attempts to select a satisfactory result, which makes the whole process time-consuming, cumbersome, and not intelligent enough.

发明内容Contents of the invention

本发明实施例公开了一种音频播放方法及移动终端,能够根据用户的情绪变化智能地调节音频文件及其播放参数,有效提高音频的播放效率。The embodiment of the present invention discloses an audio playing method and a mobile terminal, which can intelligently adjust audio files and playing parameters thereof according to user's emotional changes, and effectively improve audio playing efficiency.

本发明实施例第一方面公开一种音频播放方法,包括:The first aspect of the embodiment of the present invention discloses an audio playback method, including:

检测移动终端是否接收到音频播放指令;Detect whether the mobile terminal receives an audio playback instruction;

如果接收到音频播放指令,获取用户当前的生理参数;If an audio playback instruction is received, obtain the user's current physiological parameters;

根据所述生理参数确定用户的当前情绪状态;determining the current emotional state of the user according to the physiological parameters;

根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数;Determine the target audio file to be played and the target playback parameters for playing the target audio file according to the current emotional state;

按照所述目标播放参数播放所述目标音频文件。Play the target audio file according to the target play parameters.

作为一种可选的实施方式,在本发明实施例第一方面中,所述获取用户当前的生理参数,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the obtaining the current physiological parameters of the user includes:

利用集成在所述移动终端中的生物传感器获取用户当前的生理参数;或者,Obtaining the user's current physiological parameters by using a biosensor integrated in the mobile terminal; or,

利用集成在与所述移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。A biometric sensor integrated in an external device connected to the mobile terminal is used to acquire the current physiological parameters of the user.

作为一种可选的实施方式,在本发明实施例第一方面中,所述根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the determining the target audio file to be played and the target playback parameters for playing the target audio file according to the current emotional state include:

根据所述当前情绪状态,确定与所述当前情绪状态相匹配的音频类型;determining an audio type matching the current emotional state according to the current emotional state;

从所述音频类型的所有音频文件中获取待播放的目标音频文件;Obtain the target audio file to be played from all audio files of the audio type;

从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数;Obtain the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters;

将获取的播放参数确定为用于播放所述目标音频文件的目标播放参数。Determining the acquired playing parameters as target playing parameters for playing the target audio file.

作为一种可选的实施方式,在本发明实施例第一方面中,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:

获取目标参考数据,所述目标参考数据包括所述移动终端当前所处环境的环境音量值、所述移动终端的位置信息、所述移动终端当前的系统时间以及所述移动终端当前的情景模式中的至少一种;Acquiring target reference data, the target reference data including the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the current scene mode of the mobile terminal at least one of

其中,所述从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数,包括:Wherein, the acquisition of the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters includes:

从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与所述当前情绪状态和所述目标参考数据相对应的播放参数。The playback parameters corresponding to the current emotional state and the target reference data are acquired from the preset mapping relationship among the emotional state, reference data, and playback parameters.

作为一种可选的实施方式,在本发明实施例第一方面中,所述按照所述目标播放参数播放所述目标音频文件之前,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, before playing the target audio file according to the target playback parameters, the method further includes:

检测所述移动终端中是否正在播放音频文件;Detect whether the audio file is being played in the mobile terminal;

如果所述移动终端中正在播放音频文件,判断所述音频文件的文件类型是否与所述音频类型一致;If the audio file is being played in the mobile terminal, determine whether the file type of the audio file is consistent with the audio type;

如果所述音频文件的文件类型与所述音频类型不一致,则执行所述的按照所述目标播放参数播放所述目标音频文件的步骤;If the file type of the audio file is inconsistent with the audio type, then perform the step of playing the target audio file according to the target playback parameters;

如果所述音频文件的文件类型与所述音频类型一致,则按照所述目标播放参数播放所述音频文件。If the file type of the audio file is consistent with the audio type, the audio file is played according to the target playing parameters.

本发明实施例第二方面公开一种移动终端,包括:The second aspect of the embodiment of the present invention discloses a mobile terminal, including:

检测单元,用于检测所述移动终端是否接收到音频播放指令;A detection unit, configured to detect whether the mobile terminal has received an audio playback instruction;

第一获取单元,用于在所述检测单元检测到所述移动终端接收到音频播放指令之后,获取用户当前的生理参数;A first acquisition unit, configured to acquire the current physiological parameters of the user after the detection unit detects that the mobile terminal has received an audio playback instruction;

第一确定单元,用于根据所述生理参数确定用户的当前情绪状态;a first determining unit, configured to determine the current emotional state of the user according to the physiological parameters;

第二确定单元,用于根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数;A second determining unit, configured to determine a target audio file to be played and target playback parameters for playing the target audio file according to the current emotional state;

播放单元,用于按照所述目标播放参数播放所述目标音频文件。A playback unit, configured to play the target audio file according to the target playback parameters.

作为一种可选的实施方式,在本发明实施例第二方面中,所述第一获取单元具体用于利用集成在所述移动终端中的生物传感器获取用户当前的生理参数;或者,利用集成在与所述移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。As an optional implementation manner, in the second aspect of the embodiments of the present invention, the first acquiring unit is specifically configured to acquire the current physiological parameters of the user by using a biosensor integrated in the mobile terminal; or, using an integrated The biological sensor in the external device connected to the mobile terminal acquires the current physiological parameters of the user.

作为一种可选的实施方式,在本发明实施例第二方面中,所述第二确定单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the second determination unit includes:

第一确定子单元,用于根据所述当前情绪状态,确定与所述当前情绪状态相匹配的音频类型;A first determining subunit, configured to determine an audio type matching the current emotional state according to the current emotional state;

第一获取子单元,用于从所述音频类型的所有音频文件中获取待播放的目标音频文件;The first obtaining subunit is used to obtain the target audio file to be played from all audio files of the audio type;

第二获取子单元,用于从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数;The second acquisition subunit is used to obtain the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters;

第二确定子单元,用于将获取的播放参数确定为用于播放所述目标音频文件的目标播放参数。The second determining subunit is configured to determine the acquired playing parameters as target playing parameters for playing the target audio file.

作为一种可选的实施方式,在本发明实施例第二方面中,所述移动终端还包括:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the mobile terminal further includes:

第二获取单元,用于获取目标参考数据,所述目标参考数据包括所述移动终端当前所处环境的环境音量值、所述移动终端的位置信息、所述移动终端当前的系统时间以及所述移动终端当前的情景模式中的至少一种;The second acquiring unit is configured to acquire target reference data, the target reference data including the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the At least one of the current scene modes of the mobile terminal;

所述第二获取子单元具体用于从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与所述当前情绪状态和所述目标参考数据相对应的播放参数。The second acquiring subunit is specifically configured to acquire the playback parameters corresponding to the current emotional state and the target reference data from the preset mapping relationship among the emotional state, reference data, and playback parameters.

作为一种可选的实施方式,在本发明实施例第二方面中,所述检测单元,还用于在所述播放单元按照所述目标播放参数播放所述目标音频文件之前,检测所述移动终端中是否正在播放音频文件;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the detection unit is further configured to detect the movement before the playback unit plays the target audio file according to the target playback parameters. Whether the audio file is being played in the terminal;

所述移动终端还包括:The mobile terminal also includes:

判断单元,用于当所述检测单元检测到所述移动终端中正在播放音频文件时,判断所述音频文件的文件类型是否与所述音频类型一致;A judging unit, configured to judge whether the file type of the audio file is consistent with the audio type when the detection unit detects that the audio file is being played in the mobile terminal;

所述播放单元具体用于当所述判断单元判断出所述音频文件的文件类型与所述音频类型不一致时,按照所述目标播放参数播放所述目标音频文件;The playback unit is specifically configured to play the target audio file according to the target playback parameters when the judging unit judges that the file type of the audio file is inconsistent with the audio type;

所述播放单元,还用于当所述判断单元判断出所述音频文件的文件类型与所述音频类型一致时,按照所述目标播放参数播放所述音频文件。The playing unit is further configured to play the audio file according to the target playing parameters when the judging unit judges that the file type of the audio file is consistent with the audio type.

与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

本发明实施例中,当检测到移动终端接收到音频播放指令时,可以获取用户当前的生理参数,并根据该生理参数确定出用户的当前情绪状态,进一步地,可以根据当前情绪状态确定待播放的目标音频文件以及用于播放该目标音频文件的目标播放参数,并按照该目标播放参数播放该目标音频文件。可见,实施本发明实施例,移动终端通过实时获取用户的生理参数来确定出用户的当前情绪状态,进而得到与当前情绪状态相匹配的待播放音频文件和播放参数。这样,根据用户的情绪变化智能地调节音频文件及其播放参数,而无需用户手动来回调节,从而能够有效提高音频的播放效率,使当前播放的音频文件与用户的心境合拍,提升了用户体验。In the embodiment of the present invention, when it is detected that the mobile terminal receives an audio playback instruction, the user's current physiological parameters can be obtained, and the user's current emotional state can be determined according to the physiological parameters. Further, the audio to be played can be determined according to the current emotional state. The target audio file and the target playback parameters for playing the target audio file, and play the target audio file according to the target playback parameters. It can be seen that, implementing the embodiment of the present invention, the mobile terminal determines the user's current emotional state by acquiring the user's physiological parameters in real time, and then obtains the audio file to be played and the playback parameters that match the current emotional state. In this way, the audio file and its playback parameters are intelligently adjusted according to the user's emotional changes, without the need for the user to manually adjust back and forth, so that the audio playback efficiency can be effectively improved, the currently played audio file can be in sync with the user's mood, and the user experience is improved.

附图说明Description of drawings

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

图1是本发明实施例公开的一种音频播放方法的流程示意图;Fig. 1 is a schematic flow chart of an audio playback method disclosed in an embodiment of the present invention;

图2是本发明实施例公开的另一种音频播放方法的流程示意图;Fig. 2 is a schematic flow chart of another audio playback method disclosed by an embodiment of the present invention;

图3是本发明实施例公开的一种移动终端的结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;

图4是本发明实施例公开的另一种移动终端的结构示意图。Fig. 4 is a schematic structural diagram of another mobile terminal disclosed by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 only some of the embodiments of the present invention, 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 making creative efforts belong to the protection scope of the present invention.

需要说明的是,本发明实施例的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or process that includes a series of steps or units. The apparatus is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product or apparatus.

本发明实施例公开了一种音频播放方法及移动终端,能够根据用户的情绪变化智能地调节音频文件及其播放参数,有效提高音频的播放效率。以下将结合附图进行详细描述。The embodiment of the present invention discloses an audio playing method and a mobile terminal, which can intelligently adjust audio files and playing parameters thereof according to user's emotional changes, and effectively improve audio playing efficiency. A detailed description will be given below in conjunction with the accompanying drawings.

实施例一Embodiment one

请参阅图1,图1是本发明实施例公开的一种音频播放方法的流程示意图。其中,该音频播放方法可以应用于移动终端中。如图1所示,该音频播放方法可以包括以下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an audio playback method disclosed in an embodiment of the present invention. Wherein, the audio playing method can be applied to a mobile terminal. As shown in Fig. 1, the audio playing method may include the following steps.

101、检测移动终端是否接收到音频播放指令,如果是,则执行步骤102;如果否,则结束本次操作。101. Detect whether the mobile terminal receives an audio playback instruction, if yes, perform step 102; if not, end this operation.

本发明实施例中,移动终端可以包括但不限于移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、多媒体播放器、车载终端、智能穿戴设备、移动互联网设备(Mobile Internet Device,MID)等各种终端设备。In the embodiment of the present invention, the mobile terminal may include but not limited to a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), a multimedia player, a vehicle terminal, a smart wearable device, a mobile Internet device (Mobile Internet Device, MID ) and other terminal equipment.

本发明实施例中,移动终端可以进行音频文件的播放,可以利用移动终端中安装的多媒体播放器来播放音频文件,其中,该多媒体播放器可以是移动终端中默认自带的,也可以是下载安装的第三方应用,本发明实施例不作限定。移动终端可以进入多媒体播放器的界面,并检测是否接收到用户在该多媒体播放器界面上触发的音频播放指令。具体的,移动终端可以实时或每隔特定时间检测是否接收到音频播放指令。其中,音频播放指令可以用于指示移动终端启动音频播放功能,并开始播放音频文件。In the embodiment of the present invention, the mobile terminal can play the audio file, and can use the multimedia player installed in the mobile terminal to play the audio file, wherein, the multimedia player can be acquiescence in the mobile terminal, or it can be downloaded The installed third-party applications are not limited in this embodiment of the present invention. The mobile terminal can enter the interface of the multimedia player, and detect whether an audio playback instruction triggered by the user on the interface of the multimedia player is received. Specifically, the mobile terminal may detect whether an audio playback instruction is received in real time or at specific time intervals. Wherein, the audio playing instruction may be used to instruct the mobile terminal to start the audio playing function and start playing the audio file.

本发明实施例中,音频播放指令可以是用户通过操作移动终端的音频播放按钮所触发的,该音频播放按钮可以是物理按键,也可以是虚拟按钮,可以是一个或多个按键的组合,本发明实施例不作限定。音频播放指令也可以是用户输入某一特定手势操作所触发的,还可以是用户输入某一特定生物特征信息所触发的,本发明实施例不作限定。其中,生物特征信息可以包括但不限于指纹特征信息、人脸特征信息、虹膜特征信息以及声纹特征信息等中的至少一种。In the embodiment of the present invention, the audio playback instruction may be triggered by the user operating the audio playback button of the mobile terminal. The audio playback button may be a physical button, or a virtual button, or a combination of one or more buttons. The embodiments of the invention are not limited. The audio playback instruction may also be triggered by the user inputting a specific gesture operation, and may also be triggered by the user inputting a specific biometric feature information, which is not limited in this embodiment of the present invention. Wherein, the biological feature information may include but not limited to at least one of fingerprint feature information, face feature information, iris feature information, voiceprint feature information, and the like.

102、获取用户当前的生理参数。102. Obtain the current physiological parameters of the user.

本发明实施例中,当移动终端接收到音频播放指令时,可以获取用户当前的生理参数。其中,该生理参数用于反映用户身体的各项参数指标,可以包括但不限于用户的心率值(或脉搏数)、呼吸频率、体温值、血压值、皮电反应指数以及生物电阻值等中的至少一种参数。In the embodiment of the present invention, when the mobile terminal receives an audio playback instruction, it can acquire the current physiological parameters of the user. Among them, the physiological parameters are used to reflect various parameter indexes of the user's body, which may include but not limited to the user's heart rate value (or pulse rate), respiratory rate, body temperature value, blood pressure value, electrodermal response index and bio-resistance value, etc. at least one parameter of .

具体的,步骤102获取用户当前的生理参数的具体实施方式可以包括以下步骤:Specifically, the specific implementation manner of obtaining the current physiological parameters of the user in step 102 may include the following steps:

11)利用集成在移动终端中的生物传感器获取用户当前的生理参数;或者,11) Obtain the current physiological parameters of the user by using the biosensor integrated in the mobile terminal; or,

12)利用集成在与移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。12) Acquiring the current physiological parameters of the user by using the biosensor integrated in the external device connected to the mobile terminal.

其中,用户当前的生理参数可以利用生物传感器来获取。该生物传感器可以设置在移动终端本体中,通过与用户接触获取到用户的生理参数,具体的,当移动终端接收到音频播放指令后,可以开启移动终端中的生物传感器来获取用户的生理参数。该生物传感器也可以设置在与移动终端相连接的外接设备(如耳机、手环、颈环等)中,通过外接设备与用户接触获取到用户的生理参数并传递给移动终端,具体的,当移动终端接收到音频播放指令后,可以检测移动终端是否成功接入有外接设备,如果成功接入,则触发外接设备开启生物传感器来获取用户的生理参数并传给移动终端。生物传感器可以是一个或多个,可以包括但不限于皮电传感器、生物电阻抗传感器、呼吸传感器、心率传感器(或脉搏传感器)、血压传感器以及温度计等中的至少一种。例如,可以利用皮电传感器获取用户的皮电反应指数,利用生物电阻抗传感器获取用户的生物电阻值,利用呼吸传感器获取用户的呼吸频率,和/或,利用心率传感器获取用户的心率值等等。Wherein, the current physiological parameters of the user can be obtained by using biosensors. The biosensor can be set in the mobile terminal body to obtain the user's physiological parameters through contact with the user. Specifically, when the mobile terminal receives an audio playback instruction, the biosensor in the mobile terminal can be turned on to obtain the user's physiological parameters. The biosensor can also be set in an external device (such as earphones, bracelets, neck rings, etc.) After the mobile terminal receives the audio playback instruction, it can detect whether the mobile terminal is successfully connected to an external device. If it is successfully connected, it will trigger the external device to turn on the biosensor to obtain the user's physiological parameters and transmit it to the mobile terminal. There may be one or more biosensors, including but not limited to at least one of electrodermal sensors, bioelectrical impedance sensors, respiration sensors, heart rate sensors (or pulse sensors), blood pressure sensors, and thermometers. For example, the galvanic skin response index of the user can be obtained by using the electrodermal sensor, the bioelectrical resistance value of the user can be obtained by the bioelectrical impedance sensor, the respiratory rate of the user can be obtained by the respiratory sensor, and/or the heart rate value of the user can be obtained by the heart rate sensor, etc. .

103、根据该生理参数确定用户的当前情绪状态。103. Determine the current emotional state of the user according to the physiological parameter.

本发明实施例中,用户的生理参数并不是一成不变的,而是可以根据情绪的波动而相应变化的。不同的生理参数的值可以对应不同的情绪状态,可以在移动终端中事先建立好不同的生理参数的值与情绪状态的映射关系。其中,用户的情绪状态可以包括喜悦、悲伤、平静、紧张等,通过分析获取到的生理参数的值来确定出用户是喜悦还是悲伤,是平静还是紧张。例如,当获取到用户的心率值处于a1~a2范围内时,确定用户的当前情绪状态为喜悦;当获取到用户的心率值处于a3~a4范围内时,确定用户的当前情绪状态为悲伤;当获取到用户的心率值处于a5~a6范围内时,确定用户的当前情绪状态为悲伤。In the embodiment of the present invention, the physiological parameters of the user are not static, but can be changed according to the fluctuation of mood. The values of different physiological parameters may correspond to different emotional states, and the mapping relationship between the values of different physiological parameters and emotional states may be established in advance in the mobile terminal. Wherein, the user's emotional state may include joy, sadness, calmness, tension, etc., and it is determined whether the user is joyful or sad, calm or tense by analyzing the acquired physiological parameter values. For example, when the acquired heart rate value of the user is within the range of a1-a2, it is determined that the user's current emotional state is joy; when the acquired user's heart rate value is within the range of a3-a4, it is determined that the user's current emotional state is sad; When the obtained heart rate value of the user is in the range of a5-a6, it is determined that the current emotional state of the user is sad.

104、根据当前情绪状态确定待播放的目标音频文件以及用于播放该目标音频文件的目标播放参数。104. Determine a target audio file to be played and target playback parameters for playing the target audio file according to the current emotional state.

本发明实施例中,当确定出用户的当前情绪状态后,可以根据当前情绪状态来确定待播放的目标音频文件,进一步地,还可以根据当前情绪状态来确定用于播放该目标音频文件的目标播放参数。该目标音频文件可以是存储在移动终端中的,也可以是从网上获取的。目标播放参数可以包括但不限于音效模式(如摇滚、古典、流行、爵士等等)、场景模式(如音乐厅模式、房间模式、KTV模式、耳机模式等等)、立体声、单/双声道以及音量值等信息中的至少一种。不同的情绪状态可以对应不同的播放参数,即随着用户的情绪状态的变化,其音频文件的播放参数也将相应发生改变。In the embodiment of the present invention, after the user's current emotional state is determined, the target audio file to be played can be determined according to the current emotional state, and further, the target audio file for playing the target audio file can also be determined according to the current emotional state. Play parameters. The target audio file may be stored in the mobile terminal, or obtained from the Internet. Target playback parameters may include but not limited to sound mode (such as rock, classical, pop, jazz, etc.), scene mode (such as concert hall mode, room mode, KTV mode, earphone mode, etc.), stereo, single/dual channel and at least one of information such as volume value. Different emotional states may correspond to different playback parameters, that is, as the user's emotional state changes, the playback parameters of the audio file will also change accordingly.

本发明实施例中,移动终端可以事先建立好不同的情绪状态与音频文件的映射关系,当获取到用户的当前情绪状态时,可以从该映射关系中查找与当前情绪状态所对应的音频文件,即得到目标音频文件。目标音频文件可以是一份或多份,当为多份时,可以随机播放或按照排列顺序播放。目标音频文件可以直接从移动终端中获取,也可以从网上在线获取。移动终端也可以事先建立好不同的情绪状态与音频类型的映射关系,当获取到用户的当前情绪状态时,可以从该映射关系中查找到与当前情绪状态所对应的音频类型,并从移动终端中获取到属于该音频类型的目标音频文件,或者从网上获取属于该音频类型的目标音频文件。例如,当用户处于比较紧张的情绪状态下时,可以获取轻松类型的音频文件,从而缓解用户的紧张情绪;当用户处于悲伤的情绪状态下时,可以获取欢快类型的音频文件,从而缓解用户的悲伤情绪。In the embodiment of the present invention, the mobile terminal can establish a mapping relationship between different emotional states and audio files in advance, and when the user's current emotional state is obtained, the audio file corresponding to the current emotional state can be searched from the mapping relationship, That is, the target audio file is obtained. There can be one or more target audio files, and when there are multiple copies, they can be played randomly or in sequence. The target audio file can be obtained directly from the mobile terminal, or can be obtained online from the Internet. The mobile terminal can also establish a mapping relationship between different emotional states and audio types in advance. When the user's current emotional state is obtained, the audio type corresponding to the current emotional state can be found from the mapping relationship, and the audio type can be obtained from the mobile terminal. Obtain the target audio file belonging to the audio type from , or obtain the target audio file belonging to the audio type from the Internet. For example, when the user is in a tense emotional state, you can obtain relaxing audio files to relieve the user's nervousness; when the user is in a sad emotional state, you can obtain cheerful audio files to relieve the user's nervousness. sad mood.

105、按照该目标播放参数播放该目标音频文件。105. Play the target audio file according to the target play parameter.

本发明实施例中,当根据获取到的用户的当前情绪状态得出待播放的目标音频文件以及目标播放参数后,移动终端可以加载该目标播放参数来输出目标音频文件。当目标音频文件存储在移动终端本地时,可以直接从移动终端中获取目标音频文件并播放;当移动终端中未存储有目标音频文件,可以从网上在线获取目标音频文件并播放。In the embodiment of the present invention, after the target audio file to be played and the target playback parameters are obtained according to the obtained user's current emotional state, the mobile terminal can load the target playback parameters to output the target audio file. When the target audio file is stored locally in the mobile terminal, the target audio file can be directly acquired from the mobile terminal and played; when the target audio file is not stored in the mobile terminal, the target audio file can be acquired online from the Internet and played.

可见,实施图1所描述的方法,移动终端通过实时获取用户的生理参数来确定出用户的当前情绪状态,进而得到与当前情绪状态相匹配的待播放音频文件和播放参数。这样,根据用户的情绪变化智能地调节音频文件及其播放参数,而无需用户手动来回调节,从而能够有效提高音频的播放效率,使当前播放的音频文件与用户的心境合拍,提升了用户体验。It can be seen that, implementing the method described in FIG. 1, the mobile terminal determines the user's current emotional state by acquiring the user's physiological parameters in real time, and then obtains the audio file to be played and the playback parameters that match the current emotional state. In this way, the audio file and its playback parameters are intelligently adjusted according to the user's emotional changes, without the need for the user to manually adjust back and forth, so that the audio playback efficiency can be effectively improved, the currently played audio file can be in sync with the user's mood, and the user experience is improved.

实施例二Embodiment two

请参阅图2,图2是本发明实施例公开的另一种音频播放方法的流程示意图。其中,该音频播放方法可以应用于移动终端中。如图2所示,该音频播放方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another audio playback method disclosed in an embodiment of the present invention. Wherein, the audio playing method can be applied to a mobile terminal. As shown in Fig. 2, the audio playing method may include the following steps.

201、检测移动终端是否接收到音频播放指令,如果是,则执行步骤202;如果否,则结束本次操作。201. Detect whether the mobile terminal receives an audio playback instruction, if yes, perform step 202; if not, end this operation.

202、获取用户当前的生理参数。202. Acquire the current physiological parameters of the user.

本发明实施例中,该生理参数用于反映用户身体的各项参数指标,可以包括但不限于用户的心率值(或脉搏数)、呼吸频率、体温值、血压值、皮电反应指数以及生物电阻值等中的至少一种参数。具体的,可以利用集成在移动终端自身中的生物传感器获取用户当前的生理参数,也可以利用集成在与移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数并传给移动终端。其中,该生物传感器可以是一个或多个,可以包括但不限于皮电传感器、生物电阻抗传感器、呼吸传感器、心率传感器(或脉搏传感器)、血压传感器以及温度计等中的至少一种。In the embodiment of the present invention, the physiological parameters are used to reflect various parameter indicators of the user's body, which may include but not limited to the user's heart rate (or pulse rate), respiratory rate, body temperature, blood pressure, electrodermal response index, and biological parameters. At least one parameter among the resistance value and the like. Specifically, the biosensor integrated in the mobile terminal itself can be used to obtain the user's current physiological parameters, or the biosensor integrated in an external device connected to the mobile terminal can be used to obtain the user's current physiological parameters and transmit them to the mobile terminal. Wherein, the biosensor may be one or more, including but not limited to at least one of electrodermal sensor, bioelectrical impedance sensor, respiration sensor, heart rate sensor (or pulse sensor), blood pressure sensor, and thermometer.

203、根据该生理参数确定用户的当前情绪状态。203. Determine the current emotional state of the user according to the physiological parameter.

本发明实施例中,移动终端中可以预先存储有不同的生理参数的值与情绪状态的映射关系,其中,不同的生理参数的值可以对应不同的情绪状态。用户的情绪状态可以包括喜悦、悲伤、平静、紧张等。当用户处于不同的情绪状态下时,其皮电反应指数、生物电阻值、心率值等参数均会有所不同,通过分析获取到的生理参数的值来确定出用户是喜悦还是悲伤,是平静还是紧张。In the embodiment of the present invention, the mobile terminal may pre-store the mapping relationship between different physiological parameter values and emotional states, where different physiological parameter values may correspond to different emotional states. The user's emotional state may include joy, sadness, calm, nervousness, and the like. When the user is in different emotional states, the parameters such as the electrodermal response index, bio-resistance value, and heart rate value will be different. By analyzing the obtained physiological parameter values, it can be determined whether the user is happy, sad, or calm. Still nervous.

进一步地,用户的情绪状态也可以按等级进行细分,例如,当用户的情绪状态为喜悦时,可以进一步按照喜悦的程度来划分,即轻度喜悦、中度喜悦、高度喜悦。当用户的情绪状态为悲伤时,可以细分为轻度悲伤、中度悲伤、高度悲伤等等。通过将情绪状态进一步细分,能够更为准确的体现出用户当前的情绪状态。Furthermore, the user's emotional state can also be subdivided by level. For example, when the user's emotional state is joy, it can be further divided according to the degree of joy, that is, mild joy, moderate joy, and high joy. When the user's emotional state is sad, it can be subdivided into mild sadness, moderate sadness, high sadness and so on. By further subdividing the emotional state, the current emotional state of the user can be more accurately reflected.

204、根据当前情绪状态,确定与当前情绪状态相匹配的音频类型。204. Determine an audio type that matches the current emotional state according to the current emotional state.

本发明实施例中,移动终端中可以预先建立好不同的情绪状态与音频类型的映射关系,其中,不同的情绪状态可以对应不同的音频类型。音频类型可以包括但不限于轻松、欢快、安静、轻音乐等等类型。可以事先对移动终端中的音频文件进行分类,以得到不同音频类型的音频文件。例如,可以设置紧张的情绪状态对应轻松的音频类型,悲伤的情绪状态对应欢快的音频类型等等。In the embodiment of the present invention, the mapping relationship between different emotional states and audio types may be established in advance in the mobile terminal, where different emotional states may correspond to different audio types. The audio type may include, but not limited to, relaxing, cheerful, quiet, light music, and the like. The audio files in the mobile terminal can be classified in advance to obtain audio files of different audio types. For example, it may be set that a tense emotional state corresponds to a relaxed audio type, a sad emotional state corresponds to a cheerful audio type, and so on.

205、从该音频类型的所有音频文件中获取待播放的目标音频文件。205. Obtain a target audio file to be played from all audio files of the audio type.

本发明实施例中,可以从移动终端本地获取属于该音频类型的所有音频文件,也可以从网上获取属于该音频类型的音频文件。当获取到该音频类型的音频文件后,可以随机或根据用户的选择从中选出待播放的目标音频文件。In the embodiment of the present invention, all audio files belonging to the audio type can be acquired locally from the mobile terminal, or can be acquired from the Internet. After the audio file of the audio type is obtained, a target audio file to be played can be selected randomly or according to the user's selection.

206、从预先设置的情绪状态与播放参数的映射关系中,获取与当前情绪状态对应的播放参数。206. Acquire the playback parameter corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameter.

207、将获取的播放参数确定为用于播放该目标音频文件的目标播放参数。207. Determine the acquired playing parameters as target playing parameters for playing the target audio file.

本发明实施例中,移动终端中可以预先建立不同的情绪状态与播放参数两者之间的映射关系,该映射关系中不同的情绪状态可以对应不同的播放参数。该播放参数可以包括但不限于音效模式(如摇滚、古典、流行、爵士等等)、场景模式(如音乐厅模式、房间模式、KTV模式、耳机模式等等)、立体声、单/双声道以及音量值等信息中的至少一种。当确定出用户的当前情绪状态后,可以从该映射关系中查找与当前情绪状态对应的播放参数,并将该播放参数确定为用于播放目标音频文件的目标播放参数。当用户的当前情绪状态发生变化,则播放参数也将相应发生变化。In the embodiment of the present invention, a mapping relationship between different emotional states and playback parameters may be pre-established in the mobile terminal, and different emotional states in the mapping relationship may correspond to different playback parameters. The playback parameters may include but not limited to sound effect mode (such as rock, classical, pop, jazz, etc.), scene mode (such as concert hall mode, room mode, KTV mode, earphone mode, etc.), stereo, single/dual channel and at least one of information such as volume value. After the user's current emotional state is determined, the playback parameter corresponding to the current emotional state can be searched from the mapping relationship, and the playback parameter can be determined as the target playback parameter for playing the target audio file. When the current emotional state of the user changes, the playback parameters will also change accordingly.

作为一种可选的实施方式,在执行步骤206之前,图2所描述的方法还可以包括以下步骤:As an optional implementation manner, before performing step 206, the method described in FIG. 2 may further include the following steps:

21)获取目标参考数据;21) Obtain target reference data;

相应地,步骤206从预先设置的情绪状态与播放参数的映射关系中,获取与当前情绪状态对应的播放参数的具体实施方式可以包括以下步骤:Correspondingly, in step 206, from the preset mapping relationship between emotional states and playing parameters, the specific implementation manner of obtaining the playing parameters corresponding to the current emotional state may include the following steps:

22)从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与当前情绪状态和该目标参考数据相对应的播放参数。22) Obtain the playback parameters corresponding to the current emotional state and the target reference data from the preset mapping relationship among the emotional state, reference data, and playback parameters.

在该实施方式中,该目标参考数据可以包括但不限于移动终端当前所处环境的环境音量值、移动终端的位置信息、移动终端当前的系统时间以及移动终端当前的情景模式等中的至少一种。移动终端当前所处环境的环境音量值即为环境噪音的响度,单位可以为分贝,可以通过移动终端的麦克风进行采集并评估。移动终端的位置信息可以是移动终端当前所在地的位置信息,可以是通过移动终端中的GPS(Global Positioning System,全球定位系统)来获取,也可以是通过基站定位来获取,还可以是通过Wi-Fi定位来获取等等,该实施方式不作限定。移动终端当前的位置信息可以是以经纬度坐标的方式来体现,也可以是具体的实际地址,如移动终端所处省市、街道、门牌号等等。移动终端的位置信息也可以是移动终端历史活动频率最高的地理位置所对应的位置信息,可以统计在预设时间内(如一月内、一周内、一天内等)移动终端在各个地理位置的活动次数和/或活动时长,并获取活动次数最多和/或活动时长最长的地理位置的位置信息。移动终端的位置信息可以是具体的一个位置,也可以是一个位置范围,该实施方式不作限定。移动终端当前的系统时间可以是移动终端当前输出的时间,如8:30、19:00。移动终端当前的情景模式可以包括但不限于标准模式、会议模式、飞行模式、静音模式等等。In this embodiment, the target reference data may include but not limited to at least one of the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the current scene mode of the mobile terminal. kind. The ambient volume value of the environment where the mobile terminal is currently located is the loudness of the ambient noise, and the unit may be decibels, which may be collected and evaluated by the microphone of the mobile terminal. The location information of the mobile terminal may be the location information of the current location of the mobile terminal, which may be obtained through a GPS (Global Positioning System, Global Positioning System) in the mobile terminal, may also be obtained through base station positioning, or may be obtained through Wi- Fi positioning is used to obtain, etc., which are not limited in this implementation manner. The current location information of the mobile terminal may be represented by latitude and longitude coordinates, or may be a specific actual address, such as the province, city, street, house number, etc. where the mobile terminal is located. The location information of the mobile terminal can also be the location information corresponding to the geographical location with the highest historical activity frequency of the mobile terminal, and the activities of the mobile terminal in each geographical location can be counted within a preset time (such as within a month, within a week, within a day, etc.) times and/or activity duration, and obtain location information of the geographic location with the most activity times and/or the longest activity duration. The location information of the mobile terminal may be a specific location or a location range, which is not limited in this embodiment. The current system time of the mobile terminal may be the time currently output by the mobile terminal, such as 8:30, 19:00. The current scene mode of the mobile terminal may include but not limited to a standard mode, a meeting mode, an airplane mode, a silent mode, and the like.

在该实施方式中,移动终端中可以预先建立情绪状态、参考数据以及播放参数三者的映射关系,在该映射关系中,同一情绪状态下不同的参考数据对应的播放参数可以不同。例如,当参考数据为移动终端当前所处环境的环境音量值时,在同一情绪状态下不同的环境音量值对应的播放参数不同,当环境音量值较大时,则播放参数中用于输出目标音频文件的音量值也相应设置成较大;当环境音量值较小时,则播放参数中用于输出目标音频文件的音量值也相应设置成较小。通过实施该实施方式,在用户的当前情绪状态的基础上结合考虑了移动终端当前所处环境的环境音量值、移动终端的位置信息、移动终端当前的系统时间或移动终端当前的情景模式等信息,使得播放参数更适合于用户,更具人性化,播放效果更佳。In this embodiment, the mobile terminal may pre-establish a mapping relationship among emotional states, reference data, and playback parameters. In the mapping relationship, playback parameters corresponding to different reference data in the same emotional state may be different. For example, when the reference data is the ambient volume value of the environment where the mobile terminal is currently located, different playback parameters correspond to different ambient volume values in the same emotional state. The volume value of the audio file is also set to be relatively large; when the ambient volume value is small, the volume value for outputting the target audio file in the playback parameters is also set to be relatively small. By implementing this embodiment, on the basis of the current emotional state of the user, information such as the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, or the current scene mode of the mobile terminal is combined. , so that the playback parameters are more suitable for the user, more humane, and the playback effect is better.

208、按照该目标播放参数播放该目标音频文件。208. Play the target audio file according to the target play parameter.

作为一种可选的实施方式,在执行步骤208之前,图2所描述的方法还可以包括以下步骤:As an optional implementation manner, before performing step 208, the method described in FIG. 2 may further include the following steps:

23)检测移动终端中是否正在播放音频文件;23) Detect whether the audio file is being played in the mobile terminal;

24)如果移动终端中正在播放音频文件,判断该音频文件的文件类型是否与该音频类型一致,如果该音频文件的文件类型与该音频类型不一致,则执行步骤208按照该目标播放参数播放该目标音频文件;24) If the audio file is being played in the mobile terminal, judge whether the file type of the audio file is consistent with the audio type, if the file type of the audio file is inconsistent with the audio type, then perform step 208 to play the target according to the target playback parameters audio files;

25)如果该音频文件的文件类型与该音频类型一致,则按照该目标播放参数播放该音频文件。25) If the file type of the audio file is consistent with the audio type, play the audio file according to the target playback parameters.

在该实施方式中,如果移动终端中正在播放音频文件,可以检测该音频文件的文件类型是否与步骤204中确定的目标音频文件的音频类型相同,如果两者不相同,说明当前正在播放的音频文件不符合用户的当前情绪状态,则此时将获取到的目标音频文件替换掉该正在播放的音频文件,并加载目标播放参数来播放该目标音频文件。如果两者相同,说明当前正在播放的音频文件符合用户的当前情绪状态,此时无需利用目标音频文件来替换正在播放的音频文件,而是可以直接加载目标播放参数来替换掉当前正在使用的播放参数。In this embodiment, if the audio file is being played in the mobile terminal, it can be detected whether the file type of the audio file is the same as the audio type of the target audio file determined in step 204, if the two are not the same, it means that the audio file currently being played If the file does not conform to the current emotional state of the user, the acquired target audio file will replace the currently playing audio file, and the target playback parameters will be loaded to play the target audio file. If the two are the same, it means that the currently playing audio file matches the user's current emotional state. At this time, there is no need to use the target audio file to replace the playing audio file. Instead, you can directly load the target playback parameters to replace the current playback parameter.

可见,实施图2所描述的方法,移动终端通过实时获取用户的生理参数来确定出用户的当前情绪状态,进而得到与当前情绪状态相匹配的待播放音频文件和播放参数。这样,根据用户的情绪变化智能地调节音频文件及其播放参数,而无需用户手动来回调节,从而能够有效提高音频的播放效率,使当前播放的音频文件与用户的心境合拍,提升了用户体验。It can be seen that, implementing the method described in FIG. 2 , the mobile terminal determines the user's current emotional state by acquiring the user's physiological parameters in real time, and then obtains the audio file to be played and the playback parameters that match the current emotional state. In this way, the audio file and its playback parameters are intelligently adjusted according to the user's emotional changes, without the need for the user to manually adjust back and forth, so that the audio playback efficiency can be effectively improved, the currently played audio file can be in sync with the user's mood, and the user experience is improved.

实施例三Embodiment three

请参阅图3,图3是本发明实施例公开的一种移动终端的结构示意图,可以用于执行上述公开的音频播放方法。如图3所示,该移动终端可以包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention, which can be used to execute the audio playing method disclosed above. As shown in Figure 3, the mobile terminal may include:

检测单元301,用于检测移动终端是否接收到音频播放指令。The detection unit 301 is configured to detect whether the mobile terminal receives an audio play instruction.

第一获取单元302,用于在检测单元301检测到移动终端接收到音频播放指令之后,获取用户当前的生理参数。The first acquisition unit 302 is configured to acquire the current physiological parameters of the user after the detection unit 301 detects that the mobile terminal receives an audio playback instruction.

其中,该生理参数用于反映用户身体的各项参数指标,可以包括但不限于用户的心率值(或脉搏数)、呼吸频率、体温值、血压值、皮电反应指数以及生物电阻值等中的至少一种参数。第一获取单元302具体用于利用集成在移动终端中的生物传感器获取用户当前的生理参数;或者,利用集成在与移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。该生物传感器可以是一个或多个,可以包括但不限于皮电传感器、生物电阻抗传感器、呼吸传感器、心率传感器(或脉搏传感器)、血压传感器以及温度计等中的至少一种。Among them, the physiological parameters are used to reflect various parameter indexes of the user's body, which may include but not limited to the user's heart rate value (or pulse rate), respiratory rate, body temperature value, blood pressure value, electrodermal response index and bio-resistance value, etc. at least one parameter of . The first acquiring unit 302 is specifically configured to acquire the current physiological parameters of the user by utilizing the biosensor integrated in the mobile terminal; or acquire the current physiological parameter of the user by utilizing the biosensor integrated in the external device connected to the mobile terminal. The biosensor may be one or more, including but not limited to at least one of a skin electrosensor, a bioelectrical impedance sensor, a respiration sensor, a heart rate sensor (or a pulse sensor), a blood pressure sensor, and a thermometer.

第一确定单元303,用于根据该生理参数确定用户的当前情绪状态。The first determining unit 303 is configured to determine the current emotional state of the user according to the physiological parameter.

其中,可以在移动终端中事先建立好不同的生理参数的值与情绪状态的映射关系,不同的生理参数的值可以对应不同的情绪状态。用户的情绪状态可以包括喜悦、悲伤、平静、紧张等,通过分析获取到的生理参数的值来确定出用户是喜悦还是悲伤,是平静还是紧张。Wherein, the mapping relationship between different physiological parameter values and emotional states may be established in advance in the mobile terminal, and different physiological parameter values may correspond to different emotional states. The user's emotional state may include joy, sadness, calmness, tension, etc., and it is determined whether the user is joyful or sad, calm or tense by analyzing the acquired physiological parameter values.

第二确定单元304,用于根据当前情绪状态确定待播放的目标音频文件以及用于播放该目标音频文件的目标播放参数。The second determining unit 304 is configured to determine a target audio file to be played and target playback parameters for playing the target audio file according to the current emotional state.

其中,该目标音频文件可以是存储在移动终端中的,也可以是从网上获取的。目标播放参数可以包括但不限于音效模式(如摇滚、古典、流行、爵士等等)、场景模式(如音乐厅模式、房间模式、KTV模式、耳机模式等等)、立体声、单/双声道以及音量值等信息中的至少一种。Wherein, the target audio file may be stored in the mobile terminal, or obtained from the Internet. Target playback parameters may include but not limited to sound mode (such as rock, classical, pop, jazz, etc.), scene mode (such as concert hall mode, room mode, KTV mode, earphone mode, etc.), stereo, single/dual channel and at least one of information such as volume value.

播放单元305,用于按照该目标播放参数播放该目标音频文件。The playing unit 305 is configured to play the target audio file according to the target playing parameters.

其中,实施图3所描述的移动终端,通过实时获取用户的生理参数来确定出用户的当前情绪状态,进而得到与当前情绪状态相匹配的待播放音频文件和播放参数。这样,根据用户的情绪变化智能地调节音频文件及其播放参数,而无需用户手动来回调节,从而能够有效提高音频的播放效率,使当前播放的音频文件与用户的心境合拍,提升了用户体验。Wherein, the mobile terminal described in FIG. 3 is implemented to determine the user's current emotional state by acquiring the user's physiological parameters in real time, and then obtain the audio file to be played and the playback parameters that match the current emotional state. In this way, the audio file and its playback parameters are intelligently adjusted according to the user's emotional changes, without the need for the user to manually adjust back and forth, so that the audio playback efficiency can be effectively improved, the currently played audio file can be in sync with the user's mood, and the user experience is improved.

实施例四Embodiment four

请参阅图4,图4是本发明实施例公开的另一种移动终端的结构示意图,可以用于执行上述公开的音频播放方法。其中,图4所示的移动终端是由图3所示的移动终端进行优化得到的。与图3所示的移动终端相比较,图4所示的移动终端中第二确定单元304可以进一步包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention, which can be used to execute the audio playback method disclosed above. Wherein, the mobile terminal shown in FIG. 4 is obtained by optimizing the mobile terminal shown in FIG. 3 . Compared with the mobile terminal shown in FIG. 3, the second determination unit 304 in the mobile terminal shown in FIG. 4 may further include:

第一确定子单元3041,用于根据当前情绪状态,确定与当前情绪状态相匹配的音频类型;The first determining subunit 3041 is configured to determine the audio type matching the current emotional state according to the current emotional state;

第一获取子单元3042,用于从该音频类型的所有音频文件中获取待播放的目标音频文件;The first obtaining subunit 3042 is used to obtain the target audio file to be played from all audio files of the audio type;

第二获取子单元3043,用于从预先设置的情绪状态与播放参数的映射关系中,获取与当前情绪状态对应的播放参数;The second acquisition subunit 3043 is used to obtain the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters;

第二确定子单元3044,用于将获取的播放参数确定为用于播放该目标音频文件的目标播放参数。The second determining subunit 3044 is configured to determine the acquired playing parameter as a target playing parameter for playing the target audio file.

作为一种可选的实施方式,图4所示的移动终端还可以包括:As an optional implementation manner, the mobile terminal shown in FIG. 4 may also include:

第二获取单元306,用于获取目标参考数据。The second obtaining unit 306 is configured to obtain target reference data.

其中,该目标参考数据可以包括但不限于移动终端当前所处环境的环境音量值、移动终端的位置信息、移动终端当前的系统时间以及移动终端当前的情景模式等中的至少一种。Wherein, the target reference data may include but not limited to at least one of the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the current scene mode of the mobile terminal.

相应地,第二获取子单元3043具体用于从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与当前情绪状态和该目标参考数据相对应的播放参数。Correspondingly, the second obtaining subunit 3043 is specifically configured to obtain the playback parameters corresponding to the current emotional state and the target reference data from the preset mapping relationship among the emotional state, reference data, and playback parameters.

作为一种可选的实施方式,检测单元301,还可以用于在播放单元305按照该目标播放参数播放该目标音频文件之前,检测移动终端中是否正在播放音频文件;As an optional implementation manner, the detection unit 301 may also be used to detect whether the audio file is being played in the mobile terminal before the playback unit 305 plays the target audio file according to the target playback parameters;

相应地,图4所示的移动终端还可以包括:Correspondingly, the mobile terminal shown in Figure 4 may also include:

判断单元307,用于当检测单元301检测到移动终端中正在播放音频文件时,判断该音频文件的文件类型是否与第一确定子单元3041确定的音频类型一致;The judging unit 307 is used to judge whether the file type of the audio file is consistent with the audio type determined by the first determining subunit 3041 when the detecting unit 301 detects that the audio file is being played in the mobile terminal;

播放单元305具体用于当判断单元307判断出该音频文件的文件类型与该音频类型不一致时,按照该目标播放参数播放该目标音频文件;The playback unit 305 is specifically used to play the target audio file according to the target playback parameters when the judging unit 307 judges that the file type of the audio file is inconsistent with the audio type;

播放单元305,还可以用于当判断单元307判断出该音频文件的文件类型与该音频类型一致时,按照该目标播放参数播放该音频文件。The playing unit 305 may also be configured to play the audio file according to the target playing parameter when the judging unit 307 judges that the file type of the audio file is consistent with the audio type.

其中,实施图4所描述的移动终端,通过实时获取用户的生理参数来确定出用户的当前情绪状态,进而得到与当前情绪状态相匹配的待播放音频文件和播放参数。这样,根据用户的情绪变化智能地调节音频文件及其播放参数,而无需用户手动来回调节,从而能够有效提高音频的播放效率,使当前播放的音频文件与用户的心境合拍,提升了用户体验。Wherein, the mobile terminal described in FIG. 4 is implemented to determine the user's current emotional state by acquiring the user's physiological parameters in real time, and then obtain the audio file to be played and the playback parameters that match the current emotional state. In this way, the audio file and its playback parameters are intelligently adjusted according to the user's emotional changes, without the need for the user to manually adjust back and forth, so that the audio playback efficiency can be effectively improved, the currently played audio file can be in sync with the user's mood, and the user experience is improved.

具体地,本发明实施例中介绍的移动终端可以实施本发明结合图1或图2介绍的音频播放方法实施例中的部分或全部流程。Specifically, the mobile terminal introduced in the embodiments of the present invention can implement part or all of the processes in the embodiments of the audio playing method described in conjunction with FIG. 1 or FIG. 2 in the present invention.

需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, all the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present application, certain steps may be carried out in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例移动终端中的单元或子单元可以根据实际需要进行合并、划分和删减。The units or subunits in the mobile terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.

以上对本发明实施例公开的一种音频播放方法及移动终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to an audio playback method and a mobile terminal disclosed in the embodiments of the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the present invention. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood as Limitations on the Invention.

Claims (10)

1.一种音频播放方法,其特征在于,包括:1. An audio playback method, characterized in that, comprising: 检测移动终端是否接收到音频播放指令;Detect whether the mobile terminal receives an audio playback instruction; 如果接收到音频播放指令,获取用户当前的生理参数;If an audio playback instruction is received, obtain the user's current physiological parameters; 根据所述生理参数确定用户的当前情绪状态;determining the current emotional state of the user according to the physiological parameters; 根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数;Determine the target audio file to be played and the target playback parameters for playing the target audio file according to the current emotional state; 按照所述目标播放参数播放所述目标音频文件。Play the target audio file according to the target play parameters. 2.根据权利要求1所述的方法,其特征在于,所述获取用户当前的生理参数,包括:2. The method according to claim 1, wherein said obtaining the current physiological parameters of the user comprises: 利用集成在所述移动终端中的生物传感器获取用户当前的生理参数;或者,Obtaining the current physiological parameters of the user by using a biosensor integrated in the mobile terminal; or, 利用集成在与所述移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。The current physiological parameters of the user are obtained by using the biological sensor integrated in the external device connected to the mobile terminal. 3.根据权利要求1或2所述的方法,其特征在于,所述根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数,包括:3. The method according to claim 1 or 2, wherein said determining the target audio file to be played and the target playback parameters for playing the target audio file according to the current emotional state include: 根据所述当前情绪状态,确定与所述当前情绪状态相匹配的音频类型;determining an audio type matching the current emotional state according to the current emotional state; 从所述音频类型的所有音频文件中获取待播放的目标音频文件;Obtain the target audio file to be played from all audio files of the audio type; 从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数;Obtain the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters; 将获取的播放参数确定为用于播放所述目标音频文件的目标播放参数。Determining the acquired playing parameters as target playing parameters for playing the target audio file. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. method according to claim 3, is characterized in that, described method also comprises: 获取目标参考数据,所述目标参考数据包括所述移动终端当前所处环境的环境音量值、所述移动终端的位置信息、所述移动终端当前的系统时间以及所述移动终端当前的情景模式中的至少一种;Acquiring target reference data, the target reference data including the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the current scene mode of the mobile terminal at least one of 其中,所述从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数,包括:Wherein, the acquisition of the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters includes: 从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与所述当前情绪状态和所述目标参考数据相对应的播放参数。The playback parameters corresponding to the current emotional state and the target reference data are acquired from the preset mapping relationship among the emotional state, reference data, and playback parameters. 5.根据权利要求3所述的方法,其特征在于,所述按照所述目标播放参数播放所述目标音频文件之前,所述方法还包括:5. The method according to claim 3, wherein, before the target audio file is played according to the target playback parameters, the method further comprises: 检测所述移动终端中是否正在播放音频文件;Detect whether the audio file is being played in the mobile terminal; 如果所述移动终端中正在播放音频文件,判断所述音频文件的文件类型是否与所述音频类型一致;If the audio file is being played in the mobile terminal, determine whether the file type of the audio file is consistent with the audio type; 如果所述音频文件的文件类型与所述音频类型不一致,则执行所述的按照所述目标播放参数播放所述目标音频文件的步骤;If the file type of the audio file is inconsistent with the audio type, then perform the step of playing the target audio file according to the target playback parameters; 如果所述音频文件的文件类型与所述音频类型一致,则按照所述目标播放参数播放所述音频文件。If the file type of the audio file is consistent with the audio type, the audio file is played according to the target playing parameters. 6.一种移动终端,其特征在于,包括:6. A mobile terminal, characterized in that, comprising: 检测单元,用于检测所述移动终端是否接收到音频播放指令;A detection unit, configured to detect whether the mobile terminal has received an audio playback instruction; 第一获取单元,用于在所述检测单元检测到所述移动终端接收到音频播放指令之后,获取用户当前的生理参数;A first acquisition unit, configured to acquire the current physiological parameters of the user after the detection unit detects that the mobile terminal has received an audio playback instruction; 第一确定单元,用于根据所述生理参数确定用户的当前情绪状态;a first determining unit, configured to determine the current emotional state of the user according to the physiological parameters; 第二确定单元,用于根据所述当前情绪状态确定待播放的目标音频文件以及用于播放所述目标音频文件的目标播放参数;A second determining unit, configured to determine a target audio file to be played and target playback parameters for playing the target audio file according to the current emotional state; 播放单元,用于按照所述目标播放参数播放所述目标音频文件。A playback unit, configured to play the target audio file according to the target playback parameters. 7.根据权利要求6所述的移动终端,其特征在于,所述第一获取单元具体用于利用集成在所述移动终端中的生物传感器获取用户当前的生理参数;或者,利用集成在与所述移动终端相连接的外接设备中的生物传感器获取用户当前的生理参数。7. The mobile terminal according to claim 6, wherein the first obtaining unit is specifically configured to use a biosensor integrated in the mobile terminal to obtain the current physiological parameters of the user; The biosensor in the external device connected to the mobile terminal acquires the current physiological parameters of the user. 8.根据权利要求6或7所述的移动终端,其特征在于,所述第二确定单元包括:8. The mobile terminal according to claim 6 or 7, wherein the second determining unit comprises: 第一确定子单元,用于根据所述当前情绪状态,确定与所述当前情绪状态相匹配的音频类型;A first determining subunit, configured to determine an audio type matching the current emotional state according to the current emotional state; 第一获取子单元,用于从所述音频类型的所有音频文件中获取待播放的目标音频文件;The first obtaining subunit is used to obtain the target audio file to be played from all audio files of the audio type; 第二获取子单元,用于从预先设置的情绪状态与播放参数的映射关系中,获取与所述当前情绪状态对应的播放参数;The second acquisition subunit is used to obtain the playback parameters corresponding to the current emotional state from the preset mapping relationship between the emotional state and the playback parameters; 第二确定子单元,用于将获取的播放参数确定为用于播放所述目标音频文件的目标播放参数。The second determining subunit is configured to determine the acquired playing parameters as target playing parameters for playing the target audio file. 9.根据权利要求8所述的移动终端,其特征在于,所述移动终端还包括:9. The mobile terminal according to claim 8, wherein the mobile terminal further comprises: 第二获取单元,用于获取目标参考数据,所述目标参考数据包括所述移动终端当前所处环境的环境音量值、所述移动终端的位置信息、所述移动终端当前的系统时间以及所述移动终端当前的情景模式中的至少一种;The second acquiring unit is configured to acquire target reference data, the target reference data including the ambient volume value of the environment where the mobile terminal is currently located, the location information of the mobile terminal, the current system time of the mobile terminal, and the At least one of the current scene modes of the mobile terminal; 所述第二获取子单元具体用于从预先设置的情绪状态、参考数据以及播放参数三者的映射关系中,获取与所述当前情绪状态和所述目标参考数据相对应的播放参数。The second acquiring subunit is specifically configured to acquire the playback parameters corresponding to the current emotional state and the target reference data from the preset mapping relationship among the emotional state, reference data, and playback parameters. 10.根据权利要求8所述的移动终端,其特征在于,10. The mobile terminal according to claim 8, characterized in that, 所述检测单元,还用于在所述播放单元按照所述目标播放参数播放所述目标音频文件之前,检测所述移动终端中是否正在播放音频文件;The detection unit is further configured to detect whether an audio file is being played in the mobile terminal before the playback unit plays the target audio file according to the target playback parameters; 所述移动终端还包括:The mobile terminal also includes: 判断单元,用于当所述检测单元检测到所述移动终端中正在播放音频文件时,判断所述音频文件的文件类型是否与所述音频类型一致;A judging unit, configured to judge whether the file type of the audio file is consistent with the audio type when the detection unit detects that the audio file is being played in the mobile terminal; 所述播放单元具体用于当所述判断单元判断出所述音频文件的文件类型与所述音频类型不一致时,按照所述目标播放参数播放所述目标音频文件;The playback unit is specifically configured to play the target audio file according to the target playback parameters when the judging unit judges that the file type of the audio file is inconsistent with the audio type; 所述播放单元,还用于当所述判断单元判断出所述音频文件的文件类型与所述音频类型一致时,按照所述目标播放参数播放所述音频文件。The playing unit is further configured to play the audio file according to the target playing parameters when the judging unit judges that the file type of the audio file is consistent with the audio type.
CN201710271840.5A 2017-04-24 2017-04-24 Audio playing method and mobile terminal Pending CN107085512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710271840.5A CN107085512A (en) 2017-04-24 2017-04-24 Audio playing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710271840.5A CN107085512A (en) 2017-04-24 2017-04-24 Audio playing method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107085512A true CN107085512A (en) 2017-08-22

Family

ID=59612370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710271840.5A Pending CN107085512A (en) 2017-04-24 2017-04-24 Audio playing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107085512A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645675A (en) * 2017-09-05 2018-01-30 深圳市盛路物联通讯技术有限公司 Node control method and related product
CN107689229A (en) * 2017-09-25 2018-02-13 广东小天才科技有限公司 Voice processing method and device for wearable equipment
CN107992199A (en) * 2017-12-19 2018-05-04 广东小天才科技有限公司 Emotion recognition method and system for electronic equipment and electronic equipment
CN107997751A (en) * 2018-01-16 2018-05-08 华南理工大学 A kind of intelligent earphone system based on biofeedback
CN108210311A (en) * 2017-09-26 2018-06-29 深圳市超级人生科技有限公司 A kind of optimization method, device and the equipment of the video playing of massager
CN108363530A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Electronic device, method for playing music and related product
CN108404274A (en) * 2018-02-09 2018-08-17 上海康斐信息技术有限公司 A kind of automatic sound regulating method and equipment
CN108600526A (en) * 2018-04-04 2018-09-28 Oppo广东移动通信有限公司 Alarm clock control method and related product
CN108764047A (en) * 2018-04-27 2018-11-06 深圳市商汤科技有限公司 Group's emotion-directed behavior analysis method and device, electronic equipment, medium, product
CN108900908A (en) * 2018-07-04 2018-11-27 三星电子(中国)研发中心 Video broadcasting method and device
CN109460207A (en) * 2018-11-09 2019-03-12 苏州诚满信息技术有限公司 A kind of sound volume regulating system based on user's sign
CN109567774A (en) * 2019-01-17 2019-04-05 中国人民解放军陆军军医大学士官学校 Human body mood early warning regulator control system and human body mood early warning regulate and control method
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN110134822A (en) * 2019-05-10 2019-08-16 一汽轿车股份有限公司 Vehicle-mounted music recommended method and recommender system
WO2020124845A1 (en) * 2018-12-21 2020-06-25 深圳创维-Rgb电子有限公司 Video parameter adjustment method and apparatus based on voiceprint recognition, and readable storage medium
CN111506183A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Intelligent terminal and user interaction method
CN111616722A (en) * 2020-06-03 2020-09-04 吕丹青 Method and system for detecting emotion change and wearable device
CN111742560A (en) * 2017-09-29 2020-10-02 华纳兄弟娱乐公司 Production and control of video content responsive to user emotional states
CN111831250A (en) * 2020-07-10 2020-10-27 Oppo广东移动通信有限公司 Audio processing method, device, storage medium and electronic device
CN112541093A (en) * 2020-12-10 2021-03-23 新华网股份有限公司 Music recommendation method, system, storage medium and electronic device
CN114283854A (en) * 2021-12-28 2022-04-05 歌尔科技有限公司 Sound effect adjusting method and device and audio equipment
CN116954093A (en) * 2023-07-24 2023-10-27 快住智能科技(苏州)有限公司 Intelligent hotel equipment control method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103456329A (en) * 2013-08-29 2013-12-18 深圳市金立通信设备有限公司 Method and device for multi-media playing and mobile terminal
CN103957459A (en) * 2014-05-15 2014-07-30 北京智谷睿拓技术服务有限公司 Method and device for play control
CN105187630A (en) * 2015-07-31 2015-12-23 惠州Tcl移动通信有限公司 Mobile terminal music saving method and system based on emotion recognition
CN105611038A (en) * 2015-07-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Audio resource playing method, audio resource playing system and terminal
CN106484358A (en) * 2016-09-28 2017-03-08 珠海格力电器股份有限公司 Audio playing method and device and terminal
CN106535044A (en) * 2016-11-24 2017-03-22 深圳市傲洲科技有限公司 Intelligent sound equipment playing control method and music playing control system
CN106527734A (en) * 2016-11-30 2017-03-22 杭州联络互动信息科技股份有限公司 Music playing control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103456329A (en) * 2013-08-29 2013-12-18 深圳市金立通信设备有限公司 Method and device for multi-media playing and mobile terminal
CN103957459A (en) * 2014-05-15 2014-07-30 北京智谷睿拓技术服务有限公司 Method and device for play control
CN105187630A (en) * 2015-07-31 2015-12-23 惠州Tcl移动通信有限公司 Mobile terminal music saving method and system based on emotion recognition
CN105611038A (en) * 2015-07-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Audio resource playing method, audio resource playing system and terminal
CN106484358A (en) * 2016-09-28 2017-03-08 珠海格力电器股份有限公司 Audio playing method and device and terminal
CN106535044A (en) * 2016-11-24 2017-03-22 深圳市傲洲科技有限公司 Intelligent sound equipment playing control method and music playing control system
CN106527734A (en) * 2016-11-30 2017-03-22 杭州联络互动信息科技股份有限公司 Music playing control method and device

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645675A (en) * 2017-09-05 2018-01-30 深圳市盛路物联通讯技术有限公司 Node control method and related product
CN107689229A (en) * 2017-09-25 2018-02-13 广东小天才科技有限公司 Voice processing method and device for wearable equipment
CN108210311A (en) * 2017-09-26 2018-06-29 深圳市超级人生科技有限公司 A kind of optimization method, device and the equipment of the video playing of massager
CN111742560B (en) * 2017-09-29 2022-06-24 华纳兄弟娱乐公司 Method and device for providing video content to users
CN111742560A (en) * 2017-09-29 2020-10-02 华纳兄弟娱乐公司 Production and control of video content responsive to user emotional states
CN107992199A (en) * 2017-12-19 2018-05-04 广东小天才科技有限公司 Emotion recognition method and system for electronic equipment and electronic equipment
CN107997751A (en) * 2018-01-16 2018-05-08 华南理工大学 A kind of intelligent earphone system based on biofeedback
CN108404274A (en) * 2018-02-09 2018-08-17 上海康斐信息技术有限公司 A kind of automatic sound regulating method and equipment
CN108363530A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Electronic device, method for playing music and related product
CN108600526A (en) * 2018-04-04 2018-09-28 Oppo广东移动通信有限公司 Alarm clock control method and related product
CN108764047A (en) * 2018-04-27 2018-11-06 深圳市商汤科技有限公司 Group's emotion-directed behavior analysis method and device, electronic equipment, medium, product
CN108900908A (en) * 2018-07-04 2018-11-27 三星电子(中国)研发中心 Video broadcasting method and device
CN109460207A (en) * 2018-11-09 2019-03-12 苏州诚满信息技术有限公司 A kind of sound volume regulating system based on user's sign
US11330321B2 (en) 2018-12-21 2022-05-10 Shenzhen Skyworth-Rgb Electronic Co., Ltd. Method and device for adjusting video parameter based on voiceprint recognition and readable storage medium
WO2020124845A1 (en) * 2018-12-21 2020-06-25 深圳创维-Rgb电子有限公司 Video parameter adjustment method and apparatus based on voiceprint recognition, and readable storage medium
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium
CN109567774A (en) * 2019-01-17 2019-04-05 中国人民解放军陆军军医大学士官学校 Human body mood early warning regulator control system and human body mood early warning regulate and control method
CN109567774B (en) * 2019-01-17 2024-05-03 中国人民解放军陆军军医大学士官学校 Human emotion early warning and regulating system and human emotion early warning and regulating method
CN111506183A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Intelligent terminal and user interaction method
CN110134822A (en) * 2019-05-10 2019-08-16 一汽轿车股份有限公司 Vehicle-mounted music recommended method and recommender system
CN111616722A (en) * 2020-06-03 2020-09-04 吕丹青 Method and system for detecting emotion change and wearable device
CN111831250A (en) * 2020-07-10 2020-10-27 Oppo广东移动通信有限公司 Audio processing method, device, storage medium and electronic device
CN111831250B (en) * 2020-07-10 2023-05-30 Oppo广东移动通信有限公司 Audio processing method, device, storage medium and electronic equipment
CN112541093A (en) * 2020-12-10 2021-03-23 新华网股份有限公司 Music recommendation method, system, storage medium and electronic device
CN114283854A (en) * 2021-12-28 2022-04-05 歌尔科技有限公司 Sound effect adjusting method and device and audio equipment
CN116954093A (en) * 2023-07-24 2023-10-27 快住智能科技(苏州)有限公司 Intelligent hotel equipment control method and system
CN116954093B (en) * 2023-07-24 2024-02-20 快住智能科技(苏州)有限公司 Intelligent hotel equipment control method and system

Similar Documents

Publication Publication Date Title
CN107085512A (en) Audio playing method and mobile terminal
CN108538320B (en) Recording control method and device, readable storage medium, and terminal
CN107111642B (en) System and method for creating a listening log and a music library
CN110740262A (en) Method, device and electronic device for adding background music
CN107994879B (en) Loudness control method and device
CN104851437B (en) A kind of playback of songs method and terminal
WO2018223837A1 (en) Music playing method and related product
CN105787027A (en) Audio file playing method and terminal
CN109196879A (en) Determine that the earphone at the ear of user exists
CN101271722A (en) Music playing method and device
US10409547B2 (en) Apparatus for recording audio information and method for controlling same
CN104851440B (en) A kind of music shuffle method and intelligent sound box
CN110033789B (en) Biometric Personalized Audio Processing System
CN107256139A (en) Method of adjustment, terminal and the computer-readable recording medium of audio volume
KR102084979B1 (en) Audio file rerecording method, device and storage media
CN110870322B (en) Information processing apparatus, information processing method, and computer program
US9269341B1 (en) Method for processing music to match runners tempo
CN107241511B (en) Music playing method, device, storage medium and terminal
CN106844360A (en) Electronic installation and its music playing system and method
KR20160106075A (en) Method and device for identifying a piece of music in an audio stream
CN110675848A (en) Audio processing method, device and storage medium
CN108600526A (en) Alarm clock control method and related product
KR20190000246A (en) Emotion-based sound control device and control method
CN107948408B (en) Media file playing method and device
CN106686188A (en) Playing control method of wearable device and wearable device

Legal Events

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

Application publication date: 20170822

RJ01 Rejection of invention patent application after publication