CN103188821B - The method of a kind of network equipment binding, the method for communication, Apparatus and system - Google Patents

The method of a kind of network equipment binding, the method for communication, Apparatus and system Download PDF

Info

Publication number
CN103188821B
CN103188821B CN201110453845.2A CN201110453845A CN103188821B CN 103188821 B CN103188821 B CN 103188821B CN 201110453845 A CN201110453845 A CN 201110453845A CN 103188821 B CN103188821 B CN 103188821B
Authority
CN
China
Prior art keywords
gateway
equipment
binding
packet
entry
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.)
Expired - Fee Related
Application number
CN201110453845.2A
Other languages
Chinese (zh)
Other versions
CN103188821A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110453845.2A priority Critical patent/CN103188821B/en
Priority to PCT/CN2012/075773 priority patent/WO2013097400A1/en
Publication of CN103188821A publication Critical patent/CN103188821A/en
Application granted granted Critical
Publication of CN103188821B publication Critical patent/CN103188821B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method embodiments providing the binding of a kind of network equipment, first equipment, the first gateway are ZIGBEE communication node, first gateway, according to the first equipment and the bind request of the second equipment, sets up the first binding entry for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway;First gateway, according to this bind request, sends binding message to the second gateway, so that the second gateway sets up the second binding entry for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway according to this binding message.The embodiment of the present invention additionally provides the method for communication, Apparatus and system.By the embodiment of the present invention, the first equipment sets up binding relationship to communicate by the first gateway of servicing for it with the second equipment being positioned in the range of the second gateway service, improves communication efficiency.

Description

