Internet of Things

By employing blockchain for decentralized identity and EPID, along with fog devices and secure boot mechanisms, the IoT ecosystem addresses the challenge of secure and efficient communication among diverse IoT devices, enhancing network reliability and autonomy.

JP7571353B2Active Publication Date: 2024-10-23INTEL CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022210951
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-12-30
Filing Date
2022-12-27
Publication Date
2024-10-23
Estimated Expiration
2037-12-28

AI Technical Summary

Technical Problem

The challenge lies in enabling trusted, secure, and identifiable devices that can form networks as needed to accomplish tasks within the Internet of Things (IoT) ecosystem, particularly in connecting and managing large numbers of IoT devices with varying protocols and standards across disparate networks.

Method used

The implementation of blockchain for decentralized identity management, Enhanced Privacy Identification (EPID) for object-type identities, and the use of fog devices to form composite objects, along with secure boot mechanisms and semi-permissioned distributed ledger transactions, ensures secure and efficient communication and resource management among IoT devices.

Benefits of technology

This approach enhances the security, reliability, and efficiency of IoT networks by ensuring device identity integrity, reducing communication overhead, and enabling autonomous operation without central control, while maintaining data integrity and quality assurance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571353000021
    Figure 0007571353000021
  • Figure 0007571353000022
    Figure 0007571353000022
  • Figure 0007571353000023
    Figure 0007571353000023
Patent Text Reader

Abstract

An apparatus for performing remote sensing and actuation functions in Internet of Things (IoT) devices is provided. [Solution] An apparatus having a composite object in an IoT network includes a name server that provides names to the sub-objects that form the composite object, a device owner that has a sub-object list of the sub-objects that form the composite object, a plurality of sub-objects that form the composite object, and a blockchain that records the plurality of sub-objects that form the composite object.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of the filing date of U.S. Provisional Patent Application No. 62 / 441,070, entitled "THE INTERNET OF THINGS," by Ned M. Smith et al., filed December 30, 2016, which is incorporated herein by reference.

[0002] The present technique relates generally to Internet of Things (IoT) devices, and more particularly to devices capable of performing remote sensing and actuation functions. [Background technology]

[0003] One way of looking at the current Internet is as a collection of clients such as personal computers, tablets, smartphones, servers, digital photo frames, and many other types of devices connected to publicly accessible data centers hosted in server farms. However, this view represents only a small fraction of the total usage of the globally connected network. A significant number of resources currently exist that are connected but not publicly accessible. Examples include corporate networks, organization-controlled private networks, and global surveillance networks, which often use peer-to-peer relays for anonymity.

[0004] It is estimated that the Internet of Things (IoT) could connect more than 15 billion devices to the Internet by 2020. For organizations, IoT devices could provide opportunities to monitor, track, or control other devices and products, including other IoT devices, other home and industrial devices, and products in manufacturing and food production chains. The emergence of IoT networks has triggered a major change in the development of the Internet. In the future, the Internet may evolve from a primarily human-oriented utility to an infrastructure, ultimately enabling humans to become a minority actor in a world of interconnected devices.

[0005] In this view, the Internet becomes a communications system for devices and networks of devices to communicate with each other, not just with data centers. Devices can form functional networks or virtual devices to perform functions, and the functions may dissolve once the functions are performed. The challenge is to enable trusted, secure, and identifiable devices that can form networks as needed to accomplish tasks. [Brief explanation of the drawings]

[0006] [Figure 1] FIG. 1 is a diagram of interconnections that may exist in the Internet, according to some embodiments.

[0007] [Figure 2] 1 is a diagram of a network topology of multiple Internet of Things (IoT) networks coupled to a gateway via a backbone link, according to some embodiments.

[0008] [Figure 3] 1 is a diagram of a cloud computing network or cloud in communication with multiple IoT devices, according to some embodiments.

[0009] [Figure 4] 1 is a diagram of a cloud computing network or cloud in communication with a mesh network of IoT devices, which may be called fog devices, operating at the edge of the cloud, according to some embodiments.

[0010] [Figure 5] FIG. 10 is a schematic diagram illustrating the formation of a composite object from multiple atomic objects according to some embodiments.

[0011] [Figure 6] FIG. 10 is a schematic illustration of forming a group object from a collection of atomic and composite objects according to some embodiments;

[0012] [Figure 7] FIG. 1 illustrates a process flow diagram of an exemplary method for creating a group using a collection of objects, according to some embodiments.

[0013] [Figure 8] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for offloading data, according to some embodiments.

[0014] [Figure 9] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to form a group object, according to some embodiments.

[0015] [Figure 10] FIG. 1 is a schematic diagram illustrating the use of Enhanced Privacy Identification (EPID) for object-based identity according to some embodiments.

[0016] [Figure 11]FIG. 10 is a ladder diagram of an exemplary method for dynamically creating object types, according to some embodiments.

[0017] [Figure 12] FIG. 1 is a ladder diagram of an exemplary method for type introspection using recursion, according to some embodiments.

[0018] [Figure 13] FIG. 10 is a ladder diagram of an exemplary method for recursive attestation, according to some embodiments.

[0019] [Figure 14] FIG. 10 is a block diagram of an example of a component that may be present in an IoT device for assigning a type to a composite object at the time of creation, according to some embodiments.

[0020] [Figure 15] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to form a group object, according to some embodiments.

[0021] [Figure 16] FIG. 12 is a schematic diagram of forming an affiliate group, according to some embodiments.

[0022] [Figure 17] FIG. 1 is a process flow diagram of an exemplary method for enrolling members in an affiliate group, according to some embodiments.

[0023] [Figure 18] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for creating an affiliate group, according to some embodiments.

[0024] [Figure 19] FIG. 10 is a block diagram of a non-transitory machine-readable medium comprising code for directing a processor to create an affiliate group, according to some embodiments.

[0025] [Figure 20] FIG. 1 is a schematic diagram of a semi-permissioned distributed ledger transaction, according to some embodiments.

[0026] [Figure 21] FIG. 1 is a process flow diagram of an exemplary method for performing semi-authorized transactions, according to some embodiments.

[0027] [Figure 22] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for creating an affiliate group, according to some embodiments.

[0028] [Figure 23] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to communicate securely in a group, according to some embodiments.

[0029] [Figure 24] FIG. 1 is a schematic diagram of the use of a trusted execution environment (TEE) for securely booting a device in an IoT environment, according to some embodiments.

[0030] [Figure 25] FIG. 10 is a block diagram of a blockchain block that holds boot integrity transactions, according to some embodiments.

[0031] [Figure 26] 1 is a schematic diagram of a blockchain-based usage of whitelist image collection, according to some embodiments;

[0032] [Figure 27] FIG. 10 is a diagram of a blockchain block with an integrity transaction for a whitelist image, according to some embodiments.

[0033] [Figure 28] FIG. 1 is a process flow diagram of an exemplary method for a secure boot process flow using a blockchain root of trust, according to some embodiments.

[0034] [Figure 29] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for creating an affiliate group, according to some embodiments.

[0035] [Figure 30] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to communicate securely in a group, according to some embodiments.

[0036] [Figure 31] FIG. 1 is a schematic diagram illustrating interoperability across public, private, and public-private domains, according to some embodiments.

[0037] [Figure 32] 1 is a schematic diagram of interoperability across heterogeneous networks of wired and wireless networks, according to some embodiments.

[0038] [Figure 33] 1 is a schematic diagram of an inline routing system connecting two different fog or cloud entities, such as connecting cloud A with cloud B, according to some embodiments.

[0039] [Figure 34] FIG. 10 is a schematic diagram of inline routing illustrating implicit pass-through routing by an IoT device, according to some embodiments.

[0040] [Figure 35]FIG. 1 is a schematic diagram of explicit authorized routing by an IoT device, according to some embodiments.

[0041] [Figure 36] FIG. 1 is a schematic diagram of a right-of-way layer for inline routing used for pass-through policy control, according to some embodiments.

[0042] [Figure 37] FIG. 10 is a ladder diagram of an exemplary method for permission-based explicit pass-through routing, according to some embodiments.

[0043] [Figure 38] FIG. 10 is a ladder diagram of an example method for a time-limited lease approach for explicit pass-through, according to some embodiments.

[0044] [Figure 39] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for creating an affiliate group, according to some embodiments.

[0045] [Figure 40] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to transfer communications between devices via a right-of-way, according to some embodiments.

[0046] [Figure 41] FIG. 1 is a schematic diagram of the use of a frame structure to carry proof-of-provenance (PoP) information through devices in a network, according to some embodiments.

[0047] [Figure 42] 1 is a schematic diagram of a procedure that may be used to create a PoP transit code or key, according to some embodiments.

[0048] [Figure 43]FIG. 1 is a process flow diagram of an exemplary method for generating PoP keys, according to some embodiments.

[0049] [Figure 44] FIG. 10 is a process flow diagram of an exemplary method for verifying a PoP key in a packet, according to some embodiments.

[0050] [Figure 45] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for tracking proof of provenance in packets, according to some embodiments.

[0051] [Figure 46] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to transfer communications between devices via a right-of-way, according to some embodiments.

[0052] [Figure 47] FIG. 10 is a schematic diagram of an example of a packet containing micropayment information in a token bucket, according to some embodiments.

[0053] [Figure 48] FIG. 10 is a process flow diagram of an exemplary method for using a token bucket to pass micropayments to a transmission system, according to some embodiments.

[0054] [Figure 49] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for using a token bucket to facilitate payments, according to some embodiments.

[0055] [Figure 50] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to forward communications between devices based on payments from a token bucket, according to some embodiments.

[0056] [Figure 51] 1 is a diagram of a heterogeneous network (hetnet) infrastructure connecting IP domains to non-IP domains in multiple stages, according to some embodiments.

[0057] [Figure 52] FIG. 2 is a schematic diagram of protocol packing used to package frames from one protocol to another according to some embodiments.

[0058] [Figure 53] 1 is a schematic diagram of protocol packing used to package low power wide area network (LPWAN) protocol frames, such as LoRaWAN® frames, within IEEE 802.11 (or Wi-Fi®) medium access control (MAC) layer frames, according to some embodiments.

[0059] [Figure 54] FIG. 1 is a process flow diagram of an exemplary method for protocol packing for transmission of frames, according to some embodiments.

[0060] [Figure 55] 1 is a block diagram of an example of components that may be present in an IoT device for packaging frames of a first protocol within frames of a different protocol, according to some embodiments.

[0061] [Figure 56] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to package frames of a first protocol into frames of a different protocol, according to some embodiments.

[0062] [Figure 57]1 is a diagram of a frame structure that may be used as a payload within a Low Power Wide Area (LPWA) frame, such as a LoRaWAN® frame, according to some embodiments.

[0063] [Figure 58] 1 is a schematic diagram of a transmission data payload being fragmented into multiple sub-blocks for transmission according to some embodiments;

[0064] [Figure 59] FIG. 1 is a schematic diagram of network division multiplexing (NDM)-serial-to-parallel transmission according to some embodiments.

[0065] [Figure 60] FIG. 10 is a schematic diagram of receiving sub-blocks according to some embodiments;

[0066] [Figure 61] FIG. 10 is a schematic diagram of recombining sub-blocks to form a received data payload according to some embodiments.

[0067] [Figure 62] FIG. 1 is a process flow diagram of an exemplary method for fragmenting and dispatching a payload over multiple parallel communication channels, according to some embodiments.

[0068] [Figure 63] FIG. 1 is a process flow diagram of an exemplary method for receiving and recombining packets transmitted using NDM techniques, according to some embodiments.

[0069] [Figure 64] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for fragmenting a payload for transmission along multiple parallel paths, according to some embodiments.

[0070] [Figure 65]FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to fragment and transmit a payload along multiple parallel paths, according to some embodiments.

[0071] [Figure 66] 1 is a schematic diagram of an overlay beacon system in which beacon nodes provide location messages to nearby IoT devices, according to some embodiments.

[0072] [Figure 67] FIG. 10 is a process flow diagram of an exemplary method for generating a location payload, according to some embodiments.

[0073] [Figure 68] FIG. 1 is a process flow diagram of an exemplary method for parsing a frame containing a position payload, according to some embodiments.

[0074] [Figure 69] FIG. 1 is a block diagram of example components that may be present in a beacon node to establish a beacon node system for sharing location data, according to some embodiments.

[0075] [Figure 70] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to send and receive position payloads, according to some embodiments.

[0076] [Figure 71] 1 is a schematic diagram of a distributed content distribution system for heterogeneous networks, according to some embodiments.

[0077] [Figure 72] FIG. 1 is a process flow diagram of an exemplary method for distributed content delivery, according to some embodiments.

[0078] [Figure 73]1 is a block diagram of an example of components that may be present in an IoT device to implement a distributed content delivery system, according to some embodiments.

[0079] [Figure 74] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to implement a distributed content distribution system, according to some embodiments.

[0080] [Figure 75] 1 is a schematic diagram of a wireless memory system, according to some embodiments.

[0081] [Figure 76] 1 is another schematic diagram of a wireless memory system, according to some embodiments.

[0082] [Figure 77] FIG. 1 is a process flow diagram of an exemplary method for fragmenting and storing data in a transmission loop between devices, according to some embodiments.

[0083] [Figure 78] FIG. 1 is a process flow diagram of an exemplary method for data storage and access using a communication channel for storage, according to some embodiments.

[0084] [Figure 79] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for storing data in a transmission channel, according to some embodiments.

[0085] [Figure 80] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to fragment and transmit a payload along multiple parallel paths, according to some embodiments.

[0086] [Figure 81]FIG. 1 is a diagram of a structure that may be used for dynamic signaling, according to some embodiments.

[0087] [Figure 82] FIG. 1 is a process flow diagram of an exemplary method for transmitting data using a Zadoff-Chu (ZC) preamble structure, according to some embodiments.

[0088] [Figure 83] FIG. 1 is a process flow diagram of an exemplary method for receiving data on multiple channels using ZC shift sequences, according to some embodiments.

[0089] [Figure 84] 10 is a series of plots illustrating the correlation process detailed in the equation above for each of the sequences given by K, according to some embodiments.

[0090] [Figure 85] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for using ZC sequences to transmit data on multiple simultaneous channels, according to some embodiments.

[0091] [Figure 86] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to communicate over a channel modulating using a ZC sequence, according to some embodiments.

[0092] [Figure 87] 1 is a schematic diagram of a multi-radio coexistence system in an IoT device, according to some embodiments.

[0093] [Figure 88] FIG. 1 is a ladder diagram of an exemplary method for controlling and managing the operation and coexistence of multiple radios, according to some embodiments.

[0094] [Figure 89] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for using coexisting multiple radios to communicate with other nodes, according to some embodiments.

[0095] [Figure 90] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to communicate over a channel modulating using a ZC sequence, according to some embodiments.

[0096] [Figure 91] 1 is a schematic diagram of a service network overlay function across heterogeneous networks according to some embodiments.

[0097] [Figure 92] FIG. 1 is a process flow diagram of an exemplary method for processing a new request for a service, according to some embodiments.

[0098] [Figure 93] FIG. 1 is a process flow diagram of an exemplary method for registering an endpoint or service component with a network domain controller (NDC) or other service coordinator, according to some embodiments.

[0099] [Figure 94] 1 is a block diagram of an example of components that may be present in an IoT device for coordinating or fulfilling service requests, according to some embodiments.

[0100] [Figure 95] 1 is a block diagram of a non-transitory machine-readable medium including code for directing one or more processors to adjust or fulfill a service request, according to some embodiments.

[0101] [Figure 96]1 is a schematic diagram of an ad-hoc formation of a reverse distributed hash table (DHT) network for IoT services, according to some embodiments.

[0102] [Figure 97] FIG. 1 is a schematic diagram of a process for tracking which nodes are available to store or transmit file data, according to some embodiments.

[0103] [Figure 98] FIG. 10 is a process flow diagram of an exemplary method for targeting a storage node or a sending node, according to some embodiments.

[0104] [Figure 99] FIG. 1 is a process flow diagram of an exemplary method for storing or transmitting data using a distributed hash table (DHT), according to some embodiments.

[0105] [Figure 100] 1 is a block diagram of an example of components that may be present in an IoT device for coordinating or fulfilling service requests, according to some embodiments.

[0106] [Figure 101] 1 is a block diagram of a non-transitory machine-readable medium including code for directing one or more processors to adjust or fulfill a service request, according to some embodiments.

[0107] [Figure 102] 1 is a schematic diagram of a multi-path communication system showing three exemplary paths between two endpoints that may be available for potential use, according to some embodiments.

[0108] [Figure 103] FIG. 1 is a process flow diagram of an exemplary method for selecting a communication path, according to some embodiments.

[0109] [Figure 104] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to transmit data over multiple communication channels, according to some embodiments.

[0110] [Figure 105] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to transmit data over multiple communication channels, according to some embodiments.

[0111] [Figure 106] 1 is a schematic diagram of an IoT gateway for secure communication and translation between domains, according to some embodiments;

[0112] [Figure 107] FIG. 1 is a process flow diagram of an exemplary method for transforming a workload in a secure IoT gateway, according to some embodiments.

[0113] [Figure 108] FIG. 1 is a block diagram of an example of components that may be present in an IoT gateway to transform workloads between domains, according to some embodiments.

[0114] [Figure 109] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to translate workloads between an ingress network and an egress network, according to some embodiments.

[0115] [Figure 110] 1 is a schematic diagram of a device powered by a different domain that is incorporated by a shared domain created to allow the device to participate as a component of the new domain, according to some embodiments. FIG.

[0116] [Figure 111] FIG. 1 is a schematic diagram of creating a shared resource to allow devices to join across domains, according to some embodiments.

[0117] [Figure 112] FIG. 1 is a process flow diagram of an exemplary method for establishing a joined IoT domain including shared resources, according to some embodiments.

[0118] [Figure 113] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for creating a shared resource, according to some embodiments.

[0119] [Figure 114] 1 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to establish shared resources across domains, according to some embodiments.

[0120] [Figure 115] FIG. 1 is a ladder diagram illustrating stages in a product purse cycle for implementing a product tracking system, according to some embodiments.

[0121] [Figure 116] FIG. 10 is a schematic diagram of the use of a private data store, where a record key is used to access the traceability record of each stage, according to some embodiments.

[0122] [Figure 117] FIG. 1 is a schematic diagram of using a public or common data store, according to some embodiments.

[0123] [Figure 118] FIG. 1 is a schematic diagram of a process for implementing a traceability system, according to some embodiments.

[0124] [Figure 119]FIG. 1 is a block diagram of an example of components that may be present in an IoT device to provide a traceability record of a product, according to some embodiments.

[0125] [Figure 120] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to share resources across domains, according to some embodiments.

[0126] [Figure 121] 1A and 1B are schematic diagrams of a hierarchical policy management system used in many modern computer networks, according to some embodiments, respectively. 1B illustrates a schematic diagram of policy management in a peer-to-peer (P2P) network, such as an IoT mesh network, according to some embodiments.

[0127]

[0128] [Figure 122] FIG. 1 is a schematic diagram of a system within a node for implementing a distributed policy management system, according to some embodiments.

[0129] [Figure 123] 1A and 1B are ladder diagrams of an exemplary method for a new, unconfigured node attempting to discover policies on a network, e.g., from a peer node, according to some embodiments; and FIG. 1B is a ladder diagram of an exemplary method for a new, unconfigured node discovering policies from a configured node, according to some embodiments.

[0130]

[0131] [Figure 124] FIG. 10 is a ladder diagram of an exemplary method for a configured node to communicate with a node having an updated policy to update the configured node's policy, according to some embodiments.

[0132] [Figure 125]FIG. 10 is a ladder diagram of an exemplary method illustrating the concatenation of policies obtained from different nodes by a configured node, according to some embodiments.

[0133] [Figure 126] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for distributed management of policies, according to some embodiments.

[0134] [Figure 127] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to manage policies in an IoT network in collaboration with other IoT devices, according to some embodiments.

[0135] [Figure 128] FIG. 1 is a diagram of a power plug device that may be used to improve availability of IoT devices, according to some embodiments.

[0136] [Figure 129] 10 is a plot of global state transitions based on self-adaptation of a power plug device according to some embodiments.

[0137] [Figure 130] FIG. 1 is a process flow diagram of an exemplary method for using a power plug device to increase reliability of an IoT device, according to some embodiments.

[0138] [Figure 131] FIG. 10 is a block diagram of an example of components that may be present in a power plug device to increase availability of an IoT device, according to some embodiments.

[0139] [Figure 132] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to increase availability of an IoT device, according to some embodiments.

[0140] [Figure 133] FIG. 1 is a schematic diagram of a failover mechanism for a failed device according to some embodiments.

[0141] [Figure 134] FIG. 1 is a process flow diagram of an exemplary method for implementing a failover mechanism using a Trusted Reliability Engine (TRE), according to some embodiments.

[0142] [Figure 135] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to implement a failover mechanism using a Trusted Trust Engine, according to some embodiments.

[0143] [Figure 136] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to implement a failover mechanism using a trusted reliability engine, according to some embodiments.

[0144] [Figure 137] 1 is a schematic diagram of the construction of keys exchanged between nodes in an IoT network using partial keys, according to some embodiments; FIG.

[0145] [Figure 138] FIG. 1 is a process flow diagram of an exemplary method for assembling a complete key from partial keys stored in individual nodes in an IoT network, according to some embodiments.

[0146] [Figure 139] FIG. 1 is a schematic diagram of assembling a complete key from partial keys provided by five nodes A-E according to some embodiments.

[0147] [Figure 140]FIG. 1 is a block diagram of an example of components that may be present in an IoT device for assembling multiple partial keys from different nodes in an IP mesh network into a single complete key, according to some embodiments.

[0148] [Figure 141] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to receive partial keys, assemble the partial keys into a final key, and use the final key, according to some embodiments.

[0149] [Figure 142] FIG. 1 is a schematic diagram of a procedure for generating a key on demand for a device on a lossy network, according to some embodiments.

[0150] [Figure 143] FIG. 1 is a schematic diagram of a key generation method that may be used in an on-demand process for generating keys as described above, as well as for generating keys in other situations, according to some embodiments.

[0151] [Figure 144] FIG. 1 is a process flow diagram of an exemplary method for generating a key, according to some embodiments.

[0152] [Figure 145] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for generating keys on demand, according to some embodiments.

[0153] [Figure 146] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to generate a key on demand, according to some embodiments.

[0154] [Figure 147] FIG. 1 is a schematic diagram of an entropy multiplexing process for generating multiple seeds that may be used to generate new keys, according to some embodiments.

[0155] [Figure 148] FIG. 10 is a schematic diagram illustrating a process for generating a location seed tree according to some embodiments.

[0156] [Figure 149] FIG. 1 is a process flow diagram of an exemplary method for generating seeds using entropy multiplexing and using those seeds to generate keys for encrypted communications, according to some embodiments.

[0157] [Figure 150] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for assembling multiple partial keys from different nodes in an IP mesh network into a single complete key, according to some embodiments.

[0158] [Figure 151] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to generate a common secret key between devices using entropy multiplexing, according to some embodiments.

[0159] [Figure 152] FIG. 1 is a ladder diagram of an exemplary method for unified key management in an IoT network environment, according to some embodiments.

[0160] [Figure 153] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to manage keys in a network of IoT mesh devices, according to some embodiments.

[0161] [Fig. 154] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to manage keys for secure communications, according to some embodiments.

[0162] [Figure 155] FIG. 1 is a schematic diagram of a process for bootstrapping and discovery of a device according to some embodiments.

[0163] [Figure 156] FIG. 1 is a process flow diagram of an exemplary method for bootstrapping and discovery of a device, according to some embodiments.

[0164] [Figure 157] FIG. 10 is a schematic diagram of a process for bootstrapping, discovery, and lifecycle of a device using smart contract functionality, according to some embodiments.

[0165] [Figure 158] FIG. 10 is a process flow diagram of an exemplary method for bootstrapping, discovery, and lifecycle of a device using smart contracts, according to some embodiments.

[0166] [Figure 159] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for bootstrapping, discovery, and expiration management, according to some embodiments.

[0167] [Figure 160] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to manage keys for secure communications, according to some embodiments.

[0168] [Figure 161] FIG. 10 is a schematic diagram of a process for discovering resources using Bloom filter hops according to some embodiments.

[0169] [Figure 162] FIG. 1 is a process flow diagram of an exemplary method for resource discovery using a DHT, according to some embodiments.

[0170] [Figure 163] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for assembling multiple partial keys from different nodes in an IP mesh network into a single complete key, according to some embodiments.

[0171] [Fig. 164] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to use a Bloom filter hop method for resource discovery, according to some embodiments.

[0172] [Figure 165] FIG. 1 is a schematic diagram of an exemplary method for task definition and commissioning, according to some embodiments.

[0173] [Figure 166] FIG. 1 is a process flow diagram of an exemplary method for protocol conversion brokering by a protocol conversion broker, according to some embodiments.

[0174] [Figure 167] FIG. 10 is a block diagram of an example of components that may be present in an IoT device to define tasks and commission nodes, according to some embodiments.

[0175] [Figure 168] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for defining tasks and commission nodes, according to some embodiments.

[0176] [Figure 169] FIG. 1 is a process flow diagram of an exemplary method for managing floating services and value in a digital wallet, according to some embodiments.

[0177] [Figure 170]FIG. 1 is a schematic diagram of an exemplary floating service data structure for managing floating services and options and conditions and terms, according to some embodiments.

[0178] [Figure 171] FIG. 1 is a process flow diagram of an exemplary method for floating service management, according to some embodiments.

[0179] [Fig. 172] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to manage floating services, according to some embodiments.

[0180] [Figure 173] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for managing floating services, according to some embodiments.

[0181] [Fig. 174] FIG. 10 is a schematic diagram illustrating an exemplary permission guide negotiation process, according to some embodiments.

[0182] [Figure 175] FIG. 10 is a process flow diagram of an exemplary method for permission guide negotiation, according to some embodiments.

[0183] [Figure 176] FIG. 1 is a schematic diagram of an exemplary data structure for assessing and assigning value to data units, according to some embodiments.

[0184] [Figure 177] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for negotiation with an evaluated data unit, according to some embodiments.

[0185] [Figure 178]FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for defining tasks and commission nodes, according to some embodiments.

[0186] [Figure 179] FIG. 1 is a schematic diagram of an exemplary organization for a decentralized network access proxy for using capabilities, according to some embodiments.

[0187] [Figure 180] FIG. 10 is a process flow diagram of an exemplary method for a decentralized network access proxy to use capabilities, according to some embodiments.

[0188] [Figure 181] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for negotiation with an evaluated data unit, according to some embodiments.

[0189] [Figure 182] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for defining tasks and commission nodes, according to some embodiments.

[0190] [Figure 183] 1 is a schematic diagram of an example organization for a decentralized version of providing authentication, authorization, and accounting with permission guides, according to some embodiments.

[0191] [Figure 184] FIG. 10 is a process flow diagram of an exemplary method for a decentralized version of providing authentication, authorization, and accounting with permission guides, according to some embodiments.

[0192] [Figure 185] FIG. 1 is a block diagram of an example of components that may be present on an IoT device for decentralized authorization, authentication, and accounting with an IoT device, according to some embodiments.

[0193] [Figure 186] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for decentralized authorization, authentication, and accounting with IoT devices, according to some embodiments.

[0194] [Figure 187] FIG. 1 is a schematic diagram of a technique for decentralized authorization, authentication, and accounting on IoT devices using Remote Authentication Dial-In User Service (RADIUS) or DIAMETER protocol, according to some embodiments.

[0195] [Figure 188] FIG. 188 is a schematic diagram of an operational diagram for the components of FIG. 187 for operating through a decentralized RADIUS proxy for authorization, authentication, and accounting on IoT devices, according to some embodiments.

