[go: up one dir, main page]

CN107566229A - The packet control process of intelligent domestic system - Google Patents

The packet control process of intelligent domestic system Download PDF

Info

Publication number
CN107566229A
CN107566229A CN201710739759.5A CN201710739759A CN107566229A CN 107566229 A CN107566229 A CN 107566229A CN 201710739759 A CN201710739759 A CN 201710739759A CN 107566229 A CN107566229 A CN 107566229A
Authority
CN
China
Prior art keywords
smart home
control
group
intelligent
home node
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.)
Pending
Application number
CN201710739759.5A
Other languages
Chinese (zh)
Inventor
来新泉
杨需哲
叶强
万光耀
黄瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN201710739759.5A priority Critical patent/CN107566229A/en
Publication of CN107566229A publication Critical patent/CN107566229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种智能家居系统的分组控制方法,主要解决当前智能家居系统中针对多个设备的控制问题。本发明中,智能家居系统由若干个支持低功耗蓝牙的智能家居设备和智能控制终端组成。每个已入网的智能家居设备根据需要均被分配一个组控地址。智能控制终端通过向智能家居设备发送携带组控地址的指令控制智能家居系统。本发明的智能家居系统的分组控制方法通过给智能家居设备分配组控地址,并在指令中增加组控地址,提高了智能家居系统中用户操作的灵活性、有效性,同时极大地改善了用户体验。该方法可应用于智能家居、智能办公等智能控制应用领域。

The invention discloses a grouping control method of a smart home system, which mainly solves the problem of controlling multiple devices in the current smart home system. In the present invention, the smart home system is composed of several smart home devices and smart control terminals supporting Bluetooth low power consumption. Each smart home device connected to the network is assigned a group control address as needed. The smart control terminal controls the smart home system by sending commands carrying group control addresses to smart home devices. The group control method of the smart home system of the present invention improves the flexibility and effectiveness of user operations in the smart home system by assigning group control addresses to smart home devices and adding group control addresses to instructions, and at the same time greatly improves the user experience. experience. The method can be applied to intelligent control application fields such as smart home and smart office.

Description

智能家居系统的分组控制方法Group control method of smart home system

技术领域technical field

本发明属于智能家居领域,尤其涉及一种低功耗蓝牙网状网络的分组控制方法,可应用于智能家居、智能办公等智能控制应用领域。The invention belongs to the field of smart home, and in particular relates to a grouping control method of a low-power bluetooth mesh network, which can be applied to intelligent control application fields such as smart home and smart office.

背景技术Background technique

伴随着移动智能设备的飞速发展,家用设备的智能化也成为发展的必然趋势。综合了物联网、传感器、安全加密和自动控制等技术的智能家居系统便应运而生。智能家居的根本目的在于将生活中的设备进行集成,构建一个高效的住宅环境和家庭事务的管理系统,提升家用设备灵活化、安全性、舒适性、高效性。然而,目前应用于智能家居系统的BLEmesh网络尚未有统一的标准协议,已有的智能家居系统中,大多采用的是单一控制和全局控制,对于系统内的分组控制并没有完善的机制,这大大降低了智能家居的实用性和灵活性;另外,虽然部分智能家居系统中也有分组控制机制,但是其控制方法对系统内节点数量要求苛刻,限制了其在大规模智能家居中的应用。With the rapid development of mobile smart devices, the intelligence of household devices has become an inevitable trend of development. A smart home system that integrates technologies such as the Internet of Things, sensors, security encryption, and automatic control has emerged as the times require. The fundamental purpose of smart home is to integrate the equipment in life, build an efficient residential environment and family affairs management system, and improve the flexibility, safety, comfort and efficiency of household equipment. However, there is no uniform standard protocol for the BLEmesh network currently used in smart home systems. Most of the existing smart home systems use single control and global control, and there is no perfect mechanism for group control within the system. It reduces the practicability and flexibility of smart homes; in addition, although some smart home systems also have group control mechanisms, their control methods have strict requirements on the number of nodes in the system, which limits their application in large-scale smart homes.

发明内容Contents of the invention

本发明的目的在于提供一种智能家居的分组控制方法,提高了智能家居系统中用户操作的灵活性、高效性,并且极大改善了用户体验。The purpose of the present invention is to provide a grouping control method for smart home, which improves the flexibility and efficiency of user operations in the smart home system, and greatly improves user experience.

本发明包括以下步骤:The present invention comprises the following steps:

(1)组建智能家具系统,智能家居节点通过广播申请入网,智能终端通过主动扫描得到智能家居节点列表,智能终端将列表中的智能家居节点添加入网;(1) Set up a smart furniture system. Smart home nodes apply for network access through broadcasting. Smart terminals obtain a list of smart home nodes through active scanning, and smart terminals add smart home nodes in the list to the network;

(2)分配组控地址,智能控制终端向智能家居节点分配组控地址,智能家居节点保存该组控地址;(2) Assign a group control address, the intelligent control terminal assigns the group control address to the smart home node, and the smart home node saves the group control address;