The method of a kind of network equipment binding, the method for communication, Apparatus and system
Technical field
The present invention relates to communication technical field, particularly relate to the method for a kind of network equipment binding, the method for communication, device And system.
Background technology
ZigBee wireless sensor network technology be one closely, low complex degree, low-power consumption, low data rate and cost Wireless communication technology.ZigBee is that communication protocol based on IEEE 802.15.4 standard development is opened, and is operated in 868/ The industry of 915MHz and 2.4GHz, science and medical equipment (ISM) radio wave band.ZigBee has radius and is 10 to 100 meters Transmission range, and support 20 to the transmitted data rates of 250Kbps.The most each ZigBee coordinator could support up 255 Equipment, a ZigBee-network the most at most can support 65535 equipment.Zigbee standard defines Internet and application layer protocol (overall referred to as Zigbee standard or Zigbee protocol stack), is mainly used in supporting application.Internet defines and joins and departs from net The method of network, and the method sending a message to suitable destination.Internet is also responsible for looking for and safeguard internodal multi-hop road Footpath, searches and stores neighborhood information.For network coordinator, Internet also needs to be responsible for: initiates and safeguards a net Network and the every network parameter of setting;For adding network equipment distribution address specification network address distribution principle.Zigbee applies Layer (APL) comprises application support sublayer (APS), application framework (AF), Zigbee equipment control and concrete application.Generally Concrete application all realizes in application framework, and application framework provides interface for application and APS.Son is supported in application Layer, for providing interface between Internet and application, safeguards the corresponding relation between two network node applies objects of the service of establishment. When there being message to enter Zigbee equipment, application support sublayer is responsible for being transferred to message appropriate application.Zigbee equipment The management affairs of total system are responsible in management specially.The most each application needs corresponding one with application support sublayer communication Endpoint, endpoint are equivalent to the exclusive port numbers of this application or IP address, are used for distinguishing and identifying difference Application.241 endpoint supported by one Zigbee protocol stack, and wherein endpoint 0 keeps for ZigBee equipment pair As using, endpoint1~240 distributes to different applications and uses.
ZigBee application layer defines binding mechanism, and it is source endpoint or bunch mark cluster ID and purpose Establish unidirectional logic between endpoint to connect so that the communication between application becomes convenient.The most same Node A in the network of ZigBee communicates with node C, is set up by ZIGBEE APS layer and ties up between node A and node C Fixed, after binding, node A just can send APS message to C in the case of the address that need not know node C and port, right Clear and definite in destination node, and need to keep the unidirectional long scene connecting (connecting object can be one group of equipment), this characteristic is outstanding For important.
APS layer allows ZigBee equipment to be from given source endpoint and with the frame of a given cluster ID, sets up One designated destination.A concrete end points on each concrete equipment of the object representations specified, or a multicast group address.
In the prior art, the equipment being positioned at different gateway can not carry out BOUND communication each other, and communication efficiency is the highest.
Summary of the invention
Embodiments providing the method for a kind of network equipment binding, the method for communication, Apparatus and system, first sets Standby the first gateway by servicing for it sets up binding relationship to enter with the second equipment being positioned in the range of the second gateway service Row communication, improves communication efficiency.
The method embodiments providing the binding of a kind of network equipment, the first equipment is in the service of described first gateway Within the scope of, described second equipment is within the service area of described second gateway, and described first equipment, the first gateway are ZIGBEE communication node, described method includes: described first gateway receives the bind request from described first equipment;Described One gateway, according to described bind request, sets up the first binding entry of described first equipment and described second equipment;Described first Binding entry is for recording the corresponding relation between described first equipment, the first gateway, the second equipment, the second gateway;Described One gateway according to described bind request, sends binding message to described second gateway so that described second gateway according to described in tie up Determine message and set up the second binding entry of described first equipment and described second equipment;Described second binding entry is used for recording institute State the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway.
The embodiment of the present invention additionally provides a kind of method of network device communications, and described first equipment is at described first gateway Service area within, described second equipment within the service area of described second gateway, described first equipment, the first gateway For ZIGBEE communication node, described first gateway storage has the first binding entry, described first binding entry to be used for recording described Corresponding relation between first equipment, the first gateway, the second equipment, the second gateway;Described second gateway storage has the second binding Entry, described second binding entry is right for record between described first equipment, the first gateway, the second equipment, the second gateway Should be related to;The method of described network device communications includes: described first gateway receives the packet from described first equipment;Root The the first binding bunch mark included according to described packet, obtains described second gateway address from the first binding entry;According to Described second gateway address, sends described packet to described second gateway, so that described second gateway receives described first net The packet closed, the first binding bunch mark included according to described packet obtains described second from the second binding entry and sets Standby address;According to described second device address, send described packet to described second equipment.
The embodiment of the present invention additionally provides a kind of gateway, and described gateway is that the first equipment provides service, described gateway, first Equipment is ZIGBEE communication node, and described gateway includes: first receives unit, for receiving the binding from described first equipment Request;First binding unit, for according to described bind request, sets up described first equipment and ties up with the first of described second equipment Determine entry;Described first binding entry is for recording between described first equipment, described gateway, the second equipment, the second gateway Corresponding relation;First transmitting element, for according to described bind request, sending binding message to described second gateway, so that institute State the second gateway and set up the second binding entry of described first equipment and described second equipment according to described binding message;Described Two binding entries are for recording the corresponding relation between described first equipment, described gateway, the second equipment, the second gateway.
The embodiment of the present invention additionally provides a kind of gateway, and described gateway provides service for the second equipment, and described gateway includes: Second receives unit, for receiving the binding message from the first gateway;Second binding unit, for according to described binding message Set up the second binding entry of described first equipment and described second equipment;Described second binding entry is used for recording described first Corresponding relation between equipment, the first gateway, the second equipment, the second gateway.
The embodiment of the present invention additionally provides a kind of gateway, and described gateway is that the first equipment provides service, described gateway, first Equipment is ZIGBEE communication node, and described gateway includes: the 3rd receives unit, for receiving the data from described first equipment Bag;3rd address acquisition unit;The first binding bunch for including according to described packet is identified in the first binding entry Obtain described second gateway address;3rd transmitting element, for sending described packet to described second gateway, so that described the Two gateways receive the packet of described first gateway, bind according to the first binding bunch mark road second that described packet includes Entry obtains described second device address;Described packet is sent to described second equipment.
The embodiment of the present invention additionally provides a kind of gateway, and described gateway provides service for the second equipment, and described gateway includes; 4th receives unit, for receiving the packet of described first gateway;4th address acquisition unit, for according to described packet The the first binding bunch mark road second included is bound entry and is obtained described second device address;4th transmitting element, for Described second equipment sends described packet.
The embodiment of the present invention additionally provides a kind of network system, it is characterised in that described system includes: the first equipment, the One gateway, the second equipment and the second gateway, wherein: described first equipment is within the service area of described first gateway, described Second equipment is within the service area of described second gateway, and described first equipment, the first gateway are ZIGBEE communication node;Institute State the first equipment, for sending bind request to the first gateway;Described first gateway, receives the binding from described first equipment Request;Described first gateway, according to described bind request, sets up the first binding bar of described first equipment and described second equipment Mesh;Described first binding entry is for recording the correspondence between described first equipment, the first gateway, the second equipment, the second gateway Relation;Described first gateway, according to described bind request, sends binding message to described second gateway, so that described second gateway The second binding entry of described first equipment and described second equipment is set up according to described binding message;Described second binding entry For recording the corresponding relation between described first equipment, the first gateway, the second equipment, the second gateway;Described second gateway, uses In receiving the binding message from described first gateway, set up described first equipment according to described binding message and set with described second The second standby binding entry;Described second binding entry be used for recording described first equipment, the first gateway, the second equipment, second Corresponding relation between gateway;Described second equipment, for setting up binding relationship with the first equipment.
The embodiment of the present invention additionally provides a kind of network system, it is characterised in that described system includes: the first equipment, the One gateway, the second equipment and the second gateway, wherein: the first equipment within the service area of described first gateway, described second Equipment is within the service area of described second gateway, and described first equipment, the first gateway are ZIGBEE communication node;Described One equipment, for sending packet to the first gateway;Described first gateway, for receiving the data from described first equipment Bag;The the first binding bunch mark included according to described packet, obtains described second gateway address from the first binding entry; According to described second gateway address, send described packet to described second gateway;Described second gateway, for receiving from institute Stating the packet of the first gateway, the first binding bunch mark included according to described packet, from described second binding entry Obtain described second device address;Described packet is sent to described second equipment;Described second equipment, for receiving from institute State the packet of the second gateway, communicate with described first equipment.
Embodiments provide the method for a kind of network equipment binding, the method for communication, Apparatus and system, the first net Close according to described bind request, set up the first binding entry of described first equipment and described second equipment;Described first binding Entry is for recording the corresponding relation between described first equipment, the first gateway, the second equipment, the second gateway;To described second Gateway sends binding message, sets so that described second gateway sets up described first equipment according to described binding message with described second The second standby binding entry;Described second binding entry be used for recording described first equipment, the first gateway, the second equipment, second Corresponding relation between gateway, by the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at second The second equipment in the range of gateway service sets up binding relationship to communicate, and improves communication efficiency.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be some embodiments of the present invention, for ability From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the schematic diagram not communicated under prior art;
Fig. 2 is to use the beneficial effect schematic diagram of communication after the embodiment of the present invention;
Fig. 3 is that the embodiment of the present invention 1 binding service WSNConnection sets up process schematic;
Fig. 4 is the data transmission procedure schematic diagram after the embodiment of the present invention 1 sets up binding service;
Fig. 5 be the present invention implement 2 bindings service WSNConnection set up process schematic;
Fig. 6 is the data transmission procedure schematic diagram after the embodiment of the present invention 2 sets up binding service;
Fig. 7 is that the embodiment of the present invention 3 binding service WSNConnection sets up process schematic;
Fig. 8 is the data transmission procedure schematic diagram after the embodiment of the present invention 3 sets up binding service;
Fig. 9 is the communication scheme of the embodiment of the present invention 4.
Figure 10 is the schematic diagram of a kind of gateway in the embodiment of the present invention 5.
Figure 11 is the schematic diagram of another kind of gateway in the embodiment of the present invention 5.
Figure 12 is the schematic diagram of a kind of gateway in the embodiment of the present invention 6.
Figure 13 is the schematic diagram of another kind of gateway in the embodiment of the present invention 6.
Figure 14 is the schematic diagram of a kind of network equipment binding system in the embodiment of the present invention 7.
Figure 15 is the schematic diagram of another kind of network equipment binding system in the embodiment of the present invention 7.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
A) explanation of nouns
PAN:Personal Area Network, individual territory net.
GW:Gateway, gateway, it has certain network management capabilities, can safeguard network in its compass of competency Management information (including network topology, the network information of node, information on services etc.) the ZigBee node being responsible in network Access the borde gateway (such as IP network) of other networks.
EP:Endpoint, the port in ZigBee-network, corresponding a kind of logical device, the datagram in ZigBee-network Literary composition is all to be completed by the port on each equipment.
Binding: binding, ZigBee a kind of communication mode end to end, when two ports in ZigBee-network are set up After binding relationship, (mode 0 of APS) can communicate by the way of Binding.
Binding Table: be maintained in the binding mapping relation after certain equipment, APS mode 0 communicates, and needs to pass through Inquire about this binding table to obtain destination address and Endpoint address, and send data.
One attribute of Cluster: binding table, for specification binding communication specification (Cluster of ZigBee be for Specification a pile attribute and the set of order).
In WPAN (Wireless Personal Network) network, gateway is an IP outlet device in this network, this Outside ZigBee node (node 1) in WPAN is if had with other ZigBee nodes (node 2) in network or this WPAN Another one ZigBee node (node 3) communication time, we can set up in the APS binding table of node 1 one arrive joint Point 2 and the binding entry Binding Entry of node 3, such node 1 and node 2 or node 3 communicate, it is possible to directly Complete, without carrying node 2 and the destination address of node 3 in the load, such as Fig. 1, figure by the way of binding Binding Shown in 2.By the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
Binding technology involved by the embodiment of the present invention is the binding of a kind of spanning gateway, implements and includes following reality Execute example:
1, the source and destination node of binding the ZigBee gateway different with two for outlet:
A) two ZigBee gateways are in same WPAN,
B) two ZigBee gateways in different WPAN (WPAN1, WPAN2).
2, the source and destination node of Binding, one in ZigBee-network, another is in non-ZigBee-network.
3, the destination node of Binding is multiple node (being respectively present in multiple WPAN).
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
The embodiment of the present invention one
1) initial condition
A) node A (the first equipment) needs and the binding business of node B (the second equipment), and such as A is that Central Control Room is opened Closing, B is certain street lamp outdoor, and A needs to set up binding business, gateway A (the first gateway) and gateway B (the second gateway) same with B In one ZigBee-network, node A is in the service area of gateway A, and claiming gateway A is the gateway (being called for short GW1) of node A, A and GW1 is ZIGBEE communication node.Gateway B is the gateway (GW2) of node B, when GW1 finds that node A needs to set up and joint After the binding business of some B, (such as A is Central Control Room switch, and B is certain street lamp outdoor, A with B can not directly communicate or directly communicate Expense is very big, then A and B through consultation and informs GW1);
B) node A and node B is belonging respectively to different GW;
C) Binding relation is ordered about by business, the gateway of a side initiate the foundation of binding;
D) assuming that the Endpoint on node A is EP1, the Endpoint on node B is EP2.
2) binding is set up process and is included: the first gateway (gateway A) receives the bind request from the first equipment (node A);
First gateway, according to this bind request, sets up the first binding entry of the first equipment and the second equipment (node B);Should First binding entry is for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway (gateway B); First gateway according to this bind request, sends binding message to the second gateway, so that the second gateway sets up the according to binding message One equipment and the second binding entry of the second equipment;This second binding entry for record the first equipment, the first gateway, second set Corresponding relation between standby, the second gateway.
Second gateway receives the binding message from the first gateway, sets up the first equipment and second according to this binding message and sets The second standby binding entry;This second binding entry for record the first equipment, the first gateway, the second equipment, the second gateway it Between corresponding relation.
Further, this bind request includes: the address information of the first equipment, the address information of the second equipment;This is first years old Binding entry includes: the address information of the first equipment, the first gateway address information, the second gateway address information;Second equipment Address information, and the first binding bunch mark;First binding bunch mark is closed for the binding of mark the first equipment and the second equipment System;This binding message includes: the address information of the first equipment, the first gateway address information, the first gateway address information, and second sets Standby address information, and the first binding bunch mark;
Second binding entry includes: the first gateway address information, the address information of the first equipment, the address letter of the second equipment Breath, the address information of the second gateway, and the first binding bunch mark.
Further, address information includes: the network address or physical address or port numbers or Subnet Identification.
Optionally, receive after the binding message of the first gateway at the second gateway, also include: the second gateway is to first Gateway sends binding response message.
Further, the second gateway address information, the second device address are multicast group address information, are used for realizing single Multicast group binding relationship between first equipment and multiple second equipment.
Further, the first gateway address information, the first device address are multicast group address information, are used for realizing multiple First equipment is bound to the multicast group between single second equipment or is used for realizing multiple first equipment to multiple second equipment Between multicast group binding.
Further, the binding message that the second gateway receives from the first gateway includes:
Second gateway passes through virtual ZIGBEE node and the port reception binding message from the first gateway to realize not With the node communication between agreement.
The most as shown in Figure 3.
A) GW1 is firstly the need of a locally registered new Endpoint (EPA), and sets up the binding of EPA and EP1:
The application layer of i.GW1 sends Bind_req order to APS layer,
After the APS layer of ii.GW1 receives Bind_req, a binding table entry (Binding can be locally generated Entry), the form of Binding Entry is:
S, e, c}={{a, e}, and a, e} ..., { a, e}}, wherein { s in s, e, c} is the ZigBee address of GW1 (Network Address), e be EPA, c be Cluster ID;A, e}, and a, e} ..., { a, e}} in the present embodiment can be real Example turn to the address of node A, EP1},
B) address of GW1 query node B:
I. (the unprotected service discovery and looking in the present embodiment by searching to other gateways (GWs) broadcast mode Look for method),
Ii. the gateway GW2 obtaining node B afterwards is found.
C) GW1 initiates to bind to set up to GW2 and orders CreateConnection.request:
I. this order comprises the address of node A, No. Endpoint of node A, the address of node B, node B No. Endpoint and bunch mark ClusterID of binding,
D) GW2 receives the process of CreateConnection.indication:
I.GW2 is firstly the need of a locally registered new Endpoint (EPB), and sets up the binding of EPB Yu EP2, builds Cube method with a) identical,
Ii.EPB Yu EP2 binding be successfully established after, GW2 reply CreateConnection.response to GW1,
Iii.GW2 can serve the binding service listings of binding between EP1 and EP2 at locally created one (WSNConnection Entry), it is described as follows:
WSNConnections be between ZigBee node or between ZigBee node and non-ZigBee node based on across The peer-entities of gateway binds, safeguards each attribute that binding connects, and these attributes include:
Local Endpoint, local service port, for receiving the data bound in network based on this, this port is with tying up Fixed foundation is set up simultaneously;
Local Binding Entry, s, e, c}={{a, e}, a, e} ..., { a, e}} safeguard that gateway this locality is bound Table, the effect of this table is to send binding message in Home Network;
Local PANID, local network ID;
Remote Binding Table, { s, e, c}={{url, dstPANID, dstAddress, dstEndpoint} Or ipaddr, port}, dstPANID, dstAddress, dstEndpoint} ..., url, dstPANID, DstAddress, dstEndpoint}} wherein url is with { ipaddr, port} describe purpose gateway address (being not limited to IP connect);
Dst PANID, describes purpose PAN address, for realizing across PAN communication, including PANID and ExPANID;
DstAddress, describes destination node address, including IEEEAddress, NetworkAddress and AliasAddress;
DstEndpoint, for descriptive purposes port numbers;
Wherein the example of Local Endpoint is EPB;
Local Binding Entry can example be: the ZigBee address of GW2, EPB, Cluster ID}={B's ZigBee address, EP2},
Local PANID is that a territory network mark is known, and is not directed in the present embodiment;
Remote Binding Table can be instantiated as: and the ZigBee address of B, EP2, Cluster ID}={GW1 Url address, the mark of GW1 place PAN, the address of node A, EP1},
E) GW1 receives CreateConnection.confirm post processing:
I.GW1 can serve the binding service listings of binding between EP1 and EP2 at locally created one (WSNConnection Entry), its form is same as above,
Wherein the example of Local Endpoint is EPA;
Local Binding Entry can example be: the ZigBee address of GW1, EPA, Cluster ID}={A's ZigBee address, EP1},
Local PANID is that a territory network mark is known, and is not directed in the present embodiment;
Remote Binding Table can be instantiated as: and the ZigBee address of A, EP1, Cluster ID}={GW2 Url address, the mark of GW2 place PAN, the address of node B, EP2}.
(2) utilizing binding to communicate, the first equipment is within the service area of the first gateway, and the second equipment is Within the service area of two gateways, the first equipment, the first gateway are ZIGBEE communication node, and the first gateway storage has the first binding Entry, the first binding entry is for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway;The Two gateway storages have the second binding entry, the second binding entry for record the first equipment, the first gateway, the second equipment, second Corresponding relation between gateway;The method of network device communications includes:
First gateway receives the packet from the first equipment;The the first binding bunch mark included according to packet, from First binding entry obtains the second gateway address;According to the second gateway address, send packet to the second gateway, so that second Gateway receives the packet of the first gateway, obtains from the second binding entry according to the first binding bunch mark that packet includes Second device address;According to the second device address, to the second equipment sending data bag.
Further, bind request includes: the address information of the first equipment, the address information of the second equipment;First binding Entry includes: the address information of the first equipment, the first gateway address information, the second gateway address information;The address of the second equipment Information, and the first binding bunch mark;First binding bunch mark is for mark the first equipment and the binding relationship of the second equipment;Tie up Determine message to include: the address information of the first equipment, the first gateway address information, the first gateway address information, the ground of the second equipment Location information, and the first binding bunch mark;
Second binding entry includes: the first gateway address information, the address information of the first equipment, the address letter of the second equipment Breath, the address information of the second gateway, and the first binding bunch mark.
Further, address information includes: the network address or physical address or port numbers or Subnet Identification.
Optionally, receive after the binding message of the first gateway at the second gateway, also include: the second gateway is to first Gateway sends binding response message.
Further, the second gateway address information, the second device address are multicast group address information, are used for realizing single Multicast group binding relationship between first equipment and multiple second equipment.
Further, the first gateway address information, the first device address are multicast group address information, are used for realizing multiple First equipment is bound to the multicast group between single second equipment or is used for realizing multiple first equipment to multiple second equipment Between multicast group binding.
Further, the binding message that the second gateway receives from the first gateway includes:
Second gateway passes through virtual ZIGBEE node and the port reception binding message from the first gateway to realize not With the node communication between agreement.
The most as shown in Figure 4.
A) A to GW1
I.A sends packet (Message) by APS mode 0 (Binding mode) or mode 2 (Unicast mode) and arrives The EPA (explanation: must be transmitted to EPA) of GW1,
B) GW1 to GW2
EPA on i.GW1 receives the packet from node A, then inquiry WSNConnection table, finds coupling Entry, then go to step ii, otherwise abandon this packet and go to step iii,
If ii. the Message of step a) needs Default Response, then GW1 acts on behalf of B node and replys this Default Response order, goes to step iv and is sent to GW2,
If iii. not inquiring corresponding Entry, then abandon this Message,
Iv.GW1 transmits packets to GW2 by Data.request.
C) GW2 to node A
After i.GW2 receives Data.indication, the srcep_id of storage in the local WSNConnection of inquiry EPB is obtained with cluster ID,
Ii.GW2 sends the message of APS mode 0 by EPB, and Message is sent to node B,
If iii. this Message supports Default Response, then Node-B receiver can produce after Message This Default Response, and it is sent to GW2, now GW2 agent node A processes this message.
D), after node B has processed the Message that node A sends, Response Message may be produced
This Response Message is replied to the EPB of GW2 (response of ZigBee is backtracking) by i.B,
Ii.GW2 is then forwarded to GW1 equally,
Iii.GW1 is sent to A,
Communication completes.
In the embodiment of the present invention, it is possible to achieve the first equipment is taken with being positioned at the second gateway by the first gateway serviced for it The second equipment in the range of business communicates after setting up binding relationship, improves communication efficiency.
The embodiment of the present invention two
(1) binding relationship is set up, as shown in Figure 5.
When a ZigBee gateway is bound with another ZigBee gateway, two gateways belong to different ZigBee net Network.
1, gateway A (the first gateway) and gateway B (the second gateway) are in different ZigBee-networks, and (first sets node A Standby) in the service area of gateway A, claiming gateway A is the gateway (being called for short GW1) of node A, and in like manner, gateway B is node B (second Equipment) gateway (GW2), when GW1 find node A need to set up with the binding business of node B after (such as A is middle control Room switchs, and B is certain street lamp outdoor, A with B can not directly communicate or direct communication overhead is very big, then A and B through consultation and informs GW1), GW1 can build a new ZigBee Endpoint (being designated as EPA);
2, gateway A is by ZDP order, sends Bind_req order to APS layer, sets up an EPA to node A in GW1 Binding table entry (Binding Entry), and to node B gateway GW2 send one CreateConnection.request order, this command parameter includes the address of node A, port numbers, the address of node B, end Slogan and bunch mark (ClusterID) of binding, PANID and ExPANID of gateway A.
3, after GW2 receives the CreateConnection.request order of GW1, GW2 can set up one new ZigBee Endpoint (is designated as EPB), and sets up a binding table entry (Binding Entry) to node B, and replys CreateConnection.response order, to GW1, replys PANID and ExPANID that should comprise GW2 in packet;
4, GW2 is after sending CreateConnection.response order, can serve A-at locally created one The binding service listings (WSNConnection Entry) of B and B-A data communication, same, GW1 is receiving GW2's After CreateConnection.response order, service listings can be bound at locally created one.
(2) binding is used to communicate, as shown in Figure 6.
1, A (the first equipment) sends the message port (EPA) to GW1 by APS_DATA_REQ, or is sent by bind Port (if A and GW1 sets up binding relationship) to GW1 (the first gateway)
2, the EPA port on GW1 receives the message that A in step 1 sends, then the source address of detection messages and source port, If message addresses mates, then GW1 sends message by WSNConnection, if the message support that in step 1, A sends Default response, then GW1 agent node B replys this Response;If the source address of detection messages or port and this Ground WSNConnection does not mates, then abandon this message;
3, GW2 (the second gateway) looks into according to srcep_id, ClusterID and the PANID of storage in WSNConnection Look for the binding table of GW2 and B node, and by pattern 0 mode of APS, message is ultimately sent to B (the second equipment), if this life Default Response is supported in order, then GW2 agent node A receives and processes this Response;
4, after node B has processed the message that node A sends, produce Response order, returned by the source address received Multiple to the EPB port of gateway B, GW2 judge be node B to the reply message of node A after, pass through WSNConnection Being sent to the local WSNConnection of GW1, GW1 inquiry and again this reply is sent to A, communication completes.
GW1 (the first gateway) and GW2 (the second gateway), not in same WPAN, sets up the process and embodiment one connected Essentially identical, it is a difference in that CreateConnection.request when, PANID and ExPANID two can be carried more Individual parameter;When setting up WSNConnection Entry, also the PAN ID of opposite end can be recorded at WSNConnection table In.In whole communication process in the APS_DATA_REQ message load of A, do not comprise any destination address, so for application layer For, for transparent transmission.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention three
When ZigBee gateway is bound with non-ZigBee gateway, the most virtual endpoint, then may be used To use the method identical with embodiment one and ZigBee gateway endpoint to set up binding relationship.
(1) binding relationship is set up, as shown in Figure 7.
Such as figure, gateway A be ZigBee gateway, gateway B be non-ZigBee gateway, can directly communicate between them, it is possible to To be a physical equipment (having the equipment of two kinds of communication interfaces), node B is a non-ZigBee node, when node B needs Set up with ZigBee node is connected and runs ZigBee business (such as, during Smart Energy applies, physical layer communication skill Art can be ZigBee equipment, it is also possible to is PLC device, and has described in the Profile of SE and much need both equipment warps The scene of normal open letter), we equally as the mode described in embodiment one, reduce because of address information by setting up binding The payload taken, concrete mode is as follows:
1, after ZigBee gateway discovery node A needs foundation and the binding business of node B, (such as A is that Central Control Room is opened Closing, B is certain street lamp outdoor, A with B can not directly communicate or direct communication overhead is very big, then A and B through consultation and informs GW1), GW1 can build a new ZigBee Endpoint (being designated as EPA), meanwhile, can set up a virtual ZigBee communication on gateway B Node (non-ZigBee node, but ZigBee message can be processed) and port (ZigBee Endpoint);
2, gateway A is by ZDP order, sends Bind_req order to APS layer, sets up an EPA to node A in GW1 Binding table entry (Binding Entry), and to gateway B send a CreateConnection.request order, this Command parameter includes bunch mark (ClusterID) of the address of node A, port numbers, the address of node B, port numbers and binding.
3, after gateway receives the CreateConnection.request order of GW1, reply CreateConnection.response;
4, GW2 is after sending CreateConnection.response order, can serve A-at locally created one The binding service listings (WSNConnection Entry) of B and B-A data communication, same, GW1 is receiving GW2's After CreateConnection.response order, service listings can be bound at locally created one.
(2) binding is utilized to communicate, as shown in Figure 8.
1, A sends the message port (EPA) to GW1 by APS_DATA_REQ, or is sent to the port of GW1 by bind (if A and GW1 sets up binding relationship)
2, the EPA port on GW1 receives the message that A in step 1 sends, then the source address of detection messages and source port, If message addresses mates, then GW1 sends message by WSNConnection, if the message support that in step 1, A sends Default response, then GW1 agent node B replys this Response;If the source address of detection messages or port and this Ground WSNConnection does not mates, then abandon this message;
3, gateway 2 mates the packet received according to srcep_id and clusterID, if the match is successful, then locates Manage this message, and be sent to node B.
4, after node B has processed the message of node A, producing Response order, be sent to gateway 2, gateway 2 passes through again WSNConnection is sent to gateway 1, and this reply is sent to A by GW1 inquiry local WSNConnection again, and communication completes.
In whole communication process in the APS_DATA_REQ message load of A, do not comprise any destination address, so for answering For layer, for transparent transmission.
Embodiment three is to belong to ZigBee-network across networks of different protocol communication, i.e. GW1, and GW2 is not belonging to ZigBee net Network, sets up the process that binding connects essentially identical with embodiment one, is a difference in that first to set up one in GW2 virtual ZigBee node.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention four
Embodiment four is the extension of embodiment two, because binding table can bind multiple destination address, so being well suited for building Be based on the binding of multicast group, as shown in Figure 9.
Embodiment four is the comprehensive of first three embodiment, is also to multicast group binding and the one of WSNConnection Plant and implement, be specifically described as:
Assume communication source node (node A) be PANID be a node in the ZigBee-network of WPAN1 or virtual A dummy node in WPAN1 network, owing to business demand needs and ZigBee node (node B, the joint in WPAN2 network Point C), ZigBee node (node D) in WPAN3 network and non-ZigBee node (node E) communication (applied field of this embodiment Jing Wei, node A are the centralized control node of node B, C, D, E, and A needs the long-term connection kept with BCDE, and sends multicast report Literary composition).
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment (the second equipment is multiple multicast group nodes) set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention five
Embodiments providing a kind of gateway, as shown in Figure 10, gateway 100 is the first device service, this gateway 100 Being the first gateway, the first gateway, the first equipment are ZIGBEE communication node, and the first gateway includes: first receives unit 105, uses In receiving the bind request from the first equipment;First binding unit 101, for according to bind request, set up the first equipment with First binding entry of the second equipment;First binding entry is for record the first equipment, the first gateway, the second equipment, the second net Corresponding relation between pass;First transmitting element 103, for according to bind request, sending binding message to the second gateway, so that Second gateway sets up the second binding entry of the first equipment and the second equipment according to binding message;Second binding entry is for record Corresponding relation between first equipment, the first gateway, the second equipment, the second gateway.
Further, bind request includes: the address information of the first equipment, the address information of the second equipment;First binding Entry includes: the address information of the first equipment, the first gateway address information, the second gateway address information;The address of the second equipment Information, and the first binding bunch mark;First binding bunch mark is for mark the first equipment and the binding relationship of the second equipment;
Binding message includes: the address information of the first equipment, the first gateway address information, the second gateway address information, the The address information of two equipment, and the first binding bunch mark;
Second binding entry includes: the first gateway address information, the address information of the first equipment, the address letter of the second equipment Breath, the address information of the second gateway, and the first binding bunch mark.
Further, address information includes: the network address or physical address or port numbers or Subnet Identification.
Further, the second gateway address information, the second device address are multicast group address information, are used for realizing single Multicast group binding relationship between first equipment and multiple second equipment.
Further, the first gateway address information, the first device address are multicast group address information, are used for realizing multiple First equipment is bound to the multicast group between single second equipment or is used for realizing multiple first equipment to multiple second equipment Between multicast group binding.
The embodiment of the present invention additionally provides another kind of gateway, and as shown in figure 11, gateway 110 is the second device service, this net Closing 110 is the second gateway, and the second gateway includes: second receives unit 111, for receiving the binding message from the first gateway; Second binding unit 113, for setting up the second binding entry of the first equipment and the second equipment according to binding message;Second binding Entry is for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway.
Optionally, the second gateway also includes: the second response unit, for receiving the binding message from the first gateway Afterwards, response message is sent to described first gateway.
Optionally, the second gateway also includes: the second dummy unit, for being received by virtual ZIGBEE node and port From the binding message of the first gateway to realize the node communication between different agreement.
Concrete, the gateway GW1 of node A finds that node A needs and node B, and C, D, E communicate, then GW1 can be new Build a ZigBee Endpoint (EPA), and safeguard the WSNConnection of and the port binding of node A, should The structure of WSNConnection is described as follows:
Upper Interface connects high-rise connection management entity, this entity for by far-end ZigBee endpoint or The virtual ZigBee endpoint mirror image of other communication modes (such as ZigBee over Mm-ware) in this locality, Upper Interface direct interaction ZigBee APS layer data.
Connection Management is used for managing binding and connects, and has been responsible for setting up binding, deleting binding, transmitting-receiving Data etc. operate.Connection Management supports primitive, and primitive communication between objects uses request- The mode of response, including Request, Response, Confirm, Indication:
Wherein CreateConnection is for setting up the Connection Entry of two binding inter-entity; DeleteConnection is used for deleting this Connection;AddDestAddr is in equity Connection Entries Increasing new binding table entry, such as, in former binding table, bound content only comprises a destination address, by this order, permissible Group's binding is realized on the basis of original binding;Listener is used for monitoring each WSNConnection callback command;Data For transmitting the APS message of binding inter-entity.
WSNConnections be between ZigBee node or between ZigBee node and non-ZigBee node based on across The peer-entities of gateway binds, safeguards each attribute that binding connects, and these attributes include:
Common Interface is that the APS/ZDP of Connection Middleware with ZigBee makes an excuse alternately, completes Necessary cross-layer data (such as ExPan ID, PANID, IEEE ADDR etc.) and process across Physical layer protocol data and send.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention six
As shown in figure 12, embodiments providing a kind of gateway 120, this gateway 120 is the first gateway, and first sets Standby within the service area of the first gateway, the second equipment within the service area of the second gateway, the first equipment, the first gateway For ZIGBEE communication node, the first gateway receives the bind request from the first equipment, and bind request is used for setting up the first equipment Binding relationship with the second equipment;This gateway, according to bind request, sets up the first binding entry of the first equipment and the second equipment; First binding entry is for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway;First net Close according to bind request, send binding message to the second gateway so that the second gateway according to binding message set up the first equipment with Second binding entry of the second equipment;Second binding entry is for record the first equipment, the first gateway, the second equipment, the second net Corresponding relation between pass;
First gateway includes: the 3rd receives unit 121, for receiving the packet from the first equipment;3rd address is obtained Take unit 123;The first binding bunch for including according to packet is identified in the first binding entry obtain the second gateway ground Location;3rd transmitting element 125, for sending packet to the second gateway, so that the second gateway receives the packet of the first gateway, The the first binding bunch mark road second included according to packet is bound entry and is obtained the second device address;Send to the second equipment Packet.
Further, bind request includes: the address information of the first equipment, the address information of the second equipment;First binding Entry includes: the address information of the first equipment, the first gateway address information, the second gateway address information;The address of the second equipment Information, and the first binding bunch mark;First binding bunch mark is for mark the first equipment and the binding relationship of the second equipment;
Binding message includes: the address information of the first equipment, the first gateway address information, the second gateway address information, the The address information of two equipment, and the first binding bunch mark;Second binding entry includes: the first gateway address information, first sets Standby address information, the address information of the second equipment, the address information of the second gateway, and the first binding bunch mark.
Further, address information includes: the network address or physical address address or port numbers or Subnet Identification.
As shown in figure 13, the embodiment of the invention also discloses a kind of gateway 130, this gateway 130 is the second gateway, and first sets Standby within the service area of the first gateway, the second equipment within the service area of the second gateway, the first equipment, the first gateway For ZIGBEE communication node, the first gateway receives the bind request from the first equipment, and bind request is used for setting up the first equipment Binding relationship with the second equipment;First gateway, according to bind request, sets up the first binding bar of the first equipment and the second equipment Mesh;First binding entry is for recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway;First Gateway, according to bind request, sends binding message to the second gateway, so that the second gateway sets up the first equipment according to binding message The second binding entry with the second equipment;Second binding entry for record the first equipment, the first gateway, the second equipment, second Corresponding relation between gateway;
Second gateway includes: the 4th receives unit 131, for receiving the packet of the first gateway;4th address acquisition list Unit 133, the first binding bunch mark road second for including according to packet is bound entry and is obtained the second device address;4th Transmitting element 135, for the second equipment sending data bag.
Optionally, the second gateway also includes: the 4th response unit, for sending packet to the first gateway.
Optionally, the second gateway also includes: the 4th dummy unit, for being received by virtual ZIGBEE node and port From the packet of the first gateway to realize the equipment communication between different agreement.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention seven
The embodiment of the present invention additionally provides a kind of network system, and as shown in figure 14, the first equipment 141 is at the first gateway 140 Service area within, the second equipment 151 is within the service area of the second gateway 150, and the first equipment, the first gateway are ZIGBEE communication node, this system includes: the first equipment, and for sending bind request to the first gateway, bind request is used for building Vertical first equipment and the binding relationship of the second equipment;First gateway, for receiving the bind request from the first equipment;According to tying up Fixed request, sets up the first binding entry of the first equipment and the second equipment;First binding entry for record the first equipment, first Corresponding relation between gateway, the second equipment, the second gateway;According to bind request, send binding message to the second gateway, so that Second gateway sets up the second binding entry of the first equipment and the second equipment according to binding message;Second binding entry is for record Corresponding relation between first equipment, the first gateway, the second equipment, the second gateway;Second gateway, for receiving from the first net The binding message closed, sets up the second binding entry of the first equipment and the second equipment according to binding message;Second binding entry is used In the corresponding relation recorded between the first equipment, the first gateway, the second equipment, the second gateway;Second equipment, for setting with first For setting up binding relationship.
Further, the first gateway includes: first receives unit, for receiving the bind request from the first equipment, ties up Fixed request is for setting up the first equipment and the binding relationship of the second equipment;First binding unit, for according to bind request, sets up First equipment and the first binding entry of the second equipment;First binding entry for record the first equipment, the first gateway, second set Corresponding relation between standby, the second gateway;First transmitting element, for according to bind request, sending binding to the second gateway and disappear Breath, so that the second gateway sets up the second binding entry of the first equipment and the second equipment according to binding message;Second binding entry For recording the corresponding relation between the first equipment, the first gateway, the second equipment, the second gateway;Second gateway includes: second connects Receive unit, for receiving the binding message from the first gateway;Second binding unit, sets for setting up first according to binding message Standby the second binding entry with the second equipment;Second binding entry for record the first equipment, the first gateway, the second equipment, the Corresponding relation between two gateways.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
The embodiment of the present invention eight
The embodiment of the present invention additionally provides a kind of network system, and as shown in figure 15, the first equipment 161 is at the first gateway 160 Service area within, the second equipment 171 is within the service area of the second gateway 170, and the first equipment, the first gateway are ZIGBEE communication node, system includes: the first equipment, for sending packet to the first gateway;First gateway, for according to number It is identified in the first binding entry obtain the second gateway address according to the first binding bunch included;Data are sent to the second gateway Bag, so that the second gateway receives the packet of the first gateway, ties up according to the first binding bunch mark road second that packet includes Determine entry and obtain the second device address;To the second equipment sending data bag.Second gateway, for receiving the data of the first gateway Bag, the first binding bunch mark road second included according to packet is bound entry and is obtained the second device address;To the second equipment Send packet;Second equipment, for carrying out data communication with the first equipment.
Further, the first gateway includes:
3rd receives unit, for receiving the packet from the first equipment;3rd address acquisition unit;For according to number It is identified in the first binding entry obtain the second gateway address according to the first binding bunch included;3rd transmitting element, is used for Packet, so that the second gateway receives the packet of the first gateway, first included according to packet is sent to the second gateway Binding bunch mark road second is bound entry and is obtained the second device address;To the second equipment sending data bag;Second gateway includes: the Four receive unit, for receiving the packet of the first gateway;4th address acquisition unit, for include according to packet the One binding bunch mark road second is bound entry and is obtained the second device address;4th transmitting element, for sending number to the second equipment According to bag.
In the embodiment of the present invention, the first equipment by the first gateway of servicing for it be positioned at the second gateway service in the range of The second equipment set up binding relationship to communicate, improve communication efficiency.
Through the above description of the embodiments, those skilled in the art is it can be understood that can borrow to the present invention The mode helping software to add required common hardware realizes, and common hardware includes universal integrated circuit, universal cpu, common store Device, universal elements etc., naturally it is also possible to include special IC, dedicated cpu, private memory, specially by specialized hardware Realize with components and parts etc., but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the technology of the present invention The part that prior art is contributed by scheme the most in other words can embody with the form of software product, this computer Software product is stored in the storage medium that can read, such as the floppy disk of computer, hard disk or CD etc., including some instructions in order to Each is implemented to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the present invention The method of example.
The order of each step in above method embodiment can be adjusted according to reality application needs, each step Can need to be combined forming new scheme according to reality application.Unit, module in apparatus above embodiment are permissible Divide according to reality application needs, or reconfigure.
Above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any familiar Those skilled in the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims, according to the present invention The equivalent variations that claim is made, still belongs to the scope that the present invention is contained.