[0196] [Figure 189] FIG. 187 is a ladder diagram of an example method for the components of FIG. 187 to operate through a decentralized API 18706 proxy for authorization, authentication, and accounting on IoT devices, according to some embodiments.

[0197] [Figure 190] FIG. 1 is a schematic diagram of an operational diagram for decentralized authorization, authentication, and accounting on IoT devices, according to some embodiments.

[0198] [Figure 191] FIG. 1 is a block diagram of an example of components that may be present on an IoT device for decentralized authorization, authentication, and accounting with an IoT device, according to some embodiments.

[0199] [Figure 192] FIG. 10 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor for decentralized authorization, authentication, and accounting with IoT devices, according to some embodiments.

[0200] [Figure 193] FIG. 1 is a schematic diagram of a process for configuring and operating a consensus network using a native decentralized database, according to some embodiments.

[0201] [Figure 194] FIG. 1 is a process flow diagram of an exemplary method for participating in and operating within a consensus network using a native decentralized database, according to some embodiments.

[0202] [Figure 195] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for participating in and operating a decentralized database, according to some embodiments.

[0203] [Figure 196] FIG. 1 is a block diagram of a non-transitory machine-readable medium comprising code for instructing a processor to join and operate a decentralized database, according to some embodiments.

[0204] [Figure 197] 1 is a schematic diagram of logical division for access control in IoT objects according to some embodiments.

[0205] [Figure 198] FIG. 1 is a schematic diagram of a logical division between caller credentials and access control requests for access control in IoT objects according to some embodiments.

[0206] [Figure 199] 1 is a schematic diagram of a logical division between object functions for access control using layers within an IoT object, according to some embodiments; FIG.

[0207] [Figure 200]FIG. 1 is a process flow diagram of an exemplary method for access control in IoT objects, according to some embodiments.

[0208] [Figure 201] 1 is a block diagram of example components that may be present in an IoT device for access control on IoT objects, according to some embodiments.

[0209] [Figure 202] FIG. 196 is a block diagram of a non-transitory machine-readable medium 19600 comprising code for instructing a processor for access control in an IoT object, according to some embodiments.

[0210] [Figure 203] FIG. 1 is a process flow diagram of an exemplary method used by an IoT device to map resources and requirements for self-describing hardware, according to some embodiments.

[0211] [Figure 204] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to map resources and self-describing hardware requirements, according to some embodiments.

[0212] [Figure 205] FIG. 1 is a block diagram of a non-transitory machine-readable medium comprising instructions that, when executed, direct a processor to map resources and requirements of self-describing hardware, according to some embodiments.

[0213] [Figure 206] FIG. 1 is a process flow diagram of an exemplary method used by an IoT device to map resources and requirements for self-describing hardware, according to some embodiments.

[0214] [Figure 207]1 is a block diagram of an example of components that may be present in an IoT device for computational tools for self-describing hardware requirements, according to some embodiments.

[0215] [Figure 208] FIG. 1 is a block diagram of a non-transitory machine-readable medium comprising instructions that, when executed, direct a processor to map resources and requirements of self-describing hardware, according to some embodiments.

[0216] [Figure 209] FIG. 10 is a process flow diagram of an exemplary method used by an IoT device to configure a signal conditioning circuit, according to some embodiments.

[0217] [Figure 210] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to make up a signal conditioning circuit, according to some embodiments.

[0218] [Figure 211] 1 is a block diagram of a non-transitory machine-readable medium comprising instructions that, when executed, direct a processor to configure a signal conditioning circuit, according to some embodiments.

[0219] [Figure 212] FIG. 1 is a schematic diagram of hierarchical device and network health reporting according to some embodiments.

[0220] [Figure 213] FIG. 10 is a schematic diagram of reporting the health of device-level Bloom filters and shadow filters according to some embodiments;

[0221] [Figure 214] FIG. 10 is a schematic diagram of a network level Bloom filter report of past intermittent loss of watchdog reports according to some embodiments;

[0222] [Figure 215] FIG. 10 is a process flow diagram of an exemplary method for use by an IoT device to report health using shadow and bloom filters, according to some embodiments.

[0223] [Figure 216] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for reporting the health of a network and network devices, according to some embodiments.

[0224] [Figure 217] FIG. 1 is a block diagram of a non-transitory machine-readable medium containing code for reporting the health of a network and network devices, according to some embodiments.

[0225] [Figure 218] 1 is a schematic diagram of a wireless wide area network (WWAN) in which a control channel may be used over each connection, according to some embodiments.

[0226] [Figure 219] FIG. 1 is a schematic diagram of a map of a physical area divided into zones, according to some embodiments.

[0227] [Figure 220] FIG. 10 is a process flow diagram of an exemplary method used by an IoT device to report geolocation information using time difference of arrival, according to some embodiments.

[0228] [Figure 221] 1 is a schematic diagram of a network for determining time differences based on arrival time information in a heterogeneous network using, in part, zone IDs, according to some embodiments; FIG.

[0229] [Figure 222] 1 is a schematic diagram of an exemplary control channel frame structure packed into an exemplary low power wide area network frame (LPWAN), in accordance with some embodiments.

[0230] [Figure 223] FIG. 1 is a block diagram of example components that may be present in an IoT device for resource discovery and geolocation sector identification, according to some embodiments.

[0231] [Figure 224] FIG. 1 is a block diagram of a non-transitory machine-readable medium containing code for reporting the health of a network and network devices, according to some embodiments.

[0232] [Figure 225] FIG. 1 is a schematic diagram of a conceptual model of data analysis, according to some embodiments.

[0233] [Figure 226] FIG. 10 is a process flow diagram of an exemplary method used by an IoT device to provide data analytics for an IoT system, according to some embodiments.

[0234] [Figure 227] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to provide data analytics for an IoT system, according to some embodiments.

[0235] [Figure 228] FIG. 1 is a block diagram of a non-transitory machine-readable medium containing code for reporting the health of a network and network devices.

[0236] [Figure 229] FIG. 10 is a process flow diagram of an exemplary method used by an IoT device in distributed neural network mapping and resource management, according to some embodiments.

[0237] [Figure 230] FIG. 1 is a schematic diagram of distributed neural network mapping for resource management according to some embodiments;

[0238] [Figure 231] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for distributed neural network mapping and resource management, according to some embodiments.

[0239] [Figure 232] FIG. 1 is a block diagram of a non-transitory machine-readable medium containing code for reporting the health of a network and network devices, according to some embodiments.

[0240] [Figure 233] FIG. 1 is a schematic diagram of a hierarchy of a blockchain in relation to levels in a network hierarchy, according to some embodiments.

[0241] [Figure 234] FIG. 1 is a process flow diagram of an exemplary method for building a blockchain hierarchy, according to some embodiments.

[0242] [Figure 235] FIG. 234 is an expanded view of the Merkle tree described with respect to FIG. 233, according to some embodiments.

[0243] [Figure 236] FIG. 1 is a process flow diagram of an exemplary method for searching a blockchain hierarchy using a Merkle tree index, according to some embodiments.

[0244] [Figure 237] FIG. 10 is a schematic diagram of a cached Merkle tree stored on a cloud server, according to some embodiments;

[0245] [Figure 238] 234 is a schematic diagram of a distributed Merkle tree cache at IoT network level H1 as described with respect to FIG. 233 according to some embodiments.

[0246] [Figure 239] 1 is a schematic diagram of a technique for maintaining a distributed cache with coherency, according to some embodiments;

[0247] [Figure 240] FIG. 1 is a process flow diagram of an exemplary method for building a coherent cache for a hierarchy of blockchains, according to some embodiments.

[0248] [Figure 241] FIG. 1 is a process flow diagram of an exemplary method for maintaining a coherent cache for a hierarchy of a blockchain, according to some embodiments.

[0249] [Figure 242] FIG. 1 is a block diagram of an example of components that may be present in an IoT device for implementing a hierarchical blockchain with associated indexes, according to some embodiments.

[0250] [Figure 243] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to manage keys for secure communications, according to some embodiments.

[0251] [Figure 244] FIG. 1 is a schematic diagram of the use of Bloom filter-based Pub-Sub routing according to some embodiments.

[0252] [Figure 245] FIG. 1 is a schematic diagram of the use of whitelist bloom filters to enable distribution of content, according to some embodiments.

[0253] [Figure 246] FIG. 1 is a schematic diagram of the use of blacklist bloom filters to prevent distribution of content, according to some embodiments.

[0254] [Figure 247] FIG. 1 is a process flow diagram of an exemplary method for implementing Pub-Sub using blacklist or whitelist Bloom filters for content control, according to some embodiments.

[0255] [Figure 248] FIG. 1 is a block diagram of an example of components that may be present in an IoT device to implement a pub-sub type content distribution system using Bloom filters, according to some embodiments.

[0256] [Figure 249] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to manage a pub-sub type system using bloom filters for content distribution, according to some embodiments.

[0257] [Figure 250] FIG. 1 is a schematic diagram of topic notification with encrypted content according to some embodiments.

[0258] [Figure 251] 1A and 1B are schematic diagrams of a group of routers receiving notifications for topics containing encrypted content and warming their caches in anticipation of subscribers requesting the encrypted topic, respectively, according to some embodiments.

[0259]

[0260] [Figure 252] FIG. 1 is a process flow diagram of an exemplary method for using key management notification and warm key caching, according to some embodiments.

[0261] [Figure 253]FIG. 10 is a block diagram of an example of components that may be present in an IoT device for managing topic notifications with encrypted content, according to some embodiments.

[0262] [Figure 254] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to manage topic notifications with encrypted content, according to some embodiments.

[0263] [Figure 255] FIG. 1 is a schematic diagram of a subscriber obtaining a topic group key according to some embodiments.

[0264] [Figure 256] FIG. 1 is a schematic diagram of a publisher generating a subscription Bloom filter to notify subscribers of available topics, according to some embodiments;

[0265] [Figure 257] FIG. 1 is a ladder diagram of an exemplary method for topic encryption, according to some embodiments.

[0266] [Figure 258] FIG. 1 is a schematic diagram of the use of multi-level security labels in a publication-subscribe environment, according to some embodiments;

[0267] [Figure 259] FIG. 1 is a process flow diagram of an exemplary method for implementing a Bloom filter to apply multi-level security policies to notification messages, according to some embodiments.

[0268] [Figure 260] FIG. 10 is a block diagram of an example of components that may be present in an IoT device for managing topic notifications with encrypted content, according to some embodiments.

[0269] [Figure 261] FIG. 1 is a block diagram of a non-transitory machine-readable medium including code for directing a processor to manage topic notifications with encrypted content, according to some embodiments.

[0270] [Figure 262] FIG. 10 is a diagram of an example of a shy robot, according to some embodiments.

[0271] [Figure 263] FIG. 10 is a block diagram of an example of components that may be present in a shy robot, according to some embodiments.

[0272] [Figure 264] FIG. 10 is a schematic diagram of the operation of a context engine according to some embodiments.

[0273] [Figure 265] FIG. 1 is a schematic illustration of the operation of a swarm of shy robots, according to some embodiments.

[0274] [Figure 266] FIG. 1 is a process flow diagram of an exemplary method for operating shy robots in groups, according to some embodiments.

[0275] [Figure 267] FIG. 10 is a block diagram of a non-transitory machine-readable medium comprising code for instructing a processor to manage the behavior of a shy robot, according to some embodiments.

[0276] [Figure 268] FIG. 1 is a schematic diagram of a use case illustrating a drone as a preferred responder device for a scene within its jurisdiction, according to some embodiments.

[0277] [Figure 269]268 is a process flow diagram of an exemplary method for performing a participation and registration process associated with single and multiple authority control areas according to some embodiments.

[0278] [Figure 270] 1 is a schematic diagram of a trip plan for an emergency response (ER) or other entity to determine a route to a destination, according to some embodiments.

[0279] [Fig. 271] FIG. 10 is a schematic diagram of the use of an Emergency Management (EM) subtree at each waypoint, according to some embodiments.

[0280] [Fig. 272] FIG. 1 is a process flow diagram of an exemplary method for dynamic configuration of a preferred responder dispatch (PFRD) network in a scene, according to some embodiments.

[0281] [Fig. 273] FIG. 10 is a ladder diagram of an exemplary method for beaconing scene information by a PFRD, according to some embodiments.

[0282] [Fig. 274] FIG. 10 is a block diagram of an example of components that may be present in a PFRD, according to some embodiments.

[0283] [Figure 275] 1 is a block diagram of a non-transitory machine-readable medium including code for instructing a processor to manage the operation of a preferred responder device, according to some embodiments.

[0284] The same numbers are used throughout this disclosure and the figures to reference like components and features, with numbers in the 100 series referring to features that first appear in Figure 1, numbers in the 200 series referring to features that first appear in Figure 2, and so on. DETAILED DESCRIPTION OF THE INVENTION

[0285] The Internet of Things (IoT) is a system in which numerous computing devices are interconnected with each other and with communication networks (e.g., the Internet) to provide functions such as data collection and actuation at the very lowest levels of the network. Lower levels refer to devices that may be located at or near the edge of the network, such as the last few devices at the network's edge. As used herein, IoT devices may include devices that perform functions such as sensing or control, among others, in communication with other IoT devices and communication networks. IoT devices may include autonomous or semi-autonomous devices configured to perform one or more functions. IoT devices are often limited in memory, size, or functionality, allowing them to be deployed in large numbers at the same cost as fewer, larger devices. However, IoT devices may also be smartphones, laptops, tablets, PCs, and / or other larger devices. Additionally, IoT devices may be virtual devices, such as applications on smartphones or other computing devices. IoT devices may include IoT gateways used to couple IoT devices to other IoT devices and cloud applications for data storage, process control, and the like.

[0286] A network of IoT devices can include commercial and domestic devices such as water distribution systems, power distribution systems, pipeline control systems, plant control systems, light switches, thermostats, locks, cameras, alarms, motion sensors, etc. IoT devices may be accessible through controllers, such as computers, servers, and other systems, for example, to control the system or access data. The controllers and IoT devices may also be located remotely from one another.

[0287] The Internet can be configured to provide communications for a large number of IoT devices. Accordingly, as described herein, several innovations for the future Internet are designed to address the need for a network layer—from central servers through gateways to edge devices—to scale without constraints, discover and access connected resources, and support the ability to conceal and compartmentalize them. Any number of network protocols and communication standards can be used, with each protocol and standard designed to address a specific purpose. Furthermore, protocols are part of the fabric that supports human-accessible services that operate regardless of location, time, or space. These innovations include service delivery and associated infrastructure, such as hardware and software. Services can be provided according to quality-of-service (QoS) requirements specified in service level and service delivery agreements. The use of IoT devices and networks presents several new challenges in connecting heterogeneous networks, including a combination of wired and wireless technologies, as shown in Figures 1 and 2.

[0288] 1 is a diagram of interconnections that may exist between the Internet 100 and IoT networks, according to some embodiments. The interconnections may couple smaller networks 102 to a backbone 106 of the Internet 100, all the way down to individual IoT devices 104. To simplify the drawing, not all devices 104 or other objects are labeled.

[0289] In FIG. 1 , a top-level provider, which may be referred to as a Tier 1 (“T1”) provider 108, is coupled to other providers, such as a second-tier or Tier 2 (“T2”) provider 110, by an Internet backbone 106. In some aspects, the backbone 106 may include an optical fiber link. In one example, the T2 provider 110 may be coupled to a tower 112 of an LTE cellular network, for example, by a further link, by microwave communication 114, or by other communication technology. The tower 112 may be coupled to a mesh network including the IoT devices 104 via an LTE communication link 116, for example, via a central node 118. Communication between individual IoT devices 104 may also be based on the LTE communication link 116.

[0290] In another example, a high-speed uplink 119 may couple the T2 provider 110 to a gateway 120. Multiple IoT devices 104 may communicate with the gateway 120, and with each other through the gateway 120, for example, via a Bluetooth® low energy (BLE) link 122.

[0291] The backbone 106 may couple lower level service providers to the Internet, such as a tier 3 ("T3") provider 124. The T3 provider 124 may be thought of as a typical Internet service provider (ISP) that purchases access to the backbone 106 from, for example, the T2 provider 110 and provides access to corporate gateways 126 and other customers.

[0292] From the enterprise gateway 126, a wireless local area network (WLAN) can be used to communicate with the IoT devices 104 via a Wi-Fi® link 128. The Wi-Fi® link 128 may be used to couple to a low power wide area (LPWA) gateway 130, which can communicate with the IoT devices 104 via an LPWA link 132, for example, compatible with the LoRaWan® specification promulgated by the LoRa Alliance.

[0293] The T3 provider 124 may also provide access to the mesh network 134 via a coordinator device 136 that communicates with the T3 provider 124 using any number of communications links, such as an LTE cellular link, an LPWA link, or a link 138 based on the IEEE 802.15.4 standard, such as Zigbee. Other coordinator devices 136 may provide chains of links that form one or more cluster trees of linked devices.

[0294] In some embodiments, one or more IoT devices 104 comprise a transceiver suitable for communicating with other devices. Additionally, one or more IoT devices 104 may comprise other wireless, optical, or acoustic transceivers for communicating using additional protocols and frequencies, as well as wired network interfaces. In some embodiments, one or more IoT devices 104 comprise the components described with respect to FIG. 8.

[0295] Technologies and networks may enable the expansion of devices and networks. As technology grows, networks may develop toward self-management, evolving capabilities, and / or collaboration without requiring direct human intervention. Thus, these technologies may enable networks to function without a centralized control system. The technologies described herein can automate network management and operation functions beyond current capabilities. Furthermore, these approaches can provide the flexibility to have centralized control that operates without human intervention, automated centralized control, or any combination thereof.

[0296] 2 is a diagram of a network topology 200 that may be used for multiple Internet of Things (IoT) networks coupled to a gateway 204 via a backbone link 202, according to some embodiments. Like-numbered items are as described with respect to FIG. 1. Additionally, for ease of illustration, not all devices 104 or communication links 116, 122, 128, or 132 are labeled. The backbone link 202 may include any number of wired or wireless technologies and may be part of a local area network (LAN), a wide area network (WAN), or the Internet.

[0297] It will be appreciated that while the topology of Figure 2 is hub-and-spoke and the topology of Figure 1 is peer-to-peer, there is no contradiction and peer-to-peer nodes may behave as hub-and-spoke via gateways. It will also be appreciated from Figure 2 that the topology of a subnetwork may have multiple gateways and may be a hybrid topology rather than a strict or pure hub-and-spoke topology.

[0298] The network topology 200 may include any number of types of IoT networks, such as a mesh network 206 that uses Bluetooth® Low Energy (BLE) links 122. Other IoT networks that may be present include a WLAN network 208, a cellular network 210, and an LPWA network 212. As described herein, each of these IoT networks may offer new development opportunities.

[0299] For example, communications between IoT devices 104, such as over the backbone link 202, may be secured by a decentralized system for authentication, authorization, and accounting (AAA). A decentralized AAA system allows distributed payment, credit, auditing, authorization, mediation, arbitration, and authentication systems to be implemented across interconnected heterogeneous infrastructures, enabling systems and networks to move toward autonomous operation.

[0300] In this type of autonomous operation, machines can reduce human resources and negotiate partnerships with other machine networks. This allows for mutually objective and balanced service delivery against outlined and planned service level agreements, as well as solutions that provide metering, measurement, and traceability. The creation of new supply chain structures and methods can enable the creation, extraction, and reduction of numerous services without human involvement.

[0301] IoT networks can be further enhanced by integrating sensing technologies such as sound, light, electronic traffic, face and pattern recognition, smell, and vibration into autonomous organizations. The integration of sensory systems can enable systematic and autonomous communication and coordination of service delivery against contractual service objectives, orchestration and quality of service (QoS)-based swarming, and resource fusion.

[0302] The mesh network 206 can be augmented by a system that performs in-line data-to-information transformation. For example, a self-forming chain of processing resources, including a multi-link network, can efficiently distribute the raw data-to-information transformation. This allows a first stage to perform an initial mathematical operation before passing the result to another stage, and then a second stage to perform another mathematical operation and pass the result to another stage, and so on. The system can provide the ability to distinguish between assets and resources and their associated management. Additionally, appropriate components of infrastructure- and resource-based trust and service metrics can be inserted to improve data integrity and quality assurance and provide metrics of data reliability.

[0303] As described herein, the WLAN network 208 may use a system that performs standard translation to provide multi-standard connectivity, allowing IoT devices 104 using different protocols to communicate. Further systems can provide seamless interconnection across multi-standard infrastructures, including visible and hidden Internet resources.

[0304] Communications in the cellular network 210 can be enhanced by systems that offload data, extend communications to more remote devices, or both. The LPWA network 212 can include systems that perform non-Internet Protocol (IP) to IP interconnection, addressing, and routing.

[0305] FIG. 3 is a diagram 300 of a cloud computing network or cloud 302 in communication with multiple Internet of Things (IoT) devices, according to some embodiments. The cloud 302 may represent the Internet or a wide area network (WAN), such as a local area network (LAN) or a private enterprise network. IoT devices may include any number of different types of devices grouped in various combinations. For example, a traffic control group 306 may include IoT devices along a street. These IoT devices may include traffic lights, traffic flow monitors, cameras, weather sensors, etc. The traffic control group 306, or other subgroups, may communicate with the cloud 302 via a wireless link 308, such as an LPWA link. Additionally, a wired or wireless subnetwork 312 may enable IoT devices to communicate with each other via a local area network, a wireless local area network, etc. The IoT devices may use other devices, such as a gateway 310, to communicate with the cloud 302.

[0306] Another group of IoT devices may include, among others, remote weather stations 314, local information terminals 316, alarm systems 318, automated teller machines 320, alarm panels 322, or mobile vehicles such as emergency vehicles 324 or other vehicles 326. Each of these IoT devices may communicate with other IoT devices, with the server 304, or both.

[0307] As can be seen in Figure 3, multiple IoT devices can communicate via the cloud 302. This may allow different IoT devices to autonomously request or provide information to other devices. For example, a traffic control group 306 may request a current weather forecast from a group of remote weather stations 314, which can provide a forecast without human intervention. Additionally, an emergency vehicle 324 may be alerted that an automated teller machine 320 is currently being robbed. As the emergency vehicle 324 proceeds toward the automated teller machine 320, the emergency vehicle 324 may contact the traffic control group 306 to request authorization to proceed to the scene, for example, by turning a traffic light red to block traffic at the intersection long enough for the emergency vehicle 324 to access the intersection unimpeded.

[0308] A cluster of IoT devices, such as a remote weather station 314 or a traffic control group 306, may be equipped to communicate with other IoT devices and the cloud 302. This allows the IoT devices to form ad-hoc networks between themselves, allowing them to function as a single device, which may be referred to as a fog device, which is further described in connection with FIG.

[0309] 4 is a diagram 400 of a cloud computing network or cloud 302 in communication with a mesh network of IoT devices, which may be referred to as fog devices 402, operating at the edge of the cloud 302, according to some embodiments. Like numbered items are as described with respect to FIG. 3. As used herein, fog devices 402 are clusters of devices that may be grouped to perform a particular function, such as traffic control, weather control, plant control, etc.

[0310] In this example, fog device 402 comprises a group of IoT devices at an intersection. Fog device 402 may be established according to specifications published by, among others, the OpenFog Consortium (OFC). These specifications enable the formation of a hierarchy of computing elements between gateway 310, which couples fog device 402 to cloud 302, and gateway 310, which couples fog device 402 to endpoint devices, in this example, traffic lights 404 and data aggregators 406. Fog device 402 can leverage the combined processing and network resources provided by a collection of IoT devices. Thus, fog device 402 can be used for any number of applications, including, for example, financial modeling, weather forecasting, traffic counting, etc.

[0311] For example, traffic flow through an intersection may be controlled by multiple traffic lights 404 (e.g., three traffic lights 404). Analysis of traffic flow and control strategies may be performed by an aggregator 406 in communication with the traffic lights 404 and with each other via a mesh network. Data may be uploaded to and commands may be received from the cloud 302 via a gateway 310 in communication with the traffic lights 404 and the aggregator 406 via the mesh network.

[0312] Any number of communication links may be used in the fog device 402. A short-range link 408, for example, a short-range link 408 compatible with IEEE 802.15.4, may provide local communication between IoT devices in proximity to an intersection. A long-range link 410, for example, a long-range link 410 compatible with the LPWA standard, may provide communication between the IoT devices and the gateway 310. For ease of illustration, not all communication links 408 or 410 are labeled with reference numbers.

[0313] Fog device 402 can be considered a large-scale interconnected network in which multiple IoT devices communicate with each other, for example, via communication links 408 and 410. The network can be established using Specification 1.0 of the Open Interconnect Consortium (OIC) standard, published by the Open Connectivity Foundation® (OCF) on December 23, 2015. This standard allows devices to discover each other and establish communications for interconnection. Other interconnection protocols can also be used, including, for example, the AllJoyn protocol from the AllSeen alliance, the optimized link state routing (OLSR) protocol, or the better approach to mobile ad-hoc networking (BATMAN), among others.

[0314] In some embodiments, communications from one IoT device may be routed along the most convenient path to reach the gateway 310, such as the path with the fewest number of intermediate hops or the path with the highest bandwidth, among others. In these networks, multiple interconnections provide sufficient redundancy to maintain communications even if multiple IoT devices are lost.

[0315] In some aspects, fog devices 402 may include transient IoT devices. In other words, not all IoT devices may be permanent members of fog devices 402. For example, in exemplary system 400, fog devices 402 are joined by three transient IoT devices: a first vehicle 412, a second vehicle 414, and a pedestrian 416. In these cases, the IoT devices may be built into vehicles 412 and 414 or may be applications on a smartphone carried by pedestrian 416. Other IoT devices may also be present, such as IoT devices in bicycle computers, motorcycle computers, drones, etc.

[0316] The fog device 402 formed from IoT devices may be presented to clients in the cloud 302, such as the server 304, as a single device located at the edge of the cloud 302. In this example, control communications to specific resources within the fog device 402 may occur without identifying any particular IoT device within the fog device 402. Thus, if one IoT device within the fog device 402 fails, other IoT devices within the fog device 402 may be able to discover and control resources, such as actuators or other devices connected to the IoT device. For example, traffic lights 404 may be wired so that any one of the traffic lights 404 can control the lights for the other traffic lights 404. The aggregator 406 may also provide redundancy in the control of the traffic lights 404 and other functions of the fog device 402.

[0317] In some examples, IoT devices may be configured using an imperative programming style, e.g., with each IoT device having specific capabilities and communication partners. However, the IoT devices that form the fog devices 402 may be configured in a declarative programming style, allowing the IoT devices to reconfigure their operations and communications to determine required resources in response to conditions, queries, and device failures. This may be performed when a transient IoT device, such as a pedestrian 416, joins the fog devices 402.

[0318] Because pedestrians 416 are likely to travel more slowly than vehicles 412 and 414, fog device 402 can reconfigure itself to allow pedestrians 416 sufficient time to pass through the intersection. This can be done by forming a temporal group of vehicles 412 and 414 and pedestrians 416 to control traffic lights 404. If one or both of vehicles 412 or 414 are autonomous, the temporal group can command the vehicles to slow down before traffic lights 404. Furthermore, if all vehicles at an intersection are autonomous, the need for traffic lights may be reduced because collision avoidance systems for autonomous vehicles may allow for highly intertwined traffic patterns that may be too complex for traffic lights to manage. However, traffic lights 404 may still be important to pedestrians 416, cyclists, or non-autonomous vehicles.

[0319] As transient devices 412, 414, and 416 leave the vicinity of the intersection of fog device 402, fog device 402 can reconfigure itself to exclude those IoT devices from the network. As other transient IoT devices approach the intersection, fog device 402 can reconfigure itself to include those devices.

