技术领域technical field
本申请涉及电子设备技术领域,具体涉及一种闹钟控制方法及相关产品。The present application relates to the technical field of electronic equipment, in particular to an alarm clock control method and related products.
背景技术Background technique
随着电子设备(如手机、平板电脑等等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。用户通常通过手指触控、语音输入等形式与电子设备进行交互,控制电子设备完成各类功能。With the popularization and application of electronic devices (such as mobile phones, tablet computers, etc.), electronic devices can support more and more applications, and their functions are becoming more and more powerful. Indispensable electronic supplies. Users usually interact with electronic devices through finger touch, voice input, etc., and control the electronic devices to complete various functions.
以手机为例,闹钟是手机的必备功能,但是,在使用过程中,在实现闹钟功能时,往往只能播放一种铃声,容易让用户觉得厌倦,因此,如何丰富闹钟铃声问题亟待解决。Taking a mobile phone as an example, the alarm clock is an essential function of the mobile phone. However, during use, when the alarm clock function is realized, only one ring tone can be played, which easily makes the user feel bored. Therefore, how to enrich the alarm clock ring tone problem needs to be solved urgently.
发明内容Contents of the invention
本申请实施例提供了一种闹钟控制方法及相关产品,可以丰富闹钟铃声。The embodiments of the present application provide an alarm clock control method and related products, which can enrich the ringtones of the alarm clock.
第一方面,本申请实施例提供一种闹钟控制方法,所述电子设备包括处理器,以及与所述处理器连接的音频播放模块,其中:In the first aspect, an embodiment of the present application provides an alarm clock control method, the electronic device includes a processor, and an audio playback module connected to the processor, wherein:
所述处理器,用于获取多个铃声文件;以及确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;The processor is used to acquire multiple ringtone files; and determine the playing order parameters corresponding to the multiple ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, and each ringtone file corresponds to At least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different;
所述音频播放模块,用于按照所述播放顺序参数执行闹钟功能。The audio playing module is used to execute the alarm clock function according to the playing sequence parameters.
第二方面,本申请实施例提供一种闹钟控制方法,包括:In the second aspect, the embodiment of the present application provides an alarm clock control method, including:
获取多个铃声文件;Get multiple ringtone files;
确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;Determine the playing order parameters corresponding to the plurality of ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, each ringtone file corresponds to at least one playing sequence number identifier, and the ringtones corresponding to the adjacent playing sequence number identifiers The files are different;
按照所述播放顺序参数执行闹钟功能。Execute the alarm clock function according to the playing sequence parameters.
第三方面,本申请实施例一种闹钟控制装置,应用于电子设备,所述装置包括:In a third aspect, the embodiment of the present application is an alarm clock control device, which is applied to electronic equipment, and the device includes:
获取单元,用于获取多个铃声文件;an acquisition unit, configured to acquire multiple ringtone files;
确定单元,用于确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;The determination unit is used to determine the playing order parameters corresponding to the plurality of ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, each ringtone file corresponds to at least one playing sequence number identifier, and the adjacent playing The ringtone files corresponding to the serial number identification are different;
控制单元,用于按照所述播放顺序参数执行闹钟功能。The control unit is used for executing the alarm clock function according to the playing order parameter.
第四方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be processed by the above The above program includes instructions for executing the steps in the first aspect of the embodiments of the present application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面中所描述的部分或全部步骤。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Some or all of the steps described in the second aspect.
第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第二方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. Example of some or all of the steps described in the second aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中所描述的闹钟控制方法及相关产品,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,按照播放顺序参数执行闹钟功能,从而,可以通过多个铃声来实现闹钟功能,提升了用户体验。It can be seen that the alarm clock control method and related products described in the embodiments of the present application obtain multiple ringtone files and determine the playback sequence parameters corresponding to the multiple ringtone files. The playback sequence parameters are the mapping between the ringtone files and the playback sequence number identifiers relationship, each ringtone file corresponds to at least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different, and the alarm clock function is executed according to the playback order parameters, thereby, the alarm clock function can be realized through multiple ringtones, which improves the user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1A是本申请实施例提供的一种电子设备的结构示意图。FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图1B是本申请实施例提供的一种闹钟控制方法的流程示意图。FIG. 1B is a schematic flowchart of an alarm clock control method provided by an embodiment of the present application.
图2是本申请实施例提供的另一种闹钟控制方法的流程示意图。Fig. 2 is a schematic flowchart of another alarm clock control method provided by the embodiment of the present application.
图3是本申请实施例提供的另一种电子设备的结构示意图。FIG. 3 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
图4A是本申请实施例提供的一种闹钟控制装置的功能单元组成框图。Fig. 4A is a block diagram of functional units of an alarm clock control device provided by an embodiment of the present application.
图4B是本申请实施例提供的图4A所描述的闹钟控制装置的获取单元的功能单元组成框图。FIG. 4B is a block diagram of functional units of the acquisition unit of the alarm clock control device described in FIG. 4A provided by the embodiment of the present application.
图4C是本申请实施例提供的图4A所描述的闹钟控制装置的控制单元的功能单元组成框图。FIG. 4C is a block diagram of functional units of the control unit of the alarm clock control device described in FIG. 4A provided by the embodiment of the present application.
图4D是本申请实施例提供的图4A所描述的闹钟控制装置的控制单元的另一功能单元组成框图。FIG. 4D is a block diagram of another functional unit of the control unit of the alarm clock control device described in FIG. 4A provided by the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(智能手表、智能手环、无线耳机)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobilestation,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of this application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless earphones), computing devices, or other processing devices connected to wireless modems. equipment, and various forms of user equipment (user equipment, UE), mobile station (mobile station, MS), terminal equipment (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as electronic devices.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
请参阅图1A,图1A是本发明实施例提供了一种电子设备100的结构示意图,上述电子设备100包括:处理器110、音频播放模块120和通信模块130,音频播放模块120和通信模块130均电连接于处理器110,其中:Please refer to FIG. 1A. FIG. 1A is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present invention. The above-mentioned electronic device 100 includes: a processor 110, an audio playback module 120 and a communication module 130, and the audio playback module 120 and a communication module 130 Both are electrically connected to the processor 110, wherein:
所述处理器110,用于获取多个铃声文件;以及确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;The processor 110 is configured to acquire a plurality of ringtone files; and determine the corresponding playing order parameters of the plurality of ringtone files, the playing order parameters being the mapping relationship between the ringtone files and the identifiers of the playing sequence numbers, each ringtone file Corresponding to at least one playback sequence number identifier, the ringtone files corresponding to adjacent playback sequence number identifiers are different;
所述音频播放模块120,用于按照所述播放顺序参数执行闹钟功能。The audio playing module 120 is configured to execute the alarm clock function according to the playing sequence parameters.
可以看出,本申请实施例中所描述的电子设备,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,按照播放顺序参数执行闹钟功能,从而,可以通过多个铃声来实现闹钟功能,提升了用户体验。It can be seen that the electronic device described in the embodiment of the present application obtains multiple ringtone files, and determines the playback order parameters corresponding to the multiple ringtone files. The ringtone file corresponds to at least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different, and the alarm clock function is executed according to the playback sequence parameters, thereby, the alarm clock function can be realized through multiple ringtones, which improves the user experience.
其中,处理器110包括应用处理器和基带处理器,处理器是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器中。电子设备还包括存储器,存储器用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行电子设备的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Among them, the processor 110 includes an application processor and a baseband processor. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or Or modules, and call the data stored in the memory, execute various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole. Among them, the application processor mainly deals with operating system, user interface and application programs, etc., and the baseband processor mainly deals with wireless communication. It can be understood that the above-mentioned baseband processor may not be integrated into the processor. The electronic device also includes a memory for storing software programs and modules, and the processor executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
其中,音频播放模块120可以为扬声器或者振动马达或者屏幕发生器。Wherein, the audio playing module 120 may be a speaker or a vibration motor or a screen generator.
在一个可能的示例中,在所述获取多个铃声文件方面,所述处理器110具体用于:In a possible example, in terms of acquiring multiple ringtone files, the processor 110 is specifically configured to:
获取用户在预设时间段的播放记录,所述播放记录包括多个音频文件中每一音频文件的音乐类型和播放频率;Acquiring the user's play record in a preset time period, the play record including the music type and play frequency of each audio file in a plurality of audio files;
确定所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值;Determine the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency;
依据所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值计算所述多个音频文件中每一音频文件的得分值,得到多个得分值;Calculate the score value of each audio file in the plurality of audio files according to the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency, and obtain a plurality of score value;
从所述多个得分值中选取得分值高于预设阈值的目标得分值,并获取所述目标得分值对应的音频文件,得到所述多个铃声文件。selecting a target score value whose score value is higher than a preset threshold from the plurality of score values, and acquiring an audio file corresponding to the target score value to obtain the plurality of ringtone files.
在一个可能的示例中,在所述获取所述目标得分值对应的音频文件,得到所述多个铃声文件方面,所述处理器110具体用于:In a possible example, in terms of acquiring the audio file corresponding to the target score value and obtaining the plurality of ringtone files, the processor 110 is specifically configured to:
对所述目标得分值对应的音频文件进行音频剪切,得到每一音频文件的高潮部分;Carry out audio clipping to the audio file corresponding to the target score value to obtain the climax part of each audio file;
依据预设闹铃时长对所述每一音频文件的高潮部分进行重复或者音频剪切,得到所述多个铃声文件,每一铃声文件的播放时长等于所述预设闹铃时长。Repeat or cut the climax of each audio file according to the preset alarm duration to obtain the plurality of ringtone files, and the playback duration of each ringtone file is equal to the preset alarm duration.
在一个可能的示例中,所述闹钟功能为振动闹铃时,在所述按照所述播放顺序参数执行闹钟功能方面,所述音频播放模块120具体用于:In a possible example, when the alarm clock function is a vibration alarm, in terms of performing the alarm clock function according to the playing sequence parameters, the audio playback module 120 is specifically used for:
在指定闹钟时刻到达时,按照所述播放顺序参数获取相应的目标铃声文件;When the specified alarm clock time arrives, obtain the corresponding target ringtone file according to the playing sequence parameters;
获取所述目标铃声文件的节拍参数;Obtain the beat parameters of the target ringtone file;
依据所述节拍参数进行振动,以提醒用户。Vibrating according to the beat parameters to remind the user.
在一个可能的示例中,所述电子设备还包括通信模块;In a possible example, the electronic device further includes a communication module;
所述通信模块130,用于在任一闹钟时刻到达之前,向穿戴设备发送获取请求;接收由所述穿戴设备发送的生理特征信息;The communication module 130 is configured to send an acquisition request to the wearable device before any alarm time arrives; receive the physiological characteristic information sent by the wearable device;
所述处理器还具体用于对所述生理特征信息进行解析,得到目标用户状态参数;The processor is also specifically configured to analyze the physiological feature information to obtain target user state parameters;
按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定所述目标用户状态参数对应的目标铃声播放效果参数;According to the mapping relationship between preset user status parameters and ringtone playback effect parameters, determine the target ringtone playback effect parameters corresponding to the target user status parameters;
所述音频播放模块120,用于在所述任一闹钟时刻到达时按照所述目标铃声播放效果参数播放对应的铃声文件。The audio playing module 120 is configured to play a corresponding ringtone file according to the target ringtone playing effect parameter when any alarm time arrives.
基于上述图1A描述的电子设备,可以用于实现如下一种闹钟控制方法,包括如下步骤:Based on the electronic device described in FIG. 1A above, it can be used to implement the following alarm clock control method, including the following steps:
所述处理器110,用于获取多个铃声文件;以及确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;The processor 110 is configured to acquire a plurality of ringtone files; and determine the corresponding playing order parameters of the plurality of ringtone files, the playing order parameters being the mapping relationship between the ringtone files and the identifiers of the playing sequence numbers, each ringtone file Corresponding to at least one playback sequence number identifier, the ringtone files corresponding to adjacent playback sequence number identifiers are different;
所述音频播放模块120,用于按照所述播放顺序参数执行闹钟功能。The audio playing module 120 is configured to execute the alarm clock function according to the playing sequence parameters.
请参阅图1B,图1B是本申请实施例提供了一种闹钟控制方法的流程示意图,应用于图1A所示的电子设备,如图所示,本闹钟控制方法包括:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of an alarm clock control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1A. As shown in the figure, the alarm clock control method includes:
101、获取多个铃声文件。101. Obtain multiple ringtone files.
其中,电子设备可获取多个铃声文件,铃声文件可以来自本地下载音乐库,或者,来自于网络。铃声文件可以为以下至少一种:歌曲、录音、视频文件等等。Wherein, the electronic device may acquire multiple ringtone files, and the ringtone files may be from a locally downloaded music library, or from a network. The ring tone file can be at least one of the following: songs, recordings, video files and so on.
可选地,上述步骤101,获取多个铃声文件,可包括如下步骤:Optionally, the above-mentioned step 101, obtaining a plurality of ringtone files may include the following steps:
11、获取用户在预设时间段的播放记录,所述播放记录包括多个音频文件中每一音频文件的音乐类型和播放频率;11. Obtain the playback record of the user in a preset time period, the playback record including the music type and playback frequency of each audio file in a plurality of audio files;
12、确定所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值;12. Determine the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency;
13、依据所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值计算所述多个音频文件中每一音频文件的得分值,得到多个得分值;13. Calculate the score value of each audio file in the plurality of audio files according to the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency, and obtain multiple score values;
14、从所述多个得分值中选取得分值高于预设阈值的目标得分值,并获取所述目标得分值对应的音频文件,得到所述多个铃声文件。14. Select a target score value with a score value higher than a preset threshold from the multiple score values, and acquire an audio file corresponding to the target score value, to obtain the multiple ringtone files.
其中,预设时间段可以由用户自行设置或者系统默认,可以为一个连续时间段(例如,最近半年),也可以为周期时间段(每天上午9点-上午12点)。上述步骤11中的播放记录可为电子设备中至少一个音乐播放器的播放记录,该播放记录可包括多个音频文件的属性信息,属性信息可包括但不仅限于:音乐类型、播放频率、播放次数、播放时间、演唱者等等。音乐类型可包括但不仅限于:通俗、民族、古典、美声、乡村、爵士、拉丁、摇滚、电子舞曲、说唱(RAP)、重金属和死亡重金属等等。预设阈值可以由用户自行设置或者系统默认。Wherein, the preset time period can be set by the user or defaulted by the system, and can be a continuous time period (for example, the last half a year), or a periodic time period (9:00 am to 12:00 am every day). The playback record in the above step 11 can be the playback record of at least one music player in the electronic device, and the playback record can include attribute information of multiple audio files. The attribute information can include but not limited to: music type, playback frequency, playback times , playing time, artist, etc. Music genres may include, but are not limited to: Pop, Ethnic, Classical, Bel Canto, Country, Jazz, Latin, Rock, Electronic Dance Music, Rap (RAP), Heavy Metal, and Death Metal, among others. The preset threshold can be set by the user or defaulted by the system.
具体实现中,可按照预设的音乐类型与权重值之间的第一映射关系,确定每一音频文件的音乐类型对应的第一权重值,以及按照预设的播放频率与权重值之间的第二映射关系,确定每一音频文件的播放频率对应的第二权重值,当然,权重值的取值范围为0~1,上述第一映射关系、第二映射关系可预先保存在电子设备中。紧接着,依据多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值计算多个音频文件中每一音频文件的得分值,得到多个得分值,例如,可将第一权重值与第二权重值作乘积运算,得到得分值,可从多个得分值中选取得分值高于预设阈值的目标得分值,并获取目标得分值对应的音频文件,得到多个铃声文件。音乐类型在一定程度上反映了用户的偏好,例如,用户喜欢摇滚,则摇滚类型的音频文件的第一权重值高,播放频率反映了用户对某一首音频文件的喜好,因此,播放频率高,则其对应的第二权重值高,如此,可以结合用户对音乐类型的喜好,以及对单手歌曲的喜好,选取多个音频文件,作为铃声,提升了用户体验。In a specific implementation, the first weight value corresponding to the music type of each audio file can be determined according to the first mapping relationship between the preset music type and the weight value, and the first weight value corresponding to the music type can be determined according to the preset playback frequency and the weight value. The second mapping relationship is to determine the second weight value corresponding to the playback frequency of each audio file. Of course, the weight value ranges from 0 to 1. The above-mentioned first mapping relationship and the second mapping relationship can be pre-stored in the electronic device . Next, calculate the score value of each audio file in the plurality of audio files according to the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency, and obtain a plurality of obtained Score value, for example, the first weight value and the second weight value can be multiplied to obtain the score value, and the target score value whose score value is higher than the preset threshold can be selected from multiple score values, and the target value can be obtained The audio files corresponding to the score values are obtained to obtain multiple ringtone files. The music type reflects the user's preference to a certain extent. For example, if the user likes rock, the first weight value of the rock type audio file is high, and the playback frequency reflects the user's preference for a certain audio file. Therefore, the playback frequency is high. , the corresponding second weight value is high. In this way, multiple audio files can be selected in combination with the user's preferences for music genres and single-handed songs, as ringtones, which improves user experience.
进一步可选地,在上述步骤14,获取所述目标得分值对应的音频文件,得到所述多个铃声文件,可以包括如下步骤:Further optionally, in the above step 14, obtaining the audio file corresponding to the target score value to obtain the plurality of ringtone files may include the following steps:
141、对所述目标得分值对应的音频文件进行音频剪切,得到每一音频文件的高潮部分;141. Perform audio clipping on the audio file corresponding to the target score value to obtain the climax part of each audio file;
142、依据预设闹铃时长对所述每一音频文件的高潮部分进行重复或者音频剪切,得到所述多个铃声文件,每一铃声文件的播放时长等于所述预设闹铃时长。142. Repeat or cut the climax of each audio file according to the preset alarm duration to obtain the multiple ringtone files, and the playback duration of each ringtone file is equal to the preset alarm duration.
其中,预设闹铃时长可以由用户自行设置或者系统默认。电子设备可对目标得分值对应的音频文件进行音频剪切,得到每一音频文件的高潮部分,依据预设闹铃时长对每一音频文件的高潮部分进行重复或者音频剪切,得到多个铃声文件,每一铃声文件的播放时长等于预设闹铃时长。由于一首歌曲较长,为了达到快速提醒用户的目标,可以截取歌曲的高潮部分,高潮部分是一首歌曲的精华部分,也通常是用户最关注的部分,有的高潮部分长,有的高潮部分短,考虑到用户体验,因此,设置预设闹铃时长,并将每一高潮部分处理为等时长。Wherein, the preset alarm duration can be set by the user or defaulted by the system. The electronic device can perform audio clipping on the audio file corresponding to the target score value to obtain the climax part of each audio file, and repeat or audio clip the climax part of each audio file according to the preset alarm duration to obtain multiple Ringtone files, the playback duration of each ringtone file is equal to the preset alarm duration. Since a song is long, in order to quickly remind users, the climax part of the song can be intercepted. The climax part is the essence of a song, and it is usually the part that users pay most attention to. Some climax parts are long, and some climax parts The part is short, considering the user experience, therefore, the preset alarm duration is set, and each climax part is processed as equal duration.
102、确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样。102. Determine the playing order parameters corresponding to the plurality of ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, each ringtone file corresponds to at least one playing sequence number identifier, and the adjacent playing sequence number identifiers correspond to The ringtone files are different.
其中,可以依据上述得分值由高到低的顺序确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件可对应至少一个播放序号标识,为了不重复进行闹铃,将相邻播放序号标识对应的铃声文件设置不一样。Wherein, the play sequence parameters corresponding to multiple ringtone files can be determined according to the order of the above score values from high to low, the play sequence parameters are the mapping relationship between the ringtone files and the play sequence number identifiers, each ringtone file can correspond to at least one play Serial number identification, in order not to repeat the alarm, the ringtone files corresponding to the adjacent playback serial number identifications are set differently.
可选地,也可以随机设置多个铃声文件的播放顺序参数,但是保证每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样。Optionally, the playing order parameters of multiple ringtone files can also be randomly set, but it is guaranteed that each ringtone file corresponds to at least one play sequence number identifier, and the ringtone files corresponding to adjacent play sequence number identifiers are different.
举例说明下,以3个铃声文件为例,3个铃声文件分别为:铃声文件1、铃声文件2和铃声文件3,下表提供了一种播放顺序参数,铃声文件1的播放序号标识为1,6,则在设置了闹钟之后,最近一次闹钟时刻,可播放铃声文件1,再第6次闹钟时刻,则可播放铃声文件1。For example, take three ringtone files as an example. The three ringtone files are: ringtone file 1, ringtone file 2 and ringtone file 3. The following table provides a playback sequence parameter. The playback sequence number of ringtone file 1 is marked as 1 ,6, after setting the alarm clock, the ringtone file 1 can be played at the latest alarm clock time, and the ringtone file 1 can be played at the sixth alarm clock time.
103、按照所述播放顺序参数执行闹钟功能。103. Execute the alarm clock function according to the playing sequence parameter.
其中,播放顺序参数可用于决定在闹钟时刻播放哪个铃声文件,如此,可以按照播放顺序参数实现闹钟功能,这样的话,可以在闹铃时,播放不同的铃声文件,提升了用户体验。Wherein, the playing order parameter can be used to determine which ringtone file to play at the time of the alarm clock. In this way, the alarm clock function can be realized according to the playing order parameter. In this way, different ringtone files can be played when the alarm rings, which improves the user experience.
可选地,所述闹钟功能为振动闹铃时,上述步骤103,按照所述播放顺序参数执行闹钟功能,可包括如下步骤:Optionally, when the alarm clock function is a vibration alarm, the above-mentioned step 103, performing the alarm clock function according to the play sequence parameters may include the following steps:
A1在指定闹钟时刻到达时,按照所述播放顺序参数获取相应的目标铃声文件;A1 obtains the corresponding target ringtone file according to the play sequence parameter when the designated alarm clock time arrives;
A2、获取所述目标铃声文件的节拍参数;A2. Obtain the tempo parameter of the target ringtone file;
A3、依据所述节拍参数进行振动,以提醒用户。A3. Vibrating according to the beat parameters to remind the user.
其中,上述指定闹钟时刻可以由用户自行设置,或者,系统默认。上述目标铃声文件可为一首歌曲,因此,存在着节拍,可提取目标铃声文件的节拍参数,并且,可依据该节拍参数进行振动,以提醒用户。由于通常情况下,振动的节拍是固定的,用户听多了也会反感,当然,也会出现听习惯了,耳朵免疫了,采用本申请实施例,则可以丰富振动节拍,不仅可以较好提醒用户,而且,也具备趣味性,提升了用户体验。Wherein, the above specified alarm clock time can be set by the user, or the system defaults. The above-mentioned target ringtone file may be a song, therefore, there is a beat, the beat parameter of the target ringtone file can be extracted, and vibration can be performed according to the beat parameter to remind the user. Usually, the rhythm of the vibration is fixed, and the user will be disgusted if he listens too much. Of course, the listening habit will also appear, and the ears will be immune. Using the embodiment of the present application, the vibration rhythm can be enriched, not only can better remind Users, moreover, are also interesting, enhancing the user experience.
可选地,上述步骤103,按照所述播放顺序参数执行闹钟功能,可包括如下步骤:Optionally, the above-mentioned step 103, executing the alarm clock function according to the playing order parameters, may include the following steps:
B1、在任一闹钟时刻到达之前,向穿戴设备发送获取请求;B1. Send an acquisition request to the wearable device before any alarm time arrives;
B2、接收由所述穿戴设备发送的生理特征信息;B2. Receive the physiological characteristic information sent by the wearable device;
B3、对所述生理特征信息进行解析,得到目标用户状态参数;B3. Analyzing the physiological feature information to obtain target user state parameters;
B4、按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定所述目标用户状态参数对应的目标铃声播放效果参数;B4. According to the mapping relationship between the preset user status parameters and the ringtone playback effect parameters, determine the target ringtone playback effect parameters corresponding to the target user status parameters;
B5、在所述任一闹钟时刻到达时按照所述目标铃声播放效果参数播放对应的铃声文件。B5. Playing the corresponding ringtone file according to the target ringtone playing effect parameter when the time of any alarm clock arrives.
其中,上述穿戴设备可包括但不仅限于:无线耳机(例如,蓝牙耳机)、智能手表、智能手环、车载设备、智能眼镜、智能耳坠等等。上述生理特征参数可以包括以下至少一种:心率、血压、脑电波等等,上述用户状态参数可包括但不仅限于:用户情绪、睡眠状态(清醒、入睡、浅睡、深睡、延续深睡等),铃声播放效果参数可包括但不仅限于:音量、声道模式(左声道、右声道、立体声等等),电子设备中可预先存储用户状态参数与铃声播放效果参数之间的映射关系。具体地,在任一闹钟时刻达到之前,可向穿戴设备发送获取请求,该获取请求用于获取用户的生理特征信息,进而,接收由穿戴设备发送的生理特征信息,并对该生理特征信息进行解析,得到用户状态参数,进而,可依据预设的用户状态参数与铃声播放效果参数之间的映射关系确定目标用户状态参数对应的目标铃声播放效果参数,进而,在任一闹钟时刻到达时按照目标铃声播放效果参数播放对应的铃声文件。例如,在清醒时刻,铃声音量可以相对较低,在深度睡眠时刻,铃声音量可以相对较大,如此,可以结合用户的生理状态,合理播放铃声,提升了用户体验。Wherein, the aforementioned wearable devices may include, but are not limited to: wireless earphones (eg, Bluetooth earphones), smart watches, smart bracelets, vehicle-mounted devices, smart glasses, smart earrings, and the like. The above-mentioned physiological characteristic parameters may include at least one of the following: heart rate, blood pressure, brain waves, etc., and the above-mentioned user state parameters may include but are not limited to: user mood, sleep state (awake, falling asleep, light sleep, deep sleep, continuous deep sleep, etc. ), the ringtone playback effect parameters may include but not limited to: volume, channel mode (left channel, right channel, stereo, etc.), the mapping relationship between the user state parameters and the ringtone playback effect parameters may be pre-stored in the electronic device . Specifically, before any alarm time arrives, an acquisition request can be sent to the wearable device, and the acquisition request is used to acquire the user's physiological characteristic information, and then receive the physiological characteristic information sent by the wearable device, and analyze the physiological characteristic information , to obtain the user status parameters, and then, the target ringtone playback effect parameters corresponding to the target user status parameters can be determined according to the mapping relationship between the preset user status parameters and the ringtone playback effect parameters, and then, when any alarm clock time arrives, according to the target ringtone playback effect parameter The playback effect parameter plays the corresponding ringtone file. For example, when awake, the volume of the ringtone can be relatively low, and during deep sleep, the volume of the ringtone can be relatively high. In this way, the ringtone can be played reasonably in consideration of the user's physiological state, thereby improving the user experience.
可选地,上述步骤B3,对所述生理特征信息进行解析,得到目标用户状态参数,可按照如下方式实现:Optionally, the above step B3, analyzing the physiological feature information to obtain the target user state parameters, can be implemented in the following manner:
B31、对所述生理特征信息进行特征提取,得到多个目标特征值;B31. Perform feature extraction on the physiological feature information to obtain multiple target feature values;
B32、按照预设的特征值与用户状态参数之间的映射关系,确定所述多个目标特征值对应的所述目标用户状态参数。B32. Determine the target user state parameters corresponding to the plurality of target feature values according to the preset mapping relationship between feature values and user state parameters.
其中,特征值可以为以下至少一种:极大值、极小值、能量值、信息熵、均值、方差等等。电子设备中预先存储预设的特征值与用户状态参数之间的映射关系,进而,在对生理特征信息进行特征提取之后,得到多个目标特征值,可以依据该映射关系确定该多个目标特征值对应的目标用户状态参数。Wherein, the feature value can be at least one of the following: maximum value, minimum value, energy value, information entropy, mean value, variance and so on. The mapping relationship between preset feature values and user state parameters is pre-stored in the electronic device, and then, after feature extraction is performed on the physiological feature information, a plurality of target feature values can be obtained, and the multiple target feature values can be determined according to the mapping relationship. The value corresponds to the target user status parameter.
举例说明下,如下表给出了一种常规闹钟设置方式,例如,08:00进行闹钟,每天重复,且以振动实现闹钟功能,显然,铃声较为单一,降低了用户体验。For example, the following table shows a conventional alarm clock setting method. For example, the alarm clock is set at 08:00, repeated every day, and the alarm clock function is realized by vibration. Obviously, the ringtone is relatively single, which reduces the user experience.
再举例说明下,本申请实施例中,可以按照如下表进行闹钟铃声设置,具体地,提供了4种模式,不重复模式,单指今天,即今天内实现闹钟功能;周一到周五,即设置周一到周五实现闹钟功能;每天,即周一到周日实现闹钟功能,自定义模式,即由用户自行设置。As another example, in the embodiment of this application, the alarm clock ringtone can be set according to the following table. Specifically, 4 modes are provided, no repeat mode, and only refers to today, that is, the alarm clock function is realized within today; Monday to Friday, namely Set the alarm clock function from Monday to Friday; realize the alarm clock function every day, that is, from Monday to Sunday, and customize the mode, that is, set by the user.
进一步地,可以按照如下方式进行闹钟设置,如下表,周一到周五铃声不一样,或者,每天的铃声不一样。Further, the alarm clock can be set in the following manner, as shown in the table below, the ringtones are different from Monday to Friday, or the ringtones are different every day.
当铃声是否相同选择否的情况,默认每日的闹铃铃声不同,每日可以单独点进去选择铃声。When the ringtones are the same and select No, the daily alarm ringtones are different by default, and you can click to select the ringtone individually every day.
再举例说明下,例如,如果是否随机选择是,则铃声会在所有已选铃声中随机播放。如下表,周一到周五铃声相同,或者,每天铃声相同。To give another example, for example, if yes is selected at random, the ringtone will play randomly among all selected ringtones. As shown in the table below, the ringtone is the same from Monday to Friday, or the ringtone is the same every day.
当然,实际应用中,针对铃声是否相同设置选项,若选择是的情况,默认每日的闹铃铃声都跟周一相同,其他项变灰色无法编辑。Of course, in practical applications, set the option for whether the ringtones are the same. If you select Yes, the default daily alarm ringtones are the same as Monday, and other items are grayed out and cannot be edited.
可以看出,本申请实施例中所描述的闹钟控制方法,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,按照播放顺序参数执行闹钟功能,从而,可以通过多个铃声来实现闹钟功能,提升了用户体验。It can be seen that the alarm clock control method described in the embodiment of the present application obtains multiple ringtone files, and determines the playback sequence parameters corresponding to the multiple ringtone files. The playback sequence parameter is the mapping relationship between the ringtone file and the playback sequence number identifier. A ringtone file corresponds to at least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different, and the alarm clock function is executed according to the playback sequence parameters, thereby, the alarm clock function can be realized through multiple ringtones, which improves user experience.
与上述图1B所示的实施例一致的,请参阅图2,图2是本申请实施例提供的一种闹钟控制方法的流程示意图,应用于如图1A所示的电子设备,如图所示,本闹钟控制方法包括:Consistent with the above embodiment shown in FIG. 1B, please refer to FIG. 2. FIG. 2 is a schematic flowchart of an alarm clock control method provided in the embodiment of the present application, which is applied to the electronic device shown in FIG. 1A, as shown in the figure , the alarm clock control method includes:
201、获取多个铃声文件。201. Acquire multiple ringtone files.
202、确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样。202. Determine the playing sequence parameters corresponding to the multiple ringtone files, the playing sequence parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, each ringtone file corresponds to at least one playing sequence number identifier, and the adjacent playing sequence number identifiers correspond to The ringtone files are different.
203、在任一闹钟时刻到达之前,向穿戴设备发送获取请求。203. Before any alarm time arrives, send an acquisition request to the wearable device.
其中,上述任一闹钟时刻可由用户自行设置或者系统默认。Wherein, any of the above-mentioned alarm clock times can be set by the user or defaulted by the system.
204、接收由所述穿戴设备发送的生理特征信息。204. Receive physiological feature information sent by the wearable device.
其中,上述穿戴设备可包括但不仅限于:无线耳机(例如,蓝牙耳机)、智能手表、智能手环、车载设备、智能眼镜、智能耳坠等等。Wherein, the aforementioned wearable devices may include, but are not limited to: wireless earphones (eg, Bluetooth earphones), smart watches, smart bracelets, vehicle-mounted devices, smart glasses, smart earrings, and the like.
205、对所述生理特征信息进行解析,得到目标用户状态参数。205. Analyze the physiological feature information to obtain target user state parameters.
其中,上述生理特征参数可以包括以下至少一种:心率、血压、脑电波等等,上述用户状态参数可包括但不仅限于:用户情绪、睡眠状态(清醒、入睡、浅睡、深睡、延续深睡等)。Wherein, the above-mentioned physiological characteristic parameters may include at least one of the following: heart rate, blood pressure, brain wave, etc., and the above-mentioned user state parameters may include but not limited to: user's mood, sleep state (awake, falling asleep, light sleep, deep sleep, continuous deep sleep, etc.) sleep, etc.).
可选地,上述步骤205,对所述生理特征信息进行解析,得到目标用户状态参数,可按照如下方式实现:Optionally, the above step 205, analyzing the physiological feature information to obtain the target user state parameters, can be implemented in the following manner:
51、对所述生理特征信息进行特征提取,得到多个目标特征值;51. Perform feature extraction on the physiological feature information to obtain multiple target feature values;
52、按照预设的特征值与用户状态参数之间的映射关系,确定所述多个目标特征值对应的所述目标用户状态参数。52. Determine the target user state parameter corresponding to the plurality of target feature values according to a preset mapping relationship between feature values and user state parameters.
其中,特征值可以为以下至少一种:极大值、极小值、能量值、信息熵、均值、方差等等。电子设备中预先存储预设的特征值与用户状态参数之间的映射关系,进而,在对生理特征信息进行特征提取之后,得到多个目标特征值,可以依据该映射关系确定该多个目标特征值对应的目标用户状态参数。Wherein, the feature value can be at least one of the following: maximum value, minimum value, energy value, information entropy, mean value, variance and so on. The mapping relationship between preset feature values and user state parameters is pre-stored in the electronic device, and then, after feature extraction is performed on the physiological feature information, a plurality of target feature values can be obtained, and the multiple target feature values can be determined according to the mapping relationship. The value corresponds to the target user status parameter.
206、按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定所述目标用户状态参数对应的目标铃声播放效果参数。206. Determine a target ringtone playback effect parameter corresponding to the target user status parameter according to the preset mapping relationship between the user status parameter and the ringtone playback effect parameter.
其中,电子设备中可预先存储用户状态参数与铃声播放效果参数之间的映射关系。Wherein, the mapping relationship between the user status parameter and the ringtone playing effect parameter may be pre-stored in the electronic device.
207、在所述任一闹钟时刻到达时按照所述目标铃声播放效果参数播放对应的铃声文件。207. Play the corresponding ringtone file according to the target ringtone playing effect parameter when the time of any alarm clock arrives.
具体地,在任一闹钟时刻达到之前,可向穿戴设备发送获取请求,该获取请求用于获取用户的生理特征信息,进而,接收由穿戴设备发送的生理特征信息,并对该生理特征信息进行解析,得到用户状态参数,进而,可依据预设的用户状态参数与铃声播放效果参数之间的映射关系确定目标用户状态参数对应的目标铃声播放效果参数,进而,在任一闹钟时刻到达时按照目标铃声播放效果参数播放对应的铃声文件。例如,在清醒时刻,铃声音量可以相对较低,在深度睡眠时刻,铃声音量可以相对较大,如此,可以结合用户的生理状态,合理播放铃声,提升了用户体验。Specifically, before any alarm time arrives, an acquisition request can be sent to the wearable device, and the acquisition request is used to acquire the user's physiological characteristic information, and then receive the physiological characteristic information sent by the wearable device, and analyze the physiological characteristic information , to obtain the user status parameters, and then, the target ringtone playback effect parameters corresponding to the target user status parameters can be determined according to the mapping relationship between the preset user status parameters and the ringtone playback effect parameters, and then, when any alarm clock time arrives, according to the target ringtone playback effect parameter The playback effect parameter plays the corresponding ringtone file. For example, when awake, the volume of the ringtone can be relatively low, and during deep sleep, the volume of the ringtone can be relatively high. In this way, the ringtone can be played reasonably in consideration of the user's physiological state, thereby improving the user experience.
可以看出,本申请实施例中所描述的闹钟控制方法,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,在任一闹钟时刻到达之前,向穿戴设备发送获取请求,接收由穿戴设备发送的生理特征信息,对生理特征信息进行解析,得到目标用户状态参数,按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定目标用户状态参数对应的目标铃声播放效果参数,在任一闹钟时刻到达时按照目标铃声播放效果参数播放对应的铃声文件,从而,可以通过多个铃声来实现闹钟功能,且能够依据用户的状态播放铃声,提升了用户体验。It can be seen that the alarm clock control method described in the embodiment of the present application obtains multiple ringtone files, and determines the playback sequence parameters corresponding to the multiple ringtone files. The playback sequence parameter is the mapping relationship between the ringtone file and the playback sequence number identifier. A ringtone file corresponds to at least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different. Before any alarm time arrives, send an acquisition request to the wearable device, receive the physiological characteristic information sent by the wearable device, and check the physiological characteristic information. Perform analysis to obtain the target user status parameters, and determine the target ringtone playback effect parameters corresponding to the target user status parameters according to the mapping relationship between the preset user status parameters and ringtone playback effect parameters, and play the target ringtone when any alarm clock time arrives The effect parameter plays the corresponding ringtone file, so that the alarm clock function can be realized through multiple ringtones, and the ringtone can be played according to the state of the user, which improves the user experience.
与上述实施例一致的,请参阅图3,图3是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令;Consistent with the above embodiment, please refer to FIG. 3. FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more a program, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the program includes instructions for performing the following steps;
获取多个铃声文件;Get multiple ringtone files;
确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;Determine the playing order parameters corresponding to the plurality of ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, each ringtone file corresponds to at least one playing sequence number identifier, and the ringtones corresponding to the adjacent playing sequence number identifiers The files are different;
按照所述播放顺序参数执行闹钟功能。Execute the alarm clock function according to the playing sequence parameters.
可以看出,本申请实施例中所描述的电子设备,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,按照播放顺序参数执行闹钟功能,从而,可以通过多个铃声来实现闹钟功能,提升了用户体验。It can be seen that the electronic device described in the embodiment of the present application obtains multiple ringtone files, and determines the playback order parameters corresponding to the multiple ringtone files. The ringtone file corresponds to at least one playback sequence number identifier, and the ringtone files corresponding to adjacent playback sequence number identifiers are different, and the alarm clock function is executed according to the playback sequence parameters, thereby, the alarm clock function can be realized through multiple ringtones, which improves the user experience.
在一个可能的示例中,所述获取多个铃声文件,所述程序中的指令具体用于执行以下操作:In a possible example, the multiple ringtone files are acquired, and the instructions in the program are specifically used to perform the following operations:
获取用户在预设时间段的播放记录,所述播放记录包括多个音频文件中每一音频文件的音乐类型和播放频率;Acquiring the user's play record in a preset time period, the play record including the music type and play frequency of each audio file in a plurality of audio files;
确定所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值;Determine the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency;
依据所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值计算所述多个音频文件中每一音频文件的得分值,得到多个得分值;Calculate the score value of each audio file in the plurality of audio files according to the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency, and obtain a plurality of score value;
从所述多个得分值中选取得分值高于预设阈值的目标得分值,并获取所述目标得分值对应的音频文件,得到所述多个铃声文件。selecting a target score value whose score value is higher than a preset threshold from the plurality of score values, and acquiring an audio file corresponding to the target score value to obtain the plurality of ringtone files.
在一个可能的示例中,在所述获取所述目标得分值对应的音频文件,得到所述多个铃声文件方面,所述程序中的指令具体用于执行以下操作:In a possible example, in terms of obtaining the audio file corresponding to the target score value and obtaining the plurality of ringtone files, the instructions in the program are specifically used to perform the following operations:
对所述目标得分值对应的音频文件进行音频剪切,得到每一音频文件的高潮部分;Carry out audio clipping to the audio file corresponding to the target score value to obtain the climax part of each audio file;
依据预设闹铃时长对所述每一音频文件的高潮部分进行重复或者音频剪切,得到所述多个铃声文件,每一铃声文件的播放时长等于所述预设闹铃时长。Repeat or cut the climax of each audio file according to the preset alarm duration to obtain the plurality of ringtone files, and the playback duration of each ringtone file is equal to the preset alarm duration.
在一个可能的示例中,所述闹钟功能为振动闹铃时,所述按照所述播放顺序参数执行闹钟功能,所述程序中的指令具体用于执行以下操作:In a possible example, when the alarm clock function is a vibration alarm, the alarm clock function is executed according to the playing sequence parameters, and the instructions in the program are specifically used to perform the following operations:
在指定闹钟时刻到达时,按照所述播放顺序参数获取相应的目标铃声文件;When the specified alarm clock time arrives, obtain the corresponding target ringtone file according to the playing sequence parameters;
获取所述目标铃声文件的节拍参数;Obtain the beat parameters of the target ringtone file;
依据所述节拍参数进行振动,以提醒用户。Vibrating according to the beat parameters to remind the user.
在一个可能的示例中,所述按照所述播放顺序参数执行闹钟功能,所述程序中的指令具体用于执行以下操作:In a possible example, the alarm clock function is executed according to the playing order parameter, and the instructions in the program are specifically used to perform the following operations:
在任一闹钟时刻到达之前,向穿戴设备发送获取请求;Send an acquisition request to the wearable device before any alarm time arrives;
接收由所述穿戴设备发送的生理特征信息;receiving physiological characteristic information sent by the wearable device;
对所述生理特征信息进行解析,得到目标用户状态参数;Analyzing the physiological feature information to obtain target user state parameters;
按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定所述目标用户状态参数对应的目标铃声播放效果参数;According to the mapping relationship between preset user status parameters and ringtone playback effect parameters, determine the target ringtone playback effect parameters corresponding to the target user status parameters;
在所述任一闹钟时刻到达时按照所述目标铃声播放效果参数播放对应的铃声文件。When any alarm time arrives, the corresponding ringtone file is played according to the target ringtone playing effect parameter.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of executing the process on the method side. It can be understood that, in order to realize the above functions, the electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
图4A是本申请实施例中所涉及的闹钟控制装置500的功能单元组成框图。该闹钟控制装置400应用于电子设备,该闹钟控制装置400包括获取单元401、确定单元402和控制单元403,其中,FIG. 4A is a block diagram of functional units of the alarm clock control device 500 involved in the embodiment of the present application. The alarm clock control device 400 is applied to electronic equipment, and the alarm clock control device 400 includes an acquisition unit 401, a determination unit 402 and a control unit 403, wherein,
获取单元401,用于获取多个铃声文件;An acquisition unit 401, configured to acquire multiple ringtone files;
确定单元402,用于确定所述多个铃声文件对应的播放顺序参数,所述播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样;The determination unit 402 is used to determine the playing order parameters corresponding to the plurality of ringtone files, the playing order parameters are the mapping relationship between the ringtone files and the playing sequence number identifiers, and each ringtone file corresponds to at least one playing sequence number identifier, adjacent to each other The ringtone files corresponding to the playback sequence number are different;
控制单元403,用于按照所述播放顺序参数执行闹钟功能。The control unit 403 is configured to execute the alarm clock function according to the playing sequence parameter.
可以看出,本申请实施例中所描述的闹钟控制装置,应用于电子设备,获取多个铃声文件,确定多个铃声文件对应的播放顺序参数,播放顺序参数为铃声文件与播放序号标识之间的映射关系,每一铃声文件对应至少一个播放序号标识,相邻播放序号标识对应的铃声文件不一样,按照播放顺序参数执行闹钟功能,从而,可以通过多个铃声来实现闹钟功能,提升了用户体验。It can be seen that the alarm clock control device described in the embodiment of the present application is applied to electronic equipment, obtains multiple ringtone files, and determines the playback sequence parameters corresponding to the multiple ringtone files. The playback sequence parameter is between the ringtone file and the playback sequence number identifier. Mapping relationship, each ringtone file corresponds to at least one playback sequence number identifier, the ringtone files corresponding to adjacent playback sequence number identifiers are different, and the alarm clock function is executed according to the playback sequence parameters, so that the alarm clock function can be realized through multiple ringtones, which improves the user experience. experience.
可选地,如图4B,图4B为图4A所描述的闹钟控制装置400的获取单元401的具体细化结构,所述获取单元401可包括:第一获取模块4011、第一确定模块4012、计算模块4013和选取模块4014,具体如下:Optionally, as shown in FIG. 4B, FIG. 4B is a specific detailed structure of the acquisition unit 401 of the alarm clock control device 400 described in FIG. 4A, and the acquisition unit 401 may include: a first acquisition module 4011, a first determination module 4012, The calculation module 4013 and the selection module 4014 are as follows:
第一获取模块4011,用于获取用户在预设时间段的播放记录,所述播放记录包括多个音频文件中每一音频文件的音乐类型和播放频率;The first obtaining module 4011 is used to obtain the play record of the user in the preset time period, and the play record includes the music type and play frequency of each audio file in a plurality of audio files;
第一确定模块4012,用于确定所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值;The first determination module 4012 is used to determine the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency;
计算模块4013,用于依据所述多个音频文件中每一音频文件的音乐类型对应的第一权重值和播放频率对应的第二权重值计算所述多个音频文件中每一音频文件的得分值,得到多个得分值;Calculation module 4013, for calculating the result of each audio file in the plurality of audio files according to the first weight value corresponding to the music type of each audio file in the plurality of audio files and the second weight value corresponding to the playback frequency Score, get multiple score values;
选取模块4014,用于从所述多个得分值中选取得分值高于预设阈值的目标得分值,并获取所述目标得分值对应的音频文件,得到所述多个铃声文件。The selecting module 4014 is configured to select a target score value whose score value is higher than a preset threshold from the plurality of score values, and acquire an audio file corresponding to the target score value to obtain the plurality of ringtone files.
进一步可选地,所述选取模块4014获取所述目标得分值对应的音频文件,得到所述多个铃声文件,具体为:Further optionally, the selection module 4014 obtains the audio file corresponding to the target score value to obtain the plurality of ringtone files, specifically:
对所述目标得分值对应的音频文件进行音频剪切,得到每一音频文件的高潮部分;Carry out audio clipping to the audio file corresponding to the target score value to obtain the climax part of each audio file;
依据预设闹铃时长对所述每一音频文件的高潮部分进行重复或者音频剪切,得到所述多个铃声文件,每一铃声文件的播放时长等于所述预设闹铃时长。Repeat or cut the climax of each audio file according to the preset alarm duration to obtain the plurality of ringtone files, and the playback duration of each ringtone file is equal to the preset alarm duration.
可选地,如图4C,图4C为图4A所描述的闹钟控制装置400的控制单元403的具体细化结构,所述控制单元403可包括:第二获取模块4031和振动模块4032,具体如下:Optionally, as shown in FIG. 4C, FIG. 4C is a specific detailed structure of the control unit 403 of the alarm clock control device 400 described in FIG. 4A. The control unit 403 may include: a second acquisition module 4031 and a vibration module 4032, specifically as follows :
第二获取模块4031,用于在指定闹钟时刻到达时,按照所述播放顺序参数获取相应的目标铃声文件;以及获取所述目标铃声文件的节拍参数;The second obtaining module 4031 is used to obtain the corresponding target ringtone file according to the play sequence parameter when the specified alarm time arrives; and obtain the tempo parameter of the target ringtone file;
振动模块4032,用于依据所述节拍参数进行振动,以提醒用户。The vibration module 4032 is configured to vibrate according to the beat parameters to remind the user.
可选地,如图4D,图4D为图4A所描述的闹钟控制装置400的控制单元403的具体细化结构,所述控制单元403可包括:交互取模块4033、解析模块4034、第二确定模块4035和播放模块4036,具体如下:Optionally, as shown in FIG. 4D, FIG. 4D is a specific detailed structure of the control unit 403 of the alarm clock control device 400 described in FIG. Module 4035 and playing module 4036, specifically as follows:
交互模块4033,用于在任一闹钟时刻到达之前,向穿戴设备发送获取请求;接收由所述穿戴设备发送的生理特征信息;The interaction module 4033 is configured to send an acquisition request to the wearable device before any alarm time arrives; receive the physiological characteristic information sent by the wearable device;
解析模块4034,用于对所述生理特征信息进行解析,得到目标用户状态参数;An analysis module 4034, configured to analyze the physiological feature information to obtain target user state parameters;
第二确定模块4035,用于按照预设的用户状态参数与铃声播放效果参数之间的映射关系,确定所述目标用户状态参数对应的目标铃声播放效果参数;The second determining module 4035 is used to determine the target ringtone playback effect parameter corresponding to the target user status parameter according to the preset mapping relationship between the user status parameter and the ringtone playback effect parameter;
播放模块4036,用于在所述任一闹钟时刻到达时按照所述目标铃声播放效果参数播放对应的铃声文件。The playing module 4036 is configured to play the corresponding ringtone file according to the target ringtone playing effect parameters when any alarm time arrives.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the above-mentioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method. The computer program product may be a software installation package, and the computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders 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.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。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 memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for Those skilled in the art will have changes in specific implementation methods and application scopes based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810298957.7ACN108600526A (en) | 2018-04-04 | 2018-04-04 | Alarm clock control method and related product |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810298957.7ACN108600526A (en) | 2018-04-04 | 2018-04-04 | Alarm clock control method and related product |
| Publication Number | Publication Date |
|---|---|
| CN108600526Atrue CN108600526A (en) | 2018-09-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810298957.7APendingCN108600526A (en) | 2018-04-04 | 2018-04-04 | Alarm clock control method and related product |
| Country | Link |
|---|---|
| CN (1) | CN108600526A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109582272A (en)* | 2018-11-23 | 2019-04-05 | Oppo(重庆)智能科技有限公司 | A kind of control method, terminal device and storage medium |
| CN110543289A (en)* | 2019-08-02 | 2019-12-06 | 华为技术有限公司 | Method and electronic device for controlling volume |
| CN110855834A (en)* | 2019-11-14 | 2020-02-28 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock response control method and device |
| CN112349303A (en)* | 2019-07-22 | 2021-02-09 | 北京声智科技有限公司 | Audio playing method, device and storage medium |
| CN114422642A (en)* | 2021-11-12 | 2022-04-29 | 合众新能源汽车有限公司 | Vehicle-mounted ringtone playing control method and system |
| CN115312025A (en)* | 2022-07-29 | 2022-11-08 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105005612A (en)* | 2015-07-09 | 2015-10-28 | 广东欧珀移动通信有限公司 | Music file acquisition method and mobile terminal |
| US20160100267A1 (en)* | 2013-06-25 | 2016-04-07 | Tencent Technology (Shenzhen) Company Limited | Method and devices for outputting an audio file |
| CN105807604A (en)* | 2016-05-20 | 2016-07-27 | 乐视控股(北京)有限公司 | Alarm clock ring setting method and device |
| CN107085512A (en)* | 2017-04-24 | 2017-08-22 | 广东小天才科技有限公司 | Audio playing method and mobile terminal |
| CN107248415A (en)* | 2017-07-10 | 2017-10-13 | 珠海格力电器股份有限公司 | Alarm clock ringtone generation method and device and user terminal |
| CN107343085A (en)* | 2017-06-08 | 2017-11-10 | 广东欧珀移动通信有限公司 | Music playback method and related products |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160100267A1 (en)* | 2013-06-25 | 2016-04-07 | Tencent Technology (Shenzhen) Company Limited | Method and devices for outputting an audio file |
| CN105005612A (en)* | 2015-07-09 | 2015-10-28 | 广东欧珀移动通信有限公司 | Music file acquisition method and mobile terminal |
| CN105807604A (en)* | 2016-05-20 | 2016-07-27 | 乐视控股(北京)有限公司 | Alarm clock ring setting method and device |
| CN107085512A (en)* | 2017-04-24 | 2017-08-22 | 广东小天才科技有限公司 | Audio playing method and mobile terminal |
| CN107343085A (en)* | 2017-06-08 | 2017-11-10 | 广东欧珀移动通信有限公司 | Music playback method and related products |
| CN107248415A (en)* | 2017-07-10 | 2017-10-13 | 珠海格力电器股份有限公司 | Alarm clock ringtone generation method and device and user terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109582272A (en)* | 2018-11-23 | 2019-04-05 | Oppo(重庆)智能科技有限公司 | A kind of control method, terminal device and storage medium |
| CN112349303A (en)* | 2019-07-22 | 2021-02-09 | 北京声智科技有限公司 | Audio playing method, device and storage medium |
| CN110543289A (en)* | 2019-08-02 | 2019-12-06 | 华为技术有限公司 | Method and electronic device for controlling volume |
| CN110855834A (en)* | 2019-11-14 | 2020-02-28 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock response control method and device |
| CN114422642A (en)* | 2021-11-12 | 2022-04-29 | 合众新能源汽车有限公司 | Vehicle-mounted ringtone playing control method and system |
| CN115312025A (en)* | 2022-07-29 | 2022-11-08 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, electronic equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN108600526A (en) | Alarm clock control method and related product | |
| CN104394491B (en) | A kind of intelligent earphone, Cloud Server and volume adjusting method and system | |
| CN107085512A (en) | Audio playing method and mobile terminal | |
| CN106095384B (en) | Sound effect adjusting method and user terminal | |
| CN108228882B (en) | A method and terminal device for recommending song audition fragments | |
| JP2018519538A (en) | Karaoke processing method and system | |
| CN107241511B (en) | Music playing method, device, storage medium and terminal | |
| JP6449991B2 (en) | Media file processing method and terminal | |
| JP6717940B2 (en) | Audio file rerecording method, device and storage medium | |
| WO2018161349A1 (en) | Music playback method and device, and music playback apparatus | |
| CN113641329A (en) | Sound effect configuration method and device, intelligent sound box, computer equipment and storage medium | |
| CN106713985A (en) | Method and device for recommending network video | |
| CN105243066A (en) | Audio recommendation device and playing method thereof | |
| JP2021189450A (en) | Audio track analysis technique for supporting personalization of audio system | |
| CN113127678A (en) | Audio processing method, device, terminal and storage medium | |
| CN105516451A (en) | Sound effect adjustment method and device | |
| CN104750868B (en) | A kind of multimedia file play list method for building up and device | |
| CN106653067B (en) | Information processing method and terminal | |
| CN110198385A (en) | A kind of vibration frequency adjusting method, device, storage medium and electronic equipment | |
| WO2014134998A1 (en) | Application platform-level configuration method and device | |
| JP2016067817A (en) | Simulation game system, and information processing method and program | |
| CN114115792A (en) | An audio processing method, server and electronic device | |
| CN106550111B (en) | Method and intelligent terminal for setting ringtone in music playback | |
| CN108416004A (en) | electronic equipment, music control method and related product | |
| JP2019053774A (en) | Method and terminal for processing media file |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20180928 |