[go: up one dir, main page]

CN106297228A - The control method of ZigBee-network and control system - Google Patents

The control method of ZigBee-network and control system Download PDF

Info

Publication number
CN106297228A
CN106297228A CN201510317088.4A CN201510317088A CN106297228A CN 106297228 A CN106297228 A CN 106297228A CN 201510317088 A CN201510317088 A CN 201510317088A CN 106297228 A CN106297228 A CN 106297228A
Authority
CN
China
Prior art keywords
zigbee
network
gateway
devices
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510317088.4A
Other languages
Chinese (zh)
Other versions
CN106297228B (en
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.)
Midea Intelligent Lighting and Controls Technology Co Ltd
Original Assignee
Midea Group Co Ltd
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 Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201510317088.4A priority Critical patent/CN106297228B/en
Publication of CN106297228A publication Critical patent/CN106297228A/en
Application granted granted Critical
Publication of CN106297228B publication Critical patent/CN106297228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses control method and the system of a kind of ZigBee-network, wherein method includes: arrange the subnetting configuration information for multiple equipment in the terminal according to subnetting demand, wherein, mobile terminal has the first bluetooth module, and multiple equipment have ZigBee module and the second bluetooth module;By the first bluetooth module, subnetting configuration information is sent the multiple gateways to multiple ZigBee-networks and multiple equipment;Multiple gateways build multiple ZigBee-networks according to subnetting configuration information;Multiple equipment generate ZigBee mesh information according to subnetting configuration information, and add corresponding ZigBee-network according to ZigBee mesh information by ZigBee module;According to subnetting configuration information, the corresponding gateway in ZigBee-network judges that the equipment under gateway is the most legal;The most then gateway confirms the control authority for equipment, and provides network communication services and control to equipment.

Description

