A kind of acoustic control music play system and its playback method for mobile terminal
Technical field
The present invention relates to mobile terminal music playing methods, and in particular to a kind of acoustic control music broadcasting for mobile terminal
System and its playback method.
Background technique
With the continuous development of communication equipment network and computer science, smart phone is no longer only the end of communication network
End will also become the terminal of internet, and mobile terminal user of new generation has the function and performance of mobile device higher
It is required that.Currently, controlling mobile phone with voice is even more one of the necessary functions for being increasingly becoming high-end smartphones.Many special
It in environment, for example drives, or is only seated with loosening, people can wish to liberate both hands sometimes, can manipulate hand by sound
Machine application makes life more convenient.
Summary of the invention
The purpose of the present invention is to provide a kind of acoustic control music play systems and its playback method for mobile terminal, lead to
Setting control processing module, music player and acoustic control module are crossed, user is can be realized and passes through voice input control mobile terminal
The selection for carrying out music plays.The present invention, which can be realized, carries out the selection of music track, the choosing of play mode by user's acoustic control
It selects, and feedback can be carried out to user for selection result;Music can be played out using mobile terminal for user to provide
More convenient and fast implementation liberates both hands, the experience satisfaction for improving user, the convenience degree used.
In order to achieve the above object, the invention is realized by the following technical scheme:
A kind of acoustic control music play system for mobile terminal, acoustic control music play system are arranged in mobile terminal,
Its main feature is that the acoustic control music play system includes:
Control processing module;
Music player is connect with the control processing module;
Acoustic control module is connect with the control processing module.
Preferably, the music player includes:
Music control unit is connect with the control processing module;
Loudspeaker are connect with the music control unit;
Storage unit is connect with the music control unit.
Preferably, the acoustic control module includes:
Audio Processing Unit is connect with the control processing module;
Voice-input unit is connect with the Audio Processing Unit.
Preferably,
User inputs music demand voice, the acoustic control module and the voice for inputting user by the acoustic control module
The control processing module is sent to after being handled;
The music player is carried out for storing various music, song, and according to the control of the control processing module
Music;
The control processing module music demand voice that user is inputted by the acoustic control module for identification leads to
The correspondence music or song stored in music player described in overmatching, and control the music player and carry out music.
A kind of acoustic control music playback method for mobile terminal, its main feature is that, which includes:
S1 likes according to itself, the music and broadcast that user is played by acoustic control modular voice input requirements music player
Mode playback;
S2, the acoustic control module handles the voice of user input information, identify after be sent to control processing module,
The control processing module controls the music player and searches whether the music comprising user demand;When comprising all music or
When song, go to step S3;When not including the song or music of at least one user demand, go to step S4;
S3, according to user demand, the music control unit of the music player calls the music in storage unit, and root
It plays out, terminates according to the play mode that user requires;
S4, the music control unit of the music player send the loudspeaker for searching failure information to the music player,
User's music is prompted to search failure;
Whether S5, user continue to play music information to the control processing module by acoustic control module transmission, are somebody's turn to do
It controls processing module and controls the music player execution user command.
Preferably, the step S1 includes:
The title at least one music that user is played by the voice-input unit input requirements of the acoustic control module,
Play mode and the title for creating this broadcasting;
The play mode includes: shuffle, sequence loop play or single first loop play.
Preferably, the step S2 includes:
The voice that user inputs is sent to the Audio Processing Unit of the acoustic control module by S2.1, the voice-input unit
It is handled, which is successively read out at least one musical designation of input, identifies, by the broadcasting of input
Mode is read out, identifies, the title for creating this broadcasting is read out, is identified;And by after identification musical designation, play
Mode and the title for creating this broadcasting are sent to the control processing module;
S2.2, the control processing module obtains at least one described musical designation and play mode, and controls the sound
The music control unit of happy player searches the music or song whether needed comprising all users in storage unit;
S2.3 jumps to the step S3 when the music control unit finds all music or song;When this
Music control unit find at least a piece of music be not present with the storage unit when, jump to the step S4.
Preferably, the step S3 includes:
The music control unit inputs the sequence of music or song according to user, successively calls the phase of the storage unit
Answer music or song to form playlist, this name played of user's input be referred to as names of playlists and is claimed, and according to
The play mode of family input, control loudspeaker carry out music.
Preferably, the step S4 includes:
S4.1, when all music are not found in the storage unit, the music control unit will own
Musical designation be sent to the loudspeaker as failure information is searched, for prompting all music of user to search failure, terminate;
S4.2, when part music is not found in the storage unit, the music control unit is not looked into all
Whether the musical designation that finds continues to play the music found as failure information is searched and is sent to the loudspeaker, is used for
It prompts User Part music to search failure, jumps to the step S5.
Preferably, the step S5 includes:
When user needs to continue to play the music searched, continue to play music information by acoustic control module transmission
To the control processing module, which controls the music control unit according to the musical designation shape found
At playlist, this name played of user's input is referred to as names of playlists and is claimed, and according to the broadcasting mould of user's transmission
Formula controls the loudspeaker and carries out music;
When user is not required to continue to play the music searched, sends to play by the acoustic control module and cancel information to institute
Control processing module is stated, which sends mandatum cassatorium to the music player, cancels and plays music.
Compared with the prior art, the present invention has the following advantages:
A kind of acoustic control music play system and its playback method for mobile terminal disclosed by the invention is arranged at control
Module, music player and acoustic control module are managed, it includes customized play list, play mode that user inputs to acoustic control module
Voice command controls music player by control processing module and carries out the selection of music track, broadcasting.The present invention can be realized
User carries out the selection of music track, the selection of play mode by acoustic control, and selection result can be carried out to user
Feedback;Music capable of being played out using mobile terminal for user and more convenient and fast implementation being provided, liberation both hands improve user
To the service efficiency of mobile terminal, the experience satisfaction for improving user, the convenience degree used.
Detailed description of the invention
Fig. 1 is a kind of overall structure diagram of the acoustic control music play system for mobile terminal of the present invention.
Fig. 2 is a kind of one of partial structural diagram of the acoustic control music play system for mobile terminal of the present invention.
Fig. 3 is the two of a kind of partial structural diagram of the acoustic control music play system for mobile terminal of the present invention.
Fig. 4 is a kind of overall flow figure of the acoustic control music playback method for mobile terminal of the present invention.
Specific embodiment
The present invention is further elaborated by the way that a preferable specific embodiment is described in detail below in conjunction with attached drawing.
As shown in Figure 1, a kind of acoustic control music play system for mobile terminal, acoustic control music play system setting exists
In mobile terminal.The acoustic control music play system includes: control processing module 1 and the music connecting with control processing module 1 are broadcast
Put device 3, acoustic control module 2.
In the present invention, user inputs music demand voice by acoustic control module 2, which inputs user
Voice handled after be sent to control processing module 1.Music player 3 is used to store various music, song, and according to control
The control of processing module 1 processed carries out music.
Controlling processing module 1, user passes through the music demand voice that acoustic control module 2 inputs for identification, passes through matching
The correspondence music or song stored in music player 3, and control music player 3 and carry out music.
As shown in Fig. 2, acoustic control module 2 includes: Audio Processing Unit 22, voice-input unit 21.Audio Processing Unit 22
Input terminal connect with voice-input unit 21, the output end of Audio Processing Unit 22 is connect with control processing module 1.
In the present invention, voice command of the user by the input of voice-input unit 21 comprising musical designation, play mode.Language
Sound processing unit 22 obtains user and passes through the voice command that voice-input unit 21 inputs, and the voice command is carried out processing knowledge
Not, the information that control processing module can identify is generated.
As shown in figure 3, music player 3 includes: music control unit 31, storage unit 32 and loudspeaker 33.Music control
Unit 31 is connect with loudspeaker 33, storage unit 32 respectively, while music control unit 31 is connect with control processing module 1.
In the present invention, storage unit 32 is for storing more songs or song.Music control unit 31 is for obtaining control
The matching instruction that processing module 1 is sent, the musical designation of user demand is matched with the music in storage unit 32, and shape
At playlist, loudspeaker 33 are controlled according to the play mode that user requires and carry out music.
As shown in figure 4, a kind of acoustic control music playback method for mobile terminal, which includes:
S1, according to itself like, user by 2 voice input requirements music player 3 of acoustic control module play music and
Play mode.Step S1 includes:
The title at least one music that user is played by 21 input requirements of voice-input unit of acoustic control module 2, broadcast
Mode playback and the title for creating this broadcasting.Play mode includes: shuffle, sequence loop play or single first circulation are broadcast
It puts.
Before step S1, control processing module 1 first judges whether mobile terminal has had been switched on speech identifying function;Not
When opening speech identifying function, when user inputs voice command by acoustic control module 2, acoustic control module 2 not can be carried out identification.Cause
This, before executing step S1, control processing module 1 controls acoustic control module 2 and opens, so as to realize main function of the invention
Energy.
S2, acoustic control module 2 handles the voice of user input information, identify after be sent to control processing module 1, control
Processing module 1 processed controls music player 3 and searches whether the music comprising user demand;When comprising all music or when song,
Go to step S3;When not including the song or music of at least one user demand, go to step S4.Step S2 packet
Contain:
S2.1, voice-input unit 21 by the voice that user inputs be sent to the Audio Processing Unit 22 of acoustic control module 2 into
Row processing, which is successively read out at least one musical designation of input, identifies, by the broadcasting of input
Mode is read out, identifies, the title for creating this broadcasting is read out, is identified;And by after identification musical designation, play
Mode and the title for creating this broadcasting are sent to control processing module 1.
S2.2, control processing module 1 obtains at least one musical designation and play mode, and controls music player 3
Music control unit 31 searches the music or song whether needed comprising all users in storage unit 32.
In the present invention, the music of control processing module 1 at least one musical designation that user input and happy player 3 into
Row matched and searched searches out and requires control music control unit 31 after consistent music to record with user.
S2.3, when music control unit 31 finds all music or song, go to step S3;When the music control
Unit 31 processed find at least a piece of music be not present with storage unit 32 when, go to step S4.
S3, according to user demand, the music control unit 31 of music player 3 calls the music in storage unit 32, and
It is played out, is terminated according to the play mode that user requires.Step S3 includes:
Music control unit 31 inputs the sequence of music or song according to user, successively calls the corresponding sound of storage unit 32
Happy or song forms playlist, this name played of user's input is referred to as names of playlists and is claimed, and is defeated according to user
The play mode entered, control loudspeaker 33 carry out music.
In the present embodiment, music control unit 31 is used to record user and inputs all music or song title and its suitable
Sequence to form playlist, and controls loudspeaker according to the music in playlist broadcasting storage unit 32.
S4, the music control unit 31 of music player 3 send the loudspeaker for searching failure information to the music player 3
33, prompt user's music to search failure.Step S4 includes:
S4.1, when all music are not found in storage unit 32, music control unit 31 is by all sounds
Happy name is referred to as lookup failure information and is sent to loudspeaker 33, for prompting all music of user to search failure, terminates.
S4.2, when part music is not found in storage unit 32, music control unit 31 is not found all
Musical designation, whether continue to play the music that has found as failure information is searched and be sent to loudspeaker 33, used for prompting
Ministry of Revenue's partial is happy to search failure, and go to step S5.
In the present embodiment, loudspeaker 33 play out the musical designation not found, allow users to which sound of accurate judgement
Happy or song is not present in mobile terminal, determines whether the broadcasting for carrying out remainder music.
S5, user sends whether continue to play music information extremely control processing module 1 by acoustic control module 2, at the control
It manages module 1 and controls the execution user command of music player 3.Step S5 includes:
S5.1 continues to play music letter by the transmission of acoustic control module 2 when user needs to continue to play the music searched
Breath to control processing module 1, the control processing module 1 control music control unit 31 is formed according to the musical designation found
This name played of user's input is referred to as names of playlists and claimed by playlist, and according to the play mode of user's transmission
It controls loudspeaker 33 and carries out music.
S5.2 is sent to play by acoustic control module 2 and cancels information extremely when user is not required to continue to play the music searched
Processing module 1 is controlled, which sends mandatum cassatorium to music player 3, cancel and play music.
According to step S3, S5.1, the present invention is also comprised the following steps:
When user needs to suspend or stops music, user includes pause or stop tone by the input of acoustic control module 2
The happy voice command played, acoustic control module 2 handled the voice command, identify after be sent to control processing module 1 after, control
Processing module 1 processed controls the pause of music control unit 31 of music player 3 or stops the broadcasting of music.
When user needs to play the playlist of above-mentioned formation again, user crosses the input of acoustic control module 2 and includes played column
The voice command of table name, acoustic control module 2 handled the voice command, identify after be sent to control processing module 1 after, control
The music control unit 31 that processing module 1 processed controls music player 3 carries out the broadcasting again of music.
It is discussed in detail although the contents of the present invention have passed through above preferred embodiment, but it should be appreciated that above-mentioned
Description is not considered as limitation of the present invention.After those skilled in the art have read above content, for of the invention
A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.