A METHOD OF AND A NODE DEVICE FOR APPLICATION DATA EXCHANGE
20210385152 · 2021-12-09
Inventors
- Jun YAO (EINDHOVEN, NL)
- Gang WANG (EINDHOVEN, NL)
- Rong FAN (EINDHOVEN, NL)
- Zhizhong Zhang (Eindhoven, NL)
- Dunfa CHEN (EINDHOVEN, NL)
Cpc classification
H04W4/80
ELECTRICITY
H04L67/12
ELECTRICITY
H04W4/70
ELECTRICITY
International classification
Abstract
In a network (1) of communicatively interconnected (9) node devices (2-8), such as a Zigbee™ enabled mesh network, application data, such as data from or to sensors (12-17) operatively connected (17; 18) to the node devices (2-8), are periodically exchanged by attaching the application data to periodically exchanged operational messages that are to be transmitted by a node device (2-8) in the network (1), such as the link status command messages according to the Zigbee protocol.
Claims
1. A method of exchanging application data by a node device in a network of communicatively interconnected node devices, said node device periodically exchanges operational messages in said network, said method comprises; exchanging, by said node device, said application data in said network by attaching said application data to said periodically exchanged operational messages; wherein said application data are sensor related data and said operational message is a link status command message used for said node devices to communicate an incoming link cost to each other of the communicatively interconected devices in a mesh communication enabled network.
2. (canceled)
3. The method according to claim 1, wherein said application data are time-insensitive data.
4. The method according claim 1, wherein said sensor related data are received from a sensor operationally connected to a node device in the network.
5. The method according to claim 1, wherein said link status command message comprises a command options field, a link status list field and a network command payload field, and wherein said command options field comprises an application data flag that is set when application data are attached to said link status command message.
6. The method according to claim 5, wherein when said application data flag is set, said command options field comprises application data options, said link status list field comprises an application data list, and said network command payload field comprises said application data to be exchanged.
7. The method according to claim 6, wherein said application data options comprise an application data entry number, and said network command payload field comprises an application data source ID, an application data destination ID, application data type and control information, said application data to be exchanged, and time stamp data.
8. The method according to claim 7, wherein said application data type and control information comprises an application data request/report flag, a maximum node hop number, and an application data type indication.
9. The method according to claim 8, wherein when a node device in said network receives a link status command message relating to application data indicating an application data request and said application data source ID match an application data source ID allocated to a receiving node device, said receiving node device prepares and forwards requested application data in a link status command message.
10. The method according to claim 8, wherein when a node device in said network receives a link status command message relating to application data indicating an application data request and said application data source ID does not match an application data source ID allocated to a receiving node device, said application data will be repeated by said receiving node device in a link status command message if said maximum node hop number is unequal zero and after said maximum node hop number is decreased by one.
11. The method according to claim 8, wherein when a node device in said network receives a link status command message relating to application data indicating application data report and said application data destination ID does not match an application data destination ID allocated to a receiving node device, said application data will be repeated by said receiving node in a link status command message if said maximum node hop number is unequal to zero and after said maximum node hop number is decreased by one.
12. The method according to claim 9, wherein said application data is not forwarded by said receiving node when at least one of: timestamp indicates a time older than a set time threshold, and a repeat count number of repeated same application data by said receiving node device exceeds a set repeat threshold.
13. The method according to claim 10, wherein said network node device operates as a gateway device communicatively connected to said node devices in said network.
14. A node device, in particular a lighting device, arranged for operating in accordance with claim 9.
15. A computer readable storage medium storing a non-transitory computer program code instructions which, when loaded on to one or more processors, causes said one or more processors to perform the method in accordance with claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
DETAILED DESCRIPTION
[0054] The present disclosure is detailed below with reference to the exchange of sensor related data in a wireless Zigbee™ enabled network and Zigbee enabled devices. Those skilled in the art will appreciate that the present disclosure is not limited to sensor data and Zigbee operated networks and devices, but is applicable to a wide variety of networks of communicatively interconnected node devices, either wired and/or wirelessly, and for the exchange of data of application or peripheral devices operatively connected to a node device in the network, other than sensors. Non-limited examples of other applicable transmission protocols are
[0055] Bluetooth™, Thread™, as well as WiFi based protocols and transmission protocols in accordance with a 3GPP standard, and wired bus networks such as DALI™ (Digital Addressable Lighting Interface), DSI (Digital Serial Interface), DMX (Digital Multiplex), and KNX (based systems), wired Ethernet, etc.
[0056]
[0057] The network 1 is comprised of multiple network end nodes 3, 5, 8 and network relay nodes 4, 6 such as bridges and switches, for example. The nodes 3-8 may form part of electric or electronic networked devices. The wireless communication connections between the network devices 2-8 are indicated by dashed arrows 9. Those skilled in the art will appreciate that in a general network architecture, node devices may also connect by wired communication links (not shown).
[0058] The network end nodes 3, 5, 8 are generic for supporting data communication of a large variety of electric or electronic devices, either mobile or movable devices and/or non-mobile or stationary devices. Examples of such devices are lighting devices, in particular lighting devices comprising Light Emitting Diode, LED, lighting modules, equipment for mobile telephony and data communication, Customer Premises Equipment, CPE, and so-called Internet of Things, loT, devices.
[0059] Reference numerals 12-16 designate sensor devices, such as sensors for measuring humidity, temperature, Infra Red, IR, radiation, Carbon Monoxide, Carbon Dioxide, generally designated CO.sub.x, actuators, camera systems, alarm systems, etc. In the embodiment shown, the sensors 12, 15 and 16 connect by wired connection 17 to a respective node device, whereas the sensors 13 and 14 connect by a wireless connection 18 to a respective node device, indicated by dash-dot lines. It will be appreciated that the sensors 12-16 may be external of or internal, i.e. integrated in a network node device. In the present embodiment, data exchange over the connections 17 and 18 is also in accordance with the Zigbee protocol.
[0060] Network relay nodes 4, 6 may bridge a communication distance between neighbouring network end nodes 3, 5 or 5, 8 if such end nodes 3, 5, 8 are not capable of establishing a direct communication connection between these end nodes. It is noted that network relay nodes 4, 6 besides extending the network range, may also support application data communication of a same variety of electric or electronic devices as mentioned above in connection with the end nodes 3, 5, 8. Further, an end node and relay node may be comprised in a single physical device. A node device may be mains or battery operated, for example.
[0061] The gateway device 2 operates as a network control or coordinator device, which may provide access 11 to other networks, such as the Internet 10, for example. Such a network control or coordinator device is also called a backend or network access device. The gateway device 2 may be deployed in the network 1 or remote of the network 1. For communication purposes, the gateway 2 may comprise integrated transceiver equipment, that may directly connect to a data processing part of the gateway 2, for example by a universal serial bus, USB, port or the like, and comprises communication functionality for exchanging data packets or messages with the network nodes in the network 1 using a same protocol as the network node devices 3-8, i.e. in the present example the Zigbee communication protocol.
[0062] The network node devices 3-8 may communicate 9 directly with the gateway device 2 or, as described above, messages or data packets may be relayed to the gateway device 2 via neighbouring network relay nodes 4 in the mesh network 1. The network node devices 3-8 are further configured for exchanging data messages or data packets with one or a plurality of the node devices in their neighbourhood.
[0063] Messages that are generated in a network node 3-8, and forwarded to the gateway 2 are generally referred to as uplink messages or uplink traffic. Messages that are forwarded from the gateway 2 to a network node 3-8 are referred to as downlink messages or downlink traffic. When not explicitly mentioned, the node devices 3-8 and the gateway 2 are arranged for communicating messages or data packets in the network 1 of the present disclosure in either one or both of a unicast and broadcast transmission mode.
[0064] In a Zigbee enabled communication network, the ZigBee routing algorithm uses a path cost metric for route comparison during route discovery and maintenance. To allow neighbouring node devices to communicate their incoming link costs to each other and to maintain a neighbor node table and routing table for calculating best routing paths, a link status command message or frame is periodically transmitted among the node devices in the network. In accordance with the present disclosure, the link status command message or frame is applied for exchanging the sensor related data, i.e. the application data.
[0065]
[0066] The link status command message or frame 20 comprises a one octet wide Command options field 21, a Link status list field 22, occupying a variable number of octets, and a Network commands payload field, i.e. NWK command payload field 23.
[0067] As shown in
[0068] In accordance with the present disclosure, as shown in
[0069] That is, If the sensor data flag is set to “1”, sensor data control bytes and/or sensor data payload data are appended to the link status command message or frame in the NWK command payload field 23 thereof.
[0070] The Link status list 22 provides the detailed link costs with neighbour nodes in the network.
[0071]
[0072]
[0073]
[0074] The first two bytes or octets are the data Source identification, ID, 28 and data Destination identification, ID, 29 of the sensor data, which indicate the source of the sensor data and the destination the sensor data are delivered, respectively. Of course, each sensor at each node device shall have a unique sensor ID. For Zigbee systems, each node has a two bytes short address. The sensor ID at a node device may have a unique mapping relation to the short address.
[0075] The third byte includes Sensor type and control information 30. Sensor type may indicate whether the sensor is one of a humidity, temperature, Infra Red, IR, radiation, Carbon Monoxide, Carbon Dioxide, generally designated CO.sub.x, actuators, camera systems, alarm systems, or other type of sensor. The sensor data length may relate to the type of sensor. The last byte 32 of the sensor data entry format is a Time stamp, that relates to the at which the sensor data are generated, for example.
[0076]
[0077] For example, a bit value “0” of the Request/report flag 33 indicates whether this piece of sensor data contains requested data or reported data. That is, sensor data automatically reported by a node device or a gateway in the network or sensor data that a particular sensor reports based on a request, for example. A bit value “1” of the Request/report flag 33 indicates in this example a request or inquiry for sensor data, i.e. application data in general.
[0078] For example, a gateway or a node device in the network may send a sensor data request or inquiry message using the link status command message in accordance with the present disclosure, by setting the Request/report flag 33 to “1”. The reporting sensor sends its sensor data by setting the Request/report flag 33 to “0”. Accordingly, sensor data request or inquiry and sensor response can be both handled with the modified link status command message or frame in accordance with the present disclosure.
[0079] Bit 1 to 3 of the Sensor type and control information 30 represent the maximum node Hop number 34 over which the sensor request or report data can be delivered. For example, If the maximum node hop number is set to zero, the nodes receiving the sensor data will not forward the sensor data anymore. If the sensor hop number has a value of one or higher, the sensor data will be forwarded and the hop number will be decreased by one before each resending. The sensor data will not be forwarded until the hop number is decreased. In practice, the maximum node hop number shall be set according to the estimation of the distance between the source node and the destination node of the application data.
[0080] Bit 4 to 7 of the Sensor type and control information 30 record the sensor type, as mentioned above. A specific number may be assigned to each type of sensors.
[0081]
[0082] In accordance with the present disclosure, in the event that a node device receives a link status command message indicating a sensor data request, i.e. a request for application data, block 41 ‘Receiving at node device link status command message indicating sensor data request’, and the sensor data source ID in this request does not match a sensor data source ID allocated to the receiving node device, decision block 42 ‘Source ID message matches sensor ID allocated to node device?’ result ‘No’, the received sensor data request will be repeated, block 46 ‘Repeat sensor data request in link status command message’, by the receiving node device in a link status command message only if the maximum node hop number in the received request message is unequal zero, decision block 43 ‘Max. hop nr. >0?’ result ‘Yes’, and after the maximum node hop number is decreased by one, i.e. block 45 ‘Max. hop nr.=Max. hop nr.−1. Otherwise, i.e. decision block 43 result ‘No’, the received request will not be further transmitted by the receiving node, i.e. block 44 ‘Stop exchange sensor data request’.
[0083] The request for sensor data, i.e. application data, will not be forwarded by the receiving node device in a link status command message until the maximum node hop number is decreased. In this manner spreading of the request for application data in the network is effectively controlled.
[0084] When, however, the sensor data source ID in the request does match a sensor data source ID allocated to the receiving node device, i.e. decision block 42 result ‘Yes’, the receiving node device prepares and forwards the requested sensor data, or application data, in a link status command message in accordance with the present disclosure, addressed to a requesting gateway or an other destination node device in the network, i.e. block 47 ‘Prepare and send sensor data in link status command message’.
[0085] It is noted that the respective node device will have to set the application data request/report flag in the link status command message exchanged by this node device to signal report of application data, as well as the destination ID, maximum hop number and other parameters disclosed above.
[0086]
[0087] Otherwise, i.e. decision block 53 result ‘No’, the received report data will not be further transmitted by the receiving node, i.e. block 54 ‘Stop exchange sensor data report’.
[0088] Accordingly, in the case of a link status command message indicating a report of sensor data, i.e. application data, the sensor data will not be forwarded by the receiving node device in a link status command message until the maximum node hop number is decreased.
[0089] If a node device in the network receives a link status command message having the maximum node hop number equal to zero, the node device will not forward the received sensor data or application data.
[0090] When, however, the sensor data destination ID in the report message does match a sensor data destination ID allocated to the receiving node device, i.e. decision block 52 result ‘Yes’, the receiving node device delivers the received sensor data, or application data, to the destination, i.e. block 57 ‘Deliver sensor data to destination ID’.
[0091] Note that the receiving node device may also be a gateway device, requesting sensor data, for example.
[0092] To further prevent spreading of application data in the network, in accordance with the present disclosure, the application data is also not forwarded by a receiving node when at least one of the timestamp indicates a time older than a set time threshold, and a repeat count number of repeated same application data by the receiving node device exceeds a set repeat threshold, i.e. decision blocks 58 ‘Timest. >th.hold and/or Rep. cnt nr. >th.hold ?’ result ‘Yes’.
[0093] For example, a repeat threshold may be set at a value of five, if a node may receive more than five repeated application data reports from the neighbour nodes in the network. The receiving node will not forward the application data because with such an amount it is validly assumed that this application data is sufficiently broadcasted in the network. With the above measures, it is expected that the application data are broadcasted in a certain scope and will not cause a data storm in the network.
[0094] In a further extension of the present disclosure, in a parent/child environment, a parent receiving reports in unicast from its ZED child sensor can choose to forward the data as link status command messages or frames, or the child could piggyback same on some other communication to the parent and then the parent may combine those application data and send same out through the link status command packets.
[0095] Except for delivering the application data through the link status command messages, other multiple hop control commands not requiring a strict delay may also utilize the link status command messages in accordance with the present disclosure to transmit information.
[0096]
[0097] The node device 60 further comprises at least one data processor or controller 65, and at least one data repository or storage or memory 66, among others for storing computer program code instructions which, when loaded and run on to the one or more processor or controller 65, configure the node device 60 to operate in accordance with the present disclosure for exchanging application data in periodically exchanged message by the node device, such as the link status command message or frame in a Zigbee enabled network environment.
[0098] Parameters and information about sensor IDs, maximum node hop numbers, time stamp data, repeat counts and respective thresholds, repetition rates and other attributes in accordance with the present disclosure for the node device may be stored 67 in the repository 66, or in a separate memory or storage accessible to the at least one processor or controller 65. The at least one processor or controller 65 communicatively interacts with and controls the transceiver 61 and the at least one repository or storage 66 via an internal data communication bus 48 of the gateway device 40.
[0099] The node device 60 may be part of or operatively connect 64 to an electric or electronic device, such as lighting device 70, comprising a lighting module 71, preferably a LED lighting module, operation of which may be controlled by the node device 60 from or through a network gateway, or by a remote control device, for example. As mentioned above, instead of or in addition to a lighting device, a node device may control several other electric or electronic devices, operatively connected in a network in accordance with the present disclosure.
[0100] Those skilled in the art will appreciate that the solution according to the present disclosure is applicable in a communication network comprising plural node devices and gateway devices, not limited to the number of nodes shown in the example of
[0101] Other variations to the disclosed examples can be understood and effected by those skilled in the art in practicing the claimed disclosure, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or transceiver or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. A computer program may be stored/distributed on a suitable medium such as an optical storage medium or a solid-state medium supplied together with or as a part of the hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope thereof.