Managing Task Flows in Edge Computing Environments

By dynamically managing task flows at the edge device layer with a definer module and metadata-driven cluster management, the solution addresses management bottlenecks and communication instability in edge computing environments, enhancing system stability and efficiency.

JP7774620B2Active Publication Date: 2025-11-21INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2023520456
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-23
Filing Date
2021-08-31
Publication Date
2025-11-21
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

Existing edge computing environments face management bottlenecks and instability in managing task flows due to heavy workloads on edge agents and unstable connections, which can lead to system failures.

Method used

The proposed solution involves dynamically managing task flows primarily at the edge device layer using a definer module to determine clusters of edge devices based on metadata information, with sender and receiver modules to control task execution and status management, reducing the workload on edge agents and stabilizing communication.

Benefits of technology

This approach enhances edge computing architectures by minimizing management bottlenecks and communication risks, optimizing task flow execution and reducing the workload on edge agents, thereby improving system stability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007774620000001
    Figure 0007774620000001
  • Figure 0007774620000002
    Figure 0007774620000002
  • Figure 0007774620000003
    Figure 0007774620000003
Patent Text Reader

Abstract

A computer-implemented method, computer system, and computer program product for managing a task flow are provided. According to the computer-implemented method, a definer module receives a request to execute a task flow. The definer module determines a cluster of edge devices from a set of edge devices for executing the task flow. The definer module may retrieve metadata information about the task flow and edge devices in the cluster, where the metadata information is used to schedule the task flow in the cluster. The edge devices in the cluster can then execute the task flow according to the metadata information.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates generally to computer technology, and more particularly to methods, systems, and computer program products for dynamically managing task flows in edge computing environments. [Background technology]

[0002] With the development of cloud computing and IoT technologies, edge computing has become a new direction for achieving more powerful computing capabilities. In the context of the Internet of Things (IoT), "edge" or "edge system" refers to computing infrastructure that exists near the source of data. Such computing infrastructure may include, for example, industrial machines, industrial controllers, industrial sensors, mobile devices, or any other infrastructure recognized by those skilled in the art, or a combination thereof. Machines and / or devices that serve as sources of data are sometimes referred to as "edge devices." Edge devices typically exist away from centralized computing resources available in the cloud. Edge systems can move applications, data processing, and / or models from centralized cloud data centers to the edge, thereby reducing the amount of data traffic to the cloud data center. Summary of the Invention

[0003] According to an embodiment of the present disclosure, a computer-implemented method, a computer system, and a computer program product for managing a task flow are provided. According to the computer-implemented method, a definer module may receive a request to execute a task flow. The definer module may determine, from a set of edge devices, a cluster of edge devices for executing the task flow. The definer module may retrieve metadata information about the task flow and the edge devices in the cluster, where the metadata information is used to schedule the task flow in the cluster. The edge devices in the cluster may then execute the task flow according to the metadata information.

[0004] These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments, which is to be read in connection with the accompanying drawings. Various features of the drawings are not to scale, as this will facilitate understanding by those skilled in the art in understanding the invention in conjunction with the detailed description. [Brief explanation of the drawings]

[0005] [Figure 1] 1 is a schematic diagram of an example computer system / server according to an embodiment of the present disclosure. [Figure 2] FIG. 1 illustrates a cloud computing environment according to an embodiment of the present disclosure. [Figure 3] FIG. 1 illustrates an abstraction model layer according to an embodiment of the present disclosure. [Figure 4] FIG. 1 illustrates an exemplary existing edge computing environment. [Figure 5] FIG. 1 illustrates an exemplary edge computing environment, according to some embodiments of the present disclosure. [Figure 6A] FIG. 1 illustrates an exemplary task flow according to some embodiments of the present disclosure. [Figure 6B]FIG. 10 illustrates exemplary task flow information according to some embodiments of the present disclosure. [Figure 7A] FIG. 10 illustrates an exemplary task flow with tags, according to some embodiments of the present disclosure. [Figure 7B] FIG. 10 illustrates an example cluster of edge devices having tags that match tags of a task flow, according to some embodiments of the present disclosure. [Figure 7C] FIG. 10 illustrates metadata information created for a cluster of edge devices for execution of a task flow, according to some embodiments of the present disclosure. [Figure 7D] FIG. 10 illustrates an exemplary task flow with metadata information, according to some embodiments of the present disclosure. [Figure 8] 8 is a flowchart illustrating an example method 800 for dynamically managing task flows in an edge computing environment, according to some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0006] Certain embodiments will be described in more detail with reference to the accompanying drawings, in which embodiments of the disclosure are shown, however, the disclosure may be embodied in various ways and therefore should not be construed as limited to the embodiments disclosed herein.

[0007] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the teachings described herein is not limited to cloud computing environments. Rather, embodiments of the present disclosure may be practiced in conjunction with any other type of computing environment now known or later developed.

[0008] Cloud computing is a service delivery model that enables convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with the service provider. This cloud model can include at least five characteristics, at least three service models, and at least four deployment models.

[0009] The features are as follows:

[0010] On-demand self-service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without requiring human interaction with the provider of the service.

[0011] Broad network access: Functionality is available over the network and accessed through standard mechanisms, facilitating use across heterogeneous thin- or thick-client platforms (e.g., mobile phones, laptops, and PDAs).

[0012] Resource pooling: A provider's computing resources are pooled to serve multiple consumers, with different physical and virtual resources dynamically allocated and reallocated according to demand, using a multi-tenant model. There is a sense of location independence in that consumers generally have no control over or knowledge of the exact location of the resources provided, but may be able to specify location at a higher level of abstraction (e.g., country, state, or data center).

