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
equipment
zigbee
gateway
configuration information
network
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

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

The control method of ZigBee-network and control system
Technical field
The present invention relates to Internet of Things communication technical field, particularly relate to a kind of ZigBee (based on IEEE802.15.4 standard low Power consumption LAN protocol) network-based control method and control system.
Background technology
At present, in the business systems such as intelligent domestic system based on ZigBee-network or intelligent hotel, a large amount of owing to existing ZigBee node and substantial amounts of ZigBee gateway device, an inevitable thorny problem is how to each ZigBee Network carries out subnetting management and (such as, is divided into different WPAN net (Wireless Personal Area Network Communication Technologies, wireless personal local area network)) and how pairing between simple realization node device Control (such as, binding control etc.).
In the related, typically can by centralized external control software (as PC (Personal Computer, individual People's computer) background monitoring system) operate, with realize ZigBee-network subnetting manage and node device between The functions such as pairing control.But, aforesaid operations mode is the most comparatively laborious, and efficiency is low so that Consumer's Experience is deteriorated.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose the control method of a kind of ZigBee-network.The method is by using indigo plant Tooth carries out subsidiary communications can realize the identification of product network information and the identification of zone position information, simplifies operating procedure, The network entry time of equipment is greatly reduced, thus efficiently completes the function such as networking and pairing and binding, and simplify equipment Cost of installation and maintenance.
Second object of the present invention is to propose the control system of a kind of ZigBee-network.
To achieve these goals, the control method of the ZigBee-network of first aspect present invention embodiment, including: according to dividing Net demand arranges the subnetting configuration information for multiple equipment in the terminal, and wherein, it is blue that described mobile terminal has first Tooth module, the plurality of equipment has ZigBee module and the second bluetooth module;By described first bluetooth module by described point Net configuration information sends the multiple gateways to multiple ZigBee-networks and the plurality of equipment;The plurality of gateway is according to described Subnetting configuration information builds multiple ZigBee-networks;The plurality of equipment generates ZigBee group according to described subnetting configuration information Net information, and add corresponding ZigBee-network according to described ZigBee mesh information by described ZigBee module;Described According to described subnetting configuration information, the corresponding gateway in ZigBee-network judges that the equipment under described gateway is the most legal;And If it is determined that the equipment under described gateway is legal, the most described gateway confirms the control authority for described equipment, and sets described Standby offer network communication services and control.
The control method of ZigBee-network according to embodiments of the present invention, is arranged for many in the terminal according to subnetting demand The subnetting configuration information of individual equipment, wherein, mobile terminal has the first bluetooth module, multiple equipment have ZigBee module and Second bluetooth module, subnetting configuration information sent to the multiple gateways in multiple ZigBee-networks by the first bluetooth module and Multiple equipment, multiple gateways build multiple ZigBee-networks according to subnetting configuration information, and multiple equipment are according to subnetting configuration information Generate ZigBee mesh 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 Confirm the control authority for equipment, and equipment is provided network communication services and control, i.e. by using bluetooth to assist Communication can realize the identification of product network information and the identification of zone position information, simplifies operating procedure, is greatly reduced The network entry time of equipment, thus efficiently complete the function such as networking and pairing and binding, and simplify installation and the maintenance of equipment Cost.
According to one embodiment of present invention, join arranging the subnetting for multiple equipment in the terminal according to subnetting demand While confidence breath, described method also includes: arrange for institute in described mobile terminal according to pairing demand or packet demand State the configuration information of multiple equipment;By described first bluetooth module, described configuration information is sent to the plurality of equipment;When After the plurality of equipment completes group-net communication, described configuration information is respectively sent to the gateway of correspondence by the plurality of equipment; The gateway of described correspondence generates matching table according to described configuration information or packet controls logic, and according to described matching table or packet Control logic corresponding equipment is matched or is grouped control.
According to one embodiment of present invention, the gateway in the ZigBee-network of described correspondence is sentenced according to described subnetting configuration information Equipment under disconnected described gateway is the most legal, specifically includes: described gateway judges under described subnetting configuration information and described gateway Equipment in described ZigBee mesh information whether mate;If it does, then described gateway judges the equipment under described gateway Legal.
According to one embodiment of present invention, described method also includes: if it is determined that the equipment under described gateway is illegal, then Described gateway sends to described equipment and leaves notification message, so that described equipment disconnects when leaving notification message described in receiving Described equipment and the connection of described gateway.
According to one embodiment of present invention, described packet control logic includes single control, group control and scene.
According to one embodiment of present invention, when described packet control logic is described group of control or described scene, described method Also include: the gateway of described correspondence generates the ID of ID or described scene of described group of control according to described configuration information, and according to The ID of ID or described scene of described group of control, described matching table or packet control logic and match corresponding equipment or divide Group controls.
According to one embodiment of present invention, the gateway in described correspondence generates matching table or packet control according to described configuration information After logic processed, described method also includes: the equipment that described packet control logic is issued to correspondence is entered by the gateway of described correspondence Row storage.
According to one embodiment of present invention, described equipment includes bulb and wireless switching.
To achieve these goals, the control system of the ZigBee-network of second aspect present invention embodiment, including: mobile whole End, multiple equipment and multiple ZigBee-network, wherein, described mobile terminal, it is used for receiving user and is moving according to subnetting demand The subnetting configuration information for the plurality of equipment arranged in dynamic terminal, wherein, described mobile terminal has the first bluetooth mould Block, and by described first bluetooth module, described subnetting configuration information is sent the multiple nets to the plurality of ZigBee-network Closing and the plurality of equipment, wherein, the plurality of equipment has ZigBee module and the second bluetooth module;The plurality of gateway, For building multiple ZigBee-networks according to described subnetting configuration information;The plurality of equipment, for configuring according to described subnetting Information generates ZigBee mesh information, and adds correspondence according to described ZigBee mesh information by described ZigBee module ZigBee-network;Wherein, the gateway in the ZigBee-network of described correspondence judges described net according to described subnetting configuration information Equipment under Guaning is the most legal, and when equipment under judging described gateway is legal, confirms the control authority for described equipment, And provide network communication services and control to described equipment.
The control system of ZigBee-network according to embodiments of the present invention, can receive user according to subnetting demand by mobile terminal The subnetting configuration information for multiple equipment arranged in the terminal, and by the first bluetooth module by subnetting configuration information Sending the multiple gateways to multiple ZigBee-networks and multiple equipment, multiple gateways build multiple according to subnetting configuration information ZigBee-network, multiple equipment generate ZigBee mesh information according to subnetting configuration information, and according to ZigBee mesh information Adding corresponding ZigBee-network by ZigBee module, the corresponding gateway in ZigBee-network is according to subnetting configuration information Judge that the equipment under gateway is the most legal, and when equipment under judging gateway is legal, confirm the control authority for equipment, And equipment is provided network communication services and control, i.e. carry out subsidiary communications by employing bluetooth and can realize product network information Identification and the identification of zone position information, simplify operating procedure, the network entry time of equipment be greatly reduced, thus efficiently Complete the function such as networking and pairing and binding, and simplify the cost of installation and maintenance of equipment.
According to one embodiment of present invention, described mobile terminal be additionally operable to receive user exist according to pairing demand or packet demand The configuration information for the plurality of equipment arranged in described mobile terminal, and set described by described first bluetooth module Confidence breath sends to the plurality of equipment;The plurality of equipment is additionally operable to after the plurality of equipment completes group-net communication, will Described configuration information is respectively sent to the gateway of correspondence;The gateway of described correspondence, for generating pairing according to described configuration information Table or packet control logic, and control logic according to described matching table or packet and match corresponding equipment or be grouped control.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become bright from the following description Aobvious, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will be apparent from from the following description of the accompanying drawings of embodiments With easy to understand, wherein,
Fig. 1 is the flow chart of the control method of ZigBee-network according to an embodiment of the invention;
Fig. 2 is the hardware block diagram of equipment according to an embodiment of the invention;
Fig. 3 is the flow chart of the control method of ZigBee-network in accordance with another embodiment of the present invention;And
Fig. 4 is the structural representation of the control system of ZigBee-network according to an embodiment of the invention.
Reference:
Mobile terminal 10, multiple equipment 20, multiple ZigBee-network the 30, first bluetooth module 11, ZigBee module 21, Second bluetooth module 22, bluetooth module 311 and multiple gateway 31.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most identical Or similar label represents same or similar element or has the element of same or like function.Retouch below with reference to accompanying drawing The embodiment stated is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings control method and the control system of the ZigBee-network of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the control method of ZigBee-network according to an embodiment of the invention.As it is shown in figure 1, should The control method of ZigBee-network may include that
S101, arranges the subnetting configuration information for multiple equipment in the terminal according to subnetting demand, wherein, mobile whole End has the first bluetooth module, and multiple equipment have ZigBee module and the second bluetooth module.
Additionally, in an embodiment of the present invention, the said equipment may include but be not limited to bulb and wireless switching etc..Need explanation , ZigBee module and the second bluetooth module in equipment can be integrated in two single-chips respectively, say, that equipment In can have ZigBee chip and the second Bluetooth chip;Additionally, equipment also can be by ZigBee module and the second bluetooth module collection In Cheng Yi chip, as in figure 2 it is shown, be the hardware block diagram of the equipment of the embodiment of the present invention, i.e. it is shown that ZigBee mould The minimum system that block and the second bluetooth module are integrated together in formation equipment.Be appreciated that ZigBee module and Second bluetooth module is integrated in a chip, reduces cost.
Specifically, user can be arranged for multiple in mobile terminal (the mobile APP in such as mobile terminal) according to subnetting demand The subnetting configuration information of equipment.Wherein, in an embodiment of the present invention, subnetting configuration information can such as include that equipment will add The information such as the ID (IDentity, identity number) of the ZigBee-network entered, title.
S102, is sent subnetting configuration information to multiple gateways in multiple ZigBee-networks and multiple by the first bluetooth module Equipment.
Specifically, above-mentioned subnetting can be joined by mobile terminal by the second bluetooth module of the first bluetooth module of self and equipment Confidence breath is sent in equipment, and can be by the bluetooth module in the first bluetooth module of self and gateway by subnetting configuration information It is sent in the gateway in ZigBee-network, so that gateway and equipment carry out subnetting process according to corresponding subnetting configuration information. It should be noted that while subnetting configuration information is sent to equipment and gateway by mobile terminal, mobile terminal also can be timely This subnetting configuration information is stored, the most also this subnetting configuration information can be imported to background management system standby to make Part uses.
S103, multiple gateways build multiple ZigBee-networks according to subnetting configuration information.
Specifically, gateway can be according to corresponding ZigBee of information architecture such as the ZigBee-network ID in subnetting configuration information, titles Network.The gateway being appreciated that in the embodiment of the present invention is network coordinator gateway.
S104, multiple equipment generate ZigBee mesh information according to subnetting configuration information, and lead to according to ZigBee mesh information Cross ZigBee module and add corresponding ZigBee-network.
Specifically, equipment can generate ZigBee networking according to information such as the ZigBee-network ID in subnetting configuration information, titles Information, and according to this ZigBee mesh information, self is joined in corresponding ZigBee-network.
S105, according to subnetting configuration information, the corresponding gateway in ZigBee-network judges that the equipment under gateway is the most legal.
Specifically, in an embodiment of the present invention, by following steps, gateway can judge whether the equipment under this gateway closes Method: gateway can determine whether whether subnetting configuration information mates with the ZigBee mesh information in the equipment under gateway;If it does, Equipment under then gateway judges gateway is legal.It is to say, gateway can be by judging the subnetting configuration information self stored and being somebody's turn to do Whether the ZigBee mesh information in the equipment under gateway mates, if it does, then judge that this equipment is legal, can allow to close Method communicates.
S106, if it is determined that the equipment under gateway is legal, then gateway confirms the control authority for equipment, and provides equipment Network communication services and control.
Specifically, when the equipment judged under gateway is legal, this gateway can confirm that have corresponding control authority for this equipment, And this equipment can be provided network communication services and carry out the operations such as network management control.
Optionally, in one embodiment of the invention, this control method may also include that if it is determined that the equipment under gateway not Legal, then gateway sends to equipment and leaves notification message so that equipment receive leave notification message time off device and net The connection closed.
It can be seen that above-mentioned steps is based on the ZigBee-network subnetting carried out for equipment under multiple ZigBee gateway environments The implementation controlled, the control method of the ZigBee-network of the embodiment of the present invention also can realize carrying out matching or dividing for equipment The function that group controls.Specifically, in one embodiment of the invention, as it is shown on figure 3, moving according to subnetting demand While arranging in terminal for the subnetting configuration information of multiple equipment, this control method also includes:
S301, arranges the configuration information for multiple equipment in the terminal according to pairing demand or packet demand.
Specifically, user can set in mobile terminal (the mobile APP in such as mobile terminal) according to pairing demand or packet demand Put the configuration information for equipment.Wherein, in an embodiment of the present invention, configuration information can such as include that equipment will be with which Node device carries out the ID that matches or equipment will add the information such as ID of which packet.
S302, is sent configuration information to multiple equipment by the first bluetooth module.
Specifically, configuration information can be sent by mobile terminal by the second bluetooth module of the first bluetooth module of self and equipment In equipment.
S303, after multiple equipment complete group-net communication, configuration information is respectively sent to the gateway of correspondence by multiple equipment.
S304, corresponding gateway generates matching table according to configuration information or packet controls logic, and according to matching table or packet control Corresponding equipment is matched or is grouped control by logic processed.
For example, it is assumed that the configuration information of equipment 1 can include that equipment 1 will match with equipment 3, setting of equipment 2 Confidence breath can include that equipment 2 will add packet 3, then gateway can generate a pairing according to the configuration information of equipment 1 Table, can have the pair relationhip between equipment 1 and equipment 3 in this matching table, gateway is also dependent on the setting of equipment 2 Information generates a packet and controls logic, and this packet controls the ID such as can in the packet 3 in logic with equipment 2. Afterwards, gateway can control logic according to matching table or packet and matches corresponding equipment or be grouped control.Wherein, In an embodiment of the present invention, pair relationhip can be one to one or one-to-many and other various combinations (as single control, Group control and scene).
Additionally, in an embodiment of the present invention, packet controls logic and may include but be not limited to single control, group control and scene etc..? In embodiments of the invention, when packet controls logic for group control or scene, this control method also includes: corresponding gateway root According to the ID or the ID of scene of configuration information generation group control, and control according to ID or the ID of scene, matching table or the packet of group control Corresponding equipment is matched or is grouped control by logic.
More specifically, when the packet of the configuration information stroke that Bluetooth communication sends controls logic for group control or scene, gateway can Carry out storage management with the ID of formation group control or the ID of scene, and the ID of the ID of group control or scene can be issued to correspondence To store in equipment, and logic can be controlled to accordingly according to the ID or the ID of scene of group control, matching table or packet Equipment carries out matching or being grouped control so that can realize efficiently assisting by the ID of judgement group control or the ID of scene in the communications With, it is to avoid network delay.
Optionally, in one embodiment of the invention, matching table or packet are generated at corresponding gateway according to configuration information After controlling logic, this control method also includes: the equipment that packet control logic is issued to correspondence is deposited by corresponding gateway Storage.Specifically, after corresponding gateway generates matching table according to configuration information or packet controls logic, gateway also can by by Configuration information formed various packet control logics be issued to correspondence equipment to store, this packet is also controlled by gateway simultaneously Logic processed stores.Thus, it is possible to make can recover easily control planning when equipment or gateway power failure.
Optionally, in one embodiment of the invention, when certain ZigBee-network is (such as certain room or certain family Deng) node device change or need revise pair relationhip time, Bluetooth pairing and configuration can be carried out again at any time, by This, can not affect the control planning of other pairing nodes, nor affect on other ZigBee-networks.
The control method of ZigBee-network according to embodiments of the present invention, is arranged for many in the terminal according to subnetting demand The subnetting configuration information of individual equipment, wherein, mobile terminal has the first bluetooth module, multiple equipment have ZigBee module and Second bluetooth module, subnetting configuration information sent to the multiple gateways in multiple ZigBee-networks by the first bluetooth module and Multiple equipment, multiple gateways build multiple ZigBee-networks according to subnetting configuration information, and multiple equipment are according to subnetting configuration information Generate ZigBee mesh 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 Confirm the control authority for equipment, and equipment is provided network communication services and control, i.e. by using bluetooth to assist Communication can realize the identification of product network information and the identification of zone position information, simplifies operating procedure, is greatly reduced The network entry time of equipment, thus efficiently complete the function such as networking and pairing and binding, and simplify installation and the maintenance of equipment Cost.
In order to realize above-described embodiment, the invention allows for the control system of a kind of ZigBee-network.
Fig. 4 is the structural representation of the control system of ZigBee-network according to an embodiment of the invention.As shown in Figure 4, The control system of this ZigBee-network may include that mobile terminal 10, multiple equipment 20 and multiple ZigBee-network 30. Wherein, in an embodiment of the present invention, mobile terminal 10 can concrete first bluetooth module 11, multiple equipment 20 can have ZigBee module 21 and the second bluetooth module 22, also can have bluetooth module 311 in gateway 31.Additionally, equipment 20 can Include but not limited to bulb and wireless switching etc..
It should be noted that ZigBee module 21 and the second bluetooth module 22 in equipment 20 can be integrated in two lists respectively In chip, say, that equipment 20 can have ZigBee chip and the second Bluetooth chip;Additionally, equipment 20 also can be by ZigBee module 21 and the second bluetooth module 22 are integrated in a chip, as in figure 2 it is shown, setting for the embodiment of the present invention Standby hardware block diagram, be i.e. shown that ZigBee module and the second bluetooth module is integrated together in formation equipment one Mini system.It is appreciated that and ZigBee module and the second bluetooth module are integrated in a chip, reduce cost.
Specifically, mobile terminal 10 can be used for receive user according to subnetting demand arrange in mobile terminal 10 for multiple The subnetting configuration information of equipment 20, and by the first bluetooth module 11, subnetting configuration information is sent to multiple ZigBee-networks Multiple gateways 31 in 30 and multiple equipment 20.
More specifically, user can be arranged in mobile terminal 10 (the mobile APP in such as mobile terminal 10) according to subnetting demand Subnetting configuration information for multiple equipment 20.Mobile terminal 10 can be by the first bluetooth module 11 of self and equipment 20 The second bluetooth module 22 above-mentioned subnetting configuration information is sent in equipment 20, and can be by self the first bluetooth mould Subnetting configuration information is sent in the gateway 31 in ZigBee-network 30 by the bluetooth module 311 in block 11 and gateway 31, So that gateway 31 and equipment 20 carry out subnetting process according to corresponding subnetting configuration information.It should be noted that mobile whole While subnetting configuration information is sent to equipment 20 and gateway 31 by end 10, mobile terminal 10 also can be timely by this subnetting Configuration information stores, and this subnetting configuration information the most also can import to background management system and use to make backup.Its In, in an embodiment of the present invention, subnetting configuration information can such as include the ZigBee-network 30 that equipment 20 will add The information such as ID, title.
Multiple gateways 31 can be used for building multiple ZigBee-networks 30 according to subnetting configuration information.More specifically, gateway 31 Can be according to corresponding ZigBee-networks of information architecture 30 such as the ID of ZigBee-network 30 in subnetting configuration information, titles. The gateway 31 being appreciated that in the embodiment of the present invention is network coordinator gateway.
Multiple equipment 20 can be used for generating ZigBee mesh information according to subnetting configuration information, and according to ZigBee mesh information The ZigBee-network 30 of correspondence is added by ZigBee module 21.More specifically, equipment 20 can be according to subnetting configuration information In the ID of ZigBee-network 30, the information such as title generate ZigBee mesh information, and according to this ZigBee mesh information Self is joined in corresponding ZigBee-network 30.
Wherein, in an embodiment of the present invention, the corresponding gateway 31 in ZigBee-network 30 is sentenced according to subnetting configuration information It is the most legal that lower equipment 20 is closed in suspension, and when equipment 20 under judging gateway 31 is legal, confirmation is for equipment 20 Control authority, and provide network communication services and control to equipment 20.
Specifically, in an embodiment of the present invention, gateway 31 can judge the equipment under this gateway 31 by following steps 20 is the most legal: gateway 31 can determine whether that subnetting configuration information with the ZigBee mesh information in the equipment 20 under gateway 31 is No coupling;If it does, then gateway 31 judges that the equipment 20 under gateway 31 is legal.It is to say, gateway 31 can pass through Judge whether the subnetting configuration information self stored mates with the ZigBee mesh information in the equipment 20 under this gateway 31, as Fruit coupling, then judge that this equipment 20 is legal, can allow legitimate correspondence.When the equipment 20 judged under gateway 31 is legal, This gateway 31 can confirm that have corresponding control authority for this equipment 20, and can provide network communication services to this equipment 20 Operate with carrying out network management control etc..
Optionally, in one embodiment of the invention, the equipment 20 that gateway 31 can be additionally used under judging gateway 31 does not conforms to During method, can to equipment 20 send leave notification message so that equipment 20 receive leave notification message time off device with The connection of gateway 31.
It can be seen that above-mentioned formula controls based on the ZigBee-network subnetting carried out for equipment under multiple ZigBee gateway environments Implementation, the control system of the ZigBee-network of the embodiment of the present invention also can realize carrying out matching or being grouped control for equipment The function of system.Specifically, in one embodiment of the invention, mobile terminal 10 can be additionally used in reception user according to pairing need Ask or the configuration information for multiple equipment 20 that packet demand is arranged in mobile terminal 10, and by the first bluetooth module Configuration information is sent to multiple equipment 20 by 11.Multiple equipment 20 can be additionally used in after multiple equipment 20 complete group-net communication, Configuration information is respectively sent to the gateway 31 of correspondence.Corresponding gateway 31 can be used for according to configuration information generate matching table or Packet controls logic, and matches corresponding equipment 20 or be grouped control according to matching table or packet control logic.
Wherein, in an embodiment of the present invention, packet control logic may include but be not limited to single control, group control and scene etc..? In embodiments of the invention, when packet controls logic for group control or scene, corresponding gateway 31 can be additionally used according to arranging letter The ID or the ID of scene of breath generation group control, and control logic to phase according to ID or the ID of scene, matching table or the packet of group control The equipment 20 answered carries out matching or being grouped control.
More specifically, when the packet of the configuration information stroke that Bluetooth communication sends controls logic for group control or scene, gateway 31 The ID of the ID or scene that can form group control carries out storage management, and the ID of the ID of group control or scene can be issued to correspondence Equipment 20 in store, and can according to group control ID or the ID of scene, matching table or packet control logic to phase The equipment 20 answered carries out matching or being grouped control so that can be realized by the ID of judgement group control or the ID of scene in the communications Efficiently collaborative, it is to avoid network delay.
Optionally, in one embodiment of the invention, or divide according to configuration information generation matching table at corresponding gateway 31 Group controls after logic, and corresponding gateway 31 can be additionally used in and packet controls logic is issued to the equipment 20 of correspondence and stores. Specifically, after corresponding gateway 31 generates matching table according to configuration information or packet controls logic, gateway 31 also can be by By configuration information formed various packet control logics be issued to correspondence equipment 20 to store, simultaneously gateway 31 also will This packet controls logic and stores.Thus, it is possible to make can recover easily when equipment or gateway power failure to control to close System.
Optionally, in one embodiment of the invention, when certain ZigBee-network 30 is (such as certain room or certain family Front yard etc.) node device change or need revise pair relationhip time, Bluetooth pairing and configuration can be carried out again at any time, Thus, it is possible to do not affect the control planning of other pairing nodes, nor affect on other ZigBee-networks.
The control system of ZigBee-network according to embodiments of the present invention, can receive user according to subnetting demand by mobile terminal The subnetting configuration information for multiple equipment arranged in the terminal, and by the first bluetooth module by subnetting configuration information Sending the multiple gateways to multiple ZigBee-networks and multiple equipment, multiple gateways build multiple according to subnetting configuration information ZigBee-network, multiple equipment generate ZigBee mesh information according to subnetting configuration information, and according to ZigBee mesh information Adding corresponding ZigBee-network by ZigBee module, the corresponding gateway in ZigBee-network is according to subnetting configuration information Judge that the equipment under gateway is the most legal, and when equipment under judging gateway is legal, confirm the control authority for equipment, And equipment is provided network communication services and control, i.e. carry out subsidiary communications by employing bluetooth and can realize product network information Identification and the identification of zone position information, simplify operating procedure, the network entry time of equipment be greatly reduced, thus efficiently Complete the function such as networking and pairing and binding, and simplify the cost of installation and maintenance of equipment.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple " It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example ", Or specific features, structure, material or the feature that the description of " some examples " etc. means to combine this embodiment or example describes It is contained at least one embodiment or the example of the present invention.In this manual, need not to the schematic representation of above-mentioned term Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, this area The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by technical staff Close and combination.
In flow chart or at this, any process described otherwise above or method description are construed as, and represent and include one Or the module of code, fragment or the part of the executable instruction of the more step for realizing specific logical function or process, And the scope of the preferred embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, Including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be by the present invention's Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as reality The sequencing list of the executable instruction of existing logic function, may be embodied in any computer-readable medium, for instruction Execution system, device or equipment (system such as computer based system, including processor or other can perform from instruction System, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate Or transmission procedure for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and uses Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or more cloth The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM), read-only Memorizer (ROM), erasable read only memory (EPROM or flash memory) of editing, fiber device, and portable Compact disc read-only memory (CDROM).It addition, computer-readable medium can even is that the paper that can print described program thereon Or other suitable media, because then can carry out editing, solving such as by paper or other media are carried out optical scanning Translate or be processed to electronically obtain described program with other suitable methods if desired, be then stored in computer In memorizer.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.In above-mentioned reality Execute in mode, software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage or Firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), existing Field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can Completing instructing relevant hardware by program, described program can be stored in a kind of computer-readable recording medium, This program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to be each Individual unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module was both Can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.If described integrated module with The form of software function module realizes and as independent production marketing or when using, it is also possible to be stored in a computer-readable Take in storage medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although above it has been shown and described that Embodiments of the invention, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as limitation of the present invention, Above-described embodiment can be changed, revises, replace and modification by those of ordinary skill in the art within the scope of the invention.

Claims (10)

1. the control method of a ZigBee-network, it is characterised in that comprise the following steps:
According to subnetting demand, the subnetting configuration information for multiple equipment, wherein, described mobile terminal are set in the terminal Having the first bluetooth module, the plurality of equipment has ZigBee module and the second bluetooth module;
By described first bluetooth module, described subnetting configuration information is sent the multiple gateways to multiple ZigBee-networks and institute State multiple equipment;
The plurality of gateway builds multiple ZigBee-networks according to described subnetting configuration information;
The plurality of equipment generates ZigBee mesh information according to described subnetting configuration information, and according to described ZigBee networking Information adds corresponding ZigBee-network by described ZigBee module;
According to described subnetting configuration information, gateway in the ZigBee-network of described correspondence judges whether the equipment under described gateway closes Method;And
If it is determined that the equipment under described gateway is legal, the most described gateway confirms the control authority for described equipment, and to institute Equipment of stating provides network communication services and control.
2. the control method of ZigBee-network as claimed in claim 1, it is characterised in that moving according to subnetting demand While arranging for the subnetting configuration information of multiple equipment in dynamic terminal, described method also includes:
According to pairing demand or packet demand, the configuration information for the plurality of equipment is set in described mobile terminal;
By described first bluetooth module, described configuration information is sent to the plurality of equipment;
After the plurality of equipment completes group-net communication, described configuration information is respectively sent to correspondence by the plurality of equipment Gateway;
The gateway of described correspondence generates matching table according to described configuration information or packet controls logic, and according to described matching table or Packet controls logic and matches corresponding equipment or be grouped control.
3. the control method of ZigBee-network as claimed in claim 1, it is characterised in that the ZigBee net of described correspondence According to described subnetting configuration information, gateway in network judges that the equipment under described gateway is the most legal, specifically include:
Described gateway judges that whether the described ZigBee mesh information in the equipment under described subnetting configuration information and described gateway Join;
If it does, then described gateway judges that the equipment under described gateway is legal.
4. the control method of ZigBee-network as claimed in claim 1, it is characterised in that also include:
If it is determined that the equipment under described gateway is illegal, the most described gateway sends to described equipment and leaves notification message, so that Described equipment disconnects the connection of described equipment and described gateway when leaving notification message described in receiving.
5. the control method of ZigBee-network as claimed in claim 2, it is characterised in that described packet controls logic bag Include single control, group control and scene.
6. the control method of ZigBee-network as claimed in claim 5, it is characterised in that when described packet controls logic During for described group of control or described scene, described method also includes:
The gateway of described correspondence generates the ID of ID or the described scene of described group of control according to described configuration information, and according to described group The ID of ID or described scene of control, described matching table or packet control logic and match corresponding equipment or be grouped control.
7. the control method of ZigBee-network as claimed in claim 2, it is characterised in that at the gateway root of described correspondence After generating matching table or packet control logic according to described configuration information, described method also includes:
The equipment that described packet control logic is issued to correspondence is stored by the gateway of described correspondence.
8. the control method of the ZigBee-network as according to any one of claim 1-7, it is characterised in that described equipment Including bulb and wireless switching.
9. the control system of a ZigBee-network, it is characterised in that including: mobile terminal, multiple equipment and multiple ZigBee Network, wherein,
Described mobile terminal, for receive user according to subnetting demand arrange in the terminal for the plurality of equipment Subnetting configuration information, wherein, described mobile terminal has the first bluetooth module, and by described first bluetooth module by described Subnetting configuration information sends the multiple gateways to the plurality of ZigBee-network and the plurality of equipment, wherein, the plurality of Equipment has ZigBee module and the second bluetooth module;
The plurality of gateway, for building multiple ZigBee-networks according to described subnetting configuration information;
The plurality of equipment, for generating ZigBee mesh information according to described subnetting configuration information, and according to described ZigBee Mesh information adds corresponding ZigBee-network by described ZigBee module;Wherein,
According to described subnetting configuration information, gateway in the ZigBee-network of described correspondence judges whether the equipment under described gateway closes Method, and when equipment under judging described gateway is legal, confirms the control authority for described equipment, and described equipment is carried Feeding network communication service and control.
10. the control system of ZigBee-network as claimed in claim 1, it is characterised in that
Described mobile terminal be additionally operable to receive user according to pairing demand or packet demand arrange in described mobile terminal for The configuration information of the plurality of equipment, and by described first bluetooth module, described configuration information is sent to the plurality of equipment;
The plurality of equipment is additionally operable to, after the plurality of equipment completes group-net communication, described configuration information be respectively sent to Corresponding gateway;
The gateway of described correspondence, for generating matching table or packet control logic according to described configuration information, and joins according to described Table or packet are controlled logic corresponding equipment is matched or is grouped control.
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 广东睿住智能科技有限公司 Equipment adding method and 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 广东睿住智能科技有限公司 Equipment adding method and 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
CN106297228A (en) The control method of ZigBee-network and control system
CN107733855B (en) A kind of block catenary system and application method that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN105515853B (en) The node and its state updating method of wireless network
CN107566229A (en) The packet control process of intelligent domestic system
CN104714412B (en) Method, system and the mobile terminal that household electrical appliance are managed
CN106597868A (en) Intelligent home control system
CN105766016A (en) Method and apparatus for inter-profile commissioning in a network
CN103036653B (en) A kind of method of OpenFlow network being carried out to network code
CN104662858B (en) Machine communication operates triggering method and device
CN105490896A (en) Method, device and system for managing household appliances
CN106292312B (en) The control method and equipment of ZigBee pairing grouping
CN108028786A (en) Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols
CN104898449A (en) Smart home system and control method thereof
CN105471686A (en) Terminal control method, terminal control apparatus and system
CN103248543B (en) Code verification method, code verification control equipment and code verification equipment
CN110519366A (en) A kind of method and device for replacing gateway
CN109445300A (en) The control method and smart home system of smart home
CN102202298A (en) Combined network and method for wireless sensor network terminal to join network
CN106033191A (en) Household electrical appliance control method and device
CN103155649A (en) Communication device, communication control method, and communication system
CN102469553A (en) Method and system for accessing wireless sensor network
CN104365070B (en) The method and apparatus for the optimization greeted for multi-link transparent interconnection LAN
CN106094550A (en) Intelligent home device control system and method
CN109799722A (en) Control method, device, system and the storage medium of smart home system, equipment
CN106304417A (en) Household electrical appliance networking system and method based on ZigBee-network

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