Claims (26)

1. the method for network equipment binding, it is characterised in that the first equipment within the service area of the first gateway, second Equipment is within the service area of the second gateway, and described first equipment, the first gateway are ZIGBEE communication node, described method bag Include:
Described first gateway receives the bind request from described first equipment;
Described first gateway, according to described bind request, sets up the first binding bar of described first equipment and described second equipment Mesh;Described first binding entry is used for recording described first equipment, described first gateway, described second equipment, described second net Corresponding relation between pass;
Described first gateway, according to described bind request, sends binding message to described second gateway, so that described second gateway The second binding entry of described first equipment and described second equipment is set up according to described binding message;Described second binding entry For recording the corresponding relation between described first equipment, described first gateway, described second equipment, described second gateway.
2. the method for network equipment binding as claimed in claim 1, it is characterised in that also include:
Described second gateway receives the binding message from described first gateway, sets up described first according to described binding message and sets Standby the second binding entry with described second equipment;Described second binding entry be used for recording described first equipment, described first Corresponding relation between gateway, described second equipment, described second gateway.
3. the method for network equipment binding as claimed in claim 1, it is characterised in that
Described bind request includes: the address information of described first equipment, the address information of described second equipment;
Described first binding entry includes: the address information of described first equipment, the address information of described first gateway,
The address information of described second gateway;The address information of described second equipment, and the first binding bunch mark;
Described first binding bunch mark is for identifying described first equipment and the binding relationship of described second equipment;
Described binding message includes: the address information of described first equipment, the address information of described first gateway, described second net The address information closed, the address information of described second equipment, and described first binding bunch mark;
Described second binding entry includes: the address information of described first gateway, the address information of described first equipment, described the The address information of two equipment, the address information of described second gateway, and described first binding bunch mark.
4. the method for network equipment binding as claimed in claim 3, it is characterised in that described address information includes: network ground Location or physical address or port numbers or Subnet Identification.
5. the method for network equipment binding as claimed in claim 1, it is characterised in that receive from institute at described second gateway After stating the binding message of the first gateway, also include:
Described second gateway sends binding response message to described first gateway.
6. the method for network equipment binding as claimed in claim 3, it is characterised in that the address information of described second gateway, The address information of the second equipment is multicast group address information, for realizing between single first equipment and multiple second equipment Multicast group binding relationship.
7. the method for network equipment binding as claimed in claim 3, it is characterised in that the address information of described first gateway, The address information of the first equipment is multicast group address information, for realizing multiple first equipment between single second equipment Multicast group is bound or is bound to the multicast group between multiple second equipment for realizing multiple first equipment.
8. the method for network equipment binding as claimed in claim 2, it is characterised in that described second gateway receives from described The binding message of the first gateway includes:
Described second gateway receives the binding message from described first gateway with reality by virtual ZIGBEE node and port Node communication between existing different agreement.
9. the method for a network device communications, it is characterised in that the first equipment within the service area of the first gateway, second Equipment is within the service area of the second gateway, and described first equipment, the first gateway are ZIGBEE communication node, described first net Close storage and have the first binding entry, described first binding entry be used for recording described first equipment, described first gateway, described the Corresponding relation between two equipment, described second gateway;Described second gateway storage has the second binding entry, described second binding Entry is for recording the corresponding pass between described first equipment, described first gateway, described second equipment, described second gateway System;
The method of described network device communications includes:
Described first gateway receives the packet from described first equipment;
The the first binding bunch mark included according to described packet, obtains described second gateway from described first binding entry Address;
According to described second gateway address, send described packet to described second gateway, so that described second gateway receives institute Stating the packet of the first gateway, the described first binding bunch mark included according to described packet, from described second binding bar Mesh obtains described second device address;According to described second device address, send described packet to described second equipment.
10. the method for network device communications as claimed in claim 9, it is characterised in that described method also includes: described second Gateway receives the packet of described first gateway, and the described first binding bunch mark included according to described packet, from described Second binding entry obtains described second device address;Described packet is sent to described second equipment.
The method of 11. network device communications as claimed in claim 10, it is characterised in that described second gateway receives described first The packet of gateway includes:
Described second gateway passes through virtual ZIGBEE node and the port reception packet from described first gateway to realize Equipment communication between different agreement.
12. 1 kinds of gateways, it is characterised in that described gateway provides service for the first equipment, and described gateway, described first equipment are ZIGBEE communication node, described gateway includes:
First receives unit, for receiving the bind request from described first equipment;
First binding unit, for according to described bind request, setting up the first binding bar of described first equipment and the second equipment Mesh;Described first binding entry is for recording between described first equipment, described gateway, described second equipment, the second gateway Corresponding relation;
First transmitting element, for according to described bind request, sending binding message to described second gateway, so that described second Gateway sets up the second binding entry of described first equipment and described second equipment according to described binding message;Described second binding Entry is for recording the corresponding relation between described first equipment, described gateway, described second equipment, described second gateway.
13. gateways as claimed in claim 12, it is characterised in that
Described bind request includes: the address information of described first equipment, the address information of described second equipment;
Described first binding entry includes: the address information of described first equipment, the address information of described gateway, described second net The address information closed;The address information of described second equipment, and the first binding bunch mark;A described first binding bunch mark is used for Identify described first equipment and the binding relationship of described second equipment;
Described binding message includes: the address information of described first equipment, the address information of described gateway, described second gateway Address information, the address information of described second equipment, and described first binding bunch mark;
Described second binding entry includes: the address information of described gateway, the address information of described first equipment, described second sets Standby address information, the address information of described second gateway, and described first binding bunch mark.
14. gateways as claimed in claim 13, it is characterised in that described address information includes: the network address or physically Location or port numbers or Subnet Identification.
15. gateways as claimed in claim 13, it is characterised in that the address information of described second gateway, the ground of the second equipment Location information is multicast group address information, closes for realizing the multicast group binding between single first equipment and multiple second equipment System.
16. gateways as claimed in claim 13, it is characterised in that the address information of described gateway, the address letter of the first equipment Breath is multicast group address information, binds to the multicast group between single second equipment for realizing multiple first equipment or uses Bind to the multicast group between multiple second equipment in realizing multiple first equipment.
17. 1 kinds of gateways, it is characterised in that described gateway provides service for the second equipment, and described gateway includes: second receives list Unit, for receiving the binding message from the first gateway;Described binding message is tying up of the first equipment of receiving of the first gateway Fixed request, and the binding message that described first gateway sends to the second gateway according to described bind request;
Second binding unit, for setting up the second binding entry of the first equipment and the second equipment according to described binding message;Institute State the second binding entry right for record between described first equipment, described first gateway, described second equipment, the second gateway Should be related to.
18. gateways as claimed in claim 17, it is characterised in that described gateway also includes:
Second response unit, for receiving after the binding message of described first gateway, sends out to described first gateway Send response message.
19. gateways as claimed in claim 17, it is characterised in that
Described second receives unit, specifically for being received from described first gateway by virtual ZIGBEE node and port Binding message is to realize the node communication between different agreement.
20. 1 kinds of gateways, it is characterised in that described gateway provides service for the first equipment, and described gateway, the first equipment are ZIGBEE communication node, described gateway includes:
3rd receives unit, for receiving the packet from described first equipment;
3rd address acquisition unit;The first binding bunch for including according to described packet is identified in the first binding entry Obtain the second gateway address;
3rd transmitting element, for sending described packet to the second gateway, so that described second gateway receives described gateway Packet, described first binding bunch included according to described packet is identified to the second binding entry and obtains the second equipment ground Location;Described packet is sent to described second equipment.
21. 1 kinds of gateways, it is characterised in that described gateway provides service for the second equipment, and described gateway includes;
4th receives unit, for receiving the packet that the first gateway sends;Described packet is described in the first equipment is sent to The packet of the first gateway, and the first binding that described first gateway includes according to described packet bunch is identified to the first binding Obtaining the second gateway address in entry, described first gateway sends described packet to described second gateway;
4th address acquisition unit, the first binding bunch for including according to described packet is identified to the second binding entry and obtains Take described second device address;
4th transmitting element, for sending described packet to described second equipment.
22. gateways as claimed in claim 21, it is characterised in that described gateway also includes:
4th dummy unit, for by virtual ZIGBEE node and port receive from described first gateway packet with Realize the equipment communication between different agreement.
23. 1 kinds of network systems, it is characterised in that described system includes: the first equipment, the first gateway, the second equipment and second Gateway, wherein: described first equipment is within the service area of described first gateway, and described second equipment is at described second gateway Service area within, described first equipment, described first gateway are ZIGBEE communication node;
Described first equipment, for sending bind request to described first gateway;
Described first gateway, receives the bind request from described first equipment;Described first gateway according to described bind request, Set up the first binding entry of described first equipment and described second equipment;Described first binding entry is used for recording described first Corresponding relation between equipment, described first gateway, described second equipment, described second gateway;Described first gateway is according to institute State bind request, send binding message, so that described second gateway sets up institute according to described binding message to described second gateway State the second binding entry of the first equipment and described second equipment;Described second binding entry be used for recording described first equipment, Corresponding relation between described first gateway, described second equipment, described second gateway;
Described second gateway, for receiving the binding message from described first gateway, sets up described according to described binding message First equipment binds entry with described the second of described second equipment;Described second binding entry is used for recording described first and sets Corresponding relation between first gateway standby, described, described second equipment, described second gateway;
Described second equipment, for setting up binding relationship with described first equipment.
24. network systems as claimed in claim 23, it is characterised in that
Described first gateway includes:
First receives unit, for receiving the bind request from described first equipment;
First binding unit, for according to described bind request, sets up described first equipment and ties up with the first of described second equipment Determine entry;Described first binding entry is used for recording described first equipment, described first gateway, described second equipment, the second net Corresponding relation between pass;
First transmitting element, for according to described bind request, sending binding message to described second gateway, so that described second Gateway sets up the second binding entry of described first equipment and described second equipment according to described binding message;Described second binding Entry is for recording the corresponding pass between described first equipment, described first gateway, described second equipment, described second gateway System;
Described second gateway includes:
Second receives unit, for receiving the binding message from described first gateway;
Second binding unit, for setting up the second binding of described first equipment and described second equipment according to described binding message Entry;Described second binding entry be used for recording described first equipment, described first gateway, described second equipment, described second Corresponding relation between gateway.
25. 1 kinds of network systems, it is characterised in that described system includes: the first equipment, the first gateway, the second equipment and second Gateway, wherein: described first equipment is within the service area of described first gateway, and described second equipment is at described second gateway Service area within, described first equipment, described first gateway are ZIGBEE communication node;
Described first equipment, for sending packet to described first gateway;
Described first gateway, for receiving the packet from described first equipment;First included according to described packet Binding bunch mark, obtains described second gateway address from the first binding entry;According to described second gateway address, to described Two gateways send described packet;
Described second gateway, for receiving the packet from described first gateway, first included according to described packet Binding bunch mark, obtains described second device address from the second binding entry;Described packet is sent to described second equipment;
Described second equipment, for receiving the packet from described second gateway, communicates with described first equipment.
26. network systems as claimed in claim 25, it is characterised in that including:
Described first gateway includes:
3rd receives unit, for receiving the packet from described first equipment;
3rd address acquisition unit;Described first binding bunch for including according to described packet is identified to described first and ties up Determine entry obtains described second gateway address;
3rd transmitting element, for sending described packet to described second gateway, so that described second gateway receives described the The packet of one gateway, the described first binding bunch mark included according to described packet, obtain from described second binding entry Described second device address;Described packet is sent to described second equipment;
Described second gateway includes:
4th receives unit, for receiving the packet from described first gateway;
4th address acquisition unit, for the described first binding bunch mark included according to described packet, ties up from described second Determine entry and obtain described second device address;
4th transmitting element, for sending described packet to described second equipment.
CN201110453845.2A 2011-12-29 2011-12-29 The method of a kind of network equipment binding, the method for communication, Apparatus and system Expired - Fee Related CN103188821B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110453845.2A CN103188821B (en) 2011-12-29 2011-12-29 The method of a kind of network equipment binding, the method for communication, Apparatus and system
PCT/CN2012/075773 WO2013097400A1 (en) 2011-12-29 2012-05-19 Method for binding network apparatus, and communication method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110453845.2A CN103188821B (en) 2011-12-29 2011-12-29 The method of a kind of network equipment binding, the method for communication, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103188821A CN103188821A (en) 2013-07-03
CN103188821B true CN103188821B (en) 2016-09-28

