CN104007969A - Booting sound playing method and device - Google Patents

Booting sound playing method and device Download PDF

Info

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 frequency
frequency control
electronic equipment
voice
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410225051.4A
Other languages
Chinese (zh)
Inventor
郑伟波
肖倩
商士栋
孙哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201410225051.4A priority Critical patent/CN104007969A/en
Publication of CN104007969A publication Critical patent/CN104007969A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a booting sound playing method and device and relates to the electron field. The booting sound playing method and device are capable of improving the booting speed of electronic equipment. The concrete scheme includes that after the electronic equipment starts a kernel program, the electronic equipment carries out initial configuration on an audio channel, after the electronic equipment determines that the initial configuration for the audio channel is finished, the electronic equipment opens the audio channel and directly calls a lower layer interface of the kernel program through presetting a player to play the booting sound. The booting sound playing method and device are used for playing the booting sound.

Description

A kind of start sound player method and device
Technical field
The present invention relates to electronic applications, relate in particular to a kind of start sound player method and device.
Background technology
At present, electronic equipment has been penetrated into the every aspect of people life, and such as the most common smart mobile phone, panel computer etc. in life, these electronic equipments provide many facilities in various occasions for people.How reducing the on time of electronic equipment, thereby reduce user's stand-by period, is to promote user to experience one of the factor that need to consider.
Electronic equipment is realized the process that start sound is play in the time of start, need to take certain on time.State in realization in the process of start sound playing function, inventor's discovery, prior art is play the method for start sound by media server (Mediaserver), need to first wait for that media server starts, the sound of then starting shooting broadcasting.The startup of media server need to take the regular hour, causes the method for this realization start sound playing function to have the long problem of holding time.
Summary of the invention
Embodiments of the invention provide a kind of start sound player method and device, can reduce the on time of electronic equipment.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, a kind of start sound player method, comprising:
Electronic equipment starts after kernel program, and voice-frequency channel is carried out to initial configuration, in the operating system that described kernel program is described electronic equipment for realizing the kernel program of system resource management;
Described electronic equipment is opened described voice-frequency channel after determining that described voice-frequency channel initial configuration completes;
The physical layer interface that described electronic equipment directly calls described kernel program by default player is play start sound, and described default player is the audio player that can directly call the physical layer interface of described kernel program.
In conjunction with first aspect, in the possible implementation of the first, described voice-frequency channel is carried out to initial configuration, comprising:
Described electronic equipment starts audio frequency control function and voice data processing capacity;
Described electronic equipment creates audio frequency control node by described audio frequency control function, creates start sound broadcast nodes by described voice data processing capacity.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described in open described voice-frequency channel, comprising:
Audio frequency control path is adjusted into default audio frequency control path by described electronic equipment directly calls described kernel program physical layer interface by described audio frequency control node, described audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, the audio frequency control path that described default audio frequency control path uses for broadcasting start sound;
Described electronic equipment directly calls described kernel program physical layer interface by described audio frequency control node couples together described default audio frequency control path and voice data processing path, and it is the path of realizing voice data processing capacity in voice-frequency channel that described voice data is processed path.
In conjunction with the possible implementation of the first of first aspect, in the third possible implementation, described electronic equipment starts audio frequency control function and voice data processing capacity, comprising:
Described electronic equipment carries out initialization to audio control chip and voice data process chip, and wherein, described audio control chip is used for realizing described audio frequency control function, and described voice data process chip is used for realizing described voice data processing capacity.
In conjunction with first aspect, to any in the third possible implementation of first aspect, in the 4th kind of possible implementation, described method also comprises:
Described electronic equipment completes after the broadcasting of start sound, closes described voice-frequency channel.
Second aspect, a kind of start sound playing device, comprising:
Dispensing unit, for starting after kernel program at electronic equipment, carries out initial configuration to voice-frequency channel, in the operating system that described kernel program is described electronic equipment for realizing the kernel program of system resource management;
Control module, after determining that at described electronic equipment described voice-frequency channel initial configuration completes, opens described voice-frequency channel;
Described control module, also plays start sound for the physical layer interface that directly calls described kernel program by default player, and described default player is the audio player that can directly call described kernel program physical layer interface.
In conjunction with second aspect, in the possible implementation of the first,
Described dispensing unit, specifically for starting audio frequency control function and voice data processing capacity;
Described dispensing unit, specifically also for creating audio frequency control node by described audio frequency control function, creates start sound broadcast nodes by described voice data processing capacity.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second,
Described control module, specifically for the physical layer interface that directly calls described kernel program by described audio frequency control node, audio frequency control path is adjusted into default audio frequency control path, described audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, the audio frequency control path that described default audio frequency control path uses for broadcasting start sound;
Described control module, specifically also for the physical layer interface that directly calls described kernel program by described audio frequency control node, described default audio frequency control path and voice data processing path are coupled together, it is the path of realizing voice data processing capacity in voice-frequency channel that described voice data is processed path.
In conjunction with the possible implementation of the first of second aspect, in the third possible implementation,
Described dispensing unit, carries out initialization specifically for audio control chip and voice data process chip, and wherein, described audio control chip is used for realizing described audio frequency control function, and described voice data process chip is used for realizing described voice data processing capacity.
In conjunction with second aspect to any in the third possible implementation of second aspect, in the 4th kind of possible implementation,
Described control module, also, for completing at described electronic equipment after the broadcasting of start sound, closes described voice-frequency channel.
Prior art is play the method for start sound by media server, after kernel program starts, need to wait for that media server starts, and the sound of then starting shooting is play.The startup of media server need to take the regular hour, causes the method for this realization start sound playing function to have the long problem of holding time.Start sound player method and device that the embodiment of the present invention provides, by starting after kernel program at electronic equipment, voice-frequency channel is carried out to initial configuration, after electronic equipment determines that voice-frequency channel initial configuration completes, open voice-frequency channel, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, plays start sound without waiting for after media server starts again, and has therefore reduced the on time of electronic equipment.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The one start sound player method schematic flow sheet that Fig. 1 provides for embodiments of the invention;
The another kind start sound player method schematic flow sheet that Fig. 2 provides for embodiments of the invention;
A kind of start sound and synchronous method flow schematic diagram of playing of boot animation realized that Fig. 3 provides for embodiments of the invention;
The one start sound playing device that Fig. 4 provides for embodiments of the invention;
The another kind start sound playing device that Fig. 5 provides for embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments of the invention provide a kind of start sound player method, with reference to Fig. 1, comprise the following steps:
101, electronic equipment starts after kernel program, and voice-frequency channel is carried out to initial configuration.
Wherein, in the operating system that kernel program is electronic equipment for realizing the kernel program of system resource management.Voice-frequency channel is the transmission channel of sound signal in electronic equipment.Initial configuration comprises the audio frequency control function and the voice data processing capacity that start voice-frequency channel.
Optionally, electronic equipment can be smart mobile phone, panel computer etc., taking smart mobile phone as example, a smart mobile phone sound intermediate frequency path comprises at least one transmission channel, and different transmission channels for realizing different functions, for example, is conversed, play music, listen to FM receiver etc.
102, after electronic equipment determines that voice-frequency channel initial configuration completes, open voice-frequency channel.
Optionally, open voice-frequency channel, comprise audio frequency control path is adjusted, the audio frequency control path after adjusting and voice data processing path are coupled together.Wherein, audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, and it is the path of realizing voice data processing capacity in voice-frequency channel that voice data is processed path.
Optionally, electronic equipment, in the time realizing difference in functionality, by audio frequency control function, is adjusted audio frequency control path, selects different audio frequency control paths, and different audio frequency control paths is realized the control function to different audio transmission channel.In the present embodiment, audio frequency control path is adjusted into default audio frequency control path.Wherein, the audio frequency control path that default audio frequency control path uses for broadcasting start sound.
103, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound.
Wherein, default player is the audio player that can directly call the physical layer interface of kernel program.
Optionally, by kernel program, system resource is managed and called, the physical layer interface that need to call this kernel program provides is realized.Herein, default player, by directly calling the physical layer interface of kernel program, is controlled the voice-frequency channel of opening the voice data of start sound is transmitted, processed, and play start sound.
Prior art is play the method for start sound by media server, after kernel program starts, need to wait for that media server starts, and the sound of then starting shooting is play.The startup of media server need to take the regular hour, causes the method for this realization start sound playing function to have the long problem of holding time.The start sound player method that embodiments of the invention provide, after kernel program starts, realize the playing function of start sound by directly calling physical layer interface that kernel program provides, play again start sound without waiting for after media server starts, therefore reduced start sound and play the shared time.
The start sound player method that the embodiment of the present invention provides, by starting after kernel program at electronic equipment, voice-frequency channel is carried out to initial configuration, after electronic equipment determines that voice-frequency channel initial configuration completes, open voice-frequency channel, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, has reduced start sound and has play the shared time, thereby reduced the on time of electronic equipment.
Based on embodiment corresponding to above-mentioned Fig. 1, embodiments of the invention provide another kind of start sound player method, shown in Fig. 2, comprise the following steps:
201, electronic equipment starts audio frequency control function and voice data processing capacity.
Start audio frequency control function and voice data processing capacity, comprise audio control chip and voice data process chip are carried out to initialization.
Optionally, electronic equipment can be smart mobile phone.The present embodiment carries out exemplary illustration to realize start sound playing function on smart mobile phone.Certainly, this start sound player method that does not represent that embodiments of the invention provide is only applicable to smart mobile phone.The present invention does not limit the specific category of electronic equipment.
Audio control chip is used for realizing audio frequency control function, comprises digital signal is converted to simulating signal, analoging sound signal is converted to digital signal, uses different audio frequency control paths in the time realizing difference in functionality and sound signal is carried out to the functions such as volume control, power amplification.Optionally, audio control chip can be Codec (coding decoder).In a kind of smart mobile phone, after Codec initialization completes, the kernel of operating system is exported following statement in log (journal file):
<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.224997]asoc:msm-stub-rx<->msm-dai-q6.4108mapping?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
Therefore in the time there is above statement in log, represent that Codec initialization completes.
Voice data process chip is used for realizing voice data processing capacity, and voice data process chip can be ADSP (audio digital signal processor, Audio Digital Signal Processor).In a kind of smart mobile phone, after ADSP initialization completes, the kernel of operating system is exported apr_tal:Q6Is Up statement in log, therefore, in the time there is this statement in log, represents that ADSP initialization completes.
Optionally, Codec and ADSP connect by SLIMbus (serial media bus between low-power consumption sheet, Serial Low-power Inter-chip Media Bus).In a kind of smart mobile phone, after SLIMbus initialization completes, the kernel of operating system output statement in log: LIM SAT:Received master capability, therefore, in the time there is this statement in log, represents that SLIMbus initialization completes.
202, electronic equipment creates audio frequency control node by audio frequency control function, creates start sound broadcast nodes by voice data processing capacity.
After audio frequency control function and the startup of voice data processing capacity, create audio frequency control node and start sound broadcast nodes.Can realize the control to audio frequency control path by audio frequency control node, can realize by start sound broadcast nodes the control that start sound is play.Wherein, voice-frequency channel is the transmission channel of sound signal in electronic equipment.
Optionally, in a kind of smart mobile phone, audio frequency control node is dev/snd/controlC0, and start sound broadcast nodes is dev/snd/pcmC0D0p.Further alternative, by calling mixer_open () function to determine whether two nodes of dev/snd/controlC0 and dev/snd/pcmC0D0p have created, if two nodes have not created, after certain time-delay, again determine by mixer_open () function, until determine that these two nodes have created.
By step 201 and 202, complete the initial configuration of voice-frequency channel.
203, audio frequency control path is adjusted into default audio frequency control path by the physical layer interface that electronic equipment directly calls kernel program by audio frequency control node.
Wherein, in the operating system that kernel program is electronic equipment for realizing the kernel program of system resource management.The physical layer interface that can provide by the kernel program of call operation system is realized the management to system resource and is called.
Audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel.
Optionally, a smart mobile phone sound intermediate frequency path comprises at least one transmission channel, for example loudspeaker transmission channel, and earphone transmission channel, receiver transmission channel, different transmission channels is for realizing different functions.After voice-frequency channel initial configuration completes, voice-frequency channel is in closed condition, and electronic equipment, by audio frequency control function, is adjusted audio frequency control path, can select different audio frequency control paths, different audio frequency control paths is realized the control function to different audio transmission channel.In the present embodiment using loudspeaker transmission channel as playing start transmission channel that sound was used, therefore, using the audio frequency control path of control loudspeaker transmission channel as default audio frequency control path.
Optionally, in a kind of smart mobile phone, the the first audio frequency debugging acid providing by operating system kernel program, directly Audio HAL (the audio hardware level of abstraction of call operation system, Audio Hardware Abstraction Layer) interface, audio frequency control path is adjusted into default audio frequency control path.Wherein, Audio HAL interface is the physical layer interface of operating system kernel program, and Audio HAL realizes the control to voice-frequency channel by audio frequency control node.The first audio frequency debugging acid can be tinymix program, concrete, can use the realization of issuing orders:
tinymix"SLIM?RX1MUX""AIF1_PB"&&
tinymix"SLIM?RX2MUX""AIF1_PB"&&
tinymix"SLIM_0_RX?Channels""Two"&&
tinymix"RX3MIX1INP1""RX2"&&
tinymix"RX5MIX1INP1""RX1"&&
tinymix"RDAC5MUX""DEM3_INV"&&
tinymix"RDAC7MUX""DEM5_INV"
The selection of specific instructions, need to arrange according to different audio control chip, and above order is the exemplary illustration carrying out for a codec.
The program that the present invention calls kernel program physical layer interface specific implementation does not limit.The program that can use operating system kernel program to provide, also can be used according to the program of different hardware platforms and operating system independent development.
204, the physical layer interface that electronic equipment directly calls kernel program by audio frequency control node will be preset audio frequency control path and voice data and process path and couple together.
Wherein, voice data processing path is the path of realizing voice data processing capacity in voice-frequency channel.
Optionally, in a kind of smart mobile phone, use the first audio frequency debugging acid tinymix program, the directly Audio HAL interface of call operation system, will preset audio frequency control path and voice data processing path couples together.Concrete, can use the realization of issuing orders:
tinymix"SLIMBUS_0_RX?Audio?Mixer?MultiMedia1"1
After default audio frequency control path and voice data processing path couple together, voice-frequency channel is opened, and then can realize start sound by this voice-frequency channel and play.
205, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound.
Wherein, default player is the audio player that can directly call kernel program physical layer interface.
Optionally, in a kind of smart mobile phone, the the second audio frequency debugging acid tinyplay program being provided using operating system kernel program is as default player, and this audio frequency debugging acid is the Audio HAL Interface realization start sound playing function of call operation system directly.Wherein, Audio HAL realizes the control that start sound is play by audio frequency broadcast nodes.
The present invention does not limit the concrete audio player that kernel program physical layer interface is called of can realizing.The program that can use operating system kernel program to provide, also can be used according to the program of different hardware platforms and operating system independent development.
206, electronic equipment completes after the broadcasting of start sound, closes voice-frequency channel.
After start sound is play and finished, voice-frequency channel can not closed automatically.In a kind of use scenes, using loudspeaker transmission channel as playing the start transmission channel that sound was used, inserting after earphone start, voice-frequency channel is in open mode, if now use music playback function, all open due to earpiece audio transmission channel and loudspeaker audio transmission channel, earphone and loudspeaker have sound to send.Therefore, after finishing playing, start sound closes voice-frequency channel.
Optionally, in a kind of smart mobile phone, use tinymix program, by issue orders to close voice-frequency channel:
tinymix"SLIMBUS_0_RX?Audio?Mixer?MultiMedia1"0&&
tinymix"SLIM?RX2MUX""ZERO"&&
tinymix"SLIM_0_RX?Channels""One"&&
tinymix"RX3MIX1INP1""ZERO"&&
tinymix"RX5MIX1INP1""ZERO"&&
tinymix"RDAC5MUX""DEM4"&&
tinymix"RDAC7MUX""DEM6"
Optionally, the present embodiment is specifically described the specific implementation of start sound playing function as an example of a kind of smart mobile phone example.Open voice-frequency channel, complete the broadcasting of start sound by playBootSound () function, after the broadcasting of start sound finishes, close start sound by shutAudioDevice () function and play the voice-frequency channel using.Bootanimation module is by calling playBootSound () function and shutAudioDevice () function, realizes the broadcasting of start sound and plays the function of closing voice-frequency channel after finishing at start sound.Be implemented as follows:
Preferably, in the time playing start sound, can play boot animation simultaneously.With reference to Fig. 3, Fig. 3 is a kind of process flow diagram of start shooting sound and boot animation synchronous broadcast method.Play synchronously for make to start shooting sound and boot animation, in different threads, realize that start sound is play and boot animation broadcasting.In the first thread, complete the initial configuration to voice-frequency channel, and open voice-frequency channel, the sound that is ready to start shooting is play, in the second thread, complete the parsing storage to boot animation file, then, when the first thread starts to play start sound, the second thread starts to play boot animation, thereby has realized the synchronous broadcasting of start sound and boot animation.
Prior art is play the method for start sound by media server, after operating system kernel program starts, need to wait for that media server starts, and the sound of then starting shooting is play.The startup of media server need to take the regular hour, causes the method for this realization start sound playing function to have the long problem of holding time.The start sound player method that embodiments of the invention provide, after operating system kernel program starts, the audio frequency debugging acid providing by operating system, directly call the playing function of Audio HAL Interface realization start sound, play again start sound without waiting for after media server starts, therefore reduced start sound and play the shared time.
The start sound player method that embodiments of the invention provide, start audio frequency control function and voice data processing capacity by electronic equipment, electronic equipment creates audio frequency control node and start sound broadcast nodes, audio frequency control path is adjusted into default audio frequency control path by pre-set programs is called kernel program physical layer interface by audio frequency control node, the physical layer interface that pre-set programs is called kernel program by audio frequency control node will be preset audio frequency control path and voice data and process path and couple together, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, electronic equipment completes after the broadcasting of start sound, close voice-frequency channel, reduce start sound and play the shared time, thereby reduce the on time of electronic equipment.
Embodiments of the invention provide a kind of start sound playing device 401, and shown in Fig. 4, this start sound playing device 401 comprises dispensing unit 4011 and control module 4012.
Wherein, dispensing unit 4011, for starting after kernel program at electronic equipment, carries out initial configuration to voice-frequency channel, in the operating system that kernel program is electronic equipment for realizing the kernel program of system resource management.
Control module 4012, after determining that at electronic equipment voice-frequency channel initial configuration completes, opens voice-frequency channel.
Control module 4012, also plays start sound for the physical layer interface that directly calls kernel program by default player, and default player is the audio player that can directly call kernel program physical layer interface.
The start sound playing device that embodiments of the invention provide, by starting after kernel program at electronic equipment, voice-frequency channel is carried out to initial configuration, after electronic equipment determines that voice-frequency channel initial configuration completes, open voice-frequency channel, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, has reduced start sound and has play the shared time, thereby reduced the on time of electronic equipment.
Optionally, dispensing unit 4011, specifically for starting audio frequency control function and voice data processing capacity.
Dispensing unit 4011, specifically also for creating audio frequency control node by audio frequency control function, creates start sound broadcast nodes by voice data processing capacity.
Optionally, control module 4012, specifically for the physical layer interface that directly calls kernel program by audio frequency control node, audio frequency control path is adjusted into default audio frequency control path, audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, the audio frequency control path that default audio frequency control path uses for broadcasting start sound.
Control module 4012, concrete also for directly calling by audio frequency control node, the physical layer interface of kernel program will be preset audio frequency control path and voice data processing path couples together, and it is the path of realizing voice data processing capacity in voice-frequency channel that voice data is processed path.
Optionally, dispensing unit 4011, carries out initialization specifically for audio control chip and voice data process chip, and wherein, audio control chip is used for realizing audio frequency control function, and voice data process chip is used for realizing voice data processing capacity.
Optionally, control module 4012, also, for completing at electronic equipment after the broadcasting of start sound, closes voice-frequency channel.
The start sound playing device that embodiments of the invention provide, start audio frequency control function and voice data processing capacity by electronic equipment, electronic equipment creates audio frequency control node and start sound broadcast nodes, audio frequency control path is adjusted into default audio frequency control path by electronic equipment calls kernel program physical layer interface by audio frequency control node, the physical layer interface that electronic equipment calls kernel program by audio frequency control node will be preset audio frequency control path and voice data and process path and couple together, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, electronic equipment completes after the broadcasting of start sound, close voice-frequency channel, reduce start sound and play the shared time, thereby reduce the on time of electronic equipment.
Embodiments of the invention provide another kind of start sound playing device 5001, shown in Fig. 5, this equipment can embed or itself be exactly micro-process computer, such as portable equipments such as multi-purpose computer, customization machine, mobile phone terminal or purl machines, this start sound playing device 5001 comprises: at least one processor 5011, storer 5012 and bus 5013, this at least one processor 5011, storer 5012 are connected by bus 5013 and complete mutual communication.
This bus 5013 can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component, peripheral component interconnect) bus or EISA (Extended Industry Standard Architecture, extended industry-standard architecture) bus etc.This bus 5013 can be divided into address bus, data bus, control bus etc.For ease of representing, in Fig. 5, only represent with a thick line, but do not represent only to have the bus of a bus or a type.Wherein:
Storer 5012 is for carrying out the present invention program's application code, and the application code of carrying out the present invention program is kept in storer, and controls execution by processor 5011.
This storer can be the static storage device that read only memory ROM maybe can be stored the other types of static information and instruction, random access memory ram or can store the dynamic memory of the other types of information and instruction, also can be EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM, read-only optical disc CD-ROM or other optical disc storage, laser disc storage (comprises compression laser disc, laser dish, laser disc, digital universal laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus, or can be used in carry or store the expectation with instruction or data structure form program code and can be by any other medium of computer access, but be not limited to this.These storeies are connected with processor by bus.
Processor 5011 may be a central processing unit 5011 (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the present invention.
Processor 5011, for calling the program code of storer 5012, in order to carry out the operation of dispensing unit, judging unit and control module in the device embodiment that above-mentioned Fig. 4 is corresponding, specifically describes with reference to device embodiment corresponding to Fig. 4, repeats no more here.
The start sound playing device that embodiments of the invention provide, start audio frequency control function and voice data processing capacity by electronic equipment, electronic equipment creates audio frequency control node and start sound broadcast nodes, audio frequency control path is adjusted into default audio frequency control path by electronic equipment calls kernel program physical layer interface by audio frequency control node, the physical layer interface that electronic equipment calls kernel program by audio frequency control node will be preset audio frequency control path and voice data and process path and couple together, the physical layer interface that electronic equipment directly calls kernel program by default player is play start sound, electronic equipment completes after the broadcasting of start sound, close voice-frequency channel, reduce start sound and play the shared time, thereby reduce the on time of electronic equipment.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize with hardware, or firmware realization, or their array mode realizes.In the time using software to realize, one or more instructions or the code that above-mentioned functions can be stored in computer-readable medium or on computer-readable medium transmit.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit from a place to another place computer program.Storage medium can be any usable medium that computing machine can access.As example but be not limited to: computer-readable medium can comprise RAM (Random Access Memory, random access memory), ROM (Read Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable Read Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)), CD-ROM (Compact Disc Read Only Memory, be read-only optical disc) or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus, or can be used in carry or store the expectation with instruction or data structure form program code and can be by any other medium of computer access.In addition.Any connection can be suitable become computer-readable medium.For example, if software is to use concentric cable, optical fiber cable, twisted-pair feeder, DSL (Digital Subscriber Line, digital subscriber line) or wireless technology such as infrared ray, radio and microwave from website, server or the transmission of other remote source, so concentric cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, wireless and microwave be included under in the photographic fixing of medium.As used in the present invention, dish and dish comprise CD (Compact Disc, compression laser disc), laser dish, laser disc, DVD dish (Digital Versatile Disc, digital universal light), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish carrys out the copy data of optics with laser.Within combination above also should be included in the protection domain of computer-readable medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (10)

1. a start sound player method, is characterized in that, comprising:
Electronic equipment starts after kernel program, and voice-frequency channel is carried out to initial configuration, in the operating system that described kernel program is described electronic equipment for realizing the kernel program of system resource management;
Described electronic equipment is opened described voice-frequency channel after determining that described voice-frequency channel initial configuration completes;
The physical layer interface that described electronic equipment directly calls described kernel program by default player is play start sound, and described default player is the audio player that can directly call described kernel program physical layer interface.
2. method according to claim 1, is characterized in that, described voice-frequency channel is carried out to initial configuration, comprising:
Described electronic equipment starts audio frequency control function and voice data processing capacity;
Described electronic equipment creates audio frequency control node by described audio frequency control function, creates start sound broadcast nodes by described voice data processing capacity.
3. method according to claim 2, is characterized in that, described in open described voice-frequency channel, comprising:
Audio frequency control path is adjusted into default audio frequency control path by described electronic equipment directly calls described kernel program physical layer interface by described audio frequency control node, described audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, the audio frequency control path that described default audio frequency control path uses for broadcasting start sound;
Described electronic equipment directly calls described kernel program physical layer interface by described audio frequency control node couples together described default audio frequency control path and voice data processing path, and it is the path of realizing voice data processing capacity in voice-frequency channel that described voice data is processed path.
4. method according to claim 2, is characterized in that, described electronic equipment starts audio frequency control function and voice data processing capacity, comprising:
Described electronic equipment carries out initialization to audio control chip and voice data process chip, and wherein, described audio control chip is used for realizing described audio frequency control function, and described voice data process chip is used for realizing described voice data processing capacity.
5. according to the method described in claim 1-4 any one, it is characterized in that, described method also comprises:
Described electronic equipment completes after the broadcasting of start sound, closes described voice-frequency channel.
6. a start sound playing device, is characterized in that, comprising:
Dispensing unit, for starting after kernel program at electronic equipment, carries out initial configuration to voice-frequency channel, in the operating system that described kernel program is described electronic equipment for realizing the kernel program of system resource management;
Control module, after determining that at described electronic equipment described voice-frequency channel initial configuration completes, opens described voice-frequency channel;
Described control module, also plays start sound for the physical layer interface that directly calls described kernel program by default player, and described default player is the audio player that can directly call described kernel program physical layer interface.
7. device according to claim 6, is characterized in that,
Described dispensing unit, specifically for starting audio frequency control function and voice data processing capacity;
Described dispensing unit, specifically also for creating audio frequency control node by described audio frequency control function, creates start sound broadcast nodes by described voice data processing capacity.
8. device according to claim 7, is characterized in that,
Described control module, specifically for the physical layer interface that directly calls described kernel program by described audio frequency control node, audio frequency control path is adjusted into default audio frequency control path, described audio frequency control path is the path of realizing audio frequency control function in voice-frequency channel, the audio frequency control path that described default audio frequency control path uses for broadcasting start sound;
Described control module, specifically also for the physical layer interface that directly calls described kernel program by described audio frequency control node, described default audio frequency control path and voice data processing path are coupled together, it is the path of realizing voice data processing capacity in voice-frequency channel that described voice data is processed path.
9. device according to claim 7, is characterized in that,
Described dispensing unit, carries out initialization specifically for audio control chip and voice data process chip, and wherein, described audio control chip is used for realizing described audio frequency control function, and described voice data process chip is used for realizing described voice data processing capacity.
10. according to the device described in claim 6-9 any one, it is characterized in that,
Described control module, also, for completing at described electronic equipment after the broadcasting of start sound, closes described voice-frequency channel.
CN201410225051.4A 2014-05-26 2014-05-26 Booting sound playing method and device Pending CN104007969A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561761A (en) * 2008-04-17 2009-10-21 英业达股份有限公司 Computer device with message playing circuit and starting-up method
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561761A (en) * 2008-04-17 2009-10-21 英业达股份有限公司 Computer device with message playing circuit and starting-up method
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 崔祺 Startup ringtone playing device and 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

Similar Documents

Publication Publication Date Title
US8588849B2 (en) System and method for resuming media
KR101375002B1 (en) Digital mobile communication terminal in dual-mode of cdma and gsm
US10824277B2 (en) Electrical device with piezoelectric elements communicating haptically and audibly with user
CN103412789A (en) Method and system for starting application program as well as mobile terminal
EP3547715A1 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
JP6934076B2 (en) Smart service methods, devices and equipment
CN108600219B (en) Voice control method and device
EP3267437A1 (en) Interactive peripheral device for television karaoke
CN104267924A (en) Mobile terminal and audio processing method thereof
JP2015012612A (en) Method and system for providing ringtone using video multimedia
KR100783113B1 (en) Method for shortened storing of music file in mobile communication terminal
CN104007969A (en) Booting sound playing method and device
CN104301824A (en) Drive-by-wire device, controller, method and device
CN104572007A (en) Method for adjusting sound volume of terminal
CN105828178A (en) Boot music playing method, boot music playing device and boot music playing system
CN103677582A (en) Method for controlling electronic device, and electronic device
EP1783600B1 (en) Method for arbitrating audio data output apparatuses
CN104391742B (en) Optimizing application method and apparatus
CN110035308A (en) Data processing method, equipment and storage medium
CN111050240A (en) Earphone mode switching method and device
CN107040810A (en) Multimedia projection method, terminal and display device
CN110457077B (en) Intelligent service method, device and equipment
CN114023054A (en) Device management method, device, electronic device and computer storage medium
WO2015109844A1 (en) Portable broadband wireless device
US20070067169A1 (en) Method for arbitrating audio data output apparatuses

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