CN104007969A - Booting sound playing method and device - Google Patents
Booting sound playing method and device Download PDFInfo
- Publication number
- CN104007969A CN104007969A CN201410225051.4A CN201410225051A CN104007969A CN 104007969 A CN104007969 A CN 104007969A CN 201410225051 A CN201410225051 A CN 201410225051A CN 104007969 A CN104007969 A CN 104007969A
- Authority
- CN
- China
- Prior art keywords
- audio
- channel
- audio control
- electronic device
- data processing
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子领域,尤其涉及一种开机音播放方法及装置。The invention relates to the field of electronics, in particular to a method and device for playing a boot sound.
背景技术Background technique
目前,电子设备已经渗透到人们生活的方方面面,比如生活中最为常见的智能手机、平板电脑等,这些电子设备在各种场合为人们提供了诸多便利。如何减少电子设备的开机时间,从而减少用户的等待时间,是提升用户体验需要考虑的因素之一。At present, electronic devices have penetrated into every aspect of people's lives, such as the most common smartphones and tablet computers in life. These electronic devices provide people with a lot of convenience in various occasions. How to reduce the start-up time of the electronic device, thereby reducing the waiting time of the user, is one of the factors to be considered in improving the user experience.
电子设备在开机时实现开机音播放的过程,需要占用一定的开机时间。在实现上述开机音播放功能的过程中,发明人发现,现有技术通过媒体服务器(Mediaserver)播放开机音的方法,需要首先等待媒体服务器启动,然后进行开机音播放。媒体服务器的启动需要占用一定的时间,导致这种实现开机音播放功能的方法存在占用时间过长的问题。The process of playing the start-up tone when the electronic device is turned on needs to occupy a certain amount of time for the start-up. In the process of realizing the above-mentioned start-up sound playing function, the inventors found that, in the prior art method of playing the start-up sound through a media server (Mediaserver), it is necessary to wait for the start-up of the media server first, and then play the start-up sound. It takes a certain amount of time to start the media server, which leads to the problem of taking too long in this method for realizing the function of playing the boot sound.
发明内容Contents of the invention
本发明的实施例提供一种开机音播放方法及装置,能够减少电子设备的开机时间。Embodiments of the present invention provide a method and device for playing a startup sound, which can reduce the startup time of electronic equipment.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,一种开机音播放方法,包括:In the first aspect, a method for playing boot sound, comprising:
电子设备启动内核程序后,对音频通路进行初始化配置,所述内核程序为所述电子设备的操作系统中用于实现系统资源管理的核心程序;After the electronic device starts the kernel program, the audio channel is initialized and configured, and the kernel program is a core program used to implement system resource management in the operating system of the electronic device;
所述电子设备确定所述音频通路初始化配置完成后,打开所述音频通路;After the electronic device determines that the initial configuration of the audio path is completed, open the audio path;
所述电子设备通过预设播放器直接调用所述内核程序的底层接口播放开机音,所述预设播放器是可以直接调用所述内核程序的底层接口的音频播放器。The electronic device directly calls the bottom interface of the kernel program to play the startup sound through a preset player, and the preset player is an audio player that can directly call the bottom interface of the kernel program.
结合第一方面,在第一种可能的实现方式中,所述对音频通路进行初始化配置,包括:With reference to the first aspect, in a first possible implementation manner, the initial configuration of the audio channel includes:
所述电子设备启动音频控制功能及音频数据处理功能;The electronic device activates audio control function and audio data processing function;
所述电子设备通过所述音频控制功能创建音频控制节点,通过所述音频数据处理功能创建开机音播放节点。The electronic device creates an audio control node through the audio control function, and creates a start-up sound playing node through the audio data processing function.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述打开所述音频通路,包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the opening the audio path includes:
所述电子设备通过所述音频控制节点直接调用所述内核程序的底层接口将音频控制通路调整为预设音频控制通路,所述音频控制通路为音频通路中实现音频控制功能的通路,所述预设音频控制通路为播放开机音所使用的音频控制通路;The electronic device directly calls the underlying interface of the kernel program through the audio control node to adjust the audio control channel to a preset audio control channel, and the audio control channel is a channel that implements an audio control function in the audio channel. The audio control path is set as the audio control path used for playing the boot sound;
所述电子设备通过所述音频控制节点直接调用所述内核程序的底层接口将所述预设音频控制通路与音频数据处理通路连接起来,所述音频数据处理通路为音频通路中实现音频数据处理功能的通路。The electronic device directly calls the underlying interface of the kernel program through the audio control node to connect the preset audio control channel with the audio data processing channel, and the audio data processing channel is an audio data processing function in the audio channel access.
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述电子设备启动音频控制功能及音频数据处理功能,包括:With reference to the first possible implementation of the first aspect, in a third possible implementation, the electronic device starts an audio control function and an audio data processing function, including:
所述电子设备对音频控制芯片及音频数据处理芯片进行初始化,其中,所述音频控制芯片用于实现所述音频控制功能,所述音频数据处理芯片用于实现所述音频数据处理功能。The electronic device initializes an audio control chip and an audio data processing chip, wherein the audio control chip is used to realize the audio control function, and the audio data processing chip is used to realize the audio data processing function.
结合第一方面至第一方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中,所述方法还包括:In combination with any one of the first aspect to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the method further includes:
所述电子设备完成开机音播放后,关闭所述音频通路。After the electronic device completes playing the start-up sound, close the audio channel.
第二方面,一种开机音播放装置,包括:In the second aspect, a startup sound playback device includes:
配置单元,用于在电子设备启动内核程序后,对音频通路进行初始化配置,所述内核程序为所述电子设备的操作系统中用于实现系统资源管理的核心程序;The configuration unit is configured to initially configure the audio path after the electronic device starts the kernel program, the kernel program being the core program used to implement system resource management in the operating system of the electronic device;
控制单元,用于在所述电子设备确定所述音频通路初始化配置完成后,打开所述音频通路;a control unit, configured to open the audio channel after the electronic device determines that the initial configuration of the audio channel is completed;
所述控制单元,还用于通过预设播放器直接调用所述内核程序的底层接口播放开机音,所述预设播放器是可以直接调用所述内核程序底层接口的音频播放器。The control unit is also used to directly call the bottom interface of the kernel program to play the startup sound through a preset player, and the preset player is an audio player that can directly call the bottom interface of the kernel program.
结合第二方面,在第一种可能的实现方式中,In combination with the second aspect, in the first possible implementation,
所述配置单元,具体用于启动音频控制功能及音频数据处理功能;The configuration unit is specifically used to start an audio control function and an audio data processing function;
所述配置单元,具体还用于通过所述音频控制功能创建音频控制节点,通过所述音频数据处理功能创建开机音播放节点。The configuration unit is further configured to create an audio control node through the audio control function, and create a start-up sound playback node through the audio data processing function.
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,In combination with the first possible implementation of the second aspect, in the second possible implementation,
所述控制单元,具体用于通过所述音频控制节点直接调用所述内核程序的底层接口将音频控制通路调整为预设音频控制通路,所述音频控制通路为音频通路中实现音频控制功能的通路,所述预设音频控制通路为播放开机音所使用的音频控制通路;The control unit is specifically used to directly call the underlying interface of the kernel program through the audio control node to adjust the audio control channel to a preset audio control channel, and the audio control channel is a channel in the audio channel that implements an audio control function , the preset audio control path is the audio control path used to play the boot tone;
所述控制单元,具体还用于通过所述音频控制节点直接调用所述内核程序的底层接口将所述预设音频控制通路与音频数据处理通路连接起来,所述音频数据处理通路为音频通路中实现音频数据处理功能的通路。The control unit is also specifically configured to directly call the underlying interface of the kernel program through the audio control node to connect the preset audio control path with the audio data processing path, and the audio data processing path is the A path for implementing audio data processing functions.
结合第二方面的第一种可能的实现方式,在第三种可能的实现方式中,In combination with the first possible implementation of the second aspect, in the third possible implementation,
所述配置单元,具体用于音频控制芯片及音频数据处理芯片进行初始化,其中,所述音频控制芯片用于实现所述音频控制功能,所述音频数据处理芯片用于实现所述音频数据处理功能。The configuration unit is specifically used for initializing the audio control chip and the audio data processing chip, wherein the audio control chip is used to realize the audio control function, and the audio data processing chip is used to realize the audio data processing function .
结合第二方面至第二方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中,In combination with any one of the second aspect to the third possible implementation manner of the second aspect, in a fourth possible implementation manner,
所述控制单元,还用于在所述电子设备完成开机音播放后,关闭所述音频通路。The control unit is further configured to close the audio channel after the electronic device finishes playing the startup sound.
现有技术通过媒体服务器播放开机音的方法,在内核程序启动之后,需要等待媒体服务器启动,然后进行开机音播放。媒体服务器的启动需要占用一定的时间,导致这种实现开机音播放功能的方法存在占用时间过长的问题。本发明实施例提供的开机音播放方法及装置,通过在电子设备启动内核程序后,对音频通路进行初始化配置,电子设备确定音频通路初始化配置完成后,打开音频通路,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,无需等待媒体服务器启动后再播放开机音,因此减少了电子设备的开机时间。In the prior art method of playing the startup tone through the media server, after the kernel program starts, it is necessary to wait for the startup of the media server, and then play the startup tone. It takes a certain amount of time to start the media server, which leads to the problem of taking too long in this method for realizing the function of playing the boot sound. In the method and device for playing the boot sound provided by the embodiments of the present invention, after the electronic device starts the kernel program, the audio channel is initialized and configured. After the electronic device determines that the audio channel is initialized and configured, the audio channel is opened, and the electronic device uses the preset player. Directly call the underlying interface of the kernel program to play the boot tone, without waiting for the media server to start before playing the boot tone, thus reducing the boot time of the electronic device.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明的实施例提供的一种开机音播放方法流程示意图;Fig. 1 is a schematic flow chart of a method for playing startup sound provided by an embodiment of the present invention;
图2为本发明的实施例提供的另一种开机音播放方法流程示意图;Fig. 2 is a schematic flow chart of another boot tone playing method provided by an embodiment of the present invention;
图3为本发明的实施例提供的一种实现开机音和开机动画同步播放的方法流程示意图;3 is a schematic flowchart of a method for synchronously playing the boot sound and the boot animation provided by an embodiment of the present invention;
图4为本发明的实施例提供的一种开机音播放装置;Fig. 4 is a kind of start-up sound playback device provided by the embodiment of the present invention;
图5为本发明的实施例提供的另一种开机音播放装置。Fig. 5 is another device for playing startup sound provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.
本发明的实施例提供一种开机音播放方法,参照图1,包括以下步骤:Embodiments of the present invention provide a method for playing boot sound, referring to Fig. 1, comprising the following steps:
101、电子设备启动内核程序后,对音频通路进行初始化配置。101. After the electronic device starts the kernel program, it initializes the configuration of the audio channel.
其中,内核程序为电子设备的操作系统中用于实现系统资源管理的核心程序。音频通路为音频信号在电子设备内的传输通道。初始化配置包括启动音频通路的音频控制功能和音频数据处理功能。Wherein, the kernel program is a core program used to implement system resource management in the operating system of the electronic device. An audio path is a transmission channel of an audio signal in an electronic device. The initial configuration includes starting the audio control functions and audio data processing functions of the audio path.
可选的,电子设备可以是智能手机、平板电脑等,以智能手机为例,一个智能手机中音频通路包括至少一个传输通道,不同的传输通道用于实现不同的功能,例如通话,播放音乐,收听调频收音机等。Optionally, the electronic device may be a smart phone, a tablet computer, etc. Taking a smart phone as an example, the audio channel in a smart phone includes at least one transmission channel, and different transmission channels are used to implement different functions, such as calling, playing music, Listen to FM radio, etc.
102、电子设备确定音频通路初始化配置完成后,打开音频通路。102. After determining that the initial configuration of the audio channel is completed, the electronic device opens the audio channel.
可选的,打开音频通路,包括对音频控制通路进行调整,将调整后的音频控制通路与音频数据处理通路连接起来。其中,音频控制通路为音频通路中实现音频控制功能的通路,音频数据处理通路为音频通路中实现音频数据处理功能的通路。Optionally, opening the audio path includes adjusting the audio control path, and connecting the adjusted audio control path with the audio data processing path. Wherein, the audio control path is a path in the audio path for realizing the audio control function, and the audio data processing path is a path in the audio path for realizing the audio data processing function.
可选的,电子设备在实现不同功能时,通过音频控制功能,对音频控制通路进行调整,即选择不同的音频控制通路,不同的音频控制通路实现对不同音频传输通道的控制功能。本实施例中将音频控制通路调整为预设音频控制通路。其中,预设音频控制通路为播放开机音所使用的音频控制通路。Optionally, when the electronic device implements different functions, it adjusts the audio control channel through the audio control function, that is, selects different audio control channels, and the different audio control channels realize the control function of different audio transmission channels. In this embodiment, the audio control path is adjusted to a preset audio control path. Wherein, the preset audio control channel is the audio control channel used for playing the boot tone.
103、电子设备通过预设播放器直接调用内核程序的底层接口播放开机音。103. The electronic device directly calls the underlying interface of the kernel program through the preset player to play the startup sound.
其中,预设播放器是可以直接调用内核程序的底层接口的音频播放器。Wherein, the preset player is an audio player that can directly call the underlying interface of the kernel program.
可选的,通过内核程序对系统资源进行管理和调用,需要调用该内核程序所提供的底层接口来实现。此处,预设播放器通过直接调用内核程序的底层接口,控制打开的音频通路对开机音的音频数据进行传输、处理,并播放开机音。Optionally, the management and calling of system resources through the kernel program needs to be implemented by calling the underlying interface provided by the kernel program. Here, the preset player controls the opened audio channel to transmit and process the audio data of the boot tone by directly calling the bottom interface of the kernel program, and plays the boot tone.
现有技术通过媒体服务器播放开机音的方法,在内核程序启动之后,需要等待媒体服务器启动,然后进行开机音播放。媒体服务器的启动需要占用一定的时间,导致这种实现开机音播放功能的方法存在占用时间过长的问题。本发明的实施例提供的开机音播放方法,在内核程序启动之后,通过直接调用内核程序所提供的底层接口实现开机音的播放功能,无需等待媒体服务器启动后再播放开机音,因此减少了开机音播放所占用的时间。In the prior art method of playing the startup tone through the media server, after the kernel program starts, it is necessary to wait for the startup of the media server, and then play the startup tone. It takes a certain amount of time to start the media server, which leads to the problem of taking too long in this method for realizing the function of playing the boot sound. In the method for playing the boot tone provided by the embodiments of the present invention, after the kernel program is started, the playback function of the boot tone is realized by directly calling the underlying interface provided by the kernel program, without waiting for the media server to start before playing the boot tone, thus reducing the need for booting. The time it takes for the audio to play.
本发明实施例提供的开机音播放方法,通过在电子设备启动内核程序后,对音频通路进行初始化配置,电子设备确定音频通路初始化配置完成后,打开音频通路,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,减少了开机音播放所占用的时间,从而减少了电子设备的开机时间。In the method for playing the boot sound provided by the embodiment of the present invention, after the electronic device starts the kernel program, the audio path is initialized and configured, and the electronic device determines that the audio path is initialized and configured, then opens the audio path, and the electronic device directly invokes the audio path through the preset player The bottom interface of the kernel program plays the start-up sound, which reduces the time taken for playing the start-up sound, thereby reducing the start-up time of the electronic device.
基于上述图1对应的实施例,本发明的实施例提供另一种开机音播放方法,参照图2所示,包括以下步骤:Based on the above-mentioned embodiment corresponding to FIG. 1, the embodiment of the present invention provides another boot tone playback method, as shown in FIG. 2, including the following steps:
201、电子设备启动音频控制功能及音频数据处理功能。201. The electronic device starts an audio control function and an audio data processing function.
启动音频控制功能及音频数据处理功能,包括对音频控制芯片及音频数据处理芯片进行初始化。Start the audio control function and the audio data processing function, including initializing the audio control chip and the audio data processing chip.
可选的,电子设备可以是智能手机。本实施例对在智能手机上实现开机音播放功能进行示例性说明。当然,这并不代表本发明的实施例提供的开机音播放方法只适用于智能手机。本发明对电子设备的具体类别不做限定。Optionally, the electronic device may be a smart phone. This embodiment exemplifies the realization of the function of playing the boot sound on the smart phone. Of course, this does not mean that the method for playing the boot tone provided by the embodiment of the present invention is only applicable to smart phones. The present invention does not limit the specific category of electronic equipment.
音频控制芯片用于实现音频控制功能,包括把数字信号转换为模拟信号、把模拟声音信号转换为数字信号、在实现不同功能时使用不同音频控制通路以及对音频信号进行音量控制、功率放大等功能。可选的,音频控制芯片可以是Codec(编码解码器)。在一种智能手机中,当Codec初始化完成后,操作系统的内核在log(日志文件)中输出如下语句:The audio control chip is used to implement audio control functions, including converting digital signals to analog signals, converting analog sound signals to digital signals, using different audio control channels when implementing different functions, and performing volume control and power amplification on audio signals. . Optionally, the audio control chip may be a Codec (codec). In a smart phone, after the Codec initialization is completed, the kernel of the operating system outputs the following statements in the log (log file):
<6>[7.213775]asoc:msm-stub-rx<->msm-dai-q6.4106mapping ok<6>[7.213775]asoc:msm-stub-rx<->msm-dai-q6.4106mapping ok
<6>[7.219424]asoc:msm-stub-tx<->msm-dai-q6.4107mapping ok<6>[7.219424]asoc:msm-stub-tx<->msm-dai-q6.4107mapping ok
<6>[7.224997]asoc:msm-stub-rx<->msm-dai-q6.4108mapping ok<6>[7.224997]asoc:msm-stub-rx<->msm-dai-q6.4108mapping ok
<6>[7.230725]asoc:msm-stub-tx<->msm-dai-q6.4109mapping ok<6>[7.230725]asoc:msm-stub-tx<->msm-dai-q6.4109mapping ok
<6>[7.236235]msm_audrx_init(),dev_namemsm-dai-q6-dev.16384<6>[7.236235]msm_audrx_init(),dev_namemsm-dai-q6-dev.16384
因此当log中出现以上语句时,代表Codec初始化完成。Therefore, when the above statement appears in the log, it means that the Codec initialization is completed.
音频数据处理芯片用于实现音频数据处理功能,音频数据处理芯片可以是ADSP(音频数字信号处理器,Audio Digital Signal Processor)。在一种智能手机中,当ADSP初始化完成后,操作系统的内核在log中输出apr_tal:Q6Is Up语句,因此,当log中出现该语句时,代表ADSP初始化完成。The audio data processing chip is used to realize the audio data processing function, and the audio data processing chip may be an ADSP (Audio Digital Signal Processor, Audio Digital Signal Processor). In a smart phone, after the ADSP initialization is completed, the kernel of the operating system outputs the apr_tal:Q6Is Up statement in the log, so when this statement appears in the log, it means that the ADSP initialization is completed.
可选的,Codec和ADSP通过SLIMbus(低功耗片间串行媒体总线,Serial Low-power Inter-chip Media Bus)连接。在一种智能手机中,当SLIMbus初始化完成后,操作系统的内核在log中输出语句:LIM SAT:Received master capability,因此当log中出现该语句时,代表SLIMbus初始化完成。Optionally, Codec and ADSP are connected through SLIMbus (Serial Low-power Inter-chip Media Bus). In a smart phone, when the SLIMbus initialization is completed, the kernel of the operating system outputs the statement: LIM SAT: Received master capability in the log, so when this statement appears in the log, it means that the SLIMbus initialization is completed.
202、电子设备通过音频控制功能创建音频控制节点,通过音频数据处理功能创建开机音播放节点。202. The electronic device creates an audio control node through an audio control function, and creates a startup sound playback node through an audio data processing function.
在音频控制功能及音频数据处理功能启动后,创建音频控制节点和开机音播放节点。通过音频控制节点可以实现对音频控制通路的控制,通过开机音播放节点可以实现对开机音播放的控制。其中,音频通路为音频信号在电子设备内的传输通道。After the audio control function and audio data processing function are started, create an audio control node and a startup sound playback node. The audio control channel can be controlled through the audio control node, and the startup tone playback can be controlled through the startup tone playback node. Wherein, the audio channel is a transmission channel of the audio signal in the electronic device.
可选的,在一种智能手机中,音频控制节点为dev/snd/controlC0,开机音播放节点为dev/snd/pcmC0D0p。进一步可选的,通过调用mixer_open()函数以确定dev/snd/controlC0和dev/snd/pcmC0D0p两个节点是否已经创建完成,如果两个节点没有创建完成,则在一定延时后重新通过mixer_open()函数确定,直到确定这两个节点创建完成。Optionally, in a smart phone, the audio control node is dev/snd/controlC0, and the startup sound playback node is dev/snd/pcmC0D0p. Optionally, call the mixer_open() function to determine whether the two nodes dev/snd/controlC0 and dev/snd/pcmC0D0p have been created. If the two nodes have not been created, pass mixer_open( ) function until it is determined that the two nodes are created.
通过步骤201及202,完成了音频通路的初始化配置。Through steps 201 and 202, the initial configuration of the audio channel is completed.
203、电子设备通过音频控制节点直接调用内核程序的底层接口将音频控制通路调整为预设音频控制通路。203. The electronic device directly calls the underlying interface of the kernel program through the audio control node to adjust the audio control path to a preset audio control path.
其中,内核程序为电子设备的操作系统中用于实现系统资源管理的核心程序。可以通过调用操作系统的核心程序提供的底层接口实现对系统资源的管理和调用。Wherein, the kernel program is a core program used to implement system resource management in the operating system of the electronic device. The management and calling of system resources can be realized by calling the underlying interface provided by the core program of the operating system.
音频控制通路为音频通路中实现音频控制功能的通路。The audio control path is a path in the audio path for implementing an audio control function.
可选的,一个智能手机中音频通路包括至少一个传输通道,例如扬声器传输通道,耳机传输通道,听筒传输通道,不同的传输通道用于实现不同的功能。在音频通路初始化配置完成之后,音频通路处于关闭状态,电子设备通过音频控制功能,对音频控制通路进行调整,即可以选择不同的音频控制通路,不同的音频控制通路实现对不同音频传输通道的控制功能。本实施例中以扬声器传输通道作为播放开机音所使用的传输通道,因此,以控制扬声器传输通道的音频控制通路作为预设音频控制通路。Optionally, the audio path in a smartphone includes at least one transmission channel, such as a speaker transmission channel, an earphone transmission channel, and an earpiece transmission channel, and different transmission channels are used to implement different functions. After the audio channel initialization configuration is completed, the audio channel is closed, and the electronic device adjusts the audio control channel through the audio control function, that is, different audio control channels can be selected, and different audio control channels realize the control of different audio transmission channels. Function. In this embodiment, the speaker transmission channel is used as the transmission channel for playing the boot sound, therefore, the audio control channel for controlling the speaker transmission channel is used as the default audio control channel.
可选的,在一种智能手机中,通过操作系统核心程序所提供的第一音频调试工具,直接调用操作系统的Audio HAL(音频硬件抽象层,Audio Hardware Abstraction Layer)的接口,将音频控制通路调整为预设音频控制通路。其中,Audio HAL接口为操作系统核心程序的底层接口,Audio HAL通过音频控制节点实现对音频通路的控制。第一音频调试工具可以是tinymix程序,具体的,可以使用以下命令实现:Optionally, in a smart phone, the first audio debugging tool provided by the core program of the operating system directly calls the interface of the Audio HAL (Audio Hardware Abstraction Layer, Audio Hardware Abstraction Layer) of the operating system, and the audio control path Adjusted to preset audio control path. Among them, the Audio HAL interface is the underlying interface of the core program of the operating system, and the Audio HAL realizes the control of the audio channel through the audio control node. The first audio debugging tool can be the tinymix program. Specifically, the following commands can be used to implement:
tinymix"SLIM RX1MUX""AIF1_PB"&&tinymix "SLIM RX1MUX" "AIF1_PB" &&
tinymix"SLIM RX2MUX""AIF1_PB"&&tinymix "SLIM RX2MUX" "AIF1_PB" &&
tinymix"SLIM_0_RX Channels""Two"&&tinymix "SLIM_0_RX Channels" "Two" &&
tinymix"RX3MIX1INP1""RX2"&&tinymix "RX3MIX1INP1" "RX2" &&
tinymix"RX5MIX1INP1""RX1"&&tinymix "RX5MIX1INP1" "RX1" &&
tinymix"RDAC5MUX""DEM3_INV"&&tinymix "RDAC5MUX" "DEM3_INV" &&
tinymix"RDAC7MUX""DEM5_INV"tinymix "RDAC7MUX" "DEM5_INV"
具体命令的选择,需要根据不同的音频控制芯片进行设置,以上命令,为针对一款codec进行的示例性说明。The selection of the specific command needs to be set according to different audio control chips. The above command is an exemplary description for a codec.
本发明对具体实现对内核程序底层接口调用的程序不做限定。可以使用操作系统核心程序所提供的程序,也可以使用根据不同的硬件平台和操作系统自主开发的程序。The present invention does not limit the program that specifically implements the call to the bottom layer interface of the kernel program. The programs provided by the core program of the operating system can be used, and the programs independently developed according to different hardware platforms and operating systems can also be used.
204、电子设备通过音频控制节点直接调用内核程序的底层接口将预设音频控制通路与音频数据处理通路连接起来。204. The electronic device directly calls the underlying interface of the kernel program through the audio control node to connect the preset audio control path with the audio data processing path.
其中,音频数据处理通路为音频通路中实现音频数据处理功能的通路。Wherein, the audio data processing path is a path in the audio path for realizing the audio data processing function.
可选的,在一种智能手机中,使用第一音频调试工具tinymix程序,直接调用操作系统的Audio HAL接口,将预设音频控制通路与音频数据处理通路连接起来。具体的,可以使用以下命令实现:Optionally, in a smart phone, use the first audio debugging tool tinymix program to directly call the Audio HAL interface of the operating system to connect the preset audio control path with the audio data processing path. Specifically, you can use the following commands to achieve:
tinymix"SLIMBUS_0_RX Audio Mixer MultiMedia1"1tinymix"SLIMBUS_0_RX Audio Mixer MultiMedia1"1
预设音频控制通路与音频数据处理通路连接起来后,音频通路打开,然后可以通过该音频通路实现开机音播放。After the preset audio control channel is connected with the audio data processing channel, the audio channel is opened, and then the startup sound can be played through the audio channel.
205、电子设备通过预设播放器直接调用内核程序的底层接口播放开机音。205. The electronic device directly invokes the underlying interface of the kernel program through the preset player to play the startup sound.
其中,预设播放器是可以直接调用内核程序底层接口的音频播放器。Among them, the preset player is an audio player that can directly call the underlying interface of the kernel program.
可选的,在一种智能手机中,以操作系统核心程序所提供的第二音频调试工具tinyplay程序作为预设播放器,该音频调试工具能够直接调用操作系统的Audio HAL接口实现开机音播放功能。其中,AudioHAL通过音频播放节点实现对开机音播放的控制。Optionally, in a smart phone, the second audio debugging tool tinyplay program provided by the operating system core program is used as the preset player, and the audio debugging tool can directly call the Audio HAL interface of the operating system to realize the power-on sound playback function . Among them, AudioHAL realizes the control of the boot sound playback through the audio playback node.
本发明对具体的能够实现对内核程序底层接口调用的音频播放器不做限定。可以使用操作系统核心程序所提供的程序,也可以使用根据不同的硬件平台和操作系统自主开发的程序。The present invention does not limit the specific audio player capable of calling the bottom interface of the kernel program. The programs provided by the core program of the operating system can be used, and the programs independently developed according to different hardware platforms and operating systems can also be used.
206、电子设备完成开机音播放后,关闭音频通路。206. After the electronic device finishes playing the start-up sound, close the audio channel.
开机音播放结束后,音频通路不会自动关闭。在一种使用场景中,以扬声器传输通道作为播放开机音所使用的传输通道,在插着耳机开机后,音频通路处于打开状态,此时如果使用音乐播放功能,由于耳机音频传输通道和扬声器音频传输通道都是打开的,耳机和扬声器都有声音发出。因此,在开机音播放完成后关闭音频通路。After the start-up sound is played, the audio channel will not be automatically closed. In one usage scenario, the speaker transmission channel is used as the transmission channel used to play the boot sound. After the headset is plugged in and the audio channel is turned on, if the music playback function is used at this time, the audio transmission channel of the headset and the speaker audio The transmission channels are all open, and there is sound from both the headphones and the speakers. Therefore, the audio path is closed after the boot tone has finished playing.
可选的,在一种智能手机中,使用tinymix程序,通过以下命令来关闭音频通路:Optionally, in a smart phone, use the tinymix program to close the audio channel with the following command:
tinymix"SLIMBUS_0_RX Audio Mixer MultiMedia1"0&&tinymix"SLIMBUS_0_RX Audio Mixer MultiMedia1"0&&
tinymix"SLIM RX2MUX""ZERO"&&tinymix "SLIM RX2MUX" "ZERO" &&
tinymix"SLIM_0_RX Channels""One"&&tinymix "SLIM_0_RX Channels" "One" &&
tinymix"RX3MIX1INP1""ZERO"&&tinymix "RX3MIX1INP1" "ZERO" &&
tinymix"RX5MIX1INP1""ZERO"&&tinymix "RX5MIX1INP1" "ZERO" &&
tinymix"RDAC5MUX""DEM4"&&tinymix "RDAC5MUX" "DEM4" &&
tinymix"RDAC7MUX""DEM6"tinymix "RDAC7MUX" "DEM6"
可选的,本实施例以一种智能手机为例对开机音播放功能的具体实现进行具体说明。通过playBootSound()函数打开音频通路、完成开机音播放,通过shutAudioDevice()函数在开机音播放结束后关闭开机音播放所使用的音频通路。Bootanimation模块通过调用playBootSound()函数和shutAudioDevice()函数,实现开机音的播放和在开机音播放结束后关闭音频通路的功能。具体实现如下:Optionally, in this embodiment, a smart phone is taken as an example to describe in detail the specific implementation of the startup sound playing function. Use the playBootSound() function to open the audio channel to complete the playback of the boot sound, and use the shutAudioDevice() function to close the audio channel used for the boot sound playback after the boot sound is played. The Bootanimation module realizes the function of playing the boot sound and closing the audio channel after the boot sound is played by calling the playBootSound() function and the shutAudioDevice() function. The specific implementation is as follows:
优选的,在播放开机音时,可以同时播放开机动画。参照图3,图3为一种开机音和开机动画同步播放方法的流程图。为了使得开机音和开机动画播放同步,在不同线程中实现开机音播放和开机动画播放。在第一线程中完成对音频通路的初始化配置,并打开音频通路,准备好开机音播放,在第二线程中完成对开机动画文件的解析存储,然后,在第一线程开始播放开机音的同时,第二线程开始播放开机动画,从而实现了开机音和开机动画的同步播放。Preferably, when the boot sound is played, the boot animation can be played simultaneously. Referring to FIG. 3 , FIG. 3 is a flow chart of a method for synchronously playing the startup sound and the startup animation. In order to synchronize the playback of the startup sound and the startup animation, the playback of the startup sound and the playback of the startup animation are implemented in different threads. Complete the initial configuration of the audio channel in the first thread, open the audio channel, and prepare for the start-up sound to be played, complete the analysis and storage of the boot animation file in the second thread, and then start playing the start-up sound while the first thread starts , the second thread starts to play the startup animation, thereby realizing the synchronous playback of the startup sound and the startup animation.
现有技术通过媒体服务器播放开机音的方法,在操作系统核心程序启动之后,需要等待媒体服务器启动,然后进行开机音播放。媒体服务器的启动需要占用一定的时间,导致这种实现开机音播放功能的方法存在占用时间过长的问题。本发明的实施例提供的开机音播放方法,在操作系统核心程序启动之后,通过操作系统提供的音频调试工具,直接调用Audio HAL接口实现开机音的播放功能,无需等待媒体服务器启动后再播放开机音,因此减少了开机音播放所占用的时间。In the prior art method of playing the start-up sound through the media server, after the core program of the operating system is started, it is necessary to wait for the start-up of the media server, and then play the start-up sound. It takes a certain amount of time to start the media server, which leads to the problem of taking too long in this method for realizing the function of playing the boot sound. In the method for playing the boot tone provided by the embodiments of the present invention, after the core program of the operating system is started, the audio debugging tool provided by the operating system is used to directly call the Audio HAL interface to realize the playback function of the boot tone, and there is no need to wait for the media server to start before playing the boot tone. tone, thus reducing the time it takes for the boot tone to play.
本发明的实施例提供的开机音播放方法,通过电子设备启动音频控制功能及音频数据处理功能,电子设备创建音频控制节点及开机音播放节点,预设程序通过音频控制节点调用内核程序的底层接口将音频控制通路调整为预设音频控制通路,预设程序通过音频控制节点调用内核程序的底层接口将预设音频控制通路与音频数据处理通路连接起来,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,电子设备完成开机音播放后,关闭音频通路,减少了开机音播放所占用的时间,从而减少了电子设备的开机时间。The boot tone playback method provided by the embodiment of the present invention starts the audio control function and the audio data processing function through the electronic device, the electronic device creates an audio control node and a boot tone playback node, and the preset program calls the underlying interface of the kernel program through the audio control node Adjust the audio control channel to the preset audio control channel, and the preset program calls the underlying interface of the kernel program through the audio control node to connect the preset audio control channel with the audio data processing channel, and the electronic device directly calls the kernel program through the preset player The bottom interface of the electronic device plays the startup sound, and after the electronic device completes the playback of the startup sound, the audio channel is closed to reduce the time taken for the startup sound playback, thereby reducing the startup time of the electronic device.
本发明的实施例提供一种开机音播放装置401,参照图4所示,该开机音播放装置401包括配置单元4011及控制单元4012。An embodiment of the present invention provides a start-up sound playing device 401 , as shown in FIG. 4 , the start-up sound playing device 401 includes a configuration unit 4011 and a control unit 4012 .
其中,配置单元4011,用于在电子设备启动内核程序后,对音频通路进行初始化配置,内核程序为电子设备的操作系统中用于实现系统资源管理的核心程序。Wherein, the configuration unit 4011 is configured to initially configure the audio channel after the electronic device starts a kernel program, and the kernel program is a core program used to implement system resource management in the operating system of the electronic device.
控制单元4012,用于在电子设备确定音频通路初始化配置完成后,打开音频通路。The control unit 4012 is configured to open the audio channel after the electronic device determines that the initial configuration of the audio channel is completed.
控制单元4012,还用于通过预设播放器直接调用内核程序的底层接口播放开机音,预设播放器是可以直接调用内核程序底层接口的音频播放器。The control unit 4012 is also used to directly call the bottom interface of the kernel program to play the startup sound through the preset player, and the preset player is an audio player that can directly call the bottom interface of the kernel program.
本发明的实施例提供的开机音播放装置,通过在电子设备启动内核程序后,对音频通路进行初始化配置,电子设备确定音频通路初始化配置完成后,打开音频通路,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,减少了开机音播放所占用的时间,从而减少了电子设备的开机时间。In the start-up sound playback device provided by the embodiments of the present invention, after the electronic device starts the kernel program, the audio path is initialized and configured. After the electronic device determines that the audio path is initialized and configured, the audio path is opened, and the electronic device directly Calling the bottom interface of the kernel program to play the startup sound reduces the time taken for playing the startup sound, thereby reducing the startup time of the electronic device.
可选的,配置单元4011,具体用于启动音频控制功能及音频数据处理功能。Optionally, the configuration unit 4011 is specifically configured to start an audio control function and an audio data processing function.
配置单元4011,具体还用于通过音频控制功能创建音频控制节点,通过音频数据处理功能创建开机音播放节点。The configuration unit 4011 is also specifically configured to create an audio control node through the audio control function, and create a start-up sound playback node through the audio data processing function.
可选的,控制单元4012,具体用于通过音频控制节点直接调用内核程序的底层接口将音频控制通路调整为预设音频控制通路,音频控制通路为音频通路中实现音频控制功能的通路,预设音频控制通路为播放开机音所使用的音频控制通路。Optionally, the control unit 4012 is specifically used to directly call the underlying interface of the kernel program through the audio control node to adjust the audio control channel to a preset audio control channel. The audio control channel is a channel for implementing audio control functions in the audio channel. The audio control channel is the audio control channel used for playing the startup sound.
控制单元4012,具体还用于通过音频控制节点直接调用内核程序的底层接口将预设音频控制通路与音频数据处理通路连接起来,音频数据处理通路为音频通路中实现音频数据处理功能的通路。The control unit 4012 is also specifically used to directly call the underlying interface of the kernel program through the audio control node to connect the preset audio control channel with the audio data processing channel. The audio data processing channel is a channel in the audio channel that realizes the audio data processing function.
可选的,配置单元4011,具体用于音频控制芯片及音频数据处理芯片进行初始化,其中,音频控制芯片用于实现音频控制功能,音频数据处理芯片用于实现音频数据处理功能。Optionally, the configuration unit 4011 is specifically used for initializing the audio control chip and the audio data processing chip, wherein the audio control chip is used to realize the audio control function, and the audio data processing chip is used to realize the audio data processing function.
可选的,控制单元4012,还用于在电子设备完成开机音播放后,关闭音频通路。Optionally, the control unit 4012 is also configured to close the audio channel after the electronic device finishes playing the startup sound.
本发明的实施例提供的开机音播放装置,通过电子设备启动音频控制功能及音频数据处理功能,电子设备创建音频控制节点及开机音播放节点,电子设备通过音频控制节点调用内核程序的底层接口将音频控制通路调整为预设音频控制通路,电子设备通过音频控制节点调用内核程序的底层接口将预设音频控制通路与音频数据处理通路连接起来,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,电子设备完成开机音播放后,关闭音频通路,减少了开机音播放所占用的时间,从而减少了电子设备的开机时间。The start-up sound playback device provided by the embodiments of the present invention starts the audio control function and the audio data processing function through the electronic device, the electronic device creates an audio control node and a start-up sound playback node, and the electronic device calls the bottom interface of the kernel program through the audio control node. The audio control path is adjusted to the preset audio control path, and the electronic device calls the bottom interface of the kernel program through the audio control node to connect the preset audio control path with the audio data processing path, and the electronic device directly calls the bottom layer of the kernel program through the preset player The interface plays the start-up sound, and after the electronic device finishes playing the start-up sound, the audio channel is closed, which reduces the time taken for playing the start-up sound, thereby reducing the start-up time of the electronic device.
本发明的实施例提供另一种开机音播放装置5001,参照图5所示,该设备可以嵌入或本身就是微处理计算机,比如:通用计算机、客户定制机、手机终端或平板机等便携设备,该开机音播放装置5001包括:至少一个处理器5011、存储器5012和总线5013、该至少一个处理器5011、存储器5012通过总线5013连接并完成相互间的通信。Embodiments of the present invention provide another startup sound playback device 5001, as shown in FIG. The startup sound playback device 5001 includes: at least one processor 5011, a memory 5012 and a bus 5013. The at least one processor 5011 and the memory 5012 are connected through the bus 5013 to complete mutual communication.
该总线5013可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component,外部设备互连)总线或EISA(Extended Industry Standard Architecture,扩展工业标准体系结构)总线等。该总线5013可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 5013 may be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component, external device interconnection) bus, or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus 5013 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 5 , but it does not mean that there is only one bus or one type of bus. in:
存储器5012用于执行本发明方案的应用程序代码,执行本发明方案的应用程序代码保存在存储器中,并由处理器5011来控制执行。The memory 5012 is used to execute the application program code of the solution of the present invention, and the application program code for executing the solution of the present invention is stored in the memory, and is executed under the control of the processor 5011 .
该存储器可以是只读存储器ROM或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器EEPROM、只读光盘CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。这些存储器通过总线与处理器相连接。The memory can be read-only memory ROM or other types of static storage devices that can store static information and instructions, random access memory RAM or other types of dynamic storage devices that can store information and instructions, or can be electrically erasable and programmable EEPROM read-only memory, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium or other magnetic storage devices, or can be used for Any other medium that carries or stores desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. These memories are connected to the processor via a bus.
处理器5011可能是一个中央处理器5011(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific IntegratedCircuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 5011 may be a central processing unit 5011 (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or configured to implement one or more of the embodiments of the present invention integrated circuit.
处理器5011,用于调用存储器5012中的程序代码,用以执行上述图4对应的装置实施例中配置单元、判断单元及控制单元的操作,具体描述参照图4对应的装置实施例,这里不再赘述。The processor 5011 is used to call the program code in the memory 5012 to execute the operations of the configuration unit, the judging unit and the control unit in the device embodiment corresponding to FIG. Let me repeat.
本发明的实施例提供的开机音播放装置,通过电子设备启动音频控制功能及音频数据处理功能,电子设备创建音频控制节点及开机音播放节点,电子设备通过音频控制节点调用内核程序的底层接口将音频控制通路调整为预设音频控制通路,电子设备通过音频控制节点调用内核程序的底层接口将预设音频控制通路与音频数据处理通路连接起来,电子设备通过预设播放器直接调用内核程序的底层接口播放开机音,电子设备完成开机音播放后,关闭音频通路,减少了开机音播放所占用的时间,从而减少了电子设备的开机时间。The start-up sound playback device provided by the embodiments of the present invention starts the audio control function and the audio data processing function through the electronic device, the electronic device creates an audio control node and a start-up sound playback node, and the electronic device calls the bottom interface of the kernel program through the audio control node. The audio control path is adjusted to the preset audio control path, and the electronic device calls the bottom interface of the kernel program through the audio control node to connect the preset audio control path with the audio data processing path, and the electronic device directly calls the bottom layer of the kernel program through the preset player The interface plays the start-up sound, and after the electronic device finishes playing the start-up sound, the audio channel is closed, which reduces the time taken for playing the start-up sound, thereby reducing the start-up time of the electronic device.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM(Random Access Memory,随机存储器)、ROM(Read OnlyMemory,只读内存)、EEPROM(Electrically Erasable Programmable ReadOnly Memory,电可擦可编程只读存储器)、CD-ROM(Compact DiscRead Only Memory,即只读光盘)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、DSL(Digital Subscriber Line,数字用户专线)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘和碟包括CD(Compact Disc,压缩光碟)、激光碟、光碟、DVD碟(Digital Versatile Disc,数字通用光)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Take this as an example but not limited to: computer-readable media can include RAM (Random Access Memory, random access memory), ROM (Read Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable ReadOnly Memory, electrically erasable programmable read-only memory) ), CD-ROM (Compact DiscRead Only Memory, that is, CD-ROM) or other optical disk storage, magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can Any other media accessed by a computer. also. Any connection can suitably be a computer-readable medium. For example, if the Software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL (Digital Subscriber Line), or wireless technologies such as infrared, radio, and microwave, Coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are then included in the fixation of the associated medium. As used herein, discs and discs include CDs (Compact Discs, compact discs), laser discs, optical discs, DVDs (Digital Versatile Discs, Digital Versatile Discs), floppy discs, and Blu-ray discs, where discs usually reproduce data magnetically, Discs use lasers to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410225051.4A CN104007969A (en) | 2014-05-26 | 2014-05-26 | Booting sound playing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410225051.4A CN104007969A (en) | 2014-05-26 | 2014-05-26 | Booting sound playing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104007969A true CN104007969A (en) | 2014-08-27 |
Family
ID=51368636
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410225051.4A Pending CN104007969A (en) | 2014-05-26 | 2014-05-26 | Booting sound playing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104007969A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106101393A (en) * | 2016-05-31 | 2016-11-09 | 努比亚技术有限公司 | A kind of start the tinkle of bells playing device, method and mobile terminal |
| CN106792334A (en) * | 2016-12-23 | 2017-05-31 | 深圳市火乐科技发展有限公司 | A kind of display device and its control method with Baffle Box of Bluetooth |
| CN107333179A (en) * | 2017-06-27 | 2017-11-07 | 青岛海信电器股份有限公司 | A kind of player method and device of video of starting shooting |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101561761A (en) * | 2008-04-17 | 2009-10-21 | 英业达股份有限公司 | Computer device with audio playing circuit and starting method thereof |
| CN101770377A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for realizing function of computing equipment and computing equipment |
| CN103260084A (en) * | 2013-04-11 | 2013-08-21 | 北京歌华有线电视网络股份有限公司 | Digital TV set-top box turning-on method and system |
-
2014
- 2014-05-26 CN CN201410225051.4A patent/CN104007969A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101561761A (en) * | 2008-04-17 | 2009-10-21 | 英业达股份有限公司 | Computer device with audio playing circuit and starting method thereof |
| CN101770377A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for realizing function of computing equipment and computing equipment |
| CN103260084A (en) * | 2013-04-11 | 2013-08-21 | 北京歌华有线电视网络股份有限公司 | Digital TV set-top box turning-on method and system |
Non-Patent Citations (3)
| Title |
|---|
| ZJJDYB: ""audio简介"", 《BLOG.CSDN.NET/ZJJDYB/ARTICLE/DETAILS/17584547》 * |
| 无才顽石: ""Andriod 4.4 Kitkat音频实现及简要分析"", 《BLOG.CSDN.NET/JINGXIA2008/ARTICLE/DETAILS/26701899》 * |
| 王峻: ""基于Android系统的音频架构"", 《电声技术》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106101393A (en) * | 2016-05-31 | 2016-11-09 | 努比亚技术有限公司 | A kind of start the tinkle of bells playing device, method and mobile terminal |
| CN106101393B (en) * | 2016-05-31 | 2020-12-04 | 崔祺 | A device, method and mobile terminal for playing a boot ringtone |
| CN106792334A (en) * | 2016-12-23 | 2017-05-31 | 深圳市火乐科技发展有限公司 | A kind of display device and its control method with Baffle Box of Bluetooth |
| CN107333179A (en) * | 2017-06-27 | 2017-11-07 | 青岛海信电器股份有限公司 | A kind of player method and device of video of starting shooting |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3267437B1 (en) | Interactive peripheral device for television karaoke. | |
| TWI511127B (en) | Wireless device and method for providing supplemental audio signal processing and related non-transitory computer-accessible memory medium | |
| CN105516897A (en) | Method and device for one-key establishment of communication connection between Bluetooth devices | |
| CN111599358A (en) | Voice interaction method and electronic equipment | |
| CN104267924A (en) | Mobile terminal and audio processing method thereof | |
| WO2022053062A1 (en) | Method and terminal for managing iot device | |
| JP2020042799A (en) | Earset control method and system | |
| CN115066877B (en) | Electronic device and method for identifying an audio output device connected to a USB Type-C connector | |
| WO2018152679A1 (en) | Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system | |
| CN103596155A (en) | Method for providing voice call using text data and electronic device thereof | |
| WO2022048020A1 (en) | Bluetooth speaker control method and system, storage medium, and mobile terminal | |
| CN105307078B (en) | Sound box management method and user terminal | |
| CN106878915A (en) | Playing device control method, device, playing device, and mobile terminal | |
| CN104007969A (en) | Booting sound playing method and device | |
| CN106604204B (en) | A method and system for remote bluetooth control terminal application | |
| US10827271B1 (en) | Backward compatibility for audio systems and methods | |
| CN110086941B (en) | Voice playing method and device and terminal equipment | |
| CN104572007A (en) | Method for adjusting sound volume of terminal | |
| CN106488045A (en) | Control method and control device | |
| CN106657675B (en) | Method and system for playing mobile terminal audio and video through Bluetooth playing device | |
| CN105392087B (en) | A speaker management method and user terminal | |
| CN107566595A (en) | Volume control method, device and storage medium of mobile terminal and mobile terminal | |
| CN205430585U (en) | Sound effect processing system for external sound card | |
| CN106445456A (en) | TTS audio data transmission method and device for navigation function | |
| CN106528037B (en) | A kind of audio-frequency processing method and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140827 |
|
| RJ01 | Rejection of invention patent application after publication |