Family

ID=48679703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110453845.2A Expired - Fee Related CN103188821B (en) 2011-12-29 2011-12-29 The method of a kind of network equipment binding, the method for communication, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103188821B (en)
WO (1) WO2013097400A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495314A (en) * 2018-12-07 2019-03-19 达闼科技(北京)有限公司 Communication means, device, medium and the electronic equipment of cloud robot

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795571B (en) * 2014-01-24 2017-10-17 北京搜狗科技发展有限公司 Binding method and device between equipment
CN106231538B (en) * 2016-07-29 2019-12-27 海尔优家智能科技(北京)有限公司 Method and device for binding OneM2M architecture equipment
CN109525621B (en) * 2017-09-20 2020-09-18 华为技术有限公司 Data synchronization method, equipment and system based on ZigBee binding
KR101988130B1 (en) * 2017-11-21 2019-09-30 두산중공업 주식회사 Node management gateway device based on data distribution service in grid network and distribution network, and method thereof
CN111490916B (en) * 2020-04-15 2022-03-11 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594297A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 The swap server of data addressing and forwarding, system and method in the Control Network
CN201421160Y (en) * 2009-05-18 2010-03-10 江苏技术师范学院 Remote air conditioning intelligent control device based on ZigBee technique

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006054219A1 (en) * 2006-11-15 2008-05-29 Universität Duisburg-Essen Sensor device and sensor system
CN101068198B (en) * 2007-01-29 2010-08-11 当代天启技术(北京)有限公司 Method, device and system for transmitting information in building system
CN101119315B (en) * 2007-09-17 2010-07-14 当代天启技术(北京)有限公司 Data transmission method, system and gateway in control network
CN101163073A (en) * 2007-11-14 2008-04-16 当代天启技术(北京)有限公司 Networking method of intelligent domestic system, data transmission method and intelligent domestic system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594297A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 The swap server of data addressing and forwarding, system and method in the Control Network
CN201421160Y (en) * 2009-05-18 2010-03-10 江苏技术师范学院 Remote air conditioning intelligent control device based on ZigBee technique

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495314A (en) * 2018-12-07 2019-03-19 达闼科技(北京)有限公司 Communication means, device, medium and the electronic equipment of cloud robot