[0320] A fog device 402 may include all the transient IoT devices along a street, as well as traffic lights 404 at multiple intersections along that street, etc. The fog device 402 may then divide itself into functional units, such as traffic lights 404 and other IoT devices in proximity to a single intersection. This type of combination may allow larger IoT constructs to be formed within the fog device 402, for example, groups of IoT devices that perform specific functions.

[0321] For example, if an emergency vehicle joins the fog device 402, an emergency structure or virtual device can be created that includes all of the traffic lights 404 for that street, allowing control of traffic flow patterns for the entire street. The emergency structure can instruct the traffic lights 404 along the street to remain red for oncoming traffic and green for emergency vehicles to facilitate the passage of the emergency vehicle.

[0322] As illustrated by fog device 402, the organic evolution of IoT networks is key to improving or maximizing the usability, availability, and resilience of IoT implementations. Furthermore, this example demonstrates the utility of strategies to improve reliability and therefore security. Local identification of devices can be important in implementations because decentralized identity ensures that no central authority can be exploited to spoof objects that may reside within the IoT network. Furthermore, local identification reduces communication overhead and latency.

[0323] Blockchains can be used to decentralize identification because they can provide agreement between devices regarding currently used names and identities. As used herein, a blockchain is a distributed database of identity records composed of data structure blocks. Furthermore, as used herein, the term "blockchain" may include any one or more of other distributed ledger systems. Other distributed ledger approaches include Ripple, Hyperledger, Multichain, Keyless Signature Infrastructure, etc. Each data structure block is based on a transaction, and the issuance of a new name for a device, composite device, or virtual device is an example of a transaction.

[0324] Using blockchain for identification, spoofing can be detected by observing the re-issuance of names and identities without corresponding termination. Public blockchains may be most useful because they may allow a diverse community of observers to detect naming mistakes, malicious naming, or failures in the naming infrastructure. Thus, a trusted identity infrastructure may be the linchpin of a trustworthy IoT network.

[0325] 5 is a schematic diagram 500 illustrating the formation of a composite object 502 from multiple atomic objects 504, 506, and 508, according to some embodiments. An object contains a data model representation of the semantics of the functions, states, and interfaces that make up a node of a distributed system. As used herein, an object or IoT object may be a physical device made up of IoT devices, a virtual device formed from a group of physical or virtual devices, or any number of other configurations.

[0326] Objects may interact to achieve a larger function, goal, or workflow. Objects may be identified in terms of their type, e.g., the function they perform, and their instance, e.g., existence. Multiple object instances may have the same type identity, but may also have unique instance identities. Furthermore, multiple object instances may be organized into groups, and instances of a group may have an identity. A group of objects that interact in a particular way, given the semantics of their types, e.g., functionality, state, and interface, may represent a composite object. The composition itself may have an abstraction of type and instance. Thus, composite objects follow the same identity rules as atomic objects. Compositions, with their type property and instance property, enable extensibility of objects through composition.

[0327] An object can exist as long as a single device, such as a refrigerator, or until its current function is complete. For example, a refrigerator can be considered a composite object 502 made up of multiple other objects, such as a light, a compressor, a temperature sensor, a thermostat, a water dispenser, and an ice maker. The other objects can be atomic objects 504, 506, and 508, respectively, or they can themselves be composite objects 502. The ice maker can be a composite object 502 formed from atomic objects 504, 506, and 508, such as a temperature sensor, a thermostat, a solenoid water valve, a timer, and an ice tray. Examples of virtual composite objects 502 made up of multiple physical devices are the intersection and emergency clusters described with respect to FIG. 4.

[0328] Object identity can therefore be understood in the context of three abstractions: object instances, object types, and meta-identities. An object instance is a computational element that occupies finite resources such as memory, CPU, bandwidth, and state. An object instantiation has a lifecycle that includes creation, mutation, and deletion. An object type is a logical construct that declares expected or possible behavior, state, and composition. An object type can impose constraints on the behavior and interaction of an object when instantiated. An object type can also indicate the types of requests an object can respond to, e.g., interfaces.

[0329] Meta-identity is a way of defining the metadata context in which an object can exist. Objects may be unaware of the meta-identity encapsulation. Object instances can dynamically apply stereotype information by defining a group with the desired metadata context and then registering the object with that group.

[0330] Authentication and identity are problems that must be verified. Object identity cannot be trusted without authentication. However, authentication without identity has limited practical use. Asymmetric key signatures, such as ECDSA (Elliptic Curve Digital Signature Algorithm) and RSA, are useful for authentication under the expectation that there is a limited ability to copy and distribute private keys. Key usage establishes proof that the principal or agent has restricted access to the key; therefore, the principal or agent must be authentic.

[0331] Authentication semantics, when applied to object identities, also follow from three abstractions: object instance, object type, and meta-identity. For object instances, the authentication challenge / response establishes that the current interaction is only possible with a particular instantiation of the object. For object types, the authentication challenge / response attests that the current interaction is constrained by the semantics of type identification. For meta-identities, the authentication challenge / response classifies the current interaction according to a defined context.

[0332] 6 is a schematic diagram 600 of the formation of a group object 602 from a collection of atomic objects 604 and composite objects 606. The group object 602 belongs to an object class, which is a subset of an object type. For example, an object class may be a heat exchanger, but the object types of the class heat exchanger may be more specific devices such as refrigerators, heat pumps, air conditioners, evaporative coolers, etc.

[0333] Authentication of object classes can be facilitated using Enhanced Privacy ID (EPID), an asymmetric cryptographic system that includes a single public key corresponding to multiple private keys. A signature generated by any of the private keys can be verified with the single public key. Thus, the group object 602 can have a single public key, while each of the atomic objects 604 and composite objects 606 is issued a unique private ID. The system is not limited to using EPID and can use other identification techniques, such as shared access signatures.

[0334] When an object class is associated with a number corresponding to an EPID group ID (gid) and an object instance of the same type is issued a private key corresponding to the EPID group, the object instance can authenticate its class to a validator. Object class authentication is a form of attestation that allows others to interact with an object based on typed rules. This is also known in the industry as type enforcement. Constructing a composite object class identifier using the type identifiers of its component objects is an object type extension method. For example, a function f() that accepts as arguments C = (c1, c2, c3, ... cn), where cX is the object type of each of the component objects, generates an EPID gid value C2_id that represents the type identifier of the composite object. An implementation of f() may include using a cryptographic hash of each cx in C. In another example, f() may use an Object Identifier (OID) naming hierarchy, where each cx is an OID subtree of C's parent OID. There are other possible methods for computing f().

[0335] The extensible composite object class identifier allows a system of IoT objects to be composed at any time during the lifetime of the device owner 608 hosting the object. The blockchain 610 can track the evolution of composed objects so that existing compositions can be made known to authoring tools. A distributed schema library can be formed by supplying a composite object definition, e.g., C, to a transaction 612 that registers an object type identifier, e.g., gid, using the blockchain 610. Current centralized object repository schemes often rely on a single logical service that authoritatively maintains class definitions on a central server. However, modifications to the central server can result in unauthorized schema changes. In comparison, the use of the blockchain 610 can ensure that a threshold consensus exists across multiple IoT devices, e.g., in the fog, before an existing object class definition can be changed.

[0336] Blockchain 610 facilitates the identification of isomorphic object classifications. When a new object class is proposed, for example in message 614, blockchain 610 can be searched to see if C already exists.

[0337] Composing a group object 602 from sub-objects to form a composite object is an extensibility mechanism for the IoT object model. Composed objects can be named using features associated with the sub-objects, such as "intersection XYZ." A collection of object instances can form a group object 602 when each proposed member of the group sends a message 616 to obtain a message 218 containing credentials that identify the collection. When EPID is used as the credential mechanism, each object in the collection can interact with each other or other IoT devices as an agent of the collection.

[0338] Blockchain 610 is used by the system to remove the need for trust from name server 620. Blockchain 610 can manage misconduct of name server 620 if a group name is reused while a group of the same name is currently in use. Reuse of a group name may be determined by an IoT device storing and monitoring blockchain 610. This determination may be made by identifying an overlap between the current naming request and a previous block that is active and contains the group name.

[0339] In some aspects, a primary aggregate group member (PCGM) or group object 602 is configured to determine a group name based on a particular configuration of the aggregate. The PCGM communicates 622 the group name to other aggregate members, such as composite object 606 and atomic object 604, or another aggregate member, which perform the same operations as the PCGM to arrive at the same group name. The function F() can calculate the aggregate group name C2_id using aggregate membership logic to avoid differences in introspection order nondeterminism when different members calculate the group name separately.

[0340] As an example, the EPID group ID (gid) can take a 32-bit or 128-bit value. If a 32-bit value is used, the function F() can truncate the most significant 12 bytes. The name server 620 can verify whether a gid is reissued regardless of the gid length. A shorter gid length can be useful in constrained environments, such as with more restricted IoT devices. While name collisions from F() can be rare, collision resolution can be achieved by a recursive call to F() (e.g., F' = F(m1, m2, ..., mn, F(m1, m2, ..., mn)), which again specifies the group membership values.

[0341] Figure 7 is a process flow diagram of an example method 700 for creating a group using a collection of objects, according to some embodiments. Method 700 can be performed using system 802 described with respect to Figure 8. Block 702 represents when a new group object is desired, for example. This can occur when a transient object moves near a current group object, as described with respect to the emergency cluster of Figure 4, which may be formed when an emergency vehicle approaches a street. In another example, the power supply of a device, such as a refrigerator, described with respect to Figures 5 and 6, can initiate the creation of a group object.

[0342] At block 704, a composite object is formed by maintaining references to the IDs of each of the atomic (A) or composite (C) sub-objects that make up the group object in a list within the composite object's Primary Collection Group Members (PCGM). The objects that make up the composite object may be determined by the objects required to achieve a function determined by object consensus, prior programming of a device owner, or any number of other techniques, such as construction of objects by multiple IoT devices.

[0343] At block 706, an aggregate group identifier is formed. This may be done by applying a function to the list of object IDs in the PCGM that make up the group object. This function may combine to form a hash code of the object IDs, e.g., C2_ID=SHA2(C1, C2, C3, ..., A1, A2, A3, ..., An).

[0344] At block 708, one or more of the sub-objects (e.g., all of the sub-objects) communicate with a name server, e.g., a name server within the device owner, to obtain the group key. This may be performed using an EPID join protocol, in which the sub-objects send a join message to the name server and receive in return EPID credentials, e.g., for the C2_ID group object.

[0345] At block 710, the group name server accepts the name computed for the group from the list in the PCGM. The name server can then commit the name to the blockchain. At block 712, the name server retrieves the name, e.g., C2_ID, from the blockchain. As used herein, a blockchain is a distributed database of transactions stored on multiple individual IoT devices. Verification of the validity of the transaction can be performed by each of the IoT devices, providing multiple confirmations of authenticity and identity.

[0346] At block 714, a determination is made as to whether the name is already in use, e.g., whether there is a previous transaction block with no termination corresponding to the object's name. If so, at block 716, a new name may be determined by a recursive invocation of F(), F'=F(m1,m2,...,mn,F(m1,m2,...,mn)), again specifying the group membership values.

[0347] If the name is not currently in use, then at block 718, a determination is made as to whether the group membership is privacy sensitive. This can be done when the presence of an IoT device at a location should not be publicly known, such as a vehicle's presence at a series of intersections. If so, then at block 720, the PCGM acts as a proxy and brokers the join protocol request from the sub-object. If not, then at block 722, the name server finds the sub-object member name from the blockchain.

[0348] At block 724, a determination is made as to whether the requester is an authorized group member. If so, the join request is executed at block 726. At block 728, the name server commits the group name, e.g., C2_ID, to the blockchain.

[0349] At block 730, a determination is made as to whether another sub-object exists and therefore whether group credentials are required. If so, process flow returns to block 712 for credentialing of the sub-object. Otherwise, or if it is determined that the requester is not an authorized group member, the process ends at block 732.

[0350] FIG. 8 is a block diagram of an example of components that may be present in an IoT device 800 for offloading data. The IoT device 800 may include any combination of the components shown in this example. The components may be implemented as an IC, a portion thereof, a separate electronic device, or other module, logic, hardware, software, firmware, or a combination thereof adapted to the IoT device 800 or as components otherwise incorporated within the chassis of a larger system. The block diagram of FIG. 8 is intended to provide a high-level view of the components of the IoT device 800. However, some of the components shown may be omitted, additional components may be present, and different configurations of the shown components may occur in other implementations.

[0351] The IoT device 800 may include a processor 802, which may be a microprocessor, a multi-core processor, a multi-threaded processor, an ultra-low voltage processor, an embedded processor, or other known processing element. The processor 802 may be part of a system-on-chip (SoC) in which the processor 802 and other components are formed in a single integrated circuit or a single package, such as an Intel® Edison® or Galileo® SoC board. By way of example, the processor 802 may include an Intel® architecture Core®-based processor, such as a Quark®, Atom®, i3, i5, i7, or MCU-class processor, or another such processor available from Intel® Corporation of Santa Clara, California. However, any number of other processors may be used, such as those available from Advanced Micro Devices, Inc. (AMD) of Sunnyvale, California, MIPS-based designs from MIPS Technologies, Inc. of Sunnyvale, California, ARM-based designs licensed from ARM Holdings, Ltd., or its customers, or their licensees or adopters. Processors may include units such as the A5-A9 processors manufactured by Apple® Inc., the Snapdragon® processors manufactured by Qualcomm® Technologies, Inc., or the OMAP® processors manufactured by Texas Instruments, Inc.

[0352] The processor 802 can communicate with system memory 804 via bus 806. Any number of memory devices can be used to provide a given amount of system memory. By way of example, the memory can be random access memory (RAM) that conforms to a JEDEC low-power dual-data-rate (LPDDR)-based design, such as the current LPDDR2 standard conforming to Joint Electron Devices Engineering Council (JEDEC) JESD 209-2E (published April 2009), or a next-generation LPDDR standard such as LPDDR3 or LPDDR4, which proposes extensions to LPDDR2 to increase bandwidth. In various implementations, individual memory devices can be in any number of different package types, such as a single-die package (SDP), a dual-die package (DDP), or a quad-die package (QDP). In some embodiments, these devices can be soldered directly onto a motherboard to provide a low-profile solution, while in other embodiments, they are configured as one or more memory modules that are in turn coupled to the motherboard by a given connector. Any number of other memory implementations can be used, such as other types of memory modules, e.g., different types of dual in-line memory modules (DIMMs), including, but not limited to, microDIMMs or MiniDIMMs. For example, the memory can be between 2 GB and 16 GB in size and can be configured as a DDR3LM package or LPDDR2 or LPDDR3 memory soldered onto a motherboard via a ball grid array (BGA).

[0353] Mass storage 808 may also be coupled to processor 802 via bus 806 to provide persistent storage of information such as data, applications, and the operating system. To enable thinner and lighter system designs, mass storage 808 may be implemented via a solid-state drive (SSD). Other devices that can be used for mass storage 808 include flash memory cards such as SD cards, microSD cards, xD picture cards, and USB flash drives.

[0354] In low-power implementations, mass storage 808 may be on-die memory or registers associated with processor 802. However, in some examples, mass storage 808 may be implemented using a micro hard disk drive (HDD). Furthermore, mass storage 808 may use any number of emerging technologies, such as resistive memory, phase change memory, holographic memory, or chemical memory, among others, in addition to or in place of the technologies described. For example, IoT device 800 may incorporate Intel® and Micron® 3D XPOINT memory.

[0355] The components can communicate via a bus 806. The bus 806 can include any number of technologies, including Industry Standard Architecture (ISA), Extended ISA (EISA), Peripheral Component Interconnect (PCI), Enhanced Peripheral Component Interconnect (PCIx), PCI Express (PCIe), or any number of other technologies. The bus 806 can also be a proprietary bus, such as used in SoC-based systems. 2 C interface, I 3 Other bus systems may be included, such as a C interface, an SPI interface, a point-to-point interface, and a power bus.

[0356] The bus 806 can couple the processor 802 to a mesh transceiver 810 for communicating with other mesh devices 812. The mesh transceiver 810 can use any number of frequencies and protocols, such as 2.4 gigahertz (GHz) transmissions using the Bluetooth® low energy (BLE) standard defined by the Bluetooth® Special Interest Group under the IEEE 802.15.4 standard, or using the ZigBee® standard. Any number of radios configured for a particular wireless communication protocol can be used to connect to the mesh device 812. For example, a WLAN unit can be used to implement Wi-Fi® communications in accordance with the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard. Additionally, wireless wide-area communications, e.g., via cellular or other wireless wide-area protocols, can occur via a WWAN unit.

[0357] The mesh transceiver 810 can communicate using multiple standards or radios to communicate over different distance ranges. For example, the IoT device 800 can communicate with geographically nearby devices, e.g., within about 10 meters, using a local transceiver based on BLE or another low-power radio to conserve power. Mesh devices 812 that are farther away, e.g., within about 50 meters, can be reached via ZigBee® or other medium-power radios. Both communication techniques may occur via a single radio at different power levels, or via separate transceivers, e.g., a local transceiver using BLE and a separate mesh transceiver using ZigBee®. The mesh transceiver 810 can be integrated into an MCU as an address directly accessible by the chip, such as the Curie® unit available from Intel®.

[0358] An uplink transceiver 814 may be provided for communicating with devices in the cloud 302. The uplink transceiver 814 may be an LPWA transceiver conforming to the IEEE 802.15.4, IEEE 802.15.4g, IEEE 802.15.4e, IEEE 802.15.4k, or NB-IoT standards, among others. The IoT device 800 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 and may be used with any number of other cloud transceivers implementing long-range, low-bandwidth communications, such as Sigfox, as well as other technologies. Additionally, other communication techniques, such as time-slotted channel hopping as described in the IEEE 802.15.4e specification, may also be used.

[0359] As described herein, any number of other wireless communications and protocols may be used in addition to the systems mentioned for the mesh transceiver 810 and uplink transceiver 814. For example, the wireless transceivers 810 and 812 may include LTE or other cellular transceivers that use spread spectrum (SPA / SAS) communications to implement high-speed communications such as for video transfer. Additionally, any number of other protocols may be used, such as a Wi-Fi network for medium-speed communications such as providing still images, sensor readings, and network communications.

[0360] The radio transceivers 810 and 812 can include radios compatible with any number of 3GPP (3rd Generation Partnership Project) specifications, particularly Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), Long Term Evolution-Advanced Pro (LTE-A Pro), or Narrowband IoT (NB-IoT), among others. Note that radios compatible with any number of other fixed, mobile, or satellite communications technologies and standards can be selected. These can include, for example, any cellular wide-area wireless communications technology, which may include, for example, a fifth-generation (5G) communications system, a Global System for Mobile Communications (GSM) wireless communications technology, a General Packet Radio Service (GPRS) wireless communications technology, or an Enhanced Data Rates for GSM Evolution (EDGE) wireless communications technology. Other 3rd Generation Partnership Project (3GPP) wireless communication technologies that may be used include UMTS (Universal Mobile Telecommunications System), FOMA (Freedom of Multimedia Access), 3GPP LTE (Long Term Evolution), 3GPP LTE Advanced (Long Term Evolution Advanced), 3GPP LTE Advanced Pro (Long Term Evolution Advanced Pro), CDMA2000 (Code Division Multiple Access 2000), CDPD (Cellular Digital Packet Data), Mobitex, 3G (Third Generation), CSD (Circuit Switched Data), HSCSD (High-Speed ​​Circuit-Switched Data), UMTS(3G) (Universal Mobile Telecommunications System (Third Generation)), W-CDMA(UMTS) (Wideband Code Division Multiple Access (Universal Mobile Telecommunications System)), HSPA (High-speed Packet Access), HSDPA (High-Speed ​​Downlink Packet Access).Access), HSUPA (High-Speed ​​Uplink Packet Access), HSPA+ (High-speed Packet Access Plus), UMTS-TDD (Universal Mobile Telecommunications System-Time Division Duplex), TD-CDMA (Time Division-Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), 3GPP Rel.8 (Pre-4G) (3rd Generation Partnership Project Release 8 (Pre-4th Generation)), 3GPP Rel.9 (3rd Generation Partnership Project Release 9), 3GPP Rel.10 (3rd Generation Partnership Project Release 10), 3GPP Rel.11 (3rd Generation Partnership Project Release 11), 3GPP Rel.12 (3rd Generation Partnership Project Release 12), 3GPP Rel.13 (3rd Generation Partnership Project Release 13), 3GPP Rel.14 (3rd Generation Partnership Project Release 14), 3GPP LTE Extra, LTE Licensed-Assisted Access (LAA), UTRA (UMTS Terrestrial Radio Access), E-UTRA (Evolved UMTS Terrestrial Radio Access), LTE Advanced (4G) (Long Term Evolution Advanced (4th Generation)), cdmaOne (2G), CDMA2000 (3G) (Code Division Multiple Access 2000 (3rd Generation)), EV-DO (Evolution-Data Optimized or Evolution-Data Only), AMPS (1G) (Advanced Mobile Phone System (1st Generation)), TACS / ETACS (Total Access Communication System / Extended Total Access Communication System), D-AMPS (2G) (Digital AMPS (2nd Generation)), PTT (Push-to-Talk), MTS (Mobile Telephone System), IMTS (Improved Mobile Telephone System), AMTS (Advanced Mobile Telephone System), OLT (Offentling Land Mobile)Norwegian for Telefoni (public land mobile telephone), MTD (Swedish abbreviation for Mobiltelefonisystem D, i.e., mobile phone system D), Autotel / PALM (Public Automated Land Mobile), ARP (Finnish for Autoradiopuhelin, i.e., "automobile radiotelephone"), NMT (Nordic Mobile Telephony), Hicap (NTT High Capacity System (Nippon Telegraph and Telephone)), CDPD (Cellular Digital Packet Data), Mobitex, DataTAC, iDEN (Integrated Digital Enhanced Network), PDC (Personal Digital Cellular), CSD (Circuit Switched Data), PHS (Personal Handy-phone System), WiDEN Wideband Integrated Digital Enhanced Network), iBurst, Unlicensed Mobile Access (UMA, also known as the 3GPP Generic Access Network or GAN standard), Wireless Gigabit Alliance (WiGig) standard, millimeter wave standards in general (WiGig, IEEE 802.11ad, IEEE and wireless systems operating at 10-90 GHz or higher, such as 802.11ay. In addition to the standards listed above, any number of satellite uplink technologies can be used for the uplink transceiver 814, including, for example, radios conforming to standards published by the ITU (International Telecommunications Union) or ETSI (European Telecommunications Standards Institute), among others. Thus, it should be understood that the examples provided herein are applicable to a variety of other communication technologies, both existing and yet to be developed.

[0361] A network interface controller (NIC) 816 may be included to provide wired communications to the cloud 302 or other devices, such as the mesh device 812. The wired communications may provide an Ethernet connection or may be based on other types of networks, such as a controller area network (CAN), a local interconnect network (LIN), DeviceNet, ControlNet, Data Highway+, PROFIBUS, or PROFINET, among others. Additional NICs 816 may be included to enable connections to a second network, e.g., a NIC 816 that provides communications to the cloud via Ethernet and a second NIC 816 that provides communications to other devices via other types of networks.

[0362] The bus 806 can couple the processor 802 to an interface 818 used to connect external devices, such as sensors 820, such as accelerometers, liquid level sensors, flow sensors, temperature sensors, pressure sensors, barometric pressure sensors, etc. The interface 818 may also be used to connect the IoT device 800 to actuators 822, such as power switches, valve actuators, audible sound generators, visual warning devices, etc.

[0363] Although not shown, various input / output (I / O) devices may be present within or connected to IoT device 800. For example, a display may be included to show information such as sensor readings or actuator positions. Input devices such as a touchscreen or keypad may be included to accept input.

[0364] The battery 824 may provide power to the IoT device 800, or in examples where the IoT device 800 is mounted in a fixed location, may have a power source coupled to an electrical grid. The battery 824 may be a lithium-ion battery, a metal-air battery such as a zinc-air battery, an aluminum-air battery, a lithium-air battery, a hybrid supercapacitor, or the like.

[0365] A battery monitor / charger 826 may be included in the IoT device 800 to track the state of charge (SoCh) of the battery 820. The battery monitor / charger 826 may be used to monitor other parameters of the battery 824 to provide fault predictions, such as the state of health (SoH) and state of function (SoF) of the battery 824. The battery monitor / charger 826 may include a battery monitor integrated circuit, such as the LTC4020 or LTC2990 manufactured by Linear Technologies, the ADT7488A manufactured by ON Semiconductor of Phoenix, Arizona, or the UCD90xxx family of ICs manufactured by Texas Instruments of Dallas, Texas. The battery monitor / charger 826 may communicate information about the battery 824 to the processor 802 via the bus 806. The battery monitor / charger 826 may also include an analog-to-digital (ADC) converter that allows the processor 802 to directly monitor the voltage of or current from the battery 826. The battery parameters may be used to determine the operations that the IoT device 800 is capable of performing, such as transmission frequency, mesh network operation, sensing frequency, etc.

[0366] A power block 828, or other power source coupled to the grid, may be coupled to the battery monitor / charger 826 to charge the battery 824. In some examples, the power block 828 may be replaced with a wireless power receiver to obtain power wirelessly, for example, via a loop antenna within the IoT device 800. A wireless battery charging circuit, such as the LTC4020 chip manufactured by Linear Technologies of Milpitas, California, among others, may be included in the battery monitor / charger 826. The specific charging circuit selected depends on the size of the battery 824 and, therefore, the current required. Charging may be performed using, among other things, 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. In some examples, the power block 828 may be augmented or replaced with a solar panel, wind turbine, hydroelectric generator, or other natural power system.

[0367] The mass storage 808 may have multiple modules for implementing the group creation functionality described herein. While shown as code blocks in the mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC). The mass storage 808 may include sub-object lists 830 of atomic and composite objects that may be used to form group objects. The aggregate group identifier 832 may use the sub-object lists 830 to generate a group ID, for example, using a hash formula on the sub-object lists 830.

[0368] A name server 834 may be provided to provide support for names and commit names to the blockchain 836. The name server 834 may verify that the selected name is not currently in use and may issue credentials to sub-objects to act on behalf of the group object.

[0369] The blockchain 836 includes a database of transactions, including blocks of data with transactions corresponding to the name of the group object, the sub-objects that form the group object, and the current status of the group object, such as formed, deployed, or dissolved. In addition to identification information, the blockchain 836 may include authorization information, such as public encryption keys for the group object and sub-objects. A copy of the blockchain 836 may be stored on some or all of the IoT devices in the mesh network. This allows other IoT devices to verify changes in the blockchain 836 and alert them to any attempts to modify the blockchain 836 without proper authorization. While used for group identification transactions in this example, the blockchain 836 may be used for any number of other transactions related to security, payments, trading, etc., as described herein.

[0370] If the group composition is considered private, the proxy broker 838 may provide credentials to sub-objects of the group object from the blockchain 836. This can be used, for example, to enhance security in IoT networks located in public places such as intersections or streets.

[0371] An EPID server 840 may be provided to provide cryptographic services, such as encrypting and decrypting data using public or private keys. Additionally, the EPID server 840 may be used to authorize sub-objects to act on behalf of group objects and may provide public keys or other credentials to enable it to act as a key validation server. The EPID server 840 may also be used to create and issue keys or generate type identities in other applications, as described with respect to Figures 10 through 15.