Control method and control system of ZigBee network
Technical Field
The invention relates to the technical field of communication of the Internet of things, in particular to a control method and a control system of a ZigBee (an IEEE802.15.4 standard-based low-power consumption local area network protocol) network.
Background
At present, in a business system such as a smart home system or a smart hotel based on a ZigBee network, because of a large number of ZigBee nodes and a large number of ZigBee gateway devices, an inevitable problem is how to perform network division management on each ZigBee network (for example, dividing into different WPAN networks (Wireless Personal Area communication Technologies)) and how to easily implement pairing control (for example, binding control, etc.) between node devices.
In the related art, generally, the operations may be performed by a centralized external control software (e.g., a PC (Personal Computer) background monitoring system) to implement functions such as network distribution management of the ZigBee network and pairing control between node devices. However, the above operation method is often complicated and inefficient, so that the user experience is deteriorated.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
To this end, a first object of the present invention is to provide a control method of a ZigBee network. The method can realize the identification of the product network information and the identification of the area position information by adopting Bluetooth for auxiliary communication, simplifies the operation steps, greatly shortens the network access time of the equipment, thereby efficiently finishing the functions of networking, pairing, binding and the like, and simplifying the installation and maintenance cost of the equipment.
The second purpose of the invention is to provide a control system of a ZigBee network.
In order to achieve the above object, a method for controlling a ZigBee network according to an embodiment of the first aspect of the present invention includes: setting network distribution configuration information aiming at a plurality of devices in a mobile terminal according to network distribution requirements, wherein the mobile terminal is provided with a first Bluetooth module, and the devices are provided with a ZigBee module and a second Bluetooth module; the network division configuration information is sent to a plurality of gateways and a plurality of devices in a plurality of ZigBee networks through the first Bluetooth module; the gateways construct a plurality of ZigBee networks according to the network division configuration information; the equipment generates ZigBee networking information according to the network division configuration information, and joins a corresponding ZigBee network through the ZigBee module according to the ZigBee networking information; the gateway in the corresponding ZigBee network judges whether the equipment under the gateway is legal or not according to the network distribution configuration information; and if the equipment under the gateway is judged to be legal, the gateway confirms the control authority aiming at the equipment and provides network communication service and control for the equipment.
According to the control method of the ZigBee network, the network division configuration information aiming at a plurality of devices is set in the mobile terminal according to the network division requirement, wherein the mobile terminal is provided with a first Bluetooth module, the devices are provided with a ZigBee module and a second Bluetooth module, the network division configuration information is sent to a plurality of gateways and devices in a plurality of ZigBee networks through the first Bluetooth module, the gateways construct a plurality of ZigBee networks according to the network division configuration information, the devices generate ZigBee networking information according to the network division configuration information, the ZigBee networking information is added into the corresponding ZigBee network through the ZigBee module according to the ZigBee networking information, the gateway in the corresponding ZigBee network judges whether the devices under the gateway are legal or not according to the network division configuration information, if so, the gateway confirms the control authority aiming at the devices and provides network communication service and control for the devices, namely, the identification of product network information and the identification of area position information can be realized through auxiliary communication by adopting Bluetooth, the method simplifies the operation steps, greatly shortens the network access time of the equipment, efficiently completes the functions of networking, pairing, binding and the like, and simplifies the installation and maintenance cost of the equipment.
According to an embodiment of the present invention, while setting the network distribution configuration information for a plurality of devices in the mobile terminal according to the network distribution requirements, the method further includes: setting information for the plurality of devices in the mobile terminal according to a pairing requirement or a grouping requirement; sending the setting information to the plurality of devices through the first Bluetooth module; after the plurality of devices complete networking communication, the plurality of devices respectively send the setting information to corresponding gateways; and the corresponding gateway generates a pairing table or a grouping control logic according to the setting information, and performs pairing or grouping control on corresponding equipment according to the pairing table or the grouping control logic.
According to an embodiment of the present invention, the determining, by the gateway in the corresponding ZigBee network according to the subnet configuration information, whether the device under the gateway is legal specifically includes: the gateway judges whether the networking configuration information is matched with the ZigBee networking information in the equipment under the gateway; and if the equipment is matched with the gateway, the gateway judges that the equipment under the gateway is legal.
According to an embodiment of the invention, the method further comprises: and if the equipment under the gateway is judged to be illegal, the gateway sends a leaving notification message to the equipment so that the equipment is disconnected from the gateway when receiving the leaving notification message.
According to one embodiment of the invention, the group control logic includes single control, group control and scenario.
According to an embodiment of the present invention, when the group control logic is the group control or the scene, the method further comprises: and the corresponding gateway generates the ID of the group control or the ID of the scene according to the setting information, and performs pairing or grouping control on corresponding equipment according to the ID of the group control or the ID of the scene, the pairing table or the grouping control logic.
According to an embodiment of the present invention, after the corresponding gateway generates a pairing table or a packet control logic according to the setting information, the method further includes: and the corresponding gateway transmits the grouping control logic to corresponding equipment for storage.
According to one embodiment of the invention, the device includes a light bulb and a wireless switch.
In order to achieve the above object, a control system of a ZigBee network according to an embodiment of the second aspect of the present invention includes: the ZigBee network comprises a mobile terminal, a plurality of devices and a plurality of ZigBee networks, wherein the mobile terminal is used for receiving network division configuration information which is set in the mobile terminal by a user according to network division requirements and aims at the devices, the mobile terminal is provided with a first Bluetooth module and sends the network division configuration information to the gateways and the devices in the ZigBee networks through the first Bluetooth module, and the devices are provided with a ZigBee module and a second Bluetooth module; the gateways are used for constructing a plurality of ZigBee networks according to the network division configuration information; the equipment is used for generating ZigBee networking information according to the network division configuration information and adding the ZigBee networking information into a corresponding ZigBee network through the ZigBee module; and the gateway in the corresponding ZigBee network judges whether the equipment under the gateway is legal or not according to the sub-network configuration information, confirms the control authority aiming at the equipment when judging that the equipment under the gateway is legal, and provides network communication service and control for the equipment.
According to the control system of the ZigBee network, the mobile terminal can receive the network division configuration information aiming at a plurality of devices, which is set in the mobile terminal by a user according to the network division requirement, and the network division configuration information is sent to a plurality of gateways and a plurality of devices in a plurality of ZigBee networks through the first Bluetooth module, the plurality of gateways construct a plurality of ZigBee networks according to the network division configuration information, the plurality of devices generate the ZigBee networking information according to the network division configuration information, and are added into the corresponding ZigBee networks through the ZigBee modules according to the ZigBee networking information, the gateways in the corresponding ZigBee networks judge whether the devices under the gateways are legal according to the network division configuration information, and when the devices under the gateways are judged to be legal, the control authority aiming at the devices is confirmed, and network communication service and control are provided for the devices, namely, the identification of product network information and the identification of regional position information can be realized by adopting Bluetooth for auxiliary communication, the method simplifies the operation steps, greatly shortens the network access time of the equipment, efficiently completes the functions of networking, pairing, binding and the like, and simplifies the installation and maintenance cost of the equipment.
According to an embodiment of the present invention, the mobile terminal is further configured to receive setting information for the plurality of devices, which is set in the mobile terminal by a user according to a pairing requirement or a grouping requirement, and send the setting information to the plurality of devices through the first bluetooth module; the plurality of devices are further used for sending the setting information to the corresponding gateways respectively after the plurality of devices complete networking communication; and the corresponding gateway is used for generating a matching table or a grouping control logic according to the setting information and carrying out matching or grouping control on corresponding equipment according to the matching table or the grouping control logic.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which,
fig. 1 is a flowchart of a control method of a ZigBee network according to one embodiment of the present invention;
FIG. 2 is a hardware block diagram of an apparatus according to one embodiment of the invention;
fig. 3 is a flowchart of a control method of a ZigBee network according to another embodiment of the present invention; and
fig. 4 is a schematic structural diagram of a control system of a ZigBee network according to one embodiment of the present invention.
Reference numerals:
the mobile terminal 10, a plurality of devices 20, a plurality of ZigBee networks 30, a first bluetooth module 11, a ZigBee module 21, a second bluetooth module 22, a bluetooth module 311, and a plurality of gateways 31.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A control method and a control system of a ZigBee network according to an embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a control method of a ZigBee network according to one embodiment of the present invention. As shown in fig. 1, the control method of the ZigBee network may include:
s101, network distribution configuration information aiming at a plurality of devices is set in the mobile terminal according to network distribution requirements, wherein the mobile terminal is provided with a first Bluetooth module, and the devices are provided with a ZigBee module and a second Bluetooth module.
Further, in embodiments of the present invention, the above-mentioned devices may include, but are not limited to, light bulbs, wireless switches, and the like. It should be noted that the ZigBee module and the second bluetooth module in the device may be integrated into two single chips, respectively, that is, the device may have a ZigBee chip and a second bluetooth chip; in addition, the device may further integrate the ZigBee module and the second bluetooth module into one chip, as shown in fig. 2, which is a hardware block diagram of the device according to the embodiment of the present invention, that is, it is shown that the ZigBee module and the second bluetooth module are integrated together to form a minimum system in the device. It can be understood that the ZigBee module and the second Bluetooth module are integrated into one chip, so that the cost is reduced.
Specifically, a user may set the network splitting configuration information for multiple devices in a mobile terminal (e.g., a mobile APP in the mobile terminal) according to network splitting requirements. In the embodiment of the present invention, the network splitting configuration information may include, for example, information such as an ID (IDentity, identification number) and a name of the ZigBee network to which the device is to join.
S102, the network distribution configuration information is sent to a plurality of gateways and a plurality of devices in a plurality of ZigBee networks through the first Bluetooth module.
Specifically, the mobile terminal can send the network division configuration information to the device through the first bluetooth module of the mobile terminal and the second bluetooth module of the device, and send the network division configuration information to the gateway in the ZigBee network through the first bluetooth module of the mobile terminal and the bluetooth module in the gateway, so that the gateway and the device perform a network division process according to the corresponding network division configuration information. It should be noted that, while the mobile terminal sends the network splitting configuration information to the device and the gateway, the mobile terminal may also store the network splitting configuration information in time, and if necessary, may also import the network splitting configuration information into the background management system for backup use.
S103, the plurality of gateways construct a plurality of ZigBee networks according to the network division configuration information.
Specifically, the gateway may construct a corresponding ZigBee network according to information such as the ZigBee network ID, name, and the like in the subnet configuration information. It is to be understood that the gateway in the embodiment of the present invention is a network coordinator gateway.
And S104, the plurality of devices generate ZigBee networking information according to the network division configuration information, and join the corresponding ZigBee network through the ZigBee module according to the ZigBee networking information.
Specifically, the device can generate ZigBee networking information according to information such as the ZigBee network ID and name in the networking configuration information, and add itself to the corresponding ZigBee network according to the ZigBee networking information.
And S105, judging whether the equipment under the gateway is legal or not by the corresponding gateway in the ZigBee network according to the network distribution configuration information.
Specifically, in the embodiment of the present invention, the gateway may determine whether the device under the gateway is legal by: the gateway can judge whether the sub-network configuration information is matched with ZigBee networking information in equipment under the gateway; if the device is matched with the gateway, the gateway judges that the device under the gateway is legal. That is to say, the gateway can judge whether the network distribution configuration information stored by the gateway is matched with the ZigBee networking information in the equipment under the gateway, and if the network distribution configuration information is matched with the ZigBee networking information, the equipment is judged to be legal, and then legal communication can be allowed.
S106, if the device under the gateway is judged to be legal, the gateway confirms the control authority aiming at the device and provides network communication service and control for the device.
Specifically, when the device under the gateway is judged to be legal, the gateway can confirm that the device has corresponding control authority, and can provide network communication service for the device and perform operations such as network management control and the like.
Optionally, in an embodiment of the present invention, the control method may further include: and if the equipment under the gateway is judged to be illegal, the gateway sends a leaving notification message to the equipment so that the equipment is disconnected from the gateway when receiving the leaving notification message.
It can be seen that the above steps are based on an implementation manner of ZigBee network networking control performed on devices in a multi-ZigBee gateway environment, and the control method of the ZigBee network according to the embodiment of the present invention can also implement a function of pairing or group control performed on the devices. Specifically, in an embodiment of the present invention, as shown in fig. 3, while setting the network distribution configuration information for a plurality of devices in the mobile terminal according to the network distribution requirement, the control method further includes:
s301, setting information aiming at a plurality of devices in the mobile terminal according to the pairing requirement or the grouping requirement.
Specifically, the user may set the setting information for the device in a mobile terminal (e.g., a mobile APP in the mobile terminal) according to the pairing requirement or the grouping requirement. In the embodiment of the present invention, the setting information may include, for example, information such as an ID with which node device the device is to be paired, or an ID of which group the device is to join.
S302, the setting information is sent to a plurality of devices through the first Bluetooth module.
Specifically, the mobile terminal may transmit the setting information to the device through its own first bluetooth module and a second bluetooth module of the device.
And S303, after the plurality of devices complete networking communication, the plurality of devices respectively send the setting information to the corresponding gateways.
S304, the corresponding gateway generates a matching table or a grouping control logic according to the setting information, and performs matching or grouping control on the corresponding equipment according to the matching table or the grouping control logic.
For example, assuming that the setting information of the device 1 may include that the device 1 is to be paired with the device 3, and the setting information of the device 2 may include that the device 2 is to join the group 3, the gateway may generate a pairing table according to the setting information of the device 1, the pairing table may have a pairing relationship between the device 1 and the device 3, and the gateway may also generate a group control logic according to the setting information of the device 2, and the group 3 in the group control logic may have an ID of the device 2, for example. The gateway may then pair or group control the respective devices according to the pairing table or group control logic. In the embodiment of the present invention, the pairing relationship may be one-to-one, or one-to-many, and other various combinations (such as single control, group control, and scene).
Further, in embodiments of the present invention, the group control logic may include, but is not limited to, single control, group control, and scenario, among others. In an embodiment of the present invention, when the group control logic is a group control or a scene, the control method further includes: and the corresponding gateway generates the ID of the group control or the ID of the scene according to the setting information, and performs pairing or grouping control on corresponding equipment according to the ID of the group control or the ID of the scene, a pairing table or grouping control logic.
More specifically, when the packet control logic for setting an information schedule sent by bluetooth communication is a group control or a scene, the gateway may form a group control ID or a scene ID for storage management, and may issue the group control ID or the scene ID to a corresponding device for storage, and may perform pairing or packet control on the corresponding device according to the group control ID or the scene ID, a pairing table, or the packet control logic, so that efficient coordination may be implemented by determining the group control ID or the scene ID during communication, and network delay is avoided.
Optionally, in an embodiment of the present invention, after the corresponding gateway generates the pairing table or the packet control logic according to the setting information, the control method further includes: and the corresponding gateway transmits the grouping control logic to the corresponding equipment for storage. Specifically, after the corresponding gateway generates the pairing table or the group control logic according to the setting information, the gateway may also issue various group control logics formed by the setting information to the corresponding device for storage, and the gateway also stores the group control logic. Therefore, the control relationship can be conveniently recovered when the equipment or the gateway is powered off.
Optionally, in an embodiment of the present invention, when a node device of a ZigBee network (such as a room or a home) changes or needs to modify a pairing relationship, bluetooth pairing and configuration may be performed again at any time, so that a control relationship of other pairing nodes may not be affected, and other ZigBee networks may not be affected.
According to the control method of the ZigBee network, the network division configuration information aiming at a plurality of devices is set in the mobile terminal according to the network division requirement, wherein the mobile terminal is provided with a first Bluetooth module, the devices are provided with a ZigBee module and a second Bluetooth module, the network division configuration information is sent to a plurality of gateways and devices in a plurality of ZigBee networks through the first Bluetooth module, the gateways construct a plurality of ZigBee networks according to the network division configuration information, the devices generate ZigBee networking information according to the network division configuration information, the ZigBee networking information is added into the corresponding ZigBee network through the ZigBee module according to the ZigBee networking information, the gateway in the corresponding ZigBee network judges whether the devices under the gateway are legal or not according to the network division configuration information, if so, the gateway confirms the control authority aiming at the devices and provides network communication service and control for the devices, namely, the identification of product network information and the identification of area position information can be realized through auxiliary communication by adopting Bluetooth, the method simplifies the operation steps, greatly shortens the network access time of the equipment, efficiently completes the functions of networking, pairing, binding and the like, and simplifies the installation and maintenance cost of the equipment.
In order to realize the embodiment, the invention further provides a control system of the ZigBee network.
Fig. 4 is a schematic structural diagram of a control system of a ZigBee network according to one embodiment of the present invention. As shown in fig. 4, the control system of the ZigBee network may include: a mobile terminal 10, a plurality of devices 20, and a plurality of ZigBee networks 30. In the embodiment of the present invention, the mobile terminal 10 may specifically include the first bluetooth module 11, the plurality of devices 20 may include the ZigBee module 21 and the second bluetooth module 22, and the gateway 31 may also include the bluetooth module 311. Further, the device 20 may include, but is not limited to, a light bulb, a wireless switch, and the like.
It should be noted that the ZigBee module 21 and the second bluetooth module 22 in the device 20 may be respectively integrated in two single chips, that is, the device 20 may have a ZigBee chip and a second bluetooth chip; in addition, the device 20 may further integrate the ZigBee module 21 and the second bluetooth module 22 into one chip, as shown in fig. 2, which is a hardware block diagram of the device according to the embodiment of the present invention, that is, it is shown that the ZigBee module and the second bluetooth module are integrated together to form a minimum system in the device. It can be understood that the ZigBee module and the second Bluetooth module are integrated into one chip, so that the cost is reduced.
Specifically, the mobile terminal 10 may be configured to receive the network splitting configuration information for the plurality of devices 20, which is set in the mobile terminal 10 by the user according to the network splitting requirement, and send the network splitting configuration information to the plurality of gateways 31 and the plurality of devices 20 in the plurality of ZigBee networks 30 through the first bluetooth module 11.
More specifically, the user may set the network splitting configuration information for the plurality of devices 20 in the mobile terminal 10 (e.g., mobile APP in the mobile terminal 10) according to the network splitting requirements. The mobile terminal 10 may send the network division configuration information to the device 20 through the first bluetooth module 11 and the second bluetooth module 22 of the device 20, and may send the network division configuration information to the gateway 31 in the ZigBee network 30 through the first bluetooth module 11 and the bluetooth module 311 in the gateway 31, so that the gateway 31 and the device 20 perform the network division process according to the corresponding network division configuration information. It should be noted that, while the mobile terminal 10 sends the network splitting configuration information to the device 20 and the gateway 31, the mobile terminal 10 may also store the network splitting configuration information in time, and if necessary, may also import the network splitting configuration information into the background management system for backup use. In the embodiment of the present invention, the network splitting configuration information may include, for example, information such as an ID and a name of the ZigBee network 30 to which the device 20 is to join.
The plurality of gateways 31 may be used to construct a plurality of ZigBee networks 30 according to the networking configuration information. More specifically, the gateway 31 may construct a corresponding ZigBee network 30 according to information such as ID, name, etc. of the ZigBee network 30 in the network splitting configuration information. It is understood that the gateway 31 in the embodiment of the present invention is a network coordinator gateway.
The plurality of devices 20 may be configured to generate ZigBee networking information according to the networking configuration information, and join the corresponding ZigBee network 30 through the ZigBee module 21 according to the ZigBee networking information. More specifically, the device 20 may generate ZigBee networking information according to information such as an ID and a name of the ZigBee network 30 in the networking configuration information, and add itself to the corresponding ZigBee network 30 according to the ZigBee networking information.
In the embodiment of the present invention, the gateway 31 in the corresponding ZigBee network 30 determines whether the device 20 under the gateway is legal according to the networking configuration information, and when determining that the device 20 under the gateway 31 is legal, confirms the control authority for the device 20, and provides the network communication service and control for the device 20.
Specifically, in the embodiment of the present invention, the gateway 31 may determine whether the device 20 under the gateway 31 is legal by: the gateway 31 may determine whether the networking configuration information matches the ZigBee networking information in the device 20 under the gateway 31; if so, the gateway 31 determines that the device 20 under the gateway 31 is legitimate. That is to say, the gateway 31 may determine whether the network splitting configuration information stored by itself matches the ZigBee networking information in the device 20 under the gateway 31, and if so, determine that the device 20 is legitimate, that is, may allow legitimate communication. When the device 20 under the gateway 31 is judged to be legal, the gateway 31 may confirm that the device 20 has the corresponding control authority, and may provide the network communication service to the device 20 and perform operations such as network management control.
Optionally, in an embodiment of the present invention, the gateway 31 may be further configured to send a leave notification message to the device 20 when the device 20 under the gateway 31 is determined to be illegal, so that the device 20 disconnects the device from the gateway 31 when receiving the leave notification message.
It can be seen that the above formula is based on an implementation manner of ZigBee network networking control performed on devices in a multi-ZigBee gateway environment, and the control system of the ZigBee network according to the embodiment of the present invention can also implement a function of pairing or group control performed on the devices. Specifically, in one embodiment of the present invention, the mobile terminal 10 may further be configured to receive setting information for the plurality of devices 20, which is set in the mobile terminal 10 by the user according to the pairing requirement or the grouping requirement, and transmit the setting information to the plurality of devices 20 through the first bluetooth module 11. The plurality of devices 20 may be further configured to send the setting information to the corresponding gateways 31, respectively, after the plurality of devices 20 complete networking communication. The corresponding gateway 31 may be configured to generate a pairing table or a group control logic according to the setting information, and perform pairing or group control on the corresponding device 20 according to the pairing table or the group control logic.
In the embodiment of the present invention, the group control logic may include, but is not limited to, single control, group control, scene, and the like. In the embodiment of the present invention, when the group control logic is a group control or a scene, the corresponding gateway 31 may further be configured to generate an ID of the group control or an ID of the scene according to the setting information, and pair or group control the corresponding device 20 according to the ID of the group control or the ID of the scene, the pairing table, or the group control logic.
More specifically, when the packet control logic for setting the information schedule sent by bluetooth communication is a group control or a scene, the gateway 31 may form an ID of the group control or an ID of the scene for storage management, and may issue the ID of the group control or the ID of the scene to the corresponding device 20 for storage, and may pair or perform packet control on the corresponding device 20 according to the ID of the group control or the ID of the scene, the pairing table, or the packet control logic, so that efficient coordination may be implemented by determining the ID of the group control or the ID of the scene in communication, and network delay is avoided.
Optionally, in an embodiment of the present invention, after the corresponding gateway 31 generates the pairing table or the packet control logic according to the setting information, the corresponding gateway 31 may further be configured to issue the packet control logic to the corresponding device 20 for storage. Specifically, after the corresponding gateway 31 generates the pairing table or the packet control logic according to the setting information, the gateway 31 may also issue various packet control logics formed by the setting information to the corresponding device 20 for storage, and at the same time, the gateway 31 also stores the packet control logic. Therefore, the control relationship can be conveniently recovered when the equipment or the gateway is powered off.
Optionally, in an embodiment of the present invention, when a node device of a ZigBee network 30 (such as a room or a home) changes or needs to modify a pairing relationship, bluetooth pairing and configuration may be performed again at any time, so that a control relationship of other pairing nodes may not be affected, and other ZigBee networks may not be affected.
According to the control system of the ZigBee network, the mobile terminal can receive the network division configuration information aiming at a plurality of devices, which is set in the mobile terminal by a user according to the network division requirement, and the network division configuration information is sent to a plurality of gateways and a plurality of devices in a plurality of ZigBee networks through the first Bluetooth module, the plurality of gateways construct a plurality of ZigBee networks according to the network division configuration information, the plurality of devices generate the ZigBee networking information according to the network division configuration information, and are added into the corresponding ZigBee networks through the ZigBee modules according to the ZigBee networking information, the gateways in the corresponding ZigBee networks judge whether the devices under the gateways are legal according to the network division configuration information, and when the devices under the gateways are judged to be legal, the control authority aiming at the devices is confirmed, and network communication service and control are provided for the devices, namely, the identification of product network information and the identification of regional position information can be realized by adopting Bluetooth for auxiliary communication, the method simplifies the operation steps, greatly shortens the network access time of the equipment, efficiently completes the functions of networking, pairing, binding and the like, and simplifies the installation and maintenance cost of the equipment.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A control method of a ZigBee network is characterized by comprising the following steps:
setting network distribution configuration information aiming at a plurality of devices in a mobile terminal according to network distribution requirements, wherein the mobile terminal is provided with a first Bluetooth module, and the devices are provided with a ZigBee module and a second Bluetooth module;
the network division configuration information is sent to a plurality of gateways and a plurality of devices in a plurality of ZigBee networks through the first Bluetooth module;
the gateways construct a plurality of ZigBee networks according to the network division configuration information;
the equipment generates ZigBee networking information according to the network division configuration information, and joins a corresponding ZigBee network through the ZigBee module according to the ZigBee networking information;
the gateway in the corresponding ZigBee network judges whether the equipment under the gateway is legal or not according to the network distribution configuration information; and
and if the equipment under the gateway is judged to be legal, the gateway confirms the control authority aiming at the equipment and provides network communication service and control for the equipment.
2. The control method of a ZigBee network according to claim 1, wherein while the networking configuration information for a plurality of devices is set in the mobile terminal according to the networking requirements, the method further comprises:
setting information for the plurality of devices in the mobile terminal according to a pairing requirement or a grouping requirement;
sending the setting information to the plurality of devices through the first Bluetooth module;
after the plurality of devices complete networking communication, the plurality of devices respectively send the setting information to corresponding gateways;
and the corresponding gateway generates a pairing table or a grouping control logic according to the setting information, and performs pairing or grouping control on corresponding equipment according to the pairing table or the grouping control logic.
3. The method for controlling a ZigBee network according to claim 1, wherein the gateway in the corresponding ZigBee network determines whether the device under the gateway is legitimate according to the subnet configuration information, specifically comprising:
the gateway judges whether the networking configuration information is matched with the ZigBee networking information in the equipment under the gateway;
and if the equipment is matched with the gateway, the gateway judges that the equipment under the gateway is legal.
4. The control method of the ZigBee network of claim 1, further comprising:
and if the equipment under the gateway is judged to be illegal, the gateway sends a leaving notification message to the equipment so that the equipment is disconnected from the gateway when receiving the leaving notification message.
5. The control method of the ZigBee network of claim 2, wherein the group control logic comprises a single control, a group control, and a scenario.
6. The control method of a ZigBee network according to claim 5, wherein when the group control logic is the group control or the scene, the method further comprises:
and the corresponding gateway generates the ID of the group control or the ID of the scene according to the setting information, and performs pairing or grouping control on corresponding equipment according to the ID of the group control or the ID of the scene, the pairing table or the grouping control logic.
7. The control method of a ZigBee network according to claim 2, wherein after the corresponding gateway generates a pairing table or a packet control logic according to the setting information, the method further comprises:
and the corresponding gateway transmits the grouping control logic to corresponding equipment for storage.
8. The control method of a ZigBee network according to any one of claims 1-7, wherein the devices comprise a light bulb and a wireless switch.
9. A control system of a ZigBee network is characterized by comprising: a mobile terminal, a plurality of devices, and a plurality of ZigBee networks, wherein,
the mobile terminal is used for receiving network division configuration information which is set in the mobile terminal by a user according to network division requirements and aims at the multiple devices, wherein the mobile terminal is provided with a first Bluetooth module and sends the network division configuration information to the multiple gateways and the multiple devices in the multiple ZigBee networks through the first Bluetooth module, and the multiple devices are provided with ZigBee modules and second Bluetooth modules;
the gateways are used for constructing a plurality of ZigBee networks according to the network division configuration information;
the equipment is used for generating ZigBee networking information according to the network division configuration information and adding the ZigBee networking information into a corresponding ZigBee network through the ZigBee module; wherein,
and the gateway in the corresponding ZigBee network judges whether the equipment under the gateway is legal or not according to the sub-network configuration information, confirms the control authority aiming at the equipment when judging that the equipment under the gateway is legal, and provides network communication service and control for the equipment.
10. The control system of a ZigBee network according to claim 1,
the mobile terminal is also used for receiving setting information aiming at the plurality of devices, which is set in the mobile terminal by a user according to a pairing requirement or a grouping requirement, and sending the setting information to the plurality of devices through the first Bluetooth module;
the plurality of devices are further used for sending the setting information to the corresponding gateways respectively after the plurality of devices complete networking communication;
and the corresponding gateway is used for generating a matching table or a grouping control logic according to the setting information and carrying out matching or grouping control on corresponding equipment according to the matching table or the grouping control logic.
CN201510317088.4A 2015-06-10 2015-06-10 The control method and control system of ZigBee-network Active CN106297228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510317088.4A CN106297228B (en) 2015-06-10 2015-06-10 The control method and control system of ZigBee-network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510317088.4A CN106297228B (en) 2015-06-10 2015-06-10 The control method and control system of ZigBee-network

