Summary of the invention
Main purpose of the present invention is to provide a kind of audio data play method based on intelligent television, intelligent television and system, is intended to effectively manage the playing sequence of the voice data that different external equipment sends.
For achieving the above object, a kind of audio data play method based on intelligent television provided by the invention, said method comprising the steps of:
Intelligent television receives the first audio-frequency information of the first external equipment transmission and the second audio-frequency information of the second external equipment transmission, wherein, described first audio-frequency information comprises mark and first voice data of described first external equipment, and described second audio-frequency information comprises mark and the second audio data of described second external equipment;
Distinguish based on the mark of described first external equipment and the mark of described second external equipment and store described first voice data and described second audio data;
Described first voice data relatively stored and the size of described second audio data, the priority playing sequence ascending by data is play described first voice data and described second audio data.
Preferably, described first external equipment is mobile terminal, and described second external equipment is remote controller.
Preferably, describedly compare described first voice data of storage and the size of described second audio data, also comprise before the step described first voice data and described second audio data play by the ascending priority playing sequence of data:
Judge whether described first external equipment and described second external equipment are preset with and play priority accordingly;
If so, then play priority sequence accordingly according to described first external equipment preset and described second external equipment to play described first voice data and described second audio data;
If not, then execution compares described first voice data of storage and the size of described second audio data, the step play described first voice data and described second audio data by the priority playing sequence that data are ascending.
In addition, for achieving the above object, the present invention also provides a kind of intelligent television of playing audio-fequency data, and the intelligent television of described playing audio-fequency data comprises:
Receiver module, for the second audio-frequency information that the first audio-frequency information and the second external equipment that receive the first external equipment transmission send, wherein, described first audio-frequency information comprises mark and first voice data of described first external equipment, and described second audio-frequency information comprises mark and the second audio data of described second external equipment;
Memory module, stores described first voice data and described second audio data for distinguishing based on the mark of described first external equipment and the mark of described second external equipment;
Playing module, for the size of described first voice data and described second audio data that compare storage, the priority playing sequence ascending by data is play described first voice data and described second audio data.
Preferably, described first external equipment is mobile terminal, and described second external equipment is remote controller.
Preferably, the intelligent television of described playing audio-fequency data also comprises:
Judge module, plays priority accordingly for judging whether described first external equipment and described second external equipment are preset with;
Preferential playing module, if be preset with for described first external equipment and described second external equipment and play priority accordingly, then play priority sequence accordingly according to described first external equipment preset and described second external equipment and described first voice data and described second audio data are play.
The present invention provides again a kind of voice data Play System based on intelligent television, and described system comprises: intelligent television, the first external equipment and the second external equipment, wherein,
Described first external equipment is used for when receiving the first voice data of user's input, and send the first audio-frequency information to described intelligent television, described first audio-frequency information comprises the mark of described first external equipment and described first voice data;
Described second external equipment is used for when receiving the second audio data of user's input, and send the second audio-frequency information to described intelligent television, described second audio-frequency information comprises the mark of described second external equipment and described first voice data;
The second audio-frequency information that described intelligent television sends for the first audio-frequency information and described second external equipment receiving described first external equipment transmission; Distinguish based on the mark of described first external equipment and the mark of described second external equipment and store described first voice data and described second audio data; Described first voice data relatively stored and the size of described second audio data, the priority playing sequence ascending by data is play described first voice data and described second audio data.
Preferably, described first external equipment is mobile terminal, and described second external equipment is remote controller;
When described mobile terminal is also for receiving the first analogue audio frequency that user inputted by microphone, it is the first voice data that described first analogue audio frequency is carried out analog-to-digital conversion, and the mark of described first voice data and described mobile terminal is carried out corresponding stored;
When described remote controller is also for receiving the second analogue audio frequency that user inputted by microphone, it is second audio data that described second analogue audio frequency is carried out analog-to-digital conversion, and the mark of described second audio data and described remote controller is carried out corresponding stored.
A kind of audio data play method based on intelligent television that the present invention proposes, intelligent television and system, the first voice data that distinct device sends by the first external equipment mark in the first audio-frequency information that intelligent television sends according to the first external equipment and the second audio-frequency information that the second external equipment sends, the second external equipment mark and described second audio data carry out differentiations storage, and play described first voice data and described second audio data by the priority playing sequence that data are ascending.Because intelligent television can be distinguished, identify the voice data of different external equipment when playing audio-fequency data, and by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play, the situation of overlapping entanglement is there is in the voice data that different external equipment can not be caused to send when playing, effectively can manage the playing sequence of the voice data that different external equipment sends, improve Consumer's Experience.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Intelligent television is as the primary terminal in Smart Home, not only display of television programmes, or voice control center, various external equipment utilizes various approach to be play to intelligent television by voice transfer, as the audio frequency of user transfers to intelligent television by wireless network by the voice application of installing by mobile phone terminal, the audio frequency of user is sent to intelligent television etc. by bluetooth by the microphone installed by blue Tooth remote controller.Then, when different user by mobile phone terminal and blue Tooth remote controller transfer to simultaneously play to intelligent television time, intelligent television is play after needing the process such as the audio frequency transmitted distinct device is distinguished, identified, sequence again, otherwise when playing, the audio frequency that different user can be made to be transmitted by distinct device occurs that audio frequency that is unordered, that lose, replace even different user is mingled with the situations such as the broadcasting of entanglement.
Thus, the invention provides a kind of audio data play method based on intelligent television.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are audio data play method first embodiment that the present invention is based on intelligent television.
In a first embodiment, should comprise based on the audio data play method of intelligent television:
Step S10, intelligent television receives the first audio-frequency information of the first external equipment transmission and the second audio-frequency information of the second external equipment transmission, wherein, described first audio-frequency information comprises mark and first voice data of described first external equipment, and described second audio-frequency information comprises mark and the second audio data of described second external equipment;
In the present embodiment, described first external equipment is mobile terminal, and described second external equipment is remote controller, certainly, does not also limit described first external equipment, described second external equipment is the electronic equipment of other types.First intelligent television detects current connected mobile terminal, remote controller, the audio-frequency information sent with the current connected mobile terminal of real-time reception, remote controller.Receive the audio-frequency information of mobile terminal, remote controller transmission at intelligent television after, identify the device identification in the audio-frequency information that mobile terminal, remote controller send and voice data.
If mobile terminal is when receiving the first analogue audio frequency that user is inputted by microphone in voice application software, described first analogue audio frequency is carried out the first voice data that analog-to-digital conversion is digital audio format, and the mark of described first voice data and described mobile terminal is carried out corresponding stored.Particularly, mobile terminal, when getting the first voice data, can create two different buffer areas, store described first voice data wherein, store the mark of described mobile terminal as 0x10 etc. in another buffer area in a buffer area.When mobile terminal judges that described first voice data stored in buffer area reaches some, need to be sent to intelligent television when carrying out speech play, then first the mark of the described mobile terminal stored in another buffer area can be sent to intelligent television, again described first voice data stored in buffer area is sent to intelligent television, with the first voice data for described mobile terminal transmission making intelligent television identify current reception.Mark and the second audio data of remote control, storage, described second external equipment of transmission are identical with described mobile terminal, do not repeat them here.
Step S20, distinguishes based on the mark of described first external equipment and the mark of described second external equipment and stores described first voice data and described second audio data;
When intelligent television receives the first audio-frequency information, second audio-frequency information of mobile terminal and remote controller transmission at the same time, the device identification that successively can send according to mobile terminal, remote controller and voice data carry out Division identification and go out the first voice data of mobile terminal transmission and the second audio data of remote controller transmission, and create different memory blocks, utilize different memory blocks the first voice data and second audio data described in buffer memory respectively.
Step S30, compare described first voice data of storage and the size of described second audio data, the priority playing sequence ascending by data is play described first voice data and described second audio data.
Described first voice data of different memory block buffer memorys and the size of second audio data are compared, as can according to as described in the concrete character number of the first voice data and second audio data compare, the voice data that the namely data volume that character number is many is large.After obtaining the size of data relation of described first voice data and second audio data, by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play.Namely the voice data that the preferential played data of intelligent television is less, then the voice data that played data is larger.Like this, the orderly priority of order that audio frequency plays can be formulated and play the voice data that mobile terminal and remote controller send simultaneously, there will not be the situation that the second audio data being mingled with remote controller when playing the first voice data of mobile terminal is play, and, general user needs the various instructions of playing at once to be short and small voice data, the voice data that in the present embodiment, the preferential played data of intelligent television is less can play the various short instructions of user in time, more meets the speech play demand of user to intelligent television.
The first voice data that distinct device sends by the first external equipment mark in the first audio-frequency information that in the present embodiment, intelligent television sends according to the first external equipment and the second audio-frequency information that the second external equipment sends, the second external equipment mark and described second audio data carry out differentiations storage, and play described first voice data and described second audio data by the priority playing sequence that data are ascending.Because intelligent television can be distinguished, identify the voice data of different external equipment when playing audio-fequency data, and by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play, the situation of overlapping entanglement is there is in the voice data that different external equipment can not be caused to send when playing, effectively can manage the playing sequence of the voice data that different external equipment sends, improve Consumer's Experience.
As shown in Figure 2, second embodiment of the invention proposes a kind of audio data play method based on intelligent television, on the basis of above-mentioned first embodiment, also comprises before above-mentioned steps S30:
Step S40, judges whether described first external equipment and described second external equipment are preset with and plays priority accordingly;
Step S50, if so, then plays priority sequence accordingly according to described first external equipment preset and described second external equipment and plays described first voice data and described second audio data;
If not, then step S30 is performed.
In the present embodiment when playing described first voice data and described second audio data, first judging whether described first external equipment and described second external equipment are preset with and playing priority accordingly.The broadcasting priority that can preset mobile terminal as user is high, the broadcasting priority of remote controller is low, like this, when the second audio data that the first voice data that intelligent television broadcasting mobile terminal sends and remote controller send, preferentially compare the broadcasting priority that mobile terminal and remote controller are preset, and by the broadcasting priority sequence of mobile terminal and remote controller, described first voice data and described second audio data are play, as can be first the first voice data of the transmission of playing the high mobile terminal of priority play, again the second audio data of the transmission of playing the low remote controller of priority is play.
The broadcasting priority sequence can first preset according to mobile terminal and remote controller in the present embodiment is play described first voice data and described second audio data; Mobile terminal and remote controller do not set play priority time, compare described first voice data of storage and the size of described second audio data again, the priority playing sequence ascending by data is play described first voice data and described second audio data, more flexibly.
The present invention further provides a kind of intelligent television of playing audio-fequency data.
With reference to the high-level schematic functional block diagram that Fig. 3, Fig. 3 are intelligent television first embodiment of playing audio-fequency data of the present invention.
In a first embodiment, the intelligent television of this playing audio-fequency data comprises: receiver module 01, memory module 02 and playing module 03, wherein,
Receiver module 01, for the second audio-frequency information that the first audio-frequency information and the second external equipment that receive the first external equipment transmission send, wherein, described first audio-frequency information comprises mark and first voice data of described first external equipment, and described second audio-frequency information comprises mark and the second audio data of described second external equipment;
In the present embodiment, described first external equipment is mobile terminal, and described second external equipment is remote controller, certainly, does not also limit described first external equipment, described second external equipment is the electronic equipment of other types.First intelligent television detects current connected mobile terminal, remote controller, the audio-frequency information sent with the current connected mobile terminal of real-time reception, remote controller.Receive the audio-frequency information of mobile terminal, remote controller transmission at intelligent television after, identify the device identification in the audio-frequency information that mobile terminal, remote controller send and voice data.
If mobile terminal is when receiving the first analogue audio frequency that user is inputted by microphone in voice application software, described first analogue audio frequency is carried out the first voice data that analog-to-digital conversion is digital audio format, and the mark of described first voice data and described mobile terminal is carried out corresponding stored.Particularly, mobile terminal, when getting the first voice data, can create two different buffer areas, store described first voice data wherein, store the mark of described mobile terminal as 0x10 etc. in another buffer area in a buffer area.When mobile terminal judges that described first voice data stored in buffer area reaches some, need to be sent to intelligent television when carrying out speech play, then first the mark of the described mobile terminal stored in another buffer area can be sent to intelligent television, again described first voice data stored in buffer area is sent to intelligent television, with the first voice data for described mobile terminal transmission making intelligent television identify current reception.Mark and the second audio data of remote control, storage, described second external equipment of transmission are identical with described mobile terminal, do not repeat them here.
Memory module 02, stores described first voice data and described second audio data for distinguishing based on the mark of described first external equipment and the mark of described second external equipment;
When intelligent television receives the first audio-frequency information, second audio-frequency information of mobile terminal and remote controller transmission at the same time, the device identification that successively can send according to mobile terminal, remote controller and voice data carry out Division identification and go out the first voice data of mobile terminal transmission and the second audio data of remote controller transmission, and create different memory blocks, utilize different memory blocks the first voice data and second audio data described in buffer memory respectively.
Playing module 03, for the size of described first voice data and described second audio data that compare storage, the priority playing sequence ascending by data is play described first voice data and described second audio data.
Described first voice data of different memory block buffer memorys and the size of second audio data are compared, as can according to as described in the concrete character number of the first voice data and second audio data compare, the voice data that the namely data volume that character number is many is large.After obtaining the size of data relation of described first voice data and second audio data, by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play.Namely the voice data that the preferential played data of intelligent television is less, then the voice data that played data is larger.Like this, the orderly priority of order that audio frequency plays can be formulated and play the voice data that mobile terminal and remote controller send simultaneously, there will not be the situation that the second audio data being mingled with remote controller when playing the first voice data of mobile terminal is play, and, general user needs the various instructions of playing at once to be short and small voice data, the voice data that in the present embodiment, the preferential played data of intelligent television is less can play the various short instructions of user in time, more meets the speech play demand of user to intelligent television.
The first voice data that distinct device sends by the first external equipment mark in the first audio-frequency information that in the present embodiment, intelligent television sends according to the first external equipment and the second audio-frequency information that the second external equipment sends, the second external equipment mark and described second audio data carry out differentiations storage, and play described first voice data and described second audio data by the priority playing sequence that data are ascending.Because intelligent television can be distinguished, identify the voice data of different external equipment when playing audio-fequency data, and by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play, the situation of overlapping entanglement is there is in the voice data that different external equipment can not be caused to send when playing, effectively can manage the playing sequence of the voice data that different external equipment sends, improve Consumer's Experience.
As shown in Figure 4, second embodiment of the invention proposes a kind of intelligent television of playing audio-fequency data, on the basis of above-mentioned first embodiment, also comprises:
Judge module 04, plays priority accordingly for judging whether described first external equipment and described second external equipment are preset with;
Preferential playing module 05, if be preset with for described first external equipment and described second external equipment and play priority accordingly, then play priority sequence accordingly according to described first external equipment preset and described second external equipment and described first voice data and described second audio data are play.
In the present embodiment when playing described first voice data and described second audio data, first judging whether described first external equipment and described second external equipment are preset with and playing priority accordingly.The broadcasting priority that can preset mobile terminal as user is high, the broadcasting priority of remote controller is low, like this, when the second audio data that the first voice data that intelligent television broadcasting mobile terminal sends and remote controller send, preferentially compare the broadcasting priority that mobile terminal and remote controller are preset, and by the broadcasting priority sequence of mobile terminal and remote controller, described first voice data and described second audio data are play, as can be first the first voice data of the transmission of playing the high mobile terminal of priority play, again the second audio data of the transmission of playing the low remote controller of priority is play.
The broadcasting priority sequence can first preset according to mobile terminal and remote controller in the present embodiment is play described first voice data and described second audio data; Mobile terminal and remote controller do not set play priority time, compare described first voice data of storage and the size of described second audio data again, the priority playing sequence ascending by data is play described first voice data and described second audio data, more flexibly.
The present invention provides again a kind of voice data Play System based on intelligent television.
With reference to the structural representation that Fig. 5, Fig. 5 are voice data Play System one embodiment that the present invention is based on intelligent television.
In one embodiment, should comprise based on the voice data Play System of intelligent television: intelligent television 1, first external equipment 2 and the second external equipment 3, wherein,
First external equipment 2 is for when receiving the first voice data of user's input, and send the first audio-frequency information to intelligent television, described first audio-frequency information comprises the mark of the first external equipment 2 and described first voice data;
Second external equipment 3 is for when receiving the second audio data of user's input, and send the second audio-frequency information to intelligent television, described second audio-frequency information comprises the mark of the second external equipment 3 and described first voice data;
The second audio-frequency information that intelligent television sends for the first audio-frequency information and the second external equipment 3 receiving the first external equipment 2 transmission; Distinguish based on the mark of the first external equipment 2 and the mark of the second external equipment 3 and store described first voice data and described second audio data; Described first voice data relatively stored and the size of described second audio data, the priority playing sequence ascending by data is play described first voice data and described second audio data.
First external equipment 2 is mobile terminal, and the second external equipment 3 is remote controller; When described mobile terminal is also for receiving the first analogue audio frequency that user inputted by microphone, it is the first voice data that described first analogue audio frequency is carried out analog-to-digital conversion, and the mark of described first voice data and described mobile terminal is carried out corresponding stored; When described remote controller is also for receiving the second analogue audio frequency that user inputted by microphone, it is second audio data that described second analogue audio frequency is carried out analog-to-digital conversion, and the mark of described second audio data and described remote controller is carried out corresponding stored.
The first external equipment 2 in the first audio-frequency information that in the present embodiment, intelligent television sends according to the first external equipment 2 and the second audio-frequency information that the second external equipment 3 sends identifies, the second external equipment 3 identifies the first voice data of being sent by distinct device and described second audio data carries out differentiations storage, and plays described first voice data and described second audio data by the priority playing sequence that data are ascending.Because intelligent television can be distinguished, identify the voice data of different external equipment when playing audio-fequency data, and by the priority playing sequence that data are ascending, described first voice data and described second audio data can be play, the situation of overlapping entanglement is there is in the voice data that different external equipment can not be caused to send when playing, effectively can manage the playing sequence of the voice data that different external equipment sends, improve Consumer's Experience.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.