[0013] Rapid elasticity: Capabilities can be delivered quickly and elastically, sometimes automatically, allowing for rapid scaling out and rapid release to quickly scale in. To the consumer, the capabilities available for provisioning often appear unlimited, and can be purchased in any quantity at any time.

[0014] Measured service: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at several levels of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). The ability to monitor, control, and report resource usage provides transparency to both providers and consumers of utilized services.

[0015] The service model is as follows:

[0016] Software as a Service (SaaS): The functionality offered to the consumer is the use of the provider's applications running on a cloud infrastructure. These applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). With the possible exception of limited user-specific application configuration settings, the consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or even individual application functions.

[0017] Platform as a Service (PaaS): The capability offered to consumers is the deployment onto a cloud infrastructure of applications they create or acquire using programming languages ​​and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure, such as the network, servers, operating systems, or storage, but does have control over the deployed applications and, in some cases, the application hosting environment configuration.

[0018] Infrastructure as a Service (IaaS): The capability offered to consumers is to provision processing, storage, network, and other basic computing resources on which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does have control over the operating systems, storage, deployed applications, and possibly limited control over select network components (e.g., host firewalls).

[0019] The deployment model is as follows:

[0020] Private Cloud: Cloud infrastructure is operated exclusively for an organization; it is managed by the organization or a third party and may reside on or off premises.

[0021] Community Cloud: Cloud infrastructure is shared by multiple organizations to support a specific community of shared concerns (e.g., mission, security requirements, policies, and compliance considerations). It may be managed by the organization or a third party and may reside on or off premises.

[0022] Public Cloud: Cloud infrastructure is made available to the general public or large industry groups and is owned by an organization that sells cloud services.

[0023] Hybrid Cloud: A cloud infrastructure is a composite of two or more clouds (private, community, or public) that remain unique entities but are tied together by standardized or proprietary technologies that allow for data and application portability (e.g., cloud bursting for load balancing between clouds).

[0024] Cloud computing environments are service-oriented with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure, which includes a network of interconnected nodes.

[0025] 1, there is shown a schematic diagram of an example computer system / server 12, which in some embodiments may be a portable electronic device, such as a communications device, operable in numerous other general-purpose or special-purpose computing system environments or configurations. Examples of well-known computing systems, environments, or configurations, or combinations thereof, suitable for use with computer system / server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, among others.

[0026] Computer system / server 12 may be described in the general context of computer system-executable instructions, such as program modules, executed by a computer system. Generally, program modules include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular data types. Computer system / server 12 may be practiced in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.

[0027] 1, computer system / server 12 is shown in the form of a general-purpose computing device. Components of computer system / server 12 include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that couples various system components, including system memory 28, to the one or more processors or processing units 16.

[0028] Bus 18 may represent any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures, including, by way of example and not limitation, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0029] Computer system / server 12 typically includes a variety of computer system-readable media, which can be any available media that is accessible by computer system / server 12, including both volatile and nonvolatile media, as well as removable and non-removable media.

[0030] System memory 28 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer system / server 12 may further include other removable / non-removable, volatile / non-volatile, or both computer system storage media. By way of example only, storage system 34 may be provided for reading from and writing to non-removable, non-volatile magnetic media (not shown, typically referred to as a "hard drive"). Although not shown, a magnetic disk drive may be provided for reading from and writing to removable, non-volatile magnetic disks (e.g., "floppy disks"), and an optical disk drive may be provided for reading from and writing to removable, non-volatile optical disks, such as CD-ROMs, DVD-ROMs, or other optical media. In such cases, each may be connected to bus 18 by one or more data media interfaces. As further depicted and explained below, system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of embodiments of the present disclosure.

[0031] A program / utility 40 having one or more program modules 42 may be stored in system memory 28, similar to, for example, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may include a networking environment implementation. The one or more program modules 42 may generally implement the functions and / or methods of embodiments of the present disclosure as described herein. Computer system / server 12 may also communicate with one or more external devices 14, such as a keyboard, a pointing device, a display 24, one or more devices that allow a user to interact with computer system / server 12, or any device (e.g., a network card, a modem, etc.) that allows computer system / server 12 to communicate with one or more other computing devices. Such communication may occur via input / output (I / O) interface 22. Additionally, computer system / server 12 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or combinations thereof, via network adapter 20. As shown, network adapter 20 may communicate with other components of computer system / server 12 via bus 18. Although not shown, it should be understood that other hardware and / or software components may also be used in combination with computer system / server 12.Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems. The computer system / server 12 shown in Figure 1 may be a cloud computing node, such as one or more cloud computing nodes 10 shown in Figure 2. The computer system / server 12 shown in Figure 1 may also be a hardware component in the exemplary edge computing environments shown in Figures 4 and 5, according to at least one exemplary embodiment of the present disclosure.

[0032] Referring now to FIG. 2, an illustrative cloud computing environment 50 is depicted. As shown, the cloud computing environment 50 may include one or more cloud computing nodes 10 with which local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or cellular phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, may communicate. The one or more nodes 10 may communicate with each other. They may be physically or virtually grouped into one or more networks, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud, or combinations thereof, as described herein (not shown). This grouping enables the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service without requiring the cloud consumer to maintain resources on their local computing device. It will be understood that the types of computing devices 54A-N shown in FIG. 2 are for illustrative purposes only, and that one or more computing nodes 10 and cloud computing environment 50 can communicate with any type of computerized device over any type of network and / or network-addressable connection (e.g., using a web browser).