(3)分组控制,智能终端发送携带组控地址的控制命令,智能家居节点收到该命令,并判断是否响应以及是否转发该命令。(3) Group control, the smart terminal sends a control command carrying the group control address, the smart home node receives the command, and judges whether to respond and whether to forward the command.

上述的智能家居系统包含N个智能家居节点,N≥1;每一个智能家居节点均为支持低功耗蓝牙(BLE)的设备;智能终端为支持BLE的智能移动设备,如:智能手机,平板电脑。The above-mentioned smart home system includes N smart home nodes, N≥1; each smart home node is a device that supports Bluetooth Low Energy (BLE); the smart terminal is a smart mobile device that supports BLE, such as: smart phone, tablet computer.

上述组建智能家具系统包括两个步骤:The above-mentioned building of the smart furniture system includes two steps:

(a)智能家居节点通过内置的蓝牙模块发射自身的一些标识信息,智能控制设备主动扫描处于该智能控制设备的蓝牙覆盖范围内的智能家居节点,得到节点列表,智能控制设备选中其中一个节点,并与其建立无线连接;(a) The smart home node transmits some identification information of itself through the built-in Bluetooth module, and the smart control device actively scans the smart home nodes within the Bluetooth coverage of the smart control device to obtain a list of nodes, and the smart control device selects one of the nodes, and establish a wireless connection with it;

(b)智能控制终端与建立连接后的智能家居节点通过数据交互,判断对方是否为已有智能网络中的设备,并根据判断结果,向该设备发送相应的配置信息,此时有两种情况:(b) The intelligent control terminal interacts with the connected smart home node through data interaction to determine whether the other party is a device in an existing smart network, and sends corresponding configuration information to the device according to the judgment result. There are two situations at this time :

i.智能家居节点未加入智能家居网络,智能控制终端需要配置该节点入网,配置内容包括:智能控制终端保存设备ID,智能控制终端向智能家居节点分配网络秘钥,智能控制终端配置智能家居节点状态信息;i. The smart home node has not joined the smart home network, and the smart control terminal needs to configure the node to join the network. The configuration includes: the smart control terminal saves the device ID, the smart control terminal distributes the network key to the smart home node, and the smart control terminal configures the smart home node status information;

ii.智能家居节点已经加入智能家居网络,此时该智能家居节点已属于该网络内的设备,处于正常运转状态。ii. The smart home node has joined the smart home network. At this time, the smart home node belongs to the equipment in the network and is in normal operation.

上述分配组控地址的具体步骤如下:The specific steps for assigning the group control address above are as follows:

(a)所述智能控制终端进行主动扫描,得到其通信范围内的已入网节点列表;(a) The intelligent control terminal performs active scanning to obtain a list of network-connected nodes within its communication range;

(b)所述智能控制终端打开已入网节点列表,并选中n个设备,n≥1,将其分为一组;(b) The intelligent control terminal opens the network-connected node list, and selects n devices, n≥1, and divides them into a group;

(c)依次向所述已选中的设备发送组控地址。(c) Sending group control addresses to the selected devices in sequence.

上述分组控制的具体步骤如下:The specific steps of the above-mentioned group control are as follows:

(a)所述智能控制终端向与其建立无线连接的智能家居节点发送控制指令,该控制指令带有相应的组控地址;(a) The intelligent control terminal sends a control command to the smart home node establishing a wireless connection with it, and the control command has a corresponding group control address;

(b)收到所述控制指令的智能家居节点对该控制指令带有的组控地址与本智能家居节点保存组控地址进行判断,其判断结果为:(b) The smart home node that receives the control command judges the group control address carried by the control command and the group control address saved by the smart home node, and the judgment result is:

b1.组控地址与本地地址不匹配,则转发该控制指令;b1. If the group control address does not match the local address, the control command is forwarded;

b2.组控地址与本地地址匹配,并且是单一控制,则智能终端将响应该控制指令;b2. The group control address matches the local address, and it is a single control, then the smart terminal will respond to the control command;

b3.组控地址与本地地址匹配,并且是全组控制,则智能终端将响应该控制指令,并转发该控制指令。b3. The group control address matches the local address, and it is controlled by the whole group, then the smart terminal will respond to the control command and forward the control command.

上述智能控制终端分配给智能家居节点的组控地址包含以下两个部分:The group control address assigned by the above intelligent control terminal to the smart home node includes the following two parts:

一个字节大小的组序号,用来区分不同的分组,如:第1组,第2组;A byte-sized group number, used to distinguish different groups, such as: group 1, group 2;

一个字节大小的节点序号,用来区分组内不同的节点,如:第1组第1节点,第1组第2节点。A byte-sized node serial number, which is used to distinguish different nodes in the group, such as: the first node in the first group, and the second node in the first group.

上述的智能家居系统中的一个分组可以包含多个节点,从而实现同时控制多个节点。A group in the above-mentioned smart home system can contain multiple nodes, so as to control multiple nodes at the same time.

上述智能家居节点可以保存多个组控地址,即一个智能家居节点可以被分到多个分组中。The aforementioned smart home node can store multiple group control addresses, that is, one smart home node can be divided into multiple groups.

