The present invention relates to the technical field of computing, and, in particular, to apparatus, computer readable media and methods related to delivery of firmware updates to selected nodes of mesh networks.
Given the widespread use of low-power wireless Internet of things (IoT) devices for various operations, ensuring that network nodes are regularly provided with necessary firmware updates is important, both to withstand potential threats as well as to ensure operational uptime and efficiency. Conventionally, firmware over the air (FOTA) updates are done in a centralized manner from a device management (DM) backend that pushes firmware packages to each device in a deployment. This approach is network and power inefficient, particularly as regards battery powered sensor nodes. Thus, in the conventional firmware update a root or central node, such as a DM backend, transmits the payload to each node in the network. This often results in a large traffic overhead, which has a potential negative impact on other network traffic, as well as both increased power consumption and completion times.
In embodiments, an apparatus for selectively delivering software updates to nodes in a network includes a receiver to receive both a software update and a list of nodes of the network that are scheduled to receive the software update. The apparatus further includes a device management agent (DMA), to identify a set of traversals to leaf nodes of the list of nodes necessary to traverse all nodes on the list, and to distribute the software updates to the nodes on the list using the set of traversals.
In embodiments, the set of traversals may include just one traversal of each unique branch in a tree-mesh network. This is referred to below as a first optimization. In some embodiments, the set of traversals may be a minimum set of traversals that traverses each node on the list just once. This option is referred to below as a second optimization.
In embodiments, one or more non-transitory computer-readable storage media includes a set of instructions, which, when executed on a network gateway (NG) coupled to a network of nodes, cause the NG to receive a firmware (FW) update and a list of destination nodes (DNs) that are to receive the FW update. The instructions, when executed, further cause the NG to identify a set of traversals to leaf DNs of the network to traverse all of the DNs, wherein if there are two possible traversals to a DN, the traversal with the fewest hops is included in the set, and to distribute the update to the DNs according to the set of traversals.
In the following description, various aspects of the illustrative implementations will be described using terms commonly employed by those skilled in the art to convey the substance of their work to others skilled in the art. However, it will be apparent to those skilled in the art that embodiments of the present disclosure may be practiced with only some of the described aspects. For purposes of explanation, specific numbers, materials and configurations are set forth in order to provide a thorough understanding of the illustrative implementations. However, it will be apparent to one skilled in the art that embodiments of the present disclosure may be practiced without the specific details. In other instances, well-known features are omitted or simplified in order not to obscure the illustrative implementations.
In the following detailed description, reference is made to the accompanying drawings which form a part hereof, wherein like numerals designate like parts throughout, and in which is shown by way of illustration embodiments in which the subject matter of the present disclosure may be practiced. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present disclosure. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of embodiments is defined by the appended claims and their equivalents.
For the purposes of the present disclosure, the phrase “A and/or B” means (A), (B), (A) or (B), or (A and B). For the purposes of the present disclosure, the phrase “A, B, and/or C” means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B and C).
The description may use perspective-based descriptions such as top/bottom, in/out, over/under, and the like. Such descriptions are merely used to facilitate the discussion and are not intended to restrict the application of embodiments described herein to any particular orientation.
The description may use the phrases “in an embodiment,” or “in embodiments,” which may each refer to one or more of the same or different embodiments. Furthermore, the terms “comprising,” “including,” “having,” and the like, as used with respect to embodiments of the present disclosure, are synonymous.
The term “coupled with,” along with its derivatives, may be used herein. “Coupled” may mean one or more of the following. “Coupled” may mean that two or more elements are in direct physical or electrical contact. However, “coupled” may also mean that two or more elements indirectly contact each other, but yet still cooperate or interact with each other, and may mean that one or more other elements are coupled or connected between the elements that are said to be coupled with each other. The term “directly coupled” may mean that two or elements are in direct contact.
As used herein, the term “circuitry” may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and/or memory (shared, dedicated, or group) that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
As used herein, including in the claims, the term “chip” may refer to a physical integrated circuit (IC) on a computer. A chip in the context of this document may thus refer to an execution unit that can be single-core or multi-core technology.
As used herein, including in the claims, the term “processor” may refer to a logical execution unit on a physical chip. A multi-core chip may have several cores. As used herein the term “core” may refer to a logical execution unit containing an Ll (lowest level) cache and functional units. Cores are understood as being able to independently execute programs or threads.
As used herein, the term “firmware” (FW) refers to a software program or set of instructions programmed on a hardware device. It may include programs written by software developers to make hardware devices operate properly. For example, FW may provide necessary instructions for how a device communicates with other devices. As used herein, the term “software” thus includes “firmware.” Common reasons for updating FW include fixing bugs or adding features to the device.
In embodiments, more efficient delivery of software updates to nodes of a low power mesh network, such as, for example, ISA 100.11a, WirelessHart, IEEE 802.15.4e/g, or the like, is facilitated. In embodiments, optimizations over traditional FOTA approaches to distribution of a firmware image to multiple nodes are described. In embodiments, these optimizations may leverage knowledge of the details of an underlying network mesh topology to dramatically reduce the number of packets that need to be sent to distribute the FW to all specified nodes.
In embodiments, an apparatus, such as a device management agent (DMA), identifies a set of traversals from root to leaf nodes to be made so as to traverse all nodes scheduled for the update. Then, in embodiments, the DMA informs all targeted nodes of the FOTA update, putting them into a FOTA-update state. FOTA packets are transmitted to all leaf nodes. In embodiments, intermediate nodes cache each packet that belongs to the FOTA update and reconstitute a FW image once the FOTA transaction has been completed. In embodiments, node to node reliability is provided with link layer retransmission between each pair of nodes in the mesh. Following distribution of the update, the integrity of the FW image is then verified using a standard mechanism (e.g. secure hash algorithm-256 (SHA-256) digest or the like), and upon verification nodes commit the updated image, reboot and return to a normal operational state.
Approaches according to various embodiments result in savings in network traffic, bandwidth and power. For example, power consumption is reduced at each node, and, due to significantly less overall traversals to nodes, the time to complete a FW update over a network may significantly be reduced. In embodiments where the mesh network is a wireless sensor network (WSN), a larger scale for the WSN may be provided through optimized use of the spectrum.
Processes in accordance with various embodiments are agnostic to wireless network technology, including both routing processes as well as contention and contention-free systems. Example processes may operate across various DM solutions to support FOTA through batch and DM-agent support at a gateway/edge layer. Processes according to various embodiments apply to both FOTA binary replacement techniques, and also to binary patching techniques, where a differential patch of FW, as opposed to an entire update, are sent to end nodes to regenerate a new firmware image.
In embodiments, application layer protocols used may be either proprietary, or, for example, based on standards, such as LWM2M, OCF, OPAF or OPC-UA, for example. A transport protocol may be transport connect protocol (TCP), or, due to limitations of sensor nodes, user datagram protocol (UDP), for example.
As further shown in
In that vein, in implementing the second optimization, it is useful to know which nodes will need additional node-based TX logic 130, and which may not. In some embodiments, for example, it may be centrally known (e.g., by gateway 120) a priori that a parent branching node will always have that status in a network, and in that case such nodes may be provided with the additional logic. However, in other embodiments, the network may reform or change over time (e.g., due to interference or mobile nodes) and network discovery may be required at runtime. In such networks, if the second optimization is desired to be implemented, every node, or every node likely to be a parent branching node as determined by some process, should be provided with TX logic 130.
In alternate embodiments, network 150 may have a mesh topology, where multiple parent nodes are connected to the same child nodes. In embodiments, network 150 is a low-power sensor network.
Continuing with reference to
Next described are a series of tasks to be performed in a FOTA, in accordance with various embodiments. These tasks are described with reference to
In a third task, the DM agent on the gateway performs necessary steps to initiate the FOTA update. These include identifying the optimal routes to use to traverse the network, in the case of network 150, a tree, so as to reach every node in every branch that has nodes that are to be updated, as per the list of nodes received from DMS 110. In general, this requires a route to every leaf node in every branch, which may be referred to as a set of end-nodes, S. In network 150 of
In embodiments, for source routing, a coordinator, such as DM agent 125, already knows the route to every targeted node when the FOTA update command is received. In dynamic source routing (DSR) embodiments, route discovery may be required prior to issuing the update request.
In a fourth task, the DM agent signals to the targeted set of nodes to transition into a FOTA-Progress state, and then begins transmitting the FOTA image or patch to each of the targeted end-nodes. Each node that is scheduled for the FOTA along the path from the coordinator caches each FOTA package while in FOTA-Progress state. Each intermediary node forwards the packet to targeted child node. In embodiments, any retransmission is managed at the link layer, with a fixed/predetermined number of retries.
In a fifth task, when the FOTA image or patch has been transferred from the coordinator throughout the targeted branches and end-nodes, the coordinator signals a FOTA-Complete-Verify signal to all the nodes in the network. Then, in response, if a binary patching technique is used, each end-node recreates the image using the binary patch file. Moreover, at this point each receiving end-node verifies the integrity of the FW image, such as, for example, by using a SHA-256 checksum. While implementation specific, a node failing to verify the integrity of the FW image silently discards the reconstituted image. In embodiments, authenticity of the FW image is also checked in this step.
In a sixth task, the coordinator issues a FOTA-Complete-Commit to the end nodes, and end node with a successfully verified image commits its image in flash and reboots. IN some embodiments, the coordinator may later query the version and state of nodes to identify any failed updates and then perform a separate scheduled FOTA for those nodes.
As noted above, in a traditional FOTA deployment, each packet is sent from the update coordinator, e.g., DM agent 125, to each node on the list. Next described is an analysis of overall performance improvement according to a first optimization according to various embodiments. The improvement is measured in transactions, which is directly proportional to power savings and airtime optimization.
For the purposes of the following analysis, the following notation is utilized:
t is the number of transactions;
k is the number of branches in the mesh from root; and
the set {n1, n2, . . ., nm} denotes the number of links/vertices from root to end nodes in each branch.
As noted, in the conventional approach, a packet is sent from a coordinator to each node in each branch of the network, i.e.:
which yields,
In contrast, in embodiments, each unique branch of the network is traversed at most once for each targeted end node, and thus:
The improvement is given by 1-(O/T). Because the number of branches are the same in both cases, as the same network is used for this comparison, the improvement, I is congruent to the total set of vertices, n:
In some embodiments, a second optimization, over and above the first optimization described above, is implemented. In this second optimization, each node in a branch that has two or more children (e.g., the node, although in a branch itself, is also a branching parent node) is made responsible for transmitting each FOTA packet it receives to each of its descendant branches that has at least one node targeted for the FOTA. While this second optimization eliminates even more redundant network traffic, it comes with increased node complexity, as next described.
In embodiments that implement the second optimization, each branching parent node needs to know the set of targeted nodes to be updated, as per the list received by gateway 120 from DMS 110, with reference to
The following describes various tasks performed in a FOTA update according to embodiments implementing the second optimization. A GW signals the start of a FOTA update flow, indicating in the signaling the set of targeted nodes to receive the update. For each branch identified by the GW, it sends out a FOTA packet transmission, as follows. If the branch does not contain a parent branching node, packets are addressed to the leaf directly. For each branch identified, when the GW, or other controller, decides the order in which to send updates to, it starts by selecting the targeted nodes from the bottom, working its way upwards. However, as described below with reference to the five example networks, the flow of the actual software update is always top down, or from GW or other controller to leaf nodes.
At a parent branching node, if the parent node is designated for the update, each packet of the FOTA is cached and the image subsequently reconstructed and verified. If the parent node is not designated for the update, the parent will transfer the packet to all of its descendant leaf nodes.
At an intermediary node that does not branch (e.g., parent node with only one child node), if the node is designated for the update, each packet of the FOTA is cached and the image subsequently reconstructed and verified. If the intermediary node is not designated for the update, the node will transfer the packet to its single child node and discard it, once transmission of the packet has been successful.
Finally, at a leaf node, the node caches the packet and subsequently rebuilds the image at the conclusion of the FOTA flow and verifies it. Once the FOTA flow has completed, the gateway signals to the targeted nodes to rebuild and verify the image before committing the updated FW image.
Next described, with reference to
In a conventional FOTA process applied to Example A, the update originates at the root node, node 1, and makes a separate trip to every other node. In terms of hops, and with reference to Table 1, this equals 1+2+3+4 hops on the left side, and 2+3+4+5 hops on the right side, of the network. Overall, this sums to 10 hops (left branch)+14 hops (right branch)=24*N hops for an N-packet transfer. This sum is obtained by adding the rightmost column of Table 1.
In contrast, as shown in
Further, in embodiments applying the second optimization (referred to herein as “fully optimized embodiments”), with reference to
Described below, with reference to
In a conventional FOTA process applied to Example B, the update originates at the root node, node 1, and makes a separate trip to every other node. In terms of hops, and with reference to Table 6, this equals 1+2+3+4 hops on the left side, and 4+5 hops on the right side, of the network. Overall, this sums to 10 hops (left branch)+9 hops (right branch)=19*N hops for an N-packet transfer. This sum is obtained by adding the rightmost column of the DSR, here Table 6.
In contrast, as shown in
Accordingly, in fully optimized embodiments, with reference to
Thus, in a conventional FOTA process applied to Example C, the update originates at the root node, node 1, and makes a separate trip to every other node, but uses the shortest number of hops to do so. With reference to Table 11, this equals 1+2 hops on the left side to reach each of nodes 2 and 4, 1+2+3 hops, crossing form the left to the right sides of network 900, to reach nodes 3, 5 and 6, and 3+4 hops on the right side of the network to reach nodes 7 and 8. Overall, this sums to 16*N hops for an N-packet transfer. As in the examples above, this sum is obtained by adding the rightmost column of the DSR, here Table 11.
In contrast, as shown in
Thus, in embodiments, only entries 1010, 1020 and 1030 of the DSR, Table 13, are used, and these entries are extracted to form Table 14, a routing table for traversing network 900 according to Optimization 1, in accordance with various embodiments. By using only these three paths, all nodes in network 900 are traversed, with nodes 3 and 5 each traversed twice, as shown in
Optimizing the traversal of network 900 even further, in fully optimized embodiments, with reference to
Thus, in a conventional FOTA process as applied to Example D, the update originates at the root node, node 1, and makes a separate trip to every other node, but uses the shortest number of hops to each destination node to do so. Applying such a traditional method results in 20*N network traffic, for an N packet software update, as follows. The left side branch through nodes 1, 2, 5 and 6 takes N+2N+3N=6N to be updated. Similarly, the right side branch of nodes 1, 4, 8 and 11 takes N+2N+3N=6N to be updated. Additionally, central branch of nodes 1, 3 and 7 takes 1N+2N=3N, and cross-over right-central branch of nodes 1, 4, 9 and 10 also takes N+2N+3N=6N, to be updated, respectively. The end nodes of each of these four branches are chosen to satisfy use of the minimum total hops possible. Thus, the total hops, obtained by adding these sums, which is also obtained by adding the rightmost column of Table 18, yields a total of 20 hops.
Improving upon this, as shown in
Thus, in such embodiments according to the first optimization, only entries 1310, 1320, 1330 and 1340 of the DSR, Table 18, are used, and these entries are extracted to form Table 19 a routing table for traversing network 1200, Example D, according to Optimization 1, in accordance with various embodiments. By using only these four paths, all nodes in network 1200 are traversed, with node 4 traversed twice, as shown in
Optimizing the traversal of network 1200 even further, in fully optimized embodiments, with reference to
Thus, as shown by Example D, in embodiments, a definite improvement in terms of network traffic, and, therefore, bandwidth usage, power consumption, and time required for the network to be updated, is observed in almost all topologies that are of a star/mesh structure.
Finally,
As shown in
In similar fashion as described above for the networks of Examples A through D respectively, in a conventional software update process applied to Example E, the update originates at root node 1, and makes a separate trip to every other node in the network, beginning each trip at node 1. In terms of hops, and with reference to Table 21, this equals 34 hops. This sum is obtained by adding the rightmost column of the DSR, here Table 6.
As may be seen in
Thus, in such embodiments according to the first optimization, only entries for destination nodes 6, 7, 9, 10, 11, 12, 13, 15 and 16 of DSR Table 23, are used, being the nine leaf nodes of network 1500, and these entries may be extracted to form a routing table (not shown) for traversing network 1500, Example E, according to Optimization 1, in accordance with various embodiments. By using only these nine paths, all nodes in network 1500 are traversed. However, as further shown in
Optimizing the traversal of network 1500 even further, in fully optimized embodiments, with reference to
As a result of this second optimization, as shown in
Network 1500, Example E, thus shows that as the complexity of the network increases, the optimization achieved by exemplary processes also increases. In the case of network 1500, Example E, use of Optimization 1 provided a reduction of ˜30% of the hops, whereas use of Optimization 2 reduced by ˜65% the amount of hops for communicating the software update (e.g., FOTA) packages.
As illustrated above for each of the example networks of Examples A through E, an example DM agent may start with a DSR table, and then proceed to process it to generate an optimized routing table according to Optimization 1, which may then be further processed to generate an optimized routing table for Optimization 2, as described above. The DM agent then uses the optimized routing table to deploy a software update, such as, for example, a FOTA update. Next described, with reference to
As shown in Table 24 of
Thus, with reference to Table 24, in a first iteration, after processing node 6 where it is noted that the intermediate nodes to node 6 include nodes 1, 2, 5, entries in Table 24 for these three entries, along with the entry for node 6, are removed, as shown in Table 25. Moreover, the entry for node 6 is added to the IRT shown in Table 26, which is a first iteration of the IRT.
In a second iteration node 10 of Table 25 is processed, and it, as well as entries for its intermediate nodes 4 and 10 are removed, to yield Table 27, a second iteration of the list of destination nodes. In addition, the entry for node 10 is added to the IRT, now shown at Table 28, its second iteration.
Tables for the next two iterations are shown on
Continuing with reference to
Continuing with reference to
Referring now to
With reference to
From block 2010, process 2000A proceeds to block 2020, where a set of optimized traversals to the leaf nodes necessary to traverse all of the destination nodes on the list is identified, e.g., the CPU or DM.
From block 2020, process 2000A moves to block 2030, where the software updates are distributed to the nodes on the list using the optimized set of traversals, by e.g., the CPU or DM.
With reference to
From block 2021, process 2000B proceeds to query block 2023, where for the uppermost entry on the list, whether any of its specified intermediate nodes also appear in other, lower, entries of the list, as destination nodes, is determined e.g., by the CPU or DM agent.
If “Yes” at query block 2023, then process 2000B moves to block 2024, where the uppermost entry, and the entries that have the uppermost entry's intermediate nodes as destination nodes, are all removed from the list, and the uppermost entry added to an improved routing table (IRT), e.g., by the CPU or DM agent.
However, if “No” at query block 2023, then process 2000B moves to block 2025, where the uppermost entry is removed from the list, and added to the IRT. In both the case of block 2024 and block 2025, removal of the uppermost entry from the list causes a new entry to be the uppermost list, as was the case, for example, in Table 25 of
From blocks 2024 and 2025, as the case may be, process 2000B proceeds to query block 2027, where whether there are remaining entries on the list, is determined e.g., by the CPU or DM agent. If “Yes” at query block 2027, then process 2000B moves back to block 2023, where the then current uppermost entry is processed, as described above. However, if “No” at query block 2027, then there are no further entries on the list of destination nodes generated at block 2021, and process 2000B moves to block 2029, where the IRT now contains the optimized set of traversals.
Referring now to
Computer device 2100 may also include system memory 2104. In embodiments, system memory 2104 may include any known volatile or non-volatile memory. Additionally, computer device 2100 may include mass storage device(s) 2106, input/output device interfaces 2108 (to interface with various input/output devices, such as, mouse, cursor control, display device (including touch sensitive screen), and so forth) and communication interfaces 2110 (such as network interface cards, modems and so forth). In embodiments, communication interfaces 2110 may interface with a LPWAN 127 shown in
In embodiments, system memory 2104 and mass storage device(s) 2117 may be employed to store a working copy and a permanent copy of the executable code of the programming instructions of an operating system, one or more applications, and/or various software implemented operations associated with gateway 120, DM agent 125, of
The permanent copy of the executable code of the programming instructions or the bit streams for configuring hardware accelerator 2105 may be placed into permanent mass storage device(s) 2106 and/or hardware accelerator 2105 in the factory, or in the field, through, for example, a distribution medium (not shown), such as a compact disc (CD), or through communication interfaces 2110 (from a distribution server (not shown)).
The number, capability and/or capacity of these elements 2102-2122 may vary, depending on the intended use of example computer device 2100, e.g., whether example computer device 2100 is a desktop computer, a server, a set-top box, a networking device, a switch, a gateway, and so forth. The constitutions of these elements 2110-2122 are otherwise known, and accordingly will not be further described.
Furthermore, the present disclosure may take the form of a computer program product or data to create the computer program, with the computer program or data embodied in any tangible or non-transitory medium of expression having the computer-usable program code (or data to create the computer program) embodied in the medium.
In alternate embodiments, programming instructions 2204 (or data to create the instructions) may be disposed on multiple computer-readable non-transitory storage media 2202 instead. In alternate embodiments, programming instructions 2204 (or data to create the instructions) may be disposed on computer-readable transitory storage media 2202, such as, signals. Any combination of one or more computer usable or computer readable medium(s) may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, one or more electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, devices, or propagation media. More specific examples (a non-exhaustive list) of a computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program (or data to create the program) is printed, as the program (or data to create the program) can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory (with or without having been staged in or more intermediate storage media). In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program (or data to create the program) for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code (or data to create the program code) embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code (or data to create the program) may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc.
In various embodiments, the program code (or data to create the program code) described herein may be stored in one or more of a compressed format, an encrypted format, a fragmented format, a packaged format, etc. Program code (or data to create the program code) as described herein may require one or more of installation, modification, adaptation, updating, combining, supplementing, configuring, decryption, decompression, unpacking, distribution, reassignment, etc. in order to make them directly readable and/or executable by a computing device and/or other machine. For example, the program code (or data to create the program code) may be stored in multiple parts, which are individually compressed, encrypted, and stored on separate computing devices, wherein the parts when decrypted, decompressed, and combined form a set of executable instructions that implement the program code (the data to create the program code(such as that described herein. In another example, the Program code (or data to create the program code) may be stored in a state in which they may be read by a computer, but require addition of a library (e.g., a dynamic link library), a software development kit (SDK), an application programming interface (API), etc. in order to execute the instructions on a particular computing device or other device. In another example, the Program code (or data to create the program code) may need to be configured (e.g., settings stored, data input, network addresses recorded, etc.) before the program code (or data to create the program code) can be executed/used in whole or in part. Thus, the disclosed Program code (or data to create the program code) are intended to encompass such machine readable instructions and/or program(s) (or data to create such machine readable instruction and/or programs) regardless of the particular format or state of the machine readable instructions and/or program(s) when stored or otherwise at rest or in transit.
Computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Referring back to
Often, IoT devices are limited in memory, size, or functionality, allowing larger numbers to be deployed for a similar cost to smaller numbers of larger devices. However, an IoT device may be a smart phone, laptop, tablet, or PC, or other larger device. Further, an IoT device may be a virtual device, such as an application on a smart phone or other computing device. IoT devices may include IoT gateways, used to couple IoT devices to other IoT devices and to cloud applications, for data storage, process control, and the like.
Networks of IoT devices may include commercial and home automation devices, such as water distribution systems, electric power distribution systems, pipeline control systems, plant control systems, light switches, thermostats, locks, cameras, alarms, motion sensors, and the like. The IoT devices may be accessible through remote computers, servers, and other systems, for example, to control systems or access data.
The future growth of the Internet and like networks may involve very large numbers of IoT devices. Accordingly, in the context of the techniques discussed herein, a number of innovations for such future networking will address the need for all these layers to grow unhindered, to discover and make accessible connected resources, and to support the ability to hide and compartmentalize connected resources. Any number of network protocols and communications standards may be used, wherein each protocol and standard is designed to address specific objectives. Further, the protocols are part of the fabric supporting human accessible services that operate regardless of location, time or space. The innovations include service delivery and associated infrastructure, such as hardware and software; security enhancements; and the provision of services based on Quality of Service (QoS) terms specified in service level and service delivery agreements. As will be understood, the use of IoT devices and networks, such as those introduced in
The network topology may include any number of types of IoT networks, such as a mesh network provided with the network 2356 using Bluetooth low energy (BLE) links 2322. Other types of IoT networks that may be present include a wireless local area network (WLAN) network 2358 used to communicate with IoT devices 2304 through IEEE 802.11 (Wi-Fi®) links 2328, a cellular network 2360 used to communicate with IoT devices 2304 through an LTE/LTE-A (4G) or 5G cellular network, and a low-power wide area (LPWA) network 2362, for example, a LPWA network compatible with the LoRaWan specification promulgated by the LoRa alliance, or a IPv6 over Low Power Wide-Area Networks (LPWAN) network compatible with a specification promulgated by the Internet Engineering Task Force (IETF). Further, the respective IoT networks may communicate with an outside network provider (e.g., a tier 2 or tier 3 provider) using any number of communications links, such as an LTE cellular link, an LPWA link, or a link based on the IEEE 802.15.4 standard, such as Zigbee®. The respective IoT networks may also operate with use of a variety of network and internet application protocols such as Constrained Application Protocol (CoAP). The respective IoT networks may also be integrated with coordinator devices that provide a chain of links that forms cluster tree of linked devices and networks.
Each of these IoT networks may provide opportunities for new technical features, such as those as described herein. The improved technologies and networks may enable the exponential growth of devices and networks, including the use of IoT networks into as fog devices or systems. As the use of such improved technologies grows, the IoT networks may be developed for self-management, functional evolution, and collaboration, without needing direct human intervention. The improved technologies may even enable IoT networks to function without centralized controlled systems. Accordingly, the improved technologies described herein may be used to automate and enhance network management and operation functions far beyond current implementations.
In an example, communications between IoT devices 2304, such as over the backbone links 2302, may be protected by a decentralized system for authentication, authorization, and accounting (AAA). In a decentralized AAA system, distributed payment, credit, audit, authorization, and authentication systems may be implemented across interconnected heterogeneous network infrastructure. This allows systems and networks to move towards autonomous operations. In these types of autonomous operations, machines may even contract for human resources and negotiate partnerships with other machine networks. This may allow the achievement of mutual objectives and balanced service delivery against outlined, planned service level agreements as well as achieve solutions that provide metering, measurements, traceability and trackability. The creation of new supply chain structures and methods may enable a multitude of services to be created, mined for value, and collapsed without any human involvement.
Such IoT networks may be further enhanced by the integration of sensing technologies, such as sound, light, electronic traffic, facial and pattern recognition, smell, vibration, into the autonomous organizations among the IoT devices. The integration of sensory systems may allow systematic and autonomous communication and coordination of service delivery against contractual service objectives, orchestration and quality of service (QoS) based swarming and fusion of resources. Some of the individual examples of network-based resource processing include the following.
The mesh network 2356, for instance, may be enhanced by systems that perform inline data-to-information transforms. For example, self-forming chains of processing resources comprising a multi-link network may distribute the transformation of raw data to information in an efficient manner, and the ability to differentiate between assets and resources and the associated management of each. Furthermore, the proper components of infrastructure and resource based trust and service indices may be inserted to improve the data integrity, quality, assurance and deliver a metric of data confidence.
The WLAN network 2358, for instance, may use systems that perform standards conversion to provide multi-standard connectivity, enabling IoT devices 2304 using different protocols to communicate. Further systems may provide seamless interconnectivity across a multi-standard infrastructure comprising visible Internet resources and hidden Internet resources.
Communications in the cellular network 2360, for instance, may be enhanced by systems that offload data, extend communications to more remote devices, or both. The LPWA network 2362 may include systems that perform non-Internet protocol (IP) to IP interconnections, addressing, and routing. Further, each of the IoT devices 2304 may include the appropriate transceiver for wide area communications with that device. Further, each IoT device 2304 may include other transceivers for communications using additional protocols and frequencies. This is discussed further with respect to the communication environment and hardware of an IoT processing device depicted in
Finally, clusters of IoT devices may be equipped to communicate with other IoT devices as well as with a cloud network. This may allow the IoT devices to form an ad-hoc network between the devices, allowing them to function as a single device, which may be termed a fog device. This configuration is discussed further with respect to
The fog 2420 may be considered to be a massively interconnected network wherein a number of IoT devices 2402 are in communications with each other, for example, by radio links 2422. As an example, this interconnected network may be facilitated using an interconnect specification released by the Open Connectivity Foundation™ (OCF). This standard allows devices to discover each other and establish communications for interconnects. Other interconnection protocols may also be used, including, for example, the optimized link state routing (OLSR) Protocol, the better approach to mobile ad-hoc networking (B.A.T.M.A.N.) routing protocol, or the OMA Lightweight M2M (LWM2M) protocol, among others.
Three types of IoT devices 2402 are shown in this example, gateways 2404, data aggregators 2426, and sensors 2428, although any combinations of IoT devices 2402 and functionality may be used. The gateways 2404 may be edge devices that provide communications between the cloud 2400 and the fog 2420, and may also provide the backend process function for data obtained from sensors 2428, such as motion data, flow data, temperature data, and the like. The data aggregators 2426 may collect data from any number of the sensors 2428, and perform the back end processing function for the analysis. The results, raw data, or both may be passed along to the cloud 2400 through the gateways 2404. The sensors 2428 may be full IoT devices 2402, for example, capable of both collecting data and processing the data. In some cases, the sensors 2428 may be more limited in functionality, for example, collecting the data and allowing the data aggregators 2426 or gateways 2404 to process the data.
Communications from any IoT device 2402 may be passed along a convenient path (e.g., a most convenient path) between any of the IoT devices 2402 to reach the gateways 2404. In these networks, the number of interconnections provide substantial redundancy, allowing communications to be maintained, even with the loss of a number of IoT devices 2402. Further, the use of a mesh network may allow IoT devices 2402 that are very low power or located at a distance from infrastructure to be used, as the range to connect to another IoT device 2402 may be much less than the range to connect to the gateways 2404.
The fog 2420 provided from these IoT devices 2402 may be presented to devices in the cloud 2400, such as a server 2406, as a single device located at the edge of the cloud 2400, e.g., a fog device. In this example, the alerts coming from the fog device may be sent without being identified as coming from a specific IoT device 2402 within the fog 2420. In this fashion, the fog 2420 may be considered a distributed platform that provides computing and storage resources to perform processing or data-intensive tasks such as data analytics, data aggregation, and machine-learning, among others.
In some examples, the IoT devices 2402 may be configured using an imperative programming style, e.g., with each IoT device 2402 having a specific function and communication partners. However, the IoT devices 2402 forming the fog device may be configured in a declarative programming style, allowing the IoT devices 2402 to reconfigure their operations and communications, such as to determine needed resources in response to conditions, queries, and device failures. As an example, a query from a user located at a server 2406 about the operations of a subset of equipment monitored by the IoT devices 2402 may result in the fog 2420 device selecting the IoT devices 2402, such as particular sensors 2428, needed to answer the query. The data from these sensors 2428 may then be aggregated and analyzed by any combination of the sensors 2428, data aggregators 2426, or gateways 2404, before being sent on by the fog 2420 device to the server 2406 to answer the query. In this example, IoT devices 2402 in the fog 2420 may select the sensors 2428 used based on the query, such as adding data from flow sensors or temperature sensors. Further, if some of the IoT devices 2402 are not operational, other IoT devices 2402 in the fog 2420 device may provide analogous data, if available.
In other examples, the operations and functionality described above may be embodied by a IoT device machine in the example form of an electronic processing system, within which a set or sequence of instructions may be executed to cause the electronic processing system to perform any one of the methodologies discussed herein, according to an example embodiment. The machine may be an IoT device or an IoT gateway, including a machine embodied by aspects of a personal computer (PC), a tablet PC, a personal digital assistant (PDA), a mobile telephone or smartphone, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine may be depicted and referenced in the example above, such machine shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein. Further, these and like examples to a processor-based system shall be taken to include any set of one or more machines that are controlled by or operated by a processor (e.g., a computer) to individually or jointly execute instructions to perform any one or more of the methodologies discussed herein.
Other example groups of IoT devices may include remote weather stations 2514, local information terminals 2516, alarm systems 2518, automated teller machines 2520, alarm panels 2522, or moving vehicles, such as emergency vehicles 2524 or other vehicles 2526, among many others. Each of these IoT devices may be in communication with other IoT devices, with servers 2504, with another IoT fog device or system (not shown, but depicted in
As can be seen from
Clusters of IoT devices, such as the remote weather stations 2514 or the traffic control group 2506, may be equipped to communicate with other IoT devices as well as with the cloud 2500. This may allow the IoT devices to form an ad-hoc network between the devices, allowing them to function as a single device, which may be termed a fog device or system (e.g., as described above with reference to
The IoT device 2650 may include a processor 2652, which may be a microprocessor, a multi-core processor, a multithreaded processor, an ultra-low voltage processor, an embedded processor, or other known processing element. The processor 2652 may be a part of a system on a chip (SoC) in which the processor 2652 and other components are formed into a single integrated circuit, or a single package, such as the Edison™ or Galileo™ SoC boards from Intel. As an example, the processor 2652 may include an Intel® Architecture Core™ based processor, such as a Quark™, an Atom™, an i3, an i5, an i7, or an MCU-class processor, or another such processor available from Intel® Corporation, Santa Clara, Calif. However, any number other processors may be used, such as available from Advanced Micro Devices, Inc. (AMD) of Sunnyvale, California, a MIPS-based design from MIPS Technologies, Inc. of Sunnyvale, Calif., an ARM-based design licensed from ARM Holdings, Ltd. or customer thereof, or their licensees or adopters. The processors may include units such as an A5-A10 processor from Apple® Inc., a Snapdragon™ processor from Qualcomm® Technologies, Inc., or an OMAP™ processor from Texas Instruments, Inc.
The processor 2652 may communicate with a system memory 2654 over an interconnect 2656 (e.g., a bus). Any number of memory devices may be used to provide for a given amount of system memory. As examples, the memory may be random access memory (RAM) in accordance with a Joint Electron Devices Engineering Council (JEDEC) design such as the DDR or mobile DDR standards (e.g., LPDDR, LPDDR2, LPDDR3, or LPDDR4). In various implementations the individual memory devices may be of any number of different package types such as single die package (SDP), dual die package (DDP) or quad die package (Q17P). These devices, in some examples, may be directly soldered onto a motherboard to provide a lower profile solution, while in other examples the devices are configured as one or more memory modules that in turn couple to the motherboard by a given connector. Any number of other memory implementations may be used, such as other types of memory modules, e.g., dual inline memory modules (DIMMs) of different varieties including but not limited to microDIMMs or MiniDIMMs.
To provide for persistent storage of information such as data, applications, operating systems and so forth, a storage 2658 may also couple to the processor 2652 via the interconnect 2656. In an example the storage 2658 may be implemented via a solid state disk drive (SSDD). Other devices that may be used for the storage 2658 include flash memory cards, such as SD cards, microSD cards, xD picture cards, and the like, and USB flash drives. In low power implementations, the storage 2658 may be on-die memory or registers associated with the processor 2652. However, in some examples, the storage 2658 may be implemented using a micro hard disk drive (HDD). Further, any number of new technologies may be used for the storage 2658 in addition to, or instead of, the technologies described, such resistance change memories, phase change memories, holographic memories, or chemical memories, among others.
The components may communicate over the interconnect 2656. The interconnect 2656 may include any number of technologies, including industry standard architecture (ISA), extended ISA (EISA), peripheral component interconnect (PCI), peripheral component interconnect extended (PCIx), PCI express (PCIe), or any number of other technologies. The interconnect 2656 may be a proprietary bus, for example, used in a SoC based system. Other bus systems may be included, such as an I2C interface, an SPI interface, point to point interfaces, and a power bus, among others.
The interconnect 2656 may couple the processor 2652 to a mesh transceiver 2662, for communications with other mesh devices 2664. The mesh transceiver 2662 may use any number of frequencies and protocols, such as 2.4 Gigahertz (GHz) transmissions under the IEEE 802.15.4 standard, using the Bluetooth® low energy (BLE) standard, as defined by the Bluetooth® Special Interest Group, or the ZigBee® standard, among others. Any number of radios, configured for a particular wireless communication protocol, may be used for the connections to the mesh devices 2664. For example, a WLAN unit may be used to implement Wi-Fi™ communications in accordance with the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard. In addition, wireless wide area communications, e.g., according to a cellular or other wireless wide area protocol, may occur via a WWAN unit.
The mesh transceiver 2662 may communicate using multiple standards or radios for communications at different range. For example, the IoT device 2650 may communicate with close devices, e.g., within about 10 meters, using a local transceiver based on BLE, or another low power radio, to save power. More distant mesh devices 2664, e.g., within about 50 meters, may be reached over ZigBee or other intermediate power radios. Both communications techniques may take place over a single radio at different power levels, or may take place over separate transceivers, for example, a local transceiver using BLE and a separate mesh transceiver using ZigBee.
A wireless network transceiver 2666 may be included to communicate with devices or services in the cloud 2600 via local or wide area network protocols. The wireless network transceiver 2666 may be a LPWA transceiver that follows the IEEE 802.15.4, or IEEE 802.15.4g standards, among others. The IoT device 2650 may communicate over a wide area using LoRaWAN™ (Long Range Wide Area Network) developed by Semtech and the LoRa Alliance. The techniques described herein are not limited to these technologies, but may be used with any number of other cloud transceivers that implement long range, low bandwidth communications, such as Sigfox, and other technologies. Further, other communications techniques, such as time-slotted channel hopping, described in the IEEE 802.15.4e specification may be used.
Any number of other radio communications and protocols may be used in addition to the systems mentioned for the mesh transceiver 2662 and wireless network transceiver 2666, as described herein. For example, the radio transceivers 2662 and 2666 may include an LTE or other cellular transceiver that uses spread spectrum (SPA/SAS) communications for implementing high speed communications. Further, any number of other protocols may be used, such as Wi-Fi® networks for medium speed communications and provision of network communications.
The radio transceivers 2662 and 2666 may include radios that are compatible with any number of 3GPP (Third Generation Partnership Project) specifications, notably Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), and Long Term Evolution-Advanced Pro (LTE-A Pro). It can be noted that radios compatible with any number of other fixed, mobile, or satellite communication technologies and standards may be selected. These may include, for example, any Cellular Wide Area radio communication technology, which may include e.g. a 5th Generation (5G) communication systems, a Global System for Mobile Communications (GSM) radio communication technology, a General Packet Radio Service (GPRS) radio communication technology, or an Enhanced Data Rates for GSM Evolution (EDGE) radio communication technology, a UMTS (Universal Mobile Telecommunications System) communication technology, In addition to the standards listed above, any number of satellite uplink technologies may be used for the wireless network transceiver 2666, including, for example, radios compliant with standards issued by the ITU (International Telecommunication Union), or the ETSI (European Telecommunications Standards Institute), among others. The examples provided herein are thus understood as being applicable to various other communication technologies, both existing and not yet formulated.
A network interface controller (NIC) 2668 may be included to provide a wired communication to the cloud 2600 or to other devices, such as the mesh devices 2664. The wired communication may provide an Ethernet connection, or may be based on other types of networks, such as Controller Area Network (CAN), Local Interconnect Network (LIN), DeviceNet, ControlNet, Data Highway+, PROFIBUS, or PROFINET, among many others. An additional MC 2668 may be included to allow connect to a second network, for example, a NIC 2668 providing communications to the cloud over Ethernet, and a second NIC 2668 providing communications to other devices over another type of network.
The interconnect 2656 may couple the processor 2652 to an external interface 2670 that is used to connect external devices or subsystems. The external devices may include sensors 2672, such as accelerometers, level sensors, flow sensors, optical light sensors, camera sensors, temperature sensors, a global positioning system (GPS) sensors, pressure sensors, barometric pressure sensors, and the like. The external interface 2670 further may be used to connect the IoT device 2650 to actuators 2674, such as power switches, valve actuators, an audible sound generator, a visual warning device, and the like.
In some optional examples, various input/output (I/O) devices may be present within, or connected to, the IoT device 2650. For example, a display or other output device 2684 may be included to show information, such as sensor readings or actuator position. An input device 2686, such as a touch screen or keypad may be included to accept input. An output device 2684 may include any number of forms of audio or visual display, including simple visual outputs such as binary status indicators (e.g., LEDs) and multi-character visual outputs, or more complex outputs such as display screens (e.g., LCD screens), with the output of characters, graphics, multimedia objects, and the like being generated or produced from the operation of the IoT device 2650.
A battery 2676 may power the IoT device 2650, although in examples in which the IoT device 2650 is mounted in a fixed location, it may have a power supply coupled to an electrical grid. The battery 2676 may be a lithium ion battery, or a metal-air battery, such as a zinc-air battery, an aluminum-air battery, a lithium-air battery, and the like.
A battery monitor/charger 2678 may be included in the IoT device 2650 to track the state of charge (SoCh) of the battery 2676. The battery monitor/charger 2678 may be used to monitor other parameters of the battery 2676 to provide failure predictions, such as the state of health (SoH) and the state of function (SoF) of the battery 2676. The battery monitor/charger 2678 may include a battery monitoring integrated circuit, such as an LTC4020 or an LTC2990 from Linear Technologies, an ADT7488A from ON Semiconductor of Phoenix Ariz., or an IC from the UCD90xxx family from Texas Instruments of Dallas, Tex. The battery monitor/charger 2678 may communicate the information on the battery 2676 to the processor 2652 over the interconnect 2656. The battery monitor / charger 2678 may also include an analog-to-digital (ADC) convertor that allows the processor 2652 to directly monitor the voltage of the battery 2676 or the current flow from the battery 2676. The battery parameters may be used to determine actions that the IoT device 2650 may perform, such as transmission frequency, mesh network operation, sensing frequency, and the like.
A power block 2680, or other power supply coupled to a grid, may be coupled with the battery monitor/charger 2678 to charge the battery 2676. In some examples, the power block 2680 may be replaced with a wireless power receiver to obtain the power wirelessly, for example, through a loop antenna in the IoT device 2650. A wireless battery charging circuit, such as an LTC4020 chip from Linear Technologies of Milpitas, Calif., among others, may be included in the battery monitor/charger 2678. The specific charging circuits chosen depend on the size of the battery 2676, and thus, the current required. The charging may be performed using the Airfuel standard promulgated by the Airfuel Alliance, the Qi wireless charging standard promulgated by the Wireless Power Consortium, or the Rezence charging standard, promulgated by the Alliance for Wireless Power, among others.
The storage 2658 may include instructions 2682 in the form of software, firmware, or hardware commands to implement the techniques described herein. Although such instructions 2682 are shown as code blocks included in the memory 2654 and the storage 2658, it may be understood that any of the code blocks may be replaced with hardwired circuits, for example, built into an application specific integrated circuit (ASIC).
In an example, the instructions 2682 provided via the memory 2654, the storage 2658, or the processor 2652 may be embodied as a non-transitory, machine readable medium 2660 including code to direct the processor 2652 to perform electronic operations in the IoT device 2650. The processor 2652 may access the non-transitory, machine readable medium 2660 over the interconnect 2656. For instance, the non-transitory, machine readable medium 2660 may be embodied by devices described for the storage 2658 of
In further examples, a machine-readable medium also includes any tangible medium that is capable of storing, encoding or carrying instructions for execution by a machine and that cause the machine to perform any one or more of the methodologies of the present disclosure or that is capable of storing, encoding or carrying data structures utilized by or associated with such instructions. A “machine-readable medium” thus may include, but is not limited to, solid-state memories, and optical and magnetic media. Specific examples of machine-readable media include non-volatile memory, including but not limited to, by way of example, semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The instructions embodied by a machine-readable medium may further be transmitted or received over a communications network using a transmission medium via a network interface device utilizing any one of a number of transfer protocols (e.g., HTTP).
It should be understood that the functional units or capabilities described in this specification may have been referred to or labeled as components or modules, in order to more particularly emphasize their implementation independence. Such components may be embodied by any number of software or hardware forms. For example, a component or module may be implemented as a hardware circuit comprising custom very-large-scale integration (VLSI) circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A component or module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, or the like. Components or modules may also be implemented in software for execution by various types of processors. An identified component or module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions, which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified component or module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the component or module and achieve the stated purpose for the component or module.
Indeed, a component or module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices or processing systems. In particular, some aspects of the described process (such as code rewriting and code analysis) may take place on a different processing system (e.g., in a computer in a data center), than that in which the code is deployed (e.g., in a computer embedded in a sensor or robot). Similarly, operational data may be identified and illustrated herein within components or modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network. The components or modules may be passive or active, including agents operable to perform desired functions.
Illustrative examples of the technologies disclosed herein are provided below. An embodiment of the technologies may include any one or more, and any combination of, the examples described below.
Example 1 includes an apparatus for selectively delivering software updates to nodes in a network, comprising: a receiver to receive a software update and a list of nodes of the network scheduled to receive the software update; and a device management agent (DMA), to: identify a set of traversals to leaf nodes of the list of nodes necessary to traverse all nodes on the list, and distribute the software updates to the nodes on the list using the set of traversals.
Example 2 is the apparatus of example 1, and/or other examples herein, wherein the network is a sensor mesh network, and wherein the software update includes a firmware update for one or more sensors disposed at each network node on the list.
Example 3 is the apparatus of example 1, and/or other examples herein, wherein the software update is a firmware update, and wherein the DMA is further to signal all of the nodes on the list, prior to distributing the update, to transition the nodes on the list into a firmware over the air (FOTA) progress state.
Example 4 is the apparatus of example 1, and/or other examples herein, wherein the nodes on the list include both intermediate nodes with descendant nodes and leaf nodes without descendant nodes, and the DMA is further to distribute the software update to the leaf nodes through the intermediate nodes, including provision of instruction to an intermediate node to distribute the software update to its descendant nodes.
Example 5 is the apparatus of example 4, and/or other examples herein, wherein the DMA is further to traverse an intermediate node that branches into two or more descendant nodes just once.
Example 6 is the apparatus of example 4, and/or other examples herein, wherein the DMA is further to instruct intermediate nodes on the list to cache the update, and instruct intermediate nodes that are not on the list, but that have descendant nodes that are on the list, to forward the update.
Example 7 is the apparatus of example 1, and/or other examples herein, wherein the nodes on the list are a subset of all of the nodes in the network.
Example 8 is the apparatus of example 1, and/or other examples herein, wherein the nodes in the network have a tree-mesh toplogy.
Example 9 is the apparatus of example 8, and/or other examples herein, wherein the nodes on the list include both leaf nodes and intermediate nodes, on one or more branches of the tree-mesh topology.
Example 10 is the apparatus of example 1, and/or other examples herein, wherein the DMA is further to perform network discovery prior to identification of the set of traversals to the leaf nodes of the list of nodes necessary to traverse all nodes on the list.
Example 11 is the apparatus of example 1, and/or other examples herein, wherein the DMA is further to, following distribution of the update, signal all of the nodes in the network, with a FOTA-complete-verify transmission.
Example 12 is the apparatus of example 1, and/or other examples herein, wherein the network is a mesh network, and the apparatus is a gateway of the mesh network, the gateway having the receiver and the DMA.
Example 13 is one or more non-transitory computer-readable storage media comprising a set of instructions, which, when executed on a network gateway (NG) coupled to a network of nodes, cause the NG to: receive a firmware (FW) update and a list of destination nodes (DNs) that are to receive the FW update; identify a set of traversals to leaf DNs that traverses all of the DNs, wherein if there are two possible traversals to a DN, the traversal with the fewest hops is included in the set; and distribute the update to the destination nodes according to the set of traversals.
Example 14 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, wherein the network is a sensor network having either a tree-mesh toplogy or a mesh topology, and wherein the FW update includes an update for one or more sensors disposed at each DN.
Example 15 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, wherein the network includes at least one intermediate node that branches into two or more branches (parent branching node) that include DNs and wherein the set of traversals is such that the at least one parent branching node is traversed just once.
Example 16 is the one or more non-transitory computer-readable storage media of example 15, and/or other examples herein, further comprising instructions, that when executed, cause the NG to instruct at least one the parent branching node to distribute the update to its descendant nodes.
Example 17 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, further comprising instructions that, when executed, further cause the NG to signal all of the DNs, prior to distributing the update, to transition into a firmware over the air (FOTA) progress state.
Example 18 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, further comprising instructions that, when executed, further cause the NG to perform network discovery prior to identification of the set of traversals to leaf nodes to traverse all DNs on the list.
Example 19 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, further comprising instructions that, when executed, further cause the NG to instruct intermediate nodes on the list to cache the update, and intermediate nodes not on the list, but on a traversal path to another node that is on the list, to forward the update.
Example 20 is the one or more non-transitory computer-readable storage media of example 13, and/or other examples herein, further comprising instructions that, when executed, further cause the NG, following distribution of the update, to signal all of the nodes in the network with a FOTA-complete-verify transmission.
Example 21 is a method of determining a set of traversals to leaf nodes in a network, comprising: receiving a FW update and a list of network nodes to be updated; identifying intermediate nodes, leaf nodes and parent branching nodes on the list; and distributing the update to all nodes on the list using a set of traversals to the leaf nodes on the list, wherein the set of traversals is such that a unique branch descending from a parent branching node is traversed just once.
Example 22 is the method of example 21, and/or other examples herein, further comprising, for the nodes on the list, calculating a route and a number of hops to the node.
Example 23 is the method of example 22, and/or other examples herein, further comprising identifying the routes with the greatest number of hops (GNH routes), and deleting routes that cover a set of nodes included in a GNH route.
Example 24 is the method of example 23, and/or other examples herein, further comprising identifying parent branching nodes on the GNH routes, and combining GNH routes that share an identical path to the parent branching node so as to only traverse a path to the parent branching node once.
Example 25 is the method of example 21, and/or other examples herein, further comprising: signaling all of the nodes on the list, prior to distributing the FW update, to transition into a firmware over the air (FOTA) progress state; and following distribution of the update, signaling all of the nodes in the network with a FOTA-complete-verify transmission.
Example 26 is an apparatus for computing, comprising: means for receiving a software update and a list of nodes of the network scheduled to receive the software update; means for identifying a set of traversals to leaf nodes of the list of nodes necessary to traverse all nodes on the list; and means for distributing the software updates to the nodes on the list using the set of traversals.
Example 27 is the apparatus for computing of example 26, and/or other examples herein, wherein the network is a sensor mesh network, and wherein the software update includes a firmware update for one or more sensors disposed at each network node on the list.
Example 28 is the apparatus for computing of example 26, and/or other examples herein, wherein the software update is a firmware update, and further comprising means for signaling all of the nodes on the list, prior to distribution of the update, to transition the nodes on the list into a firmware over the air (FOTA) progress state.
Example 29 is the apparatus for computing of example 26, and/or other examples herein, wherein the nodes on the list include both intermediate nodes with descendant nodes and leaf nodes without descendant nodes, and the means for distributing is further to distribute the software update to the leaf nodes through the intermediate nodes, the software update including provision of instruction to an intermediate node to distribute the software update to its descendant nodes.
Example 30 is the apparatus for computing of example 29, and/or other examples herein, further comprising means for traversing an intermediate node that branches into two or more descendant nodes just once.
Example 31 is the apparatus for computing of example 29, and/or other examples herein, further comprising means for instructing intermediate nodes on the list to cache the update, and means for instructing intermediate nodes that are not on the list, but that have descendant nodes that are on the list, to forward the update.
Example 32 is the apparatus for computing of example 26, and/or other examples herein, wherein the nodes on the list are a subset of all of the nodes in the network.
Example 33 is the apparatus for computing of example 26, and/or other examples herein, wherein the nodes in the network have a tree-mesh toplogy.
Example 34 is the apparatus for computing of example 33, and/or other examples herein, wherein the nodes on the list include both leaf nodes and intermediate nodes, on one or more branches of the tree-mesh topology.
Example 35 is the apparatus for computing of example 26, and/or other examples herein, further comprising means for performing network discovery prior to identifying the set of traversals to the leaf nodes of the list of nodes necessary to traverse all nodes on the list.
Example 36 is an apparatus for computing, comprising: means for receiving a FW update and a list of network nodes to be updated; means for identifying intermediate nodes, leaf nodes and parent branching nodes on the list; and means for distributing the update to all nodes on the list using a set of traversals to the leaf nodes on the list, wherein the set of traversals is such that a unique branch descending from a parent branching node is traversed just once.
Example 37 is the apparatus for computing of example 36, and/or other examples herein, further comprising, means for calculating, for the nodes on the list, a route and a number of hops to the node.
Example 38 is the apparatus for computing of example 37, and/or other examples herein, further comprising means for identifying the routes with the greatest number of hops (GNH routes), and means for deleting routes that cover a set of nodes included in a GNH route.
Example 39 is the apparatus for computing of example 38, and/or other examples herein, further comprising means for identifying parent branching nodes on the GNH routes, and means for combining GNH routes that share an identical path to the parent branching node so as to only traverse a path to the parent branching node once.
Example 40 is the apparatus for computing of example 36, and/or other examples herein, further comprising means for signaling all of the nodes on the list, prior to distributing the FW update, to transition into a firmware over the air (FOTA) progress state; and following distribution of the update, means for signaling all of the nodes in the network with a FOTA-complete-verify transmission.