[0033] Referring now to Figure 3, a set of functional abstraction layers 300 provided by the cloud computing environment 50 (Figure 2) is shown. It should be understood that the components, layers, and functions shown in Figure 3 are for illustrative purposes only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:

[0034] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include a mainframe 61, a RISC (reduced instruction set computer) architecture-based server 62, a server 63, a blade server 64, a storage device 65, and a network and networking component 66. In some embodiments, software components include network application server software 67 and database software 68.

[0035] The virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.

[0036] In one example, the management layer 80 may provide the following functions: Resource provisioning 81 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are used within the cloud computing environment and billing or invoicing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection of data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides allocation and management of cloud computing resources so that required service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides advance arrangement and procurement of cloud computing resources for which future demands are anticipated by SLAs.

[0037] The workloads layer 90 provides examples of functions for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom instruction delivery 93; data analytics processing 94; transaction processing 95; and edge controllers 96.

[0038] The functional abstraction layers of Figure 3 are merely exemplary. One or more layers can be added as needed, and one or more layers in Figure 3 can be combined or omitted. Furthermore, in each layer of Figure 3, some components can be omitted or combined, and one or more components can be added.

[0039] Exemplary Computing Environment As mentioned above, with the development of cloud computing and IoT technology, edge computing has become a new development direction to achieve more powerful computing capabilities. Edge computing is rapidly becoming an important part of the Industrial Internet of Things (IIoT) to accelerate digital transformation. Edge computing focuses on devices and technologies that are actually connected to "things" such as industrial machinery. Intelligent manufacturing can be a typical example of edge computing. Edge computing can enable analysis and data collection at the data source.

[0040] It is understood that edge computing is an optimization for cloud computing systems and can work in conjunction with cloud computing. Scenarios where edge computing becomes dominant include those requiring low latency or where bandwidth is constrained. Edge computing can also be important when internet or cellular connections are unreliable. Cloud computing may become more dominant when actions require large amounts of computing power to effectively manage vast amounts of data from machines. Both cloud computing and edge computing may be necessary for industrial operations to obtain maximum value from today's sophisticated, diverse, and massive amounts of data. For industrial and server providers, it may be advantageous to manage and process data from edge devices at the edge, close to the edge devices, in the cloud, or a combination of both, to achieve optimal operations.

[0041] FIG. 4 illustrates an exemplary existing edge computing environment. The exemplary existing edge computing environment may include components and / or modules that run at both the cloud layer and the edge layer. It can be appreciated that in the exemplary existing edge computing environment, cloud data centers may be connected to edge systems and edge devices rather than connected to computing nodes / servers in a typical cloud computing environment.

[0042] As shown in FIG. 4, the exemplary edge computing environment includes a cloud layer data center 410, an edge system layer 420, and an edge device layer 430. The hardware components at each layer in the exemplary edge computing environment may be the computer system / server 12 shown in FIG. 1. The computer system / server 12 shown in FIG. 1 may implement any of the functions in the exemplary edge computing environment. All components and / or modules in the exemplary edge computing environment may be connected directly or indirectly via a communications network. The network in FIG. 4 may include various types of communications networks, such as a wide area network (WAN), a local area network (LAN), a telecommunications network, a wireless network, a public switched network, or a satellite network, or a combination thereof. The communications network may include connections, such as wires, wireless communications links, fiber optic cables, or any other connections recognized by those skilled in the art, or any combination thereof, that enable access to the communications network.

[0043] It will be understood that the layers and modules throughout the edge computing environment, and the number of edge devices, are presented for illustrative purposes only, and that the edge computing environment may include one or more other layers and modules, and the number of edge devices may be different and arranged in other ways.

[0044] The cloud layer data center 410 may belong to the existing cloud computing environment described above with reference to Figures 2 and 3. In practice, according to the actual requirements and conditions of production or service, the cloud computing center 410 can send part of its computing power, such as part of models and applications, to the edge system 420 to perform central management of edge devices.

[0045] As shown in FIG. 4 , exemplary modules within the cloud layer data center 410 may include a store system 411, an API server 412, and an edge controller 96. The store system 411 may store metadata required by the API server 412. For example, the store system 411 may be a consistent, distributed key-value store. The stored data in the store system 411 is accessible by a distributed system or cluster of machines. The API server 412 may be used to process API operations and may be invoked by users. Components within the cloud layer 410 may rely on the API server 412 for message delivery. The edge controller 96 may be used to communicate between the cloud layer data center 410 and the edge system layer 420 to perform central management.

[0046] The edge system layer 420 can manage edge devices in the edge device layer 430. Taking intelligent manufacturing as an example, the central management system of a production line in an intelligent manufacturing industrial park can be referred to as an edge system, and the machines on the production line in the industrial park can be referred to as edge devices. Taking a base station as another example, the central management system of the base station can be referred to as an edge system, and the mobile devices communicating with the base station can be referred to as edge devices.

[0047] 4, example modules in the edge system layer 420 may include a store module 421, a synchronization service module 422, and an edge agent module 423. The store module 421 may store metadata for the edge system 420 and edge devices. The synchronization service module 422 may be a central data processing module for the edge system 420 and may be used to synchronize models and data between the cloud 410 and the edge system 420, and the edge agent module 423 may be a management module for the edge devices.

