CN107396334A - The method of wireless sound box and its multiple smart machines of connection - Google Patents
The method of wireless sound box and its multiple smart machines of connection Download PDFInfo
- Publication number
- CN107396334A CN107396334A CN201710773673.4A CN201710773673A CN107396334A CN 107396334 A CN107396334 A CN 107396334A CN 201710773673 A CN201710773673 A CN 201710773673A CN 107396334 A CN107396334 A CN 107396334A
- Authority
- CN
- China
- Prior art keywords
- connection
- sound box
- smart machine
- wireless sound
- module
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention relates to the network communications technology.The problem of chaotic is controlled when connecting multiple smart machines the present invention is to solve existing wireless sound box, there is provided a kind of method of wireless sound box and its multiple smart machines of connection, its technical scheme can be summarized as:Wireless sound box, including communication module and processing module, communication module is connected with processing module, in addition to broadcast module and connection detection module, the broadcast module is connected with processing module and communication module respectively, and connection detection module is connected with processing module and communication module respectively.The invention has the advantages that facilitate user, better user experience, suitable for wireless sound box.
Description
Technical field
The present invention relates to the network communications technology, the technology that equipment interconnects more particularly in network service.
Background technology
With the development of smart machine, network connection has become its essential One function, wireless sound box and intelligence
The connection of energy equipment, had both let user experiencing good sound effect, allowed user to break away from the worry of connection signal wire again.
At present, realize in the method that wireless sound box is connected with smart machine, set if a wireless sound box connects multiple intelligence
It is standby, then there is problems with:Mutually be unaware of between multiple smart machines, and multiple smart machines may all send control information so as to
Cause control chaotic, the operating experience of user is relatively low, and the resource of wireless sound box does not know how to be allocated.
The content of the invention
Controlled during the invention aims to solve the problems, such as that current wireless sound box connects multiple smart machines chaotic, there is provided
A kind of method of wireless sound box and its multiple smart machines of connection.
The present invention solves its technical problem, and the technical scheme of use is wireless sound box, including communication module and processing mould
Block, communication module are connected with processing module, it is characterised in that also including broadcast module and connection detection module, the broadcast mould
Block is connected with processing module and communication module respectively, and connection detection module is connected with processing module and communication module respectively,
The communication module is used for access to LAN, and is connected interaction with other smart machines by LAN;
The broadcast module is used for can connection status broadcast according to the transmission of the notice of processing module;
The connection detection module is used to detect whether present communications module passes through LAN according to the notice of processing module
It is connected with a certain smart machine, and testing result is sent to processing module;
The processing module is used for after communication module access to LAN, notice connection detection module detection present communications mould
Whether block is connected by LAN with a certain smart machine, receives the testing result that connection detection module is sent, if detection knot
Fruit be without smart machine connect, then periodic advertisement broadcast module send can connection status broadcast, if testing result is a certain intelligence
Energy equipment has connected, then waits;If receiving the connection request that other smart machines are sent, notice connection detection module inspection
Survey whether present communications module is connected by LAN with a certain smart machine, receive the detection knot that connection detection module is sent
Fruit, if now testing result is to be connected without smart machine, establishes and connect with the smart machine, otherwise to the intelligence currently connected
Equipment sends the notice of other smart machines request connection, the feedback of the smart machine currently connected is waited, if being fed back to agree to
Connect, then the connection between the smart machine for disconnecting and currently connecting, and the smart machine with sending connection request establishes connection,
Otherwise fail to the smart machine feedback link for sending connection request, and abandon the connection request.
Specifically, it is described can connection status broadcast as udp broadcast.
Further, it is described to include the MAC Address of the wireless sound box, IP address, control port in connection status broadcast
And FPDP.
Refer to specifically, the communication module is connected interaction by LAN with other smart machines:Communication module passes through
LAN is attached and interacted using Transmission Control Protocol with other smart machines.
Further, it is described to the smart machine currently connected send other smart machines request connection notice when,
The title or ID number of smart machine according to corresponding to connection request obtains the connection request, and generate the request of other smart machines and connect
The notice connect, comprising the title of smart machine or ID number corresponding to the connection request and the choosing of its connection whether is agreed in the notice
, and be sent to the smart machine currently connected and presented.
The method that wireless sound box connects multiple smart machines, applied to above-mentioned wireless sound box, it is characterised in that including following
Step:
Step 1, after wireless sound box access to LAN, the moment judges whether itself has been connected with other smart machines, if
To be directly entered step 2, otherwise send can connection status broadcast, into step 2;
If step 2, a certain smart machine receive can connection status broadcast, to this can connection status broadcast parse,
And according to user selection judge whether according to this can connection status broadcast connect this wireless sound box, if then to this wireless sound box send out
Connection request is sent, into step 3, otherwise without processing;
Step 3, the wireless sound box receive connection request, judge whether itself has been connected with other smart machines, if not
It is to respond the connection request, smart machine corresponding with the connection request establishes connection, and connects and be controlled by it, and returns to step 2,
If the notice of other smart machines request connection is then sent to the smart machine currently connected, into step 4;
The notice of other smart machines request connection is presented in step 4, the smart machine currently connected, is selected according to user
Whether agree to connect to wireless sound box feedback;
Step 5, the wireless sound box receive feedback, if being fed back to agree to connection, disconnection is set with the intelligence being currently connected
Connection between standby, and the smart machine with sending connection request establishes connection, otherwise to the smart machine for sending connection request
Feedback link fails, and abandons the connection request.
Specifically, step 2 also includes:Any smart machine in LAN can also select to pass through the last time according to user
With the linkup transmit connection request of the wireless sound box, into step 3.
Further, in step 2, to after parsing can connection status broadcast preserve, it is described to be selected according to user
Judge whether according to this can connection status broadcast connect this wireless sound box refer to:Moment judges whether that basis should according to user's selection
Can connection status broadcast connect this wireless sound box.
Specifically, the smart machine is intelligent television or intelligent mobile terminal or computer.
The invention has the advantages that in the present invention program, set by above-mentioned wireless sound box and its multiple intelligence of connection
Standby method, it is seen then that its synchronization is only connected with a smart machine, the problem of will not causing to control confusion, and by current
The user of the smart machine of connection decides whether to connect new smart machine, facilitates user, better user experience.
Brief description of the drawings
Fig. 1 is the system block diagram of wireless sound box in the present invention.
Embodiment
Below in conjunction with the accompanying drawings and embodiment, technical scheme is described in detail.
Wireless sound box of the present invention, its system block diagram referring to Fig. 1, including communication module, processing module, broadcast module and
Connection detection module, wherein, communication module is connected with processing module, and broadcast module connects with processing module and communication module respectively
Connect, connection detection module is connected with processing module and communication module respectively, and here, communication module is used for access to LAN, and leads to
Cross LAN and be connected interaction with other smart machines;Broadcast module be used for according to the notice of processing module send can connection status it is wide
Broadcast;Connection detection module is used to detect whether present communications module passes through LAN and a certain intelligence according to the notice of processing module
Equipment is connected, and testing result is sent into processing module;Processing module is used for after communication module access to LAN, and notice connects
Connect whether detection module detection present communications module is connected by LAN with a certain smart machine, receive connection detection module hair
The testing result sent, if testing result is to be connected without smart machine, periodic advertisement broadcast module is sent can connection status
Broadcast, connect, waited if testing result is a certain smart machine;If receive the connection that other smart machines are sent to ask
Ask, then notify whether connection detection module detection present communications module is connected by LAN with a certain smart machine, the company of reception
The testing result that detection module is sent is connect, if now testing result is to be connected without smart machine, is established with the smart machine
Connection, the notice of other smart machines request connection is otherwise sent to the smart machine currently connected, waits the intelligence currently connected
Can equipment feedback, if being fed back to agree to connection, disconnect the connection between the smart machine that currently connects, and with the company of transmission
The smart machine for connecing request establishes connection, otherwise fails to the smart machine feedback link for sending connection request, and abandon the company
Connect request.
The method that wireless sound box of the present invention connects multiple smart machines, applied to above-mentioned wireless sound box, it is specially:When
After wireless sound box access to LAN, the moment judges whether itself has been connected with other smart machines, if being then directly entered next
Step, otherwise send can connection status broadcast, enter back into next step;If a certain smart machine receive can connection status broadcast, it is right
This can connection status broadcast parsed, and according to user's selection judge whether according to this can connection status broadcast connection this is wireless
Audio amplifier, if then sending connection request to this wireless sound box, connection request otherwise is received without processing, the wireless sound box,
Judge whether itself has been connected with other smart machines, if not the connection request is then responded, intelligence corresponding with the connection request
Energy equipment establishes connection, and connects and be controlled by it, and connects if then sending the request of other smart machines to the smart machine currently connected
The notice connect, the smart machine currently connected are presented the notice of other smart machines request connection, selected according to user to this
Whether wireless sound box feedback is agreed to connect, and the wireless sound box receives feedback, if being fed back to agree to connection, disconnects with currently connecting
Connection between the smart machine connect, and the smart machine with sending connection request establishes connection, otherwise to transmission connection request
The failure of smart machine feedback link, and abandon the connection request.
Embodiment
The wireless sound box of the embodiment of the present invention, its system block diagram is referring to Fig. 1, including communication module, processing module, broadcast mould
Block and connection detection module, wherein, communication module is connected with processing module, broadcast module respectively with processing module and communication module
Connection, connection detection module are connected with processing module and communication module respectively.
Here, communication module is used for access to LAN, and is connected interaction with other smart machines by LAN.
Broadcast module is used for can connection status broadcast according to the transmission of the notice of processing module.
Connection detection module is used to detect whether present communications module passes through LAN and certain according to the notice of processing module
One smart machine is connected, and testing result is sent into processing module.
Processing module is used for after communication module access to LAN, and notice connection detection module detection present communications module is
It is no to be connected by LAN with a certain smart machine, the testing result that connection detection module is sent is received, if testing result is
Without smart machine connect, then periodic advertisement broadcast module send can connection status broadcast, if testing result be a certain intelligence set
It is standby to have connected, then wait;If receiving the connection request that other smart machines are sent, notice connection detection module detection is worked as
Whether preceding communication module is connected by LAN with a certain smart machine, receives the testing result that connection detection module is sent,
If now testing result is to be connected without smart machine, establishes and connect with the smart machine, otherwise set to the intelligence currently connected
Preparation gives the notice of other smart machines request connection, waits the feedback of the smart machine currently connected, if being fed back to agree to connect
Connect, then disconnect the connection between the smart machine that currently connects, and establish with sending the smart machine of connection request and connect, it is no
Then fail to the smart machine feedback link for sending connection request, and abandon the connection request.
Here, can connection status broadcast be preferably udp broadcast, wherein MAC Address, IP address comprising the wireless sound box,
The information such as control port and FPDP.
And communication module is connected interaction with other smart machines by LAN is preferably:Communication module by LAN with
Other smart machines are attached using Transmission Control Protocol and interaction.
When sending the notice of other smart machines request connection to the smart machine currently connected, obtained according to connection request
The title or ID number of smart machine corresponding to the connection request are taken, and generates the notice of other smart machines request connection, this is logical
Know comprising the title of smart machine or ID number corresponding to the connection request and whether agree to the option of its connection, and be sent to and work as
The smart machine of preceding connection is presented.The purpose is to make that the current smart machine to be connected letter can be shown in smart machine
Breath, so that user is differentiated.
In use, including step in detail below:
Step 1, after wireless sound box access to LAN, the moment judges whether itself has been connected with other smart machines, if
To be directly entered step 2, otherwise send can connection status broadcast, into step 2.
If step 2, a certain smart machine receive can connection status broadcast, to this can connection status broadcast parse,
And according to user selection judge whether according to this can connection status broadcast connect this wireless sound box, if then to this wireless sound box send out
Connection request is sent, into step 3, otherwise without processing.
In this step, it can also include:Any smart machine in LAN can also select to pass through upper one according to user
The secondary and linkup transmit connection request of the wireless sound box, into step 3.
And in this step, each smart machine can also to after parsing can connection status broadcast preserve, then according to user
Selection judge whether according to this can connection status broadcast connect this wireless sound box refer to:Moment judges whether root according to user's selection
According to this can connection status broadcast connect this wireless sound box.
Step 3, the wireless sound box receive connection request, judge whether itself has been connected with other smart machines, if not
It is to respond the connection request, smart machine corresponding with the connection request establishes connection, and connects and be controlled by it, and returns to step 2,
If the notice of other smart machines request connection is then sent to the smart machine currently connected, into step 4.
The notice of other smart machines request connection is presented in step 4, the smart machine currently connected, is selected according to user
Whether agree to connect to wireless sound box feedback.
Step 5, the wireless sound box receive feedback, if being fed back to agree to connection, disconnection is set with the intelligence being currently connected
Connection between standby, and the smart machine with sending connection request establishes connection, otherwise to the smart machine for sending connection request
Feedback link fails, and abandons the connection request.
In this example, smart machine can be intelligent television or intelligent mobile terminal or computer etc..
Claims (9)
1. wireless sound box, including communication module and processing module, communication module are connected with processing module, it is characterised in that are also wrapped
Broadcast module and connection detection module are included, the broadcast module is connected with processing module and communication module respectively, connecting detection mould
Block is connected with processing module and communication module respectively,
The communication module is used for access to LAN, and is connected interaction with other smart machines by LAN;
The broadcast module is used for can connection status broadcast according to the transmission of the notice of processing module;
The connection detection module is used to detect whether present communications module passes through LAN and certain according to the notice of processing module
One smart machine is connected, and testing result is sent into processing module;
The processing module is used for after communication module access to LAN, and notice connection detection module detection present communications module is
It is no to be connected by LAN with a certain smart machine, the testing result that connection detection module is sent is received, if testing result is
Without smart machine connect, then periodic advertisement broadcast module send can connection status broadcast, if testing result be a certain intelligence set
It is standby to have connected, then wait;If receiving the connection request that other smart machines are sent, notice connection detection module detection is worked as
Whether preceding communication module is connected by LAN with a certain smart machine, receives the testing result that connection detection module is sent,
If now testing result is to be connected without smart machine, establishes and connect with the smart machine, otherwise set to the intelligence currently connected
Preparation gives the notice of other smart machines request connection, waits the feedback of the smart machine currently connected, if being fed back to agree to connect
Connect, then disconnect the connection between the smart machine that currently connects, and establish with sending the smart machine of connection request and connect, it is no
Then fail to the smart machine feedback link for sending connection request, and abandon the connection request.
2. wireless sound box as claimed in claim 1, it is characterised in that it is described can connection status broadcast as udp broadcast.
3. wireless sound box as claimed in claim 1, it is characterised in that described to include the wireless sound box in connection status broadcast
MAC Address, IP address, control port and FPDP.
4. wireless sound box as claimed in claim 1, it is characterised in that the communication module is set by LAN and other intelligence
Standby connection interaction refers to:Communication module is attached and interacted using Transmission Control Protocol with other smart machines by LAN.
5. wireless sound box as claimed in claim 1 or 2 or 3 or 4, it is characterised in that described to the smart machine currently connected
When sending the notice of other smart machines request connection, the name of smart machine according to corresponding to connection request obtains the connection request
Title or ID number, and the notice of other smart machines request connection is generated, include in the notice and intelligently set corresponding to the connection request
Standby title or ID number and the option for whether agreeing to its connection, and be sent to the smart machine currently connected and presented.
6. the method that wireless sound box connects multiple smart machines, applied to wireless as described in claim 1 or 2 or 3 or 4 or 5
Audio amplifier, it is characterised in that comprise the following steps:
Step 1, after wireless sound box access to LAN, the moment judges whether itself has been connected with other smart machines, if then
Be directly entered step 2, otherwise send can connection status broadcast, into step 2;
If step 2, a certain smart machine receive can connection status broadcast, to this can connection status broadcast parse, and root
According to user selection judge whether according to this can connection status broadcast connect this wireless sound box, if then to this wireless sound box send connect
Request is connect, into step 3, otherwise without processing;
Step 3, the wireless sound box receive connection request, judge whether itself has been connected with other smart machines, if not then
The connection request is responded, smart machine corresponding with the connection request establishes connection, and connects and be controlled by it, and returns to step 2, if
The notice of other smart machines request connection is then sent to the smart machine currently connected, into step 4;
The notice of other smart machines request connection is presented in step 4, the smart machine currently connected, is selected according to user to this
Whether wireless sound box feedback is agreed to connect;
Step 5, the wireless sound box receive feedback, if being fed back to agree to connection, disconnect with the smart machine that is currently connected it
Between connection, and with send connection request smart machine establish connect, otherwise to send connection request smart machine feed back
Connection failure, and abandon the connection request.
7. the method that wireless sound box as claimed in claim 6 connects multiple smart machines, it is characterised in that step 2 also includes:
Any smart machine in LAN can also select to be connected with the linkup transmit of the wireless sound box by the last time according to user
Request, into step 3.
8. the method that wireless sound box as claimed in claim 6 connects multiple smart machines, it is characterised in that in step 2, to solution
After analysis can connection status broadcast preserved, it is described according to user selection judge whether according to this can connection status broadcast connection
This wireless sound box refers to:Moment according to user selection judge whether according to this can connection status broadcast connect this wireless sound box.
9. the method that the wireless sound box as described in claim 6 or 7 or 8 connects multiple smart machines, it is characterised in that the intelligence
Energy equipment is intelligent television or intelligent mobile terminal or computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773673.4A CN107396334B (en) | 2017-08-31 | 2017-08-31 | Wireless sound box and method for connecting multiple intelligent devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710773673.4A CN107396334B (en) | 2017-08-31 | 2017-08-31 | Wireless sound box and method for connecting multiple intelligent devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107396334A true CN107396334A (en) | 2017-11-24 |
CN107396334B CN107396334B (en) | 2020-02-18 |
Family
ID=60349097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710773673.4A Active CN107396334B (en) | 2017-08-31 | 2017-08-31 | Wireless sound box and method for connecting multiple intelligent devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396334B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108513365A (en) * | 2018-03-22 | 2018-09-07 | 北京金山安全软件有限公司 | Control method and device of intelligent equipment, intelligent equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003274491A (en) * | 2002-03-18 | 2003-09-26 | Mitsubishi Electric Corp | Apparatus for detecting disconnection of loudspeaker |
CN105072537A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | Bluetooth connection-based audio play method and device |
CN205408125U (en) * | 2016-03-09 | 2016-07-27 | 珠海市杰理科技有限公司 | WIFI audio amplifier and public address system |
CN105828253A (en) * | 2016-03-22 | 2016-08-03 | 广东欧珀移动通信有限公司 | Wireless connection control method and device in audio playing system |
-
2017
- 2017-08-31 CN CN201710773673.4A patent/CN107396334B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003274491A (en) * | 2002-03-18 | 2003-09-26 | Mitsubishi Electric Corp | Apparatus for detecting disconnection of loudspeaker |
CN105072537A (en) * | 2015-07-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | Bluetooth connection-based audio play method and device |
CN205408125U (en) * | 2016-03-09 | 2016-07-27 | 珠海市杰理科技有限公司 | WIFI audio amplifier and public address system |
CN105828253A (en) * | 2016-03-22 | 2016-08-03 | 广东欧珀移动通信有限公司 | Wireless connection control method and device in audio playing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108513365A (en) * | 2018-03-22 | 2018-09-07 | 北京金山安全软件有限公司 | Control method and device of intelligent equipment, intelligent equipment and medium |
CN108513365B (en) * | 2018-03-22 | 2020-11-06 | 北京金山安全软件有限公司 | Control method and device of intelligent equipment, intelligent equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107396334B (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106612233B (en) | multi-channel network switching method and system | |
CN107086934B (en) | The configuration method and gateway of networking equipment | |
WO2021232568A1 (en) | Method, terminal and system for transceiving data over wireless local area network, and network access device | |
CN103873472A (en) | Method for automatically having access to network | |
CN109586958B (en) | Configuration management method for dual-system device and dual-system device | |
CN105554754A (en) | Method and system for accessing WIFI module of the internet of things to network | |
US20140112239A1 (en) | Method, device and system for transmitting a push message | |
CN110913006B (en) | Remote diagnosis method and system | |
WO2018127380A1 (en) | Method for data transmission between, on the one hand, an application server, and, on the other hand, at least one internet-of-things communication device using a mobile communication network, mobile communication network, system, internet-of-thing communication device, program and computer program product | |
US20240089706A1 (en) | Access agnostic delivery of broadcast, multicast, or unicast content | |
CN109150766A (en) | The method and apparatus of dynamic addressing server in local area network based on UDP multicast | |
CN104486174A (en) | Networking method and networking device for intelligent terminals | |
CN106535170A (en) | Cloud access controller (AC) finding method and system of wireless access equipment | |
CN104852835B (en) | Smart machine WIFI communication systems and its control method | |
CN106533503B (en) | A kind of method and device of powerline network communication | |
CN107396334A (en) | The method of wireless sound box and its multiple smart machines of connection | |
CN101436953B (en) | Management method and processing module for on-line announcement message of network appliance | |
US10264483B2 (en) | Group communication method, apparatus, and system | |
CN111294358B (en) | Message processing method and device | |
CN109495918B (en) | Data transmission method and device | |
WO2019196465A1 (en) | Networking method, device and system for air conditioning system, and signal transmission method and device | |
CN110505357A (en) | A kind of management method of aerospace VOIP voice terminal | |
CN106332179B (en) | A kind of message compression method and mobile terminal | |
WO2017020287A1 (en) | Link detection method and device | |
EP4243383A1 (en) | Message transmission method and system, and network device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |