CN102685274B - Group address distribution method of intelligent equipment in intelligent household network - Google Patents

Group address distribution method of intelligent equipment in intelligent household network Download PDF

Info

Publication number
CN102685274B
CN102685274B CN201210187938.XA CN201210187938A CN102685274B CN 102685274 B CN102685274 B CN 102685274B CN 201210187938 A CN201210187938 A CN 201210187938A CN 102685274 B CN102685274 B CN 102685274B
Authority
CN
China
Prior art keywords
address
group
dynamic
controlled plant
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210187938.XA
Other languages
Chinese (zh)
Other versions
CN102685274A (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.)
Guangdong intechu intelligent Catering Management Co.,Ltd.
Original Assignee
陈梓平
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 陈梓平 filed Critical 陈梓平
Priority to CN201210187938.XA priority Critical patent/CN102685274B/en
Publication of CN102685274A publication Critical patent/CN102685274A/en
Application granted granted Critical
Publication of CN102685274B publication Critical patent/CN102685274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a group address distribution method in an intelligent household network, which comprises the following steps that firstly, all controlled equipment which need to be added into a group is determined at a gateway; the gateway generates a dynamic identity (id) address for identifying the group; the gateway sends a group address distribution message to all the controlled equipment in the group, and the message contains the dynamic id address of the group; and each piece of controlled equipment in the group receives the message and stores the dynamic ID address of the group. Because the same equipment can belong to a plurality of different groups at the same time, one piece of controlled equipment can storage the dynamic id addresses of a plurality of groups. Through the method, a larger number of equipment and equipment groups can be supported, and the address distribution complicacy and the expenditure of the gateway can be reduced.

Description

The group address distribution method of smart machine in intelligent home network
Technical field
The present invention relates to the group control method of smart machine in a kind of intelligent home network, and particularly relate in intelligent home network environment, according to fixed address and dynamic I D be multiple smart machine distribute group address method.
Background technology
Smart Home take house as platform, utilize comprehensive wiring technology, the network communications technology, Smart Home-system design scheme security precautions technology, automatic control technology, audio frequency and video technology by integrated for facility relevant for life staying idle at home, build the management system of efficient housing facilities and family's schedule affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.
And in order to make the various smart machines in smart home environment play a role, first the problem into smart machine allocation address must be solved, mode for smart machine allocation address in prior art mainly contains two kinds: one is by DHCP(DHCP) be smart machine distributing IP address, another kind is then directly for smart machine distributes specific non-ip address by intelligent gateway.
Current Smart Home field is more adopt directly for smart machine distributes the method for specific non-ip address.Such as, the DALI that current Smart Home field is common, CEBUS, EIB standard, wherein defines the proprietary protocol of device address form and address distribution method separately.Similar with the multicast address in IP agreement, also the difference of single address and group address is had in typical standard in Smart Home field, to realize making the communication between bus apparatus be simplified, and reduce the traffic of channel, and make a control many, multi-control, the modes such as scenery control become very convenient.
DALI agreement (digital addressable lighting interface Digital Addressable Lighting Interface) is the lighting control protocol in current Smart Home field.In DALI agreement, the address of controlled plant is 8, and its structure can be expressed as YAAAAAAS, and wherein Y is that short address and group address/broadcasting instructions flag bit: A represent concrete address bit.Y=" 0 " be expressed as equipment distribute unique address; Y=" 1 ": be then group address or broadcasting instructions; S is a selection marker position.Following table shows the address realm of DALI agreement:
Therefore, DALI agreement only can distribute 64 short addresses, namely the unique address of controlled plant, and 16 group addresss.That is DALI agreement can only control 64 equipment at most simultaneously, and 16 equipment groups, obviously this cannot be applied to the more scene of number of devices, and due to the assigning process more complicated of each single address and group address in DALI agreement, also cause the expense needed for gateway allocation address larger.
Summary of the invention
In view of the shortcoming of prior art, the invention provides the group address distribution method in a kind of intelligent home network, wherein intelligent home network comprises gateway and at least one controlled plant, and the method comprises:
(1) when this at least one controlled plant sends notice message to gateway, wherein this notice message comprises the fixed address of controlled plant;
(2) gateway distributes a dynamic address and this dynamic address is sent to this controlled plant to respectively after receiving this notice message each controlled plant;
(3) gateway is determined to need to add each controlled plant organized;
(4) organize dynamic address and send group address assignment message to each controlled plant in this group for one of this group of gateway generating identification, this group address message comprises this group dynamic address;
(5) each controlled plant in this group receives this group address assignment message and stores group dynamic address wherein.
Further, wherein this fixed address comprises the type codes of controlled plant, the bar code of controlled plant, the batch code of controlled plant, and establishes controlled standby sequence number.
Further, wherein this dynamic address by gateway Random assignment.
Further, wherein this dynamic address by manually specifying.
Further, wherein gateway and controlled plant are coupled together by 485 buses.
Further, wherein affiliated controlled plant can add different groups simultaneously and store multiple groups of dynamic address.
Accompanying drawing explanation
The intelligent home network structure that Fig. 1 the application is suitable for.
The geocoding form of Fig. 2 smart machine.
Fig. 3 equipment fixed address structure.
Fig. 4 smart machine adds group process.
Fig. 5 smart machine exits the process of group.
Embodiment
Fig. 1 shows the concrete structure of intelligent home network disclosed by the invention, mainly comprise the digital home intelligent gateway of household internal, bus switch, industry ethernet, 485 buses and various smart machine, gateway and controlled plant are coupled together by 485 buses.
Fig. 2 shows the device address structure in intelligent domestic system disclosed in this invention.Device address is divided into fixed address and dynamic id address, and fixed address is solidificated in storage chip before equipment dispatches from the factory, and dynamically id address is then that after equipment first time access bus, gateway gives to distribute the address as this node communication.
Namely equipment fixed address is the unique identity card number of each equipment, and it can be made up of one of them of the sequence number of the batch code of the bar code of device type, equipment, equipment and equipment or several combining.This addressing method can ensure the uniqueness of each equipment under different scenes.
Fig. 3 A illustrates the first embodiment, if controlled plant only has unique one in intelligent home network, and such as guard for entrance gate.So equipment fixed address can only include the bar code of device type code and equipment.
Fig. 3 B illustrates the second embodiment, if controlled plant comprises multiple, such as, but uniquely can determine according to the bar code of controlled plant and a batch code, the equipment of the same type progressively added, so equipment fixed address can only include device type code, the bar code of equipment and equipment batch code.
Fig. 3 C illustrates the 3rd embodiment, if controlled plant can not by batch and bar code uniquely determine, such as lighting apparatus.So equipment fixed address can comprise device type code, the bar code of equipment and equipment batch code, equipment serial number.
Be not limited to above-mentioned three embodiments, according to the difference of application scenarios, as long as the uniqueness of fixed address can be ensured, so just can one or several in the sequence number of combination in any device type, the bar code of equipment, the batch code of equipment and equipment to form fixed address.
When the 3rd embodiment, equipment fixed address is made up of 17 bytes, and wherein first character joint is device type, and then 12 bytes are the bar codes of equipment, then add the lot number of 2 byte representation equipment, the sequence number of latter two byte representation equipment.Certainly can be the byte number that different field distribution is different according to specific needs.In first two embodiment, the byte representing respective classes can be removed, thus form shorter equipment fixed address.
And the dynamic I D address of equipment is determined by home gateway, its length can be determined by practical application scene, the total quantity of such as equipment.In one embodiment, dynamic id address is made up of 2 bytes, from 0x00 to 0xffff, so altogether can represent 65536 dynamic id addresses of equipment, because dynamic id address only has two bytes, very brief, also enough at same Smart Home on-net location, so can call duration time be reduced with this address as the mailing address of equipment each in bus, reduce the probability of data collision, substantially increase communication efficiency.Certainly, also can adopt other length, such as more than 1 or 3 byte length represents dynamic I D.
The function including multicast in IP address protocol, to realize the information transmission to one group of equipment, includes the function that group controls equally in the address distribution method that the present invention is corresponding.For Lighting control, in wired home, often need to control different place in family, the light of difference in functionality.In general, a controller controls one or one group of light, and multiple controller controls one or one group of light, that is to say one to one, one-to-many, many-one, the relation of multi-to-multi.And the dynamic I D address of the form of group address and equipment is similar, its length can be determined by practical application scene, such as the total quantity of equipment group.In one embodiment, organize dynamic id address and be made up of 2 bytes, from 0x00 to 0xffff, so altogether can represent 65536 dynamic id addresses of equipment group.Certainly, also can adopt other length, such as more than 1 or 3 byte length represents group dynamic I D.
Fig. 4 shows smart machine and adds group process.First each controlled plant needing to add a group is determined at gateway; The dynamic id address of this group of gateway generating identification; Gateway sends group address assignment message to each controlled plant in this group, and this message comprises the dynamic id address of group; Each controlled plant in group receives this message and stores group dynamic I D address wherein.Because equipment can belong to several different groups simultaneously, therefore controlled plant can store the dynamic id address of multiple groups.
It should be noted that first equipment self must obtain unique equipment dynamic I D address, then can add a group.Therefore, determine the step needing to add each controlled plant that is organized at gateway before, controlled plant must send fixed address notice message to gateway, and wherein this notice message comprises the fixed address of equipment; Then, gateway carries out necessary verification after receiving this notice message, and then distribute a unique dynamic I D address according to Operation system setting to equipment, this dynamic I D address by system Random assignment, also can be specified by user; Then, gateway sends dynamic ID distribution message to equipment; Then will wherein store by dynamic I D after equipment receives dynamic ID distribution message, and in communication afterwards all with this dynamic id address as mailing address.Then the controlled plant obtaining dynamic I D address can be added group by gateway.
Fig. 5 shows the process that smart machine exits group.First gateway determines controlled plant in the group that needs are deleted; Gateway sends group address to the equipment needing to delete and deletes message; The equipment that these needs are deleted just is deleted the corresponding dynamic id address of group after receiving the message exiting group, so just exits this group.
Be understandable that, the application's claim is not limited to these specific open forms, but covers all alter mode, equivalents and the substitute mode that fall within the spirit and scope of the present invention.

Claims (8)

1. the group address distribution method in intelligent home network, wherein intelligent home network comprises gateway and at least one controlled plant, and the method comprises:
(1) when this at least one controlled plant sends notice message to gateway, wherein this notice message comprises the fixed address of controlled plant;
(2) gateway distributes a dynamic id address and this dynamic id address is sent to this controlled plant to respectively after receiving this notice message each controlled plant;
(3) gateway is determined to need to add each controlled plant organized;
(4) organize dynamic id address and send group address assignment message to each controlled plant in this group for one of this group of gateway generating identification, this group address assignment message comprises the dynamic id address of this group;
(5) each controlled plant in this group receives this group address assignment message and stores the dynamic id address of group wherein.
2. the group address distribution method in intelligent home network as claimed in claim 1, wherein this fixed address comprises bar code and/or the device type code of controlled plant.
3. the group address distribution method in intelligent home network as claimed in claim 2, wherein this fixed address also comprises the batch code of controlled plant.
4. the group address distribution method in intelligent home network as claimed in claim 3, wherein this fixed address also comprises batch code and the sequence number of controlled plant.
5., as the group address distribution method in the intelligent home network as described in arbitrary in claim 2-4, wherein this dynamic id address is by gateway Random assignment.
6., as the group address distribution method in the intelligent home network as described in arbitrary in claim 2-4, wherein this dynamic id address is by manually specifying.
7., as the group address distribution method in the intelligent home network as described in arbitrary in claim 2-4, wherein gateway and controlled plant are coupled together by 485 buses.
8., as the group address distribution method in the intelligent home network as described in arbitrary in claim 2-4, wherein said controlled plant adds different groups simultaneously and stores multiple groups of dynamic id addresses.
CN201210187938.XA 2012-06-08 2012-06-08 Group address distribution method of intelligent equipment in intelligent household network Active CN102685274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210187938.XA CN102685274B (en) 2012-06-08 2012-06-08 Group address distribution method of intelligent equipment in intelligent household network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210187938.XA CN102685274B (en) 2012-06-08 2012-06-08 Group address distribution method of intelligent equipment in intelligent household network

Publications (2)

Publication Number Publication Date
CN102685274A CN102685274A (en) 2012-09-19
CN102685274B true CN102685274B (en) 2015-04-29

Family

ID=46816626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210187938.XA Active CN102685274B (en) 2012-06-08 2012-06-08 Group address distribution method of intelligent equipment in intelligent household network

Country Status (1)