[0048] An "edge device" can be defined as an entry point into an enterprise or service provider's core network. The edge system 420 may process data from the edge devices and send only the processed data, or data suitable for central processing, over the network to the cloud data center 410. In this way, large amounts of unprocessed data can be transmitted over the network, saving time for central processing. As shown in FIG. 4, an exemplary edge device layer 430 may include multiple edge devices, such as devices A, B, C, D, and E. Each of the edge devices may include containers, such as containers 4321, 4331, and 4311 within devices B, C, and A, respectively. A container may be a service grid or a module configured to perform a task.

[0049] It can be understood that industrial / intelligent production or service functions can be performed or realized in an edge computing environment. Edge devices can be required to perform various tasks to fulfill workloads to accomplish a production mission or implement a service function. A task can include a series of subtasks. The subtasks can be executed in parallel, serially, or both on multiple devices. This task is sometimes referred to herein as a "task flow." A production or service process can be a process that executes a task flow, including a series of subtasks, executed on an edge device.

[0050] It is also understood that in actual production or service implementations, multiple task flows may be executed in parallel. Each task flow may involve multiple devices. Given two similar task flows executing in parallel on edge devices, one task flow may include a series of subtasks executed on devices B, C, and A. Devices B, C, and A may each receive assigned subtasks from edge agent 423 and return execution results to edge agent 423, as indicated by lines 431, 432, and 433. Another task flow may include a series of subtasks executed on devices D, E, and A. Similarly, devices D, E, and A may communicate with edge agent 423 to execute task flows as indicated by dotted lines 434, 435, and 436.

[0051] Note that each of the edge devices involved in a task flow may be required to communicate with the edge agent 423 to complete the task flow. The edge agent 423 may be required to send task requests to each of the edge devices and receive execution results from each device. In other words, each of the edge devices may receive task requests from the edge agent 423 and output execution results to the edge agent 423. As can be seen, the edge agent 423 in the edge system layer 420 may control the execution of all task flows.

[0052] In actual production or service practice, the tasks to be performed may be large-scale and complex, and the number of edge devices involved may be large. However, in existing edge computing environments, management of task flows may be primarily focused on the edge agent 423 system, as described above. The workload of the edge agent 423 may be very heavy, which may become a management bottleneck. At the same time, the wired or wireless connection for communication between the edge agent 423 and edge devices may be unstable, which may increase the risk of creating a management bottleneck or system failure.

[0053] The embodiments of the present disclosure aim to solve the above-mentioned problems and propose a solution to dynamically manage task flows primarily in the edge device layer 430 instead of the edge system layer 420 to reduce the workload of the edge agent 423.

[0054] Hereinafter, embodiments of the present disclosure will be described in detail with reference to FIGS.

[0055] Figure 5 illustrates an exemplary edge computing environment according to an embodiment of the present disclosure. Note that corresponding modules or elements in Figure 4 are referenced by like reference numerals in Figure 5 and will not be discussed herein.

[0056] It should be understood that Figure 5 is intended only as an illustration of an implementation of an edge computing environment and is not intended to imply any limitation with regard to the environments in which different embodiments may be implemented. Many modifications to the illustrated environment are possible.

[0057] Referring now to FIG. 5 , definer module 5231, sender module 5232, and receiver module 5233 may be configured within edge agent 523. Compared to the existing computing environment shown in FIG. 4 , these modules have improved functionality, which will be discussed in more detail below. Additionally, one or more proxy modules, such as proxy 5312 and proxy 5322, may be configured in each edge device. For example, proxy module 5312 may be configured in device A, proxy module 5322 may be configured in device B, and so on. According to embodiments of the present disclosure, definer module 5231, sender module 5232, and receiver module 5233, as well as one or more proxy modules, may be used to manage and control task flows. It should be understood that the modules are presented for illustrative purposes only. An edge computing environment according to some embodiments of the present disclosure may include additional or fewer modules to achieve similar functionality or intent. The modules and their number may vary or be arranged in other ways.

[0058] In an existing edge computing environment, the edge agent 423 may be configured to determine an edge device for dynamically or in real time executing a task flow. According to an embodiment of the present disclosure, the definer module 5231 may be configured to dynamically determine an edge device for executing a task flow. The edge devices for executing a task flow may form a cluster, such as cluster 1 or cluster 2. For example, if the definer module 5231 determines that one task flow may be executed on devices B, C, and A, the group of devices B, C, and A may be referred to as cluster 1, as shown in FIG. 5. Similarly, the definer module 5231 may determine that another task flow may be executed in parallel on devices D, E, and A, as shown in FIG. 5, the group of devices D, E, and A may be referred to as cluster 2. For clarity, only the task flow executed on cluster 1 will be discussed in detail below.

[0059] The definer module 5231 may be further configured to determine metadata information for clusters 1 that will execute the tasks. The metadata information may be used to manage or schedule task flows by edge devices among clusters 1. The determination of the metadata information is described in more detail in conjunction with FIG. 6 below.

[0060] According to an embodiment of the present disclosure, the sender module 5232 may be configured to send a request including metadata information to one or more edge devices participating in cluster 1 to initiate execution of a task. The metadata information may be sent along with the request. For example, as can be understood, the request includes a request header and a request body. The metadata information may be embedded in the header of the request. In this manner, the metadata information may be sent along with the request. The metadata information may also be sent separately. The manner in which the metadata information is sent should not adversely limit the scope of the present disclosure.

[0061] The container in each edge device may execute the assigned subtasks, and one or more proxy modules in each device may manage the task flow data. The one or more proxy modules in each edge device may manage or route the task flow according to the metadata information.