Also Published As

Publication number Publication date
WO2013097400A1 (en) 2013-07-04
CN103188821A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN103188821B (en) The method of a kind of network equipment binding, the method for communication, Apparatus and system
CN103701944B (en) Method and system of providing IP-based packet communications with in-premisis devices in a utility network
CN106797409B (en) Server for device location registration in internet of things (IOT)
KR101240708B1 (en) Method for providing mobility of device in wireless sensor network based on 6LoWPAN
CN106060180B (en) A kind of addressing method based on geographical location and application message for IPv6
CN102594711B (en) Message forwarding method and edge device therefor
CN105245632B (en) A kind of different segment inter-host communication method in SDN network
US20070060147A1 (en) Apparatus for transmitting data packets between wireless sensor networks over internet, wireless sensor network domain name server, and data packet transmission method using the same
CN101471899A (en) Network data access method, access gateway and system capable of supporting sensor
CN106162795B (en) Self networking and method for routing using the wireless internet of things of logic region coordinate
CN101925125B (en) Method of multipath TCP having mobility and combined with mobile IP (internet protocol)
CN102098349A (en) Address mapping method and access service node
CN104202398B (en) The method of remote control, apparatus and system
CN109412953A (en) A kind of routing iinformation exchange method based on block chain overlay network
CN102684969B (en) VPN (virtual private network) node, VPN node identification analysis agency and method, VPN server
CN104184663A (en) Communication method and device based on software-defined network and integrated identification network
CN100364289C (en) Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
CN106789606A (en) A kind of network communicating system, its management method and communication means
CN102025587A (en) Method and system for realizing intercommunication between LISP network and Internet
CN105635335B (en) Social resources cut-in method, apparatus and system
CN102196529A (en) Access method and system for wireless sensor network
CN102546419B (en) Routing method, routing device, packet forwarding method and packet forwarding system
CN103873369B (en) Gateway and method for supporting interaction of heterogeneous network
CN103338479B (en) A kind of communication means of short-distance wireless Internet of Things
CN109905927A (en) A kind of internet of things equipment ad hoc network method and system based on WIFI

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160928

Termination date: 20191229

CF01 Termination of patent right due to non-payment of annual fee