上述智能控制终端可以在设备入网后随时对所述智能家居系统中的智能家居节点进行分组。The above-mentioned smart control terminal can group the smart home nodes in the smart home system at any time after the devices are connected to the network.

本发明与现有的技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:

(1)本发明由于在控制命令中增加了两个字节的组控地址,并在智能家居节点中增加了相应的分组控制处理机制,提高了用户对智能家居系统控制的灵活性,极大优化了用户体验。(1) Since the present invention adds a two-byte group control address in the control command, and adds a corresponding group control processing mechanism in the smart home node, the user's flexibility in controlling the smart home system is greatly improved. Optimized user experience.

(2)本发明由于采用在一个分组中可以包含多个智能家居节点,从而实现同时控制多个节点;一个智能家居节点中同时可以保存多个组控地址,因此使一个智能家居节点可以被分到多个分组中,从而使分组控制更具灵活性。(2) The present invention can control multiple nodes at the same time due to the adoption of multiple smart home nodes in a group; multiple group control addresses can be stored in one smart home node, so that one smart home node can be divided into multiple groups, making group control more flexible.

附图说明Description of drawings

图1是本发明的智能家居系统的控制方法的模块框图;Fig. 1 is the modular block diagram of the control method of smart home system of the present invention;

图2是本发明的智能家居系统的控制方法的流程图;Fig. 2 is a flow chart of the control method of the smart home system of the present invention;

图3是本发明的智能控制终端分组控制时操作界面的示意图;Fig. 3 is a schematic diagram of the operation interface during group control of the intelligent control terminal of the present invention;

图4是本发明的智能家居系统中的组控地址的示意图;Fig. 4 is a schematic diagram of the group control address in the smart home system of the present invention;

图5是本发明的智能家居系统的示意图。Fig. 5 is a schematic diagram of the smart home system of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请各权利要求所要求保护的技术方案。In order to make the object, technical solution and advantages of the present invention clearer, various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

结合图1和图2,步骤101至步骤103为组建智能家居系统的过程。智能控制终端(如智能手机,平板电脑)安装有专用的应用程序,用于组建网络,配置网络,控制网络,解散网络等;智能家居节点是支持低功耗蓝牙(BLE)的设备,如:LED,音响。Referring to FIG. 1 and FIG. 2 , step 101 to step 103 are the process of building a smart home system. Intelligent control terminals (such as smart phones, tablet computers) are installed with dedicated applications for building networks, configuring networks, controlling networks, disbanding networks, etc.; smart home nodes are devices that support Bluetooth Low Energy (BLE), such as: LED, sound.

具体地说,在步骤101中,智能控制终端与智能家居节点建立无线连接。例如,双方都支持低功耗蓝牙连接,智能家居节点与一个控制终端(如智能手机)可通过蓝牙低功耗配对的方式,建立无线通信链路。比如说,智能家居节点通过内置的蓝牙模块发射自身的一些标识信息,智能控制设备打开专用的APP,主动扫描处于该智能控制设备的蓝牙覆盖范围内的智能家居节点,智能控制设备通过低功耗蓝牙(BLE)向该智能家居节点发送连接请求,智能家居节点响应该连接请求,使得控制终端和该智能家居节点之间建立无线通信链路。建立无线通信链路的方式并不限于以上所述,这里不再一一赘述。Specifically, in step 101, the smart control terminal establishes a wireless connection with the smart home node. For example, both parties support Bluetooth low energy connection, and a smart home node and a control terminal (such as a smart phone) can establish a wireless communication link through Bluetooth low energy pairing. For example, a smart home node transmits some of its own identification information through a built-in Bluetooth module, and the smart control device opens a dedicated APP to actively scan for smart home nodes within the Bluetooth coverage of the smart control device. Bluetooth (BLE) sends a connection request to the smart home node, and the smart home node responds to the connection request, so that a wireless communication link is established between the control terminal and the smart home node. The manner of establishing the wireless communication link is not limited to the above, and will not be repeated here.

在步骤102中,控制终端与建立连接后的智能家居节点通过数据交互,判断对方是否为已有智能网络中的设备节点。此时有两种情况:In step 102, the control terminal interacts with the connected smart home node through data interaction to determine whether the other party is a device node in an existing smart network. There are two situations at this point:

1.智能家居节点未加入智能家居网络。此时,智能控制终端需要配置该节点入网,配置内容包括:智能控制终端保存设备ID,智能控制终端向设备分配网络秘钥,智能控制终端配置设备状态信息等;1. The smart home node has not joined the smart home network. At this time, the intelligent control terminal needs to configure the node to access the network. The configuration content includes: the intelligent control terminal saves the device ID, the intelligent control terminal distributes the network key to the device, and the intelligent control terminal configures device status information, etc.;

2.智能家居节点已经加入智能家居网络。此时该智能家居节点已属于该网络内的设备,处于正常运转状态。2. The smart home node has joined the smart home network. At this time, the smart home node belongs to the equipment in the network and is in normal operation.