[0062] According to an embodiment of the present disclosure, the receiver module 5233 may be configured to receive a final execution result from a corresponding last edge device in the cluster, rather than receiving an execution result of each subtask from each device.

[0063] In this way, the proposed solution of the present disclosure may enhance existing edge computing architectures by allowing task flow to be controlled at the edge device layer 530 rather than the edge system layer 520. This reduces the management workload at the edge agent 523 and the risk of creating a bottleneck in the data center 410.

[0064] FIG. 6A illustrates an exemplary task flow according to some embodiments of the present disclosure.

[0065] Referring now to FIG. 6A, an exemplary task flow includes two subtasks, subtask_1 (not shown) and subtask_2. Subtask_1 further includes two subtasks, subtask_1_1 and subtask_1_2. Subtask_1_1 and subtask_1_2 may need to be executed in parallel on two devices. The execution results of the two subtasks need to be sent as input to a third device to execute the next subtask, i.e., subtask_2. The third device, which may be the last device to execute a subtask, may output the execution result of subtask_2. The task flow may then end. Information about the exemplary task flow may be found in the table shown in FIG. 6B.

[0066] As mentioned above, in actual production or service implementations, the tasks performed may be large and complex. The task flow shown in FIG. 6A is provided merely as an example for illustration and simplicity and is intended to be non-limiting to the present disclosure. Embodiments of the present disclosure may be applied to any type of task flow with the same, similar, or different definition.

[0067] Hereinafter, taking the task flow shown in FIG. 6A as an example, an embodiment of the present disclosure will be described in detail with reference to FIGS. 5 to 8.

[0068] <Determine metadata information> As briefly described above, the definer module 5231 may be configured to dynamically determine a cluster of edge devices for execution of a task flow based on attributes of the task flow and the edge devices, and create metadata information about the task flow as well as the edge devices within the cluster.

[0069] For example, upon receiving a task flow or task such as that shown in FIG. 6A, the definer module 5231 can obtain tags for each subtask of the task flow. The tags may indicate basic requirements for attributes of edge devices. In other words, the task flow may indicate which devices are adapted to perform the tasks in the tags. FIG. 7A illustrates an example embodiment of a task flow with tags, according to some embodiments of the present disclosure.

[0070] It is understood that edge devices may have their own attributes or characteristics and may be adapted to perform various tasks. The attributes of an edge device may be characteristics, type, power, parameters, index, configuration, etc. For clarity, device attributes may also be marked as tags. The definer module 5231 may determine a cluster of edge devices for execution of a task flow based on the tag mapping relationship between the task flow and the edge device. Referring now to FIGS. 7A and 7B, subTask_1_1 may have Tag_1, which maps to that of device C; subTask_1_2 may also have Tag_1, which maps to that of device B; and subTask_2 may have Tag_2, which maps to that of device A. Device C and device B may be devices with the same attributes and may be interchangeable. Therefore, the definer module 5231 may determine that devices A, B, and C are adapted to execute the task flow.

[0071] According to an embodiment of the present disclosure, the definer module 5231 may define a group of devices A, B, and C as a cluster, i.e., cluster 1, for executing a task flow, as shown in FIG. 5. Taking into account network instability, the cluster may be dynamically determined among available edge devices when a task flow is received. When the task flow is completed, the cluster may be dissolved. Note that the edge device adapted to execute a task flow may also be determined using other suitable approaches, such as based on historical data, conventions, etc. The approach to determining the edge device adapted to execute a task flow should not adversely limit the scope of the disclosure.

[0072] According to an embodiment of the present disclosure, the definer module 5231 may further retrieve metadata based on the determined mapping relationship between the task flows and edge devices in the cluster as metadata information. Other information that can be used for managing or scheduling the task flows may also be obtained as metadata information. For example, in some embodiments of the present disclosure, a specific device with high performance may be selected from the cluster as a coordinator device for managing the edge devices in the cluster. In this situation, the metadata information may include corresponding information of the coordinator device.

[0073] Referring now to FIG. 7C, device B may be marked as a coordinator device in the metadata information based on performance considerations. Devices C and A may not be coordinator devices. It can be understood that device performance is a comprehensive factor, and for simplicity, performance is represented by CPU utilization, for example. As seen in FIG. 7B, device B's CPU utilization is the lowest among the cluster members, so device B may be selected as the coordinator device. The proxy of the coordinator device may periodically or irregularly obtain the status of other members in the cluster and synchronize the status information to the edge system 520. In this way, the edge system 520 can be notified of any exceptions, such as the failure of any device in the cluster due to an unstable network connection.

[0074] According to an embodiment of the present disclosure, the metadata information may include any information that can be used to manage or schedule a task flow. For example, the metadata information may include at least one of the following: a task flow ID, a cluster ID, IDs of edge devices participating in the cluster, IDs of subtasks of the task flow executed by edge devices in the cluster, and IDs of a coordinator edge device. The metadata information may be stored or maintained in the store module 521 in FIG. 5. Exemplary metadata information for each device is shown in FIG. 7C. The metadata information in FIG. 7C is shown for purposes of explanation and simplicity only and is not intended to be a limitation on the present disclosure.