[0372] 9 is a block diagram of an exemplary non-transitory machine-readable medium 900 including code for instructing a processor 902 to form a group object, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 900 via a bus 904. The processor 902 and bus 904 can be selected as described with respect to the processor 802 and bus 806 of FIG. 8. The non-transitory machine-readable medium 900 can include a device described with respect to the mass storage 808 of FIG. 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0373] The non-transitory machine-readable medium 900 may include code 906 for instructing the processor 902 to compute a group name from the list of sub-objects, e.g., as described with respect to Figures 6 and 7. Code 908 may be included for instructing the processor 902 to access the blockchain 910, for example, to determine whether the group object name exists in the blockchain 910, and, if so, to determine the status of the group object. The code 908 may also instruct the processor 902 to commit the transaction to the blockchain 910 once the name is verified. The code 908 may also instruct the processor 902 to migrate changes to the blockchain 910 to other units in the IoT network.

[0374] The machine-readable medium 900 may include code 912 for instructing the processor 902 to store identities of sub-objects for the group object in a list. The code 912 may also instruct the processor to determine whether the request to join the group is from an authorized sub-object. If so, the code 912 may also instruct the processor to issue a credential to the requesting sub-object. The machine-readable medium 900 may include code 914 for instructing the processor to act as a proxy server to provide credentials to sub-objects for a privacy-protected group object.

[0375] The machine-readable medium 900 may include code 916 for instructing the processor 902 to act as a name server for a group object. The machine-readable medium 900 may include code 918 for instructing the processor 902 to request credentials to join the group, e.g., as a sub-object.

[0376] FIG. 10 is a schematic diagram 1000 illustrating the use of EPID for object type identity, according to some embodiments. A device owner 1002 includes a type name server 1004 that registers new types based on registration requests 1006 or 1008 from composite objects 1010 or 1012. As used herein, registering a type or object means registering the type or object in a database or list of types or objects. For example, registering may include submitting a transaction to the blockchain to store the type. A new object type Tn+1 may be derived by composing the composite group 1010 or 1012 from sub-objects 1014-1018. The type names of the sub-objects 1014-1018 may be used to form a new type name for the composite object 1010 or 1012.

[0377] A composite object 1010 or 1012 can dynamically determine its type name by examining the sub-objects 1014-1018 with which it interacts. Two methods can be used to verify the composition of the sub-objects 1014-1018. The first method uses introspection, as described with respect to the ladder diagram of FIG. 12. In introspection, an IoT object, or other device with a resource model definition, can describe itself when requested. For example, an IoT object can be configured to provide the structure, interfaces, and semantics implemented by the object when requested. In some aspects, an IoT object can describe its structure, interfaces, and semantics using a data model language (DML) such as XML Schema, JSON Schema, and / or YANG. An actual implementation might not directly interpret the data model because this could slow execution. However, testing can be used to demonstrate that the DM generated by introspection matches the implemented behavior.

[0378] A second method can use attestation to verify the integrity, credentials, or identity of a device, as described with reference to the ladder diagram of FIG. 13. As used herein, attestation is a secure method for disclosing the trust properties of a device or platform, which the device or platform self-reports. Trust properties can include certifications achieved by platform manufacturers and vendors that reflect security hardening, such as FIPS 140-2 for cryptographic module implementations. Additionally, ISO 9000 and vendor processes followed to ensure quality may also be relevant. Attestation typically reveals the version and patch levels of hardware, firmware, and software. It may reveal information about keys protected by a hardened environment, such as a trusted execution environment (TEE), and about key types. For example, a hardened environment can use a trusted platform module (TPM) to define key types such that certain types cannot be migrated from the TPM to a less hardened cryptographic module.

[0379] Both introspection and attestation can generate sets containing object membership based on sub-object typing. Furthermore, the two methods can be used together, for example, using attestation keys to verify that an introspection identity came from a specific unit. While all IoT objects are typed, not all types may have credentials that authenticate them.

[0380] For example, as described with respect to the ladder diagram of Figure 12, the method for deriving new object type names supports the automatic generation of object types. Automatic generation allows a useful collection of objects to form a pattern for object replication. The useful collection can then be more easily instantiated elsewhere in the network using the type name and pattern as input parameters.

[0381] The type name server 1004 can use the EPID to authenticate object type identifiers by placing each instance of the same type object into an EPID group using the type name as the group ID. The blockchain 1022 can be used to record the creation of dynamically derived types, for example, by committing a transaction 1024 from the type name server 1004, so that objects of the same type can be reliably instantiated without isomorphic redundancy.

[0382] Figure 11 is a ladder diagram of an example method 1100 for dynamically creating object types, according to some embodiments. The method 1100 of Figure 11 may be implemented by an IoT device 1400 described with respect to Figure 14. At stage 1104, a composite object 1102 may send 1104 a request to create a type group, e.g., T1, to a type name server 1106. The type name server 1106 may be included in the device owner 1002 described with respect to Figure 10, or may be in a central device such as the aggregator 406 described with respect to Figure 4, or in a separate device.

[0383] In step 1108, the type name server 1106 responds to the composite object 1102 with a request for type introspection. In step 1110, the request triggers the recursive sending of requests to sub-objects 1112 to provide introspection or attestation information. The sub-objects 1112 respond with the requested information (1114). Once the recursion is complete, the composite object 1102 can compute (1116) the type name from the types of all sub-objects 1112, e.g., T1 = F(t1, t2, t3, ..., tn). The composite object 1102 can then attest the type to the type name server 1106 using the object instance key in the EPID join request (1118).

[0384] The type name server 1106 sends a request 1120 for a previous instantiation of the create event to the administrator of the blockchain 1122. It may also receive a message 1124 from the administrator of the blockchain 1122 indicating that the type already exists. This may also be done by a determination by the type name server 1106 that a previous type with that name has already been created and exists in the blockchain 1122.

[0385] If the type has not been created, the type name server issues 1126 a request 1128 to create the type in the blockchain 1122. This may be done by committing a create transaction to an instantiation of the blockchain 1122 that resides on the IoT device hosting the type name server 1106.

[0386] In some cases, other IoT devices that store the blockchain 1122 may fail to verify the new creation, for example, finding another instantiation of the type in the blockchain 1122 that they store. If a majority fails to verify the creation, it is rejected and the blockchain 1122 reverts to the previous chain. The type name server 1106 then renames (1126) the type and retries (1128) the creation.

[0387] If the creation is successful, for example, as indicated by a message 1130 received from the administrator of the blockchain 1122 or by confirmation of the new blockchain 1122 by a majority of IoT devices, the type name server 1106 can issue an EPID join request 1132 to the composite object 1102. The EPID join request 1132 includes the EPID credentials for the type. These may be shared directly with the sub-object 1112 by the composite object 1102, or the sub-object 1112 may send a join request with the new type name to have the type name server 1106 provide the credentials.

[0388] Figure 12 is a ladder diagram of an example method 1200 for type introspection using recursion, according to some embodiments. Like numbered items are as described with respect to Figure 11. The method 1200 of Figure 12 can be performed by the IoT device 1400 described with respect to Figure 14. Introspection provides a connection graph from the composite object to the leaf objects. Leaf objects are also known as atomic objects because they do not have sub-objects.

[0389] In step 1202, the composite object 1102 can send a command 1202 to a sub-object 1204 to instruct the sub-object 1204 to perform introspection. If the sub-object 1204 is an atomic object, it returns a signature as the type's identity. If the sub-object 1204 is itself a composite object, the sub-object 1204 sends a command 1206 to perform introspection to each sub-sub-object 1208 that forms the sub-object 1204. This occurs recursively from the composite object 1102 to each sub-object 1204, and from each sub-object 1204 to each sub-sub-object 1208, as indicated by the command 1210 sent to the lower layer and the type graph 1212 or 1214 returned from the lower layer.

[0390] Introspection uses recursion as a way to walk a subobject graph. The recursion stops under one of two possible conditions: first, when an atomic object is encountered, or second, when an object that has already been encountered is encountered again. Recursively walking a subobject graph produces a tree (a directed acyclic graph) with at least one and at most one way to reach each node in the graph. A type graph has the form G=(gn), [G]K n_instance where gn is the group number, [G] is the group name, and K n_instance is the key for the specific group. Upon returning from the recursive walk of the tree, the current node adds an entry to the manifest to form a tree structure containing the type information of the object. If the object possesses the instance key, the type information is signed. Thus, the sub-sub-object 1208 has G'=(gn+1|gn), [G']K n_instanceOnce all the sub-sub-objects 1208 have returned their types, i.e., type graphs, to the sub-object 1204, it can return its own type graph 1216 to the composite object 1102, e.g., G"=(gn+2|gn+1|gn), [G"]K n_instance is.

[0391] The resulting manifest is used by the composite object 1102 as a root object to generate 1218 its type name. This may include locally scoped property names as input to the function F() used to generate the type name. As described with respect to FIG. 11, the manifest may be provided to the type name server 1106, which may verify the signature and composition of the type name. The type name server 1106 may check for previous type name reservations in the blockchain. Once the original type name is found and credentials are issued, the blockchain is updated to allow independent verification of the type name reservation status.

[0392] FIG. 13 is a ladder diagram of an example method 1300 for recursive type attestation, according to some embodiments. The method 1300 of FIG. 13 can be implemented by an IoT device 1400 described with respect to FIG. 14. Recursive object attestation is similar to recursive object introspection, with the difference that type information can be signed using a type name credential, for example, programmed into the device or formed from a credential programmed into the device. When an object type credential is used, the type name can identify a previously registered type, and thus the blockchain can contain a historical record of the type hierarchy. Thus, using a type credential can stop the recursion. In one embodiment of recursive object attestation, the end of an authenticated type can be ignored as a way to revalidate the type hierarchy.

[0393] In step 1302, the composite object 1102 sends a command 1302 to the sub-object 1204 instructing the sub-object 1204 to send an attestation credential. If the sub-object 1204 is an atomic object, it returns the object credential as a type identity. If the sub-object 1204 is itself a composite object, the sub-object 1204 sends a command 1304 to each sub-sub-object 1208 that forms the sub-object 1204 to send the attestation credential. This occurs recursively from the composite object 1102 to each sub-object 1204, and from each sub-object 1204 to each sub-sub-object 1208, as indicated by the command 1306 sent to the lower layer and the type graph 1308 returned from the lower layer. A similar type graph 1310 is returned from each sub-sub-object 1208 to the sub-object 1204. A type graph 1312 can then be returned from each sub-object 1204 to the composite object 1102. For introspection, the composite object 1102 then verifies 1314 each signature.

[0394] Figure 14 is a block diagram of an example of components that may be present in an IoT device 1400 for assigning a type to a composite object at the time of creation, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for the IoT device 800 described with respect to Figure 8 and the IoT device 1400 described with respect to Figure 14.

[0395] The mass storage 808 may include multiple modules for implementing the type creation functionality described herein. While shown as code blocks in the mass storage 808, it will be understood that any of the modules may be replaced, fully or partially, with hardwired circuitry, e.g., incorporated into an application-specific integrated circuit (ASIC). The mass storage 808 may include a type name server 1402 that lists atomic and composite object types that may be used to form group objects. The type name server 1402 may issue commands to the type checker 1404 to determine the types of the sub-objects and sub-sub-objects that form the composite object. The type checker 1404 may perform recursive inspection of the mesh device 812 using introspection or attestation. The type graph generator 1406 may generate a type graph using responses from the sub-objects and sub-sub-objects, including type graphs generated by lower-level objects. The type name calculator 1408 may be used to generate type names from the generated type graph, for example, by computing a hash function of the entries in the type graph. A type credential 1410 may be included to identify the type of IoT device 1400. The type credential 1410 may include a credential programmed into the device by a manufacturer, e.g., for attestation, or a credential provided to the IoT device 1400 by another device, e.g., for attestation. A credential manufactured into the device may be used to verify or encrypt a credential provided to the device, creating a combined type credential.

[0396] A blockchain 836 may be included in the IoT device 1400 to record type name transactions in addition to other information such as group name transactions. As described herein, transactions in the blockchain 836 may be confirmed by a majority vote of mesh devices 812 that also store copies of the blockchain 836.

[0397] 15 is a block diagram of an exemplary non-transitory machine-readable medium 1500 including code for instructing a processor 902 to form a group object, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 1500 via a bus 904. The processor 902 and bus 904 can be selected as described with respect to the processor 802 and bus 806 of FIG. 8. The non-transitory machine-readable medium 1500 can include a device described with respect to the mass storage 808 of FIG. 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0398] The non-transitory machine-readable medium 1500 may include code 1502 for instructing the processor 902 to perform recursive type introspection to determine types of devices within a composite object. Code 1504 may be included for instructing the processor 902 to perform sequential attestation to determine types of devices within the composite object. Code 1506 may be included for instructing the processor 902 to construct a type graph using information returned from the sub-objects and sub-sub-objects. Code 1508 may be included for instructing the processor 902 to calculate a type name for the type, for example, by computing a hash function from the type graph. Code 1510 may be included for instructing the processor 902 to determine whether the type name is already in the blockchain and, if not, to commit the type name to the blockchain. Code 1510 may also instruct the processor 902 to migrate changes to the blockchain 910 stored on other devices in the mesh network. Code 1512 may be included for instructing the processor 902 to send an EPID join request to the sub-object creating the type group. For example, if the name is not created due to redundancy or other failures in the blockchain record, code 1514 may be included to instruct processor 902 to regenerate the type name and repeat the commit process.

[0399] FIG. 16 is a schematic diagram of the formation of an affiliation group 1600, according to some embodiments. An IoT network can form loose affiliations of objects that do not always interact, called affiliation groups 1600. However, labeling objects as part of a group abstraction can provide semantic value. An affiliation group 1600 can be formed by administrative decision to indicate a region, location, or general purpose, such as devices located on a floor or in an apartment within a single building. An administrative authority, such as a device owner 1602, can select a group identifier for the grouped devices to use, for example, via an affiliation group name server 1604. An affiliation group member 1606 can register with the affiliation group 1600 by sending a join request 1608 to the device owner 1602. From the affiliation group name server 1604, credentials 1610, including EPID credentials, can be provided to the group member. The credentials 1610 can be further provided by the affiliation group member 1606 to a sub-object 1612, for example, via an intra-object interface 1614. The affiliate group name may be accessed from the blockchain 1616 or may be committed to the blockchain 1616 upon creation.

[0400] Credentials for an affiliate group 1600 allow affiliate group members 1606 to authenticate without revealing values ​​that could be used to track privacy. Thus, the criteria for membership can be kept secret, and the size of the group is used to determine the degree of privacy risk associated with the use of the credentials.

[0401] Registration by an IoT device or object with an affiliate group 1600 allows that object to inherit the properties and attributes of the affiliate group 1600. These properties and attributes of an affiliate group member 1606 may not incorporate code, state, or interfaces that process the group properties and attributes. Nevertheless, other entities may name the properties and attributes to perform sorting, categorization, routing, management, or analysis. In this sense, affiliate grouping is a strategy for the dynamic application of object metadata.

[0402] FIG. 17 is a process flow diagram of an example method 1700 for registering members in an affiliated group, according to some embodiments. The method 1700 of FIG. 17 can be implemented by an IoT device 1800 described with respect to FIG. 18. Block 1702 represents when a group of IoT devices is powered on or otherwise activated, for example, when a virtual device is activated. In block 1704, a network domain owner defines groups (G1, G2, ..., Gn). Groups can include location designations such as upper floor, lower floor, or function designations such as management, climate control, or a combination of location and function, such as evacuation or entry routes in a stadium. Any number of other designations may be used. Generally, affiliated group names are selected to provide useful metadata to the system.

[0403] At block 1706, a determination is made as to whether a group, e.g., G1, is discoverable. If not, the group is published to the blockchain at block 1708. At block 1710, a request to join group G1 may be received from an object, e.g., O1. At block 1712, EPID join parameters may be received from object O1. These may be sent in response to a request from the group device owner.

[0404] At block 1714, the affiliate group name server verifies the join request from O1. The request may be authenticated using any of a variety of credentials or techniques. For example, the affiliate group name server may check the instance, authority, or type name credentials to determine whether the values ​​are in the blockchain. In higher security applications, all credentials may be required to be correct before allowing a device to join the affiliate group. Similarly, in lower security applications, the affiliate group name server may not require credentials to register a device in the affiliate group. If the request is determined to be valid at block 1716, an affiliate group credential, such as an EPID, may be issued to object O1 at block 1718. If the request is not determined to be valid, the process ends at block 1720 without issuing a credential.

[0405] Figure 18 is a block diagram of an example of components that may be present in an IoT device 1800 for creating an affiliate group, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for the IoT device 800 described with respect to Figure 8 and the IoT device 1800 described with respect to Figure 18.

[0406] The mass storage 808 may include multiple modules for implementing the creation of affiliation groups described herein. While shown as code blocks in the mass storage 808, it will be understood that any of the modules may be replaced, fully or partially, with hardwired circuitry, such as being incorporated into an application-specific integrated circuit (ASIC). The mass storage 808 may include an affiliation group name server 1802 that contains convenient groupings for objects. As discussed herein, groups may be formed based on location, function, or combination. A user may define the parameters used for grouping. The type name server 1802 may build and maintain an affiliation group member list 1804 to generate names for affiliation groups. If the group is not discoverable, the publisher 1806 may make the group's characteristics, including type, location, and other metadata, available to other IoT devices so that they can determine whether or not they should join the group. This may be done, for example, by publishing the group name and composition to the blockchain 836.

[0407] A blockchain 836 may be included in the IoT device 1800 to record affiliated group name transactions, in addition to other information such as group name transactions, type name transactions, and composite object transactions. As described herein, transactions in the blockchain 836 may be confirmed by a majority vote of mesh devices 812 that also store copies of the blockchain 836.

[0408] A credential validator 1808 may be included to receive credentials from IoT devices and composite objects that wish to join an affiliation. The credential validator 1808 may check against transactions in the blockchain 836 to determine whether the credentials are valid. If valid, the credential validator 1808 may obtain credentials from the EPID server 840 and issue them to the IoT device or composite object that sent the subscription request. The credential validator 1808 may then commit the transaction to the blockchain 836 to record that the IoT device or composite object has joined the affiliation group.

[0409] 19 is a block diagram of a non-transitory machine-readable medium 1900 including code for instructing a processor 902 to create an affiliate group, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 1900 via a bus 904. The processor 902 and bus 904 can be selected as described with respect to the processor 802 and bus 806 of FIG. 8. The non-transitory machine-readable medium 1900 can include a device described with respect to the mass storage 808 of FIG. 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0410] The non-transitory machine-readable medium 1900 may include code 1902 for instructing the processor 902 to define an affiliation group, e.g., by location, function, or both. Code 1904 may be included for instructing the processor 902 to determine whether the affiliation group is discoverable, e.g., whether it is set up to respond to discovery requests with metadata identifying the affiliation group. Code 1906 may be included for instructing the processor 902 to publish the affiliation group to a blockchain or directly to surrounding devices, such that the existence of the affiliation group may be known, discoverable, or both.

[0411] Code 1908 may be included for instructing processor 902 to accept a join request for an affiliation group from an IoT device that includes an atomic object, a composite object, or both. The join request may identify the affiliation group and may include validation information, such as location, type, and other credentials or metadata. Code 1910 may be included for instructing processor 902 to validate the credentials, for example, to determine whether they exist in the blockchain. Code 1912 may be included for issuing a credential, such as an EPID key, to the requester.

[0412] For example, communications between IoT devices in a federated group, mesh network, fog device, or other configuration may need to be secured, which can be problematic for devices with limited functionality. Furthermore, IoT devices may be distributed across different networks, making securing communications more difficult. A distributed ledger system can enhance the security of communications by IoT devices.

[0413] Figure 20 is a schematic diagram of enabling communication between devices using semi-permissioned distributed ledger transactions 2000, according to some embodiments. As used herein, a semi-permissioned distributed ledger system uses Enhanced Privacy ID (EPID) keys to inject transaction keys into the ledger. A namespace authority called the Distributed Ledger Enumeration Authority (DLEA) 2002 assigns unique numbers to instances of the ledger. The DLEA 2002 can be operated by the Internet Assigned Numbers Authority (IANA), a public agency, a private entity, or any entity that manages number space by taking measures to prevent reuse of numbers in use.

[0414] It can be observed that the algorithm used by DLEA 2002 to assign names / numbers can be distributed due to the sparseness of the number space with respect to assigned numbers in use. Thus, the chance of collisions is small. Therefore, multiple instances of DLEA 2002 can operate independently. DLEA 2002 can therefore be hosted across geopolitical boundaries and does not require a central controlling authority such as a government or the United Nations, or a single large private organization. Furthermore, the independence of a decentralized blockchain is not compromised by a centralized naming authority.

[0415] The operational integrity of DLEA 2002 can be cross-checked using a public distributed ledger system that publishes DLEA numbers in use. This ledger, DLS-0 2004, is assigned a value of "0" and is prohibited from being assigned by DLEA 2002. The proper behavior of DLEA number allocation can be strengthened by implementing the number space allocation algorithm in a trusted execution environment (TEE), such as an Intel® SGX enclave, ARM® TrustZone, or a hardware security module (HSM), among others. In these environments, the number allocation algorithm can be verified by a global community of experts. DLEA 2002 can therefore be trusted to an extremely high level to perform the simple function of avoiding the reassignment of already assigned numbers.

[0416] A participant, e.g., P1 2006, can send a request 2008 for a communication transaction identification number, e.g., DLS-X#, to DLEA 2002. This request can be formatted as [request DLS-X#,K TxRoot ]K TxRoot where the information in the brackets is the message and the number outside the brackets is the public key K of P1 2006. TxRoot , which indicates the signature of the message.

[0417] DLEA 2002 assigns a unique number to each instance of a semi-permissioned distributed ledger system (DLS) and uses the DLEA-assigned number as a public key K TxRoot can be entered into DLS-0 2004 (2010). DLS-0 2004 is a public distributed ledger system (DLS), writable only by DLEA 2002 but visible to all.

[0418] P1 2006 can monitor the ledger DLS-0 2004 to determine when the assignment of a new key X has been recorded (2012). The assigned number X can be used by P1 2006 as the root or initiating key for the newly formed ledger DLS-X 2014. This is done by sending a message (2016) to the new ledger DLS-X 2014, i.e., [K TxRoot ]K DLS-X , [K DLS-X , perm]K TxRoot , [K TxP2 ]K TxRoot This is done by creating the ledger DLS-X 2014 by committing TxP2 can be the new ledger transaction key.

[0419] The new ledger DLS-X 2014 may also be used to implement an EPID "join" protocol that establishes an EPID private key for each new member of DLS-X 2014. All subsequent uses of the EPID private key are based on the public key K of the first transaction to the ledger DLS-X 2014. TxRoot Any EPID private key can be used to add a ledger transaction key (K) to DLS-X 2014 by signing a new TxK with the EPID key. Tx ) can be introduced.

[0420] For example, another participant P2 2018 can send a join request 2020 to the first participant P1 2006. The join request 2020 is sent in the message [JoinP DLS-X]K Mfg2 , [K T×P2 ]K T×P2 The second participant P2 2018 can obtain the transaction key K by accessing the DLS-X 2014. TxP2 The second key, K, may have been obtained. Mfg2 is K Mfg2 EPID key of the manufacturer, such as the root K Tx is the format K provided by the manufacturer Mfg Attested or signed by the EPID key of KMfg attests that the Trusted Execution Environment (TEE) containing the root TxK is sufficiently trusted. Similarly, the K in the TEE of a new joining device Mfg is a temporary key used to protect the join request 2020, e.g., K T×P2 is used to attest that the certificate is legitimate and trustworthy.

[0421] Once P1 2006 authenticates the request, it can complete the join by returning message 2022 to P2 2018. Message 2022 contains the message [[JoinI DLS-X]K TxRoot ]K Mfg1 K Mfg1 is the manufacturer's EPID for P1 2006. Root K Tx , K. TxRoot is used to authenticate the join protocol response.

[0422] Devices P1 2006 and P2 2018 may exist at two different hierarchical levels. Thus, devices at the level of P2 2018 may join P1 2006, for example, as composite objects and sub-objects as described herein. Similarly, other devices, such as participant P3 2024, may join P2 2018 at a lower level. To participate, P3 2024 uses the [JoinP DLS-X]K Mfg3 , [K T×P3 ]K T×P3 to P2 2018. If P2 2018 authenticates the join protocol request 2026, it may send a join protocol request 2026 in the format [[JoinI DLS-X]K T×P2 ]K Mfg2 , [TxData,K TxP3 ]K TxP2 P3 2024 can respond with a message 2028 of the format [[TxData,K TxP3 ]K TxP2 ]K DLS-XP3The transaction can be committed to the distributed ledger DLS-X 2014 by recording the signed message 2030 in the ledger DLS-X 2014.

[0423] Instead of using a JoinP transaction, P2 and P3 may become peer nodes in the blockchain (X). They can therefore use transaction keys (KT) to engage in commercial transactions. For example, message 2028 may be to purchase goods or services, and message 2026 may be to sell goods or services. In this case, they only need the KTx key, and this technique describes the behavior of blockchain transaction keys.

[0424] Furthermore, blockchains generally do not have KDLS keys, meaning that they may not be capable of enforcing semi-permissioned transactions. For example, in message 2028, P2 is purchasing goods or services, and P3 knows that P2 is a member of a club, e.g., a commercial establishment, an online auction site, a casino club, etc. Thus, P2 may receive a discount offer if the seller P3 is also part of the club, or if the club's own currency, such as gambling chips, is exchanged for various goods or services offered by club members.

[0425] For convenience, it may make sense to use the EPID as a transaction key (KTx) to maintain several wallets. As used herein, a wallet may be a cryptographically secured electronic storage that holds a link to a currency or credit account. In this example, P2 and P3 may be different wallets, e.g., each other's decentralized wallets, each holding a share of a decentralized wallet.

[0426] Another case in which EPID may be used as a transaction key is when P2 and P3 are each members of a group, such as a group of employees at a company or a group of people representing a church or private enterprise, where various members may act as agents of the enterprise. From a blockchain perspective, it is semantically irrelevant whether the Tx key is an EPID key or some other kind of key, as long as the signature verifies identity.

[0427]

[0023] Figure 21 is a process flow diagram of an example method 2100 for conducting semi-authorized transactions, according to some embodiments. The method 2100 of Figure 21 may be performed by an IoT device 2200 described with respect to Figure 22. Block 2102 represents when, for example, a device is instructed to join other devices. In block 2104, a first participant determines that a community of things, such as IoT devices forming, among other things, fog devices, can interact with high integrity assurance.

[0428] In block 2106, the first participant reserves a name to represent the community. This may be done, for example, by sending the name, e.g., DLS-X, and the public key for the first participant to the DLEA. The name, e.g., DLS-X, may be a universally unique identifier (UUID) or other identification that is highly unlikely to be duplicated. The message may be signed with the first participant's private key.

[0429] In block 2108, the DLEA determines whether the name is currently in use or has been previously assigned. If so, process flow returns to block 2106 for the first participant to select a new name. If not, in block 2110, the DLEA reserves the name DLS-X by committing it to the distributed ledger DLS-0. The key used to authenticate the first transaction to the DLEA may be committed to the ledger along with the name.

[0430] In block 2112, the first participant can use the DLS-X name when it appears in DLS-0. This may be determined by the first participant monitoring the DLS-0 ledger. In block 2114, the first participant establishes a DLS-X group public key using the EPID and defines permission policies. The group public key and policies are committed to the DLS-X ledger using the first participant's transaction key. The first participant's transactions are also committed to DLS-X using the EPID group private key.

[0431] At block 2116, the second participant may join the DLS-X group by obtaining the DLS-X group private key from the first participant. The first participant may act as an EPID group key issuer. The second participant may attest to the authenticity of its device using a manufacturer's key, e.g., the manufacturer's EPID key. At block 2118, a determination is made as to whether the second device's attestation is trustworthy. If not, method 2100 ends at block 2120.