网络配置信息交互完成后,双方可以断开连接,此时智能家居节点进入正常工作状态;智能家居节点和智能控制终端也可以继续保持连接,与智能终端相连接并且已加入网络的设备将直接接收并转发智能控制终端所发出的消息,其它网内设备处于侦听状态。After the network configuration information interaction is completed, the two parties can disconnect, and the smart home node enters the normal working state at this time; the smart home node and the smart control terminal can also continue to be connected, and the devices connected to the smart terminal and that have joined the network will directly receive And forward the message sent by the intelligent control terminal, and other devices in the network are in the listening state.

步骤104为分配组控地址过程,在该步骤中,智能控制终端向所选的智能家居节点分配分组控制地址,简称组控地址。如图3所示,用户要将一个设备设置为第一组的第三个设备,则用户只需要在智能终端页面上选中该设备,然后点击分组按钮,输入0103即可,设备得到的组控地址。组控地址的数据格式如图4.a所示,共2Byte的数据,其中第一字节为组序号,第二字节为节点序号,这两个字节的数据均有用户通过智能控制终端设置。如图4.b,0103,表示该节点属于该智能家居系统中的第1组第3号设备,之后将响应该智能家居系统中针对第一组发出的所有命令,同时还要响应单独针对自己的命令。Step 104 is the process of assigning a group control address. In this step, the intelligent control terminal assigns a group control address to the selected smart home node, referred to as a group control address. As shown in Figure 3, if the user wants to set a device as the third device in the first group, the user only needs to select the device on the smart terminal page, click the group button, and input 0103. address. The data format of the group control address is shown in Figure 4.a, a total of 2Byte data, in which the first byte is the group serial number, and the second byte is the node serial number. set up. As shown in Figure 4.b, 0103 indicates that the node belongs to the first group No. 3 device in the smart home system, and then it will respond to all commands issued by the smart home system for the first group, and at the same time respond to its own The command.

在步骤105中,智能家居节点在建立或加入的智能网络中正常工作,如广播自身信息并接收其他节点发送的信息等。In step 105, the smart home node works normally in the established or joined smart network, such as broadcasting its own information and receiving information sent by other nodes.

步骤106至步骤110为分组控制过程。在步骤106中,智能家居节点判断当前是否处于以下状态:接收到针对本智能家居节点的控制指令;或者,收到需要转发的指令;或者,本智能家居节点的状态发生变化,需通知其他节点。Step 106 to step 110 are grouping control procedures. In step 106, the smart home node judges whether it is currently in the following state: receiving a control command for the smart home node; or receiving an instruction that needs to be forwarded; or, the status of the smart home node changes, and other nodes need to be notified .

具体地说,在同一个智能家居系统中,控制终端(如智能手机或遥控器)可以发送携带有组控地址的控制指令,接收到控制指令的智能家居节点,将本智能家居节点内所保存的组控地址与携带在控制指令内的组控地址进行比对,即判断该控制指令是否为发送给本智能家居节点的控制指令,或者是否是发送给本智能节点所在分组的控制指令。如果比对结果不匹配,则说明该控制指令是发送给其他智能家居节点,即需要转发该控制指令。Specifically, in the same smart home system, a control terminal (such as a smart phone or a remote control) can send a control command with a group control address, and the smart home node that receives the control command will save the data stored in the smart home node. Compared with the group control address carried in the control command, it is judged whether the control command is a control command sent to the smart home node, or whether it is a control command sent to the group where the smart node is located. If the comparison result does not match, it means that the control command is sent to other smart home nodes, that is, the control command needs to be forwarded.

如果比对结果匹配,则分两种情况:一种是该控制指令是单独发送给本智能家居节点的,需要响应该控制指令,即执行该控制指令所指示的操作,在操作完成后,可以根据需要将本智能家居节点的状态变化通知给控制终端;另一种是该控制指令是发送给本智能家居节点所在分组的控制指令,此种情况下,该智能家居节点除了要响应该控制指令外,还要转发该控制指令,用以告知本组内其他的智能家居节点。If the comparison result matches, there are two cases: one is that the control command is sent to the smart home node alone, and it needs to respond to the control command, that is, perform the operation indicated by the control command. After the operation is completed, you can Notify the control terminal of the state change of the smart home node as required; the other is that the control command is a control command sent to the group where the smart home node is located. In this case, the smart home node has to respond to the control command In addition, the control command must be forwarded to inform other smart home nodes in the group.

因此,本实施方式中的接收到控制指令的智能家居节点可能会处于以下三种情况:Therefore, the smart home node receiving the control instruction in this embodiment may be in the following three situations:

(1)接收到控制指令,但是该控制指令所携带的组控指令与本智能家居节点内保存的组控指令不匹配,智能家居节点要转发该指令;(1) A control command is received, but the group control command carried by the control command does not match the group control command stored in the smart home node, and the smart home node must forward the command;

(2)接收到单独针对本智能家居节点的控制指令,该控制指令可能是控制终端发送的,也可能是其他智能家居节点转发的,智能家居节点要响应该指令;(2) Receive a control command for this smart home node alone. The control command may be sent by the control terminal or forwarded by other smart home nodes, and the smart home node must respond to the command;