[0075] Referring now to FIG. 7D , each subtask of a task flow may be matched with a corresponding device in the cluster according to the metadata information. For example, subtask_1_1 may be matched with device C, subtask_1_2 may be matched with device B, and subtask_2 may be matched with device A. That is, device C may execute subtask_1_1, device B may execute subtask_1_2, and device A may execute subtask_2. Devices C and B may be initiating edge devices corresponding to the initiating subtasks, i.e., subtask_1_1 and subtask_1_2, respectively. Device A may be the final device corresponding to the final subtask, i.e., subtask_2. The execution result of device A may be the final execution result of the task flow. Therefore, each device in the cluster may be matched with a corresponding subtask for execution according to the metadata information.

[0076] <Process for dynamically managing task flows> According to an embodiment of the present disclosure, a process for dynamically managing task flows according to metadata information may be described below in conjunction with FIGS.

[0077] 5, when the edge agent 523 receives a request to execute a task flow such as that shown in FIG. 6A, the definer module 5231 may determine a cluster of edge devices adapted to execute the task flow based on tag or attribute mapping relationships between available edge devices and tasks. The definer module 5231 may further create metadata information about the determined cluster of edge devices and the task flow, as shown in FIG. 7C.

[0078] The sender module 5232 can then send task requests to device B and device C according to the metadata information, as indicated by lines 531 and 532. The sender module 5232 can also embed the metadata information in the header of the task request, so that the metadata information can be sent to the edge device along with the request. Upon receiving the request with the metadata information, the container 4321 in device B and the container 4331 in device C can execute subtask_1_1 and subtask_1_2, respectively. The execution result of device B can then be sent to device A by the proxy 5322 in device B, as indicated by line 533. In parallel, the execution result of device C can be sent to device A by the proxy 5332 in device C according to the metadata information, as indicated by line 534. Upon receiving the execution results from both device B and device C, the container 4311 in device A executes subtask_2. The execution result of device A can then be sent to the receiver module 5233 by the proxy 5312 in device A, as indicated by line 535. The task flow may then be completed. Lines 531-535 illustrate the process of executing an exemplary task flow within a cluster. If coordinator device information is included in the metadata information, the process may further include a status flow within the cluster, which will be discussed in more detail below.

[0079] According to an embodiment of the present disclosure, device B in a cluster may be selected as a coordinator device, exhibiting the metadata information shown in FIG. 7C . Coordinator device B may periodically or irregularly acquire status information of devices C and A. The status information may include, but is not limited to, "running," "finished," and "failed." The status information may be acquired by coordinator device B querying or checking with devices C and A. Devices C and A may also report their status information to coordinator device B. Acquiring the status information may utilize any suitable approach, currently existing or developed in the future, and should not adversely limit the scope of the present invention.

[0080] Returning now to FIG. 5 , proxy 5322 in coordinator device B can obtain status information of device C and device A, as indicated by lines 536 and 537, respectively. Proxy 5322 in device B transmits the received status information to receiver module 5233, as indicated by line 538. Lines 536-538 indicate a status flow within a cluster. That is, the status of edge devices within a cluster may be managed by a coordinator device within the cluster and provided to receiver module 5233. Upon obtaining status information of "failure," the current cluster may be dissolved and a new cluster may be determined.

[0081] In this manner, the sender module 5232 can send a task request with metadata information in the header to initiate a task flow. The receiver module 5233 can receive the final execution result of the task flow from the last corresponding device and device status information from the cluster coordinator device. Execution results other than the final execution result do not need to be transferred between the edge device and the edge system 520. For example, the execution result of device C or device B does not need to be sent to the receiver module 5233, but may be sent to device A according to the metadata information. The execution result of device A may be the final execution result, which may be sent to the receiver module 5233. Therefore, the management or scheduling of the task flow may be realized in the edge device layer 530 rather than in the edge system layer 520 according to the metadata information. Therefore, the workload of the edge system layer 520 may be reduced.

[0082] Similarly, the process of managing task flows in cluster 2 according to corresponding metadata information can be shown by dotted lines in Figure 5. As can be seen, for a task flow in cluster 2, two subtasks of the task flow may first be executed in parallel on device D and device E, and then the execution results of device D and device E may be executed on device A. The coordinator device in cluster 2 may be device E. The execution process of task flows in cluster 2 is similar and will not be discussed in detail here.

[0083] Exemplary Methods 8 illustrates a flowchart of an example method 800 according to some embodiments of the present disclosure. Method 800 can be implemented in an edge computing environment, as shown in FIG. 5. For purposes of discussion, method 800 will be described with reference to FIG. 5.

[0084] At 810, the definer module 5231 receives a request to execute a task flow. At 820, the definer module 5231 determines a cluster of edge devices from a set of edge devices to execute the task flow. At 830, the definer module 5231 retrieves metadata information about the task flow and edge devices in the cluster, where the metadata information is used to schedule the task flow in the cluster. At 840, the edge devices in the cluster execute the task flow according to the metadata information.

[0085] According to one embodiment of the present disclosure, a definer module determines a cluster of edge devices from a set of edge devices for executing a task flow, which includes: the definer module searching for attributes of the task flow and the set of edge devices, respectively; and selecting a group of edge devices from the set of edge devices as the cluster of edge devices for executing the task flow based on a mapping relationship of the attributes between the task flow and the set of edge devices.

[0086] According to one embodiment of the present disclosure, the definer module can determine a cluster of edge devices from a set of edge devices for executing a task flow, which further includes: the definer module selecting one edge device from the edge devices in the cluster as a coordinator device that manages the status of other edge devices in the cluster; and the definer module indicating information of the coordinator device in metadata information.

