技术领域technical field
本发明属于智能终端技术领域,涉及一种无线音箱的组网方法、装置及系统。The invention belongs to the technical field of intelligent terminals, and relates to a networking method, device and system for wireless speakers.
背景技术Background technique
在支持无线MESH(网格)网络的无线音箱中,通常第一台音箱需要移动终端的应用程序(Application,App)控制连接到某个路由器下,同时该音箱创建MESH网络并将自身作为一个主音箱(MPP),其中主音箱是App与MESH网络中其他音箱通信的入口。当其他的音箱启动时,它会被周围的MPP检测到,App通过MPP获取该新音箱的信息,然后App向MPP发添加音箱指令,以控制MPP将该新音箱添加到MESH网络。In wireless speakers that support wireless MESH (grid) networks, usually the first speaker needs to be connected to a router under the control of the mobile terminal application (Application, App), and at the same time, the speaker creates a MESH network and acts as a master Speakers (MPP), where the main speaker is the entrance for the App to communicate with other speakers in the MESH network. When other speakers are started, it will be detected by the surrounding MPP, the App obtains the information of the new speaker through the MPP, and then the App sends an add speaker command to the MPP to control the MPP to add the new speaker to the MESH network.
但是现有的音箱组网方法不能避免音箱被添加到错误的MESH网络中。例如,A用户在家里启动了第一MPP,B用户在家里启动了第二MPP,使得A用户家里或B用户家里的任一新音箱启动后能够被第一MPP和第二MPP检测到,此时A用户和B用户都可以将该新音箱添加到各自的MESH网络中。如果该新音箱是A用户购买的,A用户不希望B用户将该新音箱加入到B的MESH网络中。However, existing speaker networking methods cannot prevent speakers from being added to the wrong MESH network. For example, user A activates the first MPP at home, and user B activates the second MPP at home, so that any new speakers in user A's home or user B's home can be detected by the first MPP and the second MPP after being activated. At this time, both user A and user B can add the new speakers to their respective MESH networks. If the new speaker is purchased by user A, user A does not want user B to add the new speaker to B's MESH network.
发明内容Contents of the invention
本发明的目的是提出一种无线音箱的组网方法、装置及系统,以防止无线音箱被添加到错误的网格网络中。The purpose of the present invention is to propose a wireless speaker networking method, device and system, so as to prevent the wireless speaker from being added to a wrong grid network.
一方面,本发明实施例提供一种主无线音箱的组网方法,包括:On the one hand, an embodiment of the present invention provides a method for networking a main wireless speaker, including:
接收从无线音箱发送的连接请求,所述连接请求包括所述从无线音箱的物理地址;receiving a connection request sent from the wireless speaker, the connection request including the physical address of the slave wireless speaker;
在预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述从无线音箱的连接。When the preset physical address list includes the physical address of the slave wireless speaker, establish a connection with the slave wireless speaker according to the physical address.
又一方面,本发明实施例提供一种移动终端控制的音箱组网方法,包括:In yet another aspect, an embodiment of the present invention provides a speaker networking method controlled by a mobile terminal, including:
获取至少一个从无线音箱的物理地址;Obtain the physical address of at least one slave wireless speaker;
在预设的音箱添加事件被触发时,生成添加音箱指令,所述添加音箱指令包括所述至少一个从无线音箱的物理地址;When a preset speaker addition event is triggered, generate an add speaker instruction, where the add speaker instruction includes the physical address of the at least one slave wireless speaker;
向连接的主无线音箱发送所述添加音箱指令,使所述主无线音箱根据所述添加音箱指令建立与从无线音箱的连接。Sending the speaker addition instruction to the connected master wireless speaker, so that the master wireless speaker establishes a connection with the slave wireless speaker according to the speaker addition instruction.
又一方面,本发明实施例提供一种主无线音箱的组网装置,包括:In yet another aspect, an embodiment of the present invention provides a networking device for a master wireless speaker, including:
连接请求接收单元,用于接收从无线音箱发送的连接请求,所述连接请求包括所述从无线音箱的物理地址;A connection request receiving unit, configured to receive a connection request sent from the wireless speaker, the connection request including the physical address of the slave wireless speaker;
从音箱连接单元,用于在预设的物理地址包括所述无线音箱的物理地址时,根据所述物理地址建立与所述从无线音箱的连接。The slave speaker connection unit is configured to establish a connection with the slave wireless speaker according to the physical address when the preset physical address includes the physical address of the wireless speaker.
另一方面,本发明实施例提供一种移动终端控制的音箱组网装置,包括:On the other hand, an embodiment of the present invention provides a speaker networking device controlled by a mobile terminal, including:
地址获取单元,用于获取至少一个从无线音箱的物理地址;The address obtaining unit is used to obtain the physical address of at least one slave wireless speaker;
指令生成单元,用于在预设的音箱添加事件被触发时,生成添加音箱指令,所述添加音箱指令包括所述至少一个从无线音箱的物理地址;An instruction generation unit, configured to generate an instruction to add a speaker when a preset speaker addition event is triggered, the instruction to add a speaker includes the physical address of the at least one slave wireless speaker;
指令发送单元,用于向连接的主无线音箱发送所述添加音箱指令,使所述主无线音箱根据所述添加音箱指令建立与从无线音箱的连接。The instruction sending unit is configured to send the speaker addition instruction to the connected master wireless speaker, so that the master wireless speaker establishes a connection with the slave wireless speaker according to the speaker addition instruction.
再一方面,本发明实施例提供一种音箱组网系统,包括一个主无线音箱和至少一个从无线音箱,其中所述从无线音箱向所述主无线音箱发送连接请求,所述连接请求包括所述从无线音箱的物理地址;In yet another aspect, an embodiment of the present invention provides a speaker networking system, including a master wireless speaker and at least one slave wireless speaker, wherein the slave wireless speaker sends a connection request to the master wireless speaker, and the connection request includes the Describe the physical address of the slave wireless speaker;
所述主无线音箱接收所述连接请求,在所述主无线音箱确定预设的物理地址列表包括所述从无线音箱的物理地址时,所述主无线音箱根据所述物理地址建立与所述从无线音箱的连接。The master wireless speaker receives the connection request, and when the master wireless speaker determines that the preset physical address list includes the physical address of the slave wireless speaker, the master wireless speaker establishes a connection with the slave according to the physical address. Connection of wireless speakers.
本发明实施例提供的无线音箱的组网方法、装置及系统,防止了无线音箱被添加到错误的网络网格中。该方法主无线音箱接收从无线音箱发送的连接请求,在主无线音箱中预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述无线音箱的连接,即主无线音箱在建立与从无线音箱的连接之前,先通过从无线音箱的物理地址来确定是否有与所述从无线音箱建立连接的权限,避免了无线音箱被添加到错误的网格网络中。The networking method, device and system for wireless speakers provided by the embodiments of the present invention prevent wireless speakers from being added to wrong network grids. In this method, the master wireless speaker receives the connection request sent from the slave wireless speaker, and when the physical address list preset in the master wireless speaker includes the physical address of the slave wireless speaker, establishes a connection with the wireless speaker according to the physical address, That is, before the master wireless speaker establishes a connection with the slave wireless speaker, it first determines whether it has the authority to establish a connection with the slave wireless speaker through the physical address of the slave wireless speaker, so as to avoid the wireless speaker being added to the wrong grid network .
附图说明Description of drawings
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本发明实施例的一部分,并不构成对本发明实施例的限定。在附图中:The drawings described here are used to provide further understanding of the embodiments of the present invention, constitute a part of the embodiments of the present invention, and do not limit the embodiments of the present invention. In the attached picture:
图1是本发明第一实施例中提供的一种主无线音箱的组网方法的实现流程图;Fig. 1 is a flow chart of the implementation of a networking method for a master wireless speaker provided in the first embodiment of the present invention;
图2是本发明第二实施例中提供的一种主无线音箱的组网方法的实现流程图;Fig. 2 is a flow chart of realizing a networking method of a main wireless speaker provided in the second embodiment of the present invention;
图3是本发明第三实施例中提供的一种移动终端控制的音箱组网方法的实现流程图;FIG. 3 is a flow chart for realizing a method for networking speakers controlled by a mobile terminal provided in the third embodiment of the present invention;
图4是本发明第四实施例中提供的一种主无线音箱的组网装置的结构示意图;Fig. 4 is a schematic structural diagram of a networking device for a master wireless speaker provided in a fourth embodiment of the present invention;
图5是本发明第五实施例中提供的一种移动终端控制的音箱组网装置的结构示意图;5 is a schematic structural diagram of a speaker networking device controlled by a mobile terminal provided in a fifth embodiment of the present invention;
图6是本发明第六实施例中提供的一种音箱组网系统的结构示意图;Fig. 6 is a schematic structural diagram of a speaker networking system provided in the sixth embodiment of the present invention;
具体实施方式detailed description
下面结合附图及具体实施例对本发明实施例进行更加详细与完整的说明。可以理解的是,此处所描述的具体实施例仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部内容。The embodiments of the present invention will be described in more detail and complete below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, only the part related to the embodiment of the present invention is shown in the drawings but not the whole content.
第一实施例:First embodiment:
图1是本发明第一实施例中提供的一种主无线音箱的组网方法的实现流程图,该方法可以由主无线音箱的组网装置执行,其中该装置可以由软件和/或硬件实现,可作为主无线音箱的一部分被内置在主无线音箱内部。如图1所示,该实现流程包括:Fig. 1 is a flow chart of the implementation of a networking method of a master wireless speaker provided in the first embodiment of the present invention, the method can be executed by a networking device of the master wireless speaker, wherein the device can be realized by software and/or hardware , which can be built into the main wireless speaker as a part of the main wireless speaker. As shown in Figure 1, the implementation process includes:
步骤11、接收从无线音箱发送的连接请求,所述连接请求包括所述从无线音箱的物理地址。Step 11. Receive a connection request sent from the wireless speaker, where the connection request includes the physical address of the slave wireless speaker.
主无线音箱接收从无线音箱发送的连接请求,其中所述主无线音箱为与移动终端连接的无线音箱。所述主无线音箱与所述移动终端与同一无线路由器连接,且所述主无线音箱能够与所述移动终端通信。所述从无线音箱为未与移动终端连接的无线音箱。The master wireless speaker receives the connection request sent by the slave wireless speaker, wherein the master wireless speaker is a wireless speaker connected to the mobile terminal. The main wireless speaker and the mobile terminal are connected to the same wireless router, and the main wireless speaker can communicate with the mobile terminal. The slave wireless speaker is a wireless speaker not connected to the mobile terminal.
需要说明的是,本发明中主无线音箱和从无线音箱可以相互替换。具体的,若无线音箱与移动终端连接,则该无线音箱作为主无线音箱;若无线音箱不与移动终端连接,而与主无线音箱连接,则该无线音箱作为从无线音箱。It should be noted that, in the present invention, the master wireless speaker and the slave wireless speaker can replace each other. Specifically, if the wireless speaker is connected to the mobile terminal, the wireless speaker is used as the master wireless speaker; if the wireless speaker is not connected to the mobile terminal, but is connected to the master wireless speaker, the wireless speaker is used as the slave wireless speaker.
步骤12、在预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述从无线音箱的连接。Step 12: When the preset physical address list includes the physical address of the slave wireless speaker, establish a connection with the slave wireless speaker according to the physical address.
主无线音箱中保存有一个物理地址列表,物理地址列表中的各物理地址对应的各无线音箱都能够与主无线音箱建立连接,即主无线音箱具有与所述各无线音箱连接的权限。A physical address list is stored in the main wireless speaker, and each wireless speaker corresponding to each physical address in the physical address list can establish a connection with the main wireless speaker, that is, the main wireless speaker has the right to connect with the wireless speakers.
在所述物理地址列表包括所述从无线音箱的物理地址时,所述主无线音箱具有与所述从无线音箱连接的权限,所述主无线音箱根据所述物理地址建立与所述从无线音箱的连接,使所述主无线音箱能够与所述从无线音箱通信。When the physical address list includes the physical address of the slave wireless speaker, the master wireless speaker has the authority to connect with the slave wireless speaker, and the master wireless speaker establishes a relationship with the slave wireless speaker according to the physical address. connection so that the master wireless speaker can communicate with the slave wireless speaker.
现有的无线音箱的组网方法,主无线音箱接收任一从无线音箱发送的连接请求时,主无线音箱将该从无线音箱的信息发送给移动终端,移动终端的音箱添加事件被触发时,移动终端向主无线音箱发送添加音箱指令,主无线音箱接收到添加音箱指令后建立与该从无线音箱的连接,即现有的无线音箱的组网方法通过从无线音箱、主无线音箱、移动终端三者之间的交互,建立从无线音箱与主无线音箱之间的连接。然而,本发明中只需通过从无线音箱与主无线音箱之间的交互即能够建立从无线音箱与主无线音箱之间的连接,简化了影响添加步骤,提升了用户体验。In the existing networking method of wireless speakers, when the master wireless speaker receives a connection request sent by any slave wireless speaker, the master wireless speaker sends the information of the slave wireless speaker to the mobile terminal, and when the speaker addition event of the mobile terminal is triggered, The mobile terminal sends an add speaker instruction to the master wireless speaker, and the master wireless speaker establishes a connection with the slave wireless speaker after receiving the add speaker instruction, that is, the existing wireless speaker networking method is through the slave wireless speaker, the master wireless speaker, the mobile terminal The interaction between the three establishes the connection between the slave wireless speaker and the master wireless speaker. However, in the present invention, the connection between the slave wireless speaker and the master wireless speaker can be established only through the interaction between the slave wireless speaker and the master wireless speaker, which simplifies the steps of adding effects and improves user experience.
本发明实施例提供的主无线音箱的组网方法,主无线音箱接收从无线音箱发送的连接请求,在主无线音箱中预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述无线音箱的连接,即主无线音箱在建立与从无线音箱的连接之前,先通过从无线音箱的物理地址确定是否具有与所述从无线音箱建立连接的权限,避免了无线音箱被添加到错误的网格网络中,简化了音箱添加步骤。In the networking method of the master wireless speaker provided by the embodiment of the present invention, the master wireless speaker receives the connection request sent by the slave wireless speaker, and when the physical address list preset in the master wireless speaker includes the physical address of the slave wireless speaker, according to the The physical address establishes a connection with the wireless speaker, that is, before the master wireless speaker establishes a connection with the slave wireless speaker, it first determines whether it has the authority to establish a connection with the slave wireless speaker through the physical address of the slave wireless speaker. Wireless speakers were added to the wrong mesh network, simplifying speaker addition steps.
第二实施例second embodiment
图2是本发明第二实施例中提供的一种主无线音箱的组网方法的实现流程图。所述主无线音箱的组网方法以本发明第一实施例为基础,进一步的,所述接收从无线音箱发送的连接请求之前,还包括:接收连接的移动终端发送的添加音箱指令,所述添加音箱指令包括至少一个从无线音箱的物理地址;确定预设的物理地址列表是否包括所述至少一个从无线音箱的物理地址,并根据确定结果响应所述添加音箱指令。Fig. 2 is a flow chart of the implementation of a networking method for master wireless speakers provided in the second embodiment of the present invention. The networking method of the main wireless speaker is based on the first embodiment of the present invention. Further, before receiving the connection request sent from the wireless speaker, it also includes: receiving an instruction to add a speaker sent by the connected mobile terminal, and the The instruction of adding a speaker includes the physical address of at least one secondary wireless speaker; determining whether the preset physical address list includes the physical address of the at least one secondary wireless speaker, and responding to the instruction of adding a speaker according to the determination result.
如图2所示,所述主无线音箱的组网方法包括:As shown in Figure 2, the networking method of the main wireless speaker includes:
步骤21、接收连接的移动终端发送的添加音箱指令,所述添加音箱指令包括至少一个从无线音箱的物理地址。Step 21: Receive an instruction to add a speaker sent by the connected mobile terminal, where the instruction to add a speaker includes a physical address of at least one slave wireless speaker.
移动终端中的添加音箱事件被触发时,移动终端向主无线音箱发送所述添加音箱指令,所述主无线音箱接收所述添加音箱指令。When the event of adding a speaker in the mobile terminal is triggered, the mobile terminal sends the instruction of adding a speaker to the main wireless speaker, and the main wireless speaker receives the instruction of adding a speaker.
步骤22、确定预设的物理地址列表是否包括所述至少一个从无线音箱的物理地址,并根据确定结果响应所述添加音箱指令。Step 22. Determine whether the preset physical address list includes the physical address of the at least one slave wireless speaker, and respond to the instruction to add a speaker according to the determination result.
可选的,所述确定预设的物理地址列表是否包括所述至少一个从无线音箱的物理地址,并根据确定结果响应所述添加音箱指令,包括:对于所述至少一个无线音箱的物理地址中的每个物理地址,若预设的物理地址列表包括该物理地址,则建立与该物理地址对应的从无线音箱的连接;否则,将该物理地址添加到所述物理地址列表中。Optionally, the determining whether the preset physical address list includes the physical address of the at least one slave wireless speaker, and responding to the instruction of adding a speaker according to the determination result includes: for the physical address of the at least one wireless speaker For each physical address, if the preset physical address list includes the physical address, establish a connection to the slave wireless speaker corresponding to the physical address; otherwise, add the physical address to the physical address list.
步骤23、接收从无线音箱发送的连接请求,所述连接请求包括所述从无线音箱的物理地址。Step 23. Receive a connection request sent from the wireless speaker, where the connection request includes the physical address of the slave wireless speaker.
主无线音箱接收从无线音箱发送的连接请求,其中所述主无线音箱为与移动终端连接的无线音箱。所述主无线音箱与所述移动终端与同一无线路由器连接,且所述主无线音箱能够与所述移动终端通信。所述从无线音箱为未与移动终端连接的无线音箱。The master wireless speaker receives the connection request sent by the slave wireless speaker, wherein the master wireless speaker is a wireless speaker connected to the mobile terminal. The main wireless speaker and the mobile terminal are connected to the same wireless router, and the main wireless speaker can communicate with the mobile terminal. The slave wireless speaker is a wireless speaker not connected to the mobile terminal.
步骤24、在预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述从无线音箱的连接。Step 24: When the preset physical address list includes the physical address of the slave wireless speaker, establish a connection with the slave wireless speaker according to the physical address.
主无线音箱中保存有一个物理地址列表。在所述物理地址列表包括所述从无线音箱的物理地址时,所述主无线音箱具有与所述从无线音箱连接的权限,所述主无线音箱根据所述物理地址建立与所述从无线音箱的连接,使所述主无线音箱能够与所述从无线音箱通信。A list of physical addresses is kept in the master wireless speaker. When the physical address list includes the physical address of the slave wireless speaker, the master wireless speaker has the authority to connect with the slave wireless speaker, and the master wireless speaker establishes a relationship with the slave wireless speaker according to the physical address. connection so that the master wireless speaker can communicate with the slave wireless speaker.
本发明实施例提供的主无线音箱的组网方法,主无线音箱通过添加音箱指令建立与从无线音箱的连接或更新所述物理地址列表,而且主无线音箱接收到从任一无线音箱发送的连接请求,在主无线音箱中预设的物理地址列表包括所述从无线音箱的物理地址时,根据所述物理地址建立与所述无线音箱的连接,避免了无线音箱被添加到错误的网格网络中,简化了音箱添加步骤。In the networking method of the master wireless speaker provided by the embodiment of the present invention, the master wireless speaker establishes a connection with the slave wireless speaker by adding a speaker command or updates the physical address list, and the master wireless speaker receives the connection sent from any wireless speaker Request, when the preset physical address list in the master wireless speaker includes the physical address of the slave wireless speaker, establish a connection with the wireless speaker according to the physical address, avoiding the wireless speaker being added to the wrong grid network In , the steps of adding speakers are simplified.
第三实施例third embodiment
图3是本发明第三实施例中提供的一种移动终端控制的音箱组网方法的实现流程图,该方法可以由移动终端控制的音箱组网装置执行,其中该装置可以由软件和/或硬件实现,可作为移动终端一部分被内置在移动终端内部。如图1所示,该实现流程包括:Fig. 3 is a flow chart of implementing a speaker networking method controlled by a mobile terminal provided in the third embodiment of the present invention, the method can be executed by a speaker networking device controlled by a mobile terminal, wherein the device can be implemented by software and/or It is realized by hardware and can be built into the mobile terminal as a part of the mobile terminal. As shown in Figure 1, the implementation process includes:
步骤31、获取至少一个从无线音箱的物理地址。Step 31. Obtain the physical address of at least one slave wireless speaker.
例如,移动终端的用户手动输入所述至少一个从无线音箱的物理地址,或所述移动终端通过摄像头让用户扫描贴在从无线音箱表面的二维码,其中所述二维码由从无线音箱的物理地址生成。For example, the user of the mobile terminal manually inputs the physical address of the at least one secondary wireless speaker, or the mobile terminal allows the user to scan the two-dimensional code pasted on the surface of the secondary wireless speaker through the camera, wherein the two-dimensional code is generated by the secondary wireless speaker physical address generation.
步骤32、在预设的音箱添加事件被触发时,生成添加音箱指令,所述添加音箱指令包括所述至少一个从无线音箱的物理地址。Step 32: When a preset speaker adding event is triggered, generate a speaker adding instruction, where the adding speaker instruction includes the physical address of the at least one slave wireless speaker.
步骤33、向连接的主无线音箱发送所述添加音箱指令,使所述主无线音箱根据所述添加音箱指令建立与从无线音箱的连接。Step 33: Send the speaker adding instruction to the connected master wireless speaker, so that the master wireless speaker establishes a connection with the slave wireless speaker according to the speaker adding instruction.
本发明实施例提供的移动终端控制的音箱组网方法,移动终端获取从无线音箱的物理地址,并通过添加音箱指令向主无线音箱发送获取的从无线音箱的物理地址。In the speaker networking method controlled by the mobile terminal provided in the embodiment of the present invention, the mobile terminal acquires the physical address of the slave wireless speaker, and sends the obtained physical address of the slave wireless speaker to the master wireless speaker through an add speaker command.
第四实施例Fourth embodiment
图4是本发明第四实施例中提供的一种主无线音箱的组网装置的结构示意图,该装置可以内置在主无线音箱内部。如图4所示,所述主无线音箱的组网装置包括连接请求接收单元41和从音箱连接单元42。Fig. 4 is a schematic structural diagram of a networking device for a master wireless speaker provided in a fourth embodiment of the present invention, and the device can be built inside the master wireless speaker. As shown in FIG. 4 , the networking device of the master wireless speaker includes a connection request receiving unit 41 and a slave speaker connecting unit 42 .
其中,所述连接请求接收单元41,用于接收从无线音箱发送的连接请求,所述连接请求包括所述从无线音箱的物理地址;Wherein, the connection request receiving unit 41 is configured to receive a connection request sent from the wireless speaker, and the connection request includes the physical address of the slave wireless speaker;
所述从音箱连接单元42,用于在预设的物理地址包括所述无线音箱的物理地址时,根据所述物理地址建立与所述从无线音箱的连接。The slave speaker connection unit 42 is configured to establish a connection with the slave wireless speaker according to the physical address when the preset physical address includes the physical address of the wireless speaker.
可选的,所述装置还包括:Optionally, the device also includes:
指令接收单元,用于在接收从无线音箱发送的连接请求之前,接收连接的移动终端发送的添加音箱指令,所述添加音箱指令包括至少一个从无线音箱的物理地址;The instruction receiving unit is used to receive the add speaker instruction sent by the connected mobile terminal before receiving the connection request sent from the wireless speaker, and the add speaker instruction includes at least one physical address from the wireless speaker;
指令响应单元,用于确定预设的物理地址列表是否包括所述至少一个从无线音箱的物理地址,并根据确定结果响应所述添加音箱指令。The instruction response unit is configured to determine whether the preset physical address list includes the physical address of the at least one slave wireless speaker, and respond to the instruction of adding a speaker according to the determination result.
可选的,所述指令响应单元具体用于:对于所述至少一个无线音箱的物理地址中的每个物理地址,若预设的物理地址列表包括该物理地址时,则建立与该物理地址对应的从无线音箱的连接;否则,将该物理地址添加到所述物理地址列表中。Optionally, the instruction response unit is specifically configured to: for each physical address in the physical addresses of the at least one wireless speaker, if the preset physical address list includes the physical address, establish a corresponding physical address connection from the wireless speaker; otherwise, add the physical address to the list of physical addresses.
本发明实施例提供的主无线音箱的组网装置,从音箱连接单元在预设的物理地址列表包括所述无线音箱的物理地址时,建立与所述从无线音箱的连接,避免了无线音箱被添加到错误的网格网络中,简化了音箱添加步骤。In the networking device for the master wireless speaker provided in the embodiment of the present invention, when the preset physical address list includes the physical address of the wireless speaker, the slave speaker connection unit establishes a connection with the slave wireless speaker, preventing the wireless speaker from being Adding to the wrong mesh network simplifies the speaker addition process.
第五实施例fifth embodiment
图5是本发明第五实施例中提供的一种移动终端控制的音箱组网装置的结构示意图,该装置可以内置在移动终端内部。如图5所示,所述移动终端控制的音箱组网装置包括地址获取单元51、指令生成单元52和指令发送单元53。Fig. 5 is a schematic structural diagram of a speaker networking device controlled by a mobile terminal provided in a fifth embodiment of the present invention, and the device can be built in a mobile terminal. As shown in FIG. 5 , the speaker networking device controlled by the mobile terminal includes an address obtaining unit 51 , an instruction generating unit 52 and an instruction sending unit 53 .
其中,所述地址获取单元51,用于获取至少一个从无线音箱的物理地址;Wherein, the address obtaining unit 51 is used to obtain the physical address of at least one slave wireless speaker;
所述指令生成单元52,用于在预设的音箱添加事件被触发时,生成添加音箱指令,所述添加音箱指令包括所述至少一个从无线音箱的物理地址;The instruction generation unit 52 is configured to generate an instruction to add a speaker when a preset speaker addition event is triggered, and the instruction to add a speaker includes the physical address of the at least one slave wireless speaker;
所述指令发送单元53,用于向连接的主无线音箱发送所述添加音箱指令,使所述主无线音箱根据所述添加音箱指令建立与从无线音箱的连接。The instruction sending unit 53 is configured to send the speaker addition instruction to the connected master wireless speaker, so that the master wireless speaker establishes a connection with the slave wireless speaker according to the speaker addition instruction.
本发明实施例提供的移动终端控制的音箱组网装置,通过地址获取单元获取从无线音箱的物理地址,并通过指令生成单元将所述物理地址转化为添加音箱指令,再通过所述指令发送单元将所述添加音箱指令发送给主无线音箱。The speaker networking device controlled by the mobile terminal provided in the embodiment of the present invention acquires the physical address of the wireless speaker through the address acquisition unit, and converts the physical address into an instruction to add a speaker through the instruction generation unit, and then through the instruction sending unit Send the speaker adding instruction to the main wireless speaker.
第六实施例Sixth embodiment
图6是本发明第六实施例中提供的一种音箱组网系统的结构示意图,如图6所示,所述音箱组网系统包括一个主无线音箱61和至少一个从无线音箱62,其中,所述从无线音箱62向所述主无线音箱61发送连接请求,所述连接请求包括所述从无线音箱62的物理地址;所述主无线音箱61接收所述连接请求,在所述主无线音箱61确定预设的物理地址列表包括所述从无线音箱62的物理地址时,所述主无线音箱61根据所述物理地址建立与所述从无线音箱62的连接。Fig. 6 is a schematic structural diagram of a speaker networking system provided in the sixth embodiment of the present invention. As shown in Fig. 6, the speaker networking system includes a master wireless speaker 61 and at least one slave wireless speaker 62, wherein, The slave wireless speaker 62 sends a connection request to the master wireless speaker 61, the connection request includes the physical address of the slave wireless speaker 62; the master wireless speaker 61 receives the connection request, and the master wireless speaker 61 receives the connection request. 61 When determining that the preset physical address list includes the physical address of the slave wireless speaker 62, the master wireless speaker 61 establishes a connection with the slave wireless speaker 62 according to the physical address.
可选的,所述音箱组网系统还包括与所述主无线音箱61连接的一个移动终端63,其中所述移动终端63获取至少一个从无线音箱62的物理地址;Optionally, the speaker networking system further includes a mobile terminal 63 connected to the master wireless speaker 61, wherein the mobile terminal 63 acquires at least one physical address of the slave wireless speaker 62;
在预设的音箱添加事件被触发时,所述移动终端63生成添加音箱指令并向所述主无线音箱61发送所述添加音箱指令,其中所述添加音箱指令包括所述至少一个从无线音箱62的物理地址;When the preset speaker adding event is triggered, the mobile terminal 63 generates an add speaker instruction and sends the add speaker instruction to the main wireless speaker 61, wherein the add speaker instruction includes the at least one slave wireless speaker 62 the physical address of
所述主无线音箱61确定所述主无线音箱61中预设的物理地址列表是否包括所述至少一个从无线音箱62的物理地址,并根据确定结果响应所述添加音箱指令。The master wireless speaker 61 determines whether the physical address list preset in the master wireless speaker 61 includes the physical address of the at least one slave wireless speaker 62, and responds to the speaker adding instruction according to the determination result.
可选的,对于所述至少一个无线音箱的物理地址中的每个物理地址,若预设的物理地址列表包括该物理地址时,则所述主无线音箱61建立与该物理地址对应的从无线音箱62的连接;否则,所述主无线音箱61将该物理地址添加到所述物理地址列表中。Optionally, for each physical address in the physical addresses of the at least one wireless speaker, if the preset physical address list includes the physical address, the master wireless speaker 61 establishes a slave wireless speaker corresponding to the physical address. The connection of the speaker 62; otherwise, the main wireless speaker 61 adds the physical address to the physical address list.
本实施例提供的音箱组网系统,防止了音箱误与其他主无线音箱连接,即避免了音箱误加入其他网格网络,简化了音箱添加步骤,提升了用户体验。The speaker networking system provided in this embodiment prevents speakers from being mistakenly connected to other main wireless speakers, that is, prevents speakers from being mistakenly added to other grid networks, simplifies the steps of adding speakers, and improves user experience.
上所述仅为本发明实施例的优选实施例,并不用于限制本发明实施例,对于本领域技术人员而言,本发明实施例可以有各种改动和变化。凡在本发明实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above descriptions are only preferred embodiments of the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, various modifications and changes may be made to the embodiments of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention shall be included within the protection scope of the embodiments of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510240677.7ACN104853449B (en) | 2015-05-12 | 2015-05-12 | A kind of network-building method of wireless sound box, apparatus and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510240677.7ACN104853449B (en) | 2015-05-12 | 2015-05-12 | A kind of network-building method of wireless sound box, apparatus and system |
| Publication Number | Publication Date |
|---|---|
| CN104853449Atrue CN104853449A (en) | 2015-08-19 |
| CN104853449B CN104853449B (en) | 2018-06-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510240677.7AActiveCN104853449B (en) | 2015-05-12 | 2015-05-12 | A kind of network-building method of wireless sound box, apparatus and system |
| Country | Link |
|---|---|
| CN (1) | CN104853449B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105120398A (en)* | 2015-09-09 | 2015-12-02 | 海信集团有限公司 | Sound box and sound box system |
| CN105259830A (en)* | 2015-10-20 | 2016-01-20 | 北京小鸟听听科技有限公司 | Voice box automatic switching method, apparatus and voice box device |
| CN105357657A (en)* | 2015-10-20 | 2016-02-24 | 广东欧珀移动通信有限公司 | Mesh network construction method and device |
| CN107613424A (en)* | 2017-09-25 | 2018-01-19 | 解君 | A kind of audio amplifier control method and device |
| CN107948834A (en)* | 2017-12-25 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of distribution sound equipment |
| CN110856086A (en)* | 2019-10-30 | 2020-02-28 | 歌尔股份有限公司 | Method and device for controlling sound system and readable storage medium |
| CN112367411A (en)* | 2021-01-14 | 2021-02-12 | 杭州微策生物技术股份有限公司 | Intelligent POCT detection equipment and management method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070217349A1 (en)* | 2003-12-22 | 2007-09-20 | Gabor Fodor | System and Method for Multi-Access |
| CN102547703A (en)* | 2010-12-24 | 2012-07-04 | 株式会社泛泰 | Mobile terminal, server, and method for providing content information |
| CN102821401A (en)* | 2012-09-06 | 2012-12-12 | 北京傲天动联技术有限公司 | Method for controlling wireless mesh network with wireless access controller |
| CN103533616A (en)* | 2013-10-22 | 2014-01-22 | 杭州华三通信技术有限公司 | Method for adding AP equipment into Mesh network and equipment |
| CN103813330A (en)* | 2012-11-15 | 2014-05-21 | 中兴通讯股份有限公司 | Communication terminal and system and authority management method |
| CN103929748A (en)* | 2014-04-30 | 2014-07-16 | 普联技术有限公司 | Internet of things wireless terminal, configuration method thereof and wireless network access point |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070217349A1 (en)* | 2003-12-22 | 2007-09-20 | Gabor Fodor | System and Method for Multi-Access |
| CN102547703A (en)* | 2010-12-24 | 2012-07-04 | 株式会社泛泰 | Mobile terminal, server, and method for providing content information |
| CN102821401A (en)* | 2012-09-06 | 2012-12-12 | 北京傲天动联技术有限公司 | Method for controlling wireless mesh network with wireless access controller |
| CN103813330A (en)* | 2012-11-15 | 2014-05-21 | 中兴通讯股份有限公司 | Communication terminal and system and authority management method |
| CN103533616A (en)* | 2013-10-22 | 2014-01-22 | 杭州华三通信技术有限公司 | Method for adding AP equipment into Mesh network and equipment |
| CN103929748A (en)* | 2014-04-30 | 2014-07-16 | 普联技术有限公司 | Internet of things wireless terminal, configuration method thereof and wireless network access point |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105120398A (en)* | 2015-09-09 | 2015-12-02 | 海信集团有限公司 | Sound box and sound box system |
| CN105120398B (en)* | 2015-09-09 | 2019-07-12 | 海信集团有限公司 | A kind of speaker and sound box system |
| CN105259830A (en)* | 2015-10-20 | 2016-01-20 | 北京小鸟听听科技有限公司 | Voice box automatic switching method, apparatus and voice box device |
| CN105357657A (en)* | 2015-10-20 | 2016-02-24 | 广东欧珀移动通信有限公司 | Mesh network construction method and device |
| CN105357657B (en)* | 2015-10-20 | 2018-09-11 | 广东欧珀移动通信有限公司 | Mesh Network Establishment Method and Device |
| CN107613424A (en)* | 2017-09-25 | 2018-01-19 | 解君 | A kind of audio amplifier control method and device |
| CN107613424B (en)* | 2017-09-25 | 2019-08-27 | 湖南国声声学科技股份有限公司 | A kind of speaker control method and device |
| CN107948834A (en)* | 2017-12-25 | 2018-04-20 | 广州市尊浪电器有限公司 | A kind of distribution sound equipment |
| CN107948834B (en)* | 2017-12-25 | 2020-04-28 | 广州市尊浪电器有限公司 | Distributed sound equipment |
| CN110856086A (en)* | 2019-10-30 | 2020-02-28 | 歌尔股份有限公司 | Method and device for controlling sound system and readable storage medium |
| CN112367411A (en)* | 2021-01-14 | 2021-02-12 | 杭州微策生物技术股份有限公司 | Intelligent POCT detection equipment and management method thereof |
| CN112367411B (en)* | 2021-01-14 | 2021-05-11 | 杭州微策生物技术股份有限公司 | Intelligent POCT detection equipment and management method thereof |
| Publication number | Publication date |
|---|---|
| CN104853449B (en) | 2018-06-15 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104853449B (en) | A kind of network-building method of wireless sound box, apparatus and system | |
| CN110740460B (en) | Network access method and device of equipment, network equipment and storage medium | |
| CN104486747A (en) | Method and device for cross-terminal account login | |
| CN104683434B (en) | Network system keeps connection method, communication means, electronic equipment, keeps Connection Service device, application server, program | |
| CN105139877A (en) | Method for connecting multimedia play devices, main device, control terminal and system | |
| CN104967560B (en) | Method and device for realizing linkage with gateway management equipment | |
| CN104837157B (en) | Speaker adding method, device, mobile terminal and intelligent sound box | |
| US10149057B2 (en) | Audio device, control terminal, method for audio device, and method for control terminal | |
| US20210051764A1 (en) | Speaker system and network control method thereof | |
| CN105636237A (en) | Network connection method, wireless device and system | |
| CN110049012A (en) | A kind of operating method of routing device, routing device and terminal device | |
| WO2018103412A1 (en) | Group chat method and system, and server and mobile terminal | |
| CN105511903A (en) | Method and device for upgrading audio equipment | |
| CN105025529A (en) | A method for switching access points and a wireless speaker | |
| CN114785541A (en) | Device binding method and device, electronic device, and storage medium | |
| CN113794996A (en) | Device communication method, device control method, device communication apparatus, electronic device, and storage medium | |
| CN105246129B (en) | The network-building method and device of a kind of intelligent terminal | |
| WO2016165083A1 (en) | Method of sending message in local area network, local area network gateway, and wearable device | |
| CN119767279A (en) | Information updating method and device, audio sharing method and system, and electronic device | |
| US20160100021A1 (en) | Information processing device, destination information updating method, and record medium | |
| CN103856520A (en) | Communication processing method, server and terminal | |
| CN105471909A (en) | Method for quickly establishing local area network connection and initiating device and routing device | |
| CN109104774A (en) | Data transmission method and system | |
| CN106773797A (en) | A kind of information processing method, system and management platform | |
| CN104683433B (en) | Network system keeps connection method, communication means, electronic equipment, keeps Connection Service device, application server |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| EXSB | Decision made by sipo to initiate substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder | Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |