Robotic process automation agent control for virtual machines and task assignment
The maintenance queue mechanism for RPA agents in VMs addresses task assignment failures during reboots by placing agents in maintenance mode, ensuring reliable availability and efficient task execution post-reboot.
Patent Information
- Application Number
- US19/215445
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional robotic process automation (RPA) orchestrators assign tasks to automation agents in virtual machines (VMs) that are rebooting, leading to failures and errors due to the agents being unavailable during the reboot process.
Implement a maintenance queue mechanism where automation agents place themselves in a maintenance mode after task execution, preventing the orchestrator from assigning new tasks during the reboot, using a custom library and sweeper agent to manage queue entries and ensure agents are available post-reboot.
Prevents task assignment failures by ensuring automation agents are only assigned new jobs after a complete reboot, improving reliability and efficiency in RPA infrastructure.
Smart Images

Figure US20260377205A1-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Robotic process automation (RPA) agents (referred to herein as “automation agents” or “robots”) may manage the execution of tasks within virtualized systems such as virtual machines (VMs). Automation agents may run inside the VM and interface with the underlying operating system and applications to carry out predefined tasks. By automating repetitive and time-consuming tasks, automation agents improve operational efficiency, reduce errors, and enable scalable management of VMs across an organization's infrastructure.
[0002] Generally, an orchestrator may assign tasks to the automation agents for execution. However, automation agents and / or the VMs within which the automation agents execute may be non-persistent. For example, an automation agent may reboot the VM after each automation run to maintain a clean and consistent state. However, a problem arises when the orchestrator assigns a new job to an automation agent that is in the process of rebooting its VM. Because the VM is rebooting, the automation agent is not available to receive the new job, leading to failures and / or other errors.BRIEF SUMMARY
[0003] In one embodiment, a method comprises an orchestrator running on a processor to manage task assignments. The orchestrator determines that a set of tasks should be assigned to an automation agent operating within a first virtual machine (VM), which is part of a larger group of VMs. The orchestrator checks a maintenance queue for entries related to this first VM and determines that the VM is currently in maintenance mode. Due to this status, the orchestrator refrains from sending task indications to the automation agent. Instead, the orchestrator places the task indications into a task queue for later processing.
[0004] In another embodiment, a non-transitory computer-readable storage medium contains instructions. When these instructions are executed by a processor, they allow the processor to operate similarly. The orchestrator determines that tasks are to be assigned to an automation agent in a VM, identifies an associated entry in a maintenance queue, assesses that the VM is in maintenance mode, and, based on this, refrains from task notification to the agent, opting to store the tasks in a task queue instead.
[0005] An apparatus comprises a processor and memory with stored instructions. When executed by the processor, these instructions direct the orchestrator to assign tasks to an automation agent in a VM, recognize an associated entry in a maintenance queue, confirm the VM's maintenance status, and based on this, abstain from notifying the agent of the tasks. The tasks are then stored in a task queue.
[0006] The features, functions, and advantages that have been described herein may be achieved independently in various embodiments of the present disclosure including computer-implemented methods, computer program products, and computing systems or may be combined in yet other embodiments, further details of which can be seen with reference to the following description and drawings.BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
[0007] To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the figure number in which that element is first introduced.
[0008] Having thus described embodiments in general terms, reference will now be made to the accompanying drawings, wherein:
[0009] FIG. 1A illustrates an aspect of the subject matter in accordance with one embodiment.
[0010] FIG. 1B illustrates an aspect of the subject matter in accordance with one embodiment.
[0011] FIG. 1C illustrates an aspect of the subject matter in accordance with one embodiment.
[0012] FIG. 1D illustrates an aspect of the subject matter in accordance with one embodiment.
[0013] FIG. 2 illustrates an aspect of the subject matter in accordance with one embodiment.
[0014] FIG. 3A illustrates an aspect of the subject matter in accordance with one embodiment.
[0015] FIG. 3B illustrates an aspect of the subject matter in accordance with one embodiment.
[0016] FIG. 4 illustrates a logic flow 400 in accordance with one embodiment.
[0017] FIG. 5 illustrates a logic flow 500 in accordance with one embodiment.
[0018] FIG. 6 illustrates a logic flow 600 in accordance with one embodiment.
[0019] FIG. 7 illustrates a computing system 700 in accordance with one embodiment.DETAILED DESCRIPTION
[0020] Embodiments disclosed herein provide techniques to manage robotic process automation (RPA) agents (referred to herein as “automation agents” or “robots”) in virtualized computing environments. Generally, an automation agent may execute within a virtualized computing system and may be assigned tasks by an orchestrator. The virtualized computing system may be any type of virtualized computing system, such as a VM, a Virtual Desktop Infrastructure (VDI), etc. The use of a VM as a reference example herein should therefore not be considered limiting of the disclosure.
[0021] The automation agent may orchestrate the execution of the tasks within the VM, e.g., execute the tasks and / or cause the tasks to be executed within the VM. However, once the tasks are executed, the automation agents may reboot (or restart) VM the after each automation run to maintain a clean and consistent state. Therefore, the VM and / or the automation agents are non-persistent. Conventionally, the orchestrator was unaware that the VM is being rebooted. Conventionally, therefore, the orchestrator would attempt to assign additional tasks to the automation agent while being restarted. However, because the automation agent is not available to respond, the assignment of the additional tasks may fail.
[0022] Advantageously, embodiments disclosed herein may leverage a maintenance mode feature provided by the orchestrator. At the end of each task automation, the automation agent may use a custom library to place itself (and / or the associated VM) into a maintenance queue associated with the maintenance mode. For example, once a set of tasks are executed, the automation agent may return, to the orchestrator, an indication that the tasks have been executed. Similarly, the automation agent may place itself (and / or the VM) in a maintenance queue, which may cause the orchestrator to consider the automation agent and / or the VM to be in the maintenance mode (even though the automation agent and / or VM are not actually in the maintenance mode). In some embodiments, the automation agent places itself in the maintenance queue via one or more application programming interface (API) calls to the orchestrator. In some embodiments, entries in the maintenance queue may include metadata such as an identifier (e.g., a machine name), template name, and / or a time (e.g., a time the queue entry should be removed, an amount of time the entry should remain in the queue, a timestamp the entry was created, etc.). Once placed in the maintenance queue, the automation agent (and / or the VM itself) may cause the VM to restart. When the VM is restarted, the automation agent may report status to the orchestrator, e.g., via a heartbeat message indicating the automation agent and / or VM have been restarted and are back online. Therefore, once restarted, the automation agent may establish a new session with the orchestrator.
[0023] In some embodiments, a sweeper agent, running on a persistent VM, may monitor and manage the maintenance queue. In some embodiments, the entries in the maintenance queue have an expiration time (e.g., 5 minutes after the current time) that is determined by the automation agent. In other embodiments, the entries in the maintenance queue may have an associated duration of time (e.g., 3 minutes, 5 minutes, etc.). In some embodiments, the duration of time may be predetermined. In some embodiments, the duration of time may be specified by the automation agent when placing itself in the maintenance queue.
[0024] At predetermined time intervals (e.g., 30 seconds, 1 minute, 5 minutes, etc.), the sweeper agent may analyze the entries in the maintenance queue. The sweeper agent may remove entries in the maintenance queue that have expired. For example, if a first entry in the queue has an expiration time of 9:00 AM on May 6, 2025, and the current time is 9:10 AM on May 6, 2025, the sweeper agent may remove the first entry from the queue. As another example, if the first entry in the queue is associated with a five minute duration of time, and the first entry has been in the queue for 6 minutes, the sweeper agent may remove the first entry from the queue.
[0025] In some embodiments, the sweeper agent may identify new sessions created by the automation agent with the orchestrator (e.g., identifying new sessions with one or more attributes that match one or more attributes of the entry) and send an API call to the orchestrator to disable the maintenance mode for the automation agent and / or VM, thereby reactivating the automation agent and / or VM.
[0026] When assigning tasks, the orchestrator may reference the maintenance queue. If the automation agent and / or VM are associated with one or more entries in the maintenance queue, the orchestrator may refrain from assigning new tasks to the automation agent while the VM reboots to prevent errors. Instead, the orchestrator may store an indication of the new tasks in a task queue. When the VM reboots, the automation agent may access the task queue to identify and execute the new tasks.
[0027] Advantageously, embodiments disclosed herein address the challenge of ensuring that automation agents, which operate in non-persistent VMs, are not prematurely assigned new tasks by the orchestrator before they have fully rebooted and re-registered following task execution. By providing a custom library embedded in automation packages that programmatically place the automation agent and / or VM into the maintenance queue at the end of a task, embodiments disclosed herein prevent the orchestrator from assigning new tasks during the reboot window. Therefore, embodiments disclosed herein improve the functioning of the RPA infrastructure by reducing failures, eliminating manual intervention, and ensuring reliable availability of automation agents. Doing so is a technical improvement over conventional methods of automation agent orchestration, which would assign jobs to unavailable automation agents, leading to failures. Therefore, embodiments disclosed herein ensure that automation agents are only assigned new jobs when they are fully rebooted and ready, improving reliability and efficiency.
[0028] Aspects of the present disclosure and certain features, advantages, and details thereof are explained more fully below with reference to the non-limiting examples illustrated in the accompanying drawings. Descriptions of well-known processing techniques, systems, components, etc. are omitted so as to not unnecessarily obscure the disclosure in detail. It should be understood that the detailed description and the specific examples, while indicating aspects of the disclosure, are given by way of illustration only, and not by way of limitation. Various substitutions, modifications, additions, and / or arrangements, within the spirit and / or scope of the underlying inventive concepts will be apparent to those skilled in the art from this disclosure. Note further that numerous inventive aspects and features are disclosed herein, and unless inconsistent, each disclosed aspect or feature is combinable with any other disclosed aspect or feature as desired for a particular embodiment of the concepts disclosed herein.
[0029] Unless described or implied as exclusive alternatives, features throughout the drawings and descriptions should be taken as cumulative, such that features expressly associated with some particular embodiments can be combined with other embodiments. Like numbers refer to like elements throughout.
[0030] While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of, and not restrictive on, the broad disclosure, and that this disclosure not be limited to the specific constructions and arrangements shown and described, since various other changes, combinations, omissions, modifications and substitutions, in addition to those set forth in the above paragraphs, are possible. Those skilled in the art will appreciate that various adaptations, modifications, and combinations of the herein described embodiments can be configured without departing from the scope and spirit of the disclosure. Therefore, it is to be understood that, within the scope of the included claims, the disclosure may be practiced other than as specifically described herein.
[0031] Additionally, illustrative embodiments are described below using specific code, designs, architectures, protocols, layouts, schematics, or tools only as examples, and not by way of limitation. Furthermore, the illustrative embodiments are described in certain instances using particular software, tools, or data processing environments only as example for clarity of description. The illustrative embodiments can be used in conjunction with other comparable or similarly purposed structures, systems, applications, or architectures. One or more aspects of an illustrative embodiment can be implemented in hardware, software, or a combination thereof.
[0032] As understood by one skilled in the art, program code, as referred to in this application, can include both software and hardware. For example, program code in certain embodiments of the present disclosure can include fixed function hardware, while other embodiments can utilize a software-based implementation of the functionality described. Certain embodiments combine both types of program code.
[0033] The terms “coupled,”“fixed,”“attached to,”“communicatively coupled to,”“operatively coupled to,” and the like refer to both (i) direct connecting, coupling, fixing, attaching, communicatively coupling; and (ii) indirect connecting coupling, fixing, attaching, communicatively coupling via one or more intermediate components or features, unless otherwise specified herein. “Communicatively coupled to” and “operatively coupled to” can refer to physically and / or electrically related components.
[0034] FIG. 1A illustrates a system 100 according to one embodiment. As shown, the system 100 includes a plurality of servers including servers 102a-102b and one or more user devices 104 communicably coupled via one or more networks 106. The servers 102a-102b and user devices 104 are representative of any type of physical and / or virtualized computing system. The servers 102a-102b and user devices 104 each include at least one memory for storing instructions, at least one processor for executing instructions, and at least one communications interface to communicate via the network 106, each not pictured for the sake of clarity.
[0035] Although two servers 102a-102b are shown, the system 100 may include any number of servers, such hundreds, thousands, or more, servers. As shown, server 102a includes an orchestrator 108, one or more virtual machines 110a, and one or more sweeper agents 114. Similarly, server 102b includes one or more virtual machines 110b. As shown, virtual machines 110a-110b each include an automation agent 112a, 112b, respectively. The virtual machines 110a-110b represent any type of virtualized computing system, such as virtual desktop infrastructure (VDI), container, etc. Although server 102a includes the orchestrator 108 and the virtual machine 110a, in some embodiments, the orchestrator 108 is on a server that does not include virtual machines 110a-110b and / or automation agents 112a-112b. Embodiments are not limited in these contexts.
[0036] The system 100 may be part of a robotic process automation (RPA) system in which an orchestrator assigns a plurality of executable tasks (or jobs) to an automation agent executing within a virtualized system. One example of an RPA system is the UiPath® platform. For example, as shown, the orchestrator 108 of system 100 may assign one or more executable tasks 120a to automation agent 112a and / or one or more executable tasks 120b to automation agent 112b. In some embodiments, the tasks are assigned based on input received via an automation assistant 116 of user devices 104. The automation assistant 116 generally provides interfaces to access, manage, and / or run task automations via the orchestrator 108. The tasks may be any number and type of task, such as data entry and extraction tasks (e.g., from websites, files, and / or databases), email automation tasks (e.g., reading, sending, and / or sorting emails), file and folder operations (e.g., copying, renaming, and / or organizing), enterprise resource planning (ERP) and / or customer relationship management (CRM) automation tasks, data scraping, data aggregation, invoice processing, document understanding, etc. Therefore, the use of a given number or type of task herein should not be considered limiting of the disclosure.
[0037] As shown, the orchestrator 108 includes one or more task queues 118 to store indications of tasks to be assigned to the automation agents 112a-112b, e.g., the tasks 120a-120b. In some embodiments, the orchestrator 108 may assign the tasks 120a-120b to the automation agents 112a-112b directly, e.g., by establishing a session with the automation agents 112a-112b and transmitting indications of the tasks 120a-120b to the automation agents 112a-112b. The orchestrator 108 includes a list of sessions 126 to identify active sessions and / or attributes thereof. In some embodiments, the automation agents 112a-112b, after establishing sessions with the orchestrator 108, may pull indications of the tasks 120a-120b from the task queue 118 and execute the tasks 120a-120b. The orchestrator 108 further includes a maintenance queue 120 to store indications of automation agents 112a-112b (and / or the associated virtual machines 110a-110b) that are in maintenance mode. Maintenance mode may be used to run scheduled maintenance activities or upgrades to the orchestrator 108 and / or automation agents 112a-112b (and / or the associated virtual machines 110a-110b). Conventionally, however, users manually place the automation agents 112a-112b (and / or the associated virtual machines 110a-110b).
[0038] Therefore, as shown, the automation agents 112a-112b may cause the tasks 120a-120b to be executed within the virtual machines 110a-110b, respectively. In some embodiments, the automation assistant 116 may monitor the execution of the tasks 120a-120b and inform the orchestrator 108 when execution of the tasks 120a-120c complete. In some embodiments, the automation agents 112a-112b inform the orchestrator 108 when execution of the tasks 120a-120c complete, respectively.
[0039] FIG. 1B illustrates an embodiment where the tasks 120b have been executed within virtual machine 110b. Stated differently, the processing of tasks 120b has been completed. Based on the completion of tasks 120b, the automation agent 112b may report the completion of the tasks 120b to the orchestrator 108 via one or more API calls 122. However, in some embodiments, the automation assistant 116 may provide an indication to the orchestrator 108 that the tasks 120b have completed execution. The report may include details of the tasks 120b such as task outcome (e.g., success, faulted, etc.), one or more logs, and / or execution time of the tasks 120b. The orchestrator 108 may then update the status of the tasks 120b internally, e.g., remove the tasks 120b from the task queue 118, etc.
[0040] In some embodiments, the virtual machines 110a-110b are non-persistent such that the virtual machines 110a-110b are restarted and / or rebooted after executing a set of tasks. Therefore, to prevent the orchestrator 108 from assigning tasks to the automation agent 112b and / or virtual machine 110b as the virtual machine 110b reboots (and the automation agent 112b is therefore not available to receive the new tasks), the automation agent 112b may place the automation agent 112b and / or virtual machine 110b in the maintenance queue 120 via the one or more API calls 122. In some embodiments, however, the automation agent 112b may report the completion of the tasks 120b and / or place itself in the maintenance queue 120 without using API calls, e.g., using other types of communications and / or instructions. However, the automation agent 112b and / or virtual machine 110b may not actually enter maintenance mode. Instead, the maintenance queue 120 is used to allow the virtual machine 110b to reboot and restart to a fresh state, without the orchestrator 108 attempting to assign tasks to the automation agent 112b and / or virtual machine 110b, which would otherwise fail because the automation agent 112b and / or virtual machine 110b are not available during restart.
[0041] In some embodiments, the automation agents 112a-112b may include one or more libraries to generate the one or more API calls 122. The libraries may include features to select a duration of time for the automation agents 112a-112b and / or virtual machines 110a-110b to remain in the maintenance queue 120 (e.g., 1 minute, 3 minutes, 5 minutes, etc.). For example, the automation agent 112b may select a 5 minute duration of time to remain in the maintenance queue 120 and include an indication of the selected 5 minute duration in the API call 122. In some embodiments, instead of transmitting the 5 minute duration of time in the API call 122, the automation agents 112a-112b may determine the expiration time (e.g., 5 minutes from the current time), and include the expiration time in the one or more API calls 122. For example, if the current time is 9:10 AM, and the duration is 5 minutes, the expiration time may be 9:15 AM, and the API calls 122 may include an indication of the 9:15 expiration time.
[0042] The libraries of the automation agent 112b may further include, in the one or more API calls 122, metadata such as a machine name and / or a machine template name (which may uniquely identify the automation agent 112b). For example, the automation agent 112b may determine the machine name of the machine the tasks 120b are executing on (e.g., the virtual machine 110b and / or the server 102b). The automation agent 112b may then receive, from the orchestrator 108, an indication of a folder name the tasks 120b are running from. The automation agent 112b may then use the folder name to determine an organization unit (OU), which may be a unique identifier of a folder in the database. The automation agent 112b may then determine an environment asset to determine the runtime type, e.g., a license type applied to the virtual machine 110b and / or server 102b. The automation agent 112b may then use the machine name, runtime type, and OU to determine a unique identifier of a session in the sessions 126 (e.g., the session between the automation agent 112b and orchestrator 108) and the machine template name running the automation of tasks 120b. The automation agent 112b may then include indications of the expiration time, machine name, and machine template name in the one or more API calls 122 that are transmitted to the orchestrator 108.
[0043] The orchestrator 108 may then create an entry in the maintenance queue 120 based on the one or more API calls 122. The entry may include expiration time, the machine name, and the machine template name.
[0044] FIG. 1C illustrates an embodiment where the orchestrator 108 has created an entry 124 in the maintenance queue 120 based on the one or more API calls 122. The entry 124 may include the expiration time, the machine name, and the machine template name provided by the automation agent 112b.
[0045] The automation agent 112b may then reboot or otherwise restart the virtual machine 110b. Generally, restarting the virtual machine 110b causes session-specific data to be deleted. Similarly, restarting virtual machine 110b causes the automation agent 112b to be terminated. The automation agent 112b may be reloaded from the base image when the virtual machine 110b comes back online.
[0046] While the virtual machine 110b is restarting, the orchestrator 108 may determine to assign tasks 120c to automation agent 112b of virtual machine 110b. However, based on identifying the entry 124 in maintenance queue 120, the orchestrator 108 may refrain from transmitting the tasks 120c to automation agent 112b and / or virtual machine 110b, which are not accessible due to the restart of virtual machine 110b. Therefore, the orchestrator 108 may store indications of the tasks 120c in the task queue 118.
[0047] FIG. 1D illustrates an embodiment where the virtual machine 110b and automation agent 112b have been restarted. Furthermore, as shown, the entry 124 has been removed from the maintenance queue 120. In some embodiments, the sweeper agent 114 may remove the entry 124 from the maintenance queue 120.
[0048] Generally, the sweeper agent 114 may execute in a persistent virtual machine (not depicted for clarity) to monitor and manage the maintenance queue 120. For example, at predetermined time intervals (e.g., 30 seconds, 1 minute, 5 minutes, etc.), the sweeper agent 114 may analyze the entries in the maintenance queue 120. The sweeper agent 114 may remove expired entries in the maintenance queue 120. The sweeper agent 114 may determine entries in the maintenance queue 120 have expired based on the associated time (e.g., the expiration time and / or the duration of time).
[0049] For example, as stated, the entry 124 may have an associated expiration time. The sweeper agent 114 may therefore determine, at a given time interval, whether the current time is greater than the expiration time, e.g., based on comparing the current time to the expiration time of the entry 124. In the example depicted in FIG. 1D, the sweeper agent 114 may determine the current time is greater than the expiration time of entry 124, and remove the entry 124 from the maintenance queue 120.
[0050] As stated, in other embodiments, the entries in the maintenance queue 120 may have a duration of time and an associated timestamp (e.g., a timestamp when the entry was created, a timestamp when the API calls 122 were made by the automation agent 112b, a timestamp when the API calls 122 were received by the orchestrator 108, etc.). In such embodiments, the sweeper agent 114 may determine whether the duration of time has elapsed. For example, if the duration of time of entry 124 is 5 minutes, and the sweeper agent 114 determines the entry 124 has been in the queue for 6 minutes (e.g., based on a difference of the current time and the timestamp of entry 124), the sweeper agent may remove the entry 124 from the maintenance queue 120.
[0051] In some embodiments, the sweeper agent 114 may identify new sessions 126 created by the automation agent 112b with the orchestrator 108. For example, the sweeper agent 114 may identify sessions 126 of the orchestrator 108 with one or more attributes that match one or more attributes of the entry 124. For example, each entry in the sessions 126 may include at least an associated machine name and / or associated machine template name. If the machine name and / or machine template name of one or more of the sessions 126 matches the machine name and / or machine template name of the entry 124, the sweeper agent 114 may send an API call or other instruction to the orchestrator 108 to disable the maintenance mode for the automation agent 112b and / or virtual machine 110b. Therefore, in some embodiments, the orchestrator 108 may refrain from assigning tasks directly to the automation agent 112b until receiving the instruction and / or API call from the sweeper agent 114.
[0052] The automation agent 112b may then access the tasks 120c via the task queue 118. The automation agent 112b may execute the tasks 120b within the fresh, restarted, virtual machine 110b. Once the tasks 120c complete, the automation agent 112b may again place itself in the maintenance queue 120. Similarly, when the tasks 120a finish executing in virtual machine 110a, automation agent 112a may place itself in maintenance queue 120. The sweeper agent 114 may then remove the entries associated with automation agents 112a-112b after expiration. Embodiments are not limited in these contexts.
[0053] In one embodiment, when a user decides to enroll in a mobile banking program, the user downloads or otherwise obtains the mobile banking system client application from a mobile banking system, for example enterprise system 100, or from a distinct application server. In other embodiments, the user interacts with a mobile banking system via a web browser application in addition to, or instead of, the mobile P2P payment system client application.
[0054] The network 106 may also incorporate various cloud-based deployment models including private cloud (e.g., an organization-based cloud managed by either the organization or third parties and hosted on-premises or off premises), public cloud (e.g., cloud-based infrastructure available to the general public that is owned by an organization that sells cloud services), community cloud (e.g., cloud-based infrastructure shared by several organizations and manages by the organizations or third parties and hosted on-premises or off premises), and / or hybrid cloud (e.g., composed of two or more clouds e.g., private community, and / or public).
[0055] The user devices 104 may include automatic teller machines (ATMs) utilized by the system 100 in serving users. In another example, the servers 102a represent payment clearinghouse or payment rail systems for processing payment transactions, and in another example, the servers 102a such as merchant systems or banking systems configured to interact with the user devices 104 during transactions and also configured to interact with the enterprise system 100 in back-end transactions clearing processes.
[0056] The user devices 104 may also be configured to obtain and process various forms of authentication via an authentication system to obtain authentication information of a user. Various authentication systems may include, according to various embodiments, a recognition system that detects biometric features or attributes of a user such as, for example fingerprint recognition systems and the like (hand print recognition systems, palm print recognition systems, etc.), iris recognition and the like used to authenticate a user based on features of the user’s eyes, facial recognition systems based on facial features of the user, DNA-based authentication, or any other suitable biometric attribute or information associated with a user. Additionally or alternatively, voice biometric systems may be used to authenticate a user using speech recognition associated with a word, phrase, tone, or other voice-related features of the user. Alternate authentication systems may include one or more systems to identify a user based on a visual or temporal pattern of inputs provided by the user. For instance, the user device may display, for example, selectable options, shapes, inputs, buttons, numeric representations, etc. that must be selected in a pre-determined specified order or according to a specific pattern. Other authentication processes are also contemplated herein including, for example, email authentication, password protected authentication, device verification of saved devices, code-generated authentication, text message authentication, phone call authentication, etc. The user device may enable users to input any number or combination of authentication systems.
[0057] System 100 as illustrated diagrammatically represents at least one example of a possible implementation, where alternatives, additions, and modifications are possible for performing some or all of the described methods, operations, and functions. Although shown separately, in some embodiments, two or more systems, servers, or illustrated components may utilized. In some implementations, the functions of one or more systems, servers, or illustrated components may be provided by a single system or server. In some embodiments, the functions of one illustrated system or server may be provided by multiple systems, servers, or computing devices, including those physically located at a central facility, those logically local, and those located as remote with respect to each other.
[0058] The system 100 can offer any number or type of services and products to one or more users. In some examples, an enterprise system 100 offers products. In some examples, an enterprise system 100 offers services. Use of “service(s)” or “product(s)” thus relates to either or both in these descriptions. With regard, for example, to online information and financial services, “service” and “product” are sometimes termed interchangeably. In non-limiting examples, services and products include retail services and products, information services and products, custom services and products, predefined or pre-offered services and products, consulting services and products, advising services and products, forecasting services and products, internet products and services, social media, and financial services and products, which may include, in non-limiting examples, services and products relating to banking, checking, savings, investments, credit cards, automatic-teller machines, debit cards, loans, mortgages, personal accounts, business accounts, account management, credit reporting, credit requests, and credit scores.
[0059] To provide access to, or information regarding, some or all the services and products of the enterprise system 100, automated assistance may be provided by the enterprise system 100. For example, automated access to user accounts and replies to inquiries may be provided by enterprise-side automated voice, text, and graphical display communications and interactions. In at least some examples, any number of human agents, can be employed, utilized, authorized, or referred by the enterprise system 100. Such human agents can be, as non-limiting examples, point of sale or point of service (POS) representatives, online customer service assistants available to users, advisors, managers, sales team members, and referral agents ready to route user requests and communications to preferred or particular other agents, human or virtual.
[0060] Human agents may utilize agent devices (e.g., user devices 104) to serve users in their interactions to communicate and take action. In such embodiments, the user devices 104 can be, as non-limiting examples, computing devices, kiosks, terminals, smart devices such as phones, and devices and tools at customer service counters and windows at POS locations.
[0061] FIG. 2 illustrates an example pseudocode 200 for the automation agents 112a-112b and / or sweeper agent 114, according to one embodiment. As shown, pseudocode portion 202 indicates the automation agents 112a-112b may download a package (e.g., “HelloWorldProcess.nupkg”) that contains a process.json file. The download and / or other operations in pseudocode 200 may occur based on one or more instructions in a set of tasks, e.g., tasks 120a-120c. The processs.json file may be a Javascript Object Notation (JSON) file that includes a list of dependency libraries and versions. More specifically, the JSON file may include the custom library used to allow the automation agents 112a-112b to place themselves in the maintenance queue 120.
[0062] Pseudocode portion 204 reflects some or all of the operations used by the automation agents 112a-112b at the end of executing a set of tasks 120a-120c. For example, the automation agents 112a-112b may determine the current time and select a time delay to determine the expiration time (also referred to as the “postpone time”), which generally refers to the amount of time the automation agents 112a-112b and / or virtual machines 110a-110b may remain in maintenance queue 120 (and maintenance mode by association). For example, if the current time is 3:38PM on May 6, 2025, and the time delay is 10 minutes, the expiration time may be 3:48PM on May 6, 2025. The automation agents 112a-112b may then determine the machine name of the machine the automation agents 112a-112b execute on. In some embodiments, the machine name is received from the orchestrator 108 and / or the associated virtual machine 110a-110b. The automation agents 112a-112b may then request the folder name associated with the respective automation agent 112a -112b from the orchestrator 108. The folder name may be where a given automation agent 112a, 112b is organized and managed in the orchestrator 108. Generally, the folder may be part of the folder structure in the orchestrator 108, which helps manage permissions, assets, queues, and processes in a scalable way.
[0063] The automation agents 112a-112b may then include the folder name in an API call to the orchestrator 108 to receive an organization unit (OU), e.g., a unique folder identifier in the orchestrator 108. The automation agents 112a-112b may then request, from the orchestrator 108, a runtime type associated with the virtual machine 110a-110b (e.g., a license type applied to the virtual machine 110a or virtual machine 110b). The automation agents 112a-112b may then request, from the orchestrator 108, a unique session ID and the machine template name (e.g., from the sessions 126). In some embodiments, the automation agents 112a-112b request comprises the machine name, runtime type, and OU, e.g., in an API call to the orchestrator 108. The orchestrator 108 may use the machine name, runtime type, and OU to determine the unique session ID and machine template.
[0064] The automation agents 112a-112b may then make an API call such as API call 122 using the session ID received from the orchestrator 108 and an enable flag. In some embodiments, the call is a SetMaintenanceMode API call to the orchestrator 108. If the call is successful, the orchestrator 108 may add an entry in the maintenance queue 120 based on the request. As stated, the entry in the maintenance queue 120 may include the machine name, machine template name, and expiration time.
[0065] Pseudocode portion 206 may reflect one or more functions to disable the maintenance mode. For example, entries in the maintenance queue 120 may be considered transactions. An entry in the maintenance queue 120 may be considered eligible for removal (e.g., by the sweeper agent 114) when a new session has been established with the restarted automation agent 112a or automation agent 112b, and the current time is greater than the expiration time of the entry in the maintenance queue 120. For example, if the entry for automation agent 112a has expired (e.g., based on the current time being greater than the expiration time for the entry), the sweeper agent 114 may determine the machine name and machine template name in the entry in the maintenance queue 120. The sweeper agent 114 may then request, from the sessions 126 of the orchestrator 108, any new sessions matching the machine name and the machine template name. For example, the expired entry in the maintenance queue 120 associated with automation agent 112a may be associated with an example machine name and example machine template name. The sweeper agent 114 may provide the example machine name and example machine template name to the orchestrator 108, which may identify a new session in the sessions 126 matching the example machine name and example machine template name. The orchestrator 108 may then return the matching new session from the sessions 126. In some embodiments, the orchestrator 108 may provide the ID of the matching new session in the sessions 126. In some embodiments, the sweeper agent 114 may determine the new session ID based on the global folder after the virtual machine 110a has rebooted. Using the new session ID, the sweeper agent 114 may remove the automation agent 112a from maintenance queue 120. For example, the sweeper agent 114 may post a call to the orchestrator 108 using the new session ID and the disable flag. In some embodiments, the call is made to a “SetMaintenanceMode” API provided by the orchestrator 108. Generally, the call may cause the orchestrator 108 to delete the entry associated with the restarted automation agent 112a from the maintenance queue 120.
[0066] FIG. 3A illustrates an example queue entry 300 of maintenance queue 120, according to one embodiment. As shown, the queue entry 300 comprises a status 302, a reference 304, and an expiration time 306. The status 302 may reflect whether the entry is new, e.g., is associated with a new session with an automation agent 112a-112b. The reference 304 may include the machine name associated with the automation agent 112a-112b. The expiration time 306 may reflect when the queue entry 300 expires and is therefore eligible to be removed from the maintenance queue 120.
[0067] FIG. 3B illustrates a detailed queue entry 308 of the maintenance queue 120. As shown, the detailed queue entry 308 includes additional information such as the machine template status, output data, analytics data, etc. Embodiments are not limited in these contexts.
[0068] FIG. 4 illustrates an example logic flow 400 for maintaining the maintenance queue 120, according to one embodiment. Although the example logic flow 400 depicts a particular sequence of operations, the sequence may be altered without departing from the scope of the present disclosure. For example, some of the operations depicted may be performed in parallel or in a different sequence that does not materially affect the function of the logic flow 400. In other examples, different components of an example device or system that implements the logic flow 400 may perform functions at substantially the same time or in a specific sequence.
[0069] According to some examples, the logic flow 400 includes accessing, by a sweeper agent executing on a processor, a plurality of entries in a maintenance queue, respective ones of the plurality of entries associated with a respective virtual machine of a plurality of virtual machines (VMs), respective ones of the VMs associated with a respective automation agent of a plurality of automation agents at block 402. For example, the sweeper agent 114 illustrated in FIG. 1A may access a plurality of entries in maintenance queue 120. Each entry in the maintenance queue 120 may be associated an automation agent 112a-112b and / or a virtual machine 110a-110b within which the automation agent 112a-112b executes.
[0070] According to some examples, the logic flow 400 includes determining, by the sweeper agent based on an expiration time of each entry, to remove a first entry of the plurality of entries from the maintenance queue, the first entry associated with a first VM of the plurality of VMs, at block 404. For example, the sweeper agent 114, based on the expiration time of a first entry, to remove the first entry from the maintenance queue 120. For example, the first entry may be associated with automation agent 112a and / or virtual machine 110a and specify an expiration time, such as 2:41 PM on May 9, 2025, for keeping the automation agent 112a and / or virtual machine 110a in the maintenance queue 120, e.g., while the virtual machine 110a reboots. In the example of logic flow 400, the sweeper agent 114 may determine the current time is 2:42 PM on May 9, 2025. Therefore, the sweeper agent 114 may remove the first entry from the maintenance queue 120.
[0071] According to some examples, the logic flow 400 includes removing, by the sweeper agent based on the determination, the first entry from the maintenance queue at block 406. For example, the sweeper agent 114 may remove the first entry associated with the automation agent 112a and / or virtual machine 110a from the maintenance queue 120.
[0072] According to some examples, the logic flow 400 includes transmitting, by the sweeper agent to an orchestrator, an indication that the first entry associated with the first VM has been removed from the queue and the automation agent associated with the first VM can receive tasks for automated execution at block 408. For example, the sweeper agent 114 transmit, to the orchestrator 108, an indication that the first entry has been removed from the maintenance queue 120. Doing so may inform the orchestrator 108 that the automation agent 112a and / or virtual machine 110a may receive tasks for automated execution.
[0073] FIG. 5 illustrates an example logic flow 500 for the orchestrator 108 to assign tasks to the automation agents 112a-112b, according to one embodiment. Although the example logic flow 500 depicts a particular sequence of operations, the sequence may be altered without departing from the scope of the present disclosure. For example, some of the operations depicted may be performed in parallel or in a different sequence that does not materially affect the function of the logic flow 500. In other examples, different components of an example device or system that implements the logic flow 500 may perform functions at substantially the same time or in a specific sequence.
[0074] According to some examples, the logic flow 500 includes determining, by an orchestrator executing on a processor, to assign a plurality of tasks to an automation agent executing within a first virtual machine (VM), wherein the first VM is one of a plurality of VMs at block 502. For example, the orchestrator 108 may determine to assign a plurality of tasks such as tasks 120a to automation agent 112a executing within a virtual machine 110a.
[0075] According to some examples, the logic flow 500 includes identifying, by the orchestrator in a plurality of entries in a maintenance queue, a first entry of the plurality of entries associated with the automation agent 112a and / or virtual machine 110a at block 504. For example, the orchestrator 108 may identify, in the maintenance queue 120, a first entry of the plurality of entries associated with the automation agent 112a and / or virtual machine 110a.
[0076] According to some examples, the logic flow 500 includes determining, by the orchestrator based on identifying the first entry in the maintenance queue, that the first VM is in a maintenance mode at block 506. For example, the orchestrator 108 may determine, based on identifying the first entry in the maintenance queue 120, that the virtual machine 110a is in a maintenance mode. However, as described herein, the virtual machine 110a may not actually undergo maintenance. Instead, the automation agent 112a and / or virtual machine 110a are placed in the maintenance queue 120 while the virtual machine 110a reboots.
[0077] According to some examples, the logic flow 500 includes refraining, by the orchestrator based on the determination that the first VM is in the maintenance mode, from transmitting an indication of the plurality of tasks to the automation agent at block 508. For example, the orchestrator 108 may refrain, by the orchestrator based on the determination that the virtual machine 110a is in the maintenance mode (and / or the determination that an entry associated with the virtual machine 110a is in the maintenance queue 120), from transmitting an indication of the plurality of tasks to the automation agent 112a.
[0078] According to some examples, the logic flow 500 includes storing, by the orchestrator, the indication of the plurality of tasks in a task queue at block 510. For example, the orchestrator 108 may store the indication of the plurality of tasks 120a in task queue 118. Doing so allows the virtual machine 110a with the automation agent 112a to reboot without having the assignment of tasks 120a fail. When the automation agent 112a becomes available, the automation agent 112a may access the tasks 120a in the task queue 118 and execute the tasks 120a within the virtual machine 110a.
[0079] FIG. 6 illustrates an example logic flow 600 for an automation agent 112a-112b to enter a maintenance queue, according to one embodiment. Although the example logic flow 600 depicts a particular sequence of operations, the sequence may be altered without departing from the scope of the present disclosure. For example, some of the operations depicted may be performed in parallel or in a different sequence that does not materially affect the function of the logic flow 600. In other examples, different components of an example device or system that implements the logic flow 600 may perform functions at substantially the same time or in a specific sequence.
[0080] According to some examples, the logic flow 600 includes accessing, by an automation agent executing in a virtual machine (VM) on one or more processors, a plurality of tasks assigned to the automation agent by an orchestrator at block 602. For example, the automation agent 112a executing within virtual machine 110a may access a plurality of tasks 120a assigned to the automation agent 112a by the orchestrator 108.
[0081] According to some examples, the logic flow 600 includes executing, by the automation agent, the plurality of tasks on the one or more processors at block 604. For example, the automation agent 112a may execute the plurality of tasks 120a on the one or more processors associated with the virtual machine 110a (e.g., virtual and / or physical processors).
[0082] According to some examples, the logic flow 600 includes transmitting, by the automation agent to the orchestrator, an indication that the automation agent executed the plurality of tasks on the one or more processors at block 606. For example, the automation agent 112a may transmit, to the orchestrator 108, an indication that the automation agent 112a agent executed the plurality of tasks 120a.
[0083] According to some examples, the logic flow 600 includes storing, by the automation agent, an indication of the VM in a maintenance queue at block 608. For example, the automation agent 112a may store an entry in the maintenance queue 120. The entry may be the same as or similar to the entry 124, queue entry 300, and / or detailed queue entry 308. In some embodiments, the automation agent 112a specifies an expiration time associated with the entry in the maintenance queue 120.
[0084] FIG. 7 illustrates an example computing system 700 suitable for implementing various embodiments as described herein. As shown, the computing system 700 comprises a computer 702, which is representative of any type of physical and / or virtualized computing device. Examples of the computer 702 include, but are not limited to, a server, workstation, laptop, mobile device, smartphone, tablet computer, mainframe, distributed computing system, compute cluster, media device, camera, gaming device, a portable digital assistant (PDA), a system-on-chip (SoC), a pager, a television, a wearable device, a virtual machine (VM), container, or any other device with processing capabilities. In one embodiment, the computer 702 is representative of some or all of the components of the servers 102a-102b and / or user devices 104. More generally, the computing system 700 is configured to implement all systems, methods, apparatuses, media, and embodiments disclosed herein.
[0085] As shown, the computer 702 includes one or more processors 704, one or more memories 706, one or more non-transitory storage media 710, one or more communications interfaces 712, one or more positioning devices 714, one or more input devices 716, and one or more output devices 718 communicably coupled via an interconnect 708. A power source 720, such as a power supply, battery, or any type of power source may provide power to the computer 702.
[0086] The processor 704 is representative of any type of processing circuit. For example, the processor 704 may be a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU), a microcontroller, an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a digital signal processor (DSP), a field programmable gate array (FPGA), a state machine, a controller, gated or transistor logic, a digital signal processor, analog to digital converter, digital to analog converter, and the like.
[0087] The memory 706 is representative of any computer readable medium to store data, code, or other information. The memory 706 may include volatile memory, such as volatile Random Access Memory (RAM) including a cache area for the temporary storage of data. The memory 706 may also include non-volatile memory, which can be embedded and / or may be removable. The non-volatile memory can additionally or alternatively include an electrically erasable programmable read-only memory (EEPROM), flash memory or the like. The storage medium 710 is representative of any type of computer readable medium to store data, code, or other information. Examples of storage media 710 include solid state drives, hard drives, Redundant Array of Independent Disks (RAID) drives, memory pools, universal serial bus (USB) storage devices, and the like.
[0088] The memory 706 and storage medium 710 can store any number and type of computer-executable instructions executed by the processor 704 to implement the functions of the computer 702 described herein. For example, the memory 706 may include such applications as a web browser application and / or a mobile P2P payment system client application. These applications also typically provide a graphical user interface (GUI) on a display that allows the user to communicate with the computer 702, and, for example a mobile banking system, and / or other devices or systems. In one embodiment, when the user decides to enroll in a mobile banking program, the user downloads or otherwise obtains the mobile banking system client application from a mobile banking system, or from a distinct application server. In other embodiments, the user interacts with a mobile banking system via a web browser application in addition to, or instead of, the mobile P2P payment system client application. Similarly, the memory 706 and / or storage medium 710 may be used to store data such as cached data, files for user accounts, user profiles, account balances, transaction histories, files downloaded or received from other devices, and any other data items.
[0089] The interconnect 708 is representative of any type of circuitry to connect the components of the computer 702. For example, the interconnect 708 can include or represent, a system bus, a USB interface, a peripheral component interconnect (PCI), a Peripheral Component Interconnect-enhanced (PCIe), compute express link (CXL) interconnects, Universal Chiplet Interconnect Express (UCIe) interface, PCI-UCIe interconnects, an interface serial peripheral interconnects (SPIs), integrated interconnects (I2Cs), a high-speed interface connecting the processor 704 to the memory 706, individual electrical connections among the components, and electrical conductive traces on a motherboard common to some or all of the above-described components of the computer 702. As discussed herein, the interconnect 708 may operatively couple various components with one another, or in other words, electrically connects those components, either directly or indirectly – by way of intermediate component(s) - with one another.
[0090] The one or more input devices 716 are representative of any type of input device for receiving input, such as a keypad, keyboard, touchscreen, touchpad, microphone, camera, fingerprint sensor, mouse, joystick, other pointer device, button, soft key, and the like. The one or more output devices 718 are representative of any type of device for outputting information, such as a monitor, speaker, haptic feedback module, printer, and the like.
[0091] The computer 702 may use the communications interface 712 to communicate with one or more other devices 724 via a network 722. The communications interface 712 allows the computer 702 to communicate with and conduct transactions with other devices and systems, such as the other devices 724. The communications interface 712 may be a wired and / or a wireless interface. Communications may be conducted via various modes or protocols, of which Global System for Mobile Communications (GSM) voice calls, Short Message Service (SMS), Enhanced Messaging Service (EMS), Multimedia Messaging Service (MMS) messaging, Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), Personal Digital Cellular (PDC), Wideband Code Division Multiple Access (WCDMA), CDMA2000, General Packet Radio Service (GPRS), fourth-generation (4G) wireless communication protocols such as Long-Term Evolution (LTE), fifth-generation (5G) wireless communication protocols, Bluetooth Low Energy (BLE) communication protocols such as Bluetooth 5.0, ultra-wideband (UWB) communication protocols, are all non-limiting and non-exclusive examples are all non-limiting and non-exclusive examples. Thus, communications can be conducted, for example, via the wireless communications interface 712, which can be or include a radio-frequency transceiver, a Bluetooth device, Wi-Fi device, a Near-Field Communication (NFC) device, and other wireless transceivers. In addition, a positioning device 714 such as a Global Positioning System (GPS) device may be included for navigation and location-related data exchanges, ingoing and / or outgoing. Wi-Fi networks use radio technologies such as the Institute of Electrical and Electronics Engineers (IEEE) 802.11x (e.g., 802.11a, b, g, n, ac, ax, be, bn, etc.) to provide secure, reliable, fast wireless connectivity. A Wi-Fi network connects computers to each other, to the Internet, and to wired networks (which use IEEE 802.3-related media and functions). A Wi-Fi network connects computers to each other, to the Internet, and to wired networks (which use IEEE 802.3-related media and functions). Communications may also and / or alternatively be conducted via wired connections using the communications interface 712, e.g., using USB, Ethernet, and other physically connected modes of data transfer. The network 722 may be any one of, or the combination of, wired and / or wireless networks including without limitation a direct connection, a private network (e.g., an intranet), a public network (e.g., the Internet), a Personal Area Network (PAN), a Local Area Network (LAN), a Wide Area Network (WAN), a wireless network, a cellular network, and other communications networks.
[0092] The computer 702 is configured to use the communications interface 712 as, for example, a network interface to communicate with one or more other devices on a network such as network 722. In this regard, the computer 702 utilizes the wireless communications interface 712 as an antenna operatively coupled to a transmitter and a receiver (together a “transceiver”) included with the communications interface 712. The communications interface 712 is configured to provide signals to and receive signals from the transmitter and receiver, respectively. The signals may include signaling information in accordance with the air interface standard of the applicable cellular system of a wireless telephone network. In this regard, the computer 702 may be configured to operate with one or more air interface standards, communication protocols, modulation types, and access types. By way of illustration, the computer 702 may be configured to operate in accordance with any of a number of first, second, third, fourth, fifth-generation communication protocols and / or the like. For example, as a smartphone, the computer 702 may be configured to operate in accordance with second-generation (2G) wireless communication protocols such as TDMA, GSM, and / or IS-95 (e.g., CDMA), with third-generation (3G) wireless communication protocols, such as Universal Mobile Telecommunications System (UMTS), CDMA2000, WCDMA and / or time division-synchronous CDMA (TD-SCDMA), with 4G wireless communication protocols such LTE, 5G wireless communication protocols, BLE communication protocols such as Bluetooth 5.0, UWB communication protocols, and / or the like. The computer 702 may also be configured to operate in accordance with non-cellular communication mechanisms, such as via a wireless local area network (WLAN) or other communication / data networks.
[0093] The communications interface 712 may also include a payment network interface. The payment network interface may include software, such as encryption software, and hardware, such as a modem, for communicating information to and / or from one or more devices on a network. For example, the computer 702 may be configured so that it can be used as a credit or debit card by, for example, wirelessly communicating account numbers or other authentication information to a terminal of the network. Such communication could be performed via transmission over a wireless communication protocol such as the NFC protocol.
[0094] The computer 702 may be under the control of any suitable operating system (not pictured). Example operating systems include, but are not limited to, Linux® operating systems, UNIX®, Windows® operating systems, macOS®, iOS®, Android® and any other type of operating system.
[0095] The computer 702 as illustrated diagrammatically represents at least one example of a possible implementation, where alternatives, additions, and modifications are possible for performing some or all of the described methods, operations, and functions. Although shown separately, in some embodiments, two or more computers 702, systems, servers, or illustrated components may utilized. In some implementations, the functions of one or more systems, servers, or illustrated components may be provided by a single system or server. In some embodiments, the functions of one illustrated system or server may be provided by multiple systems, servers, or computing devices, including those physically located at a central facility, those logically local, and those located as remote with respect to each other.
[0096] Aspects of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of computer-implemented methods and computing systems according to embodiments of the disclosure. 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 that may be provided to a processor of a computer or other programmable data processing apparatus (the term “apparatus” includes systems and computer program products). The processor may execute the computer readable program instructions thereby creating a means for implementing the actions specified in the flowchart illustrations and / or block diagrams. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the actions specified in the flowchart illustrations and / or block diagrams. In particular, the computer readable program instructions may be used to produce a computer-implemented method by executing the instructions to implement the actions specified in the flowchart illustrations and / or block diagrams.
[0097] The computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions, which implement the function / act specified in the flowchart and / or block diagram block or blocks.
[0098] The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. Alternatively, computer program implemented steps or acts may be combined with operator or human implemented steps or acts to carry out an embodiment.
[0099] In the flowchart illustrations and / or block diagrams disclosed herein, each block in the flowchart / diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some 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 executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
[0100] Computer program instructions are configured to carry out operations of the present disclosure and may be or may incorporate assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, source code, and / or object code written in any combination of one or more programming languages.
[0101] An application program may be deployed by providing computer infrastructure operable to perform one or more embodiments disclosed herein by integrating computer readable code into a computing system thereby performing the computer-implemented methods disclosed herein.
[0102] Although various computing environments are described above, these are only examples that can be used to incorporate and use one or more embodiments. Many variations are possible.
[0103] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprise" (and any form of comprise, such as "comprises" and "comprising"), "have" (and any form of have, such as "has" and "having"), "include" (and any form of include, such as "includes" and "including"), and "contain" (and any form contain, such as "contains" and "containing") are open-ended linking verbs. As a result, a method or device that "comprises", "has", "includes" or "contains" one or more steps or elements possesses those one or more steps or elements, but is not limited to possessing only those one or more steps or elements. Likewise, a step of a method or an element of a device that "comprises", "has", "includes" or "contains" one or more features possesses those one or more features, but is not limited to possessing only those one or more features. Furthermore, a device or structure that is configured in a certain way is configured in at least that way, but may also be configured in ways that are not listed.
[0104] The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below, if any, are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The embodiment was chosen and described to explain the principles of one or more aspects of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand one or more aspects of the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
Claims
1. A method, comprising:determining, by an orchestrator executing on a processor, to assign a plurality of tasks to an automation agent executing within a first virtual machine (VM), wherein the first VM is one of a plurality of VMs;identifying, by the orchestrator in a plurality of entries in a maintenance queue, a first entry of the plurality of entries associated with the first VM;determining, by the orchestrator based on identifying the first entry in the maintenance queue, that the first VM is in a maintenance mode;refraining, by the orchestrator based on the determination that the first VM is in the maintenance mode, from transmitting an indication of the plurality of tasks to the automation agent; andstoring, by the orchestrator, the indication of the plurality of tasks in a task queue.
2. The method of claim 1, further comprising:determining, by the orchestrator, another plurality of tasks to assign to the automation agent;determining, by the orchestrator, the first entry associated with the first VM is not present in the maintenance queue; andtransmitting, by the orchestrator, the another plurality of tasks to the automation agent for execution within the first VM.
3. The method of claim 1, further comprising prior to identifying the first entry in the maintenance queue:receiving, by the orchestrator from the automation agent, an indication specifying to create the first entry in the maintenance queue.
4. The method of claim 3, wherein the indication specifying to create the first entry in the maintenance queue is received via an application programming interface (API) call received from the automation agent, wherein the API call is to an API of the orchestrator.
5. The method of claim 4, further comprising prior to receiving the API call:receiving, by the orchestrator from the automation agent, an indication specifying that the automation agent executed another plurality of tasks within the first VM.
6. The method of claim 1, further comprising:receiving, by the orchestrator from a sweeper agent, an indication specifying the first entry has been removed from the maintenance queue.
7. The method of claim 6, further comprising:receiving, by the orchestrator from the automation agent, an indication specifying that the first VM has been restarted.
8. The method of claim 7, further comprising:creating, by the orchestrator, a new session with the automation agent of the restarted first VM.
9. The method of claim 7, further comprising:receiving, by the orchestrator from the automation agent, an indication specifying that the plurality of tasks have been executed within the restarted first VM.
10. The method of claim 9, further comprising:receiving, by the orchestrator from the automation agent based on the execution of the plurality of tasks, a request to create an entry for the restarted first VM in the maintenance queue.
11. The method of claim 10, further comprising:determining, by the orchestrator, another plurality of tasks to assign to the automation agent;identifying, by the orchestrator, the entry associated with the restarted first VM in the maintenance queue; andrefraining, by the orchestrator based on identifying the entry associated with the restarted first VM in the maintenance queue, from transmitting an indication of the another plurality of tasks to the automation agent.
12. The method of claim 10, further comprising:storing, by the orchestrator, the indication of the another plurality of tasks in the task queue.
13. The method of claim 7, further comprising:assigning, by the orchestrator based on the indications received from the sweeper agent and the automation agent, another plurality of tasks to assign to the automation agent.
14. The method of claim 1, wherein the plurality of VMs are non-persistent VMs, wherein each VM includes a respective automation agent.
15. The method of claim 14, further comprising:determining, by the orchestrator, another plurality of tasks to assign to the automation agent of a second VM of the plurality of VMs;determining, by the orchestrator, the plurality of entries of the maintenance queue do not include an entry associated with the second VM; andtransmitting, by the orchestrator, the another plurality of tasks to the automation agent of the second VM for execution within the second VM.
16. The method of claim 15, further comprising:receiving, by the orchestrator from the automation agent of the second VM, an indication specifying that the another plurality of tasks have been executed within the second VM;receiving, by the orchestrator from the automation agent of the second based on the execution of the another plurality of tasks, a request to create an entry for the second VM in the maintenance queue; andcreating, by the orchestrator, the entry for the second VM in the maintenance queue.
17. The method of claim 16, further comprising:identifying, by the orchestrator, one or more tasks to assign to the second VM;identifying, by the orchestrator, the entry associated with the second VM in the maintenance queue; andrefraining, by the orchestrator based on identifying the entry associated with the second VM in the maintenance queue, from transmitting an indication of the one or more tasks to the automation agent of the second VM.
18. The method of claim 1, wherein each respective entry in the maintenance queue comprises: (i) a unique identifier of the respective VM, (ii) a respective expiration time, and (iii) an indication of a template, wherein each entry remains in the maintenance queue for a predetermined duration of time.
19. A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a processor, cause the processor to:determine, by an orchestrator, to assign a plurality of tasks to an automation agent executing within a virtual machine (VM);identify, by the orchestrator in a maintenance queue, an entry associated with the VM;determine, by the orchestrator based on identifying the entry in the maintenance queue, that the VM is in a maintenance mode;refrain, by the orchestrator based on the determination that the VM is in the maintenance mode, from transmitting an indication of the plurality of tasks to the automation agent; andstore, by the orchestrator, the indication of the plurality of tasks in a task queue.
20. An apparatus, comprising:a processor; anda memory storing instructions that, when executed by the processor, cause the processor to:determine, by an orchestrator, to assign a plurality of tasks to an automation agent executing within a virtual machine (VM);identify, by the orchestrator in a maintenance queue, an entry associated with the VM;determine, by the orchestrator based on identifying the entry in the maintenance queue, that the VM is in a maintenance mode;refrain, by the orchestrator based on the determination that the VM is in the maintenance mode, from transmitting an indication of the plurality of tasks to the automation agent; andstore, by the orchestrator, the indication of the plurality of tasks in a task queue.