Country Link
CN (1) CN102685274B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780340B (en) * 2013-11-07 2018-03-06 福建睿能科技股份有限公司 A kind of communication means, control device, electric ballast and system
CN103746888A (en) * 2013-12-30 2014-04-23 广东瑞德智能科技股份有限公司 Intelligent home gateway and node networking and network quitting method
CN106603737A (en) * 2016-11-22 2017-04-26 青岛海尔空调电子有限公司 Multi-split air conditioning system, multi-split air conditioning system internal unit address allocation method, and multi-split air conditioning system control method
CN109495597A (en) * 2018-10-26 2019-03-19 芜湖智久机器人有限公司 System and method, the equipment on-line management method of online modification device target address
CN113783768B (en) * 2021-09-01 2023-05-12 杭州涂鸦信息技术有限公司 Group control method, group control device and communication system
CN117135143B (en) * 2023-10-26 2024-01-02 深圳市德兰明海新能源股份有限公司 Group parallel operation address allocation method based on CAN bus and node equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005122492A1 (en) * 2004-06-07 2005-12-22 Nippon Telegraph And Telephone Corporation Domestic network setting method, home gateway device, home gateway program, and recording medium
CN101056234A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Method for allocating the address of the intelligent information home electrical appliance in the home network
CN101068228A (en) * 2007-06-11 2007-11-07 美的集团有限公司 Device and method for automatic address allocation of equipment in wireless dynamic networking
CN101116288A (en) * 2005-02-07 2008-01-30 Lg电子株式会社 Address management method and message transmitting and receiving method in network control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005122492A1 (en) * 2004-06-07 2005-12-22 Nippon Telegraph And Telephone Corporation Domestic network setting method, home gateway device, home gateway program, and recording medium
CN101116288A (en) * 2005-02-07 2008-01-30 Lg电子株式会社 Address management method and message transmitting and receiving method in network control system
CN101056234A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Method for allocating the address of the intelligent information home electrical appliance in the home network
CN101068228A (en) * 2007-06-11 2007-11-07 美的集团有限公司 Device and method for automatic address allocation of equipment in wireless dynamic networking

Also Published As

Publication number Publication date
CN102685274A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
CN102685274B (en) Group address distribution method of intelligent equipment in intelligent household network
CN103713608B (en) Wireless Internet of Things house system hierarchical network framework and its group-net communication method
CN105847456B (en) A kind of RS485 distributes address methods, devices and systems automatically
CN106873553B (en) Industrial internet operating system-based field device control management method and device
CN104994530B (en) More Wi-Fi internet of things equipment grouping collective's control system and method based on group MAC Address
CN105515853A (en) Wireless network node and state update method thereof
CN102710809B (en) Address distribution method
CN110912813A (en) Gateway supporting multiple protocols, control method and event reporting method
CN112291386B (en) Bluetooth address allocation method of intelligent lamp, computer device and computer readable storage medium
CN102694882B (en) The group address distribution method of smart machine in intelligent home network
CN105353641A (en) Smart home control system
CN102447746B (en) Information supply method, family gateway and family network system
CN106054695A (en) Remote control method and system of intelligent equipment, and intelligent equipment
CN103209183A (en) Method for equipment registration based on digital home network
CN102685273B (en) The address distribution method of smart machine
CN105389278A (en) CAN bus based serial communication method for master and slave machines
CN102694883A (en) Address distribution method and equipment for intelligent household network
CN102694881B (en) The address distribution method of smart machine
CN113286313B (en) Hardware equipment layout method and device
CN103227740A (en) Equipment registration method based on digital home network
CN110493338A (en) A kind of equipment mutual control method, system and computer readable storage medium
CN108366120A (en) A kind of internet-of-things terminal management method and device
EP3753376A1 (en) Commissioning method and apparatus with controlled joining mode
CN108322372A (en) Smart home is wirelessly connected hardware bridge device
CN108134858A (en) Network-building method, server, client computer and network 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220308

Address after: 515041 No.111, 1st floor, building a, 68 Songshan Road, Shantou City, Guangdong Province

Patentee after: Guangdong intechu intelligent Catering Management Co.,Ltd.

Address before: 515644 No. 2, Yimin Road 1st lane, Jinye Li, Caitang Town, Chao'an county, Chaozhou City, Guangdong Province

Patentee before: Chen Ziping

TR01 Transfer of patent right