(3)接收到针对本智能家居节点所在分组的控制指令,智能家居节点要响应该指令,并且转发该指令。(3) After receiving a control command for the group where the smart home node belongs, the smart home node should respond to the command and forward the command.

当智能家居节点判断当前处于上述三种情况之一时,做出相应的处理,接着回到步骤105,继续广播自身信息并接收其他节点信息。When the smart home node judges that it is currently in one of the above three situations, it makes corresponding processing, and then returns to step 105, and continues to broadcast its own information and receive other node information.

步骤109和110中所述的响应指令包括执行命令和返回状态信息。例如,智能家居节点执行指令后,判定本智能家居节点的状态发生了变化(比如,空调为开启状态、BLE照明装置当前发光颜色为黄色等等),则将其变化信息回传给智能控制终端,控制终端在收到其他节点发来的状态变化信息后,呈现给用户。The response instructions described in steps 109 and 110 include executing commands and returning status information. For example, after the smart home node executes the command, it determines that the state of the smart home node has changed (for example, the air conditioner is turned on, the current light color of the BLE lighting device is yellow, etc.), and the change information is sent back to the smart control terminal , the control terminal presents it to the user after receiving the state change information sent by other nodes.

综上所述,在分组控制过程中,通过智能家居节点对控制指令的转发,可保证任意一个智能家居节点(无论该设备是否处于控制终端的信号覆盖范围内),都能接收到同一智能家居系统中的控制终中的控制指令。To sum up, in the process of group control, through the forwarding of control commands by smart home nodes, it can be guaranteed that any smart home node (regardless of whether the device is within the signal coverage of the control terminal) can receive the same smart home node. Control instructions in the control terminal in the system.

在上述步骤完成后,结束本次控制。After the above steps are completed, this control ends.

上述步骤中,任意一个智能家居节点在接收到控制指令都会做相同的判断和处理,这种机制增加了智能家居网络的鲁棒性。In the above steps, any smart home node will make the same judgment and process when it receives the control command. This mechanism increases the robustness of the smart home network.

上述流程介绍了智能家居设备如何建立(或加入)一个智能网络系统,以及在该系统中,智能控制终端如何同时控制一组智能家居节点的方法。下面对智能终端为智能手机的情况进行说明。The above process describes how a smart home device establishes (or joins) an intelligent network system, and in this system, how an intelligent control terminal simultaneously controls a group of smart home nodes. The following describes the case where the smart terminal is a smart phone.

智能家居系统的示例图如图5所示,所述系统包括智能控制终端(智能手机)、8个智能家居节点。其中第一、第二和第三智能家居节点为第一组的1号、2号和3号设备成员,组控地址分别为0101,0102,0103;第四、第五和第六智能家居节点为第二组的1号、2号和3号设备成员,组控地址分别为0201,0202,0203;第七和第八智能家居节点为第三组的1号和2号成员,组控地址分别为0301,0302。An example diagram of a smart home system is shown in Figure 5, the system includes a smart control terminal (smart phone) and 8 smart home nodes. Among them, the first, second and third smart home nodes are device members No. 1, No. 2 and No. 3 of the first group, and the group control addresses are 0101, 0102, 0103 respectively; the fourth, fifth and sixth smart home nodes They are members of device No. 1, No. 2 and No. 3 of the second group, and the group control addresses are 0201, 0202, and 0203 respectively; the seventh and eighth smart home nodes are members No. 1 and No. 2 of the third group, and the group control addresses are 0301, 0302 respectively.

上述分组情况均在图1的步骤104中完成,具体情况不再赘述。The above grouping situations are all completed in step 104 in FIG. 1 , and the details will not be repeated here.

该智能家居系统中,所有的智能家居节点均直接或间接(通过其他设备的转发)与智能手机进行通信。In the smart home system, all smart home nodes communicate with the smart phone directly or indirectly (through the forwarding of other devices).

当用户要开启第四智能家居节点0301时,则通过智能手机发送携带组控地址为0301的控制指令,节点0301通过上述判断机制得知该指令是发给自己的控制指令,于是做出相应。从而实现了对智能家居节点的单独控制。When the user wants to turn on the fourth smart home node 0301, the smart phone sends a control command with the group control address 0301, and the node 0301 knows that the command is a control command sent to itself through the above judgment mechanism, so it responds accordingly. In this way, individual control of smart home nodes is realized.

当用户要开启第四智能家居节点0202时(不在智能手机的蓝牙通信范围内),则智能手机发送携带组控地址为0202的控制指令,其他节点收到该指并进行上述判断得知需要转发该指令,直到节点0202接收到该控制指令并响应为止。从而实现了对不在智能手机通信范围内的智能家居节点的单独控制。When the user wants to turn on the fourth smart home node 0202 (not within the Bluetooth communication range of the smart phone), the smart phone sends a control command with a group control address of 0202, and other nodes receive the command and make the above judgment to know that it needs to forward This instruction, until the node 0202 receives the control instruction and responds. This enables individual control of smart home nodes that are not within the communication range of smartphones.