[0087] According to one embodiment of the present disclosure, edge devices in a cluster can execute a task flow according to metadata information, which includes: a sending module sending a request to execute a task flow having metadata information to one or more initiating edge devices in the cluster, where the task flow includes a series of subtasks, the one or more initiating edge devices transmitting corresponding to the one or more initiating subtasks according to the metadata information; corresponding edge devices in the cluster executing the corresponding subtasks according to the metadata information; and one or more last edge devices sending one or more final execution results to a receiving module in response to the one or more last subtasks being completed by the one or more last edge devices.

[0088] According to one embodiment of the present disclosure, edge devices in a cluster can execute a task flow according to metadata information, which includes: a sender module sending a request to execute a task flow with metadata information to one or more initiating edge devices in the cluster, where the task flow includes a series of subtasks, and the one or more initiating edge devices sending corresponding one or more initiating subtasks according to the metadata information; corresponding edge devices in the cluster executing the corresponding subtasks according to the metadata information; sending one or more final execution results by the one or more final edge devices to a receiving module as the one or more final subtasks are completed by the one or more final edge devices; a coordinator device obtaining status information of other edge devices in the cluster; and sending the status information to the receiving module.

[0089] According to one embodiment of the present disclosure, sending a request to one or more initiating edge devices in a cluster to execute a task flow having metadata information includes a sender module sending a request to one or more initiating edge devices in the cluster to execute a task flow having metadata information in a header of the request.

[0090] According to one embodiment of the present disclosure, the metadata information may indicate at least one of the following: an ID of the task flow, an ID of the cluster, IDs of edge devices involved in the cluster, IDs of subtasks of the task flow executed by edge devices in the cluster, and an ID of a coordinator device.

[0091] According to one embodiment of the present disclosure, metadata information of a cluster of edge devices for executing a task flow may be stored in a store module.

[0092] It should be noted that task flow processing according to embodiments of the present disclosure may be performed by computer system / server 12 of FIG.

[0093] The present disclosure may be a system, method, or computer program product, or combination thereof, integrated at any possible level of technical detail. The computer program product may include a computer-readable storage medium having computer-readable program instructions for causing a processor to implement aspects of the present disclosure.

[0094] A computer-readable storage medium may be a tangible device capable of retaining and storing instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded devices such as punch cards or ridge-in-groove structures having instructions recorded thereon, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium should not be construed as being a transitory signal itself, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., an optical pulse passing through a fiber optic cable), or an electrical signal transmitted over a wire.

[0095] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device or downloaded to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium within the respective computing / processing device.

[0096] The computer-readable program instructions for carrying out the operations of the present disclosure may be either source code or object code written in any combination of one or more programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or object-oriented programming languages ​​such as Smalltalk, C++, and procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server, as a stand-alone software package. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) can execute computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry to perform aspects of the present invention.

[0097] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0098] These computer-readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer-readable program instructions may also be stored on a computer-readable storage medium that can direct a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular way, such that the computer-readable storage medium having instructions stored therein constitutes an article of manufacture containing instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0099] The computer-readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device, causing the computer, other programmable apparatus, or other device to perform a series of operational steps to create a computer-implemented process, such that the instructions, which execute on the computer, other programmable apparatus, or other device, implement the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0100] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions, including one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be accomplished as a single step that is performed concurrently, substantially concurrently, partially, or completely in a time-overlapping manner, or the blocks may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special-purpose hardware-based systems that perform the specified functions or operations or execute a combination of special-purpose hardware instructions and computer instructions.

[0101] The description of various embodiments of the present disclosure has been presented for purposes of illustration and is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terms used herein have been selected to best explain the principles of the embodiments, practical applications or technical improvements to technology found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

Claims

1. receiving, by a definer module, a request to execute a task flow; determining, by the definer module, a cluster of edge devices from a set of edge devices for executing the task flow, the determining including: searching, by the definer module, attributes of the task flow and the set of edge devices, respectively; and selecting, from the set of edge devices, a group of edge devices as the cluster of edge devices for executing the task flow based on a mapping relationship of attributes between the task flow and the set of edge devices; retrieving, by the definer module, metadata information about the task flows and the edge devices within the cluster, the metadata information being used to schedule the task flows within the cluster; and executing, by the edge devices in the cluster, the task flow according to the metadata information, the executing including: sending, by a sending module, a request to execute the task flow having the metadata information to one or more initiating edge devices in the cluster, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; executing, by corresponding edge devices in the cluster, the corresponding subtasks according to the metadata information; and transmitting, by the one or more last edge devices, one or more final execution results to a receiving module in response to one or more final subtasks being completed by one or more last edge devices; 20. A computer-implemented method comprising:

2. selecting, by the definer module, one edge device from the edge devices in the cluster as a coordinator device that manages the status of other edge devices in the cluster; indicating, by the definer module, information of the coordinator device in the metadata information; The method of claim 1 further comprising:

3. Executing the task flow according to the metadata information includes: sending, by a sender module, a request to execute the task flow having the metadata information to one or more initiating edge devices in the cluster, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; executing, by a corresponding edge device in the cluster, the corresponding subtask according to the metadata information; transmitting, by the one or more last edge devices, one or more final execution results to a receiving module in response to the one or more last sub-tasks being completed by the one or more last edge devices; obtaining, by the coordinator device, status information of the other edge devices in the cluster; transmitting, by the coordinator device, the status information to the receiving module; The method of claim 2 , comprising:

4. sending a request to execute the task flow having the metadata information to the one or more initiating edge devices in the cluster; sending, by the sender module, the request to execute the task flow with the metadata information in a header of the request to the one or more initiating edge devices in the cluster; The method of claim 1 , comprising:

