CN111478816B - Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment - Google Patents
Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment Download PDFInfo
- Publication number
- CN111478816B CN111478816B CN202010297272.8A CN202010297272A CN111478816B CN 111478816 B CN111478816 B CN 111478816B CN 202010297272 A CN202010297272 A CN 202010297272A CN 111478816 B CN111478816 B CN 111478816B
- Authority
- CN
- China
- Prior art keywords
- equipment
- zigbee
- binding
- control
- client
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000004044 response Effects 0.000 claims abstract description 31
- 238000003825 pressing Methods 0.000 claims description 39
- 230000001960 triggered effect Effects 0.000 claims description 13
- 238000012795 verification Methods 0.000 claims description 6
- 230000002457 bidirectional effect Effects 0.000 claims 11
- 238000010586 diagram Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2832—Interconnection of the control functionalities between home networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及智能家居领域,特别涉及一种紫蜂ZigBee子设备的配置方法、系统、装置及介质。The present application relates to the field of smart home, in particular to a Zigbee ZigBee sub-device configuration method, system, device and medium.
背景技术Background technique
智能家居技术是在互联网影响下家居设备物联化的体现,其通过物联网技术将室内的各个ZigBee子设备连接在一起,并通过中控平台对ZigBee子设备进行集中控制。Smart home technology is the embodiment of the Internet of Things of home equipment under the influence of the Internet. It connects various ZigBee sub-devices in the room through the Internet of Things technology, and centrally controls the ZigBee sub-devices through the central control platform.
相关技术中的智能家居系统中,在网关设备与手机客户端处于同一无线保真(Wireless Fidelity,WiFi)网络环境时,将网关设备通过WiFi网络接入手机客户端,将ZigBee子设备接入网关设备,从而实现通过客户端对ZigBee子设备的控制。In the smart home system in the related art, when the gateway device and the mobile phone client are in the same wireless fidelity (Wireless Fidelity, WiFi) network environment, the gateway device is connected to the mobile phone client through the WiFi network, and the ZigBee sub-device is connected to the gateway. device, so as to realize the control of ZigBee sub-device through the client.
然而,相关技术中,网关设备只有在处于WiFi网络环境时才能与客户端进行连接,而在毛坯房等前装环境下,并不存在可应用的WiFi网络环境,客户端无法建立与网关设备之间的连接。However, in related technologies, the gateway device can only be connected to the client when it is in a WiFi network environment, and in the pre-installed environment such as a blank house, there is no applicable WiFi network environment, and the client cannot establish a connection with the gateway device. connection between.
发明内容Contents of the invention
本申请关于一种紫蜂ZigBee子设备的配置方法、系统、装置及介质,能够在客户端未处于WiFi网络环境的情况下,实现与网关设备之间的连接,进而实现对ZigBee子设备的控制。该技术方案如下:This application relates to a Zigbee ZigBee sub-device configuration method, system, device and medium, which can realize the connection with the gateway device when the client is not in the WiFi network environment, and then realize the control of the ZigBee sub-device . The technical solution is as follows:
一方面,提供了一种紫蜂ZigBee子设备的配置方法,应用于网关设备中,该方法包括:On the one hand, a Zigbee ZigBee sub-device configuration method is provided, which is applied to a gateway device, and the method includes:
建立与客户端之间的蓝牙连接,所述蓝牙连接为所述客户端未处于无线保真WiFi网络环境时建立的;Establish a bluetooth connection with the client, where the bluetooth connection is established when the client is not in a wireless fidelity WiFi network environment;
响应于接收到所述客户端通过所述蓝牙连接发送的设备添加指令,接收所述ZigBee子设备通过ZigBee网络发送的接入信号;In response to receiving the device addition instruction sent by the client through the Bluetooth connection, receiving an access signal sent by the ZigBee sub-device through the ZigBee network;
根据所述接入信号通过所述蓝牙连接向所述客户端发送设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识,所述设备配置信息用于指示在所述客户端中添加用于控制所述ZigBee子设备的配置项。Send device configuration information to the client through the Bluetooth connection according to the access signal, the device configuration information includes the device identifier of the ZigBee sub-device, and the device configuration information is used to indicate Add configuration items for controlling the ZigBee sub-device in .
另一方面,提供了一种紫蜂ZigBee子设备的配置方法,应用于客户端中,该方法包括:On the other hand, a Zigbee ZigBee sub-device configuration method is provided, which is applied to the client, and the method includes:
确定当前所处的网络环境;Determine the current network environment;
响应于当前未处于无线保真WiFi网络环境,建立与网关设备之间的蓝牙连接;In response to not currently being in a wireless fidelity WiFi network environment, establishing a Bluetooth connection with the gateway device;
通过所述蓝牙连接向所述网关设备发送设备添加指令,所述设备添加指令用于指示所述网关设备接收所述ZigBee子设备通过ZigBee网络发送的接入信号;Sending a device addition instruction to the gateway device through the Bluetooth connection, the device addition instruction is used to instruct the gateway device to receive the access signal sent by the ZigBee sub-device through the ZigBee network;
接收所述网关设备通过所述蓝牙连接发送的设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识;receiving device configuration information sent by the gateway device through the Bluetooth connection, the device configuration information including the device identifier of the ZigBee sub-device;
根据所述设备配置信息添加用于控制所述ZigBee子设备的配置项。Add configuration items for controlling the ZigBee sub-device according to the device configuration information.
另一方面,提供了一种紫蜂ZigBee子设备的配置系统,该系统包括客户端、网关设备与ZigBee子设备:On the other hand, a Zigbee ZigBee sub-device configuration system is provided, the system includes a client, a gateway device and ZigBee sub-device:
所述客户端,用于确定当前所处的网络环境;响应于未处于无线保真WiFi网络环境,建立与所述网关设备之间的蓝牙连接;通过所述蓝牙连接向所述网关设备发送设备添加指令;The client is configured to determine the current network environment; in response to not being in a wireless fidelity WiFi network environment, establish a Bluetooth connection with the gateway device; send the device to the gateway device through the Bluetooth connection add command;
所述网关设备,用于接收所述客户端通过所述蓝牙连接发送的所述设备添加指令;根据所述设备添加指令接收所述ZigBee子设备通过ZigBee网络发送的接入信号;根据所述接入信号通过所述蓝牙连接向所述客户端发送设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识;The gateway device is configured to receive the device addition instruction sent by the client through the Bluetooth connection; receive the access signal sent by the ZigBee sub-device through the ZigBee network according to the device addition instruction; The incoming signal sends device configuration information to the client through the Bluetooth connection, and the device configuration information includes the device identification of the ZigBee sub-device;
所述客户端,还用于接收所述网关通过所述蓝牙连接发送的所述设备配置信息;根据所述设备配置信息添加用于控制所述ZigBee子设备的配置项。The client is further configured to receive the device configuration information sent by the gateway through the Bluetooth connection; add configuration items for controlling the ZigBee sub-device according to the device configuration information.
另一方面,提供了一种紫蜂ZigBee子设备的配置装置,该装置包括:On the other hand, a Zigbee ZigBee sub-equipment configuration device is provided, the device includes:
建立模块,用于建立与客户端之间的蓝牙连接,所述蓝牙连接为所述客户端未处于无线保真WiFi网络环境时建立的;Establishing a module, configured to establish a bluetooth connection with the client, where the bluetooth connection is established when the client is not in a wireless fidelity WiFi network environment;
接收模块,用于响应于接收到所述客户端通过所述蓝牙连接发送的设备添加指令,接收所述ZigBee子设备通过ZigBee网络发送的接入信号;A receiving module, configured to receive an access signal sent by the ZigBee sub-device through the ZigBee network in response to receiving the device addition instruction sent by the client through the Bluetooth connection;
发送模块,用于根据所述接入信号通过所述蓝牙连接向所述客户端发送设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识,所述设备配置信息用于在所述客户端中添加用于控制所述ZigBee子设备的配置项。A sending module, configured to send device configuration information to the client through the Bluetooth connection according to the access signal, the device configuration information includes the device identifier of the ZigBee sub-device, and the device configuration information is used in A configuration item for controlling the ZigBee sub-device is added in the client.
另一方面,提供了一种紫蜂ZigBee子设备的配置装置,该装置包括:On the other hand, a Zigbee ZigBee sub-equipment configuration device is provided, the device includes:
确定模块,用于确定当前所处的网络环境;A determination module, configured to determine the current network environment;
建立模块,用于响应于当前未处于无线保真WiFi网络环境,建立与网关设备之间的蓝牙连接;Establishing a module for establishing a bluetooth connection with the gateway device in response to not currently being in a wireless fidelity WiFi network environment;
发送模块,用于通过所述蓝牙连接向所述网关设备发送设备添加指令,所述设备添加指令用于指示所述网关设备接收所述ZigBee子设备通过ZigBee网络发送的接入信号;A sending module, configured to send a device addition instruction to the gateway device through the Bluetooth connection, and the device addition instruction is used to instruct the gateway device to receive the access signal sent by the ZigBee sub-device through the ZigBee network;
接收模块,用于接收所述网关设备通过所述蓝牙连接发送的设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识;A receiving module, configured to receive device configuration information sent by the gateway device through the Bluetooth connection, where the device configuration information includes the device identifier of the ZigBee sub-device;
添加模块,用于根据所述设备配置信息添加用于控制所述ZigBee子设备的配置项。An adding module, configured to add configuration items for controlling the ZigBee sub-device according to the device configuration information.
另一方面,提供了一种计算机设备,计算机设备包括处理器和存储器,存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如上述本申请实施例中提供的紫蜂ZigBee子设备的配置方法。In another aspect, a computer device is provided, the computer device includes a processor and a memory, at least one instruction, at least one section of program, code set or instruction set are stored in the memory, at least one instruction, at least one section of program, code set or instruction set It is loaded and executed by a processor to implement the Zigbee ZigBee sub-device configuration method provided in the above-mentioned embodiment of the present application.
另一方面,提供了一种计算机可读存储介质,计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述任一所述的紫蜂ZigBee子设备的配置方法。In another aspect, a computer-readable storage medium is provided. At least one instruction, at least one program, code set or instruction set is stored in the computer-readable storage medium, and at least one instruction, at least one program, code set or instruction set is composed of The processor loads and executes to realize any configuration method of Zigbee ZigBee sub-device mentioned above.
另一方面,提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如上述本申请实施例中任一所述的紫蜂ZigBee子设备的配置方法。In another aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is made to execute the Zigbee ZigBee sub-device configuration method described in any one of the above-mentioned embodiments of the present application.
本申请提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solution provided by the application at least include:
通过建立网关设备与客户端之间的蓝牙连接,在客户端通过蓝牙连接向网关设备发送设备添加指令时,由网关设备向客户端发送设备配置信息,将ZigBee子设备配置为由客户端控制的设备,从而在客户端处于非WiFi网络环境的情况下,也能够实现网关设备与客户端之间的连接,进而实现客户端对ZigBee子设备的控制。By establishing a Bluetooth connection between the gateway device and the client, when the client sends a device addition instruction to the gateway device through the Bluetooth connection, the gateway device sends device configuration information to the client, and configures the ZigBee sub-device to be controlled by the client. device, so that when the client is in a non-WiFi network environment, the connection between the gateway device and the client can also be realized, and then the client can control the ZigBee sub-device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1示出了本申请一个示例性实施例提供的实施环境示意图;FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
图2示出了本申请一个示例性实施例提供的ZigBee子设备的配置方法的流程图;Fig. 2 shows the flowchart of the configuration method of the ZigBee sub-device provided by an exemplary embodiment of the present application;
图3示出了基于图2示出的实施例提供的网关设备配网过程的示意图;FIG. 3 shows a schematic diagram of a gateway device network configuration process provided based on the embodiment shown in FIG. 2;
图4示出了本申请另一个示例性实施例提供的ZigBee子设备的配置方法的流程图;Fig. 4 shows the flowchart of the configuration method of the ZigBee sub-equipment that another exemplary embodiment of the present application provides;
图5示出了基于图4示出的实施例提供的配网界面的示意图;FIG. 5 shows a schematic diagram of a distribution network interface provided based on the embodiment shown in FIG. 4;
图6示出了本申请另一个示例性实施例提供的ZigBee子设备的配置方法的流程图;Fig. 6 shows the flowchart of the configuration method of the ZigBee sub-equipment that another exemplary embodiment of the present application provides;
图7示出了基于图6示出的实施例提供的客户端显示的ZigBee子设备配置界面的示意图;Fig. 7 shows a schematic diagram of the ZigBee sub-device configuration interface displayed by the client based on the embodiment shown in Fig. 6;
图8示出了本申请另一个示意性实施例提供的ZigBee子设备配置方法的流程图;Fig. 8 shows the flowchart of the ZigBee sub-device configuration method that another exemplary embodiment of the present application provides;
图9示出了基于图8示出的实施例提供的智能家居设备以及开关设备通过网关设备进行绑定的示意图;Fig. 9 shows a schematic diagram of binding of smart home devices and switch devices through a gateway device based on the embodiment shown in Fig. 8;
图10示出了基于图8示出的实施例提供的设备控制界面的示意图;FIG. 10 shows a schematic diagram of a device control interface provided based on the embodiment shown in FIG. 8;
图11示出了本申请另一个示意性实施例提供的ZigBee子设备配置方法的流程图;Fig. 11 shows the flowchart of the ZigBee sub-device configuration method provided by another exemplary embodiment of the present application;
图12示出了基于图11示出的实施例提供的客户端根据绑定关系对智能家居设备进行控制的界面示意图;Fig. 12 shows a schematic diagram of an interface of a client controlling a smart home device according to a binding relationship provided based on the embodiment shown in Fig. 11;
图13示出了本申请另一个示例性实施例提供的ZigBee子设备的配置方法的过程示意图;Fig. 13 shows a schematic diagram of the process of a ZigBee sub-device configuration method provided by another exemplary embodiment of the present application;
图14示出了本申请一个示例性实施例提供的ZigBee子设备的配置装置的结构框图;Fig. 14 shows the structural block diagram of the configuration device of ZigBee sub-device provided by an exemplary embodiment of the present application;
图15示出了本申请另一个示例性实施例提供的ZigBee子设备的配置装置的结构框图;FIG. 15 shows a block diagram of a ZigBee sub-device configuration device provided by another exemplary embodiment of the present application;
图16示出了本申请一个示例性实施例提供一种终端的结构示意图;FIG. 16 shows a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application;
图17示出了本申请一个示例性实施例提供的网关设备的结构示意图。Fig. 17 shows a schematic structural diagram of a gateway device provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
首先,对本申请实施例中涉及的名词进行简单的介绍:First, a brief introduction to the nouns involved in the embodiments of this application:
网关设备:又称网间连接器或协议转换器,是多个网络设备之间提供数据转换服务的计算机系统或设备。网关设备可以提供数据传输服务以及在数据传输过程中提供安全保护,其中,数据传输服务是指网关设备通过协议以及数据格式在不同网络设备之间进行数据转换并传输的功能。在一个示例中,网关设备可以实现为智能家居系统中的中控硬件设备,或,网关设备可以实现为一件智能家居设备中的一个中控模块,如:智能音箱中的控制模块。可选地,网关设备中配置有ZigBee网络协议接口以及蓝牙接口。Gateway device: Also known as an internet connection or a protocol converter, it is a computer system or device that provides data conversion services between multiple network devices. The gateway device can provide data transmission service and provide security protection during the data transmission process. The data transmission service refers to the function of the gateway device to convert and transmit data between different network devices through protocols and data formats. In an example, the gateway device may be implemented as a central control hardware device in a smart home system, or the gateway device may be implemented as a central control module in a smart home device, such as a control module in a smart speaker. Optionally, the gateway device is configured with a ZigBee network protocol interface and a Bluetooth interface.
本申请实施例中,网关设备提供了在客户端与ZigBee子设备之间的数据传输服务。其中,网关设备与客户端之间建立有蓝牙连接,并与客户端进行基于蓝牙协议规范的通信;另外,网关设备与ZigBee子设备之间通过ZigBee网络建立连接,并与ZigBee子设备进行基于ZigBee协议规范的通信。In the embodiment of the present application, the gateway device provides a data transmission service between the client and the ZigBee sub-device. Among them, a Bluetooth connection is established between the gateway device and the client, and communication with the client is based on the Bluetooth protocol specification; Protocol specification communication.
ZigBee子设备:是在智能家居场景中,与网关设备通过ZigBee网络连接,并由客户端进行控制的设备。可选地,ZigBee子设备包括但不限于智能开关、智能照明灯、智能电脑设备、智能窗帘、智能报警设备等。ZigBee子设备不仅是一种具有实用功能的硬件设备,还可以通过软件的支持以及数据的交互、云端的交互实现远程控制。如:以ZigBee子设备实现为智能窗帘为例,智能窗帘可以通过网关设备接收客户端发送的控制指令,并根据控制指令进行开启或闭合。ZigBee sub-device: In the smart home scenario, it is connected to the gateway device through the ZigBee network and controlled by the client. Optionally, ZigBee sub-devices include but are not limited to smart switches, smart lights, smart computer devices, smart curtains, smart alarm devices, and the like. ZigBee sub-device is not only a hardware device with practical functions, but also can realize remote control through software support, data interaction and cloud interaction. For example, taking the ZigBee sub-device implemented as a smart curtain as an example, the smart curtain can receive the control command sent by the client through the gateway device, and open or close according to the control command.
首先,对本申请实施例中涉及的实施环境进行介绍,如图1所示,该实施环境中包括客户端101、网关设备102以及ZigBee子设备103。First, the implementation environment involved in the embodiment of the present application is introduced. As shown in FIG. 1 , the implementation environment includes a client 101 , a gateway device 102 and a ZigBee sub-device 103 .
其中,客户端101与网关设备102之间建立有蓝牙连接,网关设备102与ZigBee子设备103之间通过ZigBee网络建立连接,网关设备102在客户端101与ZigBee子设备103之间进行通信指令交互。Wherein, a Bluetooth connection is established between the client 101 and the gateway device 102, and a connection is established between the gateway device 102 and the ZigBee sub-device 103 through a ZigBee network, and the gateway device 102 performs communication instruction interaction between the client 101 and the ZigBee sub-device 103 .
第一,针对客户端101与网关设备102之间的蓝牙连接进行说明(即网关设备102的First, illustrate the Bluetooth connection between the client 101 and the gateway device 102 (that is, the Bluetooth connection of the gateway device 102 配网过程):Network distribution process):
本申请实施例中,以客户端101与网关设备102之间建立BLE连接为例进行说明。可选地,客户端101显示配网界面,当客户端101与网关设备102未处于WiFi网络环境时,客户端101开启蓝牙进行蓝牙设备的扫描;网关设备102接收到对配网按键的按压,开启蓝牙进行蓝牙连接请求的广播,客户端101扫描到网关设备102的蓝牙连接请求后,建立与网关设备102之间的蓝牙连接。In this embodiment of the present application, the establishment of a BLE connection between the client 101 and the gateway device 102 is taken as an example for illustration. Optionally, the client 101 displays the distribution network interface. When the client 101 and the gateway device 102 are not in the WiFi network environment, the client 101 turns on Bluetooth to scan the Bluetooth device; the gateway device 102 receives the press of the distribution network button, The Bluetooth is turned on to broadcast the Bluetooth connection request, and the client 101 establishes a Bluetooth connection with the gateway device 102 after scanning the Bluetooth connection request from the gateway device 102 .
第二,针对网关设备102与ZigBee子设备103之间的ZigBee连接进行说明(即Second, illustrate the ZigBee connection between the gateway device 102 and the ZigBee sub-device 103 (ie ZigBee子设备103的配网过程):The distribution network process of ZigBee sub-equipment 103):
响应于网关设备102与客户端101之间建立有蓝牙连接,网关设备102开启ZigBee网络,而ZigBee子设备103接收到对配网按键的按压,对网关设备102进行扫描,从而与网关设备102之间通过ZigBee网络建立连接。In response to the establishment of a Bluetooth connection between the gateway device 102 and the client 101, the gateway device 102 opens the ZigBee network, and the ZigBee sub-device 103 receives the press of the distribution network button, scans the gateway device 102, and thus communicates with the gateway device 102 The connection is established through the ZigBee network.
在客户端、网关设备以及ZigBee子设备之间建立通信连接后,至少包括如下通信指令交互类型中的至少一种:After the communication connection is established between the client, the gateway device and the ZigBee sub-device, at least one of the following communication instruction interaction types is included:
1、在客户端中添加ZigBee子设备:是指将与网关设备建立ZigBee连接的ZigBee子设备,在客户端中添加为由客户端控制的ZigBee子设备。1. Add ZigBee sub-device in the client: refers to the ZigBee sub-device that will establish a ZigBee connection with the gateway device, and add it in the client as a ZigBee sub-device controlled by the client.
2、对ZigBee子设备进行绑定:是指ZigBee子设备中包括开关设备和智能家居设备,在网关设备和客户端中对开关设备与智能家居设备进行绑定,从而对与开关设备绑定的至少一个智能家居设备实现统一控制。2. Binding ZigBee sub-device: ZigBee sub-device includes switch device and smart home device. At least one smart home device realizes unified control.
3、通过客户端控制ZigBee子设备:是指客户端接收对ZigBee子设备的控制操作后,通过蓝牙连接向网关设备发送控制指令,由网关设备对控制指令进行格式转换后,通过ZigBee连接向ZigBee子设备发送转换格式后的控制指令,从而对ZigBee子设备进行控制。3. Controlling the ZigBee sub-device through the client: After the client receives the control operation on the ZigBee sub-device, it sends a control command to the gateway device through the Bluetooth connection, and the gateway device converts the format of the control command, and then sends the ZigBee sub-device to the ZigBee device through the ZigBee connection. The sub-device sends the control instruction after format conversion, so as to control the ZigBee sub-device.
针对上述三种通信指令交互类型通过如下实施例分别进行说明。The above three communication command interaction types are described respectively through the following embodiments.
首先,针对在客户端中添加ZigBee子设备进行说明,图2示出了本申请一个示意性实施例提供的紫蜂ZigBee子设备的配置方法的流程图。以该方法应用于网关设备中为例进行说明,如图2所示,该方法包括:First, adding a ZigBee sub-device to a client is described. FIG. 2 shows a flow chart of a method for configuring a ZigBee ZigBee sub-device provided by an exemplary embodiment of the present application. Taking this method applied to a gateway device as an example for illustration, as shown in Figure 2, the method includes:
步骤201,建立与客户端之间的蓝牙连接,蓝牙连接为客户端未处于无线保真WiFi网络环境时建立的。
可选地,上述蓝牙连接可以实现为BLE连接,也即客户端与网关设备之间通过BLE技术进行连接。Optionally, the above-mentioned Bluetooth connection may be implemented as a BLE connection, that is, the connection between the client and the gateway device is performed through the BLE technology.
可选地,客户端可以实现为智能家居控制程序、智能家居购物程序等包括智能家居控制功能的应用程序。Optionally, the client can be implemented as an application including a smart home control function such as a smart home control program, a smart home shopping program, and the like.
可选地,在建立与客户端之间的蓝牙连接时,网关设备首先进行蓝牙连接信号的广播,从而在网关设备对应的目标范围内开启蓝牙功能的计算机设备能够检测到该蓝牙连接信号,其中,客户端位于网关设备的目标范围内,并开启了蓝牙功能,从而当客户端接收到网关设备广播的蓝牙连接信号时,建立与网关设备之间的蓝牙连接。Optionally, when establishing a Bluetooth connection with the client, the gateway device first broadcasts a Bluetooth connection signal, so that a computer device with a Bluetooth function enabled within the target range corresponding to the gateway device can detect the Bluetooth connection signal, wherein , the client is located within the target range of the gateway device and has turned on the Bluetooth function, so that when the client receives the Bluetooth connection signal broadcast by the gateway device, a Bluetooth connection with the gateway device is established.
可选地,网关设备首先接收配网控制操作触发的配网控制信号,如:接收到在配网按键上的按压操作,生成配网控制信号。网关设备根据配网控制信号首先建立与客户端之间的蓝牙配网连接;通过蓝牙配网连接与客户端之间进行双向鉴权,并响应于双向鉴权成功,建立与客户端之间的蓝牙连接。可选地,双向鉴权方式包括但不限于通过预设信息摘要算法(Message-Digest Algorithm,MD5)进行鉴权的方式。Optionally, the gateway device first receives a distribution network control signal triggered by a distribution network control operation, for example, receives a pressing operation on a distribution network button, and generates a distribution network control signal. The gateway device first establishes a Bluetooth distribution network connection with the client according to the distribution network control signal; performs two-way authentication with the client through the Bluetooth distribution network connection, and establishes a two-way authentication with the client in response to successful two-way authentication. Bluetooth connection. Optionally, the two-way authentication method includes but is not limited to a method of performing authentication through a preset Message-Digest Algorithm (Message-Digest Algorithm, MD5).
可选地,网关设备接收配网控制操作后生成配网控制信号,根据配网控制信号进行蓝牙连接信号的广播,当客户端接收到网关设备广播的蓝牙连接信号时,网关设备建立与客户端之间的蓝牙配网连接,响应于客户端与网关设备之间的双向鉴权成功,建立网关设备与客户端之间的蓝牙连接。示意性的,图3示出了本申请一个示意性实施例提供的网关设备配网过程的示意图。请参考图3,在非WiFi网络环境300中包括客户端301以及网关设备302,网关设备302上对应有配网按键303。当网关设备302上的配网按键303被按压时,生成配网控制信号,并根据配网控制信号广播蓝牙连接信号,从而建立与客户端之间的蓝牙配网连接。Optionally, the gateway device generates a distribution network control signal after receiving the distribution network control operation, and broadcasts the Bluetooth connection signal according to the distribution network control signal. When the client receives the Bluetooth connection signal broadcast by the gateway device, the gateway device establishes a connection with the client In response to the successful two-way authentication between the client and the gateway device, a Bluetooth connection between the gateway device and the client is established. Schematically, FIG. 3 shows a schematic diagram of a gateway device network configuration process provided by an exemplary embodiment of the present application. Please refer to FIG. 3 , a non-WiFi network environment 300 includes a client 301 and a gateway device 302 , and the gateway device 302 has a network distribution button 303 corresponding thereto. When the distribution network button 303 on the gateway device 302 is pressed, a distribution network control signal is generated, and a Bluetooth connection signal is broadcast according to the distribution network control signal, thereby establishing a Bluetooth distribution network connection with the client.
在一些实施例中,网关设备在与客户端建立蓝牙连接后,开启ZigBee网络,并检测信号范围内的ZigBee子设备;或,网关设备在与客户端建立蓝牙连接后,当接收到客户端发送的ZigBee开启指令时,根据ZigBee开启指令开启ZigBee网络,并检测信号范围内的ZigBee子设备。In some embodiments, after the gateway device establishes the Bluetooth connection with the client, it starts the ZigBee network, and detects the ZigBee sub-device within the signal range; or, after the gateway device establishes the Bluetooth connection with the client, when receiving the client send When the ZigBee opening command is opened, the ZigBee network is opened according to the ZigBee opening command, and the ZigBee sub-equipment within the signal range is detected.
步骤202,响应于接收到客户端通过蓝牙连接发送的设备添加指令,接收ZigBee子设备通过ZigBee网络发送的接入信号。Step 202, in response to receiving the device addition instruction sent by the client through the Bluetooth connection, receive an access signal sent by the ZigBee sub-device through the ZigBee network.
本申请中涉及的ZigBee子设备为在智能家居场景中,通过ZigBee网络与网关设备连接,并由客户端进行控制的设备。The ZigBee sub-device involved in this application is a device that is connected to a gateway device through a ZigBee network and controlled by a client in a smart home scenario.
可选地,设备添加指令中包括ZigBee子设备对应的设备类型,网关设备通过该设备类型,与设备类型对应的ZigBee子设备建立连接。也即,设备添加指令中包括ZigBee子设备的设备类型,当网关设备接收到设备添加指令,且确定ZigBee网络已开启时,对信号范围内请求接入的ZigBee子设备进行设备类型的验证,从而根据设备添加指令与设备类型匹配的ZigBee子设备建立ZigBee连接,并将该ZigBee子设备配置为由客户端进行控制的设备。Optionally, the device addition instruction includes a device type corresponding to the ZigBee sub-device, and the gateway device establishes a connection with the ZigBee sub-device corresponding to the device type through the device type. That is, the device addition instruction includes the device type of the ZigBee sub-device. When the gateway device receives the device addition instruction and determines that the ZigBee network has been turned on, it will verify the device type of the ZigBee sub-device requesting access within the signal range, thereby A ZigBee connection is established with the ZigBee sub-device matching the device type according to the device addition instruction, and the ZigBee sub-device is configured as a device controlled by the client.
可选地,ZigBee子设备通过ZigBee网络发送接入信号,接入信号为ZigBee子设备请求与网关设备连接的信号。Optionally, the ZigBee sub-device sends an access signal through the ZigBee network, and the access signal is a signal for the ZigBee sub-device to request a connection with the gateway device.
可选地,设备添加指令中包括设备数量,网关设备与接收到设备添加指令后,最先检测到的对应数量的ZigBee子设备建立ZigBee连接。Optionally, the device addition instruction includes the number of devices, and the gateway device establishes a ZigBee connection with a corresponding number of ZigBee sub-devices first detected after receiving the device addition instruction.
可选地,设备添加指令中包括添加时间段,网关设备与添加时间段内检测到的ZigBee子设备建立ZigBee连接。Optionally, the device adding instruction includes an adding time period, and the gateway device establishes a ZigBee connection with a ZigBee sub-device detected within the adding time period.
可选地,ZigBee子设备上接收到对配网按键的按压操作时,对网关设备进行扫描,由于网关设备开启了ZigBee网络,故ZigBee子设备扫描到网关设备并向网关设备发送接入请求,网关设备接收到接入请求后,与ZigBee子设备建立ZigBee连接。可选地,网关设备首先与ZigBee子设备进行双向鉴权,并当双向鉴权成功后,与ZigBee子设备建立ZigBee连接。Optionally, when the ZigBee sub-device receives the pressing operation of the distribution network button, the gateway device is scanned, and since the gateway device has opened the ZigBee network, the ZigBee sub-device scans the gateway device and sends an access request to the gateway device, After receiving the access request, the gateway device establishes a ZigBee connection with the ZigBee sub-device. Optionally, the gateway device first performs two-way authentication with the ZigBee sub-device, and establishes a ZigBee connection with the ZigBee sub-device after the two-way authentication succeeds.
步骤203,根据接入信号通过蓝牙连接向客户端发送设备配置信息,设备配置信息中包括ZigBee子设备的设备标识,设备配置信息用于指示在客户端中添加用于控制ZigBee子设备的配置项。Step 203, send device configuration information to the client through the Bluetooth connection according to the access signal, the device configuration information includes the device identifier of the ZigBee sub-device, and the device configuration information is used to indicate that the configuration item for controlling the ZigBee sub-device is added in the client .
可选地,在建立与ZigBee子设备的ZigBee连接后,网关设备通过蓝牙连接向客户端发送与该ZigBee子设备对应的设备配置信息,设备配置信息中包括ZigBee子设备的设备标识,设备配置信息用于在客户端中添加用于控制ZigBee子设备的配置项。即,当客户端接收到设备配置信息时,根据设备标识配置对该ZigBee子设备进行控制的配置项,并在客户端的显示界面中显示与该ZigBee子设备对应的控制控件,可选地,该显示界面中还包括客户端所处的网络环境、客户端能够控制的ZigBee子设备的名称,与客户端连接的网关设备的名称等。Optionally, after establishing the ZigBee connection with the ZigBee sub-device, the gateway device sends the device configuration information corresponding to the ZigBee sub-device to the client through the Bluetooth connection, the device configuration information includes the device identification of the ZigBee sub-device, the device configuration information It is used to add configuration items for controlling ZigBee sub-device in the client. That is, when the client receives the device configuration information, configure the configuration items that control the ZigBee sub-device according to the device identifier, and display the control controls corresponding to the ZigBee sub-device on the display interface of the client. Optionally, the The display interface also includes the network environment where the client is located, the name of the ZigBee sub-device that the client can control, the name of the gateway device connected to the client, and the like.
综上所述,本实施例提供的方法,通过建立网关设备与客户端之间的蓝牙连接,在客户端通过蓝牙连接向网关设备发送设备添加指令时,由网关设备向客户端发送设备配置信息,将ZigBee子设备配置为由客户端控制的设备,从而在客户端处于非WiFi网络环境的情况下,也能够实现网关设备与客户端之间的连接,进而实现客户端对ZigBee子设备的控制。To sum up, in the method provided by this embodiment, by establishing a Bluetooth connection between the gateway device and the client, when the client sends a device addition instruction to the gateway device through the Bluetooth connection, the gateway device sends device configuration information to the client , configure the ZigBee sub-device as a device controlled by the client, so that when the client is in a non-WiFi network environment, the connection between the gateway device and the client can also be realized, and then the client can control the ZigBee sub-device .
图4示出了本申请一个示意性实施例提供的紫蜂ZigBee子设备的配置方法的流程图。以该方法应用于客户端中为例进行说明,如图4所示,该方法包括:Fig. 4 shows a flow chart of a Zigbee ZigBee sub-device configuration method provided by an exemplary embodiment of the present application. Take this method applied to the client as an example for illustration, as shown in Figure 4, the method includes:
步骤401,确定当前所处的网络环境。
在本实施例中,客户端所处的网络环境为安装有对应客户端的终端所处的网络环境。可选地,该客户端对应的终端的网络环境包括近场通信(Near Field Communication,NFC)网络环境、无线保真WiFi网络环境以及蜂窝移动网络环境中的至少一种。In this embodiment, the network environment where the client is located is the network environment where the terminal installed with the corresponding client is located. Optionally, the network environment of the terminal corresponding to the client includes at least one of a near field communication (Near Field Communication, NFC) network environment, a Wi-Fi network environment, and a cellular mobile network environment.
可选地,确定网络环境的过程可以是在显示客户端的配网界面时自动触发的,也可以是在客户端的配网界面中接收对网络环境检测控件的选择操作而触发的。其中,配网界面用于实现网关设备的配网过程,也即客户端与网关设备建立连接的过程。Optionally, the process of determining the network environment may be automatically triggered when the network configuration interface of the client is displayed, or may be triggered by receiving a selection operation of the network environment detection control in the network configuration interface of the client. Wherein, the network configuration interface is used to implement the network configuration process of the gateway device, that is, the process of establishing a connection between the client and the gateway device.
步骤402,响应于当前未处于WiFi网络环境,建立与网关设备之间的蓝牙连接。
当客户端未处于无线保真网络环境时,在客户端中显示无法与WiFi网络建立连接的提示信息。也即,客户端无法通过WiFi网络实现与网关设备之间的数据交互,也无法通过网关设备对ZigBee子设备进行配置或控制。When the client is not in a wireless fidelity network environment, a prompt message indicating that it cannot establish a connection with the WiFi network is displayed on the client. That is, the client cannot implement data interaction with the gateway device through the WiFi network, nor can it configure or control the ZigBee sub-device through the gateway device.
可选地,在进行蓝牙连接时,客户端位于网关设备的目标范围内(也即蓝牙信号范围内),并开启蓝牙功能,从而接收到网关设备广播的蓝牙连接信号。Optionally, when making a Bluetooth connection, the client is located within the target range of the gateway device (that is, within the range of the Bluetooth signal), and turns on the Bluetooth function, so as to receive the Bluetooth connection signal broadcast by the gateway device.
可选地,候选配网模式在客户端的配网界面中对应显示有配网模式控件,示意性地,图5示出了本申请一个示意性实施例提供的配网界面的示意图。请参考图5,响应于客户端处于非无线保真网络环境,在配网界面500中显示配网模式指示信息,其中包括配网模式选择控件,如图5所示,配网模式选择控件中包括蓝牙配网模式选择控件511以及WiFi配网模式选择控件512(由于客户端处于非WiFi网络环境,WiFi配网模式选择控件512处于不可选状态),在本实施例中,客户端接收了对于蓝牙配网模式选择控件511的选择操作,并启动蓝牙进行扫描,响应于接收到网关设备广播的蓝牙连接信号,建立与网关设备之间的蓝牙连接。Optionally, the candidate network configuration mode is correspondingly displayed with a network distribution mode control in the network configuration interface of the client. Schematically, FIG. 5 shows a schematic diagram of a network configuration interface provided by an exemplary embodiment of the present application. Please refer to FIG. 5. In response to the fact that the client is in a non-WiFi network environment, the distribution network mode indication information is displayed on the distribution network interface 500, which includes a distribution network mode selection control. As shown in FIG. 5, in the distribution network mode selection control Including Bluetooth distribution network mode selection control 511 and WiFi distribution network mode selection control 512 (because the client is in a non-WiFi network environment, WiFi distribution network
可选地,客户端接收到网关设备广播的蓝牙连接信号后,首先建立与网关设备之间的蓝牙配网连接,并通过蓝牙配网连接与网关设备之间进行双向鉴权,响应于双向鉴权成功,建立与网关设备之间的蓝牙连接。可选地,双向鉴权方式包括但不限于通过预设MD5进行鉴权的方式。Optionally, after receiving the Bluetooth connection signal broadcast by the gateway device, the client first establishes a Bluetooth distribution network connection with the gateway device, and performs two-way authentication with the gateway device through the Bluetooth distribution network connection, and responds to the two-way authentication If the authorization is successful, a Bluetooth connection with the gateway device is established. Optionally, the two-way authentication method includes but is not limited to a method of authentication through preset MD5.
步骤403,通过蓝牙连接向网关设备发送设备添加指令。
客户端在建立与网关设备之间的蓝牙连接后,即可与网关设备通过蓝牙连接进行数据交换。可选地,客户端能够对与网关设备连接的ZigBee子设备的设备信息进行获取;或,客户端能够通过发送控制命令,对与网关设备连接的ZigBee子设备进行控制。After the client establishes the Bluetooth connection with the gateway device, it can exchange data with the gateway device through the Bluetooth connection. Optionally, the client can acquire device information of the ZigBee sub-device connected to the gateway device; or, the client can control the ZigBee sub-device connected to the gateway device by sending a control command.
步骤404,接收网关设备通过蓝牙连接发送的设备配置信息,设备配置信息中包括ZigBee子设备的设备标识。
可选地,设备配置信息为网关设备与ZigBee子设备建立ZigBee连接后,针对已建立连接的ZigBee子设备向客户端发送的信息。Optionally, the device configuration information is information sent by the gateway device to the client for the established ZigBee sub-device after the ZigBee connection is established with the ZigBee sub-device.
步骤405,根据设备配置信息添加用于控制ZigBee子设备的配置项。
可选地,客户端中对应有子设备控制界面,子设备控制界面中包括对ZigBee子设备进行控制的配置项。当客户端接收到网关设备发送的设备配置信息时,根据设备配置信息中的设备标识在子设备控制界面中增加与ZigBee子设备对应的配置项,通过配置项能够实现对ZigBee子设备的控制。Optionally, the client corresponds to a sub-device control interface, and the sub-device control interface includes configuration items for controlling the ZigBee sub-device. When the client receives the device configuration information sent by the gateway device, according to the device identification in the device configuration information, the configuration item corresponding to the ZigBee sub-device is added in the sub-device control interface, and the control of the ZigBee sub-device can be realized through the configuration item.
图6示出了本申请一个示意性实施例提供的紫蜂ZigBee子设备的配置方法的流程图,以该方法应用于ZigBee子设备配置系统中为例进行说明,该方法包括:Fig. 6 shows the flow chart of the configuration method of the Zigbee ZigBee sub-device provided by an exemplary embodiment of the present application. The method is applied to the ZigBee sub-device configuration system as an example for illustration. The method includes:
步骤601,客户端确定当前所处的网络环境。In step 601, the client determines the current network environment.
可选地,确定网络环境的过程可以是在显示客户端的配网界面时自动触发的,也可以是在客户端的配网界面中接收对网络环境检测控件的选择操作而触发的。其中,配网界面用于实现网关设备的配网过程,也即客户端与网关设备建立连接的过程。Optionally, the process of determining the network environment may be automatically triggered when the network configuration interface of the client is displayed, or may be triggered by receiving a selection operation of the network environment detection control in the network configuration interface of the client. Wherein, the network configuration interface is used to implement the network configuration process of the gateway device, that is, the process of establishing a connection between the client and the gateway device.
步骤602,响应于客户端未处于WiFi网络环境,建立与网关设备之间的蓝牙连接。Step 602, in response to the fact that the client is not in the WiFi network environment, establish a Bluetooth connection with the gateway device.
可选地,在进行对网络环境进行检测之后,当客户端处于WiFi网络环境时,客户端直接通过WiFi与网关设备建立连接;当客户端未处于WiFi网络环境时,显示配网模式指示信息,该配网模式指示信息用于指示通过候选配网模式完成配网,候选配网模式中包括蓝牙配网模式。Optionally, after the network environment is detected, when the client is in the WiFi network environment, the client directly establishes a connection with the gateway device through WiFi; when the client is not in the WiFi network environment, the network distribution mode indication information is displayed, The network distribution mode indication information is used to indicate that the network distribution is completed through the candidate network distribution modes, and the candidate network distribution modes include the Bluetooth network distribution mode.
可选地,在客户端接收到网关设备广播的蓝牙连接信号时,首先建立与网关设备之间的蓝牙配网连接,通过蓝牙配网连接与网关设备之间进行双向鉴权,并响应于双向鉴权成功,建立与网关设备之间的蓝牙连接。Optionally, when the client receives the Bluetooth connection signal broadcast by the gateway device, it first establishes a Bluetooth distribution network connection with the gateway device, performs two-way authentication with the gateway device through the Bluetooth distribution network connection, and responds to the two-way After the authentication is successful, a Bluetooth connection with the gateway device is established.
该双向鉴权方式包括但不限于通过预设MD5进行鉴权的方式。The two-way authentication method includes, but is not limited to, the authentication method through preset MD5.
步骤603,网关设备建立与客户端之间的蓝牙连接。Step 603, the gateway device establishes a Bluetooth connection with the client.
在一些实施例中,网关设备上对应有配网按键,响应于接收到对于配网按键的按压,生成配网控制信号,并根据该配网控制信号广播蓝牙连接信号,响应于客户端接收到蓝牙连接信号,与客户端之间建立蓝牙配网连接,并通过双向鉴权的方式进行安全性验证,当双向鉴权成功时,网关设备即建立和客户端之间的蓝牙连接。In some embodiments, the gateway device corresponds to a distribution network button, and in response to receiving the press of the distribution network button, generates a distribution network control signal, and broadcasts a Bluetooth connection signal according to the distribution network control signal, and responds to the client receiving The Bluetooth connection signal establishes a Bluetooth distribution network connection with the client, and performs security verification through two-way authentication. When the two-way authentication is successful, the gateway device establishes a Bluetooth connection with the client.
步骤604,客户端通过蓝牙连接向网关设备发送设备添加指令。Step 604, the client sends a device adding instruction to the gateway device through the Bluetooth connection.
可选地,设备添加指令用于指示网关设备接收ZigBee子设备通过ZigBee网络发送的接入信号。Optionally, the device addition instruction is used to instruct the gateway device to receive the access signal sent by the ZigBee sub-device through the ZigBee network.
步骤605,网关设备响应于接收到客户端发送的设备添加指令,接收ZigBee子设备通过ZigBee网络发送的接入信号。Step 605, the gateway device receives the access signal sent by the ZigBee sub-device through the ZigBee network in response to receiving the device addition instruction sent by the client.
在一些实施例中,与客户端建立蓝牙连接后,网关设备开启ZigBee网络,检测信号范围内的ZigBee子设备;或,与客户端建立蓝牙连接后,网关设备接收到客户端发送的ZigBee开启指令,并根据ZigBee开启指令开启ZigBee网络,检测信号范围内的ZigBee子设备;或,网关设备的ZigBee网前已开启,并在与客户端建立蓝牙连接后,通过ZigBee网络监测信号范围内的ZigBee子设备。In some embodiments, after establishing a Bluetooth connection with the client, the gateway device opens the ZigBee network to detect ZigBee sub-devices within the signal range; or, after establishing a Bluetooth connection with the client, the gateway device receives the ZigBee start instruction sent by the client , and open the ZigBee network according to the ZigBee opening command, and detect the ZigBee sub-device within the signal range; equipment.
步骤606,网关设备根据接入信号通过蓝牙连接向客户端发送设备配置信息。Step 606, the gateway device sends device configuration information to the client through the Bluetooth connection according to the access signal.
步骤607,客户端接收网关设备通过蓝牙连接发送的设备配置信息,设备配置信息中包括ZigBee子设备的设备标识。Step 607, the client receives the device configuration information sent by the gateway device through the Bluetooth connection, and the device configuration information includes the device identifier of the ZigBee sub-device.
步骤608,客户端根据设备配置信息添加用于控制ZigBee子设备的配置项。Step 608, the client adds configuration items for controlling the ZigBee sub-device according to the device configuration information.
图7示出了本申请一个示意性实施例提供的ZigBee子设备配置界面的示意图,请参考图7,该ZigBee子设备配置界面700中包括在客户端中进行了信息配置的ZigBee子设备710、ZigBee子设备720以及ZigBee子设备730,以及与ZigBee子设备710对应的开启控件711、关闭控件712和删除控件713,与ZigBee子设备720对应的开启控件721、关闭控件722和删除控件723,与ZigBee子设备730对应的开启控件731、关闭控件732和删除控件733。客户端可以响应于接收开启控件711的触发操作启动ZigBee子设备710,或接收关闭控件712的触控操作关闭ZigBee子设备710,或接收删除控件713的触控操作解除客户端对ZigBee子设备710的控制,并删除ZigBee子设备710的配置项。7 shows a schematic diagram of the ZigBee sub-device configuration interface provided by an exemplary embodiment of the present application. Please refer to FIG. 7, the ZigBee sub-device configuration interface 700 includes a ZigBee sub-device 710, ZigBee sub-device 720 and ZigBee sub-device 730, and opening control 711 corresponding to ZigBee sub-device 710, closing control 712 and deleting control 713, opening control 721 corresponding to ZigBee sub-device 720, closing control 722 and deleting control 723, and The ZigBee sub-device 730 corresponds to an open control 731 , a close control 732 and a delete control 733 . The client can start the ZigBee sub-device 710 in response to receiving the trigger operation of the open control 711, or receive the touch operation of the close control 712 to close the ZigBee sub-device 710, or receive the touch operation of the delete control 713 to release the client from the ZigBee sub-device 710. control, and delete the configuration items of the ZigBee sub-device 710.
综上所述,本实施例提供的方法,通过网关设备以及客户端均处于非WiFi网络环境的情况下,建立客户端与网关设备之间的蓝牙连接,且在网关设备对应蓝牙连接的开启进行ZigBee网络开启的情况下,客户端通过向网关设备发送设备添加指令,网关设备通过ZigBee网络对ZigBee子设备进行配置,在客户端处于非WiFi网络环境的情况下,实现了网关设备与客户端之间的连接,进而实现了客户端对于ZigBee子设备的控制。To sum up, the method provided in this embodiment establishes a Bluetooth connection between the client and the gateway device when the gateway device and the client are both in a non-WiFi network environment, and the corresponding Bluetooth connection is enabled on the gateway device. When the ZigBee network is turned on, the client sends a device addition instruction to the gateway device, and the gateway device configures the ZigBee sub-device through the ZigBee network. When the client is in a non-WiFi network environment, the gateway device and the client are realized. The connection between them realizes the client's control over the ZigBee sub-device.
其次,对ZigBee子设备进行绑定的情况进行说明。可选地,在通过蓝牙与网关设备进行连接后,客户端可以对不同种类的ZigBee子设备进行控制,ZigBee子设备中包括至少一个开关设备和至少一个智能家居设备。图8示出了本申请一个示意性实施例提供的ZigBee子设备配置方法的流程图,该过程可以实现于如图6所示的步骤608之后。以该方法应用于ZigBee子设备配置系统中为例进行说明,该方法包括:Secondly, the binding of ZigBee sub-devices will be described. Optionally, after connecting with the gateway device via Bluetooth, the client can control different kinds of ZigBee sub-devices, and the ZigBee sub-devices include at least one switch device and at least one smart home device. FIG. 8 shows a flowchart of a ZigBee sub-device configuration method provided by an exemplary embodiment of the present application, and this process can be implemented after step 608 shown in FIG. 6 . Take the method applied in the ZigBee sub-device configuration system as an example for illustration, the method includes:
步骤801,网关设备响应于在预设时间间隔内通过ZigBee网络分别接收开关设备发送的第一绑定请求与至少一个智能家居设备发送的第二绑定请求,将开关设备与至少一个智能家居设备进行绑定。Step 801: The gateway device connects the switch device with the at least one smart home device in response to receiving the first binding request sent by the switch device and the second binding request sent by at least one smart home device through the ZigBee network respectively within a preset time interval. to bind.
ZigBee子设备中包括至少一个开关设备和至少一个智能家居设备,其中,开关设备用于对存在绑定关系的智能家居设备进行控制。可选地,开关设备可以与单个智能家居设备绑定,也可以与多个智能家居设备进行绑定。The ZigBee sub-device includes at least one switch device and at least one smart home device, wherein the switch device is used to control the smart home device that has a binding relationship. Optionally, the switch device can be bound with a single smart home device, or can be bound with multiple smart home devices.
可选地,智能家居设备可以实现为智能空调、智能开关、智能电视、空气净化器、音箱设备、智能电灯等设备中的至少一种。Optionally, the smart home device can be implemented as at least one of smart air conditioners, smart switches, smart TVs, air purifiers, speaker devices, smart lights and other devices.
可选地,开关设备在产品形态上实现为一个实体控件,在一些实施例中,开关设备在产品形态上实现为一个带有显示屏的智能开关。Optionally, the switch device is implemented as a physical control in product form, and in some embodiments, the switch device is implemented as an intelligent switch with a display screen in product form.
开关设备上设置有绑定控件,可选地,第一绑定请求为在开关设备上接收到对绑定控件的按压操作生成的请求;智能家居设备上也设置有绑定控件,第二绑定请求为在智能家居设备上接收到对绑定控件的按压操作生成的请求。图9示出了本申请一个示意性实施例提供的智能家居设备以及开关设备通过网关设备进行绑定的示意图。请参考图9,网关设备901与开关设备910以及智能家居设备920之间通过ZigBee网络建立连接。开关设备910上设置有绑定控件911,智能家居设备920上设置有绑定控件921。当开关设备910上接收到对绑定控件911的按压操作,且按压操作的按压时长达到第一按压时间阈值时,开关设备910通过ZigBee网络向网关设备901发送第一绑定请求;当智能家居设备920上接收到对绑定控件921的按压操作,且按压操作的按压时长达到第二按压时间阈值时,智能家居设备920通过ZigBee网络向网关设备901发送第二绑定请求。A binding control is set on the switch device. Optionally, the first binding request is a request generated by receiving a pressing operation on the binding control on the switch device; a binding control is also set on the smart home device, and the second binding The predetermined request is a request generated by receiving a press operation on the bound control on the smart home device. Fig. 9 shows a schematic diagram of binding of a smart home device and a switch device through a gateway device provided by an exemplary embodiment of the present application. Please refer to FIG. 9 , the gateway device 901 is connected to the switch device 910 and the smart home device 920 through the ZigBee network. The switch device 910 is provided with a binding control 911 , and the smart home device 920 is provided with a binding control 921 . When the switch device 910 receives a press operation on the binding control 911, and the press duration of the press operation reaches the first press time threshold, the switch device 910 sends the first binding request to the gateway device 901 through the ZigBee network; when the smart home When the device 920 receives a pressing operation on the binding control 921 and the pressing duration of the pressing operation reaches the second pressing time threshold, the smart home device 920 sends a second binding request to the gateway device 901 through the ZigBee network.
可选地,当网关设备在预设时间间隔(也即预设时间窗口)内接收到第一绑定请求和第二绑定请求时,则确定开关设备和智能家居设备为需要建立绑定关系的一组设备,将开关设备与智能家居设备进行绑定。Optionally, when the gateway device receives the first binding request and the second binding request within the preset time interval (that is, the preset time window), it is determined that the switch device and the smart home device need to establish a binding relationship A group of devices that bind switchgear to smart home devices.
可选地,在开关设备与可以与单个智能家居设备进行绑定,也可以与多个智能家居设备进行绑定。在一些实施例中,网关设备通过ZigBee网络接收开关设备发送的第一绑定请求,第一绑定请求为在开关设备上的绑定控件上接收到按压操作时生成的请求,且第一绑定请求中包括按压操作的按压时长所对应的设备数量,在预设时间间隔内通过ZigBee网络接收至少一个智能家居设备发送的第二绑定请求,响应于设备数量与第二绑定请求的数量匹配,将开关设备与至少一个智能家居设备进行绑定。可选地,响应于设备数量大于或等于第二绑定请求的数量,将开关设备与至少一个智能家居设备进行绑定。Optionally, the switch device can be bound with a single smart home device, or can be bound with multiple smart home devices. In some embodiments, the gateway device receives the first binding request sent by the switch device through the ZigBee network, the first binding request is a request generated when a pressing operation is received on the binding control on the switch device, and the first binding request The predetermined request includes the number of devices corresponding to the pressing duration of the pressing operation, and receives the second binding request sent by at least one smart home device through the ZigBee network within a preset time interval, and responds to the number of devices and the number of the second binding request Matching, bind the switchgear with at least one smart home device. Optionally, in response to the number of devices being greater than or equal to the number of the second binding request, the switch device is bound to at least one smart home device.
示意性的,当接收到按压操作的时间超过5秒时,即生成允许与1个智能家居设备进行绑定的第一绑定请求,当按压时间超过5秒时,每增加一秒(四舍五入)的按压时间,即增加一个可连接的智能家居设备,如,当按压时间为7.5秒时,即对应可连接1+(8-5)=4个智能家居设备。可选地,开关设备上配置有显示设备,显示设备中可以显示按压时间对应的可连接智能家居设备的数量。Schematically, when the pressing operation is received for more than 5 seconds, the first binding request that allows binding with 1 smart home device is generated, and when the pressing time exceeds 5 seconds, each additional second (rounded) The pressing time is to add a connectable smart home device. For example, when the pressing time is 7.5 seconds, it corresponds to 1+(8-5)=4 smart home devices that can be connected. Optionally, a display device is configured on the switch device, and the display device can display the number of connectable smart home devices corresponding to the pressing time.
可选地,智能家居设备为可以与开关设备进行绑定的设备,且至少一个智能家居设备可以与一个开关设备进行绑定,组成一个智能家居场景,在一些实施例中,该开关设备与智能家居设备进行绑定后,即将开关设备的设备标识与智能家居设备的设备标识建立有对应关系。当接收到对开关设备进行控制的控制操作时,根据控制操作向与开关设备绑定的智能家居设备发送控制指令进行统一控制。Optionally, the smart home device is a device that can be bound with a switch device, and at least one smart home device can be bound with a switch device to form a smart home scene. In some embodiments, the switch device and the smart After the home devices are bound, a corresponding relationship is established between the device identifiers of the switch devices and the device identifiers of the smart home devices. When a control operation for controlling the switch device is received, a control instruction is sent to the smart home device bound to the switch device for unified control according to the control operation.
步骤802,网关设备通过蓝牙连接向客户端发送设备绑定信息。Step 802, the gateway device sends device binding information to the client through the Bluetooth connection.
可选地,设备绑定信息中包括开关设备与至少一个智能家居设备之间的绑定关系。Optionally, the device binding information includes a binding relationship between the switch device and at least one smart home device.
可选地,网关设备首先对开关设备与至少一个智能家居设备之间的绑定关系进行存储,并对绑定关系以设备绑定信息的形式发送至客户端。Optionally, the gateway device first stores the binding relationship between the switch device and at least one smart home device, and sends the binding relationship to the client in the form of device binding information.
步骤803,客户端接收网关设备通过蓝牙连接发送的设备绑定信息。Step 803, the client receives the device binding information sent by the gateway device through the Bluetooth connection.
步骤804,客户端根据设备绑定信息对开关设备与至少一个智能家居设备之间的绑定关系进行存储。Step 804, the client stores the binding relationship between the switch device and at least one smart home device according to the device binding information.
可选地,客户端将绑定关系存储在终端存储空间中,或,客户端将绑定关系存储在客户端所登录的帐号对应的云端服务器空间中。Optionally, the client stores the binding relationship in the terminal storage space, or the client stores the binding relationship in the cloud server space corresponding to the account logged in by the client.
可选地,客户端接收到设备绑定信息后,显示设备控制界面,并在设备控制界面中显示开关设备与至少一个智能家居设备之间的绑定关系。Optionally, after receiving the device binding information, the client displays the device control interface, and displays the binding relationship between the switch device and at least one smart home device on the device control interface.
图10示出了本申请一个示意性实施例提供的设备控制界面的示意图。请参考图10,在本实施例中,开关设备对应有3个智能家居设备。设备控制界面1000中包括该设备控制界面包括已绑定的开关设备1001、智能家居设备1002、智能家居设备1003以及智能家居设备1004,以及与每个设备对应的绑定解除控件1005至1008。Fig. 10 shows a schematic diagram of a device control interface provided by an exemplary embodiment of the present application. Please refer to FIG. 10 , in this embodiment, the switch device corresponds to 3 smart home devices. The device control interface 1000 includes the bound switch device 1001 , smart home device 1002 , smart home device 1003 and smart home device 1004 , and unbinding controls 1005 to 1008 corresponding to each device.
可选地,针对开关设备与智能家居设备之间的绑定关系,还可以通过解绑操作进行解绑,客户端接收在绑定解除控件上触发的绑定解除信号,该绑定解除信号用于指示解除开关设备与至少一个智能家居设备之间的绑定关系,根据绑定解除信号通过蓝牙连接向网关设备发送绑定解除指令。网关设备接收客户端通过蓝牙连接发送的绑定解除指令,并响应于绑定解除指令,解除开关设备与至少一个智能家居设备之间的绑定关系。Optionally, for the binding relationship between the switch device and the smart home device, unbinding can also be performed through an unbinding operation. The client receives an unbinding signal triggered on the unbinding control, and the unbinding signal is used to To instruct to release the binding relationship between the switch device and the at least one smart home device, send a binding release instruction to the gateway device through the Bluetooth connection according to the binding release signal. The gateway device receives the binding release instruction sent by the client through the Bluetooth connection, and in response to the binding release instruction, releases the binding relationship between the switch device and at least one smart home device.
其中,绑定解除信号可以实现为如下情况中的任意一种:Among them, the unbinding signal can be implemented as any of the following situations:
第一,客户端接收在开关设备对应的绑定解除控件上触发的绑定解除信号,则该绑定解除信号用于指示解除与该开关设备绑定的所有智能家居设备与该开关设备之间的绑定关系;First, the client receives a binding release signal triggered on the binding release control corresponding to the switch device, and the binding release signal is used to indicate that all smart home devices that are bound to the switch device are released from the switch device. binding relationship;
第二,客户端接收在智能家居设备对应的绑定解除控件上触发的绑定解除信号,则仅解除该智能家居设备与开关设备之间的绑定关系,而针对开关设备与其他智能家居设备之间的绑定关系不进行解绑;Second, when the client receives the binding release signal triggered on the binding release control corresponding to the smart home device, it only releases the binding relationship between the smart home device and the switch device, and for the switch device and other smart home devices The binding relationship between will not be unbound;
综上所述,本实施例提供的方法,通过网关设备接收来自开关设备以及智能家居设备发送的绑定请求,并根据绑定请求将开关设备与智能家居设备进行绑定,向客户端发送绑定信息,客户端根据绑定信息确定绑定关系并显示绑定界面的方法,在客户端处于非WiFi网络环境的状态下,实现了网关设备与客户端之间的连接,并在网关设备同时连接多个ZigBee子设备时,使多个ZigBee子设备之间可以建立绑定关系,进一步提高了在非WiFi网络的环境时客户端对于ZigBee子设备的控制效率。To sum up, in the method provided by this embodiment, the gateway device receives the binding request sent from the switch device and the smart home device, binds the switch device and the smart home device according to the binding request, and sends the binding request to the client. The client determines the binding relationship and displays the binding interface according to the binding information. When the client is in a non-WiFi network environment, the connection between the gateway device and the client is realized, and the gateway device simultaneously When multiple ZigBee sub-devices are connected, a binding relationship can be established between the multiple ZigBee sub-devices, which further improves the control efficiency of the client for the ZigBee sub-devices in a non-WiFi network environment.
第三,对客户端对ZigBee子设备的控制进行说明。在本申请提供的一种实施例中,客户端与网关设备通过蓝牙连接,且客户端通过网关设备对开关设备以及与开关设备绑定的智能家居设备进行控制。在基于图8所示的可选实施例的基础上,图11示出了本申请另一个示意性实施例提供的ZigBee子设备配置方法的流程图。在本实施例中,上述步骤804后还包括步骤1101至步骤1105。以该方法应用于ZigBee子设备配置系统中为例进行说明,该方法包括:Thirdly, the control of the ZigBee sub-device by the client is described. In an embodiment provided by the present application, the client is connected to the gateway device through Bluetooth, and the client controls the switch device and the smart home device bound to the switch device through the gateway device. Based on the optional embodiment shown in FIG. 8 , FIG. 11 shows a flowchart of a ZigBee sub-device configuration method provided in another exemplary embodiment of the present application. In this embodiment, step 1101 to step 1105 are further included after the above step 804 . Take the method applied in the ZigBee sub-device configuration system as an example for illustration, the method includes:
步骤1101,客户端接收对开关设备进行控制的场景控制信号。In step 1101, the client receives a scene control signal for controlling the switching device.
可选地,客户端的设备控制界面中包括对ZigBee子设备进行控制的控制控件,场景控制信号为接收到在开关设备的控制控件上的触摸操作而生成的信号。示意性的,如图12所示,设备控制界面1200中显示有已绑定的开关设备1210、智能家居设备1220、智能家居设备1230以及智能家居设备1240,其中,开关设备对应控制控件1201、智能家居设备1220对应控制控件1202、智能家居设备1230对应控制控件1204、智能家居设备1240对应控制控件1204,客户端接收到对于控制控件1201的触摸操作时,即生成对于开关设备1210进行控制的场景控制信号。Optionally, the device control interface of the client includes a control control for controlling the ZigBee sub-device, and the scene control signal is a signal generated by receiving a touch operation on the control control of the switch device. Schematically, as shown in FIG. 12 , the device control interface 1200 displays bound switch devices 1210 , smart home devices 1220 , smart home devices 1230 and smart home devices 1240 , wherein the switch devices correspond to control
步骤1102,客户端根据场景控制信号通过蓝牙连接向网关设备发送场景控制指令。Step 1102, the client sends a scene control instruction to the gateway device through the Bluetooth connection according to the scene control signal.
可选地,场景控制指令包括控制指示和开关设备的设备标识,且场景控制指令用于指示网关设备确定与开关设备绑定的智能家居设备,并通过控制指示对智能家居设备进行控制。其中,控制指示用于指示对该绑定关系中的至少一个ZigBee子设备的控制方式。Optionally, the scene control instruction includes a control instruction and a device identifier of the switch device, and the scene control instruction is used to instruct the gateway device to determine the smart home device bound to the switch device, and to control the smart home device through the control instruction. Wherein, the control indication is used to indicate a control mode of at least one ZigBee sub-device in the binding relationship.
步骤1103,网关设备接收客户端通过蓝牙连接发送的场景控制指令,场景控制指令中包括控制指示和开关设备的设备标识。Step 1103, the gateway device receives the scene control instruction sent by the client through the Bluetooth connection, and the scene control instruction includes the control instruction and the device identification of the switch device.
步骤1104,网关设备根据开关设备的设备标识确定与开关设备绑定的至少一个智能家居设备。Step 1104, the gateway device determines at least one smart home device bound to the switch device according to the device identifier of the switch device.
由于网关设备存储有开关设备与智能家居设备之间的绑定关系,在接收到设备标识后,网关设备即根据开关设备的设备标识确定需要进行控制的智能家居设备。Since the gateway device stores the binding relationship between the switch device and the smart home device, after receiving the device identification, the gateway device determines the smart home device to be controlled according to the device identification of the switch device.
步骤1105,网关设备根据控制指示对智能家居设备进行控制。Step 1105, the gateway device controls the smart home device according to the control instruction.
可选地,网关设备根据控制指示对与开关设备绑定的智能家居设备进行与控制指示对应的控制。在一些实施例中,请参考图12,智能家居设备的控制控件1202至1204均为指示对应设备启停的控制控件。而开关设备1210的控制控件1201为指示智能家居设备1220至智能家居设备1240对应的整体启停状态的控制控件。可选地,开关设备1210的控制控件1201的控制逻辑如下所示:Optionally, the gateway device performs control corresponding to the control instruction on the smart home device bound to the switch device according to the control instruction. In some embodiments, please refer to FIG. 12 , the control controls 1202 to 1204 of smart home devices are all control controls that instruct corresponding devices to start and stop. The
第一,当智能家居设备1220至智能家居设备1240中的至少一个智能家居设备处于工作状态时,通过对控制控件1201的控制,客户端发送控制三个智能家居设备1220至1240全部停止工作的场景控制指令;First, when at least one of the smart home devices 1220 to 1240 is in the working state, through the control of the
第二,当智能家居设备1220至智能家居设备1240全部处于非工作状态时,通过对控制控件1201的控制,客户端发送控制三个智能家居设备全部启动工作的场景控制指令。Second, when all the smart home devices 1220 to 1240 are in the non-working state, through the control of the
综上所述,本实施例提供的方法,通过在客户在接收到对于开关设备绑定的智能家居设备进行控制的场景控制信号时,向网关设备发送场景控制指令,网关根据该场景控制指令中的开关设备的设备标识确定需要控制的智能家居设备,并通过控制指示对对应的智能家居设备进行控制的方法,在客户端处于非WiFi网络环境的状态下,实现了网关设备与客户端之间的连接,并在网关设备同时连接多个ZigBee子设备时,可以同时对多个ZigBee子设备进行绑定后的集中控制,进一步提高了客户端在处于非WiFi网络环境时对ZigBee子设备的控制效率。To sum up, the method provided in this embodiment is to send a scene control command to the gateway device when the customer receives a scene control signal for controlling the smart home device bound to the switch device, and the gateway will The device identification of the switching device determines the smart home device that needs to be controlled, and the method of controlling the corresponding smart home device through the control instruction realizes the connection between the gateway device and the client when the client is in a non-WiFi network environment. connection, and when the gateway device is connected to multiple ZigBee sub-devices at the same time, it can simultaneously control multiple ZigBee sub-devices after binding, which further improves the control of the ZigBee sub-device when the client is in a non-WiFi network environment efficiency.
图13示出了本申请另一个实施例提供的紫蜂ZigBee子设备的配置方法的过程示意图,以该方法应用于ZigBee子设备配置系统中为例进行说明,该ZigBee子设备配置系统包括客户端、网关设备和ZigBee场景开关和已经连入网关的其他ZigBee子设备。该方法包括:Fig. 13 shows a schematic diagram of the process of Zigbee ZigBee sub-device configuration method provided by another embodiment of the present application. It is illustrated by taking the method applied in the ZigBee sub-device configuration system as an example. The ZigBee sub-device configuration system includes a client , gateway device, ZigBee scene switch and other ZigBee sub-devices that have been connected to the gateway. The method includes:
步骤1301,网关建立绑定关系。In
在网关建立ZigBee场景开关和已经连入网关的其他ZigBee子设备的绑定关系的过程前,ZigBee场景开关与已入网关的其他ZigBee子设备均执行步骤1302和步骤1303。Before the gateway establishes the binding relationship between the ZigBee scene switch and other ZigBee sub-devices connected to the gateway, the ZigBee scene switch and other ZigBee sub-devices connected to the gateway both perform
步骤1302,按待绑定控件3s。
步骤1303,进入绑定状态。
步骤1302至步骤1303为第一绑定请求以及第二绑定请求的生成过程。
步骤1304,客户端与网关通过蓝牙建立连接并鉴权。
步骤1305,网关设备与客户端建立连接并鉴权。
可选地,步骤1304与1305即为客户端与网关设备的双向鉴权过程。Optionally,
步骤1306,客户端鉴权成功。
在步骤1304与步骤1305指示的双向鉴权过程成功之后,即指示双向鉴权成功,客户端与网关设备通过蓝牙进行连接。After the two-way authentication process indicated in
步骤1307,网关设备将绑定关系同步到客户端。Step 1307, the gateway device synchronizes the binding relationship to the client.
该绑定关系为网关进行绑定的,在绑定之后,网关设备即将设备绑定信息发送至客户端。The binding relationship is bound by the gateway, and after the binding, the gateway device will send the device binding information to the client.
步骤1308,客户端本地场景自动同步到手机。
可选地,客户端对应该绑定关系,在客户端界面上生成对应的空间。Optionally, the client generates a corresponding space on the client interface corresponding to the binding relationship.
步骤1309,客户端可以操作解绑绑定关系。
该步骤即指示客户端可以对绑定关系进行解除。This step indicates that the client can release the binding relationship.
步骤1310,网关设备处理客户端的控制命令。Step 1310, the gateway device processes the control command of the client.
该步骤即指示网关设备可以对客户端发送的对于ZigBee子设备的控制指令进行处理,实现客户端在非WiFi网络环境时对ZigBee子设备的控制。This step indicates that the gateway device can process the control command for the ZigBee sub-device sent by the client, so as to realize the control of the ZigBee sub-device by the client in a non-WiFi network environment.
图14示出了本申请一个示意性实施例提供的ZigBee子设备的配置装置的结构框图,该装置包括:Fig. 14 shows the structural block diagram of the configuration device of the ZigBee sub-device provided by an exemplary embodiment of the present application, the device includes:
建立模块1401,用于建立与客户端之间的蓝牙连接,所述蓝牙连接为所述客户端未处于无线保真WiFi网络环境时建立的;Establishing
接收模块1402,用于响应于接收到所述客户端通过所述蓝牙连接发送的设备添加指令,接收所述ZigBee子设备通过ZigBee网络发送的接入信号;The
发送模块1403,用于根据所述接入信号通过所述蓝牙连接向所述客户端发送设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识,所述设备配置信息用于指示在所述客户端中添加用于控制所述ZigBee子设备的配置项。The sending
在一个可选的实施例中,所述ZigBee子设备中包括至少一个开关设备与至少一个智能家居设备;In an optional embodiment, the ZigBee sub-device includes at least one switch device and at least one smart home device;
接收模块1402,用于响应于在预设时间间隔内通过所述ZigBee网络分别接收到所述开关设备发送的第一绑定请求与至少一个所述智能家居设备发送的第二绑定请求,将所述开关设备与至少一个所述智能家居设备进行绑定;The
发送模块1403,用于通过所述蓝牙连接向所述客户端发送设备绑定信息,所述设备绑定信息中包括所述开关设备与至少一个所述智能家居设备之间的绑定关系,所述设备绑定信息用于指示所述客户端对所述开关设备与至少一个所述智能家居设备之间的所述绑定关系进行存储。A sending
在一个可选的实施例中,接收模块1402,用于通过所述ZigBee网络接收所述开关设备发送的所述第一绑定请求,所述第一绑定请求为在所述开关设备的绑定控件上接收到按压操作时生成的请求,所述第一绑定请求中还包括所述按压操作的按压时长所对应的设备数量;In an optional embodiment, the
接收模块1402,用于在所述预设时间间隔内通过所述ZigBee网络接收至少一个所述智能家居设备发送的所述第二绑定请求;A
绑定模块1404,用于响应于所述设备数量大于或等于所述第二绑定请求的数量,将所述开关设备与至少一个所述智能家居设备进行绑定。A
在一个可选的实施例中,接收模块1402,用于接收所述客户端通过所述蓝牙连接发送的场景控制指令,所述场景控制指令中包括控制指示和所述开关设备的设备标识;In an optional embodiment, the
该装置,还包括绑定模块1404,用于根据所述开关设备的设备标识确定与所述开关设备绑定的至少一个所述智能家居设备;The apparatus further includes a
控制模块1405,用于根据所述控制指示对与所述开关设备绑定的至少一个所述智能家居设备进行控制。A
在一个可选的实施例中,接收模块1402,用于接收所述客户端通过所述蓝牙连接发送的绑定解除指令;In an optional embodiment, the
该装置,还包括解除模块1406,用于响应于所述绑定解除指令,解除所述开关设备与至少一个所述智能家居设备之间的所述绑定关系。The apparatus further includes a
在一个可选的实施例中,接收模块1401,用于接收配网控制操作触发的配网控制信号;In an optional embodiment, the
建立模块1401,用于根据所述配网控制信号建立与所述客户端之间的蓝牙配网连接;Establishing
该装置,还包括鉴权模块1407,用于通过所述蓝牙配网连接与所述客户端之间进行双向鉴权;The device also includes an
建立模块1401,用于响应于双向鉴权成功,建立与所述客户端之间的所述蓝牙连接。The
图15示出了本申请一个示意性实施例提供的紫蜂ZigBee子设备的配置装置的结构框图,该装置包括:Fig. 15 shows a structural block diagram of a Zigbee ZigBee sub-device configuration device provided by an exemplary embodiment of the present application, the device includes:
确定模块1501,用于确定当前所处的网络环境;A determining
建立模块1502,用于响应于当前未处于无线保真WiFi网络环境,建立与网关设备之间的蓝牙连接;An
发送模块1503,用于通过所述蓝牙连接向所述网关设备发送设备添加指令,所述设备添加指令用于指示所述网关设备接收所述ZigBee子设备通过ZigBee网络发送的接入信号;The sending
接收模块1504,用于接收所述网关设备通过所述蓝牙连接发送的设备配置信息,所述设备配置信息中包括所述ZigBee子设备的设备标识;A
添加模块1505,用于根据所述设备配置信息添加用于控制所述ZigBee子设备的配置项。Adding
在一个可选的实施例中所述ZigBee子设备中包括至少一个开关设备与至少一个智能家居设备;In an optional embodiment, the ZigBee sub-device includes at least one switch device and at least one smart home device;
接收模块1504,用于接收所述网关设备通过所述蓝牙连接发送的设备绑定信息,所述设备绑定信息中包括所述开关设备与至少一个所述智能家居设备之间的绑定关系;A
该装置,还包括存储模块1506,用于根据所述设备绑定信息对所述开关设备与至少一个所述智能家居设备之间的所述绑定关系进行存储。The apparatus further includes a
在一个可选的实施例中,接收模块1504,用于接收对所述开关设备进行控制的场景控制信号;In an optional embodiment, the
发送模块1503,用于根据所述场景控制信号通过所述蓝牙连接向所述网关设备发送场景控制指令,所述场景控制指令包括控制指示和所述开关设备的设备标识,所述场景控制指令用于指示所述网关设备确定与所述开关设备绑定的至少一个所述智能家居设备,并根据所述控制指示对至少一个所述智能家居设备进行控制。The sending
在一个可选的实施例中,接收模块1504,用于接收在绑定解除控件上触发的绑定解除信号,所述绑定解除信号用于指示解除所述开关设备与至少一个所述智能家居设备之间的所述绑定关系;In an optional embodiment, the
发送模块1503,用于根据所述绑定解除信号通过所述蓝牙连接向所述网关设备发送绑定解除指令,所述绑定解除指令用于指示所述网关设备解除所述开关设备与至少一个所述智能家居设备之间的所述绑定关系。A sending
在一个可选的实施例中,显示模块1507,用于响应于当前未处于所述无线保真WiFi网络环境,显示配网模式指示信息,所述配网模式指示信息用于指示通过候选配网模式完成配网,所述候选配网模式中包括蓝牙配网模式;In an optional embodiment, the
接收模块1504,用于接收对所述蓝牙配网模式进行选择的选择信号;A
该装置,还包括启动模块1508,用于根据所述选择信号启动蓝牙进行扫描;The device also includes a
接收模块1504,用于响应于接收到网关设备广播的蓝牙连接信号,建立与网关设备之间的蓝牙连接。The
在一个可选的实施例中,建立模块1502,用于响应于接收到所述网关设备广播的所述蓝牙连接信号,建立与所述网关设备之间的蓝牙配网连接;In an optional embodiment, the
该装置,还包括鉴权模块1509,用于通过蓝牙配网连接与网关设备之间进行双向鉴权;The device also includes an
响应于双向鉴权成功,建立与网关设备之间的蓝牙连接。In response to successful two-way authentication, a Bluetooth connection with the gateway device is established.
需要说明的是:上述实施例提供的紫蜂ZigBee子设备的配置装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that: the Zigbee ZigBee sub-equipment configuration device provided in the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above function allocation can be completed by different functional modules according to needs. That is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
图16示出了本申请一个示意性实施例提供一种执行ZigBee子设备的配置方法的终端的结构示意图,该终端包括:FIG. 16 shows a schematic structural diagram of a terminal for performing a ZigBee sub-device configuration method provided by an exemplary embodiment of the present application. The terminal includes:
处理器1601包括一个或者一个以上处理核心,处理器1601通过运行软件程序以及模块,从而执行各种功能应用以及数据处理。The
接收器1602和发射器1603可以实现为一个通信组件,该通信组件可以是一块通信芯片。可选地,该通信组件可以实现蓝牙连接以及ZigBee连接。也即,发射器1603可以用于发射蓝牙信号或ZigBee信号,接收器1602可以用于接收蓝牙信号或ZigBee信号。The
存储器1604通过总线1605与处理器1601相连。The
存储器1604可用于存储至少一个指令,处理器1601用于执行该至少一个指令,以实现上述方法实施例中的各个步骤。The
本申请还提供了一种网关设备,该网关设备包括处理器和存储器,存储器中存储有至少一条指令,至少一条指令由处理器加载并执行以实现上述各个方法实施例提供的紫蜂ZigBee子设备的配置方法。需要说明的是,该网关设备可以是如下图17所提供的网关设备。The present application also provides a gateway device, the gateway device includes a processor and a memory, at least one instruction is stored in the memory, at least one instruction is loaded and executed by the processor to implement the Zigbee ZigBee sub-device provided by the above method embodiments configuration method. It should be noted that the gateway device may be the gateway device provided in FIG. 17 below.
请参考图17,其示出了本申请一个示例性实施例提供的网关设备的结构示意图。具体来讲:网关设备1700包括中央处理单元(Central Processing Unit,CPU)1701、包括随机存取存储器(Random Access Memory,RAM)1702和只读存储器(Read-Only Memory,ROM)1703的系统存储器1704,以及连接系统存储器104和中央处理单元1701的系统总线1705。网关设备1700还包括帮助计算机内的各个器件之间传输信息的基本输入/输出(InputOutput System,I/O)系统106,和用于存储操作系统1713、应用程序1714和其他程序模块1715的大容量存储设备1707。Please refer to FIG. 17 , which shows a schematic structural diagram of a gateway device provided by an exemplary embodiment of the present application. Specifically: the
基本输入/输出系统1706包括有用于显示信息的显示器1708和用于用户输入信息的诸如鼠标、键盘之类的输入设备1709。其中显示器1708和输入设备1709都通过连接到系统总线1705的输入输出控制器1710连接到中央处理单元1701。基本输入/输出系统1706还可以包括输入输出控制器1710以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入输出控制器1710还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/
大容量存储设备1707通过连接到系统总线1705的大容量存储控制器(未示出)连接到中央处理单元1701。大容量存储设备1707及其相关联的计算机可读介质为网关设备1700提供非易失性存储。也就是说,大容量存储设备1707可以包括诸如硬盘或者CD-ROI驱动器之类的计算机可读介质(未示出)。
不失一般性,计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、带电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存或其他固态存储其技术,CD-ROM、数字多功能光盘(Digital Video Disc,DVD)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知计算机存储介质不局限于上述几种。上述的系统存储器1704和大容量存储设备1707可以统称为存储器。Without loss of generality, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory, EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other solid state Store its technology, CD-ROM, Digital Video Disc (DVD) or other optical storage, cassette, tape, disk storage or other magnetic storage device. Certainly, those skilled in the art know that the computer storage medium is not limited to the above-mentioned ones. The above-mentioned
存储器存储有一个或多个程序,一个或多个程序被配置成由一个或多个中央处理单元1701执行,一个或多个程序包含用于实现上述ZigBee子设备的配置方法的指令,中央处理单元1701执行该一个或多个程序实现上述各个方法实施例提供的ZigBee子设备的配置方法。One or more programs are stored in the memory, and one or more programs are configured to be executed by one or more
根据本申请的各种实施例,网关设备1700还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即网关设备1700可以通过连接在系统总线1705上的网络接口单元1711连接到网络1712,或者说,也可以使用网络接口单元1711来连接到其他类型的网络或远程计算机系统(未示出)。可选地,本申请实施例中,网关设备1700可以通过网络接口单元1711连接到ZigBee网络,可选地,网关设备1700还可以通过蓝牙与其他设备建立连接。According to various embodiments of the present application, the
存储器还包括一个或者一个以上的程序,一个或者一个以上程序存储于存储器中,一个或者一个以上程序包含用于进行本申请实施例提供的ZigBee子设备的配置方法中由网关设备所执行的步骤。The memory also includes one or more programs, one or more programs are stored in the memory, and one or more programs include the steps executed by the gateway device in the ZigBee sub-device configuration method provided by the embodiment of the present application.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,该计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入终端中的计算机可读存储介质。该计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述ZigBee子设备的配置方法。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the computer-readable storage The medium may be a computer-readable storage medium included in the memory in the above embodiments; or a computer-readable storage medium that exists independently and is not assembled into the terminal. At least one instruction, at least one section of program, code set or instruction set is stored in the computer-readable storage medium, and at least one instruction, at least one section of program, code set or instruction set is loaded and executed by the processor to realize the configuration of the above-mentioned ZigBee sub-device method.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The above-mentioned The storage medium can be read-only memory, magnetic disk or optical disk and so on. The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010297272.8A CN111478816B (en) | 2020-04-15 | 2020-04-15 | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010297272.8A CN111478816B (en) | 2020-04-15 | 2020-04-15 | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111478816A CN111478816A (en) | 2020-07-31 |
| CN111478816B true CN111478816B (en) | 2023-04-07 |
Family
ID=71753492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010297272.8A Active CN111478816B (en) | 2020-04-15 | 2020-04-15 | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111478816B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112130461A (en) * | 2020-09-24 | 2020-12-25 | 珠海格力电器股份有限公司 | Smart home control method and device, storage medium and electronic device |
| CN114143161B (en) * | 2021-11-25 | 2024-05-31 | 杭州萤石软件有限公司 | Device management method, device and system and electronic device |
| CN116846935A (en) * | 2023-06-20 | 2023-10-03 | 杭州萤石软件有限公司 | Device adding system, method, device, electronic device and storage medium |
| CN119906597B (en) * | 2024-12-25 | 2025-11-28 | 珠海格力电器股份有限公司 | Smart home device network configuration methods, devices, electronic equipment and readable storage media |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102769619A (en) * | 2012-07-20 | 2012-11-07 | 南京小网科技有限责任公司 | Method for automatically registering intelligent home appliance in network by one key |
| CN104780154A (en) * | 2015-03-13 | 2015-07-15 | 小米科技有限责任公司 | Device binding method and device binding device |
| CN105471686A (en) * | 2015-12-26 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Terminal control method, terminal control apparatus and system |
| CN108173724A (en) * | 2017-12-26 | 2018-06-15 | 陈占辉 | A kind of sharing method of the smart home device based on mobile terminal |
| CN110519738A (en) * | 2019-08-30 | 2019-11-29 | 青岛海信智慧家居系统股份有限公司 | A kind of method and device of the multi-functional determination of ZigBee terminal device |
| CN110601934A (en) * | 2019-09-18 | 2019-12-20 | 青岛海信智慧家居系统股份有限公司 | Method and device for establishing binding relationship between binding switch equipment and switch equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BR112017021258A2 (en) * | 2015-04-03 | 2018-06-26 | Lucis Technologies Holdings Limited | environment control system |
| EP3396994B1 (en) * | 2017-04-27 | 2020-12-02 | ABB Schweiz AG | Local connection establishment |
-
2020
- 2020-04-15 CN CN202010297272.8A patent/CN111478816B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102769619A (en) * | 2012-07-20 | 2012-11-07 | 南京小网科技有限责任公司 | Method for automatically registering intelligent home appliance in network by one key |
| CN104780154A (en) * | 2015-03-13 | 2015-07-15 | 小米科技有限责任公司 | Device binding method and device binding device |
| CN105471686A (en) * | 2015-12-26 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Terminal control method, terminal control apparatus and system |
| CN108173724A (en) * | 2017-12-26 | 2018-06-15 | 陈占辉 | A kind of sharing method of the smart home device based on mobile terminal |
| CN110519738A (en) * | 2019-08-30 | 2019-11-29 | 青岛海信智慧家居系统股份有限公司 | A kind of method and device of the multi-functional determination of ZigBee terminal device |
| CN110601934A (en) * | 2019-09-18 | 2019-12-20 | 青岛海信智慧家居系统股份有限公司 | Method and device for establishing binding relationship between binding switch equipment and switch equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111478816A (en) | 2020-07-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111478816B (en) | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment | |
| CN111490916B (en) | Method, system, device and medium for binding ZigBee sub-devices of ZigBee | |
| JP6301007B2 (en) | Device binding method, apparatus, program, and recording medium | |
| JP6386675B2 (en) | Device control method, apparatus, program, and recording medium | |
| CN109150568B (en) | A network management method, apparatus, system, device and storage medium | |
| CN112751699B (en) | OTA upgrading and upgrading management method, equipment, network and storage medium | |
| CN111930020B (en) | Equipment control system, method, device, terminal and readable storage medium | |
| CN103312526B (en) | A kind of binding matching method, control system and equipment | |
| WO2013178174A1 (en) | Capability open platform, method and gateway for achieving terminal device plug and play management | |
| CN103914041A (en) | Binding method of user operation terminal and household appliance control device and household appliance control system | |
| CN112584364A (en) | Bluetooth network, communication method, device and storage medium thereof | |
| CN105093948A (en) | Intelligent device control method, terminal, and server | |
| EP3993338B1 (en) | Device binding method and apparatus, and electronic device | |
| CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
| JP7481498B2 (en) | Home appliance and network setting method thereof, control terminal, and computer storage medium | |
| CN111372222B (en) | Device connection methods, systems, and corresponding terminal devices and servers | |
| CN104469886A (en) | Smart device and method and device for fast accessing wireless network access device thereof | |
| CN105208631A (en) | Network connection method and device | |
| EP3068104A1 (en) | Sharing method and system for media file | |
| JP2016524422A (en) | Configuration connection device | |
| CN115113534A (en) | Scene execution method and device, storage medium and electronic device | |
| CN113552808A (en) | A kind of electronic household equipment distribution network method, electronic household equipment and mobile terminal | |
| CN106851198B (en) | Network camera operation method and network camera | |
| CN108306796B (en) | Intelligent home system, and information processing method and device of intelligent home equipment | |
| CN105511275B (en) | Method and device for controlling smart appliances |
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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20231127 Address after: 516039 Floor 1, C2-1 Plant, Qunyi Intelligent Manufacturing Industrial Park, south of Sanhe Avenue, Tonghu Town, Zhongkai High tech Zone, Huizhou, Guangdong Patentee after: Guangdong Muguang Intelligent Lighting Co.,Ltd. Address before: 315300 East District of Industrial Park, Cixi, Ningbo, Zhejiang Patentee before: GONGNIU GROUP Co.,Ltd. |