CN103188821A - Network equipment binding method and communication method and communication device and communication system - Google Patents

Network equipment binding method and communication method and communication device and communication system Download PDF

Info

Publication number
CN103188821A
CN103188821A CN2011104538452A CN201110453845A CN103188821A CN 103188821 A CN103188821 A CN 103188821A CN 2011104538452 A CN2011104538452 A CN 2011104538452A CN 201110453845 A CN201110453845 A CN 201110453845A CN 103188821 A CN103188821 A CN 103188821A
Authority
CN
China
Prior art keywords
gateway
equipment
binding
subclauses
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104538452A
Other languages
Chinese (zh)
Other versions
CN103188821B (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

Images

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 invention provides a network equipment binding method. First equipment and a first gateway serve as Zigbee communication nodes, and the first gateway builds up a first binding item used for recording the corresponding relationships among the first equipment, the first gateway, second equipment, and a second gateway according to a binding request of the first equipment and the equipment; the first gateway sends a binding message to the second gateway according to the binding request, so that the second gateway builds up a second binding item used for recording the corresponding relationships among first equipment, the first gateway, the second equipment, and the second gateway according to the binding message. The invention further provides a communication method, a communication device and a communication system. According to the network equipment binding method, the communication method, the communication device and the communication system, the first equipment builds up the binding relationship for the served first gateway and the second equipment located in a service range of the second gateway to bring convenience to communication, and communication efficiency is improved.

Description

A kind of method, method for communicating, Apparatus and system of network equipment binding
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, method for communicating, Apparatus and system of network equipment binding.
Background technology
The ZigBee wireless sensor network technology be a kind of closely, the wireless communication technology of low complex degree, low-power consumption, low data rate and cost.Communication protocol development that ZigBee is based on IEEE 802.15.4 standard is sent out and is opened, and is operated in industry, science and medical equipment (ISM) radio wave band of 868/915MHz and 2.4GHz.It is 10 to 100 meters transmission range that ZigBee has radius, and supports 20 to 250Kbps transmitted data rates.Each ZigBee telegon is supported 255 equipment at most simultaneously, and a ZigBee network then can be supported 65535 equipment at most.The Zigbee standard definition network layer and application layer protocol (integral body is called Zigbee standard or Zigbee protocol stack), be mainly used in support using.Network layer has defined the method for adding and deviated from network, and sends a message to the method for suitable destination.Network layer also is responsible for looking for the also multihop path between Maintenance Point, searches and store neighbors information.For network coordinator, network layer also needs to be responsible for: initiate and safeguard a network and set every network parameter; Distribute address and standard network address distribution principle for adding the network equipment.Zigbee application layer (APL) comprises application support sublayer (APS), application framework (AF), Zigbee equipment control and concrete application.Usually concrete application is all realized in application framework, and application framework provides interface for application and APS.Application support sublayer provides interface for network layer with between using, and safeguards the corresponding relation of creating between two network node applies objects of serving.Enter Zigbee equipment as message, application support sublayer is responsible for transfer of messages to appropriate application.The management transaction of total system is responsible in the Zigbee equipment control specially.Wherein each application is communicated by letter with application support sublayer needs a corresponding endpoint, and endpoint is equivalent to the exclusive port numbers of this application or IP address, is used for difference and identifies different applications.A ZigBee protocol stack is supported 241 endpoint, and wherein endpoint 0 keeps for the ZigBee device object to use, and endpoint1~240 are distributed to different applications and used.
The ZigBee application layer has defined binding mechanism, and it is connected for having set up unidirectional logic between source endpoint or bunch sign cluster ID and the purpose endpoint, makes that the communication between the application becomes convenient.For example the node A in the network of same ZigBee and node C communicate, set up between node A and the node C by ZIGBEE APS layer and to bind, after the binding, node A just can be under the situation of the address that need not know node C and port, send the APS message to C, clear and definite for destination node, and need to keep the unidirectional long scene that connects (connecting object can be one group of equipment), this characteristic is particularly important.
The APS layer allows ZigBee equipment for from given source endpoint and have the frame of a given cluster ID, sets up a designated destination.The target of each appointment represents a concrete end points on the concrete equipment, or a multicast group address.
In the prior art, the equipment that is positioned at different gateways can not carry out BOUND communication each other, and communication efficiency is not high.
Summary of the invention
The embodiment of the invention provides a kind of method, method for communicating, Apparatus and system of network equipment binding, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention provides a kind of method of network equipment binding, first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, described first equipment, first gateway are the ZIGBEE communication node, and described method comprises: described first gateway receives the bind request from described first equipment; Described first gateway is set up the first binding clauses and subclauses of described first equipment and described second equipment according to described bind request; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described first gateway sends binding message according to described bind request to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
The embodiment of the invention also provides a kind of network equipment method for communicating, described first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, described first equipment, first gateway are the ZIGBEE communication node, described first gateway stores has the first binding clauses and subclauses, and the described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described second gateway stores has the second binding clauses and subclauses, and the described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described network equipment method for communicating comprises: described first gateway receives the packet from described first equipment; According to the first binding bunch sign that comprises in the described packet, from the first binding clauses and subclauses, obtain described second gateway address; According to described second gateway address, send described packet to described second gateway, so that described second gateway receives the packet of described first gateway, from the second binding clauses and subclauses, obtain described second device address according to the first binding bunch sign that comprises in the described packet; According to described second device address, send described packet to described second equipment.
The embodiment of the invention also provides a kind of gateway, and described gateway provides service for first equipment, and described gateway, first equipment are the ZIGBEE communication node, and described gateway comprises: first receiving element is used for receiving the bind request from described first equipment; The first binding unit is used for according to described bind request, sets up the first binding clauses and subclauses of described first equipment and described second equipment; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway; First transmitting element is used for according to described bind request, sends binding message to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway.
The embodiment of the invention also provides a kind of gateway, and described gateway provides service for second equipment, and described gateway comprises: second receiving element is used for receiving the binding message from first gateway; The second binding unit is used for setting up second of described first equipment and described second equipment according to described binding message and binds clauses and subclauses; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
The embodiment of the invention also provides a kind of gateway, and described gateway provides service for first equipment, and described gateway, first equipment are the ZIGBEE communication node, and described gateway comprises: the 3rd receiving element is used for receiving the packet from described first equipment; The 3rd address acquisition unit; Being used for first binding that comprises according to described packet bunch is identified in the first binding clauses and subclauses and obtains described second gateway address; The 3rd transmitting element is used for sending described packet to described second gateway, so that described second gateway receives the packet of described first gateway, obtains described second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the described packet; Send described packet to described second equipment.
The embodiment of the invention also provides a kind of gateway, and described gateway provides service for second equipment, and described gateway comprises; The 4th receiving element is for the packet that receives described first gateway; Four-address acquiring unit, the first binding bunch sign road, the second binding clauses and subclauses that are used for comprising according to described packet are obtained described second device address; The 4th transmitting element is used for sending described packet to described second equipment.
The embodiment of the invention also provides a kind of network system, it is characterized in that, described system comprises: first equipment, first gateway, second equipment and second gateway, wherein: described first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, and described first equipment, first gateway are the ZIGBEE communication node; Described first equipment is used for sending bind request to first gateway; Described first gateway receives the bind request from described first equipment; Described first gateway is set up the first binding clauses and subclauses of described first equipment and described second equipment according to described bind request; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described first gateway sends binding message according to described bind request to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described second gateway is used for receiving the binding message from described first gateway, sets up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described second equipment is used for and first equipment is set up binding relationship.
The embodiment of the invention also provides a kind of network system, it is characterized in that, described system comprises: first equipment, first gateway, second equipment and second gateway, wherein: first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, and described first equipment, first gateway are the ZIGBEE communication node; Described first equipment is used for sending packet to first gateway; Described first gateway is used for receiving the packet from described first equipment; According to the first binding bunch sign that comprises in the described packet, from the first binding clauses and subclauses, obtain described second gateway address; According to described second gateway address, send described packet to described second gateway; Described second gateway is used for receiving the packet from described first gateway, according to the first binding bunch sign that comprises in the described packet, obtains described second device address from the described second binding clauses and subclauses; Send described packet to described second equipment; Described second equipment is used for receiving the packet from described second gateway, communicates with described first equipment.
The embodiment of the invention provides a kind of method, method for communicating, Apparatus and system of network equipment binding, and first gateway is set up the first binding clauses and subclauses of described first equipment and described second equipment according to described bind request; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Send binding message to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway, pass through the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of not communicating by letter under the prior art;
Fig. 2 adopts the beneficial effect schematic diagram of communicating by letter after the embodiment of the invention;
Fig. 3 is that the embodiment of the invention 1 binding service WSNConnection sets up the process schematic diagram;
Fig. 4 is the data transmission procedure schematic diagram after the embodiment of the invention 1 is set up the binding service;
Fig. 5 is that the invention process 2 binding service WSNConnection set up the process schematic diagram;
Fig. 6 is the data transmission procedure schematic diagram after the embodiment of the invention 2 is set up the binding service;
Fig. 7 is that the embodiment of the invention 3 binding service WSNConnection set up the process schematic diagram;
Fig. 8 is the data transmission procedure schematic diagram after the embodiment of the invention 3 is set up the binding service;
Fig. 9 is the communication scheme of the embodiment of the invention 4.
Figure 10 is the schematic diagram of a kind of gateway in the embodiment of the invention 5.
Figure 11 is the schematic diagram of another kind of gateway in the embodiment of the invention 5.
Figure 12 is the schematic diagram of a kind of gateway in the embodiment of the invention 6.
Figure 13 is the schematic diagram of another kind of gateway in the embodiment of the invention 6.
Figure 14 is the schematic diagram of a kind of network equipment binding system in the embodiment of the invention 7.
Figure 15 is the schematic diagram of another kind of network equipment binding system in the embodiment of the invention 7.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
A) explanation of nouns
PAN:Personal Area Network, individual territory net.
GW:Gateway, gateway, it has certain network management capabilities, can safeguard network management information in its compass of competency (comprising the network information, information on services of network topology, node etc.) and be in charge of the borde gateway (for example IP network) that ZigBee node in the network inserts other networks.
EP:Endpoint, the port in the ZigBee network, corresponding a kind of logical device, the data message in the ZigBee network all is to finish by the port on each equipment.
Binding: binding, ZigBee is a kind of communication mode end to end, after two ports in the ZigBee network are set up binding relationship, can communicate by letter by the mode (mode 0 of APS) of Binding.
Binding Table: be maintained in certain equipment binding mapping relations afterwards, 0 communication of APS mode need be obtained destination address and Endpoint address by inquiring about this binding table, and sends data.
Cluster: an attribute of binding table is used for the communication specification (Cluster of ZigBee is the set for standard a pile attribute and order) that standard is bound.
In a WPAN (Wireless Personal Network) network, gateway is an IP outlet device in this network, ZigBee node among this WPAN (node 1) if having with network in other ZigBee nodes (node 2) or the outer another one ZigBee node (node 3) of this WPAN when communicating by letter, we can set up a binding clauses and subclauses Binding Entry who arrives node 2 and node 3 in the APS of node 1 binding table, node 1 communicates with node 2 or node 3 like this, just can directly finish by the mode of binding Binding, and need in load, not carry the destination address of node 2 and node 3, as Fig. 1, shown in Figure 2.By the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The related binding technology of the embodiment of the invention is the binding that a kind of inter-network is closed, and specific implementation comprises following embodiment:
1, the source and destination node of binding is being outlet with two different ZigBee gateways:
A) two ZigBee gateways are in same WPAN,
B) two ZigBee gateways (WPAN1, WPAN2) in different WPAN.
2, the source and destination node of Binding, one in the ZigBee network, another is in non-ZigBee network.
3, the destination node of Binding is a plurality of nodes (being present in respectively among a plurality of WPAN).
Below in conjunction with accompanying drawing the embodiment of the invention is described in further detail.
The embodiment of the invention one
1) initial condition
A) node A (first equipment) need have the binding business with Node B (second equipment), be the Central Control Room switch such as A, B is outdoor certain street lamp, A need set up the binding business with B, gateway A (first gateway) and gateway B (second gateway) are in same ZigBee network, node A claims that in the service range of gateway A gateway A is the gateway (being called for short GW1) of node A, and A and GW1 are the ZIGBEE communication node.Gateway B is the gateway (GW2) of Node B, when GW1 finds that (for example A is the Central Control Room switch after node A need set up binding business with Node B, B is outdoor certain street lamp, A and B can not direct communication or the direct communication expense very big, then A and B through consultation and inform GW1);
B) node A belongs to different GW respectively with Node B;
C) Binding relation is ordered about by business, the foundation of being initiated to bind by a side gateway;
D) suppose that the Endpoint on the node A is EP1, the Endpoint on the Node B is EP2.
2) binding is set up process and comprised: first gateway (gateway A) receives the bind request from first equipment (node A);
First gateway is set up the first binding clauses and subclauses of first equipment and second equipment (Node B) according to this bind request; These first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway (gateway B); First gateway sends binding message according to this bind request to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; These second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway.
Second gateway receives the binding message from first gateway, sets up the second binding clauses and subclauses of first equipment and second equipment according to this binding message; These second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway.
Further, this bind request comprises: the address information of first equipment, the address information of second equipment; These first binding clauses and subclauses comprise: the address information of first equipment, first gateway address information, second gateway address information; The address information of second equipment, and the first binding bunch sign; The first binding bunch sign is used for the binding relationship of sign first equipment and second equipment; This binding message comprises: the address information of first equipment, first gateway address information, first gateway address information, the address information of second equipment, and the first binding bunch sign;
The second binding clauses and subclauses comprise: first gateway address information, the address information of first equipment, the address information of second equipment, the address information of second gateway, and the first binding bunch sign.
Further, address information comprises: the network address or physical address or port numbers or subnet sign.
Optionally, after the binding message of second gateway reception from first gateway, also comprise: second gateway sends the binding response message to first gateway.
Further, second gateway address information, second device address are the multicast group address information, are used for the multicast group binding relationship between single first equipment of realization and a plurality of second equipment.
Further, first gateway address information, first device address are the multicast group address information, are used for realizing a plurality of first equipment to the binding of the multicast group between single second equipment or are used for realizing that a plurality of first equipment are to the binding of the multicast group between a plurality of second equipment.
Further, the reception of second gateway comprises from the binding message of first gateway:
Second gateway receives binding message from first gateway to realize the node communication between the different agreement by virtual ZIGBEE node and port.
Specifically as shown in Figure 3.
A) GW1 at first need register a new Endpoint (EPA) in this locality, and the binding of setting up EPA and EP1:
The application layer of i.GW1 is sent the Bind_req order to the APS layer,
The APS layer of ii.GW1 receives after the Bind_req, can generate binding table clauses and subclauses (Binding Entry) in this locality, and the form of Binding Entry is:
S, and e, c}={{a, e}, a, e} ..., { wherein { s, e, the s among the c} are the ZigBee address (Network Address) of GW1, and e is EPA, and c is Cluster ID for a, e}}; A, e}, a, e} ..., a, e}} can be instantiated as in the present embodiment the address of node A, EP1},
B) address of GW1 query node B:
I. by searching (not protecting service discovery and lookup method in the present embodiment) to other gateways (GWs) broadcast mode,
Ii. obtain the gateway GW2 of Node B after finding.
C) GW1 initiates binding to GW2 and sets up order CreateConnection.request:
I. comprise address, node A Endpoint number of node A, the address of Node B, Endpoint number and bunch sign ClusterID of binding of Node B in this order,
D) GW2 receives the processing of CreateConnection.indication:
I.GW2 at first need register a new Endpoint (EPB) in this locality, and the binding of setting up EPB and EP2, and method for building up is with a) identical,
After ii.EPB and EP2 binding were set up successfully, GW2 replied CreateConnection.response and gives GW1,
Iii.GW2 can set up one in this locality and serve the binding service listings of binding between EP1 and the EP2 (WSNConnection Entry), and it is described below:
WSNConnections be between the ZigBee node or ZigBee node and non-ZigBee node between close the peer-entities of binding based on inter-network, safeguard each attribute that binding connects, these attributes comprise:
Local Endpoint, the local service port is used for receiving network based on the data of this binding, and this port is set up simultaneously with the foundation of binding;
Local Binding Entry, and s, e, c}={{a, e}, a, e} ..., { a, e}} safeguard the gateway local binding table, and the effect of this table is to send the binding message in Home Network;
Local PANID, local network ID number;
Remote Binding Table, { s, e, c}={{url, dstPANID, dstAddress, dstEndpoint} or { { ipaddr, port}, dstPANID, dstAddress, dstEndpoint } ... { url, dstPANID, dstAddress, dstEndpoint}} is url and { ipaddr, port} describe purpose gateway address (be not limited to IP connect) wherein;
Dst PANID describes purpose PAN address, is used for realizing striding PAN communication, comprises PANID and ExPANID;
DstAddress describes the destination node address, comprises IEEEAddress, NetworkAddress and AliasAddress;
DstEndpoint is used for describing the destination slogan;
Wherein the example of Local Endpoint is EPB;
But Local Binding Entry example is: and the ZigBee address of GW2, EPB, the ZigBee address of Cluster ID}={B, EP2},
Local PANID is that a territory network mark is known, and does not relate in the present embodiment;
Remote Binding Table can be instantiated as: and the ZigBee address of B, EP2,, the url address of Cluster ID}={GW1, the sign of GW1 place PAN, the address of node A, EP1},
E) GW1 receives the CreateConnection.confirm reprocessing:
I.GW1 can set up one in this locality and serve the binding service listings of binding between EP1 and the EP2 (WSNConnection Entry), and its form is with top identical,
Wherein the example of Local Endpoint is EPA;
But Local Binding Entry example is: and the ZigBee address of GW1, EPA, the ZigBee address of Cluster ID}={A, EP1},
Local PANID is that a territory network mark is known, and does not relate in the present embodiment;
Remote Binding Table can be instantiated as: and the ZigBee address of A, EP1,, the url address of Cluster ID}={GW2, the sign of GW2 place PAN, the address of Node B, EP2}.
(2) utilize binding to communicate, first equipment is within the service range of first gateway, second equipment is within the service range of second gateway, first equipment, first gateway are the ZIGBEE communication node, first gateway stores has the first binding clauses and subclauses, and the first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; Second gateway stores has the second binding clauses and subclauses, and the second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; Network equipment method for communicating comprises:
First gateway receives the packet from first equipment; According to the first binding bunch sign that comprises in the packet, from the first binding clauses and subclauses, obtain second gateway address; According to second gateway address, send packet to second gateway, so that second gateway receives the packet of first gateway, from the second binding clauses and subclauses, obtain second device address according to the first binding bunch sign that comprises in the packet; According to second device address, to the second equipment sending data bag.
Further, bind request comprises: the address information of first equipment, the address information of second equipment; The first binding clauses and subclauses comprise: the address information of first equipment, first gateway address information, second gateway address information; The address information of second equipment, and the first binding bunch sign; The first binding bunch sign is used for the binding relationship of sign first equipment and second equipment; Binding message comprises: the address information of first equipment, first gateway address information, first gateway address information, the address information of second equipment, and the first binding bunch sign;
The second binding clauses and subclauses comprise: first gateway address information, the address information of first equipment, the address information of second equipment, the address information of second gateway, and the first binding bunch sign.
Further, address information comprises: the network address or physical address or port numbers or subnet sign.
Optionally, after the binding message of second gateway reception from first gateway, also comprise: second gateway sends the binding response message to first gateway.
Further, second gateway address information, second device address are the multicast group address information, are used for the multicast group binding relationship between single first equipment of realization and a plurality of second equipment.
Further, first gateway address information, first device address are the multicast group address information, are used for realizing a plurality of first equipment to the binding of the multicast group between single second equipment or are used for realizing that a plurality of first equipment are to the binding of the multicast group between a plurality of second equipment.
Further, the reception of second gateway comprises from the binding message of first gateway:
Second gateway receives binding message from first gateway to realize the node communication between the different agreement by virtual ZIGBEE node and port.
Specifically as shown in Figure 4.
A) A is to GW1
I.A sends packet (Message) to the EPA (illustrating: must send to EPA) of GW1 by APS mode 0 (Binding mode) or mode 2 (Unicast mode),
B) GW1 is to GW2
EPA on the i.GW1 receives the packet from node A, then inquires about the WSNConnection table, finds matching E ntry, and then change step I i, otherwise abandon this packet and change step I ii,
If ii. the Message of step a) needs Default Response, then GW1 acts on behalf of the B node and replys this Default Response order, change step I v and send to GW2,
If iii. do not inquire corresponding Entry, then abandon this Message,
Iv.GW1 sends packet to GW2 by Data.request.
C) GW2 is to node A
I.GW2 receives after the Data.indication, and inquire about the srcep_id and the cluster ID that store among the local WSNConnection and obtain EPB,
Ii.GW2 sends to Node B by the message of EPB transmission APS mode 0 with Message,
If iii. this Message supports Default Response, then Node B can produce this Default Response after receiving Message, and sends to GW2, and this moment, GW2 agent node A handled this message.
D) Node B is handled after the Message of node A transmission, may produce Response Message
I.B replies to the EPB (response of ZigBee is that former road is returned) of GW2 with this Response Message,
Ii.GW2 sends to GW1 equally again,
Iii.GW1 sends to A,
Communication is finished.
In the embodiment of the invention, first equipment of can realizing communicates after setting up binding relationship for first gateway of its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention two
(1) sets up binding relationship, as shown in Figure 5.
When a ZigBee gateway and another ZigBee gateway were bound, two gateways belonged to different ZigBee networks.
1, gateway A (first gateway) and gateway B (second gateway) are in different ZigBee networks, node A (first equipment) is in the service range of gateway A, claim that gateway A is the gateway (being called for short GW1) of node A, in like manner, gateway B is the gateway (GW2) of Node B (second equipment), when GW1 finds that (for example A is the Central Control Room switch after node A need set up binding business with Node B, B is outdoor certain street lamp, A and B can not direct communication or the direct communication expense very big, then A and B through consultation and inform GW1), GW1 can build a new ZigBee Endpoint (being designated as EPA);
2, gateway A is ordered by ZDP, send the Bind_req order to the APS layer, in GW1, set up an EPA to the binding table clauses and subclauses (Binding Entry) of node A, and send a CreateConnection.request order to the gateway GW2 of Node B, this command parameter comprises bunch sign (ClusterID) of address, port numbers and binding of address, port numbers, the Node B of node A, the PANID of gateway A and ExPANID.
3, GW2 receives after the CreateConnection.request order of GW1, GW2 can set up a new ZigBee Endpoint (being designated as EPB), and set up one to the binding table clauses and subclauses (Binding Entry) of Node B, and reply CreateConnection.response and order to GW1, reply PANID and the ExPANID that should comprise GW2 in the packet;
4, GW2 is after sending the CreateConnection.response order, can set up a binding service listings (WSNConnection Entry) of serving A-B and B-A data communication in this locality, same, GW1 can set up a binding service listings in this locality after the CreateConnection.response order that receives GW2.
(2) use binding to communicate, as shown in Figure 6.
1, A (first equipment) sends message to the port (EPA) of GW1 by APS_DATA_REQ, or sends to the port (if A and GW1 set up binding relationship) of GW1 (first gateway) by bind
2, the EPA port on the GW1 receives the message that A sends in the step 1, the then source address of detection messages and source port, if message addresses coupling, then GW1 sends message by WSNConnection, if the message that A sends in the step 1 is supported Default response, then GW1 agent node B replys this Response; If the source address of detection messages or port and local WSNConnection do not match, then abandon this message;
3, GW2 (second gateway) is according to the srcep_id that stores among the WSNConnection, ClusterID and PANID search the binding table of GW2 and B node, and by pattern 0 mode of APS message is finally sent to B (second equipment), if should order support Default Response, then GW2 agent node A receives and handles this Response;
4, Node B is handled after the message of node A transmission, produce the Response order, reply to the EPB port of gateway B by the source address that receives, it is that Node B is given after the answer message of node A that GW2 judges, send to GW1 by WSNConnection, GW1 inquires about local WSNConnection and again this answer is sent to A, and communication is finished.
GW1 (first gateway) and GW2 (second gateway) be not in same WPAN, and the process that connects and embodiment one are basic identical, and difference is in CreateConnection.request, can carry PANID and two parameters of ExPANID more; When setting up WSNConnection Entry, also the PAN ID of opposite end can be recorded in the WSNConnection table.In the APS_DATA_REQ message load of A, do not comprise any destination address in the whole communication process, so for application layer, be transparent transmission.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention three
When ZigBee gateway and non-ZigBee gateway were bound, a virtual endpoint on its equipment then can use method and the ZigBee gateway endpoint identical with embodiment one to set up binding relationship.
(1) sets up binding relationship, as shown in Figure 7.
As figure, gateway A is the ZigBee gateway, gateway B is non-ZigBee gateway, can direct communication between them, also can be a physical equipment (equipment with two kinds of communication interfaces), Node B is a non-ZigBee node, when Node B need connect with a ZigBee node and (for example moves the ZigBee business, during Smart Energy uses, the physical layer communication technology can be ZigBee equipment, also can be PLC equipment, and describe among the Profile of SE the often scene of communication of these two kinds of equipment of a lot of needs is arranged), we equally can be as the mode of embodiment one description, reduce the pay(useful) load that takies because of address information by setting up binding, concrete mode is as follows:
1, (for example A is the Central Control Room switch after ZigBee gateway discovery node A need set up binding business with Node B, B is outdoor certain street lamp, A and B can not direct communication or the direct communication expense very big, then A and B through consultation and inform GW1), GW1 can build a new ZigBee Endpoint (being designated as EPA), simultaneously, on gateway B, can set up a virtual ZigBee communication node (non-ZigBee node, but can handle the ZigBee message) and port (ZigBee Endpoint);
2, gateway A is ordered by ZDP, send the Bind_req order to the APS layer, in GW1, set up an EPA to the binding table clauses and subclauses (Binding Entry) of node A, and sending a CreateConnection.request order to gateway B, this command parameter comprises bunch sign (ClusterID) of address, port numbers and binding of address, port numbers, the Node B of node A.
3, gateway receives after the CreateConnection.request order of GW1, replys CreateConnection.response;
4, GW2 is after sending the CreateConnection.response order, can set up a binding service listings (WSNConnection Entry) of serving A-B and B-A data communication in this locality, same, GW1 can set up a binding service listings in this locality after the CreateConnection.response order that receives GW2.
(2) utilize binding to communicate, as shown in Figure 8.
1, A sends message to the port (EPA) of GW1 by APS_DATA_REQ, or sends to the port (if A and GW1 set up binding relationship) of GW1 by bind
2, the EPA port on the GW1 receives the message that A sends in the step 1, the then source address of detection messages and source port, if message addresses coupling, then GW1 sends message by WSNConnection, if the message that A sends in the step 1 is supported Default response, then GW1 agent node B replys this Response; If the source address of detection messages or port and local WSNConnection do not match, then abandon this message;
3, gateway 2 mates the packet that receives according to srcep_id and clusterID, if the match is successful, then handles this message, and sends to Node B.
4, Node B is handled after the message of node A, produces the Response order, sends to gateway 2, and gateway 2 sends to gateway 1 by WSNConnection again, and GW1 inquires about local WSNConnection and again this answer sent to A, and communication is finished.
In the APS_DATA_REQ message load of A, do not comprise any destination address in the whole communication process, so for application layer, be transparent transmission.
Embodiment three is for striding networks of different protocol communication, and namely GW1 belongs to the ZigBee network, and GW2 does not belong to the ZigBee network, and the process and the embodiment one that set up the binding connection are basic identical, and difference is to set up a virtual ZigBee node earlier in GW2.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention four
Embodiment four is expansions of embodiment two, because binding table can be bound a plurality of destination addresses, thus be well suited for setting up binding based on multicast group, as shown in Figure 9.
Embodiment four is that first three plants the comprehensive of embodiment, also is a kind of specific implementation to multicast group binding and WSNConnection, specifically describes to be:
The source node (node A) of supposing communication is a node or the virtual dummy node in the WPAN1 network in the ZigBee network of WPAN1 for PANID, since business demand need with the WPAN2 network in ZigBee node (Node B, node C), (application scenarios of this embodiment is the communication of the ZigBee node in the WPAN3 network (node D) and non-ZigBee node (node E), node A is the centralized control node of Node B, C, D, E, A maintenance for a long time is connected with BCDE's, and sends multicast message).
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment (second equipment is a plurality of multicast group nodes) that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention five
The embodiment of the invention provides a kind of gateway, and as shown in figure 10, gateway 100 is first device service, this gateway 100 is first gateway, first gateway, first equipment are the ZIGBEE communication node, and first gateway comprises: first receiving element 105 is used for receiving the bind request from first equipment; The first binding unit 101 is used for according to bind request, sets up the first binding clauses and subclauses of first equipment and second equipment; The first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; First transmitting element 103 is used for according to bind request, sends binding message to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway.
Further, bind request comprises: the address information of first equipment, the address information of second equipment; The first binding clauses and subclauses comprise: the address information of first equipment, first gateway address information, second gateway address information; The address information of second equipment, and the first binding bunch sign; The first binding bunch sign is used for the binding relationship of sign first equipment and second equipment;
Binding message comprises: the address information of first equipment, first gateway address information, second gateway address information, the address information of second equipment, and the first binding bunch sign;
The second binding clauses and subclauses comprise: first gateway address information, the address information of first equipment, the address information of second equipment, the address information of second gateway, and the first binding bunch sign.
Further, address information comprises: the network address or physical address or port numbers or subnet sign.
Further, second gateway address information, second device address are the multicast group address information, are used for the multicast group binding relationship between single first equipment of realization and a plurality of second equipment.
Further, first gateway address information, first device address are the multicast group address information, are used for realizing a plurality of first equipment to the binding of the multicast group between single second equipment or are used for realizing that a plurality of first equipment are to the binding of the multicast group between a plurality of second equipment.
The embodiment of the invention also provides another kind of gateway, and as shown in figure 11, gateway 110 is second device service, and this gateway 110 is second gateway, and second gateway comprises: second receiving element 111 is used for receiving the binding message from first gateway; The second binding unit 113 is used for setting up second of first equipment and second equipment according to binding message and binds clauses and subclauses; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway.
Optionally, second gateway also comprises: second response unit is used for sending response message to described first gateway after the binding message that receives from first gateway.
Optionally, second gateway also comprises: second dummy unit is used for receiving binding message from first gateway to realize the node communication between the different agreement by virtual ZIGBEE node and port.
Concrete, the gateway GW1 of node A finds that node A needs and Node B C, D, E communicates, then a GW1 meeting newly-built ZigBee Endpoint (EPA), and safeguard a WSNConnection with the port binding of node A, the structure of this WSNConnection is described below:
Figure BDA0000126828880000171
Upper Interface connects high-rise connection management entity, this entity is used for the ZigBee endpoint mirror image that far-end ZigBee endpoint or other communication modes (for example ZigBee over Mm-ware) is virtual in this locality, the directly mutual ZigBee APS layer data of Upper Interface.
Connection Management is used for the management binding and connects, and is responsible for finishing operations such as foundation binding, deletion binding, transmitting-receiving data.Connection Management supports primitive, and the mode of request-response is adopted in the communication of primitive between object, comprises Request, Response, Confirm, Indication:
Figure BDA0000126828880000172
Wherein CreateConnection is used for setting up the Connection Entry of two binding inter-entity; DeleteConnection is used for this Connection of deletion; AddDestAddr increases new binding table clauses and subclauses in reciprocity Connection Entries, such as, bound content only comprises a destination address in the former binding table, by this order, can realize group's binding on the basis of original binding; Listener is used for monitoring each WSNConnection readjustment order; Data is used for the APS message of transmission binding inter-entity.
WSNConnections be between the ZigBee node or ZigBee node and non-ZigBee node between close the peer-entities of binding based on inter-network, safeguard each attribute that binding connects, these attributes comprise:
Common Interface is that the APS/ZDP of Connection Middleware and ZigBee makes an excuse alternately, finishes necessary stride layer data (for example ExPan ID, PANID, IEEE ADDR etc.) and stride that the physical layer protocol data are handled and transmission.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention six
As shown in figure 12, the embodiment of the invention provides a kind of gateway 120, this gateway 120 is first gateway, first equipment is within the service range of first gateway, second equipment is within the service range of second gateway, first equipment, first gateway are the ZIGBEE communication node, and first gateway receives the bind request from first equipment, and bind request is used for setting up the binding relationship of first equipment and second equipment; This gateway is set up the first binding clauses and subclauses of first equipment and second equipment according to bind request; The first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; First gateway sends binding message according to bind request to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway;
First gateway comprises: the 3rd receiving element 121 is used for receiving the packet from first equipment; The 3rd address acquisition unit 123; Being used for first binding that comprises according to packet bunch is identified in the first binding clauses and subclauses and obtains second gateway address; The 3rd transmitting element 125 is used for sending packet to second gateway, so that second gateway receives the packet of first gateway, obtains second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the packet; To the second equipment sending data bag.
Further, bind request comprises: the address information of first equipment, the address information of second equipment; The first binding clauses and subclauses comprise: the address information of first equipment, first gateway address information, second gateway address information; The address information of second equipment, and the first binding bunch sign; The first binding bunch sign is used for the binding relationship of sign first equipment and second equipment;
Binding message comprises: the address information of first equipment, first gateway address information, second gateway address information, the address information of second equipment, and the first binding bunch sign; The second binding clauses and subclauses comprise: first gateway address information, the address information of first equipment, the address information of second equipment, the address information of second gateway, and the first binding bunch sign.
Further, address information comprises: the network address or physical address address or port numbers or subnet sign.
As shown in figure 13, the embodiment of the invention also discloses a kind of gateway 130, this gateway 130 is second gateway, first equipment is within the service range of first gateway, second equipment is within the service range of second gateway, first equipment, first gateway are the ZIGBEE communication node, and first gateway receives the bind request from first equipment, and bind request is used for setting up the binding relationship of first equipment and second equipment; First gateway is set up the first binding clauses and subclauses of first equipment and second equipment according to bind request; The first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; First gateway sends binding message according to bind request to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway;
Second gateway comprises: the 4th receiving element 131, for the packet that receives first gateway; Four-address acquiring unit 133, the first binding bunch sign road, the second binding clauses and subclauses that are used for comprising according to packet are obtained second device address; The 4th transmitting element 135 is used for to the second equipment sending data bag.
Optionally, second gateway also comprises: the 4th response unit is used for sending packet to first gateway.
Optionally, second gateway also comprises: the 4th dummy unit is used for receiving packet from first gateway to realize the devices communicating between the different agreement by virtual ZIGBEE node and port.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention seven
The embodiment of the invention also provides a kind of network system, as shown in figure 14, first equipment 141 is within the service range of first gateway 140, second equipment 151 is within the service range of second gateway 150, first equipment, first gateway are the ZIGBEE communication node, this system comprises: first equipment, be used for sending bind request to first gateway, and bind request is used for setting up the binding relationship of first equipment and second equipment; First gateway is used for receiving the bind request from first equipment; According to bind request, set up the first binding clauses and subclauses of first equipment and second equipment; The first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; According to bind request, send binding message to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; Second gateway is used for receiving the binding message from first gateway, sets up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; Second equipment is used for and first equipment is set up binding relationship.
Further, first gateway comprises: first receiving element, be used for receiving the bind request from first equipment, and bind request is used for setting up the binding relationship of first equipment and second equipment; The first binding unit is used for according to bind request, sets up the first binding clauses and subclauses of first equipment and second equipment; The first binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; First transmitting element is used for according to bind request, sends binding message to second gateway, so that second gateway is set up the second binding clauses and subclauses of first equipment and second equipment according to binding message; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway; Second gateway comprises: second receiving element is used for receiving the binding message from first gateway; The second binding unit is used for setting up second of first equipment and second equipment according to binding message and binds clauses and subclauses; The second binding clauses and subclauses are used for the corresponding relation between record first equipment, first gateway, second equipment, second gateway.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
The embodiment of the invention eight
The embodiment of the invention also provides a kind of network system, as shown in figure 15, first equipment 161 is within the service range of first gateway 160, second equipment 171 is within the service range of second gateway 170, first equipment, first gateway are the ZIGBEE communication node, system comprises: first equipment is used for sending packet to first gateway; First gateway is used for first binding that comprises according to packet and bunch is identified in the first binding clauses and subclauses and obtains second gateway address; Send packet to second gateway, so that second gateway receives the packet of first gateway, obtain second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the packet; To the second equipment sending data bag.Second gateway for the packet that receives first gateway, obtains second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the packet; To the second equipment sending data bag; Second equipment is used for and first equipment carries out data communication.
Further, first gateway comprises:
The 3rd receiving element is used for receiving the packet from first equipment; The 3rd address acquisition unit; Being used for first binding that comprises according to packet bunch is identified in the first binding clauses and subclauses and obtains second gateway address; The 3rd transmitting element is used for sending packet to second gateway, so that second gateway receives the packet of first gateway, obtains second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the packet; To the second equipment sending data bag; Second gateway comprises: the 4th receiving element, for the packet that receives first gateway; Four-address acquiring unit, the first binding bunch sign road, the second binding clauses and subclauses that are used for comprising according to packet are obtained second device address; The 4th transmitting element is used for to the second equipment sending data bag.
In the embodiment of the invention, first equipment is set up binding relationship in order to communicate by first gateway for its service with second equipment that is positioned at the second gateway service scope, has improved communication efficiency.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, common hardware comprises universal integrated circuit, universal cpu, general-purpose storage, universal elements etc., can certainly comprise that application-specific integrated circuit (ASIC), dedicated cpu, private memory, special-purpose components and parts wait to realize by specialized hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the method for each embodiment of the present invention.
The order of each step among the above method embodiment can be adjusted according to the practical application needs, and each step can be combined to form new scheme according to the practical application needs.More than each unit, the module among the device embodiment can be divided according to the practical application needs, perhaps reconfigures.
More than; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim, and the equivalent variations according to claim of the present invention is done still belongs to the scope that the present invention is contained.

Claims (29)

1. the method for network equipment binding, it is characterized in that first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, described first equipment, first gateway are the ZIGBEE communication node, and described method comprises:
Described first gateway receives the bind request from described first equipment;
Described first gateway is set up the first binding clauses and subclauses of described first equipment and described second equipment according to described bind request; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway;
Described first gateway sends binding message according to described bind request to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message;
The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
2. the method for binding as claimed in claim 1 is characterized in that, also comprises:
Described second gateway receives the binding message from described first gateway, sets up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
3. the method for binding as claimed in claim 1 is characterized in that,
Described bind request comprises: the address information of described first equipment, the address information of described second equipment;
The described first binding clauses and subclauses comprise: the address information of described first equipment, described first gateway address information, described second gateway address information; The address information of described second equipment, and the first binding bunch sign; The described first binding bunch sign is used for the binding relationship of described first equipment of sign and described second equipment;
Described binding message comprises: the address information of described first equipment, described first gateway address information, described first gateway address information, the address information of described second equipment, and the described first binding bunch sign;
The described second binding clauses and subclauses comprise: described first gateway address information, the address information of described first equipment, the address information of described second equipment, the address information of second gateway, and the described first binding bunch sign.
4. the method for binding as claimed in claim 3 is characterized in that, described address information comprises: the network address or physical address or port numbers or subnet sign.
5. the method for binding as claimed in claim 1 is characterized in that, after the binding message of described second gateway reception from described first gateway, also comprises:
Described second gateway sends the binding response message to described first gateway.
6. apparatus bound method as claimed in claim 3 is characterized in that, described second gateway address information, second device address are the multicast group address information, is used for the multicast group binding relationship between single first equipment of realization and a plurality of second equipment.
7. apparatus bound method as claimed in claim 3, it is characterized in that, described first gateway address information, first device address are the multicast group address information, are used for realizing a plurality of first equipment to the binding of the multicast group between single second equipment or are used for realizing that a plurality of first equipment are to the binding of the multicast group between a plurality of second equipment.
8. the method for apparatus bound as claimed in claim 2 is characterized in that, the binding message that described second gateway receives from described first gateway comprises:
Described second gateway receives binding message from described first gateway to realize the node communication between the different agreement by virtual ZIGBEE node and port.
9. network equipment method for communicating, it is characterized in that, described first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, described first equipment, first gateway are the ZIGBEE communication node, described first gateway stores has the first binding clauses and subclauses, and the described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway; Described second gateway stores has the second binding clauses and subclauses, and the described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway;
Described network equipment method for communicating comprises:
Described first gateway receives the packet from described first equipment;
According to the first binding bunch sign that comprises in the described packet, from the first binding clauses and subclauses, obtain described second gateway address;
According to described second gateway address, send described packet to described second gateway, so that described second gateway receives the packet of described first gateway, from the second binding clauses and subclauses, obtain described second device address according to the first binding bunch sign that comprises in the described packet; According to described second device address, send described packet to described second equipment.
10. network equipment method for communicating as claimed in claim 9, it is characterized in that, described method also comprises: described second gateway receives the packet of described first gateway, according to the first binding bunch sign that comprises in the described packet, from the described second binding clauses and subclauses, obtain described second device address; Send described packet to described second equipment.
11. as network equipment method for communicating as described in the claim 10, it is characterized in that the packet that described second gateway receives described first gateway comprises:
Described second gateway receives packet from described first gateway to realize the devices communicating between the different agreement by virtual ZIGBEE node and port.
12. a gateway is characterized in that, described gateway provides service for first equipment, and described gateway, first equipment are the ZIGBEE communication node, and described gateway comprises:
First receiving element is used for receiving the bind request from described first equipment;
The first binding unit is used for according to described bind request, sets up the first binding clauses and subclauses of described first equipment and described second equipment; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway;
First transmitting element is used for according to described bind request, sends binding message to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway.
13. gateway as claimed in claim 12 is characterized in that,
Described bind request comprises: the address information of described first equipment, the address information of described second equipment;
The described first binding clauses and subclauses comprise: the address information of described first equipment, described first gateway address information, described second gateway address information; The address information of described second equipment, and the first binding bunch sign; The described first binding bunch sign is used for the binding relationship of described first equipment of sign and described second equipment;
Described binding message comprises: the address information of described first equipment, described first gateway address information, described second gateway address information, the address information of described second equipment, and the described first binding bunch sign;
The described second binding clauses and subclauses comprise: described first gateway address information, the address information of described first equipment, the address information of described second equipment, the address information of second gateway, and the described first binding bunch sign.
14. gateway as claimed in claim 13 is characterized in that, described address information comprises: the network address or physical address or port numbers or subnet sign.
15. gateway as claimed in claim 13 is characterized in that, described second gateway address information, second device address are the multicast group address information, are used for the multicast group binding relationship between single first equipment of realization and a plurality of second equipment.
16. gateway as claimed in claim 13, it is characterized in that, described first gateway address information, first device address are the multicast group address information, are used for realizing a plurality of first equipment to the binding of the multicast group between single second equipment or are used for realizing that a plurality of first equipment are to the binding of the multicast group between a plurality of second equipment.
17. a gateway is characterized in that, described gateway provides service for second equipment, and described gateway comprises:
Second receiving element is used for receiving the binding message from first gateway;
The second binding unit is used for setting up second of described first equipment and described second equipment according to described binding message and binds clauses and subclauses; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
18. gateway as claimed in claim 17 is characterized in that, described gateway also comprises:
Second response unit is used for sending response message to described first gateway after the binding message that receives from first gateway.
19. gateway as claimed in claim 17 is characterized in that,
Described second receiving element, concrete being used for receives binding message from described first gateway to realize the node communication between the different agreement by virtual ZIGBEE node and port.
20. a gateway is characterized in that, described gateway provides service for first equipment, and described gateway, first equipment are the ZIGBEE communication node, and described gateway comprises:
The 3rd receiving element is used for receiving the packet from described first equipment;
The 3rd address acquisition unit; Being used for first binding that comprises according to described packet bunch is identified in the first binding clauses and subclauses and obtains described second gateway address;
The 3rd transmitting element is used for sending described packet to described second gateway, so that described second gateway receives the packet of described first gateway, obtains described second device address according to the first binding bunch sign road, the second binding clauses and subclauses that comprise in the described packet; Send described packet to described second equipment.
21. as right 20 described gateways, it is characterized in that,
Described bind request comprises: the address information of described first equipment, the address information of described second equipment;
The described first binding clauses and subclauses comprise: the address information of described first equipment, described first gateway address information, described second gateway address information; The address information of described second equipment, and the first binding bunch sign; The described first binding bunch sign is used for the binding relationship of described first equipment of sign and described second equipment;
Described binding message comprises: the address information of described first equipment, described first gateway address information, described second gateway address information, the address information of described second equipment, and the described first binding bunch sign;
The described second binding clauses and subclauses comprise: described first gateway address information, the address information of described first equipment, the address information of described second equipment, the address information of second gateway, and the described first binding bunch sign.
22. gateway as claimed in claim 21 is characterized in that, described address information comprises: the network address or physical address address or port numbers or subnet sign.
23. a gateway is characterized in that, described gateway provides service for second equipment, and described gateway comprises;
The 4th receiving element is for the packet that receives described first gateway;
Four-address acquiring unit, the first binding bunch sign road, the second binding clauses and subclauses that are used for comprising according to described packet are obtained described second device address;
The 4th transmitting element is used for sending described packet to described second equipment.
24. gateway as claimed in claim 23 is characterized in that, described gateway also comprises:
The 4th response unit is used for sending packet to described first gateway.
25. gateway as claimed in claim 24 is characterized in that, described gateway also comprises:
The 4th dummy unit is used for receiving packet from described first gateway to realize the devices communicating between the different agreement by virtual ZIGBEE node and port.
26. network system, it is characterized in that, described system comprises: first equipment, first gateway, second equipment and second gateway, wherein: described first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, and described first equipment, first gateway are the ZIGBEE communication node;
Described first equipment is used for sending bind request to first gateway;
Described first gateway receives the bind request from described first equipment; Described first gateway is set up the first binding clauses and subclauses of described first equipment and described second equipment according to described bind request; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway;
Described first gateway sends binding message according to described bind request to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message;
The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway;
Described second gateway is used for receiving the binding message from described first gateway, sets up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway;
Described second equipment is used for and first equipment is set up binding relationship.
27. network system as claimed in claim 26 is characterized in that,
Described first gateway comprises:
First receiving element is used for receiving the bind request from described first equipment;
The first binding unit is used for according to described bind request, sets up the first binding clauses and subclauses of described first equipment and described second equipment; The described first binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway;
First transmitting element is used for according to described bind request, sends binding message to described second gateway, so that described second gateway is set up the second binding clauses and subclauses of described first equipment and described second equipment according to described binding message; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, described gateway, second equipment, second gateway;
Described second gateway comprises:
Second receiving element is used for receiving the binding message from first gateway;
The second binding unit is used for setting up second of described first equipment and described second equipment according to described binding message and binds clauses and subclauses; The described second binding clauses and subclauses are used for the corresponding relation between described first equipment of record, first gateway, second equipment, second gateway.
28. network system, it is characterized in that, described system comprises: first equipment, first gateway, second equipment and second gateway, wherein: first equipment is within the service range of described first gateway, described second equipment is within the service range of described second gateway, and described first equipment, first gateway are the ZIGBEE communication node;
Described first equipment is used for sending packet to first gateway;
Described first gateway is used for receiving the packet from described first equipment; According to the first binding bunch sign that comprises in the described packet, from the first binding clauses and subclauses, obtain described second gateway address; According to described second gateway address, send described packet to described second gateway;
Described second gateway is used for receiving the packet from described first gateway, according to the first binding bunch sign that comprises in the described packet, obtains described second device address from the described second binding clauses and subclauses; Send described packet to described second equipment;
Described second equipment is used for receiving the packet from described second gateway, communicates with described first equipment.
29. network system as claimed in claim 28 is characterized in that, comprising:
Described first gateway comprises:
The 3rd receiving element is used for receiving the packet from described first equipment;
The 3rd address acquisition unit; Being used for first binding that comprises according to described packet bunch is identified in the first binding clauses and subclauses and obtains described second gateway address;
The 3rd transmitting element, be used for sending described packet to described second gateway, so that described second gateway receives the packet of described first gateway, according to the first binding bunch sign that described packet comprises, obtain described second device address from the described second binding clauses and subclauses; Send described packet to described second equipment;
Described second gateway comprises:
The 4th receiving element is used for receiving the packet from described first gateway;
Four-address acquiring unit for the first binding bunch sign that comprises according to described packet, obtains described second device address from the described second binding clauses and subclauses;
The 4th transmitting element is used 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 true CN103188821A (en) 2013-07-03
CN103188821B 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795571A (en) * 2014-01-24 2014-05-14 北京搜狗科技发展有限公司 Binding method and device between equipment
CN106231538A (en) * 2016-07-29 2016-12-14 海尔优家智能科技(北京)有限公司 A kind of method and apparatus of OneM2M framework apparatus bound
CN109525621A (en) * 2017-09-20 2019-03-26 华为技术有限公司 A kind of method of data synchronization, equipment and system based on ZigBee binding
CN109818854A (en) * 2017-11-21 2019-05-28 斗山重工业建设有限公司 Node administration gateway apparatus and its method in distribution network and latticed network
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee

Families Citing this family (1)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068198A (en) * 2007-01-29 2007-11-07 当代天启技术(北京)有限公司 Method, device and system for transmitting information in building system
CN101119315A (en) * 2007-09-17 2008-02-06 当代天启技术(北京)有限公司 Data transmission method, system and gateway in control network
WO2008058744A2 (en) * 2006-11-15 2008-05-22 Universität Duisburg-Essen Sensor device and sensor system
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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163073A (en) * 2007-11-14 2008-04-16 当代天启技术(北京)有限公司 Networking method of intelligent domestic system, data transmission method and intelligent domestic system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008058744A2 (en) * 2006-11-15 2008-05-22 Universität Duisburg-Essen Sensor device and sensor system
CN101068198A (en) * 2007-01-29 2007-11-07 当代天启技术(北京)有限公司 Method, device and system for transmitting information in building system
CN101119315A (en) * 2007-09-17 2008-02-06 当代天启技术(北京)有限公司 Data transmission method, system and gateway in control network
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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795571A (en) * 2014-01-24 2014-05-14 北京搜狗科技发展有限公司 Binding method and device between equipment
CN103795571B (en) * 2014-01-24 2017-10-17 北京搜狗科技发展有限公司 Binding method and device between equipment
CN106231538A (en) * 2016-07-29 2016-12-14 海尔优家智能科技(北京)有限公司 A kind of method and apparatus of OneM2M framework apparatus bound
CN109525621A (en) * 2017-09-20 2019-03-26 华为技术有限公司 A kind of method of data synchronization, equipment and system based on ZigBee binding
CN109525621B (en) * 2017-09-20 2020-09-18 华为技术有限公司 Data synchronization method, equipment and system based on ZigBee binding
CN109818854A (en) * 2017-11-21 2019-05-28 斗山重工业建设有限公司 Node administration gateway apparatus and its method in distribution network and latticed network
CN109818854B (en) * 2017-11-21 2021-08-06 斗山重工业建设有限公司 Node management gateway apparatus in power distribution network and grid network and method thereof
CN111490916A (en) * 2020-04-15 2020-08-04 公牛集团股份有限公司 Method, system, device and medium for binding ZigBee sub-devices of ZigBee

Also Published As

Publication number Publication date
CN103188821B (en) 2016-09-28
WO2013097400A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
CN106797409B (en) Server for device location registration in internet of things (IOT)
Liu et al. Efficient naming, addressing and profile services in Internet-of-Things sensory environments
CN103188821A (en) Network equipment binding method and communication method and communication device and communication system
KR101240708B1 (en) Method for providing mobility of device in wireless sensor network based on 6LoWPAN
Ioannidis et al. IP-based protocols for mobile internetworking
CN106060180B (en) A kind of addressing method based on geographical location and application message for IPv6
CN104718733B (en) The method and system of packet-based identifier finger URL procotol (ILNP) load balance and Route Selection
CN100576809C (en) Access in the large scale dynamic heterogeneous mixed wireless self-organizing network and route computing method
CN105245632B (en) A kind of different segment inter-host communication method in SDN network
CN108366121A (en) The group network system and apparatus control method of the more intelligent gateways of Internet of Things
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
CN103262585B (en) For no belonging to the micro- mobility method of MPLS and NE
CN103339988A (en) Network system
CN101119372B (en) Cooperation energy-saving routing chart constructing method for mobile wireless sensor network
CN102938735B (en) Advertising of route is used to carry the method that option issues NAT64 address prefix
CN101521895A (en) Forwarding method used for constructing multi-hop routing in wireless self-organizing network
CN103441939A (en) Multifunctional boundary router based on IPv6 wireless sensor network
CN101925125A (en) Method of multipath TCP having mobility and combined with mobile IP (internet protocol)
CN101699886B (en) Method for binding stream to multi-homed mobile node in proxy mobile IPv6
KR20140124835A (en) Method and apparatus for discovering wireless devices
CN102404289B (en) Method for connecting wireless sensing network into internet protocol (IP) v4 network
CN100442736C (en) Method of simultaneous support connection of multiple blue tooth network by one blue tooth system
CN102025604A (en) Carrying network and data transmission method
CN110071825A (en) A kind of LoRa network system parameters remote configuration method and device
CN109905927B (en) WIFI-based Internet of things equipment ad hoc network method and 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
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