当用户要开启第二组的所有智能家居节点时,则智能手机发送携带组控地址为0200的控制指令,非第二组的智能家居节点收到该指令后转发指令,第二组的智能家居节点除了转发该指令外还要响应该指令。从而实现了对智能家居节点的全组控制。When the user wants to turn on all the smart home nodes of the second group, the smart phone sends a control command with a group control address of 0200, and the smart home nodes not in the second group forward the command after receiving the command, and the smart home nodes of the second group In addition to forwarding the command, the node also responds to the command. In this way, the whole group control of smart home nodes is realized.

需要说明的是,在本实施方式中,控制终端不仅可以智能手机,还可以是其它支持低功耗蓝牙的智能设备,如:IPad,智能遥控器等。只需在智能设备上安装相应的APP即可。It should be noted that, in this embodiment, the control terminal can be not only a smart phone, but also other smart devices supporting Bluetooth low power consumption, such as IPad, smart remote controller, and the like. Just install the corresponding APP on the smart device.

同时需要说明的是,一个智能家居节点可以保存一个或多个组控地址,例如,第二智能家居节点可以有两个组控地址,分别为:0102和0204,这样,当第二智能家居节点收到针对第二组设备的全组控制指令时,也会响应该指令。At the same time, it should be noted that one smart home node can store one or more group control addresses. For example, the second smart home node can have two group control addresses, which are: 0102 and 0204. In this way, when the second smart home node When a group-wide control command is received for the second group of devices, it will also respond to that command.

本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present invention. scope.

Claims (9)

1. a kind of packet control process of intelligent domestic system, it is characterised in that comprise the steps of:
(1) intelligentized Furniture system is set up, smart home node is networked by broadcasting application, and intelligent terminal is obtained by active scan Smart home node in list is added and networked by smart home node listing, intelligent terminal;
(2) distribution group control address, for control of intelligent terminal to smart home node distribution group control address, smart home node preserves should Group control address;
(3) packet control, intelligent terminal send the control command of carrying group control address, and smart home node receives the order, and Judge whether to respond and whether forward the order.
2. the packet control process of intelligent domestic system according to claim 1, it is characterised in that described smart home System includes N number of smart home node, N >=1;Each smart home node is the equipment for supporting low-power consumption bluetooth (BLE); Intelligent terminal is supports BLE Intelligent mobile equipment, such as:Smart mobile phone, tablet personal computer.
3. the packet control process of intelligent domestic system according to claim 1, it is characterised in that described to set up intelligent family Tool system includes two steps:
(3a) smart home node launches some identification informations of itself by built-in bluetooth module, and intelligent control device is actively Smart home node in bluetooth coverage of the scanning in the intelligent control device, obtains node listing, intelligent control is set One of node in alternative, and establish wireless connection with it;
(3b) control of intelligent terminal judges whether other side is existing with establishing the smart home node after connecting by data interaction Equipment in intelligent network, and according to judged result, send corresponding configuration information to the equipment, now there is two kinds of situations:
I. smart home node does not add intelligent home network, and control of intelligent terminal needs to configure node networking, configures content Including:Control of intelligent terminal preserves device id, and control of intelligent terminal is whole to smart home node distribution network key, intelligent control End configuration smart home node status information;
Ii. smart home node has been added to intelligent home network, and now the smart home node is already belonging to setting in the network It is standby, in normal operation.
4. the packet control process of intelligent domestic system according to claim 1, it is characterised in that the distribution group control address Comprise the following steps that:
(4a) described control of intelligent terminal carries out active scan, obtains the network access node list in its communication range;
(4b) described control of intelligent terminal opens network access node list, and chooses n equipment, n >=1, is classified as one group;
(4c) is successively to the equipment transmission group control address chosen.
5. the packet control process of intelligent domestic system according to claim 1, it is characterised in that the tool of the packet control Body step is as follows:
(5a) described control of intelligent terminal sends control instruction to the smart home node that wireless connection is established with it, and the control refers to Order controls address with corresponding group;
The group control address that the smart home node that (5b) receives the control instruction carries to the control instruction and this smart home Node preservation group control address is judged that its judged result is:
C21. group control address mismatches with local address, then forwards the control instruction;
C22. group control address matches with local address, and is single control, then intelligent terminal will respond the control instruction;
C23. group control address matches with local address, and is full group control, then intelligent terminal will respond the control instruction, and turn Send out the control instruction.
6. the packet control process of intelligent domestic system according to claim 4, it is characterised in that the intelligent control is whole The group control address that smart home node is distributed at end includes following two parts:
The group sequence number of one byte-sized, for distinguishing different packets, such as:1st group, the 2nd group;
The node ID of one byte-sized, for distinguishing node different in group, such as:1st group of first node, the 1st group of Section 2 Point.
7. the packet control process of intelligent domestic system according to claim 1, it is characterised in that described smart home A packet in system can include multiple nodes, so as to realize while control multiple nodes.
8. the packet control process of intelligent domestic system according to claim 1, it is characterised in that the smart home section Point can preserve multiple groups of control addresses, i.e. a smart home node can be assigned in multiple packets.
9. the packet control process of intelligent domestic system according to claim 1, it is characterised in that the intelligent control is whole End can be grouped to the smart home node in the intelligent domestic system at any time after equipment networking.
CN201710739759.5A 2017-08-25 2017-08-25 The packet control process of intelligent domestic system Pending CN107566229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710739759.5A CN107566229A (en) 2017-08-25 2017-08-25 The packet control process of intelligent domestic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710739759.5A CN107566229A (en) 2017-08-25 2017-08-25 The packet control process of intelligent domestic system