5. 2. The method of claim 1, wherein the metadata information is selected from the group consisting of at least one of an ID of the task flow, an ID of the cluster, an ID of an edge device participating in the cluster, an ID of a subtask of the task flow executed by the edge device in the cluster, or an ID of a coordinator device.

6. 1. A computer system comprising: one or more processors; one or more computer-readable memories; one or more computer-readable tangible storage media; and program instructions stored on at least one of the one or more tangible storage media for execution by the one or more processors via at least one of the one or more memories, the computer system comprising: receiving, by a definer module, a request to execute a task flow; determining, by the definer module, a cluster of edge devices for executing the task flow from a set of edge devices, the determining including: searching, by the definer module, attributes of the task flow and the set of edge devices, respectively; and selecting, from the set of edge devices, a group of edge devices as the cluster of edge devices for executing the task flow based on a mapping relationship of attributes between the task flow and the set of edge devices; retrieving, by the definer module, metadata information about the task flows and the edge devices within the cluster, the metadata information being used to schedule the task flows within the cluster; and executing, by the edge devices in the cluster, the task flow according to the metadata information, the executing including: sending, by a sending module, a request to execute the task flow having the metadata information to one or more initiating edge devices in the cluster, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; executing, by corresponding edge devices in the cluster, the corresponding subtasks according to the metadata information; and transmitting, by the one or more last edge devices, one or more final execution results to a receiving module in response to one or more final subtasks being completed by one or more last edge devices; A computer system capable of implementing a method comprising:

7. selecting, by the definer module, one edge device from the edge devices in the cluster as a coordinator device that manages the status of other edge devices in the cluster; indicating, by the definer module, information of the coordinator device in the metadata information; 7. The computer system of claim 6, further comprising:

8. Executing the task flow according to the metadata information includes: sending, by a sender module, a request to execute the task flow having the metadata information to one or more initiating edge devices in the cluster, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; executing, by a corresponding edge device in the cluster, the corresponding subtask according to the metadata information; transmitting, by the one or more last edge devices, one or more final execution results to a receiving module in response to the one or more last sub-tasks being completed by the one or more last edge devices; obtaining, by the coordinator device, status information of other edge devices in the cluster; transmitting, by the coordinator device, the status information to the receiving module; 8. The computer system of claim 7, comprising:

9. sending a request to execute the task flow having the metadata information to the one or more initiating edge devices in the cluster; sending, by the sender module, the request to execute the task flow with the metadata information in a header of the request to the one or more initiating edge devices in the cluster; 7. The computer system of claim 6, comprising:

10. 7. The computer system of claim 6, wherein the metadata information is selected from the group consisting of at least one of an ID of the task flow, an ID of the cluster, an ID of an edge device participating in the cluster, an ID of a subtask of the task flow executed by the edge device in the cluster, or an ID of a coordinator device.

11. A method of executing a task flow, comprising: receiving, by a definer module, a request to execute the task flow; determining, by the definer module, from a set of edge devices, a cluster of edge devices for executing the task flow, wherein the definer module determines attributes of the task flow and the set of edge devices; determining, the determining step including searching for a cluster of edge devices from the set of edge devices based on a mapping relationship of attributes between the task flow and the set of edge devices; and selecting a group of edge devices from the set of edge devices as the cluster of edge devices that will execute the task flow based on a mapping relationship of attributes between the task flow and the set of edge devices. retrieving, by the definer module, metadata information about the task flows and the edge devices within the cluster, the metadata information being used to schedule the task flows within the cluster; and executing the task flow by the edge device in the cluster according to the metadata information, wherein a sender module sends a request to one or more initiating edge devices in the cluster to execute the task flow with the metadata information, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; and executing the corresponding subtasks by corresponding edge devices in the cluster according to the metadata information. and, in response to one or more final subtasks being completed by one or more final edge devices, transmitting one or more final execution results by the one or more final edge devices to a receiving module. Computer program.

12. selecting, by the definer module, one edge device from the edge devices in the cluster as a coordinator device that manages the status of other edge devices in the cluster; indicating, by the definer module, information of the coordinator device in the metadata information; 12. The computer program of claim 11, further comprising:

13. Executing the task flow according to the metadata information includes: sending, by a sender module, a request to execute the task flow having the metadata information to one or more initiating edge devices in the cluster, the task flow including a series of subtasks, the one or more initiating edge devices corresponding to one or more initiating subtasks according to the metadata information; executing, by a corresponding edge device in the cluster, the corresponding subtask according to the metadata information; transmitting, by the one or more last edge devices, one or more final execution results to a receiving module in response to the one or more last sub-tasks being completed by the one or more last edge devices; obtaining, by the coordinator device, status information of other edge devices in the cluster; transmitting, by the coordinator device, the status information to the receiving module; 13. The computer program of claim 12, comprising:

14. sending the request to execute the task flow with the metadata information to the one or more initiating edge devices in the cluster; sending, by the sender module, the request to execute the task flow to the one or more initiating edge devices in the cluster, the request having the metadata information in a header of the request; 12. The computer program of claim 11, comprising:

Citation Information

Patent Citations

  • Task processing method and device and cloud computing system

    CN110557419A

  • Computer system and data processing control method

    JP2019082857A

  • Information processing device, distributed processing system, and distributed processing program

    JP2020126377A

  • Edge computing system, edge host computer device, management device, computer program, and edge host determination method

    JP2020137067A

  • Optimizing workflow execution against a heterogeneous grid computing topology

    US20050283786A1