The multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system and implementation methodTechnical field
The present invention relates to speaker technology fields, and in particular to a kind of multiple terminals audio based on intelligent sound box is shared and multi-screenInteraction systems and implementation method.
Background technique
In the past, speaker is the carrier of music, and it is " high-fidelity " that industry compared with, which is sound quality, slogan, and now withThe development of intelligent sound technology and Internet technology, speaker bring more living-pattern preservations to us.If the pastIt needs to carry out audio broadcasting by speaker, needs to be attached with wire cable.And present intelligent sound box, it can be by wirelessOr bluetooth connection, carry out resource acquisition.
At present the audio resource source of intelligent sound box be usually manufacturer project verification design when apply authorization access it is someThen line resource, such as Baidu music, QQ music, Himalaya etc. are exactly some offline resource downloads, are passed by bluetoothIt is defeated, it is played out at speaker end.
The audio resource of intelligent sound box has two classes at present:
First is that the local resource of mobile phone terminal, usually user have been downloaded into the audio and video resources of mobile phone, then pass through indigo plantThe mode of tooth connects speaker, carries out audio transmission broadcasting.But this kind of resource is limited.
Second is that intelligent sound box developer applies for the Internet resources that authorization passes through, broadcast generally by the mode of skillIt puts.Such as Himalaya resource, QQ music sources, Baidu music etc..
Summary of the invention
Based on the deficiencies of the prior art, the present invention provides the multiple terminals audio of intelligent sound box is shared and Multi-screen interaction systemAnd implementation method, so that the audio playing resource at speaker end is not merely limited to the Internet resources of authorization and mobile phone at speaker endResource is locally-downloaded in end, can also play the integrated online resource in the end APP.
The technical solution of the present invention is as follows:
The multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system characterized by comprising
APP terminal device, the APP terminal device include the first bluetooth unit;
IOT server, the IOT server include that the first Wifi signal receiving unit and the transmitting of the first Wifi signal are singleMember;
An at least intelligent sound, each intelligent sound include the ID of sole electron message identification, the intelligent soundIt further include the second bluetooth unit, the 2nd Wifi signal receiving unit and the 2nd Wifi signal transmitter unit;
First bluetooth unit and the second bluetooth unit communication connection are intelligent sound by APP terminal deviceDistribution connection;
The first Wifi signal receiving unit is communicated to connect with APP terminal and the 2nd Wifi signal transmitter unit respectively;The first Wifi signal transmitter unit is communicated to connect with APP terminal and the 2nd Wifi signal receiving unit respectively;
The APP terminal device is used to obtain the sole electron message identification of intelligent sound by Blue-tooth communication methodID, and be intelligent sound distribution, the IOT server is used to forward the status information of intelligent sound by Wifi communication modeAPP terminal device is given, and the network audio resource link that APP terminal device accesses is transmitted to intelligent sound box, intelligent sound box is usedIn the resource for parsing the link, then audio resource is obtained from network by Wifi and is played out, the IOT server is also used toThe control instruction information of APP terminal device is transmitted to intelligent sound by Wifi communication mode.
Further, the status information of intelligent sound include real time information, it is online or not online information, whether playing soundIt is one of frequency information, response message, two or three any.
Further, IOT server is transmitted to the control instruction information of intelligent sound includes which platform intelligent sound selectedIt is responded, plays music, opens light, one kind of pause function instruction or any two kinds or any multiple combinations.
Further, the communication of the first Wifi signal receiving unit and APP terminal, the first Wifi signal receiveIt is the communication of unit and the 2nd Wifi signal transmitter unit, the communication of the first Wifi signal transmitter unit and APP terminal, describedThe communication of first Wifi signal transmitter unit and the 2nd Wifi signal receiving unit, above-mentioned communication can synchronize progress.
The multiple terminals audio of intelligent sound box is shared and the implementation method of Multi-screen interaction system, which is characterized in that comprising steps of
1) the first bluetooth unit and the second bluetooth unit are communicated to connect, are intelligent sound distribution by APP terminal device,APP terminal device successively obtains the id information for having one, two or more intelligent sound of unique ID information simultaneously;
2) APP terminal device passes through the status information of IOT server real-time query intelligent sound, while APP terminal deviceAlso the audio url that the control instruction of APP terminal device and APP terminal device access is serviced by IOT by IOT serverDevice is transferred to intelligent sound, and the broadcasting of progress audio after the audio url is parsed by intelligent sound box.
Further, the APP terminal device and the IOT server are described by Wifi wireless communication interactive informationIOT server wirelessly communicates interactive information by Wifi with intelligent sound.
Further, the APP terminal device and the IOT server pass through Wifi wireless communication interactive information and instituteStating IOT server can be carried out with intelligent sound by Wifi wireless communication interactive information simultaneously.
Further, the status information that APP terminal device passes through IOT server real-time query intelligent sound includes believing in real timeBreath, it is online or not online information, whether playing one of audio-frequency information, response message, two or three any.
Further, APP terminal device switches the information exchange with wherein any one intelligent sound by operation pages.
Further, APP terminal device can also be switched by the connection of operation pages, selective to set APP terminalThe audio resource that the audio url of standby access, the audio resource of APP terminal device downloading and APP terminal device authorization log in passes throughBluetooth transmission still passes through IOT server transport to intelligent sound.
The invention has the benefit that
The initial stage that the audio playing resource at speaker end is not merely limited to speaker end has authorized Internet resources and handResource is locally-downloaded in generator terminal, can also play the subsequent online resource for being constantly integrated in the end APP.
For authorized Internet resources, voice control can be carried out on intelligent sound box, such as voice command playsMusic, he just can obtain specified Internet resources automatically, carry out music;
For the bluetooth resource that mobile phone terminal is locally-downloaded, the Bluetooth function of intelligent sound box can be opened, and is matched with mobile phone terminalTo rear, the music downloaded can be played;
Intelligent sound box can also receive on other intelligent terminals by APP through center IOT server node send overLine resource, and speaker terminal and the end APP are not only restricted to the same local area network, as long as wide area network can be accessed, not by any timeThe limitation in place, the end APP freely unrestricted can deliver various online audio resources to speaker end, and receive the same of speakerWalk broadcast state.
Detailed description of the invention
Fig. 1 is the structural block diagram of present system.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system, comprising:
APP terminal device, the APP terminal device include the first bluetooth unit;
IOT server, the IOT server include that the first Wifi signal receiving unit and the transmitting of the first Wifi signal are singleMember;
An at least intelligent sound, each intelligent sound include the ID of sole electron message identification, the intelligent soundIt further include the second bluetooth unit, the 2nd Wifi signal receiving unit and the 2nd Wifi signal transmitter unit;
First bluetooth unit and the second bluetooth unit communication connection are intelligent sound by APP terminal deviceDistribution connection;
The first Wifi signal receiving unit is communicated to connect with APP terminal and the 2nd Wifi signal transmitter unit respectively;The first Wifi signal transmitter unit is communicated to connect with APP terminal and the 2nd Wifi signal receiving unit respectively;
The APP terminal device is used to obtain the sole electron message identification of intelligent sound by Blue-tooth communication methodID, and be intelligent sound distribution, the IOT server is used to forward the status information of intelligent sound by Wifi communication modeAPP terminal device is given, and the network audio resource link that APP terminal device accesses is transmitted to intelligent sound box, intelligent sound box is usedIn the resource for parsing the link, then audio resource is obtained from network by Wifi and is played out, the IOT server is also used toThe control instruction information of APP terminal device is transmitted to intelligent sound by Wifi communication mode.
It should be noted that intelligent sound box, as the receiving terminal in shared system, APP terminal device (installs its of APPHis intelligent terminal) it is control terminal, intermediate server node is IOT server.
In addition, intelligent sound box carries out unique identification by device ID, burning when leaving the factory can not be changed once burning;After speaker end is switched on and connects to network, message periodically can be sent to IOT server end, such IOT server end is able to know that intelligenceThe real-time online state at energy speaker end.
APP terminal device can carry out account registration, APP account by mailbox etc. using terminals such as mobile phone, IPADUnder can add and bind multiple speakers;After the end APP logs in, the status information of specified intelligent sound box can be obtained to IOT server,Status information includes but is not limited to real time information, online or not online, if is playing audio-frequency information, if in response messageDeng.
Since media communication transmission of the IOT server between intelligent sound box and APP terminal device is two-way, APP endEnd equipment can send audio resource link and control instruction, specific APP terminal device to intelligent sound box by IOT serverAccessible Internet resources, choose audio resource to link, and encapsulation messages, specify and are sent to some speaker end;It is practicalUpper message is first to be sent to intermediate IOT server;After IOT server receives the message at the end APP, which is carried outProcessing, and the state of target speaker terminal is inquired, the link message is then sent to target speaker end.The forwarding of IOT serverControl instruction information to intelligent sound includes selecting which platform intelligent sound to be responded, playing music, opening light, pauseOne kind of function command or any two kinds or any multiple combinations.
It should be noted that it is to pass through nothing that intelligent sound box, IOT server and APP terminal device, which successively carry out information transmission,What the mode of line Wifi was transmitted, the communication of the first Wifi signal receiving unit and APP terminal, the first Wifi believeThe communication of number receiving unit and the 2nd Wifi signal transmitter unit, the first Wifi signal transmitter unit and APP terminal it is logicalThe communication of letter, the first the Wifi signal transmitter unit and the 2nd Wifi signal receiving unit, above-mentioned communication can synchronize progress.
The multiple terminals audio of intelligent sound box is shared and the implementation method of Multi-screen interaction system, comprising steps of
1) the first bluetooth unit and the second bluetooth unit are communicated to connect, are intelligent sound distribution by APP terminal device,APP terminal device successively obtains the id information for having one, two or more intelligent sound of unique ID information simultaneously;
2) APP terminal device passes through the status information of IOT server real-time query intelligent sound, while APP terminal deviceAlso the audio url that the control instruction of APP terminal device and APP terminal device access is serviced by IOT by IOT serverDevice is transferred to intelligent sound, and the broadcasting of progress audio after the audio url is parsed by speaker.
It should be noted that the APP terminal device and the IOT server wirelessly communicate interactive information by Wifi,The IOT server wirelessly communicates interactive information by Wifi with intelligent sound.
The APP terminal device and the IOT server are serviced by Wifi wireless communication interactive information and the IOTDevice wirelessly communicates interactive information by Wifi with intelligent sound and can carry out simultaneously.
APP terminal device by the status information of IOT server real-time query intelligent sound includes real time information, it is online orNot online information, whether playing audio-frequency information, one of response message, two or three any.
APP terminal device switches the information exchange with wherein any one intelligent sound by operation pages.
It needs to further explain, APP terminal device can also be switched by the connection of operation pages, selectiveWhat the audio resource of audio url, the downloading of APP terminal device that APP terminal device is accessed and APP terminal device authorization logged inAudio resource still passes through IOT server transport to intelligent sound by Bluetooth transmission.
Intelligent sound box is for obtaining audio resource link or control instruction, and when receiving audio resource link, online is searchedThe rope audio resource plays out, while being responded when receiving other control instructions, play music or open light withAnd other operations, and the result of response and real-time progress etc. are all returned into IOT server end.
The audio playing resource at speaker end is not merely limited to the Internet resources of authorization at speaker end and the sheet of mobile phone terminalResource is downloaded on ground, can be with other online resources of unrestricted broadcasting;
For authorized Internet resources, voice control can be carried out on intelligent sound box, such as voice command playsMusic, he just can obtain specified Internet resources automatically, carry out music;
For the bluetooth resource that mobile phone terminal is locally-downloaded, the Bluetooth function of intelligent sound box can be opened, and is matched with mobile phone terminalTo rear, the music downloaded can be played;
Intelligent sound box can receive on other intelligent terminals to send over by APP through center IOT server node onlineResource.And speaker terminal and the end APP are not only restricted to the same local area network, as long as wide area network can be accessed, not by any timeThe limitation of point, the end APP freely unrestricted can deliver various online audio resources to speaker end, and receive the synchronization of speakerBroadcast state.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be withA variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understandingAnd modification, the scope of the present invention is defined by the appended.