Publications (2)

Publication Number Publication Date
CN106297228A true CN106297228A (en) 2017-01-04
CN106297228B CN106297228B (en) 2019-11-29

Family

ID=57660284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510317088.4A Active CN106297228B (en) 2015-06-10 2015-06-10 The control method and control system of ZigBee-network

Country Status (1)

Country Link
CN (1) CN106297228B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465998A (en) * 2017-08-02 2017-12-12 青岛朗思信息科技有限公司 Multi Date Acquisition System
CN107682857A (en) * 2017-08-24 2018-02-09 普联技术有限公司 Data sharing method, gateway device and the Zigbee network system of Zigbee network
CN108037675A (en) * 2018-02-01 2018-05-15 苏州创爵智能科技有限公司 A kind of Intelligent household scene control method based on ZigBee Group
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN110519892A (en) * 2019-09-27 2019-11-29 中山新驱动电子科技有限公司 A kind of control method and system of ZigBee-network
CN110933170A (en) * 2019-11-29 2020-03-27 广东科徕尼智能科技有限公司 Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111491277A (en) * 2020-04-08 2020-08-04 吴义魁 Wireless Internet of things exception handling method, intelligent gateway and related device
CN113573254A (en) * 2021-07-16 2021-10-29 上海顺舟智能科技股份有限公司 Networking control method and device for smart home, control equipment and storage medium
CN114615723A (en) * 2022-02-18 2022-06-10 广东睿住智能科技有限公司 Device adding method, device, storage medium, and gateway
CN116506919A (en) * 2023-06-28 2023-07-28 深圳市华曦达科技股份有限公司 Communication method and device for home multi-gateway relay

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752753A (en) * 2012-06-21 2012-10-24 中兴通讯股份有限公司 Method for controlling ZigBee network and wireless mobile terminal
CN103369790A (en) * 2013-06-20 2013-10-23 浙江生辉照明有限公司 LED (Light Emitting Diode) illuminating device and illumination control system
CN103647810A (en) * 2013-11-28 2014-03-19 深圳市六合未来科技有限公司 A scene control system and a scene control method based on Z-Wave technology
CN103699079A (en) * 2013-12-16 2014-04-02 四川九洲电器集团有限责任公司 Method for performing timing control on intelligent home equipment through mobile terminal
WO2015000803A1 (en) * 2013-07-05 2015-01-08 Koninklijke Philips N.V. A method for operating a communication device in a communication network, a communication device, a luminaire equipped with such communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752753A (en) * 2012-06-21 2012-10-24 中兴通讯股份有限公司 Method for controlling ZigBee network and wireless mobile terminal
CN103369790A (en) * 2013-06-20 2013-10-23 浙江生辉照明有限公司 LED (Light Emitting Diode) illuminating device and illumination control system
WO2015000803A1 (en) * 2013-07-05 2015-01-08 Koninklijke Philips N.V. A method for operating a communication device in a communication network, a communication device, a luminaire equipped with such communication device
CN103647810A (en) * 2013-11-28 2014-03-19 深圳市六合未来科技有限公司 A scene control system and a scene control method based on Z-Wave technology
CN103699079A (en) * 2013-12-16 2014-04-02 四川九洲电器集团有限责任公司 Method for performing timing control on intelligent home equipment through mobile terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465998B (en) * 2017-08-02 2021-03-30 青岛专用集成电路设计工程技术研究中心 Multi-data acquisition system
CN107465998A (en) * 2017-08-02 2017-12-12 青岛朗思信息科技有限公司 Multi Date Acquisition System
CN107682857A (en) * 2017-08-24 2018-02-09 普联技术有限公司 Data sharing method, gateway device and the Zigbee network system of Zigbee network
CN107682857B (en) * 2017-08-24 2020-10-02 普联技术有限公司 Data sharing method of Zigbee network, gateway equipment and Zigbee network system
CN108037675A (en) * 2018-02-01 2018-05-15 苏州创爵智能科技有限公司 A kind of Intelligent household scene control method based on ZigBee Group
CN108398888A (en) * 2018-02-26 2018-08-14 四川蓝景光电技术有限责任公司 Intelligent home furnishing control method, control device and intelligent home control system
CN110519892A (en) * 2019-09-27 2019-11-29 中山新驱动电子科技有限公司 A kind of control method and system of ZigBee-network
CN110933170A (en) * 2019-11-29 2020-03-27 广东科徕尼智能科技有限公司 Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111491277A (en) * 2020-04-08 2020-08-04 吴义魁 Wireless Internet of things exception handling method, intelligent gateway and related device
CN111491277B (en) * 2020-04-08 2021-06-08 金茂智慧科技(广州)有限公司 Wireless Internet of things exception handling method, intelligent gateway and related device
CN113573254A (en) * 2021-07-16 2021-10-29 上海顺舟智能科技股份有限公司 Networking control method and device for smart home, control equipment and storage medium
CN114615723A (en) * 2022-02-18 2022-06-10 广东睿住智能科技有限公司 Device adding method, device, storage medium, and gateway
CN116506919A (en) * 2023-06-28 2023-07-28 深圳市华曦达科技股份有限公司 Communication method and device for home multi-gateway relay
CN116506919B (en) * 2023-06-28 2023-09-01 深圳市华曦达科技股份有限公司 Communication method and device for home multi-gateway relay