[0432] If the attestation is trusted, in block 2122, the second participant receives an EPID join protocol response that enables it to generate a second group private key under the EPID group public key for DLS-X. In block 2124, the second participant self-signs its transaction key and distributes it to the first participant. The first participant signs the second participant's public key and commits the transaction to the ledger DLS-X, thereby introducing the second participant to DLS-X. In block 2126, a determination is made as to whether there is another participant. If there is, process flow returns to block 2116 to resume the next registration.

[0433] At block 2128, the third participant may introduce itself to the second participant. This may be done by the third participant self-signing its transaction key and sending it to the second participant. The second participant signs the third participant's public transaction key, and optionally includes the transaction data, signing it with its transaction key and the DLS-X group key.

[0434] At block 2130, the third participant commits the transaction to DLS-X. This may be performed by the third participant signing the second participant's transaction data using the third participant's DLS-X group private key before committing the transaction to the DLS-X blockchain. The second participant may also commit the transaction data to the DLS-X ledger using its DLS-X group private key. In this scenario, the third participant also signs the third participant's self-signed tx key using the third participant's DLS-X group key. Method 2100 then ends at block 2120.

[0435] Figure 22 is a block diagram of an example of components that may be present in an IoT device 2200 for creating an affiliate group, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 2200 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0436] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC). Mass storage 808 may include a group creator 2202 that determines whether a group of objects can reliably interact.

[0437] As discussed herein, the assurance may be based on an attestation key programmed into the IoT device 2200 and other mesh devices 812 by the manufacturer. The group creator 2202 may create a name for the group. The DLEA accessor 2204 may access the DLEA to determine whether the name is available or whether the IoT device 2200 needs to create another name. If the name is available, the DLEA commits the name to the distributed ledger DLS-0. The DLEA accessor 2204 may monitor the DLS-0 to determine whether the name has been committed. The key creator 2206 may create a key based on the name created by the group creator 2202, for example, using an EPID server. The key creator 2206 may commit the key to a local distributed ledger DLS 2208. The DLS 2208 may reside within the IoT device 2200 or another mesh device 812. An attestation checker 2210 may be included to determine whether a join request from another device is valid. If so, a group joiner 2212 may send a join message along with the group key.

[0438] 23 is a block diagram of a non-transitory machine-readable medium 2300 including code for instructing a processor 902 to communicate securely in a group, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 2300 via a bus 904. The processor 902 and bus 904 can be selected as described with respect to the processor 802 and bus 806 of FIG. 8. The non-transitory machine-readable medium 2300 can include a device described with respect to the mass storage 808 of FIG. 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0439] The non-transitory machine-readable medium 2300 may include code 2302 for instructing a processor 902 to determine that a group can communicate with high integrity. Code 2304 may be included for instructing the processor 902 to generate a name for the group and reserve the name with a Distributed Ledger Enumeration Authority (DLEA). Code 2306 may be included for instructing the processor 902 to create another key from the registered name and commit the information to a new distributed ledger DLS-X 2308.

[0440] Code 2310 may be included to instruct processor 902 to validate a join request for the group from an IoT device, a composite object, or both. The join request may include attestation information, such as a manufacturer's key, that is provided to the requesting device. Code 2312 may be included to instruct processor 902 to issue a credential, such as an EPID, to the requester. Code 2314 may be included to instruct processor 902 to commit the transaction data to the distributed ledger DLS-X using a private key, a public key, or a combination of both.

[0441] In addition to secure communications, security during boot helps protect the network from intrusion. Secure boot can be implemented in less constrained systems, including larger IoT devices, using trusted execution modules (TEMs) or other hardware devices, but can be more difficult for more resource-constrained IoT devices.

[0442] 24 is a schematic diagram 2400 of the use of a trusted execution environment (TEE) to securely boot a device in an IoT environment, according to some embodiments. Trusted computing is primarily concerned with the ability of a device to attest to trustworthy attributes of the computing device. Typically, attributes that affect trust include trusted boot or secure boot.

[0443] A trusted boot includes a boot sequence with a measurement operation that calculates a hash of the next code block to be loaded and executed. The measurements are stored in secure storage, such as the trusted module (TEE) 2402. In an IoT device, the trusted module 2402 may be a separate device or a protected memory region that is encrypted or otherwise not publicly accessible to the IoT device's processor or general operating code. Secure boot is an extension to the trusted boot environment that adds checking of measurements against a whitelist of allowed processes. Typically, if the actual measurements do not match the whitelist measurements, the boot sequence is altered, for example, by booting into a non-secure environment and notifying other devices.

[0444] Once trusted boot is complete, a TEE may be provided for secure execution. If code is loaded or statically bound in an hardened execution environment such as a TEE, the operations it executes may be resistant to some attacks. The hardened execution environment may include any number of hardware-enhanced security systems, such as a Trusted Platform Module (TPM), to create the TEE. Hardening techniques may include, among others, Intel® Software Guard Extensions (SGX), ARM® TrustZone®, a Hardware Security Module (HSM) such as a TPM, a smart card, or virtualization.

[0445] The TEE may also provide an environment for secure updates. Secure boot checks the authenticity of code at load time. Secure updates ensure integrity and authenticity using code signing, such as Microsoft's Authenticode® technology. A manifest structure can be used to manage the association of code hashes and their signatures as part of the installation image. Installation image packaging techniques include Itsy Package Management System (IPKG), Debian Linux® installation files (DEB), RPM Package Manager files (RPM), and Clear Linux® bundles, among others.

[0446] The TEE can provide secure storage for both temporary and long-term security-relevant data. Data types include keys, whitelists, blacklists, measurements, audit logs, passwords, biometrics, certificates, and policies. Hardening techniques include isolation, tamper-proofing, encryption, and obfuscation.

[0447] Attestation can be part of a secure environment. As described herein, attestation is a reporting function tied to a secure execution or secure storage function where a device or platform self-reports its trust properties. It details hardening techniques and assurances that are applied to the secure function in question. The attestation function itself needs to be a secure function whose hardening and assurance exceeds the quality level of the function it is reporting.

[0448] The challenges of trusted computing can be increased in IoT settings due to several factors. For example, IoT devices can be constrained by size, functionality, and economics. Security enhancements often come as a trade-off against these costs. The inclusion of trusted computing building blocks may be missing or incomplete on cost-constrained devices.

[0449] Furthermore, IoT networks may distribute functionality across multiple devices, resulting in increased reliance on network building blocks. As a result, network behavior can become more problematic as the network becomes a larger element in the overall computing fabric. Undesirable behavior can be amplified as the network's complexity and scale increase.

[0450] IoT networks often include devices and applications from multiple vendors, value-added resellers, integrators, suppliers, and analysts. Each of these players can create a system that must collaborate to ensure interfaces, structures, computing environments, and operating procedures match properly without introducing unexpected or unwanted behavior.

[0451] In some aspects, to address these issues, IoT networks may distribute trust across multiple devices. Decentralization is one way to address the reduced reliability, availability, and security that centralization brings. Decentralization also scatters the decision-making process as the original central control point dissolves.

[0452] In some aspects, trusted computing attestation in IoT networks can be improved by using blockchain technology. The concept of trusted computing defines a set of roots of trust that perform security-based functions, and the proper and expected behavior of the root functions is implicitly trusted to function as expected. For example, a trusted computing group (TCG) in the trusted module 2402 can include several roots of trust.

[0453] The root of trust for measurement (RTM) 2404 is a function that can measure and verify the first loadable object in the system. The root of trust for reporting (RTR) 2406 is a function that attests values ​​in the root of trust for storage (RTS) 2408 and the computing environment that implements RTM 2404, RTR 2406, and RTS 2408. Attestation functions can be defined recursively within RTR 2406. The root of trust for storage (RTS) 2408 is a function that stores values ​​produced and consumed by RTM 2404 and RTR 2406.

[0454] A blockchain root of trust can be used in an IoT network environment to improve security by distributing security functions. Distributed trust in a blockchain-based IoT network can add two additional roots of trust to the blockchain. The root of trust for chaining (RTC) 2410 is a function that exposes blockchain resources to a local trusted computing root, such as the RTR 2406. The RTC 2410 and the RTR 2406 can cooperate to commit attested attributes to the blockchain, for example, by storing the attested attributes in the chain history 2412. The trust properties of blockchain are highly desirable because it uses distribution as a mechanism to ensure expected behavior using a threshold consensus protocol.

[0455] The Root of Trust (RTA) 2414 for archiving functionality adds an availability component to other roots. Constrained IoT devices may not have the resources to maintain a history of measurements 2416 and measurement logs across multiple reboots. Additionally, they may not be able to store extended whitelists 2418 that describe past or expected configurations. Trusted computing queries may require searching for historical context. RTA 2414 adds archiving functionality to RTC nodes that may not be able to maintain a full block history.

[0456] The systems described herein may be used with blockchain logic 2420 that cooperates with blockchain logic 2422 in other devices to maintain chain history 2412. This may include, for example, propagating 2424 the blockchain's chain history 2412 to other devices, where the chain history 2412 may be compared with a local copy to ensure that any changes made are authorized. If a majority of devices agree that the changes were unauthorized, the blockchain logic 2420 reverts the chain history 2412 to the previous history.

[0457] Figure 25 is a block diagram 2500 of a blockchain block 2502 that holds boot integrity transactions, according to some embodiments. Referring also to Figure 24, the blockchain block 2502 forms a single record in the chain history 2412 or other distributed ledger system. The RTC 2410 configures the block with measurements 2504 in platform configuration registers (PCRs). The PCRs can be memory locations within the protected domain, within a particular hardware device, or both.

[0458] In some aspects, the measurement sample rate used for blockchain blocks 2502 can be more granular than the rate at which measurements are stored in PCRs, e.g., PCRs are extended. However, every PCR extension may trigger a transaction to be added to the block. PCR values ​​are signed by an attestation signing key 2506, which may be different from the block signing key. In essence, the RTR 2406 is attesting to the blockchain for its current integrity state. The RTC 2410 is attesting that the PCRs have not been overwritten by an undetected system reset.

[0459] Block diagram 2500 may also indicate the existence of previous blockchain blocks 2510 and 2512. Although not shown in this figure, these blocks 2510 and 2512 may hold other boot integrity transactions, or may hold information about composite objects, object types, affiliated group compositions, secure transaction data, or any number of other items that support the security of an IoT network.

[0460] FIG. 26 is a schematic diagram 2600 of the use of whitelist image collection with a blockchain, according to some embodiments. Like numbered items are as described with respect to FIG. 24. A boot process is occurring on a first IoT device 2602. For example, an image repository 2604 may be accessed to obtain a whitelist image 2606 using communications 2608 encrypted with a manufacturer's key 2612 programmed into the system. In some examples, they may be accessed from the chain history 2412 or the blockchain instead of or in addition to the image repository 2604. Images in the image repository 2604 may be stored by other similar IoT devices 2610 so that a reference count can be maintained. Each device can sign a blockchain transaction recording the boot integrity report, so that the reference count can distinguish between reboot activity from the same device and activity from different devices.

[0461] Measurements are taken when the IoT device 2602 boots, for example, by calculating a hash code of the next software executed in the boot sequence. The measurements may be compared to whitelist values, for example, in a whitelist image 2606, to ensure integrity. An image manifest 2614 can be used to verify the occurrence of the whitelist values. The manifest 2614 can include whitelist hash values ​​that can be compared to a dynamically obtained hash of the image 2606.

[0462] Building a whitelist in an IoT network is challenging due to the rate at which the image population changes. For example, as the image repository 2604 grows, the likelihood that devices in a deployment will rely on the repository to find reference images selected for inclusion in the whitelist increases. Unless the network has data deduplication and trusted deletion capabilities, the number of images will monotonically grow as IoT devices reference images in the repository. Blockchain history is a way to inform the image repository about the demand for devices referencing its images. Devices that are no longer in use will not appear in history 2412 and therefore will no longer be counted as references by the image repository. The image repository 2604 can maintain a "heat map" that identifies devices that perform boot integrity checks. A strategy for decommissioning old devices that are no longer deployed can be to remove their images 2606 from the image repository 2604 and block whitelist references. This approach can be tuned to select a decommissioning rate that correlates with the growth rate at which new images are created.

[0463] FIG. 27 is a diagram of a blockchain block 2702 with an integrity transaction for a whitelist image, according to some embodiments. To implement a blockchain block, vendors, manufacturers, and code generation factories can incorporate blockchain functionality into their production processes. Each whitelist image may be signed using a manifest structure 2704 that includes a manifest 2706. The developer or factory producing the image can sign it using a manufacturer's key 2708, which may be an EPID key, to establish which entity produced the image. As described herein, the signed manifest 2704 is added to the blockchain block 2702 and committed to the blockchain's chain history 2412 (FIG. 24) using the appropriate transaction key.

[0464]

[00137] Figure 28 is a process flow diagram of an example method 2800 for a secure boot process flow using a blockchain root of trust, according to some embodiments. The method 2800 of Figure 28 may be implemented by an IoT device 2900 described with respect to Figure 29. Block 2802 represents when a boot integrity agent measures an object, for example. As discussed herein, this may be performed by calculating a hash code of the next code to be booted and creating an image of that code. At block 2804, a determination is made as to whether the image is known to be good. If so, method 2800 ends at block 2806 when the IoT device continues normal operation. Otherwise, at block 2808, a determination is made as to whether the image is known to be bad. If so, method 2800 ends at block 2810 with isolating the code and fixing the problem.

[0465] If at block 2808 the image is not known to be bad, process flow proceeds to block 2812 where a determination is made as to whether the image is unknown. If not, method 2800 may end at block 2814, for example, with the status listed as untrusted. If so, method 2800 may end at block 2816 where local policies are consulted to determine the action to apply.

[0466] To obtain an image for use in the comparison in block 2804, the site administrator may obtain a reference hash, for example, from a cloud repository, in block 2818. The hash may also be obtained from other sources, including other IoT devices, manufacturers, etc. At block 2820, a determination is made as to whether the signature on the hash is valid. If not, method 2800 ends at block 2822. At block 2824, a determination is made as to whether the image hash is equal to the blockchain (BC) hash. If equal, at block 2826, the site administrator signs the image's manifest. At block 2828, the image is added to a whitelist, and the whitelist is committed to the blockchain for access by the boot code. The whitelist image can then be used for comparison at block 2804 by IoT devices that access the whitelist, for example, in the blockchain or in the image repository.

[0467] If the image hash does not match the BC hash at block 2824, a determination is made as to whether the image hash contains an attack signature at block 2830. If so, the image may be added to a blacklist, and the blacklist may be committed to the blockchain at block 2832. The blacklist image may then be used for comparison at block 2808 by IoT devices that access the blacklist, for example, in the blockchain or in an image repository.

[0468] If the image hash does not match a known attack signature at block 2830, the image may be added to an unclassified list at block 2834. The unclassified list may then be added to the blockchain. The unclassified image may then be used for comparison at block 2812, for example, by an IoT device accessing the unclassified list in the blockchain or in an image repository.

[0469] The attack signature may be identified by any number of techniques. For example, in block 2836, a forensic lab may identify the attack and generate an attack signature for the image. As used herein, a forensic lab may be a commercial security service that identifies malware, viruses, and other problematic code in the wild. In block 2838, the forensic lab may write the attack signature for the image to the blockchain. In some examples, a site administrator may obtain the attack signature from a commercial forensic lab and write the attack signature to the blockchain. In block 2840, the attack signature may be retrieved from the blockchain for use in block 2830.

[0470] As described herein, the secure boot process can be extended to include the use of blockchain to obtain and verify reference measurements and develop whitelists, blacklists, or assorted lists that can be used to evaluate local measurements. Secure boot enforcement is successful. Thus, the blockchain can provide information for enforcement points for network isolation, which can impose firewall restrictions on the flow of packets to or from a device when a known bad or unknown configuration is found. Additionally, the blockchain can notify software update servers, which can attempt to obtain reference measurements from trusted sources.

[0471] Figure 29 is a block diagram of an example of components that may be present in an IoT device 2900 for secure boot, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 2900 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0472] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0473] The mass storage 808 can include a root of trust measurement unit (RTM) 2902 that can measure and verify the first loadable object in the system. A root of trust storage manager (RTS) 2904 can store values ​​produced and consumed by the RTM 2902 and other security systems, such as a root of trust report unit (RTR) 2906. The RTR 2906 can attest values ​​in the root of trust (RTS) 2408 for storage and the environment implementing the RTM 2404, RTR 2406, and RTS 2408. A root of trust archiver (RTA) 2910 can add archiving functionality to RTC nodes that may not have the capability to maintain a full chain history 2912.

[0474] Various history databases may be maintained within the IoT device 2900 or accessed on other mesh devices 812. For example, blockchain logic 2914 may maintain a chain history 2912 containing blocks of the blockchain. Additionally, blockchain logic 2914 may push changes to other mesh devices 812 or accept and confirm changes made to the blockchain by other mesh devices 812. Whitelist history 2916 may hold whitelists and changes made to whitelist items, for example, before the changes are committed to chain history 2912. Additionally, whitelist history 2916 may hold other lists and changes, such as blacklists and unclassified lists. Measurement history 2918 may hold current and past measurements made during the boot process, for example, for comparison to images.

[0475] 30 is a block diagram of an exemplary non-transitory machine-readable medium 3000 including code for instructing a processor 902 to boot securely, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 3000 via a bus 904. The processor 902 and bus 904 can be selected as described with respect to the processor 802 and bus 806 of FIG. 8. The non-transitory machine-readable medium 3000 can include a device described with respect to the mass storage 808 of FIG. 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0476] The non-transitory machine-readable medium 3000 may include code 3002 for instructing the processor 902 to measure a code object before executing it. Code 3004 may be included for instructing the processor 902 to compare the measurements against a list of known good images. Code 3006 may be included for instructing the processor 902 to compare the object against a list of known bad images. Code 3008 may be included for instructing the processor 902 to classify the image and determine a trust level, for example, by enabling the processor to boot in a trusted execution environment, enabling the processor to boot in an untrusted environment, or preventing booting and alerting a site administrator. Code 3010 may be included for instructing the processor 902 to maintain a blockchain 3014, for example, by, among other things, committing transactions to a chain history, forwarding transaction changes to other IoT devices, or confirming changes from other IoT devices. Code 3012 may be included to maintain a root of trust, for example, as described with respect to Figure 24 for RTM 2404, RTR 2406, RTS 2408, RTC 2410, and RTA 2414. The machine-readable medium 3000 may also store a blockchain, such as chain history 2412 described with respect to Figure 24.

[0477] 31 is a schematic diagram 3102 illustrating interoperability across a public domain 3102, a private domain 3104, and a public-private domain 3106, according to some embodiments. Network topology may be in a state of continuous change, making any attempt at a permanent map impossible. Therefore, IoT devices may use backbone resources, such as Domain Name Servers (DNS), to send packets between domains. Packets may be routed between domains 3102, 3104, and 3106 via the Internet backbone, shown as router 3108.

[0478] In some aspects, router 3108 provides edge connectivity coupling domains to one another. As described herein, any number of services can be provided at the edges of domains 3102, 3104, and 3106 to increase interconnectivity. For example, interconnection between public domain 3102 and private domain 3104 can provide opportunities for micropayments for domain access, explicit permissioning and tracking for domain access, and segregation of public and private traffic, among other things. Similarly, interconnection between public domain 3102 and public-private domain 3106 can provide opportunities for services such as time-based leasing, resource marketplaces, and distributed identity servers, among other things. Interconnection between private domain 3104 and public-private domain 3106 can provide opportunities for inline service interconnection, behavior-based threat analysis, and proof-of-provenance, among other things.

[0479] FIG. 32 is a schematic diagram of interoperability across a heterogeneous network 3200 of a wired network 3202 and wireless networks 3204 and 3206, according to some embodiments. The wireless networks 3204 and 3206 may be communicatively coupled by devices in the wired network 3202. This provides opportunities for improved efficiency in communications between devices in the wireless networks 3204 and 3206, as well as between devices in the wireless networks 3204 or 3206 and devices in the wired network 3202. For example, an edge device 3208 coupling the first wireless network 3204 to the wired network 3202 can provide data-to-information conversion to reduce the size of the payload. Additionally, the edge device 3208 may have an authorization system that allows packets from the first wireless network 3204 to pass through while preventing unauthorized packets from being forwarded. The authorization system may include a system for making micropayments to allow information to travel across the wired network 3202. As an example, the first wireless network 3204 may be an array of moisture sensors in the ground of an agricultural field. The reporting frequency may be dependent on a rate of change, which may increase costs due to the need to purchase bandwidth to match the highest reporting frequency. Thus, a micropayment system can lower costs by allowing transactions to be paid on demand.

[0480] 33 is a schematic diagram of an inline routing system 3300 connecting two different fog or cloud entities, such as connecting Cloud A 3302 with Cloud B 3304, according to some embodiments. Inline routing can use IoT devices 3306 as conduits between multiple sources and destinations, where the combined actions of IoT devices 3306 acting as inline routers form what may now be called gateways.

[0481] Inline routing between connected IoT devices 3306 in a network can be performed using a stack pop technique that connects at Layer 3 and Layer 4 of the network stack. This technique can reduce inline latency and the need for application-specific traffic management. This technique can be built directly into board support packages (BSPs) for various devices, such as MCU-class devices.

[0482] The IoT devices 3306 may include subsystems for performing routing functions, such as an application / service manager 3308 for interfacing with applications and managing the network stack for communication between IoT devices 3306. A payment / credit manager 3310 may process micropayments for transactional access to other networks, among other things. For example, the payment / credit manager 3310 may make payments to a system to enable information transfer over the network, or access to information such as local weather information, traffic flow patterns, etc. A right-of-way system 3312 may control the network layers used to provide access rights to allow traffic to flow through specific IoT devices 3306.

[0483] The network stack 3314 is configured to provide different layers of the communications stack. Additional layers may be provided to implement the functions described herein. For example, the right-of-way system 3312 may control the right-of-way layer as described herein. The timing subsystem 3316 may be used to add timing functionality to communications. For example, communications through the right-of-way layer may be permitted for a limited time window for a particular set of credentials. Upon expiration, new credentials or additional payment may be required to resume communications. The system may include a power subsystem 3318 for providing power to the device.

[0484] Figure 34 is a schematic diagram 3400 of inline routing illustrating implicit pass-through routing by an IoT device 3306, according to some embodiments. Like numbered items are as described with respect to Figure 33. The IoT device 3306 may act as an edge device between two domains, for example, translating communications between different protocols.

[0485] The first entity 3402 may, for example, communicate with the IoT device 3306 using a first protocol 3404. In this example, the IoT device 3306 does not restrict the traffic but allows it to pass without further authorization. The IoT device 3306 may convert packets to the second protocol 3406 when sending them to the second entity 3408.

[0486] Figure 35 is a schematic diagram of explicit authorized routing by an IoT device 3306, according to some embodiments. Like numbered items are as described with respect to Figures 33 and 34. This approach addresses a potential security flaw in systems where pass-through is implicit. As described with respect to Figure 34, the IoT device 3306 can act as an edge device between two domains, for example to translate communications.

[0487] A first entity 3402 communicates with an IoT device 3306, for example, using a first protocol 3404. In this example, the IoT device 3306 can issue a challenge 3502 to one or both devices to determine authorization before passing traffic. As used herein, authorized pass-through is a method of asserting the right to pass through an inline interconnection based on a key or token challenge, a time-limited right-of-way, behavioral or reputation-based authorization, monetary or other electronic currency exchange, or any combination thereof.

[0488] For example, the IoT device 3306 may accept an identity key from the entity 3402 or 3408 and access the blockchain to verify that the device is authorized to communicate with the other entity 3402 or 3402. The IoT device 3306 may allow the communication to continue for a predetermined time, such as 1 second (s), 500 milliseconds (ms), 100 ms or less, etc. The IoT device 3306 may require a micropayment to allow the communication to proceed. Additionally, the IoT device 3306 may convert packets to the second protocol 3406 when sending the packets to the second entity 3408.

[0489] Figure 36 is a schematic diagram of right-of-way layers 3602, 3604, and 3606 for inline routing used for pass-through policy control. Like numbered items are as described with respect to Figures 33 and 34. As used herein, the term right-of-way refers to non-ownership for relaying information through a node without owning the node. This process, for example, at the right-of-way layer below the application layer, provides a conduit for communication across multiple nodes that agree to use their resources without intermediate nodes knowing the ingress, egress, or contents of packets.

[0490] The right of passage layer 3602, 3604, or 3606 may comprise a portion of the network stack above the routing layer 3608, 3610, or 3612, respectively. An application 3614 in the first entity 3402 may send a packet to an application 3616 in the second entity 3404. The packet passes through the right of passage layer 3608 in the first entity 3402, where it is packaged with appropriate information to be forwarded by the second right of passage layer 3604 in, for example, the IoT device 3306.

[0491] Once permission to forward the packet is confirmed by a right-of-way system, such as a block of code running in memory, based on, for example, identity, authorization, payment, or time, the packet forwarding may occur via a right-of-way layer 3604 in a network stack within the IoT device 3306. The protocol of the packet may be converted to a second protocol 3406 in the right-of-way layer 3604. Thus, the packet is processed below the application layer 3618 within the IoT device 3306, which is unaware of its contents or even that the packet has been passed.

[0492] The packet is then passed to the second entity 3408. At the permission layer 3606 within the second entity 3408, the permission information is removed from the packet and the packet is sent to the application layer 3616 for consumption by the application. A similar process works in the reverse direction for packets sent from the second entity 3408 to the first entity 3402.

[0493] The schematic diagram 3600 shows a single intermediate entity, namely the IoT device 3306. However, as shown in Figure 33, multiple intermediate entities may be used to forward packets from the first entity 3402 to the second entity 3408.

[0494] Figure 37 is a ladder diagram illustrating an example method 3700 for permission-based explicit pass-through routing, according to some embodiments. The method 3700 of Figure 37 may be implemented by an IoT device 3900 described with respect to Figure 39. Like numbered items are as described with respect to Figure 33. In this case, permission is based on electronic credits for micropayments, although similar permission may be based on keys, unit identification information, reputation keys, etc.

[0495] In method 3700, the right-of-way system 3312 can send a routing request 3702 to a device registrar 3704 to determine whether a packet can be passed through the right-of-way. The device registrar 3704, or escrow agent, can either reside within a node acting as an explicit pass-through node or reside externally as a common agent for a group of nodes. The routing request 3702 includes an identity or key associated with the requester that can be used by the device registrar 3704 to determine whether the pass-through request should be granted or denied.

[0496] In payment-based examples, the requester's ability to pay is also determined. This may be performed, for example, by the device registrar 3704 by looking up the device's identity or key in the blockchain 3706. A token credit check 3708 may be performed on the transaction in the blockchain to determine whether sufficient credits exist to pay for the transaction. The token credit check 3708 may be based on a token embedded in the pass-through request or on the amount of credits recorded in the blockchain.

[0497] A permit or deny decision 3710 may then be made based on credits, identification information, keys, or any combination. A response 3712 may then be sent to the right-of-way system 3312 to notify the outcome of the permit or deny decision 3710. If the decision was to deny the packet passage, the right-of-way system 3312 may, among other things, drop the packet without further action or notify the sender of the denial of access.

[0498] If the allow or deny decision 3710 is to let the packet through, the right-of-way system 3312 can route the packet 3714 toward the target device. The allow decision, e.g., micropayment, may be made through one or more of the IoT devices 3306, or through only an edge device, such as a router joining different domains. Once the packet is routed, the right-of-way system 3312 can send a notification 3716 to the device registrar 3704 that the routing is complete. The device registrar 3704 can then release the micropayment 3718 and send a payment 3720 to the right-of-way system 3312. If blockchain recording is used, the device registrar 3704 can record the payment in a block and commit the block to the blockchain to record the change in the amount of remaining credits.

[0499] FIG. 38 is a ladder diagram of an example method 3800 for a time-limited lease approach for explicit pass-through, according to some embodiments. The method 3800 of FIG. 38 may be implemented by an IoT device 3900 described with respect to FIG. 39. Like numbered items are as described with respect to FIGS. 33 and 37. In this example, at stage 3802, the device registrar 3704 receives a pass-through request including an identity or key associated with the requester and a requested pass-through period. The credentials and pass-through period may be used by the registrar to determine whether the request should be granted or denied. This may be performed, for example, by having the device registrar 3704 look up the device's identity, key, and permitted communication period in a blockchain 3804.

[0500] In step 3806, the period of time allowed for communication is determined. If the requested pass-through period cannot be supported 3808, the maximum allowable pass-through period is specified in response 3810. Once the packet is routed 3812, the right-of-way system 3312 can send notification 3814 to the device registrar 3704 that the routing is complete. The device registrar 3704 can then determine 3816 whether the lease period has expired. If so, in step 3818, the device registrar 3704 revokes the lease, and in step 3820, the device registrar 3704 sends notification 3820 to the right-of-way system 3312 to notify it of the expiration of the lease period.

[0501] Figure 39 is a block diagram of an example of components that may be present in an IoT device 3900 for creating an affiliate group, according to some embodiments. Like numbered items are as described with respect to Figures 3, 8, 33, and 38. It should be noted that different components may be selected and used for IoT device 3900 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0502] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0503] The mass storage 808 may include an application / service manager 3308 that may provide an application operating environment, such as an operating system and programming interfaces, for communicating packets to other mesh devices 812, devices in the cloud 302, etc. The payment / credit manager 3310 may process micropayments for communications, as described with respect to FIG. 33. The right-of-way system 3312 may control a right-of-way layer to provide access rights for packet forwarding, as described with respect to FIGS. 37 and 38. The network stack 3314 may provide a network layer for packaging and forwarding packets. The network stack 3314 may include a right-of-way, for example, as described with respect to FIG. 36. The timing system 3316 may be included to add timing functionality for communications, such as counting down the time before a lease expires. The blockchain logic 3902 may be included to access and maintain a blockchain of communication authorizations, payments, or credits, among other things.

[0504] Figure 40 is a block diagram of a non-transitory machine-readable medium 4000 including code for instructing a processor 902 to transfer communications between devices via a right-of-way. The processor 902 can access the non-transitory machine-readable medium 4000 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 4000 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0505] Non-transitory machine-readable medium 4000 may include code 4002 for instructing processor 902 to send a routing request to a device registrar to determine if communication is allowed. Code 4004 may be included for instructing processor 902 to route packets between devices based on reputation, permissions, micropayments, etc. Code 4004 may instruct processor 902 to convert packets to a new protocol, for example, when entering a new domain.

[0506] Code 4006 may be included to instruct processor 902 to send a completion notification to the device registrar to notify that a communication, such as a group of packets forming a message, has been transferred. Code 4008 may be included to instruct processor 902 to accept payment from the device registrar for the communication, for example, being held in escrow by the device registrar until completion of the transfer.

[0507] Because IoT device 3306 (FIG. 33) can act as a device registrar, code 4010 can be included to instruct processor 902 to look up a requester, for example, by accessing a blockchain to determine authorization and identity. Code 4012 can be included to instruct processor 902 to check credit or payment to determine whether the credit or payment is sufficient for the communication. Code 4012 can instruct processor 902 to calculate an allowed communication time. Code 4014 can be included to instruct processor 902 to send an authorization decision to right-of-way system 3312 and allow right-of-way system 3312 to forward or drop the packet or communication. Code 4016 can be included to instruct processor 902 to invalidate a time-based lease, for example, if the last completed communication exceeded the allowed lease time. Code 4016 can instruct processor 902 to send a message to right-of-way system 3312 invalidating the lease.

[0508] Tracking the devices through which a frame passes can add an extra level of security when communications pass through different domains from a source device to a target device. This helps prevent, among other things, attacks that impersonate a source device, such as a man-in-the-middle attack, in which a device intercepts communications destined for another device and modifies the communications to compromise security.

[0509] FIG. 41 is a schematic diagram of the use of a frame structure to carry proof-of-provenance (PoP) information through devices in a network, according to some embodiments. The devices may include IoT devices, Internet devices, edge devices, or any combination thereof. Proof-of-provenance provides traceability of network traffic through a multi-link connection chain. PoP methods create a traffic audit trail and, as described herein, may be used to identify and block man-in-the-middle attacks. PoP may be used when entity 1 4102 initiates communication with another entity 4 4104, for example, by sending packet 4106. Packet 4106 may include multiple placeholders 4108 to identify devices through which packet 4106 has passed.

[0510] In this example, packet 4106 may be sent to a first device A 4110, or router, in a first message 4112. Device A 4110 may modify packet 4106 to indicate that the packet passed through device A 4110, for example, by writing 4114 transit code PoP1 4116 into placeholder 4108. Generation of transit codes is further described with respect to FIG.

[0511] Packet 4106 may then be passed in a second message 4120 to another device, entity 2 4118. The second message 4120 may be a different protocol than the first message 4112, having been converted to a second protocol, for example at device A 4110. Entity 2 4118 may pass the packet in a third message 4124 to another device B 4122, which may also convert the packet to the new protocol.

[0512] Device B 4122 can modify packet 4106 to indicate that packet 4106 has passed through device B 4122, for example, by writing 4126 a second transit code PoP 2 4128 into placeholder 4108. Device B 4122 can then pass the packet to another device, entity 3 4130, in another message 4132. In this example, entity 3 4130 can convert packet 4106 back to the original protocol before sending the packet to device C 4134 in message 4136.

[0513] Device C 4134 may modify packet 4106 to indicate that packet 4106 passed through device C 4122, for example, by writing 4138 a third transit code PoP3 4140 into placeholder 4108. Device C 4134 may then pass the packet in another message 4142 to another device, namely entity 4 4140. Device C 4134 may or may not convert packet 4106 to another protocol before sending the packet to entity 4 4140.

[0514] Each node in the chain may only have knowledge of the previous and next nodes in the chain. Thus, the PoP sequence in packet 4106 provides a trail of devices that packet 4106 has passed through. In some examples, placeholder 4108 is not explicitly used, with PoP codes inserted or appended to packet 4106.

[0515] Figure 42 is a schematic diagram 4200 of a procedure that may be used to create a PoP currency code or key, according to some embodiments. For an outgoing packet 4204, a PoP sequence 4206 may be generated by performing a transformation on a seed byte sequence. The seed byte sequence may be generated by a random number generator based on a device ID, or by any number of other techniques. The transformation process may involve an exclusive-OR operation (XOR) or other methods of binary calculation.

[0516] A node in the chain receives the PoP sequence and treats it as an ingress key 4208. The node then performs a transformation 4210 using the incoming ingress sequence to generate its own PoP sequence 4212. For example, an exclusive OR function 4216 can be used to combine the ingress key 4208 with a device key 4214 to generate the PoP sequence 4212. The device key 4214 can be a manufacturer key stored on the device, a device ID, a random number generated based on the device ID, etc. The PoP sequence 4212 can then be added to the packet 4204 as a PoP key 4218. The same sequence can be added as an egress key 4220 to be used in the next stage of the PoP to generate the next PoP key. In some examples, the egress key 4220 can be omitted, and the PoP key 4218 itself can be used for the next stage. A null sequence or other standard sequence format can be used to indicate that a PoP transformation was not performed in the previous stage.

[0517] Figure 43 is a process flow diagram of an example method 4300 for generating a PoP key. The method 4300 of Figure 43 may be implemented by an IoT device 4500 described with respect to Figure 45. Block 4302 represents, for example, when one device receives a packet from another device intended for transmission to a third device. At block 4304, an ingress key is obtained, for example, by reading the PoP key generated by the last PoP stage. At block 4306, another PoP key is calculated using an XOR function of the previous PoP key and a device key, such as a private or common key used by the node.

[0518] At block 4308, the newly generated PoP Key is appended to the packet, leaving the previously generated PoP Key intact. At block 4310, the packet is routed to the next device. At block 4312, a determination is made as to whether the packet has reached its destination. If not, process flow returns to block 4302 to continue processing at the next node. If the packet has reached its destination, method 4300 ends. Note that not all devices are required to insert or append a PoP Key to a packet. Some devices, such as entity 3 4130 described with respect to FIG. 41, can pass packets without including a PoP Key in the packet. These devices may be general routers or other devices within a single domain.

[0519] Figure 44 is a process flow diagram of an example method 4400 for verifying a PoP key in a packet, according to some embodiments. If the packet passes through the complete chain, the destination node at the end of the successive PoP chain receives a valid PoP key sequence. Device keys from nodes in the chain may be made available to the destination node or other verifying entity via a database, blockchain, or other mechanism. The device keys may be used to verify the entire chain using a sequence translation process, given knowledge of all nodes' ingress and PoP keys. This process may be used to determine if and where a break in the PoP chain has occurred when iterative verification calculations result in a PoP value that does not match the reported PoP sequence.

[0520] Block 4402 represents, for example, when a verification device receives a packet. At block 4404, a linked list of PoP keys is extracted from the packet to be verified. At block 4406, the PoP key may be tokenized to break the string into individual tokens / keys. At block 4408, the current PoP key may be verified. At block 4410, the current PoP key may be combined with a shared secret key using an XOR process. At block 4412, the result of the XOR may be compared to the next token, which is the ingress key of the next node in the path. If the result of the XOR and the next ingress key do not match, process flow may proceed to block 4416, where a failure condition may be reported.

[0521] If there is a match at block 4412, a determination is made at block 4414 as to whether all keys in the PoP sequence have been tested. If not, process flow returns to block 4408 to test the next key. If all keys have been tested, a successful result is reported at block 4416.

[0522] Figure 45 is a block diagram of an example of components that may be present in an IoT device 4500 for tracking proof of provenance in packets, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 4500 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0523] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0524] The mass storage 808 may include a communications unit 4502 that accepts packets from the mesh devices 812 or devices in the cloud 302 and relays the packets to other mesh devices 812, devices in the cloud 302, etc. The communications unit 4502 may perform other functions such as translating packets between protocols, accepting micropayments, etc. Additionally, the communications unit 4502 may be part of the right-of-way system 3312 described with reference to FIG.

[0525] The ingress key calculator 4504 may be used to determine the ingress key. If there is a PoP key attached to the packet, this may be read and identified as the ingress key. If the ingress key calculator 4504 finds a null character or other character indicating that the IoT device 4500 may be the first device in the chain, the IoT device may use a random number generator to calculate the ingress key. This may be based on the device key 4506 or other seed. The device key 4506 may be a stored value from the manufacturer or may be a key generated and assigned to the IoT device 4500 for secure communication within a group, as described with respect to FIG. 20, among other things.

[0526] The PoP key calculator 4508 may be used to calculate a PoP key or an egress key from the device key 4506 and the ingress key. This may be performed as described with respect to FIG.

[0527] The packet builder 4510 may be used to build new packets, for example, when a conversion to a different protocol is performed. The packet builder may append the current node's PoP key to the end of the packet after any other keys. Additionally, the packet builder 4510 may be part of the right of passage layer that adds any right of passage information used by the right of passage layer of other devices to send the packet, as described with reference to FIG. 36.

[0528] A PoP sequence verifier 4512 may be included to analyze the PoP sequence, as described with respect to Figure 44. The PoP sequence verifier may determine that the PoP key in the packet has followed an authorized path through the chain of devices and that the packet has not passed through an unauthorized device, which may protect against man-in-the-middle attacks.

[0529] Figure 46 is a block diagram of a non-transitory machine-readable medium 4600 including code for instructing a processor 902 to transfer communications between devices via a right-of-way. The processor 902 can access the non-transitory machine-readable medium 4600 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 4600 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0530] The non-transitory machine-readable medium 4600 may include code 4602 for instructing the processor 902 to read the received packet to determine an ingress key, for example, by detecting an appended PoP key. Code 4604 may be included for instructing the processor 902 to generate or otherwise provide a device key for generating other keys. The device key may be a manufacturer key stored on the device or may be a device-specific communications key accessed from a blockchain, among other things.

[0531] Code 4606 may be included for instructing processor 902 to calculate a new PoP key, for example, from the ingress key and the device key. Code 4608 may be included for instructing processor 902 to append the new PoP key to the end of the packet. Code 4610 may be included for instructing processor 902 to send the packet to the next device.

[0532] Code 4612 may be included for instructing processor 902 to verify the sequence of PoP keys appended to the packet to ensure that the packet passed through a legitimate device. Code 4614 may be included for instructing processor 902 to report on the results of the verification procedure, for example, to report the compromise of the packet to another device or group of devices. A user may also be warned of illegitimate packets.

[0533] FIG. 47 is a schematic diagram 4700 of an example packet 4702 containing micropayment information in a token bucket 4704. The token bucket 4704 is a region of a packet that contains a bit sequence that encodes a token for a micropayment. The token bucket 4704 can be used to pay for passage through a system that does not have access to a common database or blockchain. The token bucket 4704 may have an encrypted balance that can be decremented by one or more sending devices. In some examples, the tokens in the token bucket may be one or more sequences encrypted with a first key, and one or more of the edge devices 4706-4710 may have a key to decrypt the token file and remove the sequences or tokens.

[0534] When a packet 4702 is received at edge device 4706, the token bucket 4704 is accessed (4712) and decrypted to determine the balance remaining in the token bucket 4704. The cost of passing through edge device 4706 is subtracted, and the token bucket is re-encrypted, accessed (4712), and stored in the frame. These steps are repeated as the packet passes through other edge devices 4708 and 4710. In another example, the token bucket 4704 contains multiple identical encrypted bit sequences. Each sequence represents a token, and tokens are removed as they pass through edge devices 4706-4710. If the token bucket 4704 is empty or has insufficient balance, the packet may be dropped or returned to the sender.

[0535] The token bucket 4704 may allow for increased priority for transmitting messages. The cost may be directly related to the priority of a given packet. Furthermore, the token itself may carry this information. For example, if the token has the first balance, the edge devices 4706-4710 may forward the packet according to the normal first-in, first-out sequence. However, if the token has a higher balance, the edge devices 4706-4710 may transmit the packet before other packets in the queue. This may be used to prioritize communications from IoT devices, for example, sending alerts at a higher priority while sending regular data messages at a lower priority.

[0536] Figure 48 is a process flow diagram of an example method 4800 for using a token bucket to pass a micropayment to a transmitting system, according to some embodiments. The method 4800 of Figure 48 may be implemented by an IoT device 4900 described with respect to Figure 49. Block 4802 represents when a packet is received by the transmitting system, for example. At block 4804, the packet frame metadata is parsed, for example, to find the token bucket. If at block 4806 the parsed metadata is determined to be incorrect, an alert 4808 is issued to the sender, for example, by sending a failed routing report. At block 4810, a determination is made as to whether to continue. If so, process flow returns to block 4802.

[0537] At block 4812, the payment to complete the transmission is calculated. This may be performed by simply multiplying the payload size by the fee per routed byte. In some examples, priority routing may be charged at a higher per byte rate.

[0538] At block 4814, the payment for the routing is extracted from the token bucket. This may be done by decrementing the token field. A local payment subtotal may also be incremented. The local payment subtotal may be used to update a payment store, for example, in a database. The payment store may be a blockchain containing payment records.

[0539] At block 4816, the new token field may be used to complete the metadata of the outgoing frame. At block 4818, the packet is then routed from the transmitter. At block 4820, a decision is made as to whether to continue. This may be based, among other things, on whether a sequence of communications is in progress, etc. If so, process flow continues back to block 4802.

[0540] Figure 49 is a block diagram of an example of components that may be present in an IoT device 4900 for using a token bucket to facilitate payments, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 4900 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0541] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0542] The mass storage 808 may include a communicator 4902 that accepts packets from a mesh device 812 or a device in the cloud 302 and relays the packets to other mesh devices 812, devices in the cloud 302, etc. One or more packets may constitute a communication between devices. In addition to the functions described with respect to FIG. 49, the communicator 4902 may perform other functions, such as translating packets between protocols, performing proof-of-provenance additions, etc., as described with respect to 4502. Furthermore, the communicator 4902 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0543] The data analyzer 4904 can analyze metadata for received packets to identify token buckets. This may include, for example, decrypting the token bucket using a public or private key stored by the IoT device 4900. The payment calculator 4906 can be used to calculate the payment required to transmit the communication. The calculation may include a multiplier that takes into account a particular priority level, such as multiplying the payment by a multiplier if a higher bandwidth channel is selected. The payment extractor 4908 can subtract the payment from the token bucket. This may be performed by subtracting an amount from the balance recorded in the token bucket. In some examples, the token bucket may contain multiple individual tokens, such as encrypted tokens that can be individually removed. The frame builder 4910 can reconstruct the frame with the metadata, for example, by encrypting the token bucket and assembling the packet payload and metadata to form a frame. The communication unit 4902 can then be used to transmit the assembled packet. In some examples, the payment acceptor 4912 may be used to accept payments from another source, for example, a blockchain identified by a bit sequence in the token bucket.

[0544] Figure 50 is a block diagram of a non-transitory machine-readable medium 5000 including code for instructing a processor 902 to transfer communications between devices based on payments from a token bucket. The processor 902 can access the non-transitory machine-readable medium 5000 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 5000 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0545] The non-transitory machine-readable medium 5000 may include code 5002 for instructing the processor 902 to parse metadata for the frame, e.g., to extract a token bucket from the metadata. Code 5004 may be included for instructing the processor 902 to calculate a payment for sending a message. The payment may be based, e.g., on the size of the message and / or the priority of the message transmission. Code 5006 may be included for instructing the processor 902 to extract a payment from the token bucket. This may be performed by reducing the balance in the token bucket or by removing a bit sequence corresponding to a token from the token bucket. Code 5008 may be included for instructing the processor 902 to update the frame, e.g., including the changed balance of the token bucket. Code 5008 may also instruct the processor 902 to encrypt the token bucket before reassembling the frame. Code 5010 may be included for instructing the processor 902 to route the frame toward its destination, e.g., by sending the frame to a subsequent device with an address indicating the final destination.

[0546] Code 5012 may be included for instructing processor 902 to accept a payment to increase the balance in the token bucket. Code 5014 may be included for instructing processor 902 to increase the priority of a transmission based on the amount paid. For example, if the token bucket uses a discrete bit sequence for the tokens, the transmitting device may set the priority based at least in part on the amount of each token.

[0547] 51 is a diagram of a heterogeneous network (hetnet) infrastructure 5100 connecting an IP domain 5102 to a non-IP domain 5104 in multiple stages, according to some embodiments. In this example, an LPWA domain 5106 is in communication with an IEEE 802.15.4g mesh network 5108. The mesh network 5108 is in communication with an IEEE 802.15.4 mesh network 5110. An access point 5112 provides a communication connection 5114 (e.g., an Ethernet connection) to a core network 5116. The core network 5116 may be coupled to a second access point 5118. The second access point 5118 may provide communication to a second LPWA network 5120. The different permutations of the IP domain 5102 and the non-IP domain 5104, combined with providing support for a significant number of services, work against dedicated translation nodes. Furthermore, dynamic interconnections may be useful for interacting with a volatile IoT infrastructure where nodes can join and leave the network and may be mobile.

[0548] For example, protocol packing can be used to efficiently transmit data from different domains from a source to a target destination. In this example, protocol frames in a first protocol can be packaged in the payload field of a packet in another protocol. By employing this approach, both protocols remain standards-compliant. As further described with respect to FIG. 52, LoRaWAN® frames received at the gateway 5122 from sensors 5124 in a fog device, such as the LoRaWAN® network 5106, can be packaged into IEEE 802.15.4 frames before transmission. Further protocol packing may be performed at the first access point 5112. At a target device, such as the second access point 5118, the packaging is removed and the frames are transmitted to the target device 5124. This can be used for communication in fog devices, including remote devices accessed via a different network or via the core network 5116.

[0549] 52 is a schematic diagram 5200 of protocol packing used to package frames from one protocol to another, according to some embodiments. In the example shown in diagram 5200, a LoRaWAN® frame 5202 is packed into the payload field of a packet 5204, which is then included in an IEEE 802.15.4 MAC frame 5206. The MAC frame 5206 has a header 5208 that forms the transmission frame for transmission to a destination.

[0550] This method can be used to support any number of other data link layer and transport encapsulation targets. For example, frames conforming to the Data Over Cable Service Interface Specification (DOCSIS) protocol can be encapsulated in AX.25 protocol packets. DOCSIS is used for high-speed data transfer over cable and radio systems. It is primarily used for high-speed data transfer such as broadband Internet and television services. AX.25 was developed by the Tucson Amateur Packet Radio (TAPR) and American Radio Relay League (ARRL) organizations in 1996 and updated in 1998. AX.25 is a data link layer protocol derived from the AX.25 protocol, designed primarily for use in impaired narrowband radio networks in amateur radio bands.

[0551] 53 is a schematic diagram 5300 of protocol packing used to package a LoRaWAN® frame 5302 within an IEEE 802.11 (or Wi-Fi®) MAC layer frame 5304, according to some embodiments. As shown in diagram 5300, the LoRaWAN® frame 5302 may be inserted as network data 5306 within the IEEE 802.11 MAC frame 5304. When the IEEE 802.11 MAC frame 5304 reaches a destination, such as a gateway leading to an LPWA network, the LoRaWAN® frame 5302 may be read from the IEEE 802.11 MAC frame 5304 and transmitted to the destination.

[0552] Figure 54 is a process flow diagram of an example method 5400 for protocol packing for transmission of a frame, according to some embodiments. The method 5400 described with respect to Figure 54 may be implemented by an IoT device 5500 described with respect to Figure 55. Block 5402 represents when data is ready to be transmitted, for example.

[0553] In block 5404, available source and destination protocols are identified. An inventory of available protocols is created and stored in the gateway or access point, and ingress and egress protocols for protocol packaging are identified. Payload sizes and constraints associated with each protocol are identified, as well as necessary frame field information, such as addresses, flags, etc.

[0554] At block 5406, payload constraints are checked against the payload to be transmitted, e.g., a source frame. At block 5408, a determination is made as to whether the source frame will fit into the destination protocol payload. If not, at block 5410, the payload is fragmented into multiple payloads. This may be done, for example, by splitting the payload into N byte sequences. Each byte sequence may be placed into a separate destination protocol frame, and the packet sequences are numbered.

[0555] At block 5414, the payload and device metadata are written to the destination field. At block 5416, the frame is dispatched towards the destination. At block 5418, a determination is made as to whether all data fragments have been processed. If not, process flow returns to block 5414 to write and send the next fragment.

[0556] At block 5420, a determination is made as to whether more data needs to be transmitted, e.g., whether another ingress frame has been received. If so, process flow returns to block 5404 to process the next frame. Otherwise, method 5400 ends at block 5422, at which point the device waits for another frame to be received.

[0557] Figure 55 is a block diagram of an example of components that may be present in an IoT device 5500 for packaging frames of a first protocol within frames of a different protocol, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 5500 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0558] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0559] The mass storage 808 may include a communicator 5502 that accepts frames from a mesh device 812 or a device in the cloud 302 and relays the frames to other mesh devices 812, devices in the cloud 302, etc. In addition to the functions described with respect to FIG. 55, the communicator 5502 may perform other functions, such as translating frames between protocols, performing proof-of-provenance additions, etc., as described with respect to 4502. Furthermore, the communicator 5502 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0560] A protocol library builder 5504 can determine which protocols are available and build a protocol library 5506 that stores the protocol and format for each. The format can include constraints such as data field lengths that can be used to determine how to format the frame, such as splitting an ingress frame into fragments for transmission in multiple egress frames.

[0561] The frame analyzer 5508 may be used to analyze ingress frames 5510 received from a transmitting device to determine length, packaging protocol, and other constraints. The frame builder 5512 may use the determined constraints to construct an egress frame 5514. For example, the frame builder 5512 may construct multiple egress frames 5514 if the ingress frame 5510 is too large to fit within the payload field of the egress frame 5514. Once one or more egress frames 5510 are constructed, the communication unit 5502 may transmit them toward a destination.

[0562] Figure 56 is a block diagram of an exemplary non-transitory machine-readable medium 5600 including code for instructing a processor 902 to package frames of a first protocol into frames of a different protocol. The processor 902 can access the non-transitory machine-readable medium 5600 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 5600 can include a device described for mass storage 808 of Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0563] The non-transitory machine-readable medium 5600 may include code 5602 for instructing the processor 902 to create an inventory of possible ingress and egress protocols. Code 5604 may be included for instructing the processor 902 to analyze an ingress frame to determine size and other constraints. Code 5606 may be included for instructing the processor 902 to determine a protocol for an egress frame. Code 5608 may be included for instructing the processor 902 to fragment an ingress frame if the ingress frame is too large to fit within the payload field of the egress frame. Code 5606 may instruct the processor to label each fragment with a sequence number for correct reassembly at the destination. Code 5610 may be included for instructing the processor 902 to write an egress frame, for example, by placing the ingress frame, or a fragment of the ingress frame with an associated sequence number, in the payload field of the egress frame. Code 5612 may be included to instruct processor 902 to route the egress frame toward the destination, for example, by sending the frame to a subsequent device with an address indicating the final destination.

[0564] The increasing use of complex data structures in low overhead communications such as LoRaWAN®, along with packaging frames of different protocols within other protocols, demonstrates the usefulness of more advanced framing. A new framing structure is described with respect to Figure 57.

[0565] 57 is a diagram of a payload structure 5700 that may be used as a payload within a low-power wide-area (LPWA) frame 5702, such as a LoRaWAN® frame, according to some embodiments. The payload structure 5700 may be used for multimodal data, including information from one or more sources that may be aggregated, fragmented, interleaved, or otherwise structured, for example. These types of multimodal data may often be of a data size that requires multiple LPWA frames 5702 to dispatch to an intended destination.

[0566] The payload structure 5700 specification provides for minimal frame overhead, which may be as listed in Table 1.

[0567] [Table 1]

[0568] In some aspects, the payload format identifier identifies the type of data being carried in the payload structure 5700, such as an image, a 24-bit GPS report, or a 3x2 byte sensor report, among others. Example values ​​that may be used for the payload format identifier are provided in Table 2. Because this is a 4-bit field, 15 possible identifiers are available.

[0569] [Table 2]

[0570] In some aspects, the frame overhead may include an encryption flag to indicate whether the payload is encrypted, e.g., Encr=0x1 if encrypted and Encr=0x0 if not encrypted. The Device ID may include a string (e.g., a 4-byte string) representing a unique identifier for the transmitting device. This may be an identifier assigned using the blockchain methods described herein or may be a manufacturer-assigned name, among other things. The Device ID field may be used, for example, to support any number of endpoint IDs per radio. In some examples, a 2-byte identifier may be used to support up to 65535 endpoint IDs per radio, assuming ID zero is disabled.

[0571] The batch size indicates the number of payloads included in a single message. The sequence number indicates the position of a particular payload structure 5700 in the sequence for reassembly. The length of the payload field is carried in the length field. The LoRa frame encapsulation may provide a message integrity check (MIC) for uplink messages. Otherwise, a separate MIC field can be included in the frame 5702 above.

[0572] In some aspects, payloads for longer messages may need to be fragmented across multiple frames. These frames do not need to be transmitted sequentially in IoT networks but may be transmitted over parallel wireless channels to reduce transmission time and improve transmission efficiency. This technique, called network division multiplexing (NDM), is a network protocol-agnostic method of splitting data into multiple independent, parallel data subsets and transmitting them over multiple network paths before recombining at the destination. This technique leverages the ability to overlay multiple data streams operating in parallel over different interconnected network paths and infrastructures, for example, using different protocols. NDM supports multiple identical network paths, such as multiple LPWA paths, or multiple different network infrastructure paths, such as multiple LPWA paths in conjunction with multiple IEEE 802.15.4g routes.

[0573] Lossy network characteristics affecting data stream alignment and one or more of the NDM paths can adversely affect recombination at the destination. However, these issues can be reduced by the integration of adaptive delay / disruption tolerant protocols such as the Licklider Transport Protocol (LTP), which can be used as a convergence layer for fault-tolerant protocols such as the Bundle Protocol (BP), described in http: / / www.rfc-editor.org / rfc / pdfrfc / rfc5050.txt.pdf (last accessed August 25, 2016).

[0574] In LTP, data can be identified as critical and non-critical. Critical data, such as headers, must be transmitted correctly and acknowledged before the data is discarded by the transmitting unit. Non-critical data, such as a single pixel in a picture, may be recoverable from transmission or may be less important if lost, and therefore the data may be discarded after transmission. Due to excessive latency, no negotiation is performed before initiating communication. The following diagram illustrates the transmission of data using the NDM technique.

[0575] Figure 58 is a schematic diagram 5800 of a transmission data payload 5802 that has been fragmented into multiple sub-blocks 5804 for transmission, according to some embodiments. Each of the sub-blocks 5804 has a variable length L i The sub-blocks 5802 may be assigned to N network paths, in which one or more network protocols or PHYs are used.

[0576] Sub-header data can then be attached to each sub-block 5804, e.g., each frame in a data sub-stream can be encapsulated with header data to indicate the order of the sub-streams within the main data payload and support recombination at the destination. The header data can also include a maximum transit time, e.g., a time-to-live, as well as prioritization and retry policies. Once the header information is attached, the sub-blocks 5804 can be packaged with different protocol frames used for transmission, e.g., as described with respect to Figure 54 above.

[0577] 59 is a schematic diagram 5900 of NDM-serial-to-parallel transmission according to some embodiments. Sub-block 5804 is configured to send a signal at time T tx 5902. In some cases, sub-block 5804 may be dispatched at time T t ×[i] may be transmitted in a synchronous path-by-path dispatch mode, where each [i] represents a transmission path.

[0578] Figure 60 is a schematic diagram 6000 of receiving sub-blocks 5804, according to some embodiments. At the destination, or other intended interception point, the sub-blocks 5804 may be received in a different order and at a different time offset than when dispatched. The sub-blocks 5804 may be unpackaged if packaged in a different protocol and analyzed to determine the number and order of sub-blocks 5804 expected for the message. The sub-blocks 5804 may then be held until all portions are received before being reassembled into the TX data payload 5802 of Figure 58.

[0579] Figure 61 is a schematic diagram 6100 of the recombination of sub-blocks 5804 to form a received data payload 6102, according to some embodiments. Header data in each sub-block 5804 is used to identify block order, and parallel to serial block format conversion is performed. Depending on instructions in the header, reassembly can occur even if sub-blocks 6102 are missing.

[0580] Figure 62 is a process flow diagram of an example method 6200 for fragmenting and dispatching a payload over multiple parallel communication channels, according to some embodiments. The method 6200 of Figure 62 may be performed by an IoT device 6400 described with respect to Figure 64. The method 6200 begins at block 6202, for example, when a data payload is ready for transmission.

[0581] Available network paths and associated protocols are discovered at block 6204. These are stored in a library on the IoT device and periodically tested to ensure connectivity still exists. The discovered information may also include data regarding the allowed payload size, transmission speed, etc. of the supported protocols.

[0582] At block 6206, a determination is made as to whether to dispatch the payload, which may be performed when the payload is ready and a connection to one or more networks exists.

[0583] In block 6208, the payload is fragmented based on, for example, available network paths and the maximum available payload size supported by the associated protocol. The fragmentation may take into account other parameters of the communication channel, such as transmission rate, priority, etc. The fragmentation may form sub-block 5804 described with respect to Figures 57-61.

[0584] At block 6210, the fragments are indexed. This may be done by assigning sequence numbers to the fragments and then constructing fragment headers that include the sequence numbers. The fragments are concatenated with headers to form sub-blocks. Individual sub-blocks may then be packaged in protocol frames for transmission over different paths, for example, as described with respect to Figures 52-56. At block 6212, the sub-blocks or fragments of the payload are dispatched along different transmission paths.

[0585] Figure 63 is a process flow diagram of an example method 6300 for receiving and recombining packets transmitted using NDM techniques, according to some embodiments. The method 6300 of Figure 63 may be performed by an IoT device 6400 described with respect to Figure 64. The method 6300 begins at block 6302 when fragments are received from a transmitting device over multiple different communication channels.

[0586] This can be done by detecting the reception of frames over multiple different paths and within multiple different protocols. If the frame is packaged in a different protocol, the payload is removed from the protocol frame and analyzed. The analysis parses the frame and strips off the header. The payload fragments are pushed to a local memory store and sequence numbers are recorded.

[0587] At block 6304, a determination is made as to whether all fragments have been received. If not, process flow returns to block 6302 to continue waiting for fragments. The IoT device does not need to wait for all fragments to be received before starting to assemble data. For example, a command in one of the fragments may indicate that the missing fragment contains non-critical data and therefore reassembly should not be stopped.

[0588] At block 6306, the fragments may be reordered and combined. For example, each fragment may be appended to the reassembled data payload by sequence number and length to form the received data payload. At block 6308, the reassembled payload is output, for example, to a consumer process.

[0589] Figure 64 is a block diagram of an example of components that may be present in an IoT device 6400 for fragmenting a payload for transmission along multiple parallel paths, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 6400 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0590] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0591] The mass storage 808 may include a communicator 6402 that transmits and receives frames from the mesh device 812 or devices in the cloud 302 via one or more communications links, such as via the mesh transceiver 810, the uplink transceiver 814, and the NIC 816, among others. In addition to the functions described with respect to FIG. 64, the communicator 6402 may perform other functions, such as translating frames between protocols, packaging frames in other protocols, performing proof-of-provenance additions, etc. Furthermore, the communicator 6402 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0592] The communication unit 6402 may be used by the network discovery unit 6504 to identify available networks and protocols for communication between the IoT device 6400 and the target device. The network discovery unit 6504 may build and maintain a list of available network communication paths and protocols to be used for parallel NDM communication.

[0593] The payload 6406 may be constructed by the IoT device 6400, for example, from measurements obtained from the sensors 820. In some examples, the payload 6406 may be passed from another IoT device within the mesh device 812, such as a more remote device. In this example, the IoT device 6400 may act as a gateway to pass communications including the payload to other devices.

[0594] The payload fragmenter / packager 6408 may analyze the payload and available communication channels to determine a channel combination that may result in optimal communication of the payload based on communication speed, reliability, power availability, or any number of other factors and combinations of those factors. The payload fragmenter / packager 6408 may then fragment the payload into sub-objects for transmission. Headers and other identifying and sequencing information may be added for transmission. Depending on the selected communication, the sub-objects may be packaged into data fields of various protocol frames and then transmitted over the communication channel selected by the communication unit 6402.

[0595] In some aspects, communication may be bidirectional. The payload receiver / analyzer 6410 may receive frames from other devices, remove protocol packaging, and analyze the frames to identify message and sequence information. The payload receiver / analyzer 6410 may determine that data fields of the received frames are sub-objects of the payload. The payload receiver / analyzer 6410 may store the sub-objects and sequence numbers until various conditions are met, and then pass the sequence numbers and storage information to the payload defragmenter 6412. The conditions may include a determination that all sub-objects in the payload have been received or that missing sub-objects in the sequence contain non-critical data and that assembly should proceed.

[0596] The payload defragmenter 6412 may reassemble the payload into a final payload object, for example, as described in Figure 63. The payload may then be consumed by the IoT device 6400 or sent to a data consumer.

[0597] Figure 65 is a block diagram of a non-transitory machine-readable medium 6500 including code for instructing a processor 902 to fragment and transmit a payload along multiple parallel paths, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 6500 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 6500 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0598] The non-transitory machine-readable medium 6500 may include code 6502 for instructing the processor 902 to discover available network paths and protocols to a receiving device. Code 6504 may be included for instructing the processor 902 to fragment the payload to fit into a data field of a frame for a protocol selected for communication. Code 6504 may instruct the processor 902 to add header information including, among other things, a packet sequence number. Code 6506 may be included for instructing the processor 902 to package the fragments into frames of different protocols depending on the selected communication. Code 6508 may be included for instructing the processor 902 to dispatch the frames in the direction of the target device via the selected different communication channel.

[0599] Code 6510 may be included for instructing processor 902 to receive fragments, for example, in frames of a different protocol. Code 6512 may be included for unpackaging the payload from the frames of the different protocol and then parsing the header information to identify the payload and a sequence number. Code 6512 may instruct processor 902 to determine when to attempt to reassemble the payload, for example, before all fragments have been received. Code 6514 may be included for instructing the processor to reassemble the payload based on the sequence number.

[0600] The communication techniques described above may be used to enable or enhance communications with remotely located IoT devices, such as weather sensors, industrial units, etc. Determining the location of these devices can be problematic, especially in networks with battery-powered units. Techniques that allow devices to determine their location from information communicated from other devices in the mesh network may allow at least some of the devices to conserve power. One technique for doing this is described in Figures 66-70.

[0601] Figure 66 is a schematic diagram of an overlay beacon system 6600 in which a beacon node 6602 provides location messages 6604 to nearby IoT devices 6606, according to some embodiments. For IoT deployments in areas without infrastructure, a single IoT node, or beacon node 6602, is equipped with a satellite-based positioning receiver and acts as a geolocation beacon to communicate location and time data to neighboring connected nodes. This can be done across multiple heterogeneous networks by transmitting a location payload as part of the payload data in a frame appropriate for each type of communication link. The beacon node 6602 can be an IoT device equipped with a GPS module, such as a satellite receiver for receiving signals from the Global Positioning System (GPS) satellite system, the global navigation satellite system (GLONASS), or other global navigation satellite systems (GNSS).

[0602] In some aspects, the beacon node 6602 can determine its location by acquiring signals 6608 from three or more Global Positioning System satellites 6610. The beacon transmitting node 6602 can convert data received from the satellites into a data type suitable for dispatch, for example, as a National Marine Electronics Association (NMEA) sentence. A location payload 6612 can be created containing the location data, such as in an IEEE 754 packed format. In this format, four bytes can be used to represent latitude 6614, four bytes can be used to represent longitude 6616, and four bytes can be an additional timestamp 6618. The beacon node 6602 can pack the location payload 6612 into a protocol frame for transmission to another device as a location message 6604. As described herein, any number of protocols can be used depending on the available communication channels.

[0603] At regular time intervals or upon event-based or other triggers, the beacon node 6602 transmits a location message 6604. IoT devices or other nodes within range of the beacon node 6602, for example, within tens to hundreds of meters from the beacon node 6602, can receive the location message 6604 and use the geolocation payload 6612 for their own messaging or other purposes. For example, time corrections for local devices may be performed using the timestamp 6618 from the beacon node 6602.

[0604] FIG. 67 is a process flow diagram of an example method 6700 for generating a location payload, according to some embodiments. The method 6700 of FIG. 67 may be performed by the IoT device 6900 described with respect to FIG. 69. Block 6702 represents, for example, when the device is powered on or otherwise instructed to begin a geolocation process. At block 6704, a position fix is ​​obtained. A command is sent to the GPS module to obtain a position. At block 6706, a wait time for a first fix is ​​performed, for example, 10 seconds, 30 seconds, 60 seconds, or more. After this wait time is completed, at block 6708, a determination is made as to whether a position has been obtained. If not, process flow returns to block 6706 to wait for another increment. If a position has been obtained, process flow returns to block 6704 with position data from the GPS module.

[0605] The location data is parsed in block 6710. This may be accomplished in block 6712 by extracting other data such as longitude, latitude, time, and altitude. The extracted data is stored in a local store 6714.

[0606] In block 6716, a location payload is constructed from the data in the local store 6714. The payload may be constructed in block 6718 by inserting the location into a packet, for example, using a 4-byte representation of the latitude and longitude location data in IEEE 754 format. A beacon ID may be inserted into the packet in block 6720, and a timestamp may be added in block 6722. The timestamp may be derived from a local clock or may be time data extracted from satellite data. The payload may be packed into a frame for transmission. The frame protocol may be based on the communication channel used, such as Ethernet, LoRaWAN, or 4G, among others.

[0607] At block 6724, the frame is broadcast to surrounding IoT devices. This may require activating a transmitter and dispatching the frame as a message via wireless transmission. In some examples, the frame may be transmitted over a wired network such as Ethernet. In some examples, a simple packet configuration may be used by adding a header to the payload to identify the packet as location information and broadcasting the packet to surrounding devices without direct or targeted communication.

[0608] At block 6726, a wait period can be implemented before repeating the process. This may be done by initiating a sleep command for a predetermined period of time. At block 6728, a determination is made as to whether to continue the location beacon process. If so, process flow returns to block 6704 to obtain the next location. Otherwise, the process ends at block 6730.

[0609]

[00101] Figure 68 is a process flow diagram of an example method 6800 for parsing a frame including a location payload, according to some embodiments. The method 6800 of Figure 68 may be implemented by an IoT device 6900 described with respect to Figure 69. Block 6802 represents, for example, when an IoT device discovers a beacon node. At block 6804, a beacon frame or location packet is received from the beacon node. At block 6806, the beacon ID is checked to confirm the identity of the beacon node. At block 6808, a frame integrity check is performed to determine whether the frame or location packet is valid. If not, process flow returns to block 6804 to await receipt of another frame or location packet.

[0610] If a valid frame or location packet is received, the location data, e.g., the location payload, is extracted at block 6812. The location payload may be parsed at block 6812. This may be done by extracting the latitude and longitude, and, if included, the altitude, from the payload at block 6814. A timestamp may be extracted at block 6818. The information may be stored in a local store 6816. The IoT device may then use the information from the local store 6816, for example, for messaging, synchronization, or other purposes.

[0611] At block 6820, a determination is made as to whether another beacon frame has been received. If so, process flow returns to block 6804 to process the frame. If not, process flow ends at block 6822.

[0612] This technique saves cost and battery power because every node does not require a dedicated GPS receiver. While precise per-device location or waypoint information is not required, this may provide sufficient information for IoT devices to identify their deployment area and perform location- and / or time-dependent tasks.

[0613] Figure 69 is a block diagram of example components that may be present in a beacon node 6900 to establish a beacon node system for sharing location data, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. Note that different components may be selected and used for the beacon node 6900 than those selected for the IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0614] In this example, the IoT device 6900 may include a GPS module 6902 to receive and process satellite position data. The GPS module 6902 may be included in multiple interconnected mesh devices 812, but only activated in one or a few. This may allow the system to have some position and time redundancy in the event of a failure at a beacon node 6900, for example due to low battery.

[0615] Mass storage 808 may include multiple modules for implementing the beacon functionality described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0616] The mass storage 808 may include a packet communicator 6904 that transmits and receives frames or location packets containing a location payload from the mesh device 812 or devices in the cloud 302 via one or more communication links, such as via the mesh transceiver 810, the uplink transceiver 814, and the NIC 816, among others. As described with respect to 4502, the packet communicator 6904 may perform other functions such as packaging the location payload in different protocols, performing proof-of-provenance checks, etc. Additionally, the communicator 6904 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0617] The GPS locator 6906 can communicate with the GPS module 6902 to obtain location information. The GPS locator 6906 can provide or limit power to the GPS module 6906, for example, to control battery usage or to power up the GPS module 6906 when another mesh device 812 having a GPS module fails. The GPS locator 6906 can collect and store GPS location data from the GPS module 6906.

[0618] The data analyzer 6908 may analyze the GPS location to determine other parameters such as latitude, longitude, time, and altitude. The analyzed data may be stored for further use.

[0619] The payload builder 6910 can use the parsed data to build a location payload. This can be done as described in relation to Figure 66. The payload can be packaged into a frame of a particular protocol type by the payload builder 6910. The frame can then be transmitted by the packet communicator 6904.

[0620] As described herein, an IoT device is not limited to functioning as a beacon node, but can also receive location data. This may be useful when the GPS module 6902 fails or when its location cannot be determined. In some examples, an IoT device 6900 may not have a GPS module 6902, but may function only as a location consumer.

[0621] The frame validator 6912 can be used to validate frames received from beacon nodes to determine if the packets match the beacon ID and contain valid data. The packet validator 6912 can also reject or ignore invalid packets, or send a retransmission request if, for example, the beacon ID is correct but the frame or position packet is corrupted.

[0622] The packet extractor 6914 can analyze the received frames to extract the location payload, which can include determining data indicative of latitude, longitude, and time information, as well as other information such as altitude.

[0623] Figure 70 is a block diagram of an exemplary non-transitory machine-readable medium 7000 including code for instructing a processor 902 to send and receive location payloads, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 7000 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 7000 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0624] The non-transitory machine-readable medium 7000 may include code 7002 for instructing the processor 902 to obtain position data from GPS satellites, for example, using a GPS module. Code 7004 may be included for instructing the processor 902 to parse the position data from the GPS module to obtain separate values ​​for latitude, longitude, and time. Code 7004 may instruct the processor 902 to determine other values, such as altitude, from the position data. Code 7006 may be included for instructing the processor 902 to construct a position payload including latitude, longitude, and time. Code 7006 may instruct the processor 902 to package the position payload into frames of a particular protocol. Code 7008 may be included for instructing the processor 902 to dispatch payload data through various communication channels. Code 7012 may be included for instructing the processor to extract position payload data from valid frames received from a beacon and store the payload data for other purposes.

[0625] Nearly all methods for storing and distributing information over a network utilize a push or pull method. Push can often be thought of as a gateway or base station broadcasting to all connected base nodes. This type of model is also commonly used in publish / subscribe models, where devices send data over a channel as a means of transmitting data. Additionally, most models use a central server from which endpoints broadcast (push) data, or a content server from which they pull. The techniques described with respect to Figures 71-74 use a combination of push and pull to distribute content over a network.

[0626] Figure 71 is a schematic diagram of a distributed content distribution system 7100 for a heterogeneous network, according to some embodiments. The distributed content distribution system 7100 can be used to enable distribution across heterogeneous networks that may be lossy or have intermittent connections. Furthermore, data can be distributed in a stateless manner. One or more IoT devices or nodes 7102 in the distributed content distribution system 7100 have a data manager 7104 that is responsible for managing data on the node. The data manager 7104 has multiple subsystems, including a data classifier 7106 that can classify inbound data 7108 and outbound data 7110 that passes through the distributed content distribution system 7100. Three main classifications of data are used: inbound, outbound, and cache.

[0627] In some aspects, the data mapper 7112 is responsible for mapping classified data to physical locations on the system. The data mapper 7112 can use algorithms such as hash functions to determine the optimal location for the data. The data classifier 7106 communicates with the resource manager 7114 to determine the classification of outbound and cached data. Inbound data 7108 is data intended for consumption by the node itself. The data mapper 7112 transfers the data to the inbox 7116, and the resource manager 7114 monitors the inbox 7116 for changes or updates.

[0628] The outbound data 7110 may be shared by nodes 7102 that are more than one hop away, as determined by the resource manager 7114. The outbound data 7110 may be stored in an outbox 7118. The resource manager 7114 calculates the number of hops by calculating the current resource availability at the node 7102, such as power and number of network nodes.

[0629] Cache data is data stored in the cache 7120 and determined to be useful to the node 7102. The data historian 7122 can track data entering and leaving the node 7102, such as inbound and outbound data requests. The protocol manager 7124 can manage the protocols used for incoming and outgoing frames, for example, based on the communication channel being used for the particular frame. The network manager 7126 can handle network communications over various communication channels, for example, hosting the network stack. The communications manager 7128 can handle physical level operations, i.e., PHY operations, of the radio, network interface controller, etc.

[0630] Figure 72 is a process flow diagram of an example method 7200 for distributed content delivery, according to some embodiments. The method 7200 of Figure 72 may be performed by the IoT device 7102 described with respect to Figures 71 and 73. At block 7202, data is classified. This is performed by classifying one or more inbound and outbound data passing through the system, such as inbound data, outbound data, and cached data.

[0631] The categorized data is mapped to the correct physical location on the system at block 7204. For example, as shown at block 7206, this may be performed using an algorithm to generate a hash code that identifies the location of the inbound data.

[0632] At block 7208, a determination is made as to whether the data is inbound. If so, the data is stored locally at block 7210. At block 7212, the hash key is checked. At block 7214, a determination is made as to whether the hash key is in the local store 7216. If not, at block 7218, the new data fragment is stored locally. Process flow then returns to block 7202.

[0633] If block 7214 determines that the key is in the local store 7216, then in block 7220 a determination is made as to whether the information should be ignored, for example, if it is identical to previous information in the local store 7216. If so, process flow returns to block 7202. If not, the data is in the local store 7216 and is updated with the new fragment, and process flow returns to block 7202.

[0634] If block 7208 determines that the data is outbound data, then the maximum number of hops is calculated in block 7224. This is called the time to live (TTL) and may be determined by calculating the current resource availability at the node, such as power, number of network nodes, etc. In block 7226, the data is dispatched, or pushed, to the target node.

[0635] A target node can also pull data by requesting the data from a node one hop away. A data pull request can have a TTL measured in terms of a hop count, i.e., the number of hops a packet makes as it traverses the network, with the TTL being decremented following each hop. When the TTL reaches a zero count, the data fragment is invalidated. The TTL may also be measured in absolute time, e.g., seconds, minutes, or hours, and the data fragment is invalidated when the timeout expires. If the pull request is not received within the timeout, the request can be pushed to a node, which can then forward it through the system.

[0636] At block 7226, a determination is made as to whether to continue distributed sharing of the content. If so, process flow resumes at block 7202.

[0637] Each node can track inbound and outbound requests received in a data history section. A cache window can be maintained for all requests. Frequency can be determined by several factors, such as the number of requests over a period of time.

[0638] Devices also self-manage cache size by applying accessed counters and timers to determine how often cached data is accessed. If data is accessed frequently, the cache may increase, and if it is accessed infrequently, the cache may decrease. Each node also determines whether data can be pushed or pulled through the data manager.

[0639] Figure 73 is a block diagram of an example of components that may be present in an IoT device 7300 for implementing a distributed content distribution system, according to some embodiments. Like numbered items are as described with respect to Figures 3, 8, and 71. It should be noted that different components may be selected and used for IoT device 7300 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0640] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0641] Mass storage 808 may include modules described with respect to Figure 71. Data stores 7304, such as inbox 7116, outbox 7118, cache 7120, and data history section 7122, may be included in mass storage 808 or may be stored elsewhere, such as in memory on other devices.

[0642] The mass storage 808 may include a communicator 7302 that transmits packets to and receives frames from the mesh device 812 or devices in the cloud 302 via one or more communications links, such as via the mesh transceiver 810, the uplink transceiver 814, and the NIC 816, among others. In addition to the functions described with respect to FIG. 73, the communicator 7302 may perform other functions, such as translating packets between protocols, adding proof of provenance, etc., as described with respect to 4502 in FIG. 45. Furthermore, the communicator 7302 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0643] Figure 74 is a block diagram of a non-transitory machine-readable medium 7400 including code for instructing a processor 902 to implement a distributed content distribution system, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 7400 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 7400 can include a device described for mass storage 808 in Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0644] The non-transitory machine-readable medium 7400 may include code 7402 for classifying data passing through a distributed content distribution system as inbound data, outbound data, or cached data. Code 7404 may be included for instructing the processor 902 to map the classified data to a physical location on the system. Code 7404 may instruct the processor 902 to determine an optimal location for the data. Code 7406 may instruct the processor 902 to calculate a hash function of the data. Code 7408 may be included for instructing the processor 902 to determine whether a hash key is in a local store.

[0645] Code 7410 may be included for instructing processor 902 to locally store a new data fragment. Code 7412 may be included for updating the locally stored data fragment. Code 7414 may be included for instructing the processor to calculate a lifetime for the data fragment, e.g., a number of hops before deletion, a time before deletion, or both. Code 7416 may be included for dispatching data to other nodes, e.g., frame by frame. The protocol of the frame may be selected based on the communication channel used to transmit the frame.

[0646] 75 is a schematic diagram of a wireless memory system 7500, according to some embodiments. The wireless memory system 7500 uses a communication channel 7502 between two or more connected nodes, such as an originating node 7504 and a receiving node 7506, as a storage medium 7508. This is essentially a wireless sequential access memory system in which the wireless signals themselves act as the storage medium 7508 for data transferred between nodes 7504 and 7506. Thus, nodes 7504 and 7506 may exchange storage space for communication bandwidth.

[0647] In the wireless memory system 7500, data 7510 arriving at an originating node 7504 is looped back 7512 for transmission to another node, such as a receiving node 7506. Data 7514 arriving at the receiving node 7506 is then looped back 7516 and sent back to the originating node 7504. In some examples, multiple nodes may form a chain for receiving and transmitting data. By repeating this process, data remains in flight and the communication channel 7502 acts as a storage medium.

[0648] Figure 76 is another schematic diagram of a wireless memory system 7500, according to some embodiments. Like numbered items are as described with respect to Figure 75. In this example, a network stack 7602 for an originating node 7504 and a network stack 7604 for a receiving node 7506 are shown. Data 7606 arriving from an application layer 7608 of the originating node 7504 may be tagged, protected, and sent as a transmission 7514 to the receiving node 7506 for storage. However, the receiving node 7506 does not pass the data in the transmission 7514 to the application layer 7610, but may perform a loopback operation 7516 in the network / routing layer 7612 to send the received data as another transmission 7510, for example, back to the originating node 7504.

[0649] Round-trip memory storage time, M tm is given as follows: TO stack +T TX +T1 stack +T RX In this formula, TO stack represents the time it takes for the storage payload to pass through the network / routing layer 7614 of the originating node 7504 and exit via wireless transmission. TX denotes the in-flight transmission time from the source node 7504 to the destination node 7506. T1 stack represents the time when the intra-stack loopback 7516 occurs in the receiving node 7506, and T RXis the transmission time in flight from the receiving node 7506 back to the originating node 7504.

[0650] Figure 77 is a process flow diagram of an example method 7700 for fragmenting and storing data in a transmission loop between devices, according to some embodiments. The method 7700 of Figure 77 may be performed by an IoT device 7900 described with respect to Figure 79. The method 7700 begins at block 7702 when power is applied to the system. At block 7704, the communication subsystem is started and communication channels are established between different devices.

[0651] At block 7706, a routing operation between devices is initiated. The routing operation may be a data transmission or a data storage request. At block 7708, a determination is made as to whether the routing request is a data storage request. If not, the data is routed and process flow returns to block 7706 to await another routing request.

[0652] At block 7710, the data to be stored is fragmented, for example, to fit into individual frames or other suitable packaging. At block 7712, the data is encapsulated into memory packets. Because the data is simply routed back rather than transferred over a communication channel, packaging is simple; for example, memory packets may be formed by adding a header indicating that the data is being stored and a sequence number. This reduces overhead and allows for an increase in the amount of data that can be stored. At block 7714, the memory packets are reassembled or ordered to allow for identification of the beginning and end points of the data.

[0653] At block 7716, the memory packet is dispatched over the communication channel. At block 7718, a determination is made as to whether all memory packets have been sent. If not, process flow returns to block 7716 to dispatch another memory packet. If all packets have been dispatched, process flow returns to block 7706.

[0654] Figure 78 is a process flow diagram of an example method 7800 for data storage and access using a communication channel for storage, according to some embodiments. The method 7800 of Figure 78 can be performed by an IoT device 7900 described with respect to Figure 79. Block 7802 represents when, for example, the device is powered up. At block 7804, the communication subsystem is started and a communication channel is established with another device.

[0655] At block 7806, a routing operation is performed, for example, when a packet or frame is received by the device. At block 7808, a determination is made as to whether a memory packet has been received. If not, process flow returns to block 7806 to complete the routing and wait for another packet or frame to be received.

[0656] If a memory packet is identified in block 7808, a determination is made as to whether the packet should continue to be stored in block 7810. If so, in block 7812 the packet is returned to the storage process, for example, back to the sending device.

[0657] If no more packets are to be stored, the payload is removed from the packet and stored at block 7814. At block 7816, the sequence number is determined from the header information and stored for data reassembly. At block 7818, a determination is made as to whether all packets have been received. If not, process flow returns to block 7806 to wait for the next packet or frame.

[0658] If all packets have been received, as determined in block 7818, the payloads are reassembled to form data in block 7820. In block 7822, the data is consumed by the consumer.

[0659] Figure 79 is a block diagram of an example of components that may be present in an IoT device 7900 for storing data in a transmission channel, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 7900 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0660] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0661] The payload fragmenter 7902 may receive the storage request and fragment the data into payloads based on the communication channel, the size of the data, etc. The payload fragmenter 7902 may determine a sequence number associated with the payload in the data stream. The encapsulator 7904 may encapsulate the payload into a packet, with a header identifying the packet as a storage request. The header may also include the sequence number of the payload. Depending on the selected communication channel, the packet may be packaged in a data field of a protocol frame, although overhead may favor the use of simpler encapsulation.

[0662] The mass storage 808 may include a communicator 7906 that transmits and receives packets to and from the mesh device 812 or devices in the cloud 302 via one or more communication links, such as via the mesh transceiver 810, the uplink transceiver 814, and the NIC 816, among others. In addition to the functions described with respect to FIG. 79, the packet communicator 7902 may perform other functions, such as translating packets between protocols, adding proof of provenance, etc., as described with respect to 4502 of FIG. 45. Furthermore, the packet communicator 7902 may be part of the right-of-way system 3312 described with reference to FIG. 33.

[0663] The router 7908 can examine received packets and frames to determine whether they are part of a storage request. Packets containing stored data may be retransmitted, for example, from the network / routing level in the communications stack. If a retrieval request is received, the router may intercept packets containing stored data for retrieval. The router 7908 can also receive data from applications and determine whether it should be stored or transmitted.

[0664] The payload extractor 7910 can take the extracted packets from the storage stream and extract the payload and sequence number from the packets. The data assembler 7912 can then reassemble the retrieved data for use by the device. If some packets are missing, the data assembler 7912 can instruct the router to continue looking for those packets.

[0665] Figure 80 is a block diagram of an exemplary non-transitory machine-readable medium 8000 including code for instructing a processor 902 to store data on a transmission channel, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 8000 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 8000 can include a device described for mass storage 808 of Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0666] The non-transitory machine-readable medium 8000 may include code 8002 for instructing the processor 902 to establish a communications channel with another device. Code 8004 may be included for instructing the processor 902 to determine whether the routing request is a data storage request. Code 8004 may be included for instructing the processor 902 to fragment data for the storage request into payloads. Code 8008 may be included for instructing the processor 902 to encapsulate the payloads into memory packets.

[0667] Code 8010 can be included for instructing processor 902 to route the memory packet over a communication channel. Code 8010 can instruct processor 902 to determine whether to resend the memory packet to another device or to intercept it for use.

[0668] Code 8012 may be included for instructing processor 902 to unpackage the payload from the memory packet and then parse the header information to identify the sequence number. Code 8014 may be included for instructing processor 902 to reassemble the data from the payload based on the sequence number.

[0669] Figure 81 is a diagram of a waveform 8100 that may be used for dynamic signaling, according to some embodiments. As described herein, preamble waveforms 8102 and 8104 may be added before a transmit waveform 8106, which transmit waveform includes multiple overlapping frames within an individual channel. The preamble waveforms 8102 and 8104 may be used by a base station to dynamically determine the number of data channels to be used by a client device for the uplink. The use of preamble waveforms 8102 and 8104 may eliminate the use of out-of-band control messaging or other synchronization information to inform the base station of the data channels.

[0670] In some aspects, the preamble waveforms 8102 and 8104 may be analog waveforms constructed using shifted Zadoff-Chu (ZC) sequences. ZC sequences are a type of so-called constant amplitude zero autocorrelation (CAZAC) sequence, which have autocorrelation and cross-correlation properties that make them very attractive for synchronization purposes. They are primarily used in the Long Term Evolution (LTE) standard for high-speed wireless communications.

[0671] In some aspects, a ZC sequence is a complex sequence that, when applied to a wireless signal, results in an electromagnetic signal of constant amplitude, such that circularly shifted versions of the sequence imposed on the signal have zero cross-correlation with each other at the receiver. The unshifted generated sequence is known as the root sequence.

[0672] ZC sequences also have the property of constant amplitude. When employed in communication signals, this improves the efficiency of power amplifiers in transmitters. This allows for the use of lower-cost power amplifiers than typically used for high-linearity systems such as orthogonal frequency division multiplexing (OFDM). The ability to maintain a linearly amplified signal using ZC or other constant envelope sequences is less complex and less expensive than using sequences with rapidly changing amplitude profiles. Loss of linearity can degrade signal quality. CAZAC sequences exhibit excellent anti-noise properties and can be detected even when the signal-to-noise ratio is as low as -10 dB. Taken together, all of these properties make ZC sequences very attractive when used for preamble signaling and synchronization in communication systems.

[0673] This technique is designed to add client and base station signaling waveforms to the front of exchanged frames, indicating the channel being used for that particular frame. It is designed for wireless systems using dynamic spectrum access and adaptive bandwidth techniques, and is particularly suited to systems that do not use or require control channels or scheduled uplink (UL) / downlink (DL) time slots.

[0674] In a channelized system, preamble structures 8102 and 8104 may allow a client device to inform a receiving base station of the number of channels to be used to convey an UL data payload from the client device to the base station before the client dispatches its UL payload message. An example use is in low-power wide-area wireless communications used for low-overhead IoT systems. These techniques allow remote client devices to dynamically change the bandwidth they use when more data needs to be dispatched to the base station in UL mode, or when variable data lengths need to be dispatched from the base station to these devices, for example, to support over-the-air firmware and configuration updates.

[0675] Figure 82 is a process flow diagram of an example method 8200 for transmitting data using a ZC preamble structure, according to some embodiments. The method 8200 of Figure 82 may be implemented by an IoT device 8500 described with respect to Figure 85. At block 8202, the client device determines the number of available or possible channels N. This may be performed by an information-theoretic analysis of the communication channels coupling the devices. The number of available channels may be transmitted to the receiving device to initialize communication, for example, in a single channel message.

[0676] In block 8204, a set of N ZC sequences corresponding to the number of available channels N is generated by dividing each channel by a unique integer non-zero ZC shift value K associated with each channel. c where c represents the channel number. Note that all wireless devices, including the base station, have knowledge of K and generate their own copies of the channel information. c The ZC sequence for is generated according to the following equation:

number

number

[0677] The device may then determine the number of channels k that the device intends to use to dispatch UL data to the base station in communication. For example, the device need not use all possible channels but may use a fewer number to increase the signal-to-noise ratio for transmission.

[0678] At block 8206, the wireless client device receives a sequence K corresponding to the number c of channels used to transmit the waveform. c Then, in block 8208, the client device generates a ZC preamble. In block 8210, the wireless device pre-empts an existing complex-valued baseband waveform used by the device to transmit a modulated frame with a single ZC sequence xK. c At block 8212, the wireless client device upconverts and transmits the baseband waveform.

[0679] Figure 83 is a process flow diagram of an example method 8300 for receiving data on multiple channels using ZC shift sequences, according to some embodiments. The method 8300 of Figure 83 may be implemented by an IoT device 8500 described with respect to Figure 85. The method 8300 begins at block 8302 when the receiving device determines the number of channels to be used by the transmitting device. This may be performed by autocorrelation on the incoming complex-valued sequence to detect the preamble. N ZC If is a prime number, the ZC sequence has period N ZC It is periodic in N ZC If is prime, the discrete Fourier transform (DFT) of a ZC sequence is also a ZC sequence. The autocorrelation between a prime-length ZC sequence and a cyclically shifted version of itself is zero. The preamble can also be detected by performing cross-correlation with each of the shifted ZC sequences at the receiving device. If one sequence works, the signal strength of that sequence will be much higher than the others, as explained with respect to Figure 84.

[0680] In block 8304, if a preamble is detected, the channel number intended to be used by the client device is determined from the cross-correlation of the received ZC preamble with a set of known possible ZC shift sequences. The receiver requires a priori knowledge of the ZC sequence length, NZC, and the set of shift values ​​and can use the following formula:

number

number

number

[0681] The sequence used in the received signal is determined by the correlation results. The zero autocorrelation ZC sequence property allows this to be achieved with high confidence. If a ZC preamble is not detected at block 8304, the process flow returns to block 8304 and repeats for the next frame.

[0682] In block 8306, an inverse mapping is performed to determine the channel number corresponding to the detected ZC sequence used in the UL signal. In block 8310, the base station prepares its receive chain to receive and demodulate the combined i channel payload from the client device immediately following the ZC-based signaling waveform. In block 8312, the payload data for each of the N channel data is demodulated using, for example, cross-correlation techniques against the payload waveform with the shifted ZC sequence corresponding to the channel.

[0683] FIG. 84 illustrates the formula for each of the sequences given by K, according to some embodiments:

number

[14] . This determines which sequence Kc resulted in the largest correlation peak. The first plot shows that the first sequence, u=19, k=19, and u corresponds to channel c, resulted in the largest correlation output. More specifically, the correct sequence ZCd is determined by finding the maximum of: ZC d =max(max(x Kc )) x Kc is the output of the cross-correlation process.

[0684] Figure 85 is a block diagram of an example of components that may be present in an IoT device 8500 for using ZC sequences to transmit data on multiple simultaneous channels, according to some embodiments. Like numbered items are as described with respect to Figures 3 and 8. It should be noted that different components may be selected and used for IoT device 8500 than those selected for IoT device 800 described with respect to Figure 8, and other IoT devices described herein.

[0685] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0686] The mass storage 808 may include a channel identifier 8502 that determines the maximum number of channels available. A sequence generator 8504 may generate a ZC sequence for each of the channels. A preamble generator may generate a preamble waveform that indicates the number of channels to be used for communication. The communicator 8506 may use the ZC sequence associated with a channel to generate a modulated waveform for each of the frames associated with that channel. The communicator 8506 may then superimpose the modulated waveform, prepend the preamble waveform, and pass the resulting waveform to a transmitter, such as the mesh transceiver 810.

[0687] In some aspects, communication is bidirectional. The index identifier 8510 can analyze a waveform received from another device and perform a cross-correlation to determine whether a preamble is present. If present, the index identifier can perform a lookup to determine the number of channels in the payload. The channel demodulator 8512 can demodulate the information in each of the channels to recover the original frame transmitted in that channel.

[0688] Figure 86 is a block diagram of an exemplary non-transitory machine-readable medium 8600 including code for instructing a processor 902 to communicate over a channel that modulates using a ZC shift sequence, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 8600 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 8600 can include a device described for mass storage 808 of Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0689] The non-transitory machine-readable medium 8600 may include code 8602 for instructing the processor 902 to determine the number of available channels. Code 8604 may be included for instructing the processor 902 to generate a ZC sequence for each of the channels. Code 8606 may be included for instructing the processor 902 to generate a ZC preamble for the modulation waveform. Code 8608 may be included for instructing the processor 902 to prepend the ZC preamble to the modulation waveform. Code 8610 may be included for instructing the processor 902 to transmit the ZC preamble and the modulation waveform.

[0690] Code 8612 may be included to instruct processor 902 to perform cross-correlation on the received waveform to determine whether a ZC preamble is present and, if so, how many channels are represented. Code 8614 may be included to instruct processor 902 to configure the receiver for the number of channels present. Code 8616 may be included to instruct processor 902 to demodulate the channels to recover data from each channel.

[0691] Figure 87 is a schematic diagram of a multi-radio coexistence system 8700 in an IoT device 8702, according to some embodiments. The IoT device 8702 may be a gateway or coordinator that enables communication with the cloud or with other IoT devices in fog devices. As described herein, the multi-radio coexistence system 8700 enables communication with radio systems in other nodes 8706 using multiple radio systems 8704 to enable more efficient use of spectrum. This may enable coexistence between different radio technologies as well as between primary and secondary users of the frequency spectrum.

[0692] One approach is to use cognitive radio as a secondary user access system restricted to specific frequency bands, allowing license-exempt access by adapting to temporarily unused portions of the frequency spectrum. Cognitive radios can detect which communication channels are in use and move communications to vacant channels while avoiding occupied ones. Devices operating in these frequency bands follow a defined set of rules, including protecting primary users and coexisting with other users.

[0693] While CR covers the use of white space (WS) spectrum, the techniques described herein relate to the coexistence of wireless transceivers using standards, such as IEEE 802.11x, IEEE 802.15.4 compliant radios 8704, and non-standard radios such as LoRa. Communications between nodes 8706 can be used to share information regarding coexistence between wireless systems. For example, the coexistence manager 8708 can track the radios 8704 in use for a particular communication and store that information in the channel data store 8710.

[0694] In some aspects, the universal coexistence interface 8712 can access information from the coexistence manager 8708 to identify which communications can be used at which times. Wireless standards based on IEEE 802.22 and IEEE 802.11af already support methods for coexistence. For example, IEEE 802.22 uses a time-based method for coexistence, while IEEE 802.19.1 provides a mechanism for sharing coexistence data only between TV WS frequencies. The universal coexistence interface 8712 can also enable modification of operating parameters such as coding scheme and modulation, as well as the transmit power of individual radios.

[0695] The communication channel selected by universal coexistence interface 8712 may then be passed to a protocol abstraction API (application programming interface) 8714 to construct a frame for the particular communication channel. Protocol abstraction API 8714 may access a protocol data store 8716 to obtain protocols that can be used for the selected communication channel. Frames may then be sent to or received from other nodes 8706, as indicated by line 8718.

[0696] Figure 88 is a ladder diagram of an example method 8800 for control and management of multiple coexisting radios, according to some embodiments. The method 8800 of Figure 88 may be implemented by the IoT device 8702 described with respect to Figures 87 and 89. Like numbered items are as described with respect to Figure 87. In stage 8802, the coexistence manager 8708 sends a request 8802 for available bandwidth for communications to a local security authority domain broker (LSADB) 8804. The LSADB 8802 responds with a message 8806 indicating the available bandwidth.

[0697] The coexistence manager 8708 then calculates 8808 an initial band plan and builds 8810 a neighbor map including the identities of one or more neighboring devices. This information may be stored in the channel data store 8710 described in connection with FIG. 87. The coexistence manager 8708 may then send a request 8812 to a cross-domain information sharing system (CDIS) 8814 to identify communication channels or bands that may be used to communicate with the neighboring device. The CDIS 8814 may respond with a message 8815 that identifies communication channels that may be used with the neighboring device. This information may be used by the coexistence manager 8708 to determine 8816 an initial coexistence model that identifies both the neighboring device and the associated communication channels. At that point, the coexistence manager 8708 awaits further communication to set up the system.

[0698] To complete the initialization, the radio system 8704 may send message 8818 to the protocol conversion API 8714 to enumerate the radio types available to the IoT device. The protocol conversion API 8714 then verifies 8820 that the standards used for the present radio types, such as the protocols for frames, among others, are available in the protocol data store 8716, for example, as described with respect to FIG. 87. If not, the protocol conversion API 8714 may download the appropriate standards from the cloud. Then, in step 8822, the protocol conversion API 8714 verifies that the radio complies with the standards 8822 and sends a subscription request for the radio to the universal coexistence interface 8712.

[0699] The universal coexistence interface 8712 assigns radio management identifications to one or more of the radio types in stage 8826. The universal coexistence interface 8712 then sends a subscription request 8828 to the coexistence manager 8708 that includes the management IDs of the radio types.

[0700] After receiving the subscription request 8828, the coexistence manager 8708 determines 8830 the active coexistence model and updates or replaces the initial coexistence model. If any radio types were not present in the initial coexistence model, for example because they were not present in the CDIS 8814, the coexistence manager 8708 sends a subscription request 8832 for the new radio. The CDIS 8814 responds 8834, for example, with a message indicating that the radio has been registered. The coexistence manager 8708 then sends a notification 8836 to the universal coexistence interface 8712 that the subscription request for the new radio has been accepted.

[0701] Once the protocol conversion API 8714 has enumerated the radio type to the universal coexistence interface, it may send a message 8838 to the radio system 8704 to indicate that the function is complete. The message 8838 may enumerate the radio type that is being enumerated to the universal coexistence interface 8712.

[0702] The radio system 8704 can send message 8840 to the protocol conversion API 8714 to resume radio initialization of one or more of the radios. The protocol conversion API 8714 again checks the radio type standards (8842) and determines whether any of the radios are non-compliant (8844). The protocol conversion API 8714 can then send message 8846 to the radio system 8704 to set configurable parameters for each of the radios. The radio system 8704 can then respond with message 8848 confirming the parameters set for the radios. The protocol conversion API 8714 then creates a parameter mapping set for the radios in use and sends message 8852 to the radio system 8704 indicating that radio type enumeration is complete and communication with the radio system 8704 is initialized.

[0703] If CDIS 8814 detects a coexistence violation, for example if a licensed user is occupying a frequency that it blocks from use by an IoT device, it may send message 8854 to coexistence manager 8708 informing the violation. In stage 8856, coexistence manager 8708 may verify the coexistence violation, for example by determining whether the associated radio is receiving a blocking signal, and then set a flag indicating the violation (8858). Message 8860 may then be sent to universal coexistence interface 8712 to request a reconfiguration of communication parameters.

[0704] The universal coexistence interface 8712 can validate 8862 the radio type for coexistence violations and send message 8864 to the radio system 8704 with a new set of parameters, such as temporarily disabling a particular radio and shifting to a different frequency. The radio system 8704 can respond with message 8866 confirming the radio parameter changes. The radio system 8704 can then reconfigure the active type list with the protocol conversion API 8714, for example, by sending message 8840 to the protocol conversion API 8714 to indicate radio initialization of the radio. The radio system 8704 can then resume the radio initialization sequence 8868 by sending message 8840 to the protocol conversion API 8714. The protocol conversion API 8714 then proceeds with the initialization sequence 8868 via message 8852 to the radio system 8704, indicating that radio type enumeration is complete and communications with the radio system 8704 is initialized.

[0705] Iteratively, the coexistence manager 8708 may perform good neighbor checks 8870 to determine which other nodes are still in communication with the IoT device. If communication changes, the coexistence manager may determine 8872 neighbor command list changes and make 8874 local changes to the command list. The coexistence manager 8708 may then send a reconfiguration message 8876 to the wireless system 8704 with the new set of parameters. The wireless system 8704 may respond with a message 8878 confirming acceptance of the parameters. As described herein, the wireless system 8704 can repeat the initialization sequence 8868 using the protocol conversion API 8714.

[0706] In addition to triggering changes through repeated confirmation by the coexistence manager 8708, other units may request changes to communication parameters. For example, the coexistence manager 8708 may determine that a change request has been received from a neighboring unit (8880). The coexistence manager 8708 may then send a reconfiguration request 8882 to the wireless system 8704 with the proposed parameters. The wireless system 8704 may then respond with a message 8884 confirming that the parameters have been accepted. The wireless system 8704 may then repeat the initialization sequence 8868 using the protocol conversion API 8714.

[0707] FIG. 89 is a block diagram of an example of components that may be present in an IoT device 8900 for using coexisting radios to communicate with other nodes, according to some embodiments. Like numbered items are as described with respect to FIGS. 3, 8, and 87. Note that different components may be selected and used for the IoT device 8900 than selected for the IoT device 800 described with respect to FIG. 8 and other IoT devices described herein. The radio system 8704 described with respect to FIG. 87 may correspond to radios used for the mesh transceiver 810, the uplink transceiver 814, or both. The other nodes 8706 may include mesh devices 812, devices in the cloud 302, or both.

[0708] Mass storage 808 may include multiple modules for implementing the affiliation group formation described herein. Although shown as code blocks in mass storage 808, it will be understood that any of the modules may be replaced, in whole or in part, with hardwired circuitry, such as being incorporated into an application specific integrated circuit (ASIC).

[0709] The mass storage 808 may include a coexistence manager 8708 for controlling the use of multiple coexisting radios. The universal coexistence interface 8712 may interface with the radios, for example, via a protocol conversion API 8714. The protocol abstraction API 8714 may track different communication channels in use and package data for the specific protocol needed on a frame-by-frame basis. The channel data store 8710 may hold active communication plans and radios determined by the coexistence manager. The protocol data store 8716 may store available protocols for the protocol conversion API 8714. The communication unit 8902 may transmit frames from the protocol conversion API 8714 to another device, for example, using an appropriate radio within the mesh transceiver 810 or the uplink transceiver 814.

[0710] Figure 90 is a block diagram of an exemplary non-transitory machine-readable medium 9000 including code for instructing a processor 902 to manage multiple coexisting radios, according to some embodiments. The processor 902 can access the non-transitory machine-readable medium 9000 via a bus 904. The processor 902 and bus 904 can be implemented in a manner similar to the processor 902 and bus 904 described with respect to Figure 9. The non-transitory machine-readable medium 9000 can include a device described for mass storage 808 of Figure 8, as well as an optical disk, a thumb drive, or any number of other hardware devices.

[0711] The non-transitory machine-readable medium 9000 may include code 9002 for instructing the processor 902 to determine an initial band plan and build a neighbor map including identities of neighboring units and communication channels that may be used with the identified neighboring units. The initial band plan may be determined from a list of radios in the device and may include which radios are expected to be available and their associated protocols. The band plan may then be finalized after determining the radios that are actually available. Code 9004 may be included for instructing the processor 902 to determine an initial coexistence model that identifies both neighboring units and associated bands. The coexistence model may be finalized after initialization of the wireless system enables determination of which radios and bands are operable. Code 9006 may be included for instructing the processor 902 to determine whether a coexistence violation exists, for example, after being notified by an external unit or by detecting an interfering transmission. Code 9008 may be included for instructing the processor 902 to reconfigure communications, for example, if a coexistence violation is detected, if repeated checks of neighboring units indicate that parameters need adjustment, or upon request from the neighboring units.

[0712] Code 9010 may be included for instructing processor 902 to initialize protocol conversion, for example, by the radio system notifying the protocol conversion API of available communication channels. Code 9012 may be included for instructing processor 902 to package data into frames for a particular communication channel. Code 9014 may be included for instructing processor 902 to transmit the frames over an associated communication channel. Code 9016 may be included for instructing processor 902 to reinitialize the protocol conversion function after radio operation has changed.

[0713] Figure 91 is a schematic diagram of a service network overlay function across a heterogeneous network (HetNet) 9100, according to some embodiments. This technique allows for the creation of service chains across heterogeneous networks, thereby enabling automatic provisioning and reconfiguration of IoT devices in fog or mesh networks. For example, IoT devices may be functionally clustered to form services such as temporary virtual devices or fog devices, as described with respect to Figure 4. In a HetNet, the network 9100, domains 9102 and 9104, may include IoT devices that may be grouped together to perform specific functions, such as traffic control functions at intersections. Devices may connect to each other and to the cloud 302 via any number of wired and wireless links 9106.

[0714] The network domain 9102 or 9104 may include a network domain controller (NDC) 9108, or service coordinator, running on a device within the network domain 9102 or 9104. The NDC 9108 may be dynamically...

Claims

1. At least one memory; machine-readable instructions; 1. A processor circuit, comprising: calculating a first hash value based on a code object prior to execution of the code object, the code object being executed in a boot sequence; comparing the first hash value with a trusted second hash value on a blockchain; executing the code object in a trusted execution environment after determining that the first hash value matches the second hash value; after determining that the first hash value does not match the second hash value, comparing the first hash value to an untrusted third hash value on the blockchain, the third hash value being associated with a computer attack; and isolating the code object after determining that the first hash value matches the third hash value; a processor circuit that executes the machine-readable instructions to at least An apparatus comprising:

2. The apparatus of claim 1 , wherein the trusted execution environment is one of Software Guard Extensions (SGX), TrustZone, or a Hardware Security Module.

3. The apparatus of claim 1 or 2, wherein the code object is executed by the apparatus, the apparatus being an Internet of Things (IoT) device.

4. The processor circuit includes: creating a block containing an image of the isolated code object; committing the block to the blockchain in a blockchain transaction; The apparatus according to claim 1 , further comprising:

5. The apparatus of claim 1 , wherein the third hash value is included in an untrusted list on the blockchain, the untrusted list being written to the blockchain by a device different from the apparatus.

6. 6. The apparatus of claim 1, wherein the processor circuitry adds an image of the code object to an unsorted list and adds the unsorted list to the blockchain after determining that the first hash value does not match the third hash value.

7. The apparatus of claim 6 , wherein the processor circuitry is further configured to halt communication with a trusted device until the image of the code object added to the unclassified list is verified.

8. At least one processor, calculating a first hash value based on a code object prior to execution of the code object, the code object being executed in a boot sequence; comparing the first hash value with a trusted second hash value on a blockchain; causing execution of the code object in a trusted execution environment after determining that the first hash value matches the second hash value; after determining that the first hash value does not match the second hash value, comparing the first hash value to a third untrusted hash value on the blockchain, the third hash value being associated with a computer attack; isolating the code object after determining that the first hash value matches the third hash value; A program for at least executing the above.

9. 9. The program of claim 8, wherein the trusted execution environment is one of Software Guard Extensions (SGX), TrustZone, or a Hardware Security Module.

10. The program product of claim 8 or 9, wherein the code object is executed by an Internet of Things (IoT) device comprising the at least one processor.

11. The program causes the at least one processor to: generating a block containing an image of the separated code object; causing recording of said block on said blockchain in a blockchain transaction; The program according to claim 8 , further comprising:

12. 12. The program of claim 8, wherein the third hash value is included in an untrusted list on the blockchain, and the untrusted list is written to the blockchain by a device different from the at least one processor.

13. 13. The program of claim 8, further causing the at least one processor to perform the steps of adding an image of the code object to an unsorted list and adding the unsorted list to the blockchain after determining that the first hash value does not match the third hash value.

14. The program of claim 13 , further comprising the step of: ceasing communication with a trusted device until the image of the code object added to the unclassified list is verified.

15. At least one storage disk or storage device storing a program according to any one of claims 8 to 14.

16. calculating a first hash value based on a code object prior to execution of the code object, the code object being executed in a boot sequence; comparing the first hash value with a trusted second hash value on a blockchain; executing the code object in a trusted execution environment after determining that the first hash value matches the second hash value; after determining that the first hash value does not match the second hash value, comparing the first hash value to an untrusted third hash value on the blockchain, the third hash value being associated with a computer attack; isolating the code object after determining that the first hash value matches the third hash value; A method comprising:

17. The method of claim 16 , wherein the code object is executed by an Internet of Things (IoT) device.

18. generating a block containing an image of the isolated code object; storing the block in the blockchain within a blockchain transaction; 18. The method of claim 16 or 17, further comprising:

Citation Information

Patent Citations

  • Program loader with tampering verification function for load-destination information, processor including program loader, data processing device including processor, program loading method, and integrated circuit

    JP2007133860A

  • Equipment quarantine method, quarantine equipment, aggregation client management equipment, aggregation client management program, network connection equipment, and user temrinal

    JP2007299342A

  • Access monitoring system and access monitoring method

    JP2010020713A

  • Virus-checking system, virus-checking device and program

    JP2011186823A

  • Malware detector, and method and program for the same

    JP2012083849A