The present disclosure relates generally to computer networks, and, more particularly, to thing discovery and configuration for an Internet of Things (IoT) integrated developer environment (IDE).
The “Internet of Things” (IoT), also referred to as the “Internet of Everything” (IoE), represents the next big industrial transformation taking place in computer networking today. While the space is still forming, it is clear that a developer ecosystem and developer experience play an essential role for this transition. That is, IoT and IoE developers are still learning what is an IoT/IoE architecture, and how to efficiently develop an IoT/IoE application and/or technology within a part of the IoT/IoE stack.
The embodiments herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identically or functionally similar elements, of which:
According to one or more embodiments of the disclosure, thing discovery and configuration for an Internet of Things (IoT) integrated developer environment (IDE) is shown and described. In particular, in one embodiment, a computer operates an Internet of Things (IoT) integrated developer environment (IDE) that discovers one or more real-world physical devices within a computer network that are available to participate with the IoT IDE. The IoT IDE may then determine a respective functionality of each of the one or more real-world physical devices, and virtually represents the one or more real-world physical devices as selectable options within the IoT IDE for an IoT application, where a respective virtual representation of each of the one or more real-world physical devices is configured within the IoT IDE with the corresponding respective functionality of that real-world physical device. Simulating the IoT application within the IoT IDE then relays input and/or output (I/O) between the IoT IDE and a selected set of real-world physical devices according to their corresponding respective functionality.
A computer network is a geographically distributed collection of nodes interconnected by communication links and segments for transporting data between end nodes, such as personal computers and workstations, or other devices, such as sensors, etc. Many types of networks are available, with the types ranging from local area networks (LANs) to wide area networks (WANs). LANs typically connect the nodes over dedicated private communications links located in the same general physical location, such as a building or campus. WANs, on the other hand, typically connect geographically dispersed nodes over long-distance communications links. The Internet is an example of a WAN that connects disparate networks throughout the world, providing global communication between nodes on various networks.
Smart object networks, such as sensor networks, in particular, are a specific type of network having spatially distributed autonomous devices such as sensors, actuators, etc., that cooperatively monitor physical or environmental conditions at different locations, such as, e.g., energy/power consumption, resource consumption (e.g., water/gas/etc. for advanced metering infrastructure or “AMI” applications) temperature, pressure, vibration, sound, radiation, motion, pollutants, etc. Other types of smart objects include actuators, e.g., responsible for turning on/off an engine or perform any other actions. Often, smart object networks are considered field area networks (FANs), neighborhood area networks (NANs), personal area networks (PANs), etc. Generally, size and cost constraints on smart object nodes (e.g., sensors) result in corresponding constraints on resources such as energy, memory, computational speed and bandwidth.
Loosely, the term “Internet of Things” (IoT) or “Internet of Everything” (IoE) refers to uniquely identifiable objects (things) and their virtual representations in a network-based architecture. In particular, the next frontier in the evolution of the Internet is the ability to connect more than just computers and communications devices, but rather the ability to connect “objects” in general, such as lights, appliances, vehicles, heating, ventilating, and air-conditioning (HVAC), windows and window shades and blinds, doors, locks, etc. The “Internet of Things” thus generally refers to the interconnection of objects (e.g., smart objects), such as sensors and actuators, over a computer network (e.g., via IP), which may be the public Internet or a private network.
As mentioned above, the IoT/IoE represents an industrial transformation where a developer ecosystem and a developer experience are still being established. In particular, as noted, IoT and IoE developers are still learning what is an IoT/IoE architecture, and how to efficiently develop an IoT/IoE application and/or technology within a part of the IoT/IoE stack.
As an illustration, an IoT/IoE architecture 100 may comprise various layers, such as shown in
For today's application developers, there are several pain points and challenges in developing and deploying IoT applications.
The present disclosure describes an integrated developer environment (IDE) for IoT application developers (also referred to as a “developer accelerator environment”), which improves the IoT developer and operator experience. The illustrative IDE is designed to address the developer challenges of IoT applications with layered/distributed architecture (e.g., cloud, network, fog, devices, etc.), and is aligned with the various aspects of an overall IoT architecture, including things, edge computing, IoT platform as a service (PaaS), and end user devices.
In particular, in the proposed integrated developer environment, various services, tools, etc., are provided for platform emulations, data-flow protocol/algorithm simulation, live management, and so on. With this single environment, developers can easily program even for different thing/fog/cloud platforms, and can also simulate the developed IoT application/service without deploying to real things/Fogs/Clouds/devices. Additionally, the illustrative IDE is not a closed system, and can be configured to leverage and connect to third-party resources, which can include sensor simulation libraries, virtual smart things, cloud services, etc.
Integrated Developer Environment (IDE) for Internet of Things (IoT) Applications
An IoT application or “app” typically involves many layers of devices and services, such as the sensors and actuators, the routers, fog-based processing, cloud-based processing, etc. Considering each of these layers when writing an IoT app can be a difficult task, in terms of both interoperability within each layer as well as interoperability across the layers.
The embodiments herein, therefore, define a developer accelerator environment, or “integrated developer environment” (IDE), to improve the IoT developer experience. With reference to
Specifically, according to one or more embodiments herein, a graphical user interface (GUI) is established for an Internet of Things (IoT) integrated developer environment (IDE) with one or more visual developer tools. Nodes are provided within the IoT IDE having connectivity and functionality, where the nodes selected from a) discovered real nodes in communication with the IoT IDE or b) virtual nodes within the IoT IDE, and a plurality are connected as a logical and executable graph for a flow-based programming framework virtualized across one or more IoT layers. The nodes may then be programmed based on respective connectivity and functionality, such that the logical and executable graph has one or more real and/or virtual inputs, one or more real and/or virtual processing functions, and one or more real and/or virtual actions. Upon deploying the node programming to one or more corresponding platform emulators configured to execute the node programming, the logical and executable graph may be simulated by the IoT IDE by executing the node programming to produce the one or more actions based on the one or more inputs and the one or more processing functions.
With regard to the hierarchical levels indicated in
For platform emulation 320, the platforms to be emulated may include the things (e.g., sensors, actuators, etc.), the Fog platform, the Cloud platform, and the end-user platforms (e.g., Web). Notably, for the things, it is not easy to emulate different things from individual vendors. In one embodiment, therefore, the techniques herein may provide one format specification to standardize about how to specify the functionalities and the interfaces of the virtualized things. Then based on the format specification, thing vendors could provide their virtualized products such that the things could be emulated in the developer environment. For instance, if a particular format “X” is used to describe the virtualized thing, then the developer environment herein can import the “X” file to simulate the thing under the corresponding runtime. Then the thing vendor could use format “X” to design their products and provide customers virtualized samples. Notably, with the emulated platforms, developers can simulate the business logics in individual platforms, and also the data-flow protocol compliance between platforms.
For the node programmability and flow based programming framework 330, the “node” stands for the computing node in different hierarchical levels. It can be one virtualized thing, one Fog node, or one Cloud node. In a lower level, the node could be one MQTT client, one filter, or one data visualization sink. The developer environment herein provides the ability to enable the developers easily to program on these computing nodes using modern programming languages such as Java/Python/JavaScript/etc.
Due to the layered and distributed nature, the IoT application can be viewed as a network of asynchronous processes communicating by means of streams of structured data chunks, not as a single, sequential process. In this view, such as the graph 400 shown in
The illustrative IoT IDE provides the flow-based programming framework to allow developers to program the nodes. The flow-based programming framework would include:
Referring still to
Lastly, based on the platform emulation, the flow programming framework, and the node-kit, the IoT IDE provides visual developer tools 350 in the IDE for developers to easily program. Examples of such visual developer tools include dragging icons, connecting items logically, programming the items, validating the configurations, and running (executing) the system to obtain a result (virtualization, simulation, etc.).
In addition,
The things, generally, can be placed and interconnected within the IoT Developer Accelerator Environment 740, which allows (menu 750) selecting, connecting, and deleting the objects (nodes 760) and their connections (770), and so on. As shown below, the interconnections and functionality/logic of the things may be programmed and simulated, all based on any combination of real (physical) and virtual inputs, real and virtual processing, and real and virtual outputs.
An example workflow for the described IDE for developing and evaluating an IoT application/system may include the steps shown in the flow 800 of
To create nodes in the IDE, developers can either access virtual nodes from a node-kit which contains a pre-defined set of nodes and corresponding functionality, or they can also create new virtual nodes that define the numbers of input and output ports and functionality. Note that in some cases, developers might have a physical development board (e.g. Raspberry Pi) and physical sensors, or else may otherwise have access to other physical things. For example, as shown in
Additionally, there are environments in which various real devices may be otherwise accessible to the developer, such as over a computer network. In either case, the IDE platform also supports auto discovering the connected physical devices and auto creating the instances of these devices (as shown in the example 1000 of
Note that the IDE allows developers to use nodes for any of the things/fogs/clouds layers, where these layers have different node implementations because of different runtime environments. For example, for the thing layer, the “Node.js” runtime environment may be used, which is lightweight and can be run in real low-cost hardware such as Raspberry Pi, while the nodes in the Fog layer may be run in the IOx runtime (available from Cisco Systems, Inc.), which would be simulated in the proposed environment. So even the nodes with the same functionality (e.g., MQTT client) but in different layers may be presented as different types of nodes.
For connecting and programming nodes, as shown in view 1100 of
In one embodiment, particularly for touchscreen implementations, algorithms are defined for auto-placement and auto-connection of the logical “blocks” (nodes). That is, the developer may be able to just select a node, and “flick” it in the general direction of the intended location, and the IoT IDE can determine where to connect the node within the graph based on various rules, e.g., based on input/output ports, how close they are on the canvas, etc. Similar functionality is available for auto-connection of the nodes based on proximity, that is, without the “flicking” motion. In other words, if two nodes are placed near each other that have appropriate “interconnectability” (e.g., a sensor and a sensor gateway), then the IoT IDE may automatically connect those two nodes. (Manual adjustment of the connections and locations are available to the developer in case such auto-placement and auto-connections are not actually the developer's intention.)
As shown in the view 1200 of the GUI in
More complex functionality may be programmed into the virtual nodes, and the view shown herein is merely for illustration. For instance, different people can work on different modules, such as highly-complex control systems, and then all of these different modules/nodes can be placed in the IoT IDE (e.g., an open API platform) and implemented in a single environment. In this manner, third-party developers are also allowed to write new components for addition to the thing libraries.
Note again the IoT IDE functions across IoT layers. Certain developers may actually only be interested in programming the sensors, while others may be interested in only the routers and/or fog layers, etc. Since it can be tremendously complicated to program an environment that spans across all the layers (from cloud down to devices), the IoT IDE can abstract certain layers that the developer is not interested in detailing, but that are needed for certain functionality. For instance, assuming that a developer is creating a fog function, he/she may not care about the actual protocol of the sensors, but instead merely requires input that mimics the sensors. Conversely, a developer may be creating a sensor/actuator device, and wants to test the functionality between sending data, and receiving instructions, but may not specifically require the detailed cloud/big data algorithms that determine how or when to provide such instructions based on whatever data.
Once the connections and logic/policies are defined, then the system from the GUI canvas can be deployed to emulators for simulation of the graph. That is, after the graph is formed, the IDE enables developers to deploy the nodes individually to emulation engines. For example, the thing node written above by JavaScript can be deployed to the node.js engine; the fog node could be deployed to the emulated IOx platform. Any appropriate animations can then be displayed to show the data flow and policy, and any visualizations (e.g., graphs, charts, messages, etc.), virtualized acts (e.g., lights turning on/off, actuators moving/activating, etc.) may also be presented within the IoT IDE.
Note that once a smaller graph is verified, such as a single logical grouping (e.g., a sensor, a controller, and an actuator), or a relatively small plurality of groupings (e.g., a plurality of sensors, a controller, and one or more actuators), the IoT IDE may be used to “scale-up” (or “scale-out”) this smaller graph into a larger graph, which could be multiple instances of the same graph, or larger numbers of sensors, actuators, etc.
The tested and verified system (app, devices, logic controllers, etc.) may then be deployed to real platforms, i.e., after simulation (particularly on the scale-up scenario), the tested graph/system is ready to deploy to the real platforms (e.g., sending the reference design to manufacturers, etc.).
Once deployed in the real world, the IoT IDE may continue to be used for live maintenance and service, such as the illustrative view 1300 shown in
The proposed developer environment thus significantly improves the experience of IoT application developers, especially for ones with the Fog computing model. In particular, the IoT IDE herein allows for a workflow that can start with any number of real devices and any number of virtual devices, moving through development, testing, and redesign, through to actual deployment and maintenance with physical devices in the real world.
When connecting a plurality of the nodes in step 1420, as detailed above, the IoT IDE generates a logical and executable graph for a flow-based programming framework virtualized across one or more IoT layers. Notably, in one embodiment, the IoT IDE may check for input/output (I/O) compliance between any two of the nodes prior to allowing a logical connection between those two nodes. As also mentioned above, the IoT IDE may be configured to intelligently auto-place and auto-connect two or more nodes within the IoT IDE based on proximity of the two or more nodes to each other and based on their respective connectivity, as well as other factors that may dictate such intelligent auto-placements and auto-connections. (Manual adjustments may still be made by the user in such an embodiment.)
The nodes represented by the IoT IDE may then be programmed in step 1425 as detailed above, generally based on respective connectivity and functionality, such that the logical and executable graph has one or more real and/or virtual inputs, one or more real and/or virtual processing functions, and one or more real and/or virtual actions (e.g., outputs, visualizations, actuations, notifications, cloud-connected processing, etc.).
In step 1430, the IoT IDE deploys the node programming to one or more corresponding platform emulators configured to execute the node programming (e.g., thing emulators, fog emulators, cloud emulators, and end-user emulators). Note that as explained above, in step 1435 one or more of the IoT layers that are undeveloped by a developer may be abstracted in order to emulate functionality, thus producing an outcome necessary for remaining developed IoT layers (e.g., sensed values, actions, communication protocol operations, and so on).
When the logical and executable graph is simulated in step 1440 by executing the node programming by the IoT IDE, one or more actions are produced based on the one or more inputs and the one or more processing functions from the steps above. In general, the platform emulators cooperate to simulate the corresponding layers of the IoT application designed within the IDE, and may be configured to emulate protocol-level connectivity (e.g., specific message formats, sizes, data, etc.), and/or mere logical connectivity between nodes (e.g., temperature “T” is sent from device “A” to device “B”, regardless of protocol used).
In certain embodiments, the IoT IDE may be used to scale-up the graph into a larger graph as described above (e.g., scaling-up the number of nodes, the number of sub-graphs, etc.) in step 1445. In addition, in certain embodiments, in step 1450 the resultant graph may be deployed into a real-world platform for operation of node programming on one or more real-world devices (such as for providing maintenance and service access to the deployed graph in a real-time, real-world environment, e.g., a DevOps platform).
The procedure 1400 ends in step 1455, though notably may continue to operate from any step noted above, such as when new nodes are discovered or designed, where new connections are made, new programming configured, and so on.
It should be noted that while certain steps within procedure 1400 may be optional as described above, the steps shown in
Thing Discovery and Configuration for an Internet of Things (IoT) Integrated Developer Environment (IDE)
As mentioned above, to create nodes in the IDE, developers might have a physical development board with attached objects, or else may otherwise have access to other physical things, such as over a computer network. As also mentioned, the IDE platform also supports auto discovering the connected physical devices and auto creating the instances of these devices (again, as shown in
When creating a developer environment that uses both virtual and physical things, however, knowing what things (objects, sensors, actuators) are available in the physical world and what their functionality is (operation, interaction, etc.) can be a difficult task. Accordingly, the embodiments herein define a discovery protocol to discover “things” in the accessible real world that can be used by the IoT IDE, such as sensors or cameras on a shared network. The protocol may detect the things through either a request/response beacon, a registration protocol, or other means, and when discovered, can either access a general library of the functionality (a configuration file), or can obtain it from the detected thing itself. One aspect of the techniques herein is that certain devices can represent many “otherwise undiscoverable things”, such as gateways that interact with many sensors/actuators (e.g., an IP connected sensor gateway that has ten sensors attached to it that are not, themselves, IP connected). In this manner, the IoT IDE can represent the “hidden” things logically just as they would be interacted with in the real world, i.e., through the gateway device.
Specifically, according to the techniques herein, a computer may operate an Internet of Things (IoT) integrated developer environment (IDE) that discovers one or more real-world physical devices within a computer network that are available to participate with the IoT IDE. The IoT IDE may then determine a respective functionality of each of the one or more real-world physical devices, and virtually represents the one or more real-world physical devices as selectable options within the IoT IDE for an IoT application, where a respective virtual representation of each of the one or more real-world physical devices is configured within the IoT IDE with the corresponding respective functionality of that real-world physical device. Simulating the IoT application within the IoT IDE then relays input and/or output (I/O) between the IoT IDE and a selected set of real-world physical devices according to their corresponding respective functionality.
A high-level (and simplified) example of a real-world environment 1500 is shown in
The protocol defined herein may detect the things accessible by the IoT IDE in a variety of manners, such as through a request/response beacon, a registration protocol, or other means, where such communication is generally illustrated through communication 1610 in
One important feature of the embodiments herein is that certain devices can represent many “otherwise undiscoverable things”, such as gateways that interact with many sensors/actuators (e.g., an IP connected sensor gateway that has ten sensors attached to it that are not, themselves, IP connected). For example, as shown in
In addition, according to the techniques herein, once a thing is discovered, the IoT IDE can either access a general database or library of the functionality (a configuration file), such as remote configuration database 1810 as shown in
The techniques described herein, therefore, provide for thing discovery and configuration for an Internet of Things (IoT) integrated developer environment (IDE). While there have been shown and described illustrative embodiments that provide for specific examples of thing discovery and configuration for an Internet of Things (IoT) integrated developer environment (IDE), it is to be understood that various other adaptations and modifications may be made within the spirit and scope of the embodiments herein. In addition, while certain protocols, programming environments, or software languages are shown or described, other suitable protocols may be used, accordingly.
In step 2020, the IoT IDE may determine a respective functionality of each of the one or more real-world physical devices. For certain devices, this determination may be based on accessing a networked database of device functionalities (e.g., looking up the device online), or else accessing a local database of device functionalities within the IoT IDE (e.g., already known functionalities of common devices). Alternatively, in certain embodiments, the IoT IDE may simply obtaining device functionality from the particular real-world physical device itself.
In step 2025, the IoT IDE virtually represents the one or more real-world physical devices as selectable options within the IoT IDE for an IoT application. In particular, the respective virtual representation of each of the one or more real-world physical devices may be configured within the IoT IDE with the corresponding respective functionality of that real-world physical device, accordingly. Note that as mentioned above, an access device may be discovered that is configured to interact with one or more hidden devices to provide network connectivity to the one or more hidden devices. As such, the one or more hidden devices may be included within the one or more virtually represented real-world physical devices as selectable options within the IoT IDE. Also, as shown in step 2030, a library of virtual devices may be configured within the IoT IDE as additional selectable options within the IoT IDE for the IoT application, as described above.
In step 2035, the IoT IDE simulates the IoT application, relaying input and/or output (I/O) between the IoT IDE and a selected set of real-world physical devices according to their corresponding respective functionality. The procedure 2000 illustratively ends in step 2040, however further devices may be discovered, additional simulations may be performed, and so on.
It should be noted that while certain steps within procedure 2000 may be optional as described above, the steps shown in
Illustratively, the techniques described herein may be performed by hardware, software, and/or firmware, such as in accordance with various applications, devices, communication modules, etc. For instance, various processes/programs may include computer executable instructions executed by a processor to perform functions relating to the techniques described herein.
The network interfaces 2210 include the mechanical, electrical, and signaling circuitry for communicating data over physical links coupled to a computer network. The network interfaces may be configured to transmit and/or receive data using a variety of different communication protocols. Notably, a physical network interface may also be used to implement one or more virtual network interfaces, as will be understood by those skilled in the art. The memory 2240 comprises a plurality of storage locations that are addressable by the processor(s) 2220 and the network interfaces 2210 for storing software programs and data structures associated with the embodiments described herein. The processor 2220 may comprise necessary elements or logic adapted to execute the software programs and manipulate the data structures 2245. An operating system 2242, portions of which are typically resident in memory 2240 and executed by the processor(s), functionally organizes the node by, among other things, invoking network operations in support of software processes and/or services 2244 executing on the device. These software processors and/or services may comprise computer executable instructions executed by processor 2220 to perform various functionality as described above, and may interact with other processes/services 2244 within memory 2240 of the device 2200 or with processes/services of other devices.
It will be apparent to those skilled in the art that other processor and memory types, including various computer-readable media, may be used to store and execute program instructions pertaining to the techniques described herein. Also, while the description illustrates various processors, it is expressly contemplated that various processors may be embodied as modules configured to operate in accordance with the techniques herein (e.g., according to the functionality of a similar process). Further, while processors may be shown and/or described separately, those skilled in the art will appreciate that processors may be routines or modules within other processors.
The foregoing description has been directed to specific embodiments. It will be apparent, however, that other variations and modifications may be made to the described embodiments, with the attainment of some or all of their advantages. For instance, it is expressly contemplated that the components and/or elements described herein can be implemented as software being stored on a tangible (non-transitory) computer-readable medium (e.g., disks/CDs/RAM/EEPROM/etc.) having program instructions executing on a computer, hardware, firmware, or a combination thereof. Accordingly this description is to be taken only by way of example and not to otherwise limit the scope of the embodiments herein. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the embodiments herein.
The present application claims priority to U.S. Provisional Application No. 62/172,476, filed on Jun. 8, 2015 for THING DISCOVERY AND CONFIGURATION FOR AN INTERNET OF THINGS INTEGRATED DEVELOPER ENVIRONMENT, by Maluf, et al., the contents of which are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
7340512 | Cochran et al. | Mar 2008 | B2 |
7640546 | Zarenin et al. | Dec 2009 | B2 |
8621211 | Kishore et al. | Dec 2013 | B1 |
8844041 | Kienzle et al. | Sep 2014 | B1 |
8984107 | Fiennnes | Mar 2015 | B2 |
20060029007 | Ayyagari | Feb 2006 | A1 |
20100057827 | Tawfik | Mar 2010 | A1 |
20120311071 | Karaffa | Dec 2012 | A1 |
20150019714 | Shaashua | Jan 2015 | A1 |
Entry |
---|
Wang et al. (Chinese patent publication CN104601665, published on May 6, 2015). |
Number | Date | Country | |
---|---|---|---|
20160357524 A1 | Dec 2016 | US |
Number | Date | Country | |
---|---|---|---|
62172476 | Jun 2015 | US |