Also Published As

Publication number Publication date
CN106297228B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN106297228B (en) The control method and control system of ZigBee-network
CN109257725B (en) System and method for adaptive scanning and/or broadcasting
CN102461288B (en) The enhanced debugging of Radio Network System
CN108028786B (en) Centralized control system for controlling interaction and cooperation between devices in a mesh network
EP2319255B1 (en) Commissioning a network system
US11622416B2 (en) Group-based relay selection for wireless network communication
JP6698702B2 (en) Low power sensor node operation in wireless network
CN105766016B (en) Method and apparatus for inter-profile debugging in a network
EP2484173B1 (en) Wlan peer-to-peer group owner negotiation
EP2807842B1 (en) Methods and apparatuses for device discovery
CN107682857B (en) Data sharing method of Zigbee network, gateway equipment and Zigbee network system
JP6997787B2 (en) Management of dedicated system information and shared system information
CN106304141A (en) Networking management method based on ZigBee-network and system
CN103975541A (en) Method and apparatus for transmitting a mac control message in wireless access system
CN103248543B (en) Code verification method, code verification control equipment and code verification equipment
CA3136415C (en) System combination of an asynchronous and a synchronous radio system
EP2833643B1 (en) Communication device, power management system having communication device, and method for controlling communication device
CN106162817A (en) The method for building up of wireless backhaul links, device and communication system
CN107925584A (en) The adjacent service two priority classes for multicast service in adjacent service user equipment network relay scene
CN106292312B (en) The control method and equipment of ZigBee pairing grouping
EP3138329B1 (en) Selection of a capillary network gateway
US11044771B2 (en) Method and device for sharing an established connection between a primary device and one of a plurality of secondary devices in a network
CN108028861B (en) Method, agent equipment and system for managing agent equipment distribution in dense large network
CN109151014B (en) NAN-based intelligent management method and related product
JP2005348083A (en) Data communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200330

Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Patentee after: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

Address before: 528311, Guangdong, Foshan Town, Shunde District, Beijiao, 6 beautiful avenue, beautiful headquarters building, B District, 26-28 floor

Patentee before: MIDEA GROUP Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Patentee after: Meizhi Optoelectronic Technology Co., Ltd

Address before: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Patentee before: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder