OPTIMIZED UNICAST AND BROADCAST COMMUNICATION IN TSCH PRIMARY AND SECONDARY NETWORKS
A method for transmitting unicast messages includes: obtaining, by a first node configured to communicate on a primary time-slotted channel hopping (TSCH) network, a media access control (MAC) address of a second node configured to communicate on the primary TSCH network; determining whether the first node and the second node are also configured to communicate on a secondary TSCH network; and in response to determining that the first node and the second node are also configured to communicate on the secondary TSCH network: offsetting transmission of a unicast message until a second portion of a timeslot for the primary TSCH network; synchronizing to a channel hopping sequence and frequency of the secondary TSCH network for the second node, and transmitting, by the first node, the unicast message to the second node on the secondary TSCH network during the second portion of the timeslot.
Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
A time-slotted channel hopping (TSCH) network, for example as defined by IEEE 802.15.4, can provide a communications network for resource providers (e.g., utility companies, home automation providers, industrial automation providers, etc. The resource providers may use the TSCH network to communicate between TSCH nodes (e.g., electric meters, routers, etc.), or endpoints (EPs), and low-energy (LE) devices, or LE endpoints (LEEPs), used to monitor or manage consumption of resources (e.g., electricity, heat, water, etc.). In some cases, LEEPs can be Internet-Of-Things (IoT) enabled devices that can be used in smart power grid and smart home technologies.
Currently in TSCH networks, there is a concept of “links” where there are, for example, guaranteed timeslots for nodes to transmit beacons for timeslot synchronization, and contention access period (CAP) timeslots for general communication of both unicast or broadcast messages. A unicast message is a message transmitted to one other node on the network. A multicast/broadcast message is a message transmitted to a group of nodes on the network. Although nodes use clear channel assessment (CCA) to validate that a channel is available, this only protects the channel from competing devices that are not time-synchronized, and as such does not inhibit nodes within the same personal area network (PAN) from interfering with each other's communication.
In the case of two (or more) nodes simultaneously transmitting frames, none will successfully transmit that frame. If those frames are unicast packets, there will be a media access control (MAC) layer retry that will retry in a random back-off period if the MAC layer acknowledgement from the destination node is not received. If one or more of the simultaneously transmitted frames is a broadcast frame, there is no logic to acknowledge the broadcast frame. Thus, the broadcast frame may never be received by other nodes and the transmitting node has no way of knowing if the frame was received by other nodes.
SUMMARYMethods and systems for transmitting broadcast and unicast messages using primary and secondary networks are provided.
According to various aspects there is provided a method for transmitting unicast messages. In some aspects, the method may include: determining, by a first node, to transmit a unicast message to a second node; obtaining, by the first node configured to communicate on a primary time-slotted channel hopping (TSCH) network, a media access control (MAC) address of the second node configured to communicate on the primary TSCH network; determining whether the first node and the second node are also configured to communicate on a secondary TSCH network; and in response to determining that the first node and the second node are also configured to communicate on the secondary TSCH network: offsetting transmission of the unicast message until a second portion of a timeslot for the primary TSCH network; synchronizing to a channel hopping sequence and frequency of the secondary TSCH network for the second node, and transmitting, by the first node, the unicast message to the second node on the secondary TSCH network during the second portion of the timeslot.
The first node may offset transmission of the unicast message during the timeslot for a specified delay period. Offsetting transmission for the specified delay period may cause the first node to transmit the unicast message during the second portion of the timeslot when the second node is listening on the secondary TSCH network.
The specified delay period may be determined as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period. The macTsTxOffset time period may be a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period may be a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time may be is a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium. A primary portion of the timeslot may be prioritized for transmitting broadcast/multicast messages.
The MAC address of the second node may be associated with the channel hopping sequence of the second node on the secondary TSCH network, and the first node may determine the channel on the secondary TSCH network to transmit the unicast message to the second node based the channel hopping sequence associated with the MAC address of the second node contained in a neighbor table stored in a memory of the first node.
Prior to transmitting the unicast message to the second node, the first node may receive a communication from the second node over the primary TSCH network. The communication may contain a capability information element indicating that the second node supports communication over the secondary TSCH network.
A channel hopping protocol of the secondary TSCH network may switch frequencies less often than or at a same rate as a channel hopping protocol of the primary TSCH network switches frequencies.
In response to determining that the first node and the second node are only configured to communicate on the primary TSCH network, the unicast frame may be transmitted during a primary portion of the timeslot. The timeslot may be a contention access period timeslot for the primary TSCH network.
According to various aspects there is provided a time-slotted channel hopping (TSCH) network node. In some aspects, the TSCH network node may include: a transceiver, a memory, and a processor communicatively coupled to the transceiver and the memory. The processor may be configured to implement a protocol stack including a media access control (MAC) layer having a MAC address to communicate on a primary TSCH network. The MAC address may define addressing for the primary TSCH network and a secondary TSCH network.
The processor may be further configured to refer to a neighbor table stored in the memory of the TSCH network node to obtain the MAC address of a second TSCH network node. After a delay period of a first portion of a primary TSCH network timeslot the processor may cause the transceiver of the TSCH network node to: synchronize to a channel hopping sequence and frequency of the secondary TSCH network, and transmit a unicast frame to the second TSCH network node on the secondary TSCH network during a second portion of the primary TSCH network timeslot.
The processor may be configured to determine the delay period as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period. The macTsTxOffset time period may be a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period may be a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time period may be a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium.
The MAC address of the second TSCH network node may be associated with the channel hopping sequence of the second TSCH network node on the secondary TSCH network. The TSCH network node may determine the channel on the secondary TSCH network to transmit the unicast frame to the second TSCH network node based the channel hopping sequence associated with the MAC address of the second TSCH network node on the secondary TSCH network contained in the neighbor table stored in the memory of the TSCH network node.
Prior to transmitting the unicast frame to the second TSCH network node, a communication may be received from the second TSCH network node over the primary TSCH network. The communication may contain a capability information element indicating that the second TSCH network node supports communication over the secondary TSCH network. An indication corresponding to the capability information element may be stored in an entry associated with the second TSCH network node in the neighbor table in the memory of the TSCH network node.
The processor may also be configured to cause the transceiver to broadcast a communication over the primary TSCH network including a capability information element indicating that the TSCH network node supports communication over the secondary TSCH network.
According to various aspects there is provided a system in some aspects, the system may include: a plurality of time-slotted channel hopping (TSCH) nodes communicatively coupled to each other on a primary TSCH network. Each of the TSCH nodes may include a transceiver, a memory, and a processor communicatively coupled to the transceiver and the memory. The processor may be configured to implement a protocol stack including a media access control (MAC) layer having a MAC address to communicate on the primary TSCH network. The MAC address may define addressing for the primary TSCH network and a secondary TSCH network.
The processor of a first TSCH node of the plurality of TSCH nodes may be further configured to: cause the transceiver of the first TSCH node to receive a first communication from a second TSCH node of the plurality of TSCH nodes over the primary TSCH network containing a capability information element indicating that the second TSCH node supports communication over the secondary TSCH network, cause the transceiver of the first TSCH node to synchronize to a channel hopping sequence and frequency of the secondary TSCH network, and after a delay period of a first portion of a primary TSCH network timeslot, cause the transceiver of the first TSCH node to transmit a unicast frame to the second TSCH node on the secondary TSCH network during a second portion of the primary TSCH network timeslot. Delaying transmission for the delay period may cause the transceiver of the first TSCH node to transmit the unicast frame after a primary portion of the primary TSCH timeslot elapses.
The processor of each of the TSCH nodes of the plurality of TSCH nodes may be configured to store in a neighbor table indications corresponding to the capability information element received in communications from other TSCH nodes. The capability information element may indicate that the other TSCH nodes support communication over the secondary TSCH network.
The processor of each of the TSCH nodes of the plurality of TSCH nodes may be configured to cause the transceiver to broadcast a second communication over the primary TSCH network including the capability information element indicating that the TSCH node supports communication over the secondary TSCH network.
The processor of the first TSCH node of the plurality of TSCH nodes may be configured to determine the delay period as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period. The macTsTxOffset time period may be a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period may be a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time period may be a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium.
The MAC address of the second TSCH node may be associated with the channel hopping sequence of the second TSCH node on the secondary TSCH network. The first TSCH node may determine the channel on the secondary TSCH network to transmit the unicast frame to the second TSCH node based the channel hopping sequence associated with the MAC address of the second TSCH node contained in a neighbor table stored in the memory of the first TSCH node. A primary portion of the primary TSCH timeslot may be prioritized for transmitting broadcast/multicast frames.
A channel hopping protocol of the secondary TSCH network may switch frequencies less often than or at a same rate as a channel hopping protocol of the primary TSCH network switches frequencies.
Numerous benefits are achieved by way of the various embodiments over conventional techniques. For example, the various embodiments provide methods and systems that increase the probability of successful broadcast transmission. In some embodiments, a first portion of a contention access period (CAP) timeslot of a primary TSCH network is prioritized to be utilized for broadcast transmissions, and a secondary portion of the timeslot is utilized to listen for and communicate unicast messages on a secondary TSCH network. This may permit the channel associated with a CAP timeslot of the primary network to be reserved or prioritized for broadcast communications when the entire PAN is listening on a same channel, and permit a channel associated with the secondary TSCH network to be used for unicast transmissions that are time-shifted within the timeslots. These and other embodiments along with many of its advantages and features are described in more detail in conjunction with the text below and attached figures.
Aspects and features of the various embodiments will be more apparent by describing examples with reference to the accompanying drawings, in which:
While certain embodiments are described, these embodiments are presented by way of example only, and are not intended to limit the scope of protection. The apparatuses, methods, and systems described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions, and changes in the form of the example methods and systems described herein may be made without departing from the scope of protection.
Devices in a data network may communicate using a time synchronized channel hopping (TSCH) protocol, for example, as defined by IEEE 802.15.4(e). The TSCH protocol uses a series of timeslots and multiple channel frequencies for communication between devices.
Referring to
The primary network 110 may operate using a primary channel hopping protocol. The secondary network 150 may operate using a secondary channel hopping protocol. The primary channel hopping protocol of the primary network 110 may switch channel frequencies every timeslot, while the secondary channel hopping protocol of the secondary network 150 may switch channel frequencies after multiple timeslots. A timeslot for the primary network may be a fixed length timeslot and may be the same length as a timeslot for the secondary network. A timeslot may be a transmit timeslot or a receive timeslot as may be determined by the coordinator node 120.
The nodes 130a-130d may maintain synchronization with each other by periodically transmitting beacons to each other over the primary network 110. In the primary network 110, all of the nodes 130a-130d may be synchronized to communicate on a same channel during a portion of the TSCH timeslot, for example, the first one-third of the timeslot. During the remaining two-thirds of the timeslot, the nodes may listen for communications from devices on the secondary network or may send a communication on the secondary network. As used herein, the first approximately one-third of a timeslot may be referred to as the primary portion of the timeslot and the remaining approximately two-thirds of the timeslot may be referred to as the secondary portion of the timeslot.
Each node communicating on the secondary network may have a unique channel hopping pattern on the secondary network. For example, referring to
One of ordinary skill in the art will appreciate that the hopping patterns described with respect to
A node may have a MAC address that uniquely identifies the node on the primary TSCH network and the secondary TSCH network. A channel associated with a CAP timeslot of the primary network may be prioritized for broadcast communications initiated within the primary portion of the timeslot where all the nodes are listening on the same channel. Unicast messages may be transmitted by nodes by time-shifting their transmission and initiating the unicast messages within the secondary portion of the timeslot and utilizing the secondary TSCH network for the unicast transmission.
The processor 202 may include, for example, but not limited to, a microprocessor, an application-specific integrated circuit (“ASIC”), a state machine, a field programmable gate array (“FPGA”), or another suitable processing device. The processor 202 may include any number of processing devices, including one. The processor 202 may be communicatively coupled to a non-transitory computer-readable media, such as the memory 204. The processor 202 may execute computer-executable program instructions or access information stored in memory 204. The processor 202 may control overall operation of the TSCH node 200.
The transceiver device 208 may be configured to communicate with other TSCH nodes in the primary TSCH network. The transceiver device 208 also be configured to communicate over a secondary network. In some examples, the transceiver device 208 may include a radio-frequency (RF) transceiver and other transceivers for wirelessly transmitting and receiving signals.
Embodiments in accordance with the present disclosure attempt to use the secondary network exclusively for unicast communication, thereby increasing the probability of successful broadcast transmission by prioritizing the first portion of a CAP timeslot for broadcast transmissions on a primary TSCH network and transmitting unicast messages via a secondary TSCH network during a subsequent portion of the timeslot.
Referring to
When a node receives the beginning of a message from another node on the primary network 110 during the macTsRxWait period 385, the node may continue to receive the message on the primary network 110 until the complete message is received. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. If the node does not begin receiving a message on the primary network 110 prior to the expiration of the macTsRxWait period 385, then the node may switch to its assigned channel on the secondary network and begin to listen for a communication from another node on the secondary network 150. If a communication from another node on the secondary network 150 is received, the receiving node may receive the message from the secondary network 150 during the remainder of the timeslot until the complete message is received. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots.
The specified transmission offset period for the transmitting node to offset transmission of the frame on the secondary network may be determined as macTsTxOffset plus an additional macTsCCAOffset plus macTsRxWait. The specified transmission offset period may pass the first approximately one-third of the timeslot to allow the destination node to switch to its channel on the secondary network. This process gives precedence to broadcast messages as nodes will first listen to the primary network for transmissions before switching to the channel on the secondary network. Further, the process allows for optimal spectrum use as two or more pairs of nodes can communicate with each other simultaneously since they will transmit on the destination node's EUI64-based secondary network channel of the receiving node without collision. In dense deployments, this technology may allow nodes to communicate with less opportunity for channel collision and provide higher probability of success for multicast/broadcast frames.
Since the MAC address (i.e., the EUI64 address) of the receiving or destination node determines the channel hoping sequence, the transmitting node may switch to the channel of the destination node according to the information contained in the MAC neighbor table of the transmitting node to transmit the frame (i.e., the unicast message) to the destination node after the specified transmission offset period.
When a node has a frame to transmit, a link scheduling algorithm may determine whether the frame is a broadcast/multicast message or a unicast message. A broadcast/multicast message may be communicated over the primary network link to enable nodes within reception range to receive the frame. When the frame is a unicast message and the receiving node supports communications over the secondary network, the message may be communicated over the secondary network. The destination MAC address of a receiving node for a unicast message may be indicated as supporting communication over a secondary network in the MAC neighbor table of the transmitting node. The neighbor table may be stored in memory of the node and may contain entries associated with information about other nodes on the primary network including, for example, but not limited to, MAC addresses and capability information (e.g., whether a node can communicate on a secondary network, etc.).
The indication regarding whether a destination MAC address supports communication over a secondary network may be provided by a capability information element (IE) included in an initial communication, for example, but not limited to, a beacon, an enhanced beacon (EB) (i.e., a TSCH frame that contains information on synchronization, channel hopping and timeslot used in the network) or other communication from the node. In accordance with various aspects of the present disclosure, nodes not capable of communicating on the secondary network may also be indicated in the MAC neighbor table of the transmitting node. Accordingly, unicast messages to nodes not capable of communicating on the secondary network may be sent in a conventional manner (i.e., during the primary portion of a CAP timeslot on the primary network).
The transmitting node (Node2) may offset transmission of the unicast message for a macTsTxOffset period plus an additional macTsCCA period to allow clear channel assessment of the switched channel, plus a macTsRxWait period, which will pass the first one-third of the timeslot 421 to allow the receiving node (Node1) to switch to its channel on the secondary network, and allows the transmitting node to confirm that a broadcast transmission was not initiated during the primary portion of the timeslot. Since the MAC address of the receiving node (Node1) determines the hopping sequence, the transmitting node (Node2) will synchronize to that channel on the secondary network to transmit 424 the unicast frame 425 to the receiving node (Node1).
Clear channel assessment (CCA) may be performed by the first node (Node2) to validate that the channel on the secondary network is available. If the first node (Node2) detects energy on the channel, for example, another device transmitting on the channel, the unicast frame 425 may not be transmitted and transmission may be attempted again after a random back-off period. When the first node (Node2) transmits the unicast frame 425, the second node (Node1) may receive 430 the unicast frame 425 on the secondary network. Transmission/reception of the unicast frame may conclude in the primary portion 436 of the subsequent timeslot 422. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. The second node (Node1) may acknowledge receipt 435 of the unicast transmission during the secondary portion 437 of the subsequent timeslot 422 on the same channel.
The first node (Node4) may refer to a neighbor table to determine the MAC address of the second node (Node3). The neighbor table may be stored in memory of the first node (Node4). The MAC address of the second node (Node3) may determine the channel hopping pattern for the second node (Node3) when communicating on the secondary network. During the secondary portion 443 of the first timeslot 441 (i.e., the approximately last two-thirds of the timeslot), the first node (Node4) may switch to the frequency of the second node (Node3) on the secondary network and may attempt to transmit 450 the unicast frame 452a to the second node (Node3).
The transmitting node (Node4) may offset transmission of the unicast message for a macTsTxOffset period plus an additional macTsCCA period to allow clear channel assessment of the switched channel, plus a macTsRxWait period, which will pass the first one-third of the timeslot 441 to allow the receiving node (Node3) to switch to its channel on the secondary network, and allows the transmitting node to confirm that a broadcast transmission was not initiated during the primary portion of the timeslot. Since the MAC address of the receiving node (Node3) determines the hopping sequence, the transmitting node (Node4) will synchronize to that channel on the secondary network to transmit 450 the unicast frame 452a to the receiving node (Node3).
Clear channel assessment (CCA) may be performed the first node (Node4) to validate that the channel on the secondary network is available and if energy is detected on the channel, transmission of the unicast frame 452a may be attempted again after a random back-off period. When the first node Node4 transmits the unicast frame 452a, the second node (Node3) may receive 452b the unicast frame on the secondary network. Transmission/reception of the unicast frame 452a may conclude in the primary portion 444 of the subsequent (i.e., second) timeslot 442. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. The second node (Node3) may acknowledge receipt 454 of the unicast transmission during the secondary portion 445 of the subsequent (i.e., second) timeslot 442 on the same channel.
While the unicast transmission between the first node (Node4) and the second node (Node3) is in progress, a third node (Node5) may transmit 456 a broadcast frame 458a during the primary portion 444 of the second timeslot 442. During the primary portion 444 of the second timeslot 442 (i.e., the first approximately one-third of the timeslot), only the third node (Node5) and nodes (Node1) and (Node2) on the primary network may be synchronized to the same channel since first node (Node4) and the second node (Node3) are tuned to the channel on the secondary network corresponding to the MAC address of the second node (Node3) for transmission/reception of the unicast frame 452a. Therefore, when the third node (Node5) transmits the broadcast frame 458a over the primary network only nodes (Node1) and (Node2) on the primary network receive 458b the broadcast frame 458a. Transmission/reception of the broadcast frame 458a may conclude in the secondary portion 445 of the subsequent timeslot 442. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. No acknowledgement (ACK) is sent by the node to acknowledge receipt of the broadcast frame 458a.
The first node (Node3) may transmit the broadcast frame 485a over the primary network. The first node (Node3) may transmit 477 the broadcast frame 485a during the primary portion 470 of the first timeslot 461. During the primary portion 470 of the first timeslot 461 (i.e., the first approximately one-third of the timeslot), all of the nodes on the primary network may be synchronized to the same channel (i.e., frequency) on the primary network. Therefore, when the first node (Node3) transmits the broadcast frame 485a over the primary network the other nodes (Node1, Node2, Node4, and Node5) on the primary network receive 485b the broadcast frame 485a. Transmission/reception of the broadcast frame may conclude in the secondary portion 471 of the subsequent timeslot 462. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. No acknowledgement (ACK) is sent by the nodes to acknowledge receipt of the broadcast frame.
Prior to transmitting the unicast frame in the third timeslot 463, the second node (Node2) may refer to a neighbor table to determine the MAC address of the fourth node (Node1). The neighbor table may be stored in memory of the second node (Node2). The MAC address of the fourth node (Node1) may determine the channel hopping pattern (i.e., the channel frequency and number of timeslots the channel is active on the channel frequency) for the fourth node (Node1) when communicating on the secondary network. Similarly, the third node (Node4) may refer to a neighbor table stored in its memory to determine the MAC address of the first node (Node3) for the secondary network to determine the channel hopping pattern for the first node (Node3) for the secondary network.
During the secondary portion 472 of the third timeslot 463 (i.e., the approximately last two-thirds of the timeslot), the second node (Node2) may synchronize to the frequency of the third node (Node1) on the secondary network and the fourth node (Node4) may synchronize to the frequency of the first node (Node3) on the secondary network. After offsetting transmission of the unicast frame as described above, during the secondary portion 472 of the third timeslot 463 the second node (Node2) may attempt to transmit 480a its unicast frame 486a to the second node (Node1) and the fourth node (Node4) may attempt to transmit 481a its unicast frame 487a to the first node (Node3). Since the unicast frames are transmitted on different channels of the secondary network determined by the channel hopping patterns associated with the MAC addresses of the first node (Node3) and the third node (Node1), the unicast messages do not collide and will be received by the respective recipient nodes.
Clear channel assessment (CCA) may be performed by the second node (Node2) and the fourth node (Node4) to validate that the channels on the secondary network are available and if energy is detected on their respective channels, transmission of the unicast frames 486a, 487a may be attempted again after random back-off periods. When the second node (Node2) transmits 480a the unicast frame 486a, the third node (Node1) may receive 486b the unicast frame 486a on the secondary network. Transmission/reception of the unicast frame may conclude in the primary portion 473 of the subsequent timeslot 464 or may extend into one or more subsequent timeslots. The third node (Node1) may acknowledge receipt 480b of the unicast frame during the secondary portion 474 of the subsequent timeslot 464 on the same channel. Similarly, the first node (Node3) may receive 487b the unicast frame 487a on the secondary network. Transmission/reception of the unicast frame may conclude in the primary portion 473 of the subsequent timeslot 464 or may extend into one or more subsequent timeslots, and the first node (Node3) may acknowledge receipt 481b of the unicast frame during the secondary portion 474 of the subsequent timeslot 464 on the same channel.
While the unicast transmissions between the second node (Node2) and the third node (Node1) and between the fourth node (Node4) and the first node nodes are in progress, the fifth node (Node5) may attempt to transmit 479 a broadcast frame 479a during the primary portion 473 of the fourth timeslot 464. However, during the primary portion 473 of the fourth timeslot 464 the other nodes (Node1-Node4) are tuned to the secondary network to transmit/receive unicast frames. Therefore, the broadcast frame 479a transmitted by the fifth node (Node5) is not received by the other nodes (Node1-Node4).
In the fifth timeslot 465, the first node (Node3) may transmit another broadcast frame 488a over the primary network. The first node (Node3) may transmit 478 the broadcast frame 488a during the primary portion 475 of the fifth timeslot 465. During the primary portion 475 of the fifth timeslot 465, all of the nodes on the primary network may again be synchronized to the same channel on the primary network. Therefore, when the first node (Node3) transmits the broadcast frame 488a over the primary network the other nodes (Node1, Node2, Node4, and Node5) on the primary network receive 488b the broadcast frame 488a. Transmission/reception of the broadcast frame may conclude in the secondary portion 476 of the subsequent timeslot 466. The message may be completely received during the timeslot or may extend into one or more subsequent timeslots. No acknowledgement (ACK) is sent by the nodes to acknowledge receipt of the broadcast frame.
At block 510, a unicast frame may be scheduled for transmission from the first node on a primary network to a second node on the primary network. For example, a link scheduling algorithm for the first node may determine that the first node has a unicast frame to transmit and may schedule the transmission to the recipient node during a specified timeslot.
At block 515, it may be determined whether the first node and the second node are configured for communication on a secondary network. For example, the processor of the transmitting node may determine whether the nodes are capable of communication on a secondary network. An indication regarding whether a destination MAC address supports communication over a secondary network may be provided by a capability IE included in an initial communication, for example, a beacon, an enhanced beacon or other communication from the node. Nodes capable of communicating on the secondary network may be indicated in the MAC neighbor table of the transmitting node. In some cases, the capability information for the receiving node may indicate that the receiving node is not capable of communication on the secondary network.
When it is determined that at least one of the nodes is not capable of communication on a secondary network (515-N), at block 520 the unicast frame may be transmitted in a conventional manner on the primary network during the contention access period of the primary TSCH network timeslot.
When it is determined that both of the nodes are capable of communication on a secondary network (515-Y), at block 525, the first node may refer to a neighbor table to determine the hopping pattern of the second node for the secondary network. The neighbor table may be stored in memory of the first node and may contain entries associated with information about other nodes on the primary network including, for example, but not limited to, MAC addresses, capability information (e.g., whether a node can communicate on a secondary network, etc.). The MAC address of the second node for the secondary network may determine the channel hopping pattern (i.e., the channel frequency and number of timeslots the channel is active on the channel frequency) for the second node when communicating on the secondary network.
At block 530, the first node may determine a transmission offset for the unicast frame. The first node may offset transmission of the unicast frame for a specified period of time during the specified timeslot to allow the second (i.e., destination) node to switch to its channel on the secondary network. The specified transmission offset period may be determined as macTsTxOffset plus an additional macTsCCAOffset plus macTsRxWait. At block 535, the first node may synchronize to the channel hopping sequence and frequency of the second node on the secondary network during the secondary portion of the specified timeslot.
At block 540, the first node may determine whether the channel is clear by performing a CCA. In response to determining that the channel is not clear (540-N), at block 545 the first node may wait for a random back-off period to attempt to transmit the unicast frame and the method may return to block 540 to perform CCA. In response to determining that the channel is clear (540-Y), at block 550 the first node may transmit the unicast frame to the second node on the secondary network.
The method 500 may be embodied on a non-transitory computer readable medium, for example, but not limited to, a memory or other non-transitory computer readable medium known to those of skill in the art, having stored therein a program including computer executable instructions for making a processor, computer, or other programmable device execute the operations of the methods.
It should be appreciated that the specific steps illustrated in
The systems and methods of the present disclosure give precedence to broadcast frames as nodes will first listen to the primary network for transmissions before switching to a channel on the secondary network. The systems and methods of the present disclosure may provide for optimal spectrum use as two or more pairs of nodes can communicate with each other simultaneously by transmitting on the secondary network to the channel of the destination nodes (i.e., the EUI64 based channel) without collision. In dense deployments, nodes may communicate with less opportunity for channel collision and provide higher probability of success.
While the present subject matter has been described in detail with respect to specific aspects thereof, it will be appreciated that those skilled in the art, upon attaining an understanding of the foregoing, may readily produce alterations to, variations of, and equivalents to such aspects. Accordingly, it should be understood that the present disclosure has been presented for purposes of example rather than limitation and does not preclude inclusion of such modifications, variations, and/or additions to the present subject matter as would be readily apparent to one of ordinary skill in the art.
The examples and embodiments described herein are for illustrative purposes only. Various modifications or changes in light thereof will be apparent to persons skilled in the art. These are to be included within the spirit and purview of this application, and the scope of the appended claims, which follow.
Claims
1. A method for transmitting unicast messages, the method comprising:
- determining, by a first node, to transmit a unicast message to a second node;
- obtaining, by the first node configured to communicate on a primary time-slotted channel hopping (TSCH) network, a media access control (MAC) address of the second node configured to communicate on the primary TSCH network;
- determining whether the first node and the second node are also configured to communicate on a secondary TSCH network; and
- in response to determining that the first node and the second node are also configured to communicate on the secondary TSCH network: offsetting transmission of the unicast message until a second portion of a timeslot for the primary TSCH network; synchronizing to a channel hopping sequence and frequency of the secondary TSCH network for the second node, and transmitting, by the first node, the unicast message to the second node on the secondary TSCH network during the second portion of the timeslot.
2. The method of claim 1, wherein the first node offsets transmission of the unicast message during the timeslot for a specified delay period,
- wherein offsetting transmission for the specified delay period causes the first node to transmit the unicast message during the second portion of the timeslot when the second node is listening on the secondary TSCH network.
3. The method of claim 2, wherein the specified delay period is determined as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period,
- wherein the macTsTxOffset time period is a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period is a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time period is a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium.
4. The method of claim 2, wherein a primary portion of the timeslot is prioritized for transmitting broadcast/multicast messages.
5. The method of claim 1, wherein the MAC address of the second node is associated with the channel hopping sequence of the second node on the secondary TSCH network, and
- wherein the first node determines the channel on the secondary TSCH network to transmit the unicast message to the second node based the channel hopping sequence associated with the MAC address of the second node contained in a neighbor table stored in a memory of the first node.
6. The method of claim 1, wherein prior to transmitting the unicast message to the second node, the first node receives a communication from the second node over the primary TSCH network, wherein the communication contains a capability information element indicating that the second node supports communication over the secondary TSCH network.
7. The method of claim 1, wherein a channel hopping protocol of the secondary TSCH network switches frequencies less often than a channel hopping protocol of the primary TSCH network switches frequencies.
8. The method of claim 1, wherein a channel hopping protocol of the secondary TSCH network switches frequencies at a same rate as a channel hopping protocol of the primary TSCH network switches frequencies.
9. The method of claim 1, further comprising:
- in response to determining that the first node and the second node are only configured to communicate on the primary TSCH network, transmitting the unicast message during a primary portion of the timeslot, wherein the timeslot is a contention access period timeslot for the primary TSCH network.
10. A time-slotted channel hopping (TSCH) network node, comprising:
- a transceiver;
- a memory; and
- a processor communicatively coupled to the transceiver and the memory, wherein the processor is configured to implement a protocol stack including: a media access control (MAC) layer having a MAC address to communicate on a primary TSCH network, wherein the MAC address defines addressing for the primary TSCH network and a secondary TSCH network, wherein the processor is further configured to: refer to a neighbor table stored in the memory of the TSCH network node to obtain the MAC address of a second TSCH network node, after a delay period of a first portion of a primary TSCH network timeslot cause the transceiver of the TSCH network node to: synchronize to a channel hopping sequence and frequency of the secondary TSCH network, and transmit a unicast frame to the second TSCH network node on the secondary TSCH network during a second portion of the primary TSCH network timeslot.
11. The TSCH network node of claim 10, wherein the processor is configured to determine the delay period as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period,
- wherein the macTsTxOffset time period is a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period is a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time period is a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium.
12. The TSCH network node of claim 10, wherein the MAC address of the second TSCH network node is associated with the channel hopping sequence of the second TSCH network node on the secondary TSCH network, and
- wherein the TSCH network node determines a channel on the secondary TSCH network to transmit the unicast frame to the second TSCH network node based the channel hopping sequence associated with the MAC address of the second TSCH network node on the secondary TSCH network contained in the neighbor table stored in the memory of the TSCH network node.
13. The TSCH network node of claim 10, the processor is configured to:
- prior to transmitting the unicast frame to the second TSCH network node, receive a communication from the second TSCH network node over the primary TSCH network, wherein the communication contains a capability information element indicating that the second TSCH network node supports communication over the secondary TSCH network, and
- store an indication corresponding to the capability information element in an entry associated with the second TSCH network node in the neighbor table in the memory of the TSCH network node.
14. The TSCH network node of claim 10, wherein the processor is configured to cause the transceiver to broadcast a communication over the primary TSCH network including a capability information element indicating that the TSCH network node supports communication over the secondary TSCH network.
15. A system comprising:
- a plurality of time-slotted channel hopping (TSCH) nodes communicatively coupled to each other on a primary TSCH network, each of the TSCH nodes of the plurality of TSCH nodes including:
- a transceiver;
- a memory; and
- a processor communicatively coupled to the transceiver and the memory, wherein the processor is configured to implement a protocol stack including: a media access control (MAC) layer having a MAC address to communicate on the primary TSCH network, wherein the MAC address defines addressing for the primary TSCH network and a secondary TSCH network,
- wherein the processor of a first TSCH node of the plurality of TSCH nodes is further configured to:
- cause the transceiver of the first TSCH node to receive a first communication from a second TSCH node of the plurality of TSCH nodes over the primary TSCH network containing a capability information element indicating that the second TSCH node supports communication over the secondary TSCH network,
- cause the transceiver of the first TSCH node to synchronize to a channel hopping sequence and frequency of the secondary TSCH network, and
- after a delay period of a first portion of a primary TSCH network timeslot, cause the transceiver of the first TSCH node to transmit a unicast frame to the second TSCH node on the secondary TSCH network during a second portion of the primary TSCH network timeslot.
16. The system of claim 15, wherein the processor of each of the TSCH nodes of the plurality of TSCH nodes is configured to store in a neighbor table indications corresponding to the capability information element received in communications from other TSCH nodes,
- wherein the capability information element indicates that the other TSCH nodes support communication over the secondary TSCH network.
17. The system of claim 15, wherein the processor of each of the TSCH nodes of the plurality of TSCH nodes is configured to cause the transceiver to broadcast a second communication over the primary TSCH network including the capability information element indicating that the TSCH node supports communication over the secondary TSCH network.
18. The system of claim 15, wherein delaying transmission for the delay period causes the transceiver of the first TSCH node to transmit the unicast frame after a primary portion of the primary TSCH timeslot elapses.
19. The system of claim 15, wherein the processor of the first TSCH node of the plurality of TSCH nodes is configured to determine the delay period as a macTsTxOffset time period plus an additional macTsCCAOffset time period plus a macTsRxWait time period, wherein the macTsTxOffset time period is a period of time a sender node waits to transmit a frame to make communication possible when the sender node is ahead in time of a receiver node, the additional macTsCCAOffset time period is a period of time to allow clear channel assessment after the macTsTxOffset time period, and the macTsRxWait time period is a period of time the receiver node waits to start receiving the frame after the receiver node starts listening to a transmission medium.
20. The system of claim 15, wherein the MAC address of the second TSCH node is associated with the channel hopping sequence of the second TSCH node on the secondary TSCH network, and
- wherein the first TSCH node determines a channel on the secondary TSCH network to transmit the unicast frame to the second TSCH node based the channel hopping sequence associated with the MAC address of the second TSCH node contained in a neighbor table stored in the memory of the first TSCH node.
21. The system of claim 15, wherein a primary portion of the primary TSCH timeslot is prioritized for transmitting broadcast/multicast frames.
22. The system of claim 15, wherein a channel hopping protocol of the secondary TSCH network switches frequencies less often than a channel hopping protocol of the primary TSCH network switches frequencies.
23. The system of claim 15, wherein a channel hopping protocol of the secondary TSCH network switches frequencies at a same rate as a channel hopping protocol of the primary TSCH network switches frequencies.
Type: Application
Filed: Mar 20, 2019
Publication Date: Sep 24, 2020
Inventors: James Patrick Hanley (Decatur, GA), Michael Sean Holcombe (Roswell, GA), Christopher Scott Hett (Smyrna, GA), Lawrence Harris (Duluth, GA)
Application Number: 16/359,490