Publications (1)

Publication Number Publication Date
CN107566229A true CN107566229A (en) 2018-01-09

Family

ID=60977142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710739759.5A Pending CN107566229A (en) 2017-08-25 2017-08-25 The packet control process of intelligent domestic system

Country Status (1)

Country Link
CN (1) CN107566229A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN108781174A (en) * 2018-05-31 2018-11-09 深圳市蚂蚁雄兵物联技术有限公司 Device connection method, device, electronic device and readable storage medium
CN108810866A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connect the method, apparatus and storage medium of smart machine
CN108924023A (en) * 2018-08-31 2018-11-30 南昌与德通讯技术有限公司 Bluetooth control method, Bluetooth lamp and computer readable storage medium
CN108965079A (en) * 2018-08-20 2018-12-07 浙江赛格电子工程有限公司 A kind of intelligent home furnishing control method and system
CN109471368A (en) * 2018-10-09 2019-03-15 北京金茂绿建科技有限公司 A kind of method and apparatus applied in smart home
CN109618406A (en) * 2019-03-01 2019-04-12 展讯通信(上海)有限公司 Wireless connection method, equipment group, system and storage medium
CN110191450A (en) * 2019-04-02 2019-08-30 华为技术有限公司 Business connection establishment method, bluetooth master, chip and Bluetooth system
CN110392349A (en) * 2018-04-23 2019-10-29 九阳股份有限公司 A kind of smart machine group technology and mobile terminal
CN110461073A (en) * 2019-07-16 2019-11-15 亿电智能照明科技(广东省)有限公司 A kind of wireless lighting system and its control method
WO2019227379A1 (en) * 2018-05-31 2019-12-05 深圳市蚂蚁雄兵物联技术有限公司 Network connection method and apparatus, and readable storage medium
CN110933170A (en) * 2019-11-29 2020-03-27 广东科徕尼智能科技有限公司 Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111176130A (en) * 2020-01-07 2020-05-19 华为技术有限公司 Equipment control method, equipment control method and equipment control system
CN112055341A (en) * 2019-06-06 2020-12-08 海信视像科技股份有限公司 Networking method, device and equipment of low-power-consumption Bluetooth Mesh network
WO2021032076A1 (en) * 2019-08-22 2021-02-25 京东方科技集团股份有限公司 Electronic device, control terminal, non-transitory computer-readable storage medium and device connection method
CN110120220B (en) * 2019-05-29 2021-07-02 飞天诚信科技股份有限公司 Working method and system of a cloud speaker
CN115278624A (en) * 2022-07-21 2022-11-01 Oppo广东移动通信有限公司 Information updating method and device, audio sharing method and system and electronic equipment
CN115376229A (en) * 2022-08-26 2022-11-22 广东好太太智能家居有限公司 Intelligent lock binding method and device, storage medium and computer equipment
CN116382106A (en) * 2023-03-01 2023-07-04 青岛海尔科技有限公司 A control method, system, storage medium and device for smart home equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150072653A1 (en) * 2013-09-11 2015-03-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus and system for network access
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN105093942A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and group control method based on the intelligent household system
CN106487622A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Equipment control sharing method and device
CN106683674A (en) * 2017-01-16 2017-05-17 西安电子科技大学 System and method for controlling intelligent home by aid of voice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150072653A1 (en) * 2013-09-11 2015-03-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus and system for network access
CN105093942A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and group control method based on the intelligent household system
CN104898449A (en) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 Smart home system and control method thereof
CN106487622A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Equipment control sharing method and device
CN106683674A (en) * 2017-01-16 2017-05-17 西安电子科技大学 System and method for controlling intelligent home by aid of voice

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN110392349A (en) * 2018-04-23 2019-10-29 九阳股份有限公司 A kind of smart machine group technology and mobile terminal
CN108810866A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Connect the method, apparatus and storage medium of smart machine
CN108781174A (en) * 2018-05-31 2018-11-09 深圳市蚂蚁雄兵物联技术有限公司 Device connection method, device, electronic device and readable storage medium
CN108781174B (en) * 2018-05-31 2021-09-17 深圳市蚂蚁雄兵物联技术有限公司 Device connection method and device, electronic device and readable storage medium
CN110892737A (en) * 2018-05-31 2020-03-17 深圳市蚂蚁雄兵物联技术有限公司 Network connection method, device and readable storage medium
WO2019227371A1 (en) * 2018-05-31 2019-12-05 深圳市蚂蚁雄兵物联技术有限公司 Device connection method and apparatus, electronic device, and readable storage medium
WO2019227379A1 (en) * 2018-05-31 2019-12-05 深圳市蚂蚁雄兵物联技术有限公司 Network connection method and apparatus, and readable storage medium
CN108965079A (en) * 2018-08-20 2018-12-07 浙江赛格电子工程有限公司 A kind of intelligent home furnishing control method and system
CN108924023A (en) * 2018-08-31 2018-11-30 南昌与德通讯技术有限公司 Bluetooth control method, Bluetooth lamp and computer readable storage medium
CN109471368A (en) * 2018-10-09 2019-03-15 北京金茂绿建科技有限公司 A kind of method and apparatus applied in smart home
CN109618406B (en) * 2019-03-01 2019-07-05 展讯通信(上海)有限公司 Wireless connection method, equipment group, system
CN109618406A (en) * 2019-03-01 2019-04-12 展讯通信(上海)有限公司 Wireless connection method, equipment group, system and storage medium
CN110191450A (en) * 2019-04-02 2019-08-30 华为技术有限公司 Business connection establishment method, bluetooth master, chip and Bluetooth system
US12069551B2 (en) 2019-04-02 2024-08-20 Huawei Technologies Co., Ltd. Service connection establishment method, Bluetooth master device, chip, and Bluetooth system
CN110191450B (en) * 2019-04-02 2021-02-26 华为技术有限公司 Service connection establishment method, bluetooth master device, chip and bluetooth system
CN110120220B (en) * 2019-05-29 2021-07-02 飞天诚信科技股份有限公司 Working method and system of a cloud speaker
CN112055341B (en) * 2019-06-06 2023-09-22 海信视像科技股份有限公司 Networking method, device and equipment of low-power-consumption Bluetooth Mesh network
CN112055341A (en) * 2019-06-06 2020-12-08 海信视像科技股份有限公司 Networking method, device and equipment of low-power-consumption Bluetooth Mesh network
CN110461073B (en) * 2019-07-16 2022-04-15 亿电智能照明科技(广东省)有限公司 Wireless lighting system and control method thereof
CN110461073A (en) * 2019-07-16 2019-11-15 亿电智能照明科技(广东省)有限公司 A kind of wireless lighting system and its control method
WO2021032076A1 (en) * 2019-08-22 2021-02-25 京东方科技集团股份有限公司 Electronic device, control terminal, non-transitory computer-readable storage medium and device connection method
US11792629B2 (en) 2019-08-22 2023-10-17 Boe Technology Group Co., Ltd. Electronic device, control terminal, non-transitory computer-readable storage medium and device connection method
CN110933170A (en) * 2019-11-29 2020-03-27 广东科徕尼智能科技有限公司 Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111176130A (en) * 2020-01-07 2020-05-19 华为技术有限公司 Equipment control method, equipment control method and equipment control system
CN115278624A (en) * 2022-07-21 2022-11-01 Oppo广东移动通信有限公司 Information updating method and device, audio sharing method and system and electronic equipment
CN115376229A (en) * 2022-08-26 2022-11-22 广东好太太智能家居有限公司 Intelligent lock binding method and device, storage medium and computer equipment
CN115376229B (en) * 2022-08-26 2023-11-07 广东好太太智能家居有限公司 Intelligent lock binding method and device, storage medium and computer equipment
CN116382106A (en) * 2023-03-01 2023-07-04 青岛海尔科技有限公司 A control method, system, storage medium and device for smart home equipment

