Dynamic User Interfaces in Machine-to-Machine Systems

Through asset abstraction and user interface abstraction technology, we solve the problems of IoT device interoperability and collaborative management, realize the automatic configuration and dynamic deployment of IoT applications, improve the flexibility and scalability of IoT systems, and support the operation of non-professional users. time control.

CN112995962BActive Publication Date: 2024-09-03INTEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110324995.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2016-07-01
Publication Date
2024-09-03
Estimated Expiration
2036-07-01

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively manage and program the interoperability and collaboration of IoT devices, which limits the development and deployment of IoT applications. Especially for non-professional users, traditional development tools have difficulties in controlling and adjusting service logic at runtime.

Method used

It uses asset abstraction and user interface abstraction technology to realize automated configuration and dynamic deployment of IoT devices through asset discovery, asset abstraction and asset binding, allowing users to manage and adjust IoT services at runtime, providing a portable, shareable and retrievable A reusable IoT application development platform.

Benefits of technology

Simplifies the deployment and management of IoT applications, reduces human intervention, improves the flexibility and scalability of IoT systems, allows non-professional users to control and adjust IoT services at runtime, and achieves portability and reusability of IoT applications sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112995962B
    Figure CN112995962B
Patent Text Reader

Abstract

The present application discloses a dynamic user interface in a machine-to-machine system. A set of capability abstractions for a specific application is defined using user input received through a graphical user interface of a programming tool, and the relationship between the set of capability abstractions is further defined based on one or more user inputs. The specific application is used to utilize a machine-to-machine network, and the set of capability abstractions includes: sensor capability abstractions, actuator capability abstractions, computing logic capability abstractions, input user interface (UI) capability abstractions, and output UI capability abstractions for the specific application. The relationship includes a relationship between an input UI capability abstraction and a computing logic capability abstraction, wherein the input UI capability is used to provide input to the computing logic capability abstraction. Generate service logic for a specific application to deploy an instance of the specific application in an environment based on the set of capability abstractions and relationships.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with PCT international application number PCT / US2016 / 040627, international application date July 1, 2016, application number 201680086714.6 entering the Chinese national phase, and entitled "Dynamic User Interface in Machine-to-Machine Systems". Technical Field

[0002] The present disclosure relates generally to the field of computer systems, and more particularly to managing machine-to-machine systems. Background Art

[0003] The Internet has made it possible to interconnect different computer networks around the world. Although Internet connections were previously limited to conventional general-purpose computing systems, products that are increasing in number and type are being redesigned to adapt to connections with other devices on computer networks (including the Internet). For example, smart phones, tablet computers, wearable devices, and other mobile computing devices have become very popular, even replacing larger, more traditional general-purpose computing devices (such as traditional desktop computers) in recent years. Mobile computing devices with smaller form factors and more constrained feature sets and operating systems are increasingly used to perform tasks that are traditionally performed on general-purpose computers. Further, traditional electrical appliances and devices are becoming more "intelligent" because they are ubiquitous and equipped with functions to connect to or consume content from the Internet. For example, devices (such as televisions, game systems, household appliances, thermostats, watches) have been equipped with network adapters to allow the device to be connected to the Internet (or other devices) directly or through a connection to another computer connected to the network. In addition, the overall increase in interconnected devices has also promoted the increase in computer-controlled sensors, which are also interconnected and collect new and large data sets. It is believed that the interconnection of an increasing number of devices (or "things") heralds a new era of advanced automation and interconnectivity, which is sometimes referred to as the Internet of Things (IoT). BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Figure 1A Embodiments of a system including multiple sensor devices and an example management system are shown.

[0005] Figure 1B An embodiment of a cloud computing network is shown.

[0006] Figure 2 Embodiments including an example data management system are shown.

[0007] Figure 3A is a simplified block diagram showing an example of asset abstraction and binding.

[0008] Figure 3B is a simplified block diagram illustrating an example of asset discovery.

[0009] Figure 3C is a simplified block diagram illustrating an example of asset abstraction and binding using a set of discovered assets.

[0010] Figure 4A-4B is a block diagram representing the abstraction layers of an example machine-to-machine application deployment.

[0011] Figure 5A is a screenshot of the sample graphical development tool for creating new machine-to-machine services.

[0012] Figure 5B is a simplified block diagram illustrating an example deployment of a new machine-to-machine service.

[0013] Figure 6 Is a simplified block diagram showing an example of an application that manages configuration settings between two instances of a machine-to-machine system.

[0014] Figure 7 is a simplified block diagram illustrating an example system for deploying a particular machine-to-machine system.

[0015] Fig. 8A is a flow diagram illustrating an example technique for developing applications using asset abstraction.

[0016] Figure 8B is a flow diagram illustrating an example technique for deploying an example machine-to-machine network using asset abstraction. Fig. 9 is a block diagram of an exemplary processor according to one embodiment; and

[0017] Fig.10 is a block diagram of an exemplary computing system according to one embodiment.

[0018] Like reference numbers and designations in the various drawings indicate like elements. DETAILED DESCRIPTION

[0019] Figure 1A1 is a block diagram showing a simplified representation of a system 100 that includes one or more devices 105a-d or assets deployed throughout an environment. Each device 105a-d may include a computer processor and / or a communication module to allow each device 105a-d to interoperate with one or more other devices (e.g., 105a-d) or systems in the environment. Each device can further include one or more instances of various types of sensors (e.g., 110a-c), actuators (e.g., 115a-b), memory, power, computer processing, and communication functions that can be applied and utilized (e.g., through other devices or software) within a machine-to-machine system or an Internet of Things (IoT) system or application. In some cases, inter-device communication and even deployment of IoT applications can be facilitated by one or more gateway devices through which one or more devices (e.g., 105a-d) communicate with and gain access to other devices and systems in one or more networks (e.g., 120).

[0020] A sensor or sensor asset is capable of detecting, measuring, and generating sensor data describing characteristics of the environment in which the sensor or sensor asset resides, is installed, or is connected. For example, a given sensor (e.g., 110a-c) can be configured to detect one or more corresponding characteristics (such as movement, weight, physical contact, temperature, wind, noise, light, computer communication, wireless signals, location, humidity, the presence of radiation, liquids, or specific chemical compounds, as well as multiple other examples). In fact, the sensors (e.g., 110a-c) described herein are expected to develop into a potentially infinite population of multiple sensors, each designed and capable of detecting and generating corresponding sensor data for new and known environmental characteristics. Actuators (e.g., 115a-b) are capable of allowing a device to perform some action to affect its environment. For example, one or more of the devices (e.g., 105b, 105d) may include one or more corresponding actuators that accept input and perform their corresponding actions in response. The actuator can include a controller to activate additional functionality (such as: an actuator that selectively switches operation of power or an alarm; a camera (or other sensor); heating, ventilation, and air conditioning (HVAC) appliances; home appliances; in-vehicle equipment; lighting; and other examples).

[0021] In some implementations, the sensors 110a-c and actuators 115a-b provided on the devices 105a-d may be assets included in and / or forming an Internet of Things (IoT) or Machine-to-Machine (M2M) system. An IoT system may refer to a new or improved self-organizing system and network consisting of a plurality of different devices that interoperate and collaborate to deliver one or more results or deliverables. Such self-organizing systems emerge because more and more products and equipment evolve to become "smart", where they are controlled or monitored by computing processors and are provided with facilities for communicating with other computing devices (and products with network communication capabilities) through computer-implemented mechanisms. For example, an IoT system may include a network built from sensors and communication modules integrated into or attached to "things" (such as equipment, toys, tools, vehicles, etc. and even living things (e.g., plants, animals, humans, etc.)). In some instances, IoT systems may evolve organically or unexpectedly, with collections of sensors monitoring various objects and associated environments, and interconnected with data analysis systems and / or systems that control one or more other smart devices to enable a variety of use cases and applications (including previously unknown use cases). Further, IoT systems may be formed from devices that have heretofore not been in contact with one another, the system being spontaneously or dynamically composed and automatically configured (e.g., in accordance with an IoT application that defines or controls the interactions). Further, IoT systems often consist of a complex and diverse collection of connected devices (e.g., 105a-d) (such as devices powered or controlled by various groups of entities and employing various hardware, operating systems, software applications, and technologies). In some cases, a gateway (e.g., 150) may be provided to localize a particular IoT system, the gateway being able to detect nearby devices (e.g., 105a-d) and deploy (e.g., in an automated, improvisational manner) instances of a particular IoT application by coordinating the configuration of these detected devices to meet the requirements of the particular IoT application, as well as other examples.

[0022] When building or defining an IoT system, it is an important issue to promote the successful interoperability of such diverse systems and other example considerations. Software applications can be developed to manage how a collection of IoT devices can interact to achieve a specific goal or service. In some cases, IoT devices may not be built or intended to participate in such services or collaborate with one or more other types of IoT devices at the beginning. In fact, part of the prospect of the Internet of Things is that as such devices become more common and new "smart" devices or "connected" devices appear, innovators in many fields will create new applications involving different groups of IoT devices. However, the action of programming or coding such IoT applications may be unfamiliar to these possible innovators, thereby limiting the ability to develop these new applications and bring these new applications to market, as well as other examples and problems.

[0023] like Figure 1A As shown in the example of , multiple IoT devices (e.g., 105a-d) can be provided, from which one or more different IoT applications can be built. For example, the devices (e.g., 105a-d) can include examples such as: mobile personal computing devices (such as smart phones or tablet devices); wearable computing devices (e.g., smart watches, smart clothing, smart glasses, smart helmets, headphones, etc.); specialized devices such as home automation devices, building automation devices, vehicle automation devices, and less traditional computer-enhanced products (e.g., smart temperature-ventilation-air conditioning (HVAC) controllers and sensors, light detection and control, energy management tools, etc.); smart appliances (e.g., smart TVs, smart refrigerators, etc.); and other examples. Some devices can be specially designed to host sensor and / or actuator sources (such as weather sensor devices including multiple sensors related to weather monitoring (e.g., temperature sensors, wind sensors, humidity sensors, etc.)), traffic sensors and controllers, and many other examples. Some devices may be statically located (such as: devices mounted inside buildings; devices mounted on lampposts, signs, water towers; devices fixed to the ground (e.g., indoors or outdoors); or other fixed or static structures). Other devices may be mobile (such as: sensors mounted inside or outside of vehicles; sensors within packaging (e.g., to track cargo); wearable devices worn by active human or animal users; aerial, ground-based, or underwater drones; and other examples). In fact, it may be desirable for some sensors to move around the environment and applications may be built around use cases involving moving objects or changing environments using such devices, including use cases involving both mobile devices and static devices, among other examples.

[0024] continue Figure 1A In some examples, a software-based IoT management platform may be provided to allow developers and end users to build and configure IoT applications and systems. The IoT application may provide software support to organize and manage the operation of a group of IoT devices for a specific purpose or use case. In some cases, the IoT application may be embodied as: an application on an operating system of a user computing device (e.g., 125); a mobile application for execution on a smartphone, tablet, smart watch, or other mobile device (e.g., 130, 135); a remote server; and / or a gateway device (e.g., 150). In some cases, the application may have or utilize an application management utility that allows a user to configure settings and policies to govern how a group of devices (e.g., 105a-d) operate within the context of the application. The management utility can also be used to coordinate specific instances of the IoT application, including automated selection and configuration of devices (and their assets) used with the application. In some cases, an IoT management application may be provided (e.g., on a gateway, user device, or cloud-based server, etc.), which is capable of managing potentially multiple different IoT applications or systems. In practice, the IoT management application or system may be hosted on a single system, such as a single server system (e.g., 140), a single end-user device (e.g., 125, 130, 135), or a single gateway device (e.g., 150), among other examples. Alternatively, the IoT management system may be distributed across multiple host devices (e.g., 125, 130, 135, 140, 150, etc.).

[0025] As described above, IoT applications can be localized so that services are implemented using IoT systems (e.g., systems of devices 105a-d) within a specific geographic area, room, or location. In some instances, IoT devices (e.g., 105a-d) can be connected to one or more gateway devices (e.g., 150) on which a portion of management functions (e.g., as shared with or supported by management system 140) and a portion of application service functions (e.g., as shared with or supported by application system 145) are present. Service logic and configuration data can be pushed (or pulled) to gateway device 150, and IoT devices (e.g., 105a-d, 130, 135, etc.) within range or proximity of gateway device 150 can be configured using the service logic and configuration data to allow a group of devices to implement a specific service within the location. A gateway device (e.g., 150) may be implemented as a dedicated gateway element, or it may be a multi-purpose device or a general purpose device (such as another IoT device (similar to devices 105a-d) or a user device (e.g., 125, 130, 135), among other examples, that may itself include sensors and / or actuators to perform tasks within the IoT system).

[0026] In some cases, the application can be programmed or otherwise built or configured using an interface of an IoT management system or a dedicated IoT application development platform. In some cases, the IoT application development tool can adopt asset abstraction to simplify the IoT application building process. For example, a user can simply select a category or classification of a device and logically assemble a collection of selected device classifications to establish at least a portion of an IoT application (e.g., without having to provide information about configuration, device identification, data transfer, etc.). The IoT application development tool can further utilize asset abstraction to develop and define the deployment of one or more graphical user interfaces (GUIs) for the deployment of the resulting IoT application to allow the user to control and manage the deployment at runtime. Further, the IoT application system established using the IoT management system can be shareable, wherein a user can send data that identifies the constructed system to another user, allowing other users to simply transplant the abstract system definition to the environment of other users (even when the combination of the device model is different from the combination of the device model of the system of the initial user). In addition, the system settings or application settings defined by a given user can be configured to be shared with other users or portable between different environments, as well as other example features.

[0027] In some cases, the IoT system can interface with remote services hosted in cloud-based systems and other remote systems (such as data storage, information services (e.g., media services, weather services), geolocation services, and computing services (e.g., data analysis, search, diagnostics, etc.) (through corresponding IoT management systems or applications, or through one or more of the participating IoT devices). For example, the IoT system can connect to the remote service (e.g., 145) through one or more networks 120. In some cases, the remote service itself can be considered an asset of the IoT application. Data received by the remotely hosted service can be consumed by one or more of the managing IoT application and / or component IoT devices to cause one or more results or actions to be performed, as well as other examples.

[0028] One or more networks (e.g., 120) can facilitate communication between sensor devices (e.g., 105a-d), end-user devices (e.g., 123, 130, 135), gateways (e.g., 150), and other systems (e.g., 140, 145) used to implement and manage IoT applications in the environment. Such networks can include wired and / or wireless local networks, public networks, wide area networks, broadband cellular networks, the Internet, etc.

[0029] In general, the “servers,” “clients,” “computing devices,” “network elements,” “hosts,” “system-type system entities,” “user devices,” “gateways,” “IoT devices,” “sensor devices,” and “systems” (e.g., 105a-d, 125, 130, 135, 140, 145, 150, etc.) in the example computing environment 100 may include electronic computing devices operable to receive, transmit, process, store, or manage data and information associated with the computing environment 100. As used herein, the terms “computer,” “processor,” “processor device,” or “processing device” are intended to encompass any suitable processing means. For example, the elements shown as a single device within the computing environment 100 may be implemented using multiple computing devices and processors (such as multiple pools including multiple server computers). Further, any, all, or some of the computing devices may be adapted to execute any operating system (including Linux, UNIX, Microsoft Windows, Apple OS, Apple iOS, Google Android, Windows Server, etc.) and adapted to be virtual machines that virtualize the execution of a specific operating system (including custom operating systems and proprietary operating systems).

[0030] Although it will Figure 1ADescribed as containing or relating to a plurality of elements, but may not be Figure 1A All elements shown in the computing environment 100 of the present disclosure are utilized in each alternative implementation of the present disclosure. Figure 1A One or more of the elements described in the examples are located outside the computing environment 100, while in other instances, certain elements may be included within or as part of one or more of the other described elements and other elements not described in the illustrated implementation. Further, Figure 1A Certain elements shown in the drawings may be combined with other components and components for alternative or additional purposes than those described herein.

[0031] As described above, a collection of devices or endpoints can participate in an Internet of Things (IoT) network, which can utilize wireless local area networks (WLANs) (such as those standardized according to the IEEE 802.11 family of standards), home area networks (such as those standardized according to the Zigbee Alliance), personal area networks (such as those standardized according to the Bluetooth Special Interest Group), cellular data networks (such as those standardized according to the Third-Generation Partnership Project (3GPP)), and other types of networks with wireless or wired connections. For example, endpoint devices can also achieve connection to the security domain through a bus interface (such as a universal serial bus (USB) type connection, a high-definition multimedia interface (HDMI), etc.).

[0032] As in Figure 1B As shown in a simplified block diagram 101 of FIG. 1 , in some examples, a cloud computing network or cloud communicating with a mesh network (which may be referred to as a “fog”) of IoT devices (e.g., 105a-d) may operate at the edge of the cloud. To simplify the diagram, not each IoT device 105 is labeled.

[0033] The fog 170 can be considered as a massively interconnected network in which several IoT devices 105 communicate with each other, for example, via radio links 165. It can be constructed using the Open Connectivity Foundation (OCF) TMThe OIC standard is implemented in accordance with the Open Interconnect Consortium (OCF) standard specification 1.0 released on December 23, 2015. The standard allows devices to discover each other and establish communications for interconnection. Other interconnection protocols (including, for example, the Optimized Link State Routing (OLSR) protocol or the Better Approach to Mobile Ad-hoc Networking (BATMAN) protocol) may also be used.

[0034] Although three types of IoT devices 105 are shown in this example: gateway 150, data aggregator 175, and sensor 180, any combination of IoT devices 105 and functions may be used. Gateway 150 may be an edge device that provides communication between cloud 160 and fog 170, and may also act as a charging device and positioning device for sensor 180. Data aggregator 175 may provide charging to sensor 180 and may also locate sensor 180. Location, charging alerts, battery alerts, and other data, or both, may be passed through gateway 150 along cloud 160. As described herein, sensor 180 may provide power, location services, or both to other devices or items.

[0035] Communications from any IoT device 105 can be passed along the most convenient path between IoT devices 105 to reach the gateway 150. In these networks, the number of interconnections provides a large amount of redundancy, which allows communications to be maintained even in the event of the loss of several IoT devices 105.

[0036] The fog 170 of these IoT devices 105 may be presented to devices in the cloud 160 (such as the server 145) as a single device (e.g., the fog 170 device) located at the edge of the cloud 160. In this example, an alert from the fog 170 device may be sent without being identified as coming from a specific IoT device 105 within the fog 170. For example, the alert may indicate that the sensor 180 needs to be returned for charging and the location of the sensor 180 without identifying any specific data aggregator 175 that sent the alert.

[0037] In some examples, the IoT devices 105 may be configured using an imperative programming style (e.g., each IoT device 105 has specific functionality). However, the IoT devices 105 that form the fog 170 devices may be configured in a declarative programming style, which allows the IoT devices 105 to reconfigure their operations and determine the required resources in response to conditions, queries, and device failures. For example, a query from a user located at a server 145 regarding the location of a sensor 180 may cause the fog 170 device to select the IoT device 105 (such as a specific data aggregator 175) required to answer the query. If the sensor 180 is providing power to a device or sensor associated with the sensor 180, then information such as power requirements, temperature, etc. may be used in conjunction with sensors on that device or other devices to answer the query. In this example, the IoT devices 105 in the fog 170 may select sensors on a specific sensor 180 based on a query (such as adding data from a power sensor or a temperature sensor). Further, if one of the IoT devices 105 is not operational, for example, if the data aggregator 175 fails, other IoT devices 105 in the fog 170 may provide a substitute, allowing the location to be determined.

[0038] Further, the fog 170 may divide itself into smaller units based on the relative physical locations of the sensors 180 and the data aggregators 175. In this example, communications of the sensor 180 that have been instantiated in a portion of the fog 170 may be delivered to the IoT device 105 along the path of movement of the sensor 180. Further, if the sensor 180 is moved from one location to another location in a different area of ​​the fog 170, a different data aggregator 175 may be identified as a charging station for the sensor 180.

[0039] As an example, if the sensor 180 is used to power a portable device (such as a personal hydrocarbon detector) in a chemical plant, the device will be moved from an initial location (such as a storage room or control room) to a location in the chemical plant that may be hundreds to thousands of feet away from the initial location. If the entire facility is contained in a single fog 170 charging structure, data can be exchanged between the data aggregator 175 including the alarm and location functions of the sensor 180 (e.g., the instantiation information of the sensor 180) as the device moves. Therefore, if a battery alarm for the sensor 180 indicates that it needs to be charged, the fog 170 can indicate to the data aggregator 175 that the fully charged sensor 180 is ready for exchange with the sensor 180 in the portable device.

[0040] As IoT devices and systems develop, there are an increasing number of smart devices and connected devices available in the market (such as devices that can be used in home automation, factory automation, smart factories, and other IoT applications and systems). For example, in a home automation system, the automation of the home generally increases as more IoT devices are added for sensing and controlling additional aspects of the home. However, as the number and variety of devices increase, it becomes very complex and challenging to "things" (or devices included in the IoT system).

[0041] Some device management applications can be configured with preset settings to allow users to quickly set up their systems with minimal effort to configure devices. However, those settings may not be universally desired, which may limit their flexibility and overall practicality. In fact, the combination of settings that is ideal or optimal for one user may be subjective, however, other users may still be interested in the settings determined by other users (who produce the results desired by these other users). In the case where the settings are configurable, users may strive to understand the ideal combination of settings and resort to trial and error to figure out the optimal settings for their systems (e.g., smart homes, offices, cars, etc.). For example, a visitor to a first user may observe the configuration of the first user's system firsthand and expect to recreate the properties of the observed system in their own system. However, in traditional systems, assuming that the system is usually associated with the system settings to identify the device system, the system settings are usually not portable and available. In addition, changing the parameters of the deployment of an application may require withdrawing and modifying existing services before a more desired deployment may be launched.

[0042] In conventional systems, each IoT device has a unique media access control (MAC) address or other device identifier that is specific to the device. When the settings are first configured, the user-customized settings can be associated with a specific device present in the system. However, in conventional systems, when the user replaces the device with another (e.g., newer) replacement device, the user is often required to reconfigure the settings in the device application (including the device identification corresponding to the device MAC address).

[0043] Given the dramatic growth of smart devices and the promise of IoT systems, considerable effort has been put into developing management tools for managing devices, resources, services, etc. in IoT applications. Part of the promise of IoT systems is that users can configure customized IoT applications that are specific to the user's home, office space, or other environment. Tools such as IFTTT, SmartThings, Wink, and other systems have been developed to provide platforms through which end users can develop new IoT services that use various groups of devices supported by their respective platforms. Such service development tools have been used to facilitate the customized creation of services to implement automated applications such as smart lighting, smart door locks, automated security, smart agriculture, etc.

[0044] While IoT development tools can help enable new automation applications that bring great convenience, comfort, energy efficiency, and safety, one of the drawbacks of such systems (and the development tools that users use to program such applications) is that human intervention is typically limited to pre-deployment time or development time. However, after using traditional IoT development tools to develop new IoT services, user programmers are typically excluded from the decision-making loop within the service during post-deployment time or runtime. While traditional end-to-end turnkey solutions continue to be installed and configured by experienced technicians or engineers, it may be expected that the growth of the IoT will be primarily focused on "home-brewed" IoT services developed and installed by non-professional users with little or no formal training or experience. Although novice users lack formal training, they are well positioned to drive the design of IoT services because they typically have superior knowledge of the domain in which the IoT service is to be deployed.

[0045] Although some development tools have been customized to simplify the pre-deployment time for IoT users, limited access to runtime controls forces many users to iterate the pre-deployment process in a check-correct cycle to get the post-deployment product they want. For example, a user can use an IoT development tool to program a smart lighting script to use the illumination measurement from a light sensor to determine whether to turn on a light bulb (e.g., if the light sensor reading is less than 12345, turn on the light bulb; otherwise, turn off the light bulb). Although it may be simple and straightforward to start an IoT application based on the script, troubleshooting and debugging the script in post-deployment time may be difficult. For example, although traditional IoT management tools may provide a configuration mechanism for users to check sensor values ​​(e.g., by being provided with a fixed pre-defined GUI with a corresponding smartphone application (app)), there is a lack of user adjustment of the presentation (visualization) of specific characteristics of IoT services and / or user developers' preferences. Further, although IoT development can provide users with controls to change and adjust IoT services in pre-deployment time, traditional systems do not allow humans to reconfigure parameters (e.g., light sensor reading threshold 12345) contained in the service logic in post-deployment time. In contrast, traditional IoT development tools require users to first “undeploy” the service, convert back to the pre-deployment time, and make program corrections before restarting the corrected service.

[0046] In some implementations, enhancements may be provided for the improved system to address at least some of the example problems described above. For example, an improved IoT development platform may be provided to enable the development and creation of IoT services based on defined asset abstractions. Asset abstractions may significantly reduce human touch points during deployment and redeployment, and facilitate the deployment of improvised IoT systems (including IoT systems with corresponding user interfaces that allow post-deployment intervention by users). For example, user interface abstractions may be included in asset abstraction schemes to allow automated and dynamic discovery and use of devices deployed by IoT applications. User interface abstractions may provide mechanisms to address changes at post-deployment time (without redeploying by going back and forth between pre-deployment and post-deployment), and allow service developers to define a WYSIWYG abstract user interface that is appropriate for IoT services and enables instant changes during runtime.

[0047] Using asset abstraction, IoT management and applications can adopt a paradigm in which, instead of referring to and being programmed to interoperate with specific IoT devices, systems can refer to abstracted categories, or classifications, of IoT devices (or "assets"). Deployed IoT systems (including corresponding UIs) with minimal human intervention can be automatically configured with the aid of asset abstraction. In fact, in some instances, configuration of the system can proceed without the user having to actually formulate which device to use. Instead, deployment policies can be used by the system to automatically select and configure at least a portion of the devices within the system. Further, asset abstraction can facilitate addressing the challenge of portability of IoT applications, which has traditionally limited the overall scalability and resilience of IoT applications.

[0048] In some cases, asset abstraction can be coupled with automated asset binding to eliminate the need to include unique IDs of devices / assets in IoT references or management programs. Asset discovery provided with the application or management program can provide an effective way to formulate policies and limit the scope of asset binding. Through the combination of asset discovery, asset abstraction, and asset binding, IoT applications are made portable, reusable, and shareable.

[0049] In some implementations, using asset abstraction, assets can be treated indiscriminately as long as they fall into the same category in the taxonomy (e.g., occupancy sensing, image capture, computing, etc.). As a result, IoT applications can be made portable, reusable, and shareable because they can be written and stored in a manner that specifies only the requirements without specifying the precise identities (or catalogs of identities) that imply provisioning those requirements. Asset discovery allows searching all available resources to detect those that meet the requirements and further selecting those resources based on customizable or policy-based criteria in some instances.

[0050] Systems such as those shown and illustrated herein may include machine logic implemented in hardware and / or software to implement the solutions introduced herein and solve at least some of the example problems above (and others). For example, Figure 2 A simplified block diagram 200 is shown illustrating a system including a plurality of IoT devices (e.g., 105a-b) having assets (e.g., sensors (e.g., 110a, 110c) and / or actuators (e.g., 115a)) that can be used in a variety of different IoT applications. Figure 2In the example of , deployment manager logic 215 (which is implemented in hardware and / or software) is provided to the management device 205 to detect assets within a location and identify opportunities to deploy an IoT system using the detected assets. In some implementations, at least a portion of the service logic (e.g., 202) used to drive the functionality of the IoT application can be hosted on the management system 205. The service logic (e.g., 202) can also be hosted (in addition or alternatively) on one or more remote computing devices remote from the management system 205, including being hosted on devices (e.g., 105a-b) utilized within the IoT application deployment, servers within the environment (in which the IoT application will be deployed), and / or cloud-based systems (remote from the location where the IoT application will be deployed). Configuration data (e.g., 204, 208) to be used to configure an asset that is used in the deployment of an IoT system may also be hosted on a remote server (e.g., 130) of the management system 205 or accessed by the management system 205 from one or more other systems (including a user device (e.g., 130) or a remote (e.g., cloud-based) server, among other example implementations.

[0051] exist Figure 2 In a specific example of, the management system 205 may include one or more data processing devices (or "processors") 208, one or more memory elements 212, and one or more communication modules 214 containing hardware and logic to allow the management system 205 to communicate with other systems and devices (e.g., 105a, 105b, 130, 210, etc.) on one or more networks (e.g., 120) using one or more technologies (e.g., WiFi, Bluetooth, Near Field Communication, Zigbee, Ethernet, etc.). The deployment manager 215 can be implemented using code executable by the processor 208 to manage the automated deployment of the local IoT system. In some cases, the management system 205 can be implemented on a dedicated physical system (e.g., a dedicated physical system separate from other devices in the IoT deployment). For example, the management system 205 can be implemented on a gateway device to facilitate communication with and between multiple possible IoT devices (e.g., 105a, 105b) within a specific location. In some instances, the management system 205 may be at least partially hosted on a user device (e.g., 130), including a user device that utilizes itself in the deployment of a particular IoT application. In fact, portions of the management system 205 (and the deployment manager 215) may be implemented on multiple devices, including some devices that are remote from the environment in which the IoT application is to be deployed.

[0052] In one example, a deployment manager 215 including logic components such as an asset discovery module 220, an asset abstraction manager 225, an asset binding manager 230, a configuration manager 235, a runtime manager 240, and a security engine 245, as well as other example components (or combinations of the above components) may be provided. The deployment manager 215 may access locally (or remotely stored) service logic 202, configuration data 204, and a user interface (UI) model 206, as well as other examples.

[0053] In one example, the asset discovery module 220 may provide functionality that allows the management system 205 to determine which IoT devices (e.g., 105a, 105b, 130) are within range of the management system 205 and therefore fall within a specific location where one or more IoT services may be deployed. In some implementations, the asset discovery module 220 utilizes the wireless communication capabilities of the management system 205 to attempt to communicate with devices within a specific radius. For example, devices within the range of a WiFi or Bluetooth signal emitted from an antenna (or antennas) of the communication module (or modules) 214 of the management system 205 (or the communication module (or modules) (e.g., 288, 290) of the asset (e.g., 105a, 105b)) may be detected. Additional attributes may be considered by the asset discovery module 220 when determining whether a device is suitable for inclusion in a device set for a given system or application. In some implementations, conditions may be defined for determining whether a device should be included in a set. For example, the asset discovery module 220 may not only attempt to identify devices that can access a particular asset, but may also determine characteristics of the asset such as the physical location, semantic location, time correlation, movement of the device (e.g., whether the device is moving in the same direction and / or at the same rate as the host of the discovery module), permission level requirements or access level requirements of the device, and other characteristics. As an example, in order to deploy smart lighting controls for each room in a home-like or office-like environment, an application may be deployed on a "per room" basis. Accordingly, the asset discovery module 220 may determine a list of devices that are identified (e.g., by geo-fence or semantic location data reported by the device) as being within a particular room (although the asset discovery module 220 is able to communicate with and detect other devices that are outside of the desired semantic location).

[0054] Conditions for discovery may be defined in the service logic (e.g., 202) of a particular IoT application. For example, criteria may be defined to identify what type of resources are needed or expected to implement an application. Such conditions may extend beyond proximity and include identification of a particular type of asset to be used by the application. For example, the asset discovery module 220 may additionally identify the properties of the device (such as its model or type) through initial communication with the device, and thereby determine what assets and what asset types (e.g., particular types of sensors, actuators, memory, and computing resources, etc.) are hosted by the device. Accordingly, discovery conditions and criteria defined for IoT applications may be defined based on asset abstraction (or asset classification). A criterion specific to a particular asset type may be defined, wherein in the context of the corresponding IoT application, the criterion is important for some asset types, but not for other asset types. Further, a discovery criterion may be configurable so that a user may customize at least some of the criteria or references defined for selecting which devices to further utilize for the IoT application.

[0055] The system manager 215 may also include an asset abstraction module 225. The asset abstraction module 225 may identify defined mappings between specific IoT devices or more generally between specific functions that may be included in any of a variety of existing IoT devices or future IoT devices having a defined set of classifications or device abstractions. The asset abstraction module 225 may determine, for each asset discovered by the asset discovery module 220, the corresponding asset abstraction or classification to which the asset "belongs". Each classification may correspond to the functional capabilities of the asset. Known assets or assets determined to have the capability may be grouped within corresponding classifications. It may be determined that some multifunctional assets belong to multiple classifications. In some cases, the asset abstraction module 225 may determine (one or more) abstractions that are to be applied to a given asset based on information received from the asset (e.g., during discovery by the asset discovery module 220). In some cases, the asset abstraction module may obtain an identifier from each asset and query the backend database for a predetermined abstraction assignment corresponding to the model of the manufacturing asset, as well as other examples. Further, in some implementations, the asset abstraction module 225 can query each asset (e.g., according to a defined protocol) to determine a list of the asset's capabilities, from which the asset abstraction module 225 can map the asset to one or more defined abstract classifications. Rather than forcing the deployment manager 215 to track every possible device model it might be required to manage or to design service logic 202 to account for every possible permutation of a particular type of device, the asset abstraction module 225 allows the application to treat each asset that falls within a given classification as an instance of that classification. The asset abstraction module 225 can access a classification framework (defined based on an application basis, a system basis, or a general basis) that abstracts precise devices into classifications that include higher-level classifications and lower-level classifications for sensing, actuation, computing, storage, and other classifications. With asset abstraction, assets are treated indiscriminately as long as they fall within the same classification in a classification (e.g., occupancy sensing). The deployment of IoT applications (which is enabled by their corresponding service logic 202 and configuration 204) can be automated in part through asset abstraction, which allows applications to be developed and deployed without concern for the specific identities of devices in the system.

[0056] The deployment manager 205 may also include an asset binding module 230 that can select which assets to deploy for the system from the discovered assets. In some cases, based on selecting assets, the asset binding module 230 can operate with the configuration manager 235 to send configuration information (e.g., 204) to select assets so that the corresponding assets are each configured for use in a specific service. This can involve: configuring the asset with the corresponding service logic code (e.g., to allow the asset to communicate and interact with the gateway, the service hosted by the backend server, and / or other assets selected for deployment), logging in, unlocking, or otherwise opening the asset, sending session data to the asset or requesting a session with the asset, and other examples. In the case where multiple assets of the same classification have been identified (and the maximum desired number of instances of the classification is exceeded), the asset binding module 230 can additionally evaluate which of the assets is the most suitable for deployment. For example, the service logic (e.g., 202) can define binding criteria that indicate the desired properties of the assets to be deployed in the application. These criteria may be global criteria that apply to each instance of a classification, or may be classification specific (i.e., apply only to decisions between assets within the same classification). Asset bindings may provision assets specified by service logic (e.g., 202) for automatic deployment (before or during runtime).

[0057] The deployment manager 215 may additionally provide (e.g., through the configuration manager 235) functions that allow configurations or settings to be applied to selected asset classifications (or requirements) of the application 210 and to the application 210 as a whole. Various different settings may be provided depending on the set of assets to be used by the application and the overall goal of the application. Default setting values ​​may be defined, and tools may be further provided to allow users to define their own values ​​for the setting (e.g., preferred temperature setting for an air conditioner, seconds for locking a smart lock or locker, sensitivity settings for triggering motion sensors and controls, etc.). The setting that constitutes "ideal" may be subjective and involve some user tinkering. When the user is satisfied with the setting, the user may save the setting as a configuration. In some implementations, these configurations (e.g., 204) may be saved locally at the management system 205, at the device (e.g., 105a, 105b), at the IoT gateway 150, or in the cloud. In some cases, the configuration may be shared so that the user may share the setting they think is ideal with other users (e.g., friends or social network contacts, etc.).

[0058] Configuration data may be generated each time the corresponding service is to be deployed (e.g., using any assets currently discoverable at a particular location), from which the deployment manager 215 automatically re-adopts the settings at runtime. As a result, while a particular device may only be loosely associated with any one user or gateway in a particular deployment of the service, the settings may be tightly associated with the user or service so that the user may migrate between multiple environments, and the service may be deployed in a variety of environments (including environments with different sets of assets with the same settings or configurations applied in each environment). For example, the same settings may be applied regardless of the particular device identifier or implementation selected to meet the abstracted asset requirements of the application or service (e.g., such as settings that also involve abstractions of assets (i.e., not specific assets)). To the extent that a particular setting is not applied to a selected instance of a classification, the setting may be ignored. If a selected instance of a classification has user-undefined settings in the configuration (e.g., because they are unique to a particular asset), default values ​​for those settings may be automatically set, or the user may be warned that those settings are undefined, among other examples.

[0059] The configuration manager 235 may additionally be used at runtime (e.g., during or following deployment of an IoT system) to cause specific settings to be applied to IoT devices (assets) selected for deployment with the service. The deployment manager 215 (and its constituent modules) may include logic that enables the deployment manager 215 to communicate with a variety of different devices using a variety of different protocols. In fact, the deployment manager 215 may even be used to transition between protocols to facilitate asset-to-asset communication. Further, the configuration manager 235 may send instructions to each of the selected assets for deployment to prompt each asset to adjust the settings according to those defined for the asset classification in the settings configuration defined in the configuration data (which is pushed to (or extracted from) the configuration manager 235 during (and possibly also after) deployment).

[0060] Systems utilizing a gateway enhanced using the deployment manager 215 may be enabled to combine automatic resource management / provisioning with automatic deployment of services. The configuration manager 235 may allow resource configurations from one IoT system to be implemented on or applied to another IoT system so that services may be deployed in a variety of IoT systems. Further, the runtime manager 240 may be utilized to perform automated deployment and management of services resulting from runtime deployment. Automatic configuration may refer to having a configuration of a device stored locally (e.g., 204) or a configuration of a device stored on a remote node to provide configuration information to assets (and their host devices) to allow the assets to be properly configured to operate within a corresponding IoT application deployment. As an example, a device may be provided with configuration information that the device can use to adjust a microphone sensor asset on the device so that certain sounds may be properly detected for use in a particular IoT system (e.g., adjusting the microphone to detect a particular voice pitch with improved gain). Automatic deployment of services may involve identification (or discovery) of available devices, device selection (or binding) based on service requirements (configuration options, platform, and hardware), and automated continuous deployment (or redeployment) to allow services to adapt to evolving conditions.

[0061] In one example, the runtime manager 240 can be used to direct the deployment and operation of services on a set of devices within a specific location (e.g., corresponding to the location of a gateway implementing the management system 205). In one example, the runtime manager 240 can trigger asset discovery and binding associated with the deployment of a specific application (e.g., through the asset discovery module 220 and the asset binding manager 230). The runtime manager 240 is provided with access to the service logic 202 for a specific application or service, and the application manager 240 can communicate with the deployed services (e.g., 105a-b, 130, etc.) to transmit data to the device (e.g., to prompt certain actuators) or receive data from the device (e.g., sensor data) according to the corresponding service logic 202. The runtime manager 240 can also utilize the service logic and provide the received data as input to the logic, and utilize the service logic 202 to generate results (the results include results that can be used to prompt certain actuators on the deployed devices). In some cases, the generation of these results can include utilizing service logic executed remotely, for example, by sending requests to backend services. The runtime manager logic 240 may also be used in conjunction with the security management logic 245 to define security domains within the deployment, such as to protect communications between one or more of the deployed devices and gateways and / or between the devices themselves.

[0062] Portions of the application or service logic may be distributed during deployment, where the service logic can be executed locally at the gateway (or even one of the deployed computing assets) and / or away from the deployment location on a cloud-based system or other remotely located system. In fact, in some cases, the management system 205 (e.g., using the runtime manager 240) may provide service logic for use during deployment of the IoT application to one or more assets or their host devices (e.g., 105a, 105b). In some cases, the management system 205 (and the runtime manager 240) may manage the deployment and execution of multiple different applications (e.g., using corresponding sets of service logic 202). Different configurations of the same application may also be supported by a single management system (or gateway) (e.g., using different configuration data instances). Once the assets are configured, the deployed assets may be used together to achieve the goals and functions designed for the application.

[0063] In some IoT applications, one or more UI assets may be defined, and devices may be deployed within the deployment of the IoT application to provide one or more UIs to facilitate runtime management of the deployment. In some cases, UI logic and functionality may already be presented on UI assets (e.g., UI assets of user devices or other user interface platforms (e.g., smart home control monitors), etc.), while in other cases, UI logic may be configured on selected assets required by the management system to supplement or be used by UI logic and functionality already on the device. For example, a UI model (e.g., 206) may define various types of UIs and UI features that may be configured on UI assets in connection with IoT application deployment. IoT application UIs may include: a graphical user interface (GUI) through which a user receives output and / or provides input (e.g., via a touch screen); a voice interface (capable of receiving voice commands through the voice interface); a gesture-based interface (e.g., a gesture-based interface that utilizes a camera to capture user gestures); an audio interface (e.g., through which data is presented via a speaker on a device); and other examples. The UI model can provide logic to facilitate implementation of any of such UIs.

[0064] As described above, the user device (e.g., 130) can be utilized within the IoT application deployment in various ways. The user device can have management system functionality, IoT service development system (e.g., 210) functionality, which can be used to control or manage a specific IoT application (e.g., through a UI of the IoT application provided on the device 130) or provide other assets (e.g., sensors, actuators, computing, or storage) used in a specific IoT application deployment. In one example, the user device 130 may include a UI engine 265 that can be used in a specific IoT application deployment to provide one or more UIs for use by a user in connection with the deployment. The user device 130 may include: one or more data processors (e.g., 266); one or more memory elements (e.g., 268); a communication module 270 that uses a wireless network connection and / or a cable network connection to enable communication with other systems; and an operating system 272 on which one or more applications (e.g., 274) can be run. The user device 130 may include one or more input devices 276, which may be embodied in sensors that implement a touch screen interface, a keyboard, a trackball, a camera, or other mechanisms through which user input can be captured. The user device 130 may also include one or more rendering devices 278 (e.g., driven by corresponding actuators) to enable graphical display, audio rendering (e.g., speakers), light output (e.g., light output of an integrated LED flashlight or camera flash), or a vibration motor for outputting vibration-based signals, among other examples. The input devices and rendering devices may be used together with the UI engine 265 that drives the operation of these devices and the storage (e.g., 268) and computing (e.g., 266) resources of the user device (e.g., 130) to meet the UI requirements of a specific IoT application, which results in the deployment of the user device (e.g., 130) in conjunction with the deployment of the specific IoT application.

[0065] As described above, asset abstraction can not only assist in simplifying the deployment of systems and propagating configurations across multiple different systems, but abstraction can also be used to enhance the programming of IoT applications. For example, a development system 210 can be provided through which users can define and create new IoT applications or services. For example, the development system 210 can be provided with traditional text programming tools and / or graphical programming tools (e.g., for coding applications) and can be enhanced with declarative programming tools that allow users (including novice programmers) to program services by specifying generalized or abstracted requirements of IoT systems (the requirements are expressed as a set of asset classifications). Users can additionally declare relationships between two or more selected classifications to indicate input-output, sensor-actuator, or other relationships automatically defined in the corresponding application code, and thus develop new IoT applications (and corresponding service logic (e.g., 202)) based on these abstractions. Such a development paradigm can allow IoT applications to be programmed once and deployed anywhere in theory (deployed in various environments using various combinations of devices).

[0066] In one example, the development system 210 may include one or more processors 246 and one or more memory elements 248 for implementing the development engine 250. In some cases, the development system 210 may be integrated with a user device (e.g., 130) and / or a management system (e.g., 130). The development engine 250 may provide an interface through which service logic 202 corresponding to an IoT application to be deployed in one or more environments may be generated. The development engine 250 may include a requirement definition 255 component for allowing a user to define a service by defining a set of asset requirements and relationships between the set of asset requirements. Asset requirements may be defined in terms of asset abstractions (e.g., constructed from a library of asset abstract definitions 260), and the user may be allowed to define services in terms of capability abstractions, which in turn may be converted during deployment into resource abstractions that may be mapped to real devices discovered during a particular deployment of the service (e.g., by the deployment manager 215). Some of the asset abstract definitions 260 may include UI asset abstractions to further allow the user to define UI requirements for services created using the development engine 250. The resulting service logic (e.g., 202) can likewise allow the UI platform to be deployed in an ad hoc and improvisational manner along with the rest of the IoT application deployment (e.g., in association with a given deployment, based on the set of available devices and assets that exist that can be discovered by the management system (e.g., 205)). In fact, as a general approach, IoT services can be developed using asset abstractions defined by the development system 210 before and independently of the identity of the physical devices that will be used to implement the service, and the physical deployment can be deployed later and automatically in the corresponding service logic based on the defined abstractions.

[0067] continue Figure 2 As described above, each of the IoT devices (e.g., 105a, 105b) may include one or more processors (e.g., 284, 285), one or more memory elements (e.g., 286, 287), and one or more communication modules (e.g., 288, 290) to facilitate their participation in various IoT application deployments. Each device (e.g., 105a, 105d) may have unique hardware, sensors (e.g., 110a), actuators (e.g., 115a), and other logic (e.g., 292, 294) to implement the device's (one or more) intended functions (including the operation of the corresponding sensors and actuators). For example, the device may be provided with resources such as: various types of sensors (e.g., 110a, 110c), various types of actuators (e.g., 115a), energy modules (e.g., batteries, solar cells, etc.), computing resources (e.g., through corresponding processors and / or software logic), security features, data storage, and other resources.

[0068] Go to Figure 3A , a simplified block diagram 300a is shown representing a simplified example of an asset abstraction. Various different classifications may be defined at different levels. For example, a sensor classification may be a parent to multiple specific sensor type classifications (e.g., subclasses of light sensing, motion sensing, temperature sensing, liquid sensing, noise sensing, etc.), as well as other examples. Figure 3A In the example of , the IoT application has been defined to include three asset requirements represented by the classifications "mobile sensor 305a," "compute 305b," and "alert 305c." During asset discovery, various assets (e.g., 308a-f) may be identified as usable by the application (e.g., based on the assets satisfying one or more defined discovery conditions). One or more corresponding classifications or abstractions may be identified for each of the assets 308a-f (e.g., by the IoT management system). Some of the abstractions may not be relevant to the asset requirements and functionality of the application (such as an abstraction for thermostat device 308f (e.g., temperature sensor and / or HVAC actuator). Other asset abstractions may match abstractions (e.g., 305a-c) that are specified in the IoT application as asset requirements for the application. In fact, there may be more than one discovered asset that fits one of the requirements in the asset requirements. For example, in Figure 3A In the example of FIG. 3 , PIR sensor 308a and camera 308b are each identified as instances of motion sensing asset classification 305a. Similarly, cloud-based computing resources 308c and network gateway 308d are identified as instances of computing asset classification 305b. In other examples, only a single discovered device may meet the application asset requirement (e.g., siren 308e of warning classification 305c), as well as other examples.

[0069] Conventionally, IoT and wireless sensor network (WSN) applications have been developed to finely define data flows among a set of physical devices, which involves device-level discovery at development time to obtain and hard-code corresponding device identifiers and characteristics. By utilizing asset abstractions, development can be facilitated to allow devices to be discovered and determined at runtime (e.g., at the launch of an application), additionally allowing applications to be portable between systems and classification instances. Further, development can be accelerated by allowing developers to specify only asset requirements (e.g., 305a-c) without having to understand radio protocols, network topologies, and other technical features.

[0070] In one example, the classification of asset abstractions may involve parent classifications such as: sensing assets (e.g., light, presence, temperature sensors, etc.), actuation (e.g., light, HVAC, machine controller, etc.), power (e.g., battery-powered power, ground-powered power, solar-powered power, etc.), storage (e.g., SD, SSD, cloud storage, etc.), computing (e.g., microcontroller (MCU), central processing unit (CPU), graphics processing unit (GPU), cloud, etc.), and communication (e.g., Bluetooth, ZigBee, WiFi, Ethernet, etc.), as well as other possible examples. Various methods may be used to perform the discovery of which devices have which capabilities (and belong to which classifications). For example, some functionality (e.g., sensing, actuation, communication) may be directly obtained from signals received from a device by a system management system via a common descriptive language (e.g., the introduction of ZigBee, the introduction of Bluetooth, and the description of the Open Interconnect Alliance), while other features (e.g., power, storage, computing) may be obtained through deeper queries (utilizing resources on the operating system of the device being queried or through queries to remote services), as well as other examples.

[0071] Asset binding may be applied to determine which discovered assets (suitable for defining asset requirements (abstracts) for an application) are in fact to be deployed. Criteria may be defined at development time and / or by a user of the application before / at runtime, which the IoT deployment manager (e.g., 205) may consult in order to perform binding. For example, Figure 3AAs shown in, according to the criteria set forth for the application (or for a specific session in which the application is used), one of the multiple matching assets for the desired classification can be selected. For example, the criteria corresponding between the PIR sensor 308a and the camera 308b (e.g., the criteria to be applied in substantially all classifications of the application and / or the classification specific to the motion sensing classification 305a) can result in the selection of the PIR sensor 308a to be deployed to meet the motion sensing asset requirement 305a of the application. Similarly, the criteria can be accessed to determine that the gateway 308d is the best candidate for meeting the computing requirement 305b of the application between the gateway 308d and the cloud resource 308c. For the asset requirement (e.g., 305c) (where only a single discovered instance of the asset classification (e.g., 308e) is found), asset binding is direct. Resources from the IoT deployment manager (e.g., 205) or configured by the IoT system manager can be automatically allocated to those discovered devices (e.g., 308a, 308d, 308e) that have been selected or bound to deploy the application. Unselected assets (e.g., 308b, 308c, 308f) may remain in the environment but not be used in the application. In some instances, unselected assets may be identified as alternative asset choices (e.g., in the event that one of the selected assets fails), which allows for rapid replacement of the asset (deployed with the same settings for the corresponding classified example).

[0072] In some instances, asset binding can be modeled as a bipartite matching (or allocation) problem, in which a bipartite graph can be expressed by G = (R, A, E) (where R represents asset requirements, A represents available assets, and e in E = (r, a), where a in A can be r in R). Note that if R requests n instances of a particular asset, then A can be defined as:

[0073]

[0074] From the above equation, the solution to the (maximum) (weighted) matching problem can be calculated. For example, when the number of in the bipartite graph is small and the edges are constrained in the sense that there is an edge (r, a) only when a can be r, an exhaustive search can be applied.

[0075] Go to Figure 3BA simplified block diagram 300b of , represents an example of asset discovery. Asset discovery may allow the scope of available devices to be restricted based on discovery conditions or criteria, such as conditions related to device proximity, room, building, movement state, movement direction, security, permissions, and many other possible (and configurable) conditions. Since unchecked discovery will return many possible bindings (especially in large-scale deployments), the benefits of such targeted discovery can be permeated to asset bindings. For example, in a smart factory, the action of "deploying predictive maintenance" may be ambiguous due to the presence of hundreds of sensors, motors, alarms, etc. in the factory's facilities. In some implementations, asset discovery is taken as an input policy or user input, and a set of discovery criteria can be identified from the input policy or user data. Based on the population of detected assets (which the application may operate with), the criteria can be used to restrict the group, in some cases, providing a resulting sorted list of available assets, which can be expressed as f:C×D→D, where C represents the criteria, D represents a set of devices, and the codomain is a fully sorted group.

[0076] For example, in Figure 3B In the example of , two discovery criteria 315a, 315b are identified for application. Additional criteria that apply only to some of the categories or classifications or a specific one of the categories or classifications of assets can be defined. Based on the defined criteria 315a-b in this example, the output of discovery according to search criteria A 315a results in a domain of a subset of devices in the environment - LS1 (310a), LS2 (310b), GW2 (310g), and LA1 (310h), while search criteria B results in LS2 (310b), LS3 (310c), TS1 (310d), HS1 (310e), GW1 (310f), and LA1 (310h). Based on a set of defined discovery criteria (e.g., 315a-b), asset discovery can attempt to reduce the total set of identified assets to an optimal solution. In addition, based on the asset requirements of the application, determining a set of discovered assets for binding consideration can include determining a minimum set of discovered devices. For example, if possible, a minimum group can be selected during discovery so that at least one asset in each desired classification is present in the group. Figure 3B In the example of , it may be identified (eg, by an asset discovery module of a deployment manager) that only application of criterion B (315b) in the discovery resulted in at least one asset for each of the categories defined for the application.

[0077] For example, Figure 3C Block diagram 300c of FIG. 300c shows an end-to-end deployment determination of a deployment manager for a particular IoT application 350. For example, based on Figure 3BThe discovery implemented in the example of "discovers" a subset of assets (e.g., LS2 (310b), LS3 (310c), TS1 (310d), HS1 (310e), GW1 (310f), and LA1 (310h)) that may be used by the application (e.g., based on their compliance with Criteria B (and under-representation of assets that comply with the criteria)). Accordingly, even though each asset is an instance of one of the asset requirements of application 350 (e.g., "light sensing", "computing", and "storage"), assets LS1 and GW2 are not bound to the corresponding IoT application 350 (as indicated by the dashed lines (e.g., 330)).

[0078] As described above, additional criteria may be defined and applied during asset binding. During binding (where the set of assets discovered during binding includes more than one particular desired asset classification (e.g., assets L2 and L3 in asset classification "light sensing")), criteria may be applied to automatically select assets that are more suitable for deployment within an IoT system that is managed, controlled, or otherwise supported by application 350. Further, as Figure 3C As shown in , a single asset instance (e.g., GW1) may belong to two or more classifications at the same time and be selected for binding to an application for two or more corresponding asset requirements (e.g., "compute" and "storage"), as shown. In fact, the binding criteria can be defined to facilitate the opportunity that multiple asset requirements of an application can be facilitated by a single asset, as well as other examples.

[0079] As in Figure 3C As generally represented in , asset discovery can provide a first level of limiting the scope of "asset to application" asset requirement mapping. A user or developer can specify (in some cases, just before runtime) asset requirements for a particular application 350, and the environment can be evaluated to determine whether assets are available to meet these asset requirements. Further, if the necessary asset combination is found in the environment, the deployment manager utility can automatically deploy and configure the discovered assets to implement the application. Additionally, the deployment manager utility can automatically apply set values ​​across deployed assets based on a user-defined configuration associated with the application. However, if no instances of one or more requirements in the asset requirements (required classifications) are found, it can be determined that the application cannot be deployed within the environment. In such a case, the deployment manager utility can generate an alert for the user to identify a shortage of requested classification instances, including identifying those classifications for which asset instances were not found within the environment, as well as other examples.

[0080] Go to Figure 4A-4B, a simplified block diagram 400a-b showing an example IoT abstraction layer used in an implementation of an IoT application (pre-deployment and post-deployment) is shown. Figure 4A In the example of , abstractions may include UI abstractions (e.g., 405, 410, 415) and logic execution abstractions (e.g., 420), sensor abstractions (e.g., 425), and actuator abstractions (e.g., 430), among other examples. Various abstraction layers may be defined, including a capability abstraction layer 435, a resource abstraction layer 440, and a runtime abstraction layer 445. The capability abstraction layer 435 may be utilized during programming of the service, each capability abstraction corresponding to a capability or function to be included in the IoT service. Each capability abstraction may be further mapped to one or more resource abstractions in the resource abstraction layer 440. Each resource abstraction may correspond to a resource or class of resources (abstracting the precise device model, MAC, serial number, etc.), such as a light sensor, an IP camera, a computing resource, a storage resource, a power switch, a microphone, a temperature sensor, a smart thermostat, and the like.

[0081] During service deployment, the management system can determine a mapping between capability abstractions and resource abstractions that map to the capability abstractions. In other cases, service logic generated from a capability abstraction selected during deployment can include or derive a mapping, and execution of the service logic can result in a resource abstraction to be recognized by the management system, among other example implementations. The management system can utilize resource abstractions during asset discovery to determine which assets may meet the requirements of a corresponding IoT application (e.g., requirements specified by a capability abstraction). As described above, asset binding can involve selecting one of a possible plurality of assets that meet the requirements for use with a particular resource abstraction by the management system. For example, in Figure 4A In the example of , the "light sensing" capability 435 can be mapped to two possible resource abstractions: "light sensor" and "IP camera". Two light sensors L1 and L2 can be discovered in the environment (by the management system) along with two different IP cameras (e.g., IC1, IC2). In a specific example, the management system selects light sensor L1 for deployment (e.g., based on one or more binding criteria) and maps the selected light sensor L1 to the runtime abstraction "light sensing 450". Based on selecting (and binding) a specific, discovered device, the service logic can interact with the selected asset by referencing its corresponding runtime abstraction (in the runtime abstraction layer 445). Each runtime abstraction can correspond to one of the capability abstractions defined for the IoT application, and can represent a runtime, post-deployment view of the IoT service relative to the deployed asset.

[0082] IoT solutions typically define IoT resources as atomic resources, where each capability maps to a single type of device. However, some capabilities can be defined by identifying that a single capability is actually implemented by multiple different resources in combination (or a "composite" of resources). Other capabilities may still be implemented by a single atomic resource. In the context of various UI capabilities, the UI can be defined as a mixture of resources. For example, Figure 4B As shown in the partial view of mapping 400a in , capability abstraction 405 "UI log" can be mapped to three resource abstractions (i.e., composite resources), namely "display", "compute", and "storage". In other words, a one-to-many relationship can exist between capability abstractions and corresponding resource abstractions. For atomic resources (such as for the "light sensing" capability abstraction 425), a one-to-one capability-to-resource mapping can be made. When binding discrete physical devices or assets to resource abstractions, a single device (such as smartphone SP2) can be mapped to multiple resource abstractions. In fact, a single device can satisfy composite resources such as Figure 4B as shown in the example.

[0083] exist Figure 4A In the example of , three UI capability abstractions are included in the example IoT service definition. For example, a "UI dial" capability abstraction can be provided, which identifies the expectation that the IoT application deployment includes UI input implemented through a dial UI element (e.g., a WYSIWYG dial for adjusting specific values ​​used in the IoT service). In this example, to implement the "UI dial" capability, touch screen resources and computing resources can be utilized, and in some cases, touch screen resources and computing resources can be utilized within an all-in-one device, which can be represented as follows:

[0084]

[0085] in, Indicates the ability of "UI dialing", represents "UI input" (the set of all UIs used for input), and r 计算 、r 显示 Representing computing and display resources, respectively. Other UI input capabilities may be defined on a similar basis, with each different UI input capability representing a particular style or type of input GUI element (e.g., dials, switches, buttons, sliders, and other possible non-limiting variations). Output UI capabilities may be similarly varied, and may be generally defined similarly to the output UI capability "UI Log":

[0086]

[0087] in, Indicates the ability of "UI logging", represents "UI input" (the set of all UIs for output), and r 计算 、r 存储 、r 显示 Represents computing, storage, and display resources, respectively. Other input UI capabilities (different from log-style UI output) can also be defined and included in the library of capability abstractions, from which IoT services can be defined and developed. Further, when Figure 4A-4B The examples in show a display-centric UI capability abstraction, and in some implementations, the UI may include a non-display UI, such as a UI utilizing speech / voice recognition technology, audio output, gesture recognition, tactile output, or vibration output, as well as other UI examples.

[0088] As described above, the asset abstraction in the capability abstraction layer 430 can be used in creating IoT services during pre-deployment time or development time. Figure 5A As shown in example screenshot 500a of , the IoT service development tool can support graphical development of IoT services. For example, a user can select (e.g., from a library of capability abstractions) various graphical boxes (e.g., 505, 510, 515, 520, 525, 530) corresponding to various capability abstractions (and capabilities) that the user desires to include in the IoT system, and drag and drop the boxes into a development window 535. In addition, the user can draw or otherwise define connectors between the boxes to define relationships and interactions between the various selected boxes (e.g., 505, 510, 515, 520, 525, 530). For example, in Figure 5A In a specific example, a smart lighting control service is being developed (the smart lighting control service has Figure 4A-4B ), where light sensor capability 505 is linked to logic execution capability 510 that performs a comparison between the value measured by light sensor capability 505 and a threshold value defined by UI input capability 515 (which is set using a dial UI element). In conventional systems, the threshold value can be determined during programming of the IoT service and set as a constant. However, in Figure 5A In the example of , a UI is provided for deployment of the IoT service to allow the user to modify the threshold after deployment. The logic execution capability 510 can then provide the results of its comparison to the light switch capability 520. In addition, UI capabilities 525, 530 can be provided to facilitate UI output and provide a log that records the light sensor value (e.g., at 525) and the results of the logic execution capability 510 (e.g., true / false, on / off, etc.), as well as other examples.

[0089] The logic execution capability 510 (like the UI capability) can take many (possibly infinite) forms specific to the corresponding IoT service being defined. In practice, the logic execution capability (e.g., 510) can embody some of the service logic for defining functions, calculations, or processing steps to be performed on data (which is generated by one or more sensor capabilities and may be provided to an actuator asset to implement one or more actions or activities of the IoT service (e.g., automating the turning on of a light)). For example, the logic execution capability can provide pre-processing or post-processing of sensor data and / or inputs through the UI asset, including processing of multiple values ​​returned in the data generated by one or more other assets in the IoT service.

[0090] Using the graphical programming (or textual programming) paradigm, users can use capability abstractions to define the capabilities of new IoT services along with the relationships between the capabilities, such as Figure 5A As shown in the example of . Service logic can be generated by programming tools to embody capabilities. This service logic can then be used in any number of different, automated deployments of the corresponding IoT service (using potentially many different combinations of devices that meet the capability abstraction requirements of the IoT service). For example, Figure 5B As shown in block diagram 500b, corresponding to Figure 5A An example deployment of a service of an example service developed by programming with the graphical representation of FIG can cause a particular light sensor device 550 to be bound to the light sensing capability defined in the service (e.g., 505), and an automated light switch 555 can be bound to the light switching capability defined in the service (e.g., 520). A first smartphone device 560 can be selected to include a mapping to a "UI dial" UI capability and a "less than" logic execution capability abstraction (e.g., as Figure 4A ), and the second smartphone device 565 is selected to provide display resources, computing resources, and storage resources mapped to the "UI log" capability abstraction defined for the IoT service. In other cases, a single smartphone can be selected to replace the two separate smartphones selected in this particular example, as long as the single smartphone includes resources that meet the resource abstraction requirements of the corresponding capability abstraction mapped to the IoT service (e.g., "UI dialing", "UI log", "less than" logic, etc.).

[0091] Go to Figure 6As described above, applications developed according to the principles of asset abstraction as described herein can allow a given IoT application to be deployed in several locations that employ various collections of IoT devices and assets. Such IoT applications or services can be deployed autonomously in response to detecting that sufficient assets are present within the scope of the management system (e.g., on a specific gateway device (e.g., 150a, 150b)). Based on identifying and selecting resources for deployment, the management system can provide configurations to the selected assets to define the characteristics of the assets during a specific deployment of the IoT application. In some cases, different configurations can be used in different deployments of the same IoT application, which may result in different results in each deployment (including in deployments that are otherwise the same (e.g., the same combination of IoT devices used in similar environments)). In other cases, the same configuration can be used in different configurations that utilize different combinations of devices (e.g., different devices bound to at least a portion of the abstractions defined in the IoT application) to produce similar results, even when the devices used are not the same. As an example, a user may define preferred settings in a particular configuration for a particular IoT application, and may cause different deployments of the particular IoT application (in other locations) to also assume the user's preferred settings when deployed. For example, a frequent traveler may prefer to create a home-like environment (e.g., in a hotel, office, or vacation rental away from their home) by having specific configuration data defined by the user (e.g., hosted in the cloud 605) applied to each environment where there are deployable devices. Accordingly, the specific configuration data (e.g., 204) may be used to deploy multiple instances of the IoT application (using potentially different devices) all with the same settings.

[0092] For example, Figure 6As shown in the simplified block diagram 600 of FIG. 6 , in a first environment 610, a first gateway 150a can be used to deploy a first instance of a specific IoT application. The service logic (e.g., 204) for implementing the IoT application can be hosted on the gateway 150a and / or remotely hosted by an application server or other system (or systems) that provide cloud resources (e.g., 605). In one example, a smartphone 130 (or other device) can enter the first environment 610 and can communicate with the corresponding gateway 150a to indicate that a first configuration group should be adopted in the deployment of the IoT application in the first environment 610. For example, the gateway 150a can deploy the IoT application in the first environment 610 by discovering a set of assets A1, A2, B1, C1, D1, D2, where assets A1 and A2 are instances of category A, asset B1 is an instance of category B, etc. Further, the same (or different) smartphone can also select unprovided resources to meet one or more UI capabilities defined for the IoT application. In this example, another smartphone 135 is selected to satisfy the resources required for one or more UI (input and / or output) capabilities defined for the IoT application, while smartphone 130 is not selected for inclusion in the deployment in environment A 610. For the remaining abstractions of the IoT application (such as capability abstractions A, B, C, D, and E), asset selection (or binding) may be additionally performed, resulting in assets A1, B1, C1, D1, and E1 being selected and deployed for use in the instance of the IoT application deployment in environment A 610. Additionally, a specific set of configurations (defined in configuration data 208) may be pushed to the selected assets (A1, B1, C1, D1, E1, and smartphone 135) for use in the deployment. In some cases, UI models, scripts, or other data may be pushed to the resources (e.g., 135) selected to provide UI capabilities to the deployment.

[0093] In some examples, use of a particular set of configurations may be based on a user's request or even recognition that a particular user device associated with the user is present in environment A 405. Accordingly, the gateway may configure a particular deployment of an IoT application based on preferences of a user within the environment, a property owner (e.g., a manager or owner of the environment), according to regulatory or corporate regulations, and other examples. By remotely hosting configuration data, multiple different management systems (e.g., 150a and 150b) in multiple different (and potentially remote) environments may attempt to apply the same configuration to different deployments of the same particular IoT application, and in this sense, the configurations may be portable. In other cases, the configurations pushed to the corresponding assets in each deployment of a particular IoT application (e.g., in environment A (610) and environment B (615)) may be different.

[0094] continue Figure 6 As an example, in another remote environment (environment B (615)), an instance of the same IoT application can be deployed in another environment 615 through another gateway 150b. A different set of assets than the set of assets used in environment A 610 may be found in environment B 615, resulting in a different set of deployed assets (e.g., A2, B2, C2, D1, and E1) for the IoT application in environment B 615. Some of the assets in environment B may be instances (e.g., A2, C1, D1) of the same assets (e.g., the same device model) found in environment A. Some assets may not be closely tied to location (such as assets on mobile devices (e.g., 130, 135) or other mobile devices that can be used for IoT application deployment in both environments A and B). Although the deployments are different between the two environments (e.g., 610, 615), the deployments may be functionally equivalent when viewed at the asset abstraction level. Further, the settings used in each deployment can be applied identically to each of the corresponding IoT application deployments within each environment 605, 610 by providing the same configuration (from the configuration data 204). As an example, the sensitivity settings defined in the configuration data for classification instance B can be applied identically to each of assets B1 and B2 (and B3 when deployed, for that matter), allowing the gateway's deployment manager to attempt to obtain equivalent systems that utilize different sets of assets. Although the resulting systems may not be functionally identical in practice (because even when configured with the same settings, differences between asset instances (e.g., B1 and B2) may reveal themselves), the implementation of the application in various environments can be at least approximated with minimal user effort.

[0095] Further, in Figure 6 In the example of , a smartphone device 130 that is not selected for use as a UI resource in a first deployment of an IoT application (e.g., a deployment in environment A (610)) can bind the same smartphone device 130 (e.g., when moved to another environment and discovered by a corresponding management system (e.g., gateway 150b)) to UI resources (and mapped capability abstractions) in other deployments. For example, the smartphone 130 can be identified as the only device that has one or more UI capability abstractions that satisfy the UI capability abstractions for the IoT application or the only device that better satisfies the binding criteria established for a particular deployment of the IoT application or application in environment B (e.g., as defined in configuration data 208 or service logic 204), as well as other examples.

[0096] Service logic developed using abstraction-based programming tools can additionally allow for the discovery of new devices and the inclusion of new devices in application deployments during runtime of a deployment. For example, a management system can detect a new device entering a network and determine that assets are available on the new device. Based on detecting that at least some of the assets correspond to resource abstractions that map to capability abstractions defined for the application, the management system can communicate with the new device to configure the device (and its assets) to be added to the deployment. In fact, for UI assets, a new or additional UI can be provided based on the detection of a new device that supports resources (e.g., display, storage, and compute) defined for the corresponding UI capability abstraction. For example, in Figure 6 In the example of , device 135 may be initially identified and selected for use in satisfying one or more UI capability abstraction requirements of an application in environment A 610. However, user device 130 may later enter environment A 610 and be dynamically added as an additional UI asset or a replacement UI asset. In some instances (where multiple UI capability abstractions are defined for an application), one device (e.g., 135) may be selected to map to the resource requirements of a first one of the UI capability abstractions, while a second one of the devices (e.g., 130) may be selected to satisfy the remaining UI capability abstractions. These mappings of devices to capability (and runtime) abstractions may also change as devices enter or exit (or fail) during runtime, where, in response, other devices are selected to supplement or replace deployed devices.

[0097] Go to Figure 7 , a simplified block diagram 700 showing an example deployment of an IoT application using a deployment manager (e.g., 215) implemented on a user device, IoT gateway, controller device, or other system is shown. In one example, the deployment manager 215 may include an IoT server 705 to serve one or more IoT applications using a combination of various devices (e.g., 105a, 105b, 130) within a particular location or network. The deployment manager 215 may additionally include a local configuration / service manager 710 that can manage access to local and remote configuration data and service logic and the provisioning of devices (e.g., 105a, 105b, 130) in the IoT deployment using the local and remote configuration data and service logic. The local configuration data and service logic may be stored in the local storage 415 of the gateway 150. Additional configuration data and service logic may also be accessed and utilized by the deployment manager 215 by accessing (e.g., via the configuration / service manager 710) one or more remote configuration and / or service managers (e.g., collectively 720) that serve configuration data and / or service logic (e.g., at (one or more) data stores 725).

[0098] The selection of specific configuration data or service logic to be used in the deployment (e.g., from a remote configuration store or a local configuration store), among other examples, may be controlled by the user via a user device or other controller. Whether the configuration data or service logic originates from a remote store (e.g., 725), a user device (e.g., 130), other devices that may be included in a deployed IoT application (e.g., 105a), a local storage 715 of the deployment manager 215, or other source, the configuration data or service logic is first provided to the configuration / service manager 710 on the deployment manager 215 before being used for runtime deployment.

[0099] The deployment manager 215 itself can be configured to deploy various instances of the same IoT application or various instances of different IoT applications. The settings for each of these deployment instances can be pre-programmed or can be provided by an administrator (e.g., through an application on a user device (e.g., 130) that communicates with the deployment manager 215), and these settings can drive what service logic and configuration data are used in the runtime deployment of the IoT application. For example, the service manager (e.g., 710) of the deployment manager 215 can determine that a specific service logic is to be adopted for a specific IoT application deployment. The service logic can be accessed from the local storage 715, and the service logic can in some cases indicate coordination with one or more other systems (e.g., 720) running additional service logic away from the deployment manager 215, and the local service manager 710 will request and utilize the coordination in certain situations and transactions. Based on identifying the service logic to be used, the service manager 710 can provide the service logic 730 to the runtime manager 240 to start the deployment of the corresponding IoT application.

[0100] The service logic (and the services provided by its execution) can define interactions between devices and actions to be performed by the deployment of the IoT application. The service logic can identify the assets required or desired within the deployment, and can identify the assets through asset abstractions (e.g., through capability abstractions). For example, as suggested in the example of Figure 5, one or more UI capabilities can be defined for the IoT service deployment, and one or more user devices (e.g., 130) can be selected and discovered to meet the abstracted requirements of these IoT services. Further, these definitions, which are also made by reference to the corresponding asset abstractions, can also be used to define interactions or relationships between devices. Accordingly, the service logic can define a set of devices (or device types) to be discovered by the gateway and drive the discovery and binding process for identifying and selecting a set of devices (e.g., 105a, 105b, 130) to be used in the deployment.

[0101] The service logic may be implemented locally by the runtime manager 250. In some cases, the service may be implemented as a script and used to trigger events and actions utilizing deployed devices. As described above, the service logic may also identify conditions external to the computing resource (such as based on, for example, a system hosting remote service logic to be called in order to assist in processing data returned by the IoT application deployment). A service (a service executed locally or remotely by corresponding service logic) may include the receipt of inputs (such as sensor readings; static values ​​or actuator triggers; functions, processes, and calculations to be applied to inputs, UI inputs; and outputs generated based on functional results), which in turn specifies certain actions to be performed by the actuator or results to be presented on the user device (e.g., 130), as well as other examples. In some cases, portions of the service logic may be distributed to computing resources or assets within a deployed IoT application, and a portion of the input processing and result generation for the deployment may be performed by computing assets on the deployed devices (e.g., 105a, 105b, 130) themselves. Such results may in turn be routed through or returned to the gateway for further processing by the user (e.g., via service logic local to the deployment manager 215 or via service logic executed on a cloud-based backend system (e.g., 720, etc.)).

[0102] Service deployment may begin with running the provided service logic on the runtime manager 250. The runtime manager 250 may process logic to identify a set of asset abstractions that are mapped to the requirements of the IoT application. These identifications of abstractions may prompt the start of the asset discovery phase 740 (e.g., an asset discovery phase performed by the IoT server 705). During discovery, devices (e.g., 105a, 105b, 130, etc.) may be discovered along with identifier information for each device to allow the deployment manager 215 to determine which asset abstraction or asset abstractions may be mapped to each device (with its corresponding set of assets). In one example, the runtime manager 250 may first determine a set of resource abstractions that are mapped to a set of capability abstractions defined for a specific application, and then determine which of the discovered assets satisfy which of the determined resource abstractions for the specific application. In the event that more than one asset of a particular type is identified within a location, the gateway may additionally perform binding analysis (according to one or more binding criteria) to select which device or devices to bind to one or more corresponding asset abstractions.

[0103] Utilizing a set of devices selected for the corresponding IoT application deployment, the deployment manager 215 can perform automated configuration of the equipment. The configuration data can embody a configuration that identifies one or more static settings associated with a specific device, which is being applied to the specific device. Multiple configurations can be provided for configuring multiple different types of devices in a given deployment. The various configuration data in the data store can describe multiple different preset configurations, each preset configuration being adjusted for a specific scenario or deployment. Configuration data can be provided in a standard format (such as XML, JSON or CBOR files, and other examples). A local configuration manager (e.g., 710) can handle the deployment of configurations on discovered devices (e.g., 105a, 105b, 130). The communication between the deployment manager 215 and the device (e.g., 105a, 105b, 130) in the corresponding location or coverage area can be handled by the IoT server component 705. The configuration data is sent from the local configuration manager to the corresponding device that is discovered and selected for deployment in a specific IoT application. Depending on the number of devices, the hardware capabilities of the local gateway 150, and the local network bandwidth and latency of each device in the deployment (e.g., 105a, 105b, 130), the deployment manager 215 can send configuration data directly to each of the IoT devices in the deployment, or can utilize one or more of the devices to distribute the configuration data to other devices in a peer-to-peer manner, among other examples.

[0104] The runtime manager 250 may define messages (e.g., 735) to be delivered to various devices within the scope of the deployment manager 215 to facilitate discovery of devices (and ongoing discovery of new devices following deployment) and delivery of configuration data to appropriate devices (e.g., 105a, 105b, 130). In some cases, the configuration manager 710 of the deployment manager 215 may identify appropriate configurations corresponding to the discovered devices (e.g., 105a, 105b, 130) and provide the corresponding configuration data to the IoT server 705 (at 745) for distribution of the configuration data to the appropriate devices (either directly or via P2P sharing).

[0105] For a device (e.g., 105a) that includes a sensor asset (e.g., 110a), configuration data can instruct the asset (and its host device) how to use the sensor to collect and relay data. For example, the configuration data can be utilized by the host device to cause data to be collected, generated, or reported at specific time intervals, to adjust the sensor to certain settings, to apply filters to the information sensed by the sensor, and other examples. For a device (e.g., 105b) that includes an actuator asset (e.g., 115a), configuration data can instruct the asset how to respond to inputs (e.g., inputs provided by a gateway) and perform activities in response to these requests. For example, configuration data for an actuator asset can cause the actuator to wait for certain commands or messages 750, 755 (e.g., from an IoT server 705) before acting, to adjust its actions to specific settings, to select which actions to perform or how to perform these actions by the actuator, and other examples. Configuration data may also be sent to assets assigned to satisfy UI capabilities of an application, where the configuration data may drive a certain style or type of UI provided to a user via a device (eg, 130) associated with the deployment.

[0106] Utilizing the configuration data 745 provided to the discovered devices (e.g., 105a, 105b, 130), the initial deployment can be considered complete and the devices (e.g., 105a, 105b, 130) and their corresponding assets (e.g., 110a, 115a, 266, 268, 278, etc.) can operate according to the configuration provided to them.

[0107] Accordingly, during runtime, sensing messages (e.g., 750, 455) may be sent from the device (e.g., 105a, 105b) up to the deployment manager 215. Data to be presented in the UI output and data from the UI input may also be transmitted (e.g., 755). In one example, the runtime manager 250 may receive the sensing message (at 735) and utilize service logic that is local or remote to the deployment manager 215 to process the sensor data as input. In some implementations, the runtime manager 250 may redirect or forward the sensor data to one or more deployed computing (e.g., 266) assets or storage (e.g., 268) assets for processing on another device (e.g., 130) of the deployed devices, as well as other examples. One or more results may be generated from the processing and used as a basis for actuating the message sent from the runtime manager 250 to the IoT server (at 735) for delivery (at 750) to one or more specific actuator assets (e.g., 115a on device 105b) to cause the corresponding activity to be performed. The results of the processing may also be provided to an asset that provides UI output functionality (e.g., at 755). In this manner, a system for IoT service deployment and resource management may be provided that enables automatic configuration of devices and rapid deployment of services that utilize those configurations (including services with UI functionality that allows runtime control of the deployment by one or more users).

[0108] Although some of the systems and solutions described and shown herein have been described as comprising multiple elements or being associated with multiple elements, all of the components clearly shown or described may not be used in each alternative implementation of the present disclosure. In addition, one or more of the elements described may be positioned outside the system, and in other instances, some elements may be included in other described elements and one or more elements of other elements not described in the implementation shown, or as a part of one or more elements of other described elements and other elements not described in the implementation shown. Further, some elements may be combined with other components and components for alternative purposes or additional purposes other than those described herein.

[0109] Further, it should be understood that the examples presented above are non-limiting examples provided only for the purpose of illustrating certain principles and features, and do not necessarily limit or constrain the possible embodiments of the concepts described herein. For example, various combinations of features and components described herein (including combinations implemented by various implementations of the components described herein) may be utilized to implement various different embodiments. Other implementations, features, and details should be understood from the content of this specification.

[0110] Figures 8A-8B 800a-b are simplified block diagrams illustrating example techniques for developing and deploying IoT applications or other machine-to-machine systems. Fig. 8A In an example of , a development tool may be provided by which user input 805 may be received. The user input may result in the selection (e.g., from a library of capability abstractions) of a set of capability abstractions to define 810 the functionality to be included in a new IoT application. The development tool may be further used to define 815 relationships between the selected set of capability abstractions. Service logic may be automatically generated 820 from the defined set of capability abstractions that are executable to perform deployment of the IoT application in any one of a plurality of different environments and possibly using various sets of specific devices and assets.

[0111] For example, in Figure 8B In the example of , a gateway or other IoT management system can be utilized to discover 830 multiple devices within an environment. The IoT management system can determine 835 the assets present on the discovered devices and determine the assets based on the assets that meet the requirements for a particular IoT application (e.g., Fig. 8AThe gateway may select 715 devices for a particular deployment of an IoT application based on one or more asset abstraction requirements (e.g., capability abstractions) defined by an application developed in a gateway (e.g., an application developed in a gateway). In some cases, the gateway may make these determinations autonomously (e.g., 835), while in other cases, the gateway may consume services of a remote system associated with making the determination 835. The selection of devices may include determining 840 a mapping between runtime abstractions (which are mapped to capability abstractions of the IoT application) and selected assets. At least some of these runtime abstractions may correspond to UI capability abstractions, and the corresponding assets may be identified by the IoT management system to implement a UI in the IoT application deployment, which may be able to perform runtime manipulation of the deployment by one or more users. The IoT management system may interact with participating devices, access the logic of participating devices, and / or identify participating devices through their runtime abstractions rather than through their specific identities. The runtime abstractions may represent an interface between the IoT management system (and application logic) and devices within a particular deployment. Further, in some cases, multiple deployments of the same application (even within the same location or environment) may be supported by the IoT management system, and different deployments may each have their own unique set of runtime abstractions. Further, configuration data for deployments that are likewise mapped to runtime abstractions may be identified. The IoT management system may deliver corresponding portions of the configuration data to selected assets mapped to these runtime abstractions to deploy 845 a specific application in the environment using the selected deployment. Immediately following deployment, sensor data may be generated by the deployed sensor assets, and the sensor data may be used by the computing logic and / or actuator assets deployed in the IoT application, and the UI output may provide views of actuator states, sensor data values, and results of the computing logic, among other examples.

[0112] Figure 9-10 is a block diagram of an exemplary computer architecture that may be used in accordance with the embodiments disclosed herein. Other computer architecture designs for processors and computing systems known in the art may also be used. In general, computer architectures suitable for the embodiments disclosed herein may include, but are not limited to: Figure 9-10 The configuration shown in .

[0113] Fig. 9 900 is an example of a processor according to an embodiment. Processor 900 is an example of a hardware device that can be used in conjunction with the above implementation. Processor 900 can be a processor for any type, such as a microprocessor, an embedded processor, a digital signal processor (DSP), a network processor, a multi-core processor, a single-core processor, or other devices for executing code. Although Fig. 9Only one processor 900 is shown, but the processing element may alternatively include more than one Fig. 9 . The processor 900 may be a single-threaded core, or for at least one embodiment, the processor 900 may be multi-threaded in that the processor may include multiple hardware thread contexts (or "logical processors") per core.

[0114] Fig. 9 Also shown is a memory 902 coupled to the processor 902 according to an embodiment. The memory 902 can be any of a wide variety of memories (including different layers of a memory hierarchy) as known or otherwise available to those skilled in the art. Such memory elements can include, but are not limited to, random access memory (RAM), read-only memory (ROM), logic blocks of a field programmable gate array (FPGA), erasable programmable read-only memory (EPROM), and electrically erasable programmable ROM (EEPROM).

[0115] The processor 900 may execute any type of instructions associated with the algorithms, processes, or operations described in detail herein.In general, the processor 900 is capable of transforming an element or article (eg, data) from one state or thing to another state or thing.

[0116] The code 904 (which may be one or more instructions to be executed by the processor 900) may be stored in the memory 902, or the code 804 may be stored in software, hardware, firmware, or any suitable combination thereof, or in any other internal or external component, device, element, or object that is suitable and based on specific needs. In one example, the processor 900 may follow a program sequence of instructions indicated by the code 904. Each instruction enters the front end portion 906 and is processed by one or more decoders 908. The decoder may generate micro-operations such as fixed-width micro-operations of a predetermined format as its output, or may generate other instructions, micro-instructions, or control signals that reflect the original code instructions. The front end logic 906 also includes register renaming logic 910 and scheduling logic 912, which generally allocates resources and queues operations corresponding to instructions for execution.

[0117] The processor 900 may also include an execution logic 914 having a set of execution units 916a, 916b, 916n, etc. Some embodiments may include a large number of execution units dedicated to a specified function or group of functions. Other embodiments may include only one execution unit or an execution unit that can perform a specific function. The execution logic 914 performs the operations specified by the code instructions.

[0118] After the execution of the operations specified by the code instructions is completed, the back-end logic 918 can retire the instructions of the code 904. In one embodiment, the processor 900 allows out-of-order execution, but requires in-order retirement of instructions. The retirement logic 920 can take various known forms (e.g., a reorder buffer, etc.). In this way, the processor 900 can be transformed during the execution of the code 904, at least in terms of the output generated by the decoder, the hardware registers and tables utilized by the register renaming logic 910, and any registers (not shown) modified by the execution logic 914.

[0119] although Fig. 9 Not shown, but the processing element may include other elements on the chip with processor 900. For example, the processing element may include memory control logic together with processor 900. The processing element may include I / O control logic, and / or may include I / O control logic integrated with memory control logic. The processing element may also include one or more caches. In some embodiments, non-volatile memory (such as flash memory or fuses) may also be included on the chip with memory 900.

[0120] Fig.10 A computing system 1000 is shown arranged in a point-to-point (PtP) configuration according to an embodiment. Specifically, Fig.10 A system is shown in which processors, memory, and input / output devices are interconnected by a number of point-to-point interfaces. In general, one or more of the computing systems described herein may be configured in the same or similar manner as computing system 1000 .

[0121] Processors 1070 and 1080 may also each include integrated memory controller logic (MC) 1072 and 1082 for communicating with memory elements 1032 and 1034. In alternative embodiments, memory controller logic 1072 and 1082 may be discrete logic separate from processors 1070 and 1080. Memory elements 1032 and / or 1034 may store various data to be used by processors 1070 and 1080 in obtaining operations and functions outlined herein.

[0122] Processors 1070 and 1080 may be any type of processor, such as those discussed in connection with other figures. Processors 1070 and 1080 may exchange data via a point-to-point (PtP) interface 1050 using point-to-point (PtP) interface circuits 1078 and 1088, respectively. Processors 1070 and 1080 may each exchange data with a chipset 1098 using point-to-point interface circuits 1076, 1090, 1086, and 1094 via separate point-to-point interfaces 1052 and 1054. Chipset 1090 may also exchange data with a high-performance graphics circuit 1039 via a high-performance graphics interface 1038 using interface circuit 1092, which may be a PtP interface circuit. In alternative embodiments, the processors 1070 and 1080 may each exchange data with a chipset 1098 using point-to-point interface circuits 1076, 1090, 1086, and 1094 via separate point-to-point interfaces 1052 and 1054. Chipset 1090 may also exchange data with a high-performance graphics circuit 1039 using an interface circuit 1092, which may be a PtP interface circuit. Fig.10 Any or all of the PtP links shown in FIG. 5 are implemented as multi-drop buses rather than as PtP links.

[0123] Chipset 1090 may communicate with bus 1020 via interface circuit 1096. Bus 1020 may have one or more devices in communication therewith, such as bus bridge 1018 and I / O devices 1016. Via bus 1010, bus bridge 1018 may communicate with other devices, such as user interface 1012 (such as a keyboard, mouse, touch screen, or other input device), communication device 1026 (such as a modem, network interface device, or other type of communication device that can communicate over computer network 1060), audio I / O device 1014, and / or data storage device 1028. Data storage device 1028 may store code 1030, which may be executed by processor 1070 and / or 1080. In alternative embodiments, any portion of the bus architecture may be implemented using one or more PtP links.

[0124] Fig.10 The computer system depicted in is a schematic illustration of an embodiment of a computing system that can be used to implement the various embodiments discussed herein. It will be appreciated that Fig.10 The various components depicted in the EMBODIMENTS 2000 may be combined in a system-on-chip (SoC) architecture or in any other suitable configuration that is capable of achieving the functionality and features of the examples and implementations provided herein.

[0125] Although the present disclosure has been described in terms of certain implementations and generally associated methods, changes and permutations of these implementations and methods will be apparent to those skilled in the art. For example, the actions described herein may be performed in an order different from the order described, and still obtain the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In certain implementations, multitasking and parallel processing may be advantageous. In addition, other user interface layouts and functions may be supported. Other variations are within the scope of the following claims.

[0126] In general, one aspect of the subject matter described in this specification can be embodied in a method and executed instructions that include or result in the following actions: the actions include identifying a sample including software code, generating a control flow graph for each of a plurality of functions included in the sample, and identifying features in each of the functions corresponding to a set of control flow fragment types. The identified features can be used to generate a feature set for the sample from the identified features.

[0127] Each of these and other embodiments may optionally include one or more of the following features. The features identified for each of the functions may be combined to generate a merged string of a sample, and a feature set may be generated from the merged string. A string may be generated for each of the functions, each string describing a corresponding feature identified for the function. Combining the features may include identifying a call in a specific one of the multiple functions as another of the multiple functions, and replacing a portion of a string that references a specific function of another function with the content of the string of another function. Identifying features may include abstracting each of the strings of the functions so that only features of a set of control flow fragment types are described in the string. The set of control flow fragment types may include memory accesses performed by the functions and function calls performed by the functions. Identifying features may include identifying instances of memory accesses performed by each of the functions and identifying instances of function calls performed by each of the functions. The feature set may identify each of the features identified for each of the functions. The feature set may be an n-graph.

[0128] Further, each of these and other embodiments may optionally include one or more of the following features. A feature set may be provided for classifying samples. For example, classifying samples may include clustering samples with other samples based on corresponding features of the samples. Classifying samples may further include determining a set of features associated with the cluster of samples. Classifying samples may also include determining whether to classify samples as malware and / or determining whether the samples may be one of one or more families of malware. Identifying features may include abstracting each control flow graph in the control flow graph so that only features of a set of control flow fragment types are described in the control flow graph. Multiple samples may be received, including the sample. In some cases, multiple samples may be received from multiple sources. The feature set may identify a subset of features identified in the control flow graph of the sample's function. The subset of features may correspond to memory accesses and function calls in the sample code.

[0129] Although this specification contains many specific implementation details, these details should not be interpreted as limitations on the scope of any invention or content that may be claimed, but should be interpreted as descriptions of features that are peculiar to specific embodiments of specific inventions. Certain features described in this specification in the context of separate embodiments can also be implemented in a single embodiment in combination. On the contrary, the individual features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination. Moreover, although features may be described above as working in certain combinations and even initially claimed as such, one or more features from the claimed combination may be separated from the combination in some cases, and the claimed combination may be directed to a sub-combination or a variation of the sub-combination.

[0130] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be understood as requiring such operations to be performed in the specific order shown or in an ordered order, or all the operations shown can be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of the different system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can usually be integrated together in a single software product or encapsulated in multiple software products.

[0131] The following examples are related to embodiments according to the present specification. One or more embodiments may provide a system, a machine-readable storage medium, an apparatus, and / or a method to define a set of capability abstractions for a specific application based on one or more user inputs received through a graphical user interface of a programming tool, and further define the relationship between the set of capability abstractions based on one or more user inputs. The specific application is used to utilize a machine-to-machine network, and the set of capability abstractions may include: at least one sensor capability abstraction, at least one actuator capability abstraction, at least one computing logic capability abstraction, at least one input user interface (UI) capability abstraction, and at least one output UI capability abstraction for a specific application. The relationship may include a relationship between an input UI capability abstraction and a computing logic capability abstraction, wherein the input UI capability is used to provide input to the computing logic capability abstraction. An executable code including service logic can be generated to deploy an instance of a specific application in an environment, wherein the code is generated based on the set of capability abstractions and the relationship.

[0132] In one example, deploying an instance of a specific application includes selecting one or more devices in an environment to be included in the deployed instance of the specific application to implement a user interface for the specific application, and providing the user interface based on at least one capability abstraction of an input UI capability abstraction and an output UI capability abstraction.

[0133] In one example, the input UI capability abstraction includes a first input UI capability abstraction, and the set of capability abstractions further includes a second input UI capability abstraction.

[0134] In one example, the first input UI capability abstraction corresponds to providing a first type of input UI element in the user interface, and the second input UI capability abstraction corresponds to providing a second, different type of input UI element in the user interface.

[0135] In one example, a user interface enables runtime modifications to a deployed instance of a particular application.

[0136] In one example, the service logic is executable to identify a set of resource abstractions corresponding to the set of capability abstractions and identify a set of assets in the environment that satisfy the set of resource abstractions.

[0137] In one example, the service logic is further operable to select at least a portion of the collection of assets to deploy in an instance of a particular application.

[0138] In one example, selection of a portion of the set of assets is based on respective proximity of the assets to a management system corresponding to the environment.

[0139] In one example, a management system includes a gateway to wirelessly communicate with a collection of assets.

[0140] In one example, the service logic is executed at least in part at the gateway.

[0141] In one example, at least a specific capability abstraction in the set of capability abstractions is mapped to multiple resource abstractions in the set of resource abstractions, and another capability abstraction in the set of capability abstractions is mapped to a single resource abstraction in the set of resource abstractions.

[0142] In one example, the input UI capability abstraction and the output UI capability abstraction are each mapped to a corresponding plurality of resource abstractions in the set of resource abstractions.

[0143] In one example, immediately following deployment of an instance of a particular application according to a corresponding runtime abstraction mapped to the set of capability abstractions, the service logic identifies a set of assets.

[0144] In one example, the set of capability abstractions is selected from a library of capability abstractions, and the library of capability abstractions includes a plurality of different input UI capability abstractions and a plurality of different output UI capability abstractions.

[0145] In one example, the relationship includes a relationship between an output UI capability abstraction and one of a sensor capability abstraction, an actuator capability abstraction, and a computational logic capability abstraction.

[0146] In one example, a computational logic capability abstraction corresponds to the performance of an operation on sensor data to be generated by an asset corresponding to the sensor capability abstraction.

[0147] In one example, the service logic is reusable to deploy a particular application in another environment using a different set of assets.

[0148] In one example, one or more user inputs are received through a graphical user interface of an application programming tool.

[0149] One or more embodiments may provide systems, machine-readable storage media, apparatus, and / or methods to: detect multiple devices in an environment including a user computing device; identify a set of assets hosted on each of the multiple devices, determine a mapping between each asset in a subset of the assets and a corresponding runtime asset abstraction in a set of runtime asset abstractions defined for a specific application; and deploy a specific application using the multiple devices. The set of runtime asset abstractions may include at least one output user interface (UI) abstraction, at least one input UI abstraction, at least one sensor asset abstraction, at least one actuator asset abstraction, and at least one computing logic asset abstraction, and the assets of the user computing device may be mapped to the output UI abstraction, the input UI abstraction, and the computing asset abstraction.

[0150] In one example, the set of runtime asset abstractions corresponds to a set of capability abstractions defined in the code of a particular application.

[0151] In one example, the code further defines relationships between the set of capability abstractions.

[0152] In one example, a specific application is deployed using multiple devices in a first deployment, and a different multiple devices are used to deploy the specific application in a subsequent second deployment according to the set of capability abstractions.

[0153] In one example, the instructions are further executable to identify specific configuration data corresponding to deployment of the specific application, and deploying the specific application includes sending the specific configuration data to the plurality of devices to configure assets of the plurality of devices for runtime of the specific application.

[0154] In one example, each capability abstraction in the input UI capability abstraction and the output UI capability abstraction is mapped to a corresponding plurality of asset types.

[0155] In one example, a system may include a system manager, and the system manager may be hosted at least in part on a gateway configured to communicate with a plurality of assets.

[0156] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions listed in the claims can be performed in different orders and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the particular order or sequential order shown to achieve the desired results.

Claims

1. A system for Internet of Things (IoT) services, capable of enabling at least one computing device to: causing presentation of a graphical user interface to enable a user to establish a graphical representation of services for an IoT system, the IoT system comprising a first electronic device and a second electronic device; dragging and dropping a first box in the graphical representation of the service based on one or more user inputs, the first box being associated with a first device type, the first device type being associated with a first capability; associating the first electronic device to the first capability of the first device type based on the one or more user inputs; dragging and dropping a second box in the graphical representation of the service based on the one or more user inputs, the second box being associated with a second device type, the second device type being associated with a second capability, the second box being configured to be positioned relative to the first box in response to the drag and drop input; associating the second electronic device to the second capability of the second device type based on the one or more user inputs; generating a line between the first box and the second box in the graphical representation of the service based on the one or more user inputs, the line indicating a relationship or interaction between the first electronic device associated with the first box and the second electronic device associated with the second box; dragging and dropping a third box in the graphical representation of the service based on the one or more user inputs, the third box being used to provide a log, wherein the service for the IoT system is used to store sensing result information for the second electronic device in the log; as well as Causing deployment of the service for the IoT system, the second capability of the second device type is used to enable a user to interact with the second electronic device to affect the operation of the first electronic device after deployment based on a relationship or interaction defined between the first electronic device and the second electronic device.

2. The system of claim 1, wherein: The first capability is for enabling display of information from the IoT system via a screen of the first electronic device, the information being based on a relationship or interaction between the first electronic device and the second electronic device.

3. The system of claim 1, wherein: The first capability is based on a model of the first electronic device.

4. The system of claim 1, wherein: The interaction is used to activate the first electronic device through an actuator based on a comparison between a sensing result of the second electronic device provided by the logic execution capability and an input value of a user input device.

5. The system of claim 1, wherein: The first device type is output and the second device type is sense.

6. A method for an Internet of Things (IoT) system, the method comprising: causing presentation of a graphical user interface to enable a user to establish a graphical representation of services for the IoT system, the IoT system comprising a first electronic device and a second electronic device; dragging and dropping a first box in the graphical representation of the service based on one or more user inputs, the first box being associated with a first device type, the first device type being associated with a first capability; associating the first electronic device to the first capability of the first device type based on the one or more user inputs; dragging and dropping a second box in the graphical representation of the service based on the one or more user inputs, the second box being associated with a second device type, the second device type being associated with a second capability, the second box being configured to be positioned relative to the first box in response to the drag and drop input; associating the second electronic device to the second capability of the second device type based on the one or more user inputs; generating a line between the first box and the second box in the graphical representation of the service based on the one or more user inputs, the line indicating a relationship or interaction between the first electronic device associated with the first box and the second electronic device associated with the second box; dragging and dropping a third box in the graphical representation of the service based on the one or more user inputs, the third box being used to provide a log, wherein the service for the IoT system is used to store sensing result information for the second electronic device in the log; as well as Causing deployment of the service for the IoT system, the second capability of the second device type is used to enable a user to interact with the second electronic device to affect the operation of the first electronic device after deployment based on the relationship or interaction between the first electronic device and the second electronic device.

7. The method of claim 6, wherein: The first capability is for enabling display of information from the IoT system via a screen of the first electronic device, the information being based on a relationship or interaction between the first electronic device and the second electronic device.

8. The method of claim 6, wherein: The first capability is based on a model of the first electronic device.

9. The method of claim 6, wherein: The interaction is used to activate the first electronic device through an actuator based on a comparison between a sensing result of the second electronic device provided by the logic execution capability and an input value of a user input device.

10. The method of claim 6, wherein: The first device type is output and the second device type is sense.

11. A computer system comprising: monitor; at least one storage device; at least one network communication device; at least one user input device; At least one processor is configured to execute instructions so that the at least one processor performs any one of the methods according to claims 6-10.

12. A computer readable medium comprising instructions which, when executed, cause at least one processor to perform any of the methods of claims 6-10.

13. A computer-implemented system comprising means for performing any of the methods of claims 6-10.