Workflow configuration for coordinated device environments
By executing portable code segments on the coordinator to manage IoT devices, the problems of low communication efficiency and insufficient security in embedded device management are solved, achieving fast and reliable device coordination and efficient network management.
Patent Information
- Application Number
- CN201980077389.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-11-26
- Filing Date
- 2019-11-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-11-22
AI Technical Summary
Existing technologies suffer from low communication efficiency and insufficient security when managing and coordinating embedded devices with limited local user interfaces (such as IoT devices), especially when frequent remote management is required.
The coordinator is used as a localized on-demand code execution system to manage coordinated devices by generating and executing portable code segments (tasks) to achieve rapid functional coordination and optimize the communication between devices by automatically identifying and mapping decision logic. Communication, reducing dependence on external networks.
It improves the response speed and security of coordinated devices, reduces communication delays and bandwidth consumption, and enhances management flexibility and reliability.
Smart Images

Figure CN113168333B_ABST
Abstract
Description
Background Art
[0001] In general, computing devices utilize a communication network or a series of communication networks to exchange data. Companies and organizations operate computer networks that interconnect multiple computing devices to support operations or provide services to third parties. Computing systems can be located in a single geographic location or in multiple different geographic locations (e.g., interconnected by private or public communication networks). Specifically, a data center or data processing center (generally referred to herein as a "data center") can include multiple interconnected computing systems to provide computing resources to users of the data center. A data center can be a private data center operated on behalf of an organization, or it can be a public data center operated on behalf of the public or for the public interest.
[0002] To facilitate improved utilization of data center resources, virtualization technology allows a single physical computing device to host one or more instances of virtual machines that appear and operate as independent computing devices to users of the data center. Through virtualization, a single physical computing device can dynamically create, maintain, delete, or otherwise manage virtual machines. In turn, users can request computer resources from the data center, including configuration of a single computing device or networked computing devices, and provide users with different amounts of virtual machine resources.
[0003] In some environments, computing devices that communicate via a communications network may correspond to devices that have a primary function as a computing device, such as a desktop personal computer. In other environments, at least some portion of computing devices that communicate via a communications network may correspond to embedded devices or thin devices that have at least one optional primary function, such as household appliances that have a single primary purpose (e.g., a thermostat or refrigerator) while also providing at least limited computing functionality. In some cases, the local user interface of these embedded devices or thin devices is limited, so remote management may be required to implement some of the functions of these devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Reference numerals may be repeated throughout the drawings to indicate corresponding relationships between referred elements.The drawings are provided to illustrate example embodiments described herein and are not intended to limit the scope of the present disclosure.
[0005] Figure 1 is a block diagram showing an illustrative environment in which a coordinator is operable to locally manage and coordinate operations of coordinated devices within a coordinated environment, and in which the coordinator can communicate with client devices and service provider environments to implement a workflow;
[0006] Figure 2 Shown to provide Figure 1 The general architecture of the coordinator computing device;
[0007] Figure 3A and Figure 3B Shown by Figure 1 The general architecture of the coordinated devices managed by the coordinator;
[0008] Figure 4 shows a general architecture of a client device that can be used to generate and submit workflow definitions for a coordinated environment;
[0009] Figure 5 yes Figure 1 A block diagram of an environment of the present invention, showing an implementation scheme of coordinated device components for implementing one or more aspects of the present application;
[0010] Figure 6 is a block diagram illustrating the formation of a workflow definition;
[0011] Figure 7 yes Figure 1 A block diagram of an illustrative environment showing the specification and implementation of a workflow in a coordinated environment; and
[0012] Figure 8 is a flow chart showing illustrative interactions of a coordinated network management routine in accordance with aspects of the present application. DETAILED DESCRIPTION
[0013] In general, aspects of the present disclosure relate to a coordinator present within a coordinated environment to control the operation and functionality of coordinated devices within the coordinated environment. In some cases, the coordinated device may correspond to an embedded device or a thin device having at least one optional primary function, such as a household appliance having a single primary purpose. In some cases, such devices may be referred to as "Internet of Things" devices or "IoT" devices. The coordinated device may include access to computing device resources and may therefore benefit from remote management. For example, the coordinated device may be configured with a graphics processing unit, or GPU, which may be accessed as a computing device resource during execution of executable code by the coordinated device. The coordinator disclosed herein is capable of locally implementing such remote management of the coordinated device within an environment (such as a local area network or "LAN" environment) that includes the coordinator and the coordinated device.
[0014] Therefore, the use of the coordinator can achieve the management of the coordinated device without the need for communication outside the local environment, thereby reducing privacy risks and increasing communication speed compared to the use of an external or public communication network. Specifically, various aspects of the present disclosure relate to using the coordinator as a localized on-demand code execution system, so that portable code segments can be quickly executed on the coordinator to implement functions. These portable code segments may be referred to as "tasks" in this article. In some cases, tasks can be used to coordinate the functions of the coordinated devices, such as by changing the state of the device. For example, in the case where the coordinated device is a network-enabled light, the task can change the state of the light (e.g., turn it on or off) according to the input of the coordinator (such as the current time, user input, or the state of another coordinated device). The coordinator can also enable communication coordinated devices and tasks according to multiple different protocols, and in some cases provide conversion functions between these protocols. Further, in some cases, the coordinator can manage the execution location of the task so that the task can be executed on the coordinator, on the coordinated device, or on the device in a remote environment (e.g., a remote network computing environment) according to the function of the candidate device and the requirements of the task execution. In some cases, these tasks may be user-defined, so that the user can implement various functions on the coordinator or the coordinated device according to the user-submitted code corresponding to the task. Thus, the coordinator can perform fast and reconfigurable localized management of the coordinated device.
[0015] In general, a typical deployment cycle of a task or other on-demand executable code for coordinated devices includes generation of the executable code, transmission of the executable code to the coordinator, processing of the received code by the coordinator, and deployment of the processed code (e.g., task) to the selected coordinated devices for execution. During development and testing of the executable code, after the task is deployed, the coordinated devices are also tested in the process of executing the deployed task. However, in general, detailed knowledge and experience are required to implement a workflow or application for a network of coordinated devices.
[0016] In order to address the potential inefficiencies associated with networks with rendering sources, a coordinated network service is provided that facilitates the design and implementation of a coordinated device network of IoT devices. Illustratively, the coordinated network service defines modules or models for each IoT device or coordinated device, which specify the necessary inputs of the device, the outputs of the device, and the communication protocol. Through the interface, a user device can select a group of IoT devices and specify how they are connected and the decision logic associated with the communication flow. The coordinated network service can then automatically identify the mapping information that implements the decision logic and provide the necessary data transformations for communication between the specified devices. The selected modules and mappings form a workflow for the coordinated device network. The coordinated network service can then generate executable code to implement the formed workflow in a coordinated device environment, such as via a coordinator or as a stand-alone executable code.
[0017] One or more aspects of the present application will be described with respect to the implementation of a specific workflow or illustrative example, such as a graphical user interface for collecting user input or generating results. However, these examples are illustrative in nature and should not be construed as limiting.
[0018] As will be appreciated by those skilled in the art in light of this disclosure, the embodiments disclosed herein improve the ability of computing systems (and particularly computing systems with limited localized user interfaces) to be coordinated and managed by external devices. Specifically, the present disclosure provides a highly configurable coordinator to coordinate and manage devices within a coordinated environment in a reliable manner while reducing or eliminating the need to communicate via an external or public communications network. Thus, the embodiments disclosed herein provide for more responsive control of coordinated devices (e.g., due to reduced communication latency), as well as increased security of coordinated devices. Thus, the present disclosure generally represents an improvement over existing data processing systems and computing systems.
[0019] The foregoing aspects and many of the attendant advantages of the present disclosure will become more readily appreciated and become better understood by reference to the following detailed description taken in conjunction with the accompanying drawings.
[0020] Figure 1 is a block diagram of an illustrative operating environment 100 that includes one or more coordinated environments 110 in which a coordinator 114 can operate to control a coordinated device 112, a client device 102 that can interact with the coordinated environment 110 (e.g., request a state change for the coordinated device 112), and a service provider environment 120 that can assist in communicating with the coordinators 114 in multiple coordinated environments 110 or assist in the configuration of the coordinators.
[0021] The coordinated environment 110, the client device, and the service provider environment 120 can communicate via a network 104, which can include any wired network, wireless network, or a combination thereof. For example, the network 104 can be a personal area network, a local area network, a wide area network, an air broadcast network (e.g., for radio or television), a cable network, a satellite network, a cellular telephone network, or a combination thereof. As another example, the network 104 can be a publicly accessible network of linked networks that may be operated by various different parties, such as the Internet. In some embodiments, the network 104 can be a private or semi-private network, such as a company or university intranet. The network 104 can include one or more wireless networks, such as a global system for mobile communications (GSM) network, a code division multiple access (CDMA) network, a long-term evolution (LTE) network, or any other type of wireless network. The network 104 can use protocols and components for communicating via any of the Internet or other aforementioned types of networks. For example, the protocols used by the network 104 can include hypertext transfer protocol (HTTP), HTTP security (HTTPS), MQTT, constraint application protocol (CoAP), etc. The protocols and components for communicating via the Internet or any of the other aforementioned types of communication networks are well known to those skilled in the art and are therefore not described in further detail herein.
[0022] Although some embodiments disclosed herein may utilize known protocols such as MQTT, according to standard implementations of such protocols, other embodiments may alter the implementation of such protocols. For example, standardized MQTT may utilize a "keep alive" feature, whereby the client and the proxy must exchange standard data or dedicated keep alive messages (e.g., MQTT ping) within a threshold time period ("keep alive" threshold), otherwise the connection is considered disconnected. However, the overhead created by the dedicated keep alive messages may be undesirable in the coordinated environment 110. Therefore, some embodiments of the present application may implement a variable keep alive threshold, whereby when a keep alive message is sent, the keep alive threshold increases until an error occurs in the communication. Illustratively, in the case where a first keep alive threshold expires, causing the client to transmit a keep alive message, and the client obtains a keep alive response from the proxy, the client may increase the keep alive threshold for subsequent transmissions by a certain amount (e.g., 50%, nm ms, etc.), which may reach a maximum amount. In the event that the first keepalive threshold expires, causing the client to transmit a keepalive message, and the client does not obtain a keepalive response from the broker, the client can reduce the keepalive threshold for subsequent transmissions by a certain amount (e.g., 50%, n ms, etc.) or to a default minimum value. Thus, when a keepalive message is transmitted and acknowledged, the keepalive threshold for subsequent transmissions can be increased, thereby reducing the bandwidth used to support such transmissions. These changes to MQTT may be particularly beneficial in a moderated environment 110 with low bandwidth or high congestion.
[0023] Each coordinated environment 110 may include a network of execution environments 270 (the network is Figure 1 10 and any number of coordinated devices 112 that communicate with each other (not shown in the figure). Due to their association within the coordinated environment 110, the coordinated devices 112 and coordinators 114 within a given coordinated environment 110 can be considered to be "local" to each other with respect to the communication network. For example, the coordinated devices 112 and coordinators 114 within a given coordinated environment 110 can be connected via a LAN or other localized communication network. According to the embodiments described herein, the coordinated devices 112 and coordinators 114 can communicate with each other via such a localized communication network. In some cases, the communication between the coordinated devices 112 and the coordinators 114 can be encrypted, such as via a transport layer security encryption protocol. Illustratively, a security certificate that verifies the digital identity of the coordinator can be provided to the coordinator 114. The security certificate can be signed by a public certificate authority or a private certificate authority (e.g., established by the service provider environment 120).
[0024] Each coordinated device 112 may correspond to a computing device configured to communicate with the coordinator 114 to manage the functions of the coordinated device 112. In some cases, the coordinated device 112 may correspond to a full-featured computing device with robust localized user interface capabilities, such as a laptop, desktop computer, stand-alone media player, etc. In other cases, the coordinated device 112 may correspond to a thin device or an embedded device associated with another primary function, such as a device embedded in a household appliance or device (such as a refrigerator, washing machine, hot water heater, stove, door lock, light bulb, electrical outlet, electrical switch, etc.) or attached as an accessory to a household appliance or device. In some cases, such appliances or devices are referred to as "smart" devices, IoT devices, or "connected" devices. As such, the coordinated device 112 may include a limited local user interface and be configured for remote management. In some cases, the coordinated device 112 may be stateful and operate in response to instructions to change its state (e.g., by changing from "off" to "on", etc.).
[0025] As described in more detail below (e.g., see Figure 2), the coordinator 114 may correspond to a computing device that executes instructions to coordinate, manage, or control the operation of the coordinated devices 112 without requiring the instructions transmitted to the coordinated devices 112 to travel outside the coordinated environment 110 (thereby increasing the security of such instructions and increasing their transmission speed). Specifically, the coordinator 114 may include a processor and a memory that are collectively configured to manage communications between any combination of the coordinated devices 112, the client devices 102, and the devices of the service provider network. The coordinator may be further configured to enable the execution of tasks in a manner similar to the on-demand code execution environment 150 of the service provider environment 120. These tasks may implement various user-defined or non-user-defined functions, including communicating with the coordinated devices 112, the client devices 102, and the devices of the service provider network. In this way, the coordinator 114 may be configured to allow manual, automatic, or semi-automatic control of the coordinated devices 112. For example, the coordinator 114 may enable the client device 102 to send a request to change the state of the coordinated device 112 and cause such a state change to occur. As another example, the coordinator 114 may enable a user to specify criteria for which the state of a coordinated device 112 should be changed, and then automatically operate to change the state of the coordinated device 112 when the criteria are met.
[0026] As will be discussed below, many functions of the coordinator 114 can be established through tasks, so that these functions can be quickly changed according to the needs of the user. In some cases, such tasks (or dependencies of such tasks, such as libraries, drivers, etc.) can be provided by users of the coordinator. In other cases, such tasks can be provided to the coordinator 114 through the service providing environment 120. For example, the service provider environment 120 can maintain a task library available to the coordinator 114, as well as the types of coordinated devices 112 to which such tasks can be applied (e.g., all devices, specific device models, specific manufacturers, types or functions of devices, etc.). The service provider environment 120 can then provide the coordinator 114 with all or some tasks suitable for the coordinated devices 112 in the coordinated environment 110 of the coordinator 114, or notify the user of the availability of such tasks. In one embodiment, the user can notify the service provider environment 120 or the coordinator 114 of the coordinated devices 112 in the coordinated environment 110. In another embodiment, the coordinator 114 can be configured to determine the characteristics of those devices based on the transmissions of the coordinated devices 112 within the coordinated environment 110. Illustratively, upon receiving a communication from a coordinated device 112 (e.g., in response to a user-initiated pairing, based on an automatic transmission, etc.), the coordinator 114 may compare the content or format of the transmission to information mapping the format or content to different device times. Such a mapping may be maintained by the service provider environment 120 and may be updated based on data collected from the various coordinators 114. In some cases, the coordinator 114 may map transmissions to tasks appropriate for the coordinated device 112, rather than mapping transmissions to device types, regardless of whether the type of the coordinated device 112 is known. For example, for an established coordinated environment 110 having one or more coordinated devices 112, the service provider environment 120 may collect data identifying the content or format of transmissions of such coordinated devices 112 and tasks for managing the operation of such coordinated devices 112. Thereafter, the newly created coordinated environment 110 may be monitored for the same or similar transmissions, and tasks used in the established coordinated environment 110 may be presented for potential use in the newly created coordinated environment 110. In other embodiments, the coordinator 114 may utilize a standardized discovery protocol, such as the Universal Plug and Play (UPnP) protocol suite, to discover the coordinated devices 112 within the coordinated environment 110 .
[0027] The client device 102 may include a variety of computing devices that enable a user to communicate with the coordinated environment 110, the service provider environment 120, or both. In general, the client device 102 may be any computing device, such as a desktop, laptop or tablet computer, a personal computer, a wearable computer, a server, a personal digital assistant (PDA), a hybrid PDA / mobile phone, a mobile phone, an e-book reader, a set-top box, a voice command device, a camera, a digital media player, etc. The service provider environment 120 may provide the client device 102 with one or more user interfaces, command line interfaces (CLIs), application programming interfaces (APIs), and / or other programming interfaces for interacting with the service provider environment 120, such as to submit configurations of the orchestrator 114 and control deployment of the configurations, submit code corresponding to tasks to be executed on the orchestrator 114 or the on-demand code execution environment 150 of the service provider environment 120, view logging or monitoring information related to the orchestrator 114, etc. Similarly, the coordinator 114 may provide one or more user interfaces, command line interfaces (CLIs), application programming interfaces (APIs), or other programming interfaces to the client devices 102 for interacting with the coordinator 114, such as to read the state of the coordinated devices 112, request a change in the state of the coordinated devices 112, request the coordinator 114 to perform a task, etc. Although one or more embodiments may be described herein as using a user interface, it should be understood that these embodiments may additionally or alternatively use any CLI, API, or other programming interface.
[0028] The service provider environment 120 may include multiple elements to enable configuration, management, and communication with the coordinator 114. Specifically, the service provider environment 120 includes: a management and deployment service 130, which enables registration of the coordinator 114 with the service provider environment 120 and configuration of such coordinator 114; a device shadow service 140, which enables robust changes to the state of the coordinator 114 and the coordinated device 112; and an on-demand code execution environment 150, which provides on-demand dynamic execution of tasks, as well as deployment and provisioning of tasks on the coordinator 114.
[0029] like Figure 1As shown, the management and deployment service 130 includes a client and data interface 132 and a configuration data store 134, which can operate together to enable registration of the orchestrator 114 with the management and deployment service 130, generation of configurations for the orchestrator 114, and transmission of configuration data to the orchestrator 114. Illustratively, the client and data interface 132 can provide one or more user interfaces (e.g., API, CLI, GUI, etc.) through which a user can generate or submit a configuration for the orchestrator 114 stored in the configuration data store 134 via the client device 102. The client and data interface 132 can further provide one or more interfaces through which the orchestrator 114 can retrieve the configuration to reconfigure the orchestrator 114 according to the retrieved configuration. The configuration data store 134 can correspond to any persistent or substantially persistent data store, such as a hard disk drive (HDD), a solid state drive (SDD), a network attached storage (NAS), a tape drive, or any combination thereof.
[0030] The device shadow service 140 may include elements that enable the creation, maintenance, reading, modification, or deletion of a "shadow state" of a device such as a coordinator 114 or a coordinated device 112. As described above, a shadow state may correspond to data representing a desired state of a corresponding device, which may or may not mirror the current state of the device. For example, for the coordinator 114, the shadow state may include a configuration version required by the coordinator 114. For the coordinated device 112, the shadow state may include the state required by the coordinated device 112 (e.g., the on or off of a switch or light bulb, the locking or unlocking of a lock, the desired temperature of a thermostat, etc.). The device shadow service 140 may enable a user to read or modify the shadow state of a device from a device via a client device 102 or other entity, and may further interact with the device to synchronize the device to the shadow state. Illustratively, the device shadow service 140 may include an interface 142 (which may include, for example, an API, a CLI, a GUI, etc.), through which a request to read, write, create, or delete a shadow state may be received, and a shadow data storage area 144 configured to store the shadow state. Shadow data storage area 134 can correspond to any persistent or substantially persistent data storage area, such as a hard disk drive (HDD), a solid state drive (SDD), a network attached storage (NAS), a tape drive, or any combination thereof. More details about device shadow service 140 can be found in the '700 application, which is incorporated by reference above. Device shadow service 140 can be optional and can be omitted from service provider environment 120.
[0031] The on-demand code execution environment 150 may include multiple devices that provide on-demand execution of tasks (e.g., portable code segments). Specifically, the on-demand code execution environment 150 may include a front end 152, through which a user may submit a task to the on-demand code execution environment 150 via a client device 102 and request that the task be executed on the on-demand code execution environment 150. Such tasks may be stored, for example, in a task data storage area 154, which may correspond to any persistent or substantially persistent data storage area, such as a hard disk drive (HDD), a solid-state drive (SDD), a network attached storage (NAS), a tape drive, or any combination thereof. Although in Figure 1 Not shown, but the on-demand code execution system may include various additional components to enable execution tasks, such as multiple execution environments (e.g., containers or virtual machines executed on a physical host device of the on-demand code execution environment 150), a worker manager to manage such execution environments, and a warm pool manager to help make the execution environments available to the worker managers quickly (e.g., within 10 milliseconds). More details about the on-demand code execution environment can be found in the '556 patent, which is incorporated by reference above.
[0032] As described above, tasks can be used in both the on-demand code execution environment 150 and the coordinator 114. As described above, tasks correspond to individual sets of user codes (e.g., to implement specific functions). References to user codes used herein may refer to any program code (e.g., programs, routines, subroutines, threads, etc.) written in a specific programming language. In the present disclosure, the terms "code," "user code," and "program code" may be used interchangeably. For example, such user codes may be executed in conjunction with a specific Web application or mobile application developed by a user to implement a specific function. The specific execution of the code is referred to herein as "task execution" or simply "execution." Tasks may be written in JavaScript (e.g., node.js), Java, Python, and / or Ruby (and / or another programming language) by way of non-limiting examples. Tasks may be "triggered" in various ways to be executed on the on-demand code execution system or coordinator 114. In one embodiment, a client device 102 or other computing device may send a request to execute a task, which may be generally referred to as a "call" to execute the task. Such a call may include the user code to be executed (or its location) and one or more independent variables to be used to execute the user code. For example, the call can provide the user code of the task and the request to perform the task. In another example, the call can identify the previously uploaded task by the previously uploaded task name or identifier. In another example, the code corresponding to the task can be included in the call of the task, and uploaded in a separate location (e.g., a storage device of the coordinator 114, a network accessible storage service or task data storage area 154) before the coordinator 114 or the on-demand code execution system receives the request. The request interface of the coordinator 114 or the on-demand code execution system can receive a call from the user to perform a task as a hypertext transfer protocol secure (HTTPS) request. Moreover, when performing the task, any information (e.g., headers and parameters) contained in the HTTPS request can also be processed and utilized. As described above, any other protocol (including, for example, HTTP, MQTT and CoAP) can be used to transmit the message containing the task call to the request interface 122.
[0033] The call of performing a task can specify one or more third-party libraries (including native libraries) to be used together with the user code corresponding to the task. In one embodiment, the call can provide a ZIP file to the coordinator 114 or the on-demand code execution system, and the ZIP file contains the user code and any library (and / or the identification of its storage location) corresponding to the task requested to be performed. In some embodiments, the call includes metadata, and the metadata indicates the program code of the task to be performed, the language used for writing the program code, the user associated with the call, or the computing resources (for example, memory, etc.) to be reserved for the execution of the program code. For example, the program code of the task can be provided with the call previously uploaded by the user, provided by the coordinator 114 or the on-demand code execution system (for example, standard routine) and / or provided by the third party. In some embodiments, such resource-level constraints are specified for specific tasks (for example, how much memory is to be allocated for executing specific user code), and will not change when each task is executed. In such a case, the coordinator 114 or the on-demand code execution system can access such resource-level constraints before receiving each individual call, and individual calls can not specify such resource-level constraints. In some embodiments, the call may specify other constraints, such as permission data indicating the type of permission or authorization that the caller has to perform the task. Such permission data may be used by the on-demand code execution system to access dedicated resources (e.g., on a dedicated network).
[0034] In some embodiments, the call can specify the behavior that should be taken for processing the call. In such embodiments, the call can include an indicator for enabling one or more execution modes of the task referenced in the execution call. For example, the call can include a flag or header for indicating whether the task should be executed in debug mode, in which the debugging and / or logging output that can be generated in relation to the execution of the task is provided back to the user (e.g., through a console user interface). In such an example, the coordinator 114 or the on-demand code execution system can check the call and look for a flag or header, and if present, the coordinator 114 or the on-demand code execution system can modify the behavior of the execution environment of the execution task (e.g., logging facility), and provide the output data back to the user. In some embodiments, the behavior / mode indicator is added to the call by the user interface provided to the user by the coordinator 114 or the on-demand code execution system. Other functions, such as source code analysis, remote debugging, etc., can also be enabled or disabled based on the instructions provided in the call. As further described above, in some embodiments, the call may specify a file location and expected input / output from the file location that corresponds to access to resources local to the particular coordinated device 112 that is to perform the task.
[0035] Figure 1The service provider environment 120 is shown operating in a distributed computing environment that includes the use of one or more computer networks ( Figure 1 The service provider environment 120 may also be a computer system having a plurality of interconnected computer systems (not shown). Figure 1 The present invention is intended to operate in a computing environment that is less or more numerous than the number of devices shown. Figure 1 The description of the service provider environment 120 in the embodiment is considered to be illustrative and not limiting of the present disclosure. For example, the service provider environment 120 or its various components can implement various Web service components, hosted or "cloud" computing environments and / or peer-to-peer network configurations to implement at least a portion of the processes described herein.
[0036] In addition, the service provider environment 120 can be implemented directly in hardware or software executed by a hardware device, and can include, for example, one or more physical or virtual servers implemented on physical computer hardware configured to execute computer executable instructions for performing the various features described herein. One or more servers can be geographically dispersed or geographically co-located, for example, in one or more data centers. In some cases, one or more servers can operate as part of a system of rapidly provisioned and released computing resources (commonly referred to as a "cloud computing environment").
[0037] Figure 2 The general architecture of a computing system (referred to as a coordinator 114 ) that manages coordinated devices 112 within a given coordinated environment 110 is shown. Figure 2 The general architecture of the worker manager shown in FIG. 1 includes an arrangement of computer hardware and software modules that can be used to implement various aspects of the present disclosure. The hardware modules can be implemented with physical electronic devices, which will be discussed in more detail below. The coordinator 114 may include more Figure 2 More (or fewer) elements are shown. However, it is not necessary to show all of these generally conventional elements to provide a feasible disclosure. In addition, Figure 2 The general architecture described in Figure 1 104. As shown, the coordinator 114 includes a processing unit 204, a network interface 206, a computer readable medium driver 207, and an input / output device interface 208, all of which can communicate with each other through a communication bus. The network interface 206 can provide a connection to one or more networks or computing systems. The processing unit 204 can therefore receive information and instructions from other computing systems or services via the network 104. The processing unit 204 can also communicate with the memory 250, and also provide output information for additional resources via the input / output device interface 208. The input / output device interface 208 can also accept input from additional resources.
[0038] Memory 250 may contain computer program instructions (grouped into modules in some embodiments) that processing unit 204 executes to implement one or more aspects of the present disclosure. Memory 250 typically includes random access memory (RAM), read-only memory (ROM), and / or other persistent, auxiliary or non-transitory computer-readable media. Memory 250 may store an operating system 252 that provides computer program instructions used by processing unit 204 in general management and operation of coordinator 114. Memory 250 may also include computer program instructions and other information for implementing various aspects of the present disclosure. For example, in one embodiment, memory 250 includes process manager 254, scheduler 256, deployment agent 258, and communication manager 260.
[0039] The scheduler 256 and the deployment agent 258 may be executed by the processing unit 204 to select tasks to be executed by the processing unit 204 and to manage the execution of these tasks. Specifically, the scheduler 256 may include instructions to select tasks for execution at a given point in time and to pause the execution of tasks (e.g., in the case of resource constraints at the coordinator 114). The deployment agent 258 may include the following instructions: select a suitable execution environment 270 in which to execute the task; provide the execution environment 270 with appropriate access to resources required during the execution of the task; and cause the execution of tasks within the execution environment 270. As used herein, the execution environment 270 refers to a logical portion of the memory 250 in which the task is executed. In one embodiment, the execution environment 270 is programmatically separated so that the execution of code in the first execution environment 270 is prohibited from modifying the memory associated with another execution environment 270. Illustratively, the execution environment 270 may correspond to a "container", an operating system-level virtualization environment, or a "sandbox" environment, such as a "chrootjail" or a Python virtual environment "virtualenv". In other cases, execution environment 270 may correspond to a virtual machine environment (e.g., a JAVA virtual machine, a virtualized hardware device with a different operating system, etc.) In still other cases, execution environment 270 may be a memory space allocated for task execution without necessarily utilizing virtualization.
[0040] The communication manager 260 can facilitate communication between tasks executed on the coordinator and between the coordinator 114 and other devices (e.g., client devices 102 and coordinated devices 112). Specifically, the communication manager 260 can be configured to obtain messages directed to the coordinator 114 and forward the messages to the appropriate destination. For example, the communication manager 260 can route messages between any combination of tasks, coordinated devices 112, client devices 102, and devices of the service provider environment 120.
[0041] In order to be able to collect information about the operation of the coordinator 114, the memory 250 also includes a measurement and logging agent 259, which corresponds to code that can be executed by the coordinator 114 to monitor the operation of the coordinator 114 (such as how tasks are executed at the coordinator 114) and report information about this operation. This information may include, for example, the execution time of a task on the coordinator 114, and information about this execution (e.g., the computing resources used, whether the execution caused an error, etc.). In some cases, the measurement and logging agent 259 can store this information locally, such as in the memory 250, so that a user can obtain the information. In other cases, the measurement and logging agent 259 agent can store information remotely, such as at the service provider environment 120. The measurement and logging agent 259 can also implement additional functions related to monitoring the operation of the coordinator 114, such as transmitting health check data from the coordinator 114 to the service provider environment 120.
[0042] The tasks performed by the coordinator 114 are shown as being logically grouped within a task memory space 280, which may correspond to a logical unit of the memory 250 configured to store code corresponding to each task. Figure 2 As shown, the task memory space 280 may include multiple tasks that can be executed by the processing unit 204 to implement the functions of the coordinator 114, including a router task 282, one or more communication manager tasks 286, a shadow service task 288, and one or more client-provided tasks 290.
[0043] The router task 282 may correspond to a portion of code that can be executed to assist in routing messages within, to, and from the coordinator 114. In one embodiment, the router task 282 implements an "event flow table" to determine the appropriate destination for a message or other indication of an event received at the coordinator 114. For example, the communication manager 260 may forward a message obtained at the coordinator 114 (e.g., a message generated by the execution or reception of a task at the input / output interface 208) to the router task 282, which may utilize the event flow table to determine that a message addressed to a certain identifier should be routed to a given task, a given client device 102, or a given coordinated device 112. In some cases, the event flow table may be further used to specify a manner of processing a given type of message. For example, the event flow table may specify that a message or event data originating from a certain task or coordinated device 112 should be sent to another task or coordinated device 112, logged at the coordinator 114, rejected, cause a new execution of a task, etc. The event flow table may further indicate that messages that meet specified criteria (e.g., addressed to a given identifier, including a specific flag, etc.) should be sent to the service provider environment 120 (e.g., the device shadow service 140 or the on-demand code execution system). In one embodiment, the event flow table may utilize a "topic" as an identifier so that messages associated with a particular topic are sent according to the route specified for the topic. The event flow table may further include information about how to route those messages based on the source of the message. For example, based on whether a message addressed to a given topic is received from a first task or from a second task, a first coordinated device 112, etc., the message may be routed in different manners. By using an event flow table, the router task 282 may enable messages to be processed in different manners without changing the operation of the sender of the message (e.g., without rewriting the code of the task used to generate the message, without modifying the software of the coordinated device 112 that generates the message, etc.).
[0044] The communication manager task 286 may implement such communication according to the protocol of communication between the coordinator 114 and a plurality of different external devices (e.g., the coordinated device 112). For example, the first communication manager task 286 may be configured to use BLUETOOTH TMThe first communication manager task 286 may be configured to manage communications using a TCP protocol, the second communication manager task 286 may be configured to manage communications using an HTTP protocol, and the like. In some cases, multiple communication manager tasks 286 may work together to implement communications. For example, the first communication manager task 286 may implement communications via a TCP protocol, while the second communication manager task 286 may implement communications via an MQTT protocol (which utilizes a TCP protocol and therefore may utilize the first communication manager task 286). Because different communication manager tasks 286 may change the ability of the coordinator 114 to communicate via different protocols, and because the tasks of the coordinator 114 may be changed by reconfiguring the coordinator 114, the coordinator 114 may be quickly reconfigured to utilize a variety of different communication protocols.
[0045] The shadow service tasks 288 may facilitate managing and interacting with device shadows maintained at the coordinator 114. Illustratively, the shadow service tasks 288 may implement functions similar to those provided locally to the coordinator 114 by the device shadow service 140. Thus, the shadow service tasks 288 may maintain the shadow state (data representing a desired state) of the coordinated device 112 and allow reading or writing of such data. The shadow service tasks 288 may also synchronize the coordinated device 112 with the device shadow of the device. Thus, by modifying the device shadow of the coordinated device 112, the state of the coordinated device 112 may be changed. By reading the device shadow of the coordinated device 112, the state of the coordinated device 112 may be determined. In some cases, the shadow service tasks 288 may further coordinate with another device shadow of a given device, such as a device shadow maintained by the device shadow service 140. For example, the shadow service tasks 288 may synchronize a local device shadow with a device shadow stored at the device shadow service 140, resolve conflicts between a local device shadow and a device shadow stored at the device shadow service 140, and so on.
[0046] In addition to the tasks described above (each of which may be illustratively provided by an entity associated with the service provider environment 120), the task memory space 280 may include any number of client-provided tasks 290, which may correspond to executable code generated by the client device 102 and submitted to the service provider environment 120 for deployment to the coordinator 114. Likewise, the functionality provided by the client-provided tasks 290 may vary depending on the needs of the submitting user. In some cases, the client-provided tasks 290 may be written in a coding language for which the memory 250 includes a language runtime. For example, where the coordinator 114 supports languages such as node.js, Go, JAVA, and Python, the client-provided tasks 290 may include executable code written in any of these languages.
[0047] In addition, the memory 250 includes a configuration data portion 272, which represents a logical portion of the memory 250 in which configuration data for the coordinator 114 is stored. The configuration data may include, for example, a currently deployed version of the coordinator 114, data stored by tasks in the task memory space 280, or other data used in the operation of the coordinator 114.
[0048] To enable configuration (and reconfiguration) of the orchestrator 114, the memory 250 also includes a deployment agent 258. The deployment agent 258 may correspond to code that is executable to register the orchestrator with the service provider environment 120, determine a desired configuration for the orchestrator 114, and, if the current configuration of the orchestrator 114 does not match the desired configuration, obtain configuration data for the orchestrator 114 and modify the memory 250 to achieve the desired configuration.
[0049] Figure 3A One embodiment of the architecture of an illustrative coordinated device 112A in accordance with the present application is shown. Figure 3A The general architecture of the coordinated device 112A shown includes an arrangement of computer hardware and software components that can be used to implement various aspects of the present disclosure. As shown, the coordinated device 112A includes a processing unit 304, a network interface 306, a computer-readable medium drive 307, an input / output device interface 320, an optional display 302, and an input device 424, all of which can communicate with each other via a communication bus. Illustratively, as an embedded device, the coordinated device 112A can have more limited functions and components, such as input or output. Further, in some embodiments, a computing device can implement functions associated with the coordinator 114 and the coordinated device 112.
[0050] The network interface 306 can provide Figure 1The coordinated device 112 may be configured to provide a connection to one or more networks or computing systems of the network 104. The processing unit 304 may therefore receive information and instructions from other computing systems or services via the network. As will be described in more detail below, each coordinated device 112 may be configured to receive a set of inputs, such as a specific type of data required to implement one or more functions. For example, a coordinated device 112 corresponding to a tag reader will be configured to receive a tag number encoded as a barcode. Similarly, each coordinated device 112 may be configured to generate a set of outputs, such as a specific type of data generated by the implementation of one or more functions. For example, a coordinated device corresponding to a temperature sensor may be configured to generate data indicating a measured temperature or a binary indication of whether a temperature threshold has been exceeded. Further, each coordinated device may be configured with a set of interfaces or communication protocols that establish a format and specific protocol for receiving or sending communications. For example, a coordinated device 112 may be configured to receive communications according to any previously identified protocol (such as MQTT) and a specific API that identifies the order and format of data. Additionally, the coordinated devices 112 may also be configured for additional security protocols, such as encryption, compression protocols, or other protocols related to the exchange of information between the coordinated devices 112 (or other components).
[0051] Processing unit 304 may also communicate with memory 310 and also provide output information for optional display 302 via input / output device interface 320. Input / output device interface 320 may also accept input from local resources 324, such as a dedicated processor (e.g., a graphics processing unit), memory, an optimized chipset, etc. In some embodiments, coordinated device 112A may include more than Figure 3A More (or fewer) components than shown. For example, some embodiments of coordinated device 112 may omit display 302 and input device 424, while providing input / output capabilities through one or more alternative communication channels (eg, via network interface 306).
[0052] Memory 310 may include computer program instructions that are executed by processing unit 204 to implement one or more embodiments. Memory 310 generally includes RAM, ROM, or other persistent or non-transitory memory. Memory 310 may store an operating system 314 that provides computer program instructions used by processing unit 304 in the general management and operation of coordinated device 112A. Memory 310 may also include computer program instructions and other information for implementing various aspects of the present disclosure. For example, in one embodiment, memory 310 includes a browser application 316 for accessing content. Illustratively, browser application 316 may include a complete software browser application, a portion of a browser application, or simply an interface software application (or executable instructions) that provides a data connection. In some embodiments, memory 310 may further include an agent software application 318 for establishing a communication channel with service provider environment 120 to facilitate interaction with local resources 324. Agent software application 318 may be implemented in conjunction with, in place of, or separately from browser software application 316. In some test environments, as described above, agent software application 318 may be omitted.
[0053] Figure 3B One embodiment of an alternative architecture for an illustrative coordinated device 112B in accordance with the present application is shown. Figure 3B The general architecture of the coordinated device 112B shown includes an arrangement of computer hardware and software components that can be used to implement various aspects of the present disclosure. However, the coordinated device 112B can be associated with fewer components that can limit the computing functions and operations of the coordinated device 112B. As shown, the coordinated device 112B includes a processing unit 350 and a network interface 352 that communicate with a communication bus. Figure 3A Unlike the coordinated device 112B of FIG. 1 , the coordinated device 112B may not have a computer-readable media drive, an optional display, or an input device. However, for the purposes of this application, the coordinated device 112B will likely have some local resource that can be accessed during task execution.
[0054] The network interface 352 can provide Figure 1The coordinated devices 112 may be configured to provide a connection to one or more networks or computing systems of the network 104. The processing unit 350 may therefore receive information and instructions from other computing systems or services via the network. As will be described in more detail below, each coordinated device 112 may be configured to receive a set of inputs, such as a specific type of data required to implement one or more functions. For example, a coordinated device 112 corresponding to a thermostat may be configured to receive a temperature setting or a time setting for adjusting an environmental control. Similarly, each coordinated device 112 may be configured to generate a set of outputs, such as a specific type of data generated by the implementation of one or more functions. For example, a coordinated device corresponding to a motion sensor may be configured to generate data indicating a binary indication of whether a threshold amount of motion has been detected. Further, each coordinated device may be configured with a set of interfaces or communication protocols that establish the format and specific protocol for receiving or sending communications. For example, the coordinated device 112 may be configured to receive communications according to any previously identified protocol (such as TCP) and a specific API that identifies the order and format of the data. Additionally, the coordinated devices 112 may also be configured for additional security protocols, such as encryption, compression protocols, or other protocols related to the exchange of information between the coordinated devices 112 (or other components).
[0055] Memory 354 may include computer program instructions that processing unit 350 executes to implement one or more embodiments. Memory 354 generally includes RAM, ROM, or other persistent or non-transitory memory. In this embodiment, memory 354 may store a complete operating system that must be stored, which provides computer program instructions used by processing unit 350 in the general management and operation of coordinated device 112B. Instead, in one embodiment, memory 354 includes an interface software application 356 for accessing received and processed instructions. In some embodiments, memory 310 may further include an agent software application 358 for establishing a communication channel with service provider environment 120 to facilitate interaction with local resources 324. Agent software application 358 may be implemented in conjunction with interface software application 356, in place of browser software application 316, or separately. In some test environments, as described above, agent software application 318 may be omitted.
[0056] Figure 4 One embodiment of the architecture of an illustrative client device 102 according to the present application is shown. Figure 4The general architecture of the client device 102 shown includes an arrangement of computer hardware and software components that can be used to implement various aspects of the present disclosure. As shown, the client device 102 includes a processing unit 404, a network interface 406, a computer-readable medium drive 407, an input / output device interface 420, an optional display 402, and an input device 424, all of which can communicate with each other via a communication bus.
[0057] The network interface 406 can provide Figure 1 The processing unit 404 may also communicate with the memory 410 and also provide output information for the optional display 402 via the input / output device interface 420. The input / output device interface 420 may also accept input from an optional input device 424, such as a keyboard, mouse, digital pen, etc. In some embodiments, the client device 102 may include more than one computer system or service. Figure 4 For example, some embodiments of coordinated device 112 may omit display 402 and input device 424, while providing input / output capabilities through one or more optional communication channels (e.g., through network interface 406). Alternatively, client device 102 may omit input and output interface 420 entirely.
[0058] Memory 410 may include computer program instructions that processing unit 204 executes to implement one or more embodiments. Memory 410 generally includes RAM, ROM, or other persistent or non-transitory memory. Memory 410 may store an operating system 414 that provides computer program instructions used by processing unit 404 in the general management and operation of client device 102. Memory 410 may also include computer program instructions and other information for implementing various aspects of the present disclosure. For example, in one embodiment, memory 410 includes a browser application 416 for accessing content. Illustratively, browser application 416 may include a complete software browser application, a portion of a browser application, or simply a software application (or executable instructions) that provides a data connection.
[0059] Figure 5 One embodiment of the architecture of an illustrative computing device for implementing various aspects of a rendering resource management component 108 according to aspects of the present application is shown. The rendering resource management component 108 can be part of an instantiation of a virtual machine instance associated with a rendering resource 106 (e.g., a rendering resource pool). Alternatively, the computing device can be a standalone device independent of the rendering resource 106.
[0060] Figure 5 The general architecture of the computing device 108 shown in the figure includes an arrangement of computer hardware and software components that can be used to implement various aspects of the present disclosure. As shown, the computing device 500 includes a processing unit 504, a network interface 506, a computer-readable medium drive 508, and an input / output device interface 509, all of which can communicate with each other via a communication bus. The components of the computing device 500 can be physical hardware components or implemented in a virtualized environment.
[0061] The network interface 506 can provide access to Figure 1 The processing unit 504 may be connected to one or more networks or computing systems of the network. The processing unit 504 may thus receive information and instructions from other computing systems or services via the network. The processing unit 504 may also communicate with the memory 510 and further provide output information. In some embodiments, the computing device 500 may include more than Figure 5 More (or fewer) components than shown.
[0062] Memory 510 may include computer program instructions that processing unit 504 executes to implement one or more embodiments. Memory 510 generally includes RAM, ROM or other persistent or non-transitory memory. Memory 510 may store an operating system 514 that provides computer program instructions used by processing unit 504 in the general management and operation of computing device 108. Memory 510 may also include computer program instructions and other information for implementing various aspects of the present disclosure. For example, in one embodiment, memory 510 includes interface software 512 for receiving and processing requests from user devices or sending processed results. Memory 510 includes a workflow definition component 516 for processing workflow definition information and generating mappings based on workflow definitions as described herein. Memory 510 also includes a workflow verification component 518 for testing the generated workflow, such as via simulation, as described herein.
[0063] As specified above, in one embodiment, Figure 5 The computing device 116 shown in the figure can be implemented as a physical computing device or a virtualized computing device in a computing network. In another embodiment, the computing device 116 can be implemented as a logical component in a virtual computing network, wherein the functions of the computing device 116 are implemented by the underlying substrate network of physical computing devices. Therefore, unless otherwise specified, aspects of the present application should not be limited to interpretations requiring physical, virtual, or logical implementations.
[0064] Reference now Figure 6, an illustrative workflow definition 600 will be described. Illustratively, a user device may generate one or more user interfaces, such as a graphical user interface, that allow a user to specify a workflow definition. For example, a graphical user interface may allow a user to select multiple coordinated devices, such as via a drop-down menu or a library. The graphical user interface may then allow the user to select a communication path between the coordinated devices, such as by drawing a communication line / path via an input device. Further, the graphical user interface may then allow the user to select or specify communication decision logic. The communication decision logic may include criteria, such as thresholds, for determining when communication should occur. The communication decision logic may also include branch information and associated criteria for specifying two or more branches for a communication path. Illustratively, the communication decision logic may be specified as binary logic (e.g., yes or no), as branch logic based on thresholds or ranges, and may include additional or supplementary criteria used in the evaluation process. The actual implementation of the graphical interface may be customized based on preferences / requirements provided by a user device or system administrator. The resulting specification may be sent to the coordinated device management service 116 via an interface. Thus, Figure 6 A block diagram may be used to illustrate how a graphical interface shows a workflow definition.
[0065] For purposes of illustration, the workflow definition 600 includes specifications for four coordinated devices 112 in the coordinated device network. Each coordinated device 112 is represented by a module or model representing the implementation of the coordinated device in the workflow, namely, model A 602, model B 604, model C 606, and model D 608. Illustratively, the coordinated device management service 116 can maintain a library of models or modules that define a set of inputs for the coordinated device, a set of outputs for the coordinated device, and a corresponding set of interfaces or a set of protocols used in the communication for each coordinated device. Illustratively, the set of inputs can correspond to various data types, value ranges, mandatory data fields, optional data fields, and can vary with the functions to be implemented by the coordinated device 112, including setting the functions to be performed. The set of outputs can correspond to various data types and value ranges, and can further vary based on the functions implemented by each coordinated device. The set of interfaces or communication protocols establishes the format and specific protocol for receiving or transmitting communications, as well as the API or other format for which the input / output will be specified. The module may be a specific single coordinated device 112, or alternatively a grouping of coordinated devices 112. Previously stored modules may be obtained based on manual definition by a system administrator, previous implementation of a coordinated device workflow, or via a third party provider, such as a manufacturer or module marketplace provider. If a module is not available for a specified coordinated device, the coordinated device management service 116 obtains a manual definition of the module. For example, the coordinated device management service 116 may cause the user device to generate one or more menus or graphical menus that allow a user or system administrator to specify a set of inputs, a set of outputs, or a communication protocol / interface. The user menus may also provide suggestions or default settings based on manufacturer, device type, interaction type, or general settings.
[0066] The workflow definition also includes the specification of communication paths between the selected models / modules. The communication paths may specify one-to-one or one-to-many communication flows and communication decision logic that identifies criteria for allowing communications to be generated from the coordinated devices, allowing the generated communications to be passed between the coordinated devices 112, or identifying whether additional or supplemental information is to be included in the communication (e.g., security keys, personal identifiers, etc.). Figure 6 As shown, there are five communication paths 606, 610, 612, and 618. Communication paths 610 and 614 represent branching paths, and the coordinated device management service 116 will obtain communication decision logic to determine the path to route communications. The workflow definition 600 also includes a stop or termination indicator 616.
[0067] Illustratively, the coordinated device management service 116 automatically identifies a mapping based on a specified communication path. Illustratively, a mapping represents a separate transformation of communications between each communication connection between two (or more) coordinated devices. Each separate mapping is based on a specified output from a first coordinated device to an input to a second coordinated device, and is also based on a specified communication protocol for the first coordinated device and the second coordinated device. As described above, a mapping may include specifications for additional information required to allow communication between two coordinated devices or based on communication decision logic (e.g., a specific specification of a priority field or importance field based on an evaluation of criteria independent of the coordinated devices). The combination of the mapping and the communication decision logic illustratively forms a workflow definition that will result in the generation of executable code as described herein. For example, Figure 6 The workflow shown in can correspond to a security workflow, where the coordinated device 112 is configured to facilitate access control in a physical structure. Figure 6 The workflow shown in can correspond to a climate control workflow, where the coordinated device 112 is configured to facilitate climate management in one or more areas of a physical structure. In yet another example, Figure 6 The workflow shown in may correspond to a data flow workflow in which the coordinated device 112 is configured to collect, process, and transmit different types of data. However, those skilled in the relevant art will appreciate that these examples are illustrative in nature and do not correspond to identification of all possible workflows or variations thereof.
[0068] Now go to Figure 7 , an illustrative implementation scheme for the specification processing of workflows for the coordinated environment 110 will be described. At (1), the coordinated device management service 116 receives a request from a user device to implement a workflow in the coordinated environment 110. As described above, the user device can generate one or more user interfaces, such as a graphical user interface, which allows a user to specify a workflow definition. For example, the graphical user interface can allow a user to select multiple coordinated devices, such as via a drop-down menu or a library. The graphical user interface can then allow the user to select a communication path between the coordinated devices, such as by drawing a communication line / path via an input device. Further, the graphical user interface can then allow the user to select or specify communication decision logic. The communication decision logic may include criteria for determining when communication should occur, such as thresholds. The communication decision logic may also include branch information and associated criteria for specifying two or more branches for a communication path. The actual implementation of the graphical interface can be customized according to preferences / requirements provided by the user device or system administrator. The resulting specification can be sent to the coordinated device management service 116 via an interface.
[0069] At (2), the coordinated device management service 116 processes the workflow definition and verifies the workflow definition. In one aspect, the coordinated device management service 116 determines whether a model definition for a specified set of coordinated devices is available. As described above, the coordinated device management service 116 can maintain a model library that defines a set of inputs for the coordinated device, a set of outputs for the coordinated device, and a corresponding set of protocols or interfaces (commonly referred to as a set of protocols) used in communication for each coordinated device. The module can be a specific individual device, or alternatively a combination of coordinated devices. Previously stored modules can be obtained based on manual definitions by a system administrator, previous implementations of a coordinated device network, or via a third-party provider (such as a manufacturer or module market provider). If the module is not available for the specified coordinated device, the coordinated device management service 116 obtains a manual definition of the module. For example, the coordinated device management service 116 can enable the user device to generate one or more menus or graphical menus that allow the user or system administrator to specify a set of inputs, a set of outputs, or communication protocols. The user menu can also provide suggestions or default settings based on manufacturer, device type, interaction type, or general settings.
[0070] On the other hand, the coordinated device management service 116 identifies workflow attributes, i.e., the communication path of the coordinated device 112, the communication decision logic, and any additional information required to implement the workflow. In some embodiments, the coordinated device management service 116 can determine that a specified set of coordinated devices are the same or similar devices, or share common modules. Therefore, the coordinated device management service 116 can reuse at least a portion of the identified information. The coordinated device management service 116 automatically identifies or collects mappings based on the specified communication path for the workflow. As described above, the mapping represents a separate transformation of the communication between each communication connection between two (or more) coordinated devices. Each separate mapping is based on the specified output from the first coordinated device to the input of the second coordinated device, and is also based on the specified communication protocol for the first coordinated device and the second coordinated device. The mapping may include specifications for additional information required to allow communication between the two coordinated devices or based on the communication decision logic (e.g., a specific description of a priority field or importance field based on an evaluation of a standard independent of the coordinated device). The combination of the mapping and the communication decision logic illustratively forms a workflow definition.
[0071] In another aspect, the coordinated device management service 116 can run a simulation of a specified workflow. For example, the coordinated device management service 116 can cause a graphical simulation of a communication flow, or specify values (e.g., temperature settings, safety tag readings, etc.) for one or more coordinated devices to determine whether the specified communication decision logic is correct or requires additional input / modification. The coordinated device management service 116 can generate output indicating the results of the processing, such as a color definition indicating a successful characteristic. In addition, the coordinated device management service 116 can generate additional information output, such as a log file or data file that allows additional troubleshooting.
[0072] At (3), the coordinated device management service 116 generates (or causes to be generated) executable code for deployment to the coordinated device network. The executable code can be illustratively implemented as an executable code or command interpreted by the coordinator 114, or as a separate component in the coordinated device network, such as a runtime executable by one or more coordinated devices 112 or coordinator 114. The executable code facilitates communication processes and communication transformations. In one embodiment, the executable code may not necessarily implement all evaluations of communication decision logic or transformations, but may coordinate calls such as tasks that may be performed by external services such as on-demand code execution services on the coordinated environment 110 or service provider environment 120. In another embodiment, the coordinated device management service 116 may include an executable code that at least partially implements the evaluation of communication decision logic and transformations without making additional calls (or limiting the need to make additional calls). The executable code can be deployed manually or automatically to be implemented on one or more coordinated environments 110.
[0073] Reference now Figure 8, a coordinated environment configuration routine 800 for a coordinated device management service 116 for a workflow definition will be described. In box 802, the coordinated device management service 116 receives a request to implement a workflow in a coordinated environment. As described above, a user device may generate one or more user interfaces, such as a graphical user interface, which allows a user to specify a workflow definition. For example, the graphical user interface may allow a user to select multiple coordinated devices, such as via a drop-down menu or a library. The graphical user interface may then allow a user to select a communication path between the coordinated devices, such as by drawing a communication line / path via an input device. Further, the graphical user interface may then allow a user to select or specify a communication decision logic. The communication decision logic may include criteria for determining when communication should occur, such as a threshold. The communication decision logic may also include branch information and associated criteria for specifying two or more branches for a communication path. The actual implementation of the graphical interface may be customized according to preferences / requirements provided by a user device or a system administrator. The resulting specification may be sent to the coordinated device management service 116 via an interface.
[0074] In box 804, the coordinated device management service 116 first determines whether the model definition of the coordinated devices of the specified group is available. As described above, the coordinated device management service 116 can maintain a library of models or modules that define a set of inputs for the coordinated devices, a set of outputs for the coordinated devices, and a set of protocols / interfaces used in communications for each coordinated device. The module can be a specific individual device, or alternatively a combination of coordinated devices. The previously stored modules can be obtained based on manual definitions by a system administrator, previous implementations of routine 800, or via a third-party provider (such as a manufacturer or module market provider). In box 804, if the module is not available for the specified coordinated device, the coordinated device management service 116 obtains the manual definition of the module. For example, the coordinated device management service 116 can enable the user device to generate one or more menus or graphical menus, which allow the user or system administrator to specify a set of inputs, a set of outputs, or communication protocols. The user menu can also provide suggestions or default settings based on manufacturers, device types, interaction types, or general settings. Illustratively, decision block 804 may be implemented for each designated coordinated device that is designated (eg, a first module for a first coordinated device, a second module for a second coordinated device, a third module for a third coordinated device, etc.).
[0075] In box 806, the coordinated device management service 116 identifies the workflow attributes, i.e., the communication path of the coordinated device 112, the communication decision logic, and any additional information required to implement the workflow. In some embodiments, the coordinated device management service 116 can determine that a specified set of coordinated devices are the same or similar devices, or share common modules. Therefore, the coordinated device management service 116 can reuse at least a portion of the identified information. In box 808, the coordinated device management service 116 automatically identifies, collects, or generates a mapping based on the specified communication path. Illustratively, the mapping represents a separate transformation of the communication between each communication connection between two (or more) coordinated devices. Each separate mapping is based on the specified output from the first coordinated device to the input of the second coordinated device, and is also based on the specified communication protocol for the first coordinated device and the second coordinated device. The mapping may include specifications for additional information required to allow communication between the two coordinated devices or based on the communication decision logic (e.g., a specific description of a priority field or an importance field based on an evaluation of a standard independent of the coordinated device). The combination of the mapping and the communication decision logic illustratively forms a workflow definition.
[0076] At decision block 812, a test is performed to determine whether additional input is to be entered. Illustratively, the interaction with the user via the graphical user interface may be iterative in nature, such that the user may provide multiple inputs to the coordinated device management service 116. If additional input / editing is indicated, the routine 800 returns to block 802 to receive additional input. Alternatively, once all inputs have been processed, at block 814, the coordinated device management service 116 processes the workflow definition. In one aspect, the coordinated device management service 116 may run a simulation of a specified workflow. For example, the coordinated device management service 116 may cause a graphical simulation of a communication flow, or specify values (e.g., temperature settings, security tag readings, etc.) for one or more coordinated devices to determine whether the specified communication decision logic is correct or requires additional input / modification. The coordinated device management service 116 may generate an output indicating the result of the processing, such as a color definition indicating a successful characteristic. In addition, the coordinated device management service 116 may generate additional information output, such as a log file or data file that allows additional troubleshooting.
[0077] In decision box 816, the coordinated device management service 116 generates (or causes to be generated) executable code for deployment to the coordinated device network. The executable code can be implemented by the coordinator 114 illustratively or as a separate component in the coordinated device network. The executable code promotes communication flow and communication transformation. In one embodiment, the executable code may not have to implement all evaluations of communication decision logic or transformation, but can coordinate calls such as tasks that can be performed by external services such as on-demand code execution services on the coordinated environment 110 or service provider environment 120. In another embodiment, the coordinated device management service 116 may include an executable code that at least partially implements the evaluation of communication decision logic and transformation without making additional calls (or limiting the need for making additional calls). The executable code can be deployed manually or automatically to be implemented on one or more coordinated environments 110. In box 818, routine 800 terminates.
[0078] All methods and tasks described herein can be performed by a computer system and fully automated. In some cases, a computer system may include multiple different computers or computing devices (e.g., physical servers, workstations, storage arrays, cloud computing resources, etc.), which communicate and interoperate through a network to perform the functions described. Each such computing device typically includes a processor (or multiple processors) that executes program instructions or modules stored in a memory or other non-temporary computer-readable storage medium or device (e.g., solid-state storage device, disk drive, etc.). Various functions disclosed herein can be embodied in such program instructions, or can be implemented in a special-purpose circuit (e.g., ASIC or FPGA) of a computer system. In the case where a computer system includes multiple computing devices, these devices can be, but need not be, in the same position. The results of the disclosed methods and tasks can be stored persistently by transforming a physical storage device such as a solid-state memory chip or disk into different states. In some embodiments, a computer system can be a cloud-based computing system, and its processing resources are shared by multiple different business entities or other users.
[0079] Depending on the implementation, certain actions, events, or functions of any process or algorithm described herein may be performed in a different order, may be added, combined, or omitted entirely (e.g., not all described operations or events are required to practice the algorithm). In addition, in some embodiments, operations or events may be performed simultaneously rather than sequentially, for example, through multithreading, interrupt handling, or multiple processors or processor cores, or on other parallel architectures.
[0080] The various illustrative logic blocks, models, routines, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware (e.g., ASIC or FPGA devices), computer software running on computer hardware, or a combination of the two. In addition, the various illustrative logic boxes and modules described in conjunction with the embodiments disclosed herein may be implemented or executed by machines such as processor devices, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. The processor device may be a microprocessor, but in an alternative, the processor device may be a controller, a microcontroller, or a state machine, a combination thereof, or the like. The processor device may include an electronic circuit configured to process computer executable instructions. In another embodiment, the processor device includes an FPGA or other programmable device that performs logic operations without processing computer executable instructions. The processor device may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors together with a DSP core, or any other such configuration. Although this article is primarily described with respect to digital technology, the processor device may also primarily include analog components. For example, some or all of the rendering techniques described herein may be implemented in analog circuitry or mixed analog and digital circuitry. The computing environment may include any type of computer system, including but not limited to a microprocessor-based computer system, a mainframe computer, a digital signal processor, a portable computing device, a device controller, or a computing engine within an appliance, to name a few examples.
[0081] The elements of the methods, processes, routines or algorithms described in conjunction with the embodiments disclosed herein can be directly embodied in hardware, software modules executed by a processor device, or a combination of the two. The software module can reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or any other form of non-temporary computer-readable storage medium. An example storage medium can be coupled to a processor device so that the processor device can read information from the storage medium and write information to the storage medium. In an alternative, the storage medium can be integrated with the processor device. The processor device and the storage medium can reside in an ASIC. The ASIC can reside in a user terminal. In an alternative, the processor device and the storage medium can reside in a user terminal as discrete components.
[0082] Unless otherwise specifically stated, or otherwise understood in the context of use, conditional language used herein such as "can," "may," "might," "could," "for example," and the like is generally intended to express that certain embodiments include, while other embodiments do not include, certain features, elements, or steps. Thus, such conditional language is generally not intended to imply that a feature, element, or step is required in any way for one or more embodiments, or that one or more embodiments necessarily include logic for determining whether such features, elements, or steps are included or to be performed in any particular embodiment, with or without other input or prompting. The terms "comprising," "including," "having," and the like are synonymous and are used in an open form as inclusive and do not exclude additional elements, features, actions, operations, and the like. In addition, the term "or" is used in its inclusive sense (rather than an exclusive sense) such that when used, for example, to connect a list of elements, the term "or" means one, some, or all of the elements in the list.
[0083] Unless otherwise specifically stated, disjunctive language such as the phrase "at least one of X, Y, or Z" should be understood in context as commonly used to indicate that an item, term, etc. can be X, Y, or Z, or any combination thereof (e.g., X, Y, or Z). Thus, such disjunctive language is generally not intended to, and should not, imply that certain embodiments require that at least one of X, at least one of Y, and at least one of Z each be present.
[0084] Although the above detailed description has shown, described and pointed out the novel features applied to various embodiments, it is understood that various omissions, substitutions and changes in the form and details of the described devices or algorithms can be made without departing from the spirit of the present disclosure. As can be appreciated, certain embodiments described herein can be implemented in a form that does not provide all the features and benefits set forth herein, because some features can be used or practiced separately from other features. The scope of certain embodiments disclosed herein is indicated by the attached claims rather than by the preceding description. All changes within the meaning and scope of the equivalents of the claims will be included within the scope of the claims.
[0085] Any routine description, element or block in the flowchart described in this article and / or shown in the accompanying drawings should be understood as a module, segment or portion that potentially represents a code, and the code includes one or more executable instructions for implementing a specific logical function or element in the routine. Alternative implementations are included within the scope of the embodiments described herein, where, as understood by those skilled in the art, depending on the functions involved, elements or functions may be deleted, or executed out of the order shown or discussed, including substantially synchronous execution or reverse execution.
[0086] The above can be better understood in view of the following groups of terms:
[0087] Clause .1 A system for deploying a coordinated device network application, the system comprising:
[0088] a plurality of computing devices corresponding to user devices and configured to provide one or more inputs regarding specifications of properties of the coordinated network of devices; and
[0089] One or more computing devices associated with a coordinated device management service, wherein the coordinated device management service is configured to:
[0090] receiving a selection of a first coordinated device from a user device;
[0091] determining a first module associated with the selected first coordinated device and identifying a set of inputs, a set of outputs, and a set of interfaces for the selected first coordinated device;
[0092] receiving a selection of a second coordinated device from a user device, and receiving a workflow definition between the first and second coordinated devices, wherein the workflow definition includes at least a communication path and a communication decision logic between the first and second coordinated devices;
[0093] determining a second module associated with the selected second coordinated device and defining a set of inputs, a set of outputs, and a set of interfaces for the selected second coordinated device;
[0094] automatically generating a mapping between the first coordinated device and the second coordinated device based on the communication path, wherein the mapping defines a transformation of communication based on the first module and the second module, wherein the communication decision logic and the mapping form a workflow; and
[0095] Causing generation of executable code corresponding to the formed workflow.
[0096] Clause. 2. The system of clause 1, wherein the coordinated device management service is further operable to:
[0097] receiving a selection of a third coordinated device from a user device, and receiving a workflow definition between the third coordinated device and at least the first or second coordinated device, wherein the updated workflow definition includes at least a communication path and a communication decision logic between the first, second and third coordinated devices;
[0098] determining a third module associated with the selected third coordinated device and defining a set of inputs, a set of outputs, and a set of interfaces for the selected third coordinated device;
[0099] An updated mapping between the first, second, and third coordinated devices is automatically generated based on the communication path, wherein the mapping defines a transformation of communications based on the first, second, and third modules, wherein the communication decision logic and the mapping form an updated workflow.
[0100] Clause. 3. The system of clause 1, wherein the coordinated device management service is further operable to test a simulation of the formed workflow.
[0101] Clause. 4. The system of clause 1, wherein the user device is further configured to generate one or more user interfaces for selecting the first coordinated device and the second coordinated device and the workflow definition.
[0102] Clause. 5. The system of clause 1, wherein the coordinated device management service determines a module for at least the first or second coordinated device based on modules previously defined for a set of coordinated devices.
[0103] Clause .6 The system of clause 1, wherein the coordinated device management service is further operable to:
[0104] determining that the first module has not been previously defined for the first coordinated device; and
[0105] A manual definition of the first module associated with the first coordinated device is obtained from the user equipment.
[0106] Clause .7 A computer-implemented method for managing deployment of a coordinated network of devices, the method comprising:
[0107] Obtaining, from a user device, a selection of a plurality of coordinated devices and a workflow definition between the plurality of coordinated devices;
[0108] determining a set of modules associated with the selected plurality of coordinated devices, wherein each module defines a set of inputs, a set of outputs, and a set of communication protocols for the coordinated devices;
[0109] automatically identifying a mapping between the plurality of coordinated devices, wherein the mapping is based on a transformation of the communication of the set of modules, wherein the workflow definition and the mapping form a workflow; and
[0110] Causing generation of executable code corresponding to the formed workflow.
[0111] Clause. 8. A computer-implemented method as described in Clause 7, wherein the workflow definition includes at least communication paths between the plurality of coordinated devices.
[0112] Clause .9 A computer-implemented method according to clause 7, wherein the workflow definition includes communication decision logic, further comprising receiving rendering resource configuration information.
[0113] Clause. 10. The computer-implemented method of Clause 9, wherein the communication decision logic comprises specification of a standard for allowing communication between two coordinated devices.
[0114] Clause. 11. The computer-implemented method of Clause 9, wherein the communication decision logic comprises specification of a standard for selecting a communication path between a plurality of coordinated devices.
[0115] Clause .12 A computer-implemented method according to Clause 7, wherein obtaining a selection of multiple coordinated devices from a user device and a workflow definition between the multiple coordinated devices includes: obtaining a selection and the workflow definition from one or more user interfaces for selecting the multiple coordinated devices.
[0116] Clause. 13. A computer-implemented method as described in Clause 7, wherein determining the set of modules associated with the selected plurality of coordinated devices comprises: identifying one or more modules based on modules previously defined for a set of coordinated devices.
[0117] Clause. 14. A computer-implemented method as described in Clause 7, wherein determining the set of modules associated with the selected plurality of coordinated devices comprises: obtaining a manual definition of one or more modules not previously defined for the set of coordinated devices.
[0118] Clause. 15. The computer-implemented method of clause 7, further comprising testing a simulation of the formed workflow prior to generating the executable code.
[0119] Clause .16 A computer-implemented method for managing deployment of a coordinated network of devices, the method comprising:
[0120] Obtaining, from a user device, a selection of a plurality of coordinated devices and a workflow definition between the plurality of coordinated devices;
[0121] determining a set of modules associated with the specified plurality of coordinated devices, wherein each module defines a set of inputs, a set of outputs, and a set of interfaces for the coordinated device;
[0122] automatically generating a mapping associated with the determined set of modules, wherein the mapping defines a transformation of communications based on the set of modules according to a defined workflow definition, wherein the workflow definition and the mapping form a workflow; and
[0123] Causing generation of executable code corresponding to the formed workflow.
[0124] Clause. 17 A computer-implemented method according to Clause 16, wherein the workflow definition includes at least communication paths between the plurality of coordinated devices.
[0125] Clause. 18. The computer-implemented method of clause 16, wherein the workflow definition includes communication decision logic, further comprising receiving rendering resource configuration information.
[0126] Clause .19 A computer-implemented method according to Clause 16, wherein obtaining a selection of multiple coordinated devices from a user device and a workflow definition between the multiple coordinated devices includes: obtaining a selection and the workflow definition from one or more user interfaces for selecting the multiple coordinated devices.
[0127] Clause. 20. The computer-implemented method of Clause 16, wherein determining the set of modules associated with the selected plurality of coordinated devices comprises identifying one or more modules based on modules previously defined for a set of coordinated devices.
[0128] Clause. 21. A computer-implemented method as described in Clause 16, wherein determining the set of modules associated with the selected plurality of coordinated devices comprises: obtaining manual definitions of one or more modules that were not previously defined for the set of coordinated devices.
[0129] It should be emphasized that many changes and modifications may be made to the above-described embodiments, and the elements of these changes and modifications should be understood to be among other acceptable examples. All such modifications and changes are intended to be included within the scope of this disclosure and protected by the following claims.
Claims
1. A system for deploying a coordinated device network application, the system comprising: a plurality of computing devices corresponding to user devices; and One or more computing devices associated with a coordinated device management service for coordinating a first coordinated device and a second coordinated device having different modules for communication, wherein the coordinated device management service is configured to: receiving a manual selection of the first coordinated device from an interface generated on a user device; Determining a first module associated with the first coordinated device, wherein the first module identifies, for the first coordinated device: (i) The first set of inputs, (ii) the first set of outputs, and (iii) a first set of communication protocols, the first set of communication protocols comprising a first input communication protocol for receiving the first set of inputs associated with the first coordinated device and a first output communication protocol for sending the first set of outputs associated with the first coordinated device; receiving a manual selection of the second coordinated device from the interface generated on the user device; A workflow definition between the first coordinated device and the second coordinated device is received from the interface generated on the user device, wherein the workflow definition includes: (i) a communication path between at least the first coordinated device and the second coordinated device, the communication path being defined by input received from the interface from a user; and (ii) a communication decision logic that provides a criterion for allowing communication between the first coordinated device and the second coordinated device and branch information of a communication path between the first coordinated device and the second coordinated device; Determine a second module associated with the second coordinated device, wherein the second module defines, for the second coordinated device: (i) The second set of inputs, (ii) the second set of outputs, and (iii) a second set of communication protocols, the second set of communication protocols comprising a second input communication protocol for receiving the second set of inputs associated with the second coordinated device and a second output communication protocol for sending the second set of outputs associated with the second coordinated device; automatically generating a mapping between the first coordinated device and the second coordinated device based on the communication path defined in the workflow definition, wherein the mapping defines a transformation of communications between the first coordinated device and the second coordinated device, and further, wherein the mapping is automatically generated based on the first set of outputs associated with the first coordinated device and the second set of inputs associated with the second coordinated device; generating a workflow corresponding to the communication decision logic and the mapping; and causing generation of executable code corresponding to the workflow, wherein the generated executable code implements tasks, and when the executable code is executed by the one or more computing devices associated with the coordinated device management service, causes the coordinated device management service to at least: In response to receiving communications between the first coordinated device and the second coordinated device, routing the communications between the first coordinated device and the second coordinated device to a remote on-demand code execution system, wherein the determination of routing the communications between the first coordinated device and the second coordinated device to the remote on-demand code execution system is based on criteria satisfied by the communications.
2. The system of claim 1, wherein the coordinated device management service is further operable to: receiving a selection of a third coordinated device from a user device, and receiving a workflow definition between the third coordinated device and at least the first coordinated device or the second coordinated device, updating the workflow definition to include at least a communication path and additional communication decision logic between the first coordinated device, the second coordinated device, and the third coordinated device; determining a third module associated with the third coordinated device, and defining a third set of inputs, a third set of outputs, and a third set of interfaces for the third coordinated device; Automatically generating an updated mapping between the first coordinated device, the second coordinated device, and the third coordinated device based on the communication path, wherein the mapping defines a transformation of communications based on the first module, the second module, and the third module, wherein the additional communication decision logic and the updated mapping form an updated workflow.
3. The system of claim 1, wherein the coordinated device management service is further operable to test a simulation of a formed workflow. 4 . The system of claim 1 , wherein the user device is further configured to generate one or more user interfaces for selecting the first coordinated device and the second coordinated device and the workflow definition. 5 . The system of claim 1 , wherein the coordinated device management service determines a module for at least the first coordinated device or the second coordinated device based on modules previously defined for a group of coordinated devices.
6. The system of claim 1, wherein the coordinated device management service is further operable to: determining that the first module has not been previously defined for the first coordinated device; and A manual definition of the first module associated with the first coordinated device is obtained from the user equipment.
7. The system of claim 1, wherein the map includes a priority field for each coordinated device connected to the communication path between the first coordinated device and the second coordinated device.
8. The system of claim 1, wherein a message is generated by executing the executable code, and the criteria comprises an identifier to which the message is addressed.
9. The system of claim 1, the communication decision logic comprising criteria for allowing communication between two coordinated devices based on a time at which communication between the two coordinated devices occurs.
10. A computer-implemented method for managing deployment of a coordinated network of devices, the method comprising: obtaining, from an interface generated on a user device, a manual selection of a plurality of coordinated devices, wherein the plurality of coordinated devices includes at least a first coordinated device and a second coordinated device having different modules for communicating; Acquire a workflow definition between the plurality of coordinated devices from the interface, wherein the workflow definition comprises: (i) a communication path between at least the first coordinated device and the second coordinated device, the communication path being defined by input from a user obtained from the interface; and (ii) a communication decision logic, the communication decision logic providing criteria for allowing communication between the first coordinated device and the second coordinated device and branch information of a communication path between the first coordinated device and the second coordinated device; determining a first module associated with the first coordinated device of the plurality of coordinated devices, wherein the first module defines a first set of inputs, a first set of outputs, and a first set of communication protocols for the first coordinated device, and the first set of communication protocols includes a first input communication protocol for receiving the first set of inputs associated with the first coordinated device and a first output communication protocol for sending the first set of outputs associated with the first coordinated device; determining a second module associated with the second coordinated device of the plurality of coordinated devices, wherein the second module is different from the first module; automatically identifying a mapping between the plurality of coordinated devices, wherein the mapping defines at least a transformation of communications between the first coordinated device and the second coordinated device based on the first module and the second module, wherein the identified mapping between the plurality of coordinated devices is automatically generated in response to a manual selection of the plurality of coordinated devices and based on the first set of outputs associated with the first coordinated device and the second set of inputs associated with the second coordinated device; generating a workflow based on the workflow definition and the mapping; and causing generation of executable code corresponding to the workflow, wherein the generated executable code implements a task, and when the executable code is executed by one or more computing devices separate from the plurality of coordinated devices, causes the one or more computing devices to: In response to receiving communications between the first coordinated device and the second coordinated device, routing the communications between the first coordinated device and the second coordinated device to a remote on-demand code execution system, wherein the determination of routing the communications between the first coordinated device and the second coordinated device to the remote on-demand code execution system is based on criteria satisfied by the communications. 11 . The computer-implemented method of claim 10 , wherein the workflow definition further comprises receiving rendering resource configuration information.
12. The computer-implemented method of claim 11, wherein the communication decision logic includes specification of a standard for allowing communication between two coordinated devices.
13. The computer-implemented method of claim 11, wherein the communication decision logic includes specification of a standard for selecting a communication path between a plurality of coordinated devices.
14. The computer-implemented method of claim 10, wherein determining the first module and the second module comprises: One or more modules are identified based on modules previously defined for a set of coordinated devices.
15. The computer-implemented method of claim 10, wherein determining the first module and the second module comprises: Gets the manual definition of one or more modules that were not previously defined for a set of coordinated devices.
16. The computer-implemented method of claim 10, further comprising testing a simulation of the workflow prior to generating the executable code.
17. The computer-implemented method of claim 10, wherein the mapping includes a priority field for each coordinated device connected to the communication path between the first coordinated device and the second coordinated device.
18. The computer-implemented method of claim 10, wherein a message is generated by executing the executable code, and the criteria comprises an identifier to which the message is addressed.
19. The computer implemented method of claim 11, wherein the communication decision logic comprises criteria for allowing communication between the first coordinated device and the second coordinated device based on a time at which communication between the first coordinated device and the second coordinated device occurs.
20. A computer-implemented method for managing deployment of a coordinated network of devices, the method comprising: acquiring specifications of a plurality of coordinated devices from an interface generated by a user device, wherein the plurality of coordinated devices include at least a first coordinated device and a second coordinated device having different modules for communication; Acquire a workflow definition between the plurality of coordinated devices from the interface, wherein the workflow definition comprises: (i) a communication path between at least the first coordinated device and the second coordinated device, the communication path being defined by input from a user obtained from the interface; and (ii) a communication decision logic that provides a criterion for allowing communication between the first coordinated device and the second coordinated device and branch information of a communication path between the first coordinated device and the second coordinated device; determining a first module associated with the plurality of coordinated devices, wherein the first module defines a first set of inputs, a first set of outputs, and a first set of interfaces for the first coordinated device, wherein the first set of interfaces includes a first interface for receiving the first set of inputs associated with the first coordinated device and a second interface for sending the first set of outputs associated with the first coordinated device; determining a second module associated with the second coordinated device, wherein the second module is different from the first module; automatically generating a mapping between the first coordinated device and the second coordinated device, wherein the mapping defines a transformation of communications between the first coordinated device and the second coordinated device based on the first module and the second module according to the workflow definition, and wherein the mapping is automatically generated based on the first set of outputs associated with the first coordinated device and the second set of inputs associated with the second coordinated device; generating a workflow corresponding to the workflow definition and the mapping; and causing generation of executable code corresponding to the workflow, wherein the generated executable code implements tasks, and when the executable code is executed by one or more computing devices separate from the plurality of coordinated devices, causes the one or more computing devices to at least: In response to receiving communications between the first coordinated device and the second coordinated device, routing the communications between the first coordinated device and the second coordinated device to a remote on-demand code execution system, wherein the determination of routing the communications between the first coordinated device and the second coordinated device to the remote on-demand code execution system is based on criteria satisfied by the communications.
21. The computer-implemented method of claim 20, wherein the workflow definition further comprises receiving rendering resource configuration information.
22. The computer-implemented method of claim 20, wherein determining the first module associated with the first coordinated device comprises: One or more modules are identified based on modules previously defined for a set of coordinated devices.
23. The computer-implemented method of claim 20, wherein determining the first module associated with the first coordinated device comprises: Gets the manual definition of one or more modules that were not previously defined for a set of coordinated devices.
24. The computer implemented method of claim 20, wherein the mapping includes a priority field for each coordinated device connected to a communication path between the first coordinated device and the second coordinated device.
25. The computer-implemented method of claim 20, wherein a message is generated by executing the executable code, and the criteria comprises an identifier to which the message is addressed.
26. The computer implemented method of claim 21, wherein the communication decision logic comprises criteria for allowing communication between the first coordinated device and the second coordinated device based on a time at which communication between the first coordinated device and the second coordinated device occurs.