Similar Documents

Publication Publication Date Title
CN107566229A (en) The packet control process of intelligent domestic system
US11324074B2 (en) Mesh network system comprising a plurality of interconnected individual mesh networks
CN104898449B (en) Smart home system and its control method
US9736760B2 (en) Commissioning a network system
JP5702774B2 (en) Advanced commissioning of wireless network systems
US20130235774A1 (en) Energy-saving mobile node control method using wireless multi-interfaces
CN102487517B (en) Wireless networking method and system based on 2.4G RFID (radio frequency identification) wireless communication device
US20160037615A1 (en) Wireless Light Pairing, Dimming and Control
EP3288296B1 (en) Method and system for building steady piconet based on bluetooth
CN105515853A (en) Wireless network node and state update method thereof
CN105471686A (en) Terminal control method, terminal control apparatus and system
CN105022276A (en) Smart home system and data interaction method thereof
CN103512159A (en) Air conditioner and air conditioner control system
CN108199931A (en) A kind of household electric appliance control method and system
CN106993340A (en) A multi-level gateway wireless ad hoc network, networking method and communication method thereof
CN108781174A (en) Device connection method, device, electronic device and readable storage medium
US11540107B2 (en) Commissioning method and apparatus with controlled joining mode
CN114859746A (en) Intelligent device control system, method, device, device, medium and program
CN202630316U (en) Air conditioner and air conditioner control system
CN106990717A (en) A kind of radio multiplex MANET, network-building method and its communication means
CN110824946A (en) Intelligent equipment control system and method based on WiFi ad hoc network
EP3860082A1 (en) A mesh network system comprising a plurality of interconnected individual mesh networks
CN112769658B (en) Terminal control system, method, device, gateway device and storage medium
JP2003511971A (en) Low power wireless network
CN111246400B (en) Signal quality detection method, device, storage medium, electronic device and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication