Artificial Intelligence Layer Based Process Abstraction for Robotic Process Automation

The AI layer-based process extraction method in RPA technologies analyzes data through multiple AI layers to identify and generate RPA workflows, addressing inefficiencies in process detection and automation.

JP7557530B2Active Publication Date: 2024-09-27UIPATH INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2022520177
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-09
Filing Date
2020-08-13
Publication Date
2024-09-27
Estimated Expiration
2040-08-13

AI Technical Summary

Technical Problem

Current RPA technologies lack effective mechanisms for parsing data to identify processes that can benefit from automation, leading to inefficiencies in process extraction and automation.

Method used

Implementing an AI layer-based process extraction method that utilizes multiple AI layers to analyze data collected by listeners, identify potential RPA processes exceeding a confidence threshold, and generate RPA workflows for automation.

Benefits of technology

Enhances the ability to automatically detect and generate RPA workflows, improving the efficiency and effectiveness of robotic process automation by identifying optimal processes for automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007557530000004
    Figure 0007557530000004
  • Figure 0007557530000003
    Figure 0007557530000003
  • Figure 0007557530000001
    Figure 0007557530000001
Patent Text Reader

Abstract

Artificial intelligence (AI) layer-based process extraction for robotic process automation (RPA) is disclosed. Data collected by RPA robots and / or other sources can be analyzed to identify patterns that can be used to suggest or automatically generate RPA workflows. These AI layers can be used to recognize patterns in the user or business system processes contained therein. Each AI layer "detects" different characteristics in the data and can be used individually or in concert with other AI layers to suggest RPA workflows.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims the benefit of U.S. Nonprovisional Patent Application No. 16 / 707,705, filed December 9, 2019, and U.S. Provisional Patent Application No. 62 / 915,351, filed October 15, 2019. The subject matter of these prior applications is incorporated herein by reference in its entirety.

[0002] The present invention relates generally to robotic process automation (RPA), and more specifically to artificial intelligence (AI) layer based process abstraction for RPA. [Background technology]

[0003] RPA robots can be used to collect large amounts of data from business computing systems. However, this data does not, in itself, drive RPA or improvements thereto. In fact, companies may or may not be aware of processes that could benefit from RPA. Therefore, improved mechanisms for analyzing data for RPA and extracting processes from it can be beneficial. Summary of the Invention

[0004] Certain embodiments of the present invention may provide solutions to problems and needs in the art that have not yet been fully identified, recognized, or solved by current RPA technology. For example, some embodiments of the present invention relate to AI layer-based process abstraction for RPA.

[0005] In one embodiment, a computer-implemented method for performing AI-based process elicitation for RPA using multiple AI layers includes searching, by a computing system, data collected by a listener. The computer-implemented method also includes running, by the computing system, the data collected by the listener through the multiple AI layers to process the collected data. Upon identifying a potential RPA process that exceeds a confidence threshold, the computer-implemented method further includes generating, by the computing system, an RPA workflow for the identified RPA process, and generating, by the computing system, a robot configured to execute the generated RPA workflow for the identified RPA process.

[0006] In another embodiment, a computer program is embodied on a non-transitory computer-readable medium. The program is configured to cause at least one processor to run data collected by multiple listeners through multiple AI layers to process the collected data and identify one or more potential RPA processes in the collected data that exceed a confidence threshold. The program is also configured to cause the at least one processor to generate an RPA workflow for the identified RPA process if the identified RPA process exceeds the confidence threshold.

[0007] In yet another embodiment, an apparatus includes a memory storing computer program instructions for performing AI-based process extraction for RPA using multiple AI layers, and at least one processor communicatively coupled to the memory and configured to execute the computer program instructions. The instructions are configured to cause the at least one processor to run data collected by multiple listeners through the multiple AI layers to process the collected data and identify one or more RPA processes in the collected data that exceed a confidence threshold. The instructions are also configured to cause the at least one processor to generate an RPA workflow for the identified RPA process if the identified RPA process exceeds the confidence threshold. The collected data is run through the multiple AI layers in serial, parallel, or a combination of both serial and parallel. [Brief description of the drawings]

[0008] So that the advantages of certain embodiments of the invention may be readily understood, a more particular description of the invention, briefly described above, will be provided by reference to specific embodiments which are illustrated in the accompanying drawings, it being understood that these drawings depict only typical embodiments of the invention and therefore should not be considered as limiting its scope, but the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:

[0009] [Figure 1] FIG. 1 is an architectural diagram illustrating an RPA system according to one embodiment of the present invention.

[0010] [Diagram 2] FIG. 1 is an architectural diagram illustrating a deployed RPA system according to one embodiment of the present invention.

[0011] [Diagram 3] FIG. 2 is an architecture diagram illustrating the relationships between designers, activities, and drivers according to one embodiment of the present invention.

[0012] [Figure 4] FIG. 1 is an architectural diagram illustrating an RPA system according to one embodiment of the present invention.

[0013] [Diagram 5] FIG. 1 is an architecture diagram illustrating a computing system configured to perform multiple AI tier-based process abstraction for RPA, according to one embodiment of the present invention.

[0014] [Figure 6] FIG. 1 is an architecture diagram illustrating a system configured to perform AI-based process abstraction for RPA using multiple AI tiers, according to one embodiment of the present invention.

[0015] [Figure 7] 1 is a flowchart illustrating a process for AI-based process abstraction for RPA using an AI layer according to one embodiment of the present invention.

[0016] [Figure 8] 1 is a flowchart illustrating a process for AI-based process abstraction for RPA using an AI layer according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Some embodiments relate to AI layer-based process abstraction for RPA. Such embodiments can analyze data collected by RPA robots and / or other sources to identify patterns that can be used to suggest or automatically generate RPA workflows. These AI layers can be used to recognize patterns in the user or business system processes contained therein. Each AI layer can "detect" different characteristics in the data and use them individually or in concert with other AI layers to suggest RPA workflows.

[0018] FIG. 1 is an architecture diagram illustrating an RPA system 100, according to one embodiment of the present invention. The RPA system 100 includes a designer 110 that enables developers to design and implement workflows. The designer 110 can provide application integration and solutions for automating third-party applications, management information technology (IT) tasks, and business IT processes. The designer 110 can facilitate the development of automation projects, which are graphical representations of business processes. Simply put, the designer 110 facilitates the development and deployment of workflows and robots.

[0019] Automation projects enable rule-based process automation by giving developers control over the order of execution and relationships between custom sets of steps developed in a workflow, defined herein as "activities." One commercial example of an embodiment of the designer 110 is UiPath Studio™. Each activity can include actions such as clicking a button, reading a file, writing to a log panel, etc. In some embodiments, workflows may be nested or embedded.

[0020] Some types of workflows may include, but are not limited to, sequences, flowcharts, finite state machines (FSMs), and / or global exception handlers. Sequences may be particularly suited to linear processes that allow flow from one activity to another without disrupting the workflow. Flowcharts are particularly suited to more complex business logic, allowing for the integration of decisions and the connection of activities in more diverse ways through multiple branching logical operators. FSMs may be particularly suited to large workflows. FSMs may use a finite number of states in their execution that are triggered by conditions (i.e., transitions) or activities. Global exception handlers may be particularly suited to determining the behavior of a workflow when an execution error is encountered and to debugging the process.

[0021] Once a workflow is developed in Designer 110, the execution of the business process is orchestrated by Conductor 120, which orchestrates one or more Robots 130 that execute the workflow developed in Designer 110. One commercial example of an embodiment of Conductor 120 is UiPath Orchestrator™. Conductor 120 facilitates the creation, monitoring, and management of deployment of resources in the environment. Conductor 120 can act as an integration point with third party solutions and applications.

[0022] The conductor 120 can manage all the robots 130 connecting and executing the robots 130 from a centralized point. The types of robots 130 that can be managed include, but are not limited to, attended robots 132, unattended robots 134, development robots (similar to unattended robots 134 but used for development and testing purposes), and non-production robots (similar to attended robots 132 but used for development and testing purposes). Attended robots 132 are triggered by user events and operate alongside humans on the same computing system. Attended robots 132 can be used with the conductor 120 for centralized process deployment and recording. Attended robots 132 can help human users accomplish various tasks and can be triggered by user events. In some embodiments, processes cannot be started from the conductor 120 for this type of robot and / or cannot be run under a locked screen. In certain embodiments, attended robots 132 can only be launched from the robot tray or command prompt. In some embodiments, the attended robot 132 should operate under human supervision.

[0023] Unattended robots 134 operate unattended in a virtual environment and can automate many processes. Unattended robots 134 can be responsible for providing remote execution, monitoring, scheduling, and work queue support. In some embodiments, debugging of all robot types can be performed in the designer 110. Both attended and unattended robots can automate a variety of systems and applications, including but not limited to mainframes, web applications, VMs, enterprise applications (e.g., those manufactured by SAP®, SalesForce®, Oracle®, etc.), and computing system applications (e.g., desktop and laptop applications, mobile device applications, wearable computer applications, etc.).

[0024] The conductor 120 may have a variety of functions, including but not limited to provisioning, deployment, configuration, queuing, monitoring, logging, and / or providing interconnectivity. Provisioning may include creating and maintaining connections between the robots 130 and the conductor 120 (e.g., web applications). Deployment may include ensuring correct delivery of package versions to the robots 130 assigned for execution. Configuration may include maintaining and delivering robot environment and process configurations. Queuing may include providing management of queues and queue items. Monitoring may include tracking robot identification data and maintaining user permissions. Logging may include storing and indexing logs in a database (e.g., an SQL database) and / or another storage mechanism (e.g., ElasticSearch®, which provides the ability to store and quickly query large data sets). The conductor 120 may provide interconnectivity by acting as a centralized point of communication for third party solutions and / or applications.

[0025] The robot 130 is an execution agent that executes the workflow built in the designer 110. One commercial example of some embodiments of the robot 130 is UiPath Robots™. In some embodiments, the robot 130 installs the Microsoft Windows Service Control Manager (SCM) management service by default. As a result, such a robot 130 can open an interactive Windows session under the local system account and have the rights of a Windows service.

[0026] In some embodiments, the robot 130 can be installed in user mode. For such robots 130, this means that a given robot 130 has the same rights as the user for whom it is installed. This feature may also be available for high density (HD) robots, ensuring full utilization of each machine at its maximum potential. In some embodiments, any type of robot 130 can be configured in an HD environment.

[0027] The robot 130 in some embodiments is divided into several components, each dedicated to a specific automation task. The robot components in some embodiments include, but are not limited to, an SCM managed robot service, a user mode robot service, an executor, an agent, and a command line. The SCM managed robot service manages and monitors the Windows session and acts as a proxy between the conductor 120 and the execution host (i.e., the computing system on which the robot 130 executes). These services are trusted with and manage the credentials of the robot 130. The console application is launched by the SCM under the local system.

[0028] The user-mode robot service in some embodiments manages and monitors the Windows session and acts as a proxy between the conductor 120 and the execution host. The user-mode robot service can trust and manage credentials for the robot 130. If the SCM management robot service is not installed, the Windows application can be launched automatically.

[0029] An Executor can run a given job under a Windows session (i.e., an Executor can execute a workflow). An Executor can be aware of per-monitor dots per inch (DPI) settings. An Agent can be a Windows Presentation Foundation (WPF) application that displays available jobs in a system tray window. An Agent can be a client of a Service. An Agent can request to start or stop a job and change settings. A Command Line is a client of a Service. A Command Line is a console application that can request to start a job and wait for its output.

[0030] Splitting up the components of the robot 130 as described above helps developers, support users, and computing systems more easily execute, identify, and track what each component is accomplishing. In this way, special behaviors can be configured per component, such as setting different firewall rules for executors and services. The executors, in some embodiments, can always be aware of the DPI setting per monitor. As a result, workflows can be executed at any DPI regardless of the configuration of the computing system on which they were created. In some embodiments, projects from the designer 110 can be independent of the browser zoom level. For applications that are not DPI aware or are intentionally marked as not aware, DPI can be disabled in some embodiments.

[0031] FIG. 2 is an architecture diagram illustrating a deployed RPA system 200 according to an embodiment of the present invention. In some embodiments, the RPA system 200 may be or may be part of the RPA system 100 of FIG. 1. It should be noted that the client side, the server side, or both may include any desired number of computing systems without departing from the scope of the present invention. On the client side, the robot application 210 includes an executor 212, an agent 214, and a designer 216. However, in some embodiments, the designer 216 may not be running on the computing system 210. The executor 212 is a running process. As shown in FIG. 2, several business projects may be running simultaneously. The agent 214 (e.g., a Windows service) is a single connection point for all the executors 212 in this embodiment. All messages in this embodiment are logged to the conductor 230, which further processes them via the database server 240, the indexer server 250, or both. As discussed above with respect to FIG. 1, the executor 212 may be a robotic component.

[0032] In some embodiments, a robot represents an association between a machine name and a username. A robot can manage multiple executors simultaneously. In computing systems that support multiple interactive sessions running simultaneously (e.g., Windows Server 2012), there may be multiple robots running simultaneously, each in a separate Windows session using a unique username. This is referred to above as an HD Robot.

[0033] The agent 214 is also responsible for transmitting the robot's status (e.g., periodically sending "heartbeat" messages to indicate that the robot is still functioning) and downloading necessary versions of packages to be fulfilled. Communication between the agent 214 and the conductor 230 is always initiated by the agent 214 in some embodiments. In a notification scenario, the agent 214 can open a WebSocket channel that is later used by the conductor 230 to send commands to the robot (e.g., start, stop, etc.).

[0034] The server side includes a presentation layer (web application 232, Open Data Protocol (OData) Representational State Transfer (REST) ​​Application Programming Interface (API) endpoints 234, and notifications and monitoring 236), a service layer (API implementation / business logic 238), and a persistence layer (database server 240, indexer server 250). The conductor 230 includes a web application 232, an OData REST API endpoint 234, notifications and monitoring 236, and an API implementation / business logic 238. In some embodiments, most actions that a user performs within the conductor 220 interface (e.g., via browser 220) are performed by calling various APIs. Such actions may include, but are not limited to, starting a job on a robot, adding / removing data in a queue, scheduling a job to run unattended, etc., without departing from the scope of the invention. The web application 232 is the visual layer of the server platform. In this embodiment, the web application 232 uses HyperText Markup Language (HTML) and JavaScript (JS). However, any desired markup language, scripting language, or any other format may be used without departing from the scope of the invention. A user interacts with web pages from web application 232, in this embodiment via browser 220, to perform various actions to control conductor 230. For example, a user can create robot groups, assign packages to robots, analyze logs per robot and / or per process, start and stop robots, etc.

[0035] In addition to the web application 232, the conductor 230 also includes a services layer that exposes an OData REST API endpoint 234. However, other endpoints may be included without departing from the scope of the invention. The REST API is consumed by both the web application 232 and the agent 214, which in this embodiment is the administrator of one or more robots on a client computer.

[0036] The REST API in this embodiment covers configuration, logging, monitoring, and queuing functions. The configuration endpoint may be used in some embodiments to define and configure application users, permissions, robots, assets, releases, and environments. For example, a logging REST endpoint may be used to log various information such as errors, explicit messages sent by the robot, and other environment specific information. A deployment REST endpoint may be used by a robot to query the package version that should be committed when a start job command is used in the conductor 230. The queuing REST endpoint may be responsible for queue and queue item management, such as adding data to the queue, getting transactions from the queue, setting the state of transactions, etc.

[0037] The monitoring REST endpoints can monitor the web application 232 and the agents 214. The notification monitoring API 236 can be a REST endpoint used to register the agents 214, deliver configuration settings to the agents 214, and send / receive notifications from the server and the agents 214. The notification monitoring API 236 can also use WebSocket communication in some embodiments.

[0038] The persistence layer includes a pair of servers in this embodiment: a database server 240 (e.g., SQL Server) and an indexer server 250. The database server 240 in this embodiment stores configurations for robots, robot groups, associated processes, users, roles, schedules, etc. This information is managed through a web application 232 in some embodiments. The database server 240 can manage queues and queue items. In some embodiments, the database server 240 can store messages logged by the robots (in addition to or instead of the indexer server 250).

[0039] The indexer server 250 is optional in some embodiments and stores and indexes information logged by the robots. In certain embodiments, the indexer server 250 can be disabled through a configuration setting. In some embodiments, the indexer server 250 uses ElasticSearch®, a full-text search engine from an open source project. Messages logged by the robots (e.g., using activities such as log messages or line writes) may be sent through a logging REST endpoint to the indexer server 250, where they are indexed for future use.

[0040] FIG. 3 is an architecture diagram illustrating the relationship 300 between a designer 310, activities 320, 330, and a driver 340, according to one embodiment of the present invention. In accordance with the above, a developer uses the designer 310 to develop a workflow to be performed by the robot. The workflow can include user-defined activities 320 and UI automation activities 330. Some embodiments can identify non-textual visual components in an image, referred to herein as computer vision (CV). Some CV activities related to such components can include, but are not limited to, click, type, get text, hover, element presence, refresh range, highlight, and the like. In some embodiments, click can identify an element using, for example, CV, optical character recognition (OCR), fuzzy character matching, and multi-anchors, and click on it. Type can identify an element using the above and type within an element. Get text can identify the location of a particular text using OCR and scan it. Hover can identify an element and hover it. Element Present can check if an element is present on the screen using the techniques described above. In some embodiments, there may be hundreds or thousands of activities that can be implemented in the designer 310. However, any number and / or type of activities may be utilized without departing from the scope of the invention.

[0041] UI automation activities 330 are a subset of special low-level activities that are written into lower level code (e.g., CV activities) and facilitate interactions with the screen. UI automation activities 330 facilitate these interactions via drivers 340 that allow the robot to interact with desired software. For example, drivers 340 may include OS drivers 342, browser drivers 344, VM ​​drivers 346, enterprise application drivers 348, etc.

[0042] Drivers 340 can interact with the OS at a low level, looking for hooks, monitoring keys, etc. They can facilitate integration with Chrome®, IE®, Citrix®, SAP®, etc. For example, a "click" activity performs the same role in these different applications via drivers 340.

[0043] FIG. 4 is an architecture diagram illustrating an RPA system 400, according to one embodiment of the present invention. In some embodiments, the RPA system 400 may be or include the RPA systems 100 and / or 200 of FIG. 1 and / or FIG. 2. The RPA system 400 includes multiple client computing systems 410 that execute robots. The computing systems 410 may communicate with a conductor computing system 420 via web applications executed thereon. The conductor computing system 420 may in turn communicate with a database server 430 and an optional indexer server 440.

[0044] 1 and 3, it should be noted that although web applications are used in these embodiments, any suitable client / server software may be used without departing from the scope of the present invention. For example, the conductor may run a server-side application that communicates with a non-web-based client software application on a client computing system.

[0045] FIG. 5 is an architecture diagram illustrating a computing system 500 configured to perform multiple AI layer-based process abstraction for RPA, according to an embodiment of the present invention. In some embodiments, the computing system 500 may be one or more of the computing systems illustrated and / or described herein. The computing system 500 includes a bus 505 or other communication mechanism for communicating information and a processor 510 coupled to the bus 505 for processing information. The processor 510 may be any type of general-purpose or special-purpose processor, including a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), multiple instances thereof, and / or any combination thereof. The processor 510 may also have multiple processing cores, at least some of which may be configured to perform a specific function. In some embodiments, multiple parallel processing may be used. In certain embodiments, at least one of the processors 510 may be a neuromorphic circuit that includes processing elements that mimic biological neurons. In some embodiments, the neuromorphic circuit may not require typical components of a von Neumann computing architecture.

[0046] The computing system 500 further includes a memory 515 for storing information and instructions executed by the processor 510. The memory 515 can be comprised of any combination of random access memory (RAM), read-only memory (ROM), flash memory, cache, static storage such as magnetic or optical disks, or any other type of non-transitory computer-readable medium, or any combination thereof. The non-transitory computer-readable medium may be any available medium accessible by the processor 510 and may include volatile media, non-volatile media, or both. The medium may also be removable, non-removable, or both.

[0047] Additionally, the computing system 500 includes a communications device 520, such as a transceiver for providing access to a communications network via wireless and / or wired connections. In some embodiments, the communications device 520 may be a communications device for a variety of communications networks, including Frequency Division Multiple Access (FDMA), Single Carrier FDMA (SC-FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), Orthogonal Frequency Division Multiplexing (OFDM), Orthogonal Frequency Division Multiple Access (OFDMA), Global System for Mobile Communications (GSM) communications, General Packet Radio Service (GPRS), Universal Mobile Telecommunications System (UMTS), cdma2000, Wideband CDMA (W-CDMA), High Speed ​​Downlink Packet Access (HSDPA), High Speed ​​Uplink Packet Access (HSUPA), High Speed ​​... The communication device 520 may be configured to use any of the following communication standards and / or protocols: High Speed ​​Passive Access (HSPA), Long Term Evolution (LTE), LTE Advanced (LTE-A), 802.11x, Wi-Fi, Zigbee, Ultra Wideband (UWB), 802.16x, 802.15, Home Node B (HnB), Bluetooth, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Near Field Communication (NFC), Fifth Generation (5G), New Radio (NR), any combination thereof, and / or any other currently existing or future implemented communication standards and / or protocols without departing from the scope of the present invention. In some embodiments, the communication device 520 may include one or more antennas that are single, array, phased, switched, beamforming, beamsteering, combinations thereof, and / or any other antenna configuration without departing from the scope of the present invention.

[0048] The processor 510 is further coupled via bus 505 to a display 525, such as a plasma display, a liquid crystal display (LCD), a light emitting diode (LED) display, a field emission display (FED), an organic light emitting diode (OLED) display, a flexible OLED display, a flexible substrate display, a projection display, a 4K display, a high definition display, a Retina® display, an in-plane switching (IPS) display, or any other suitable display for displaying information to a user. The display 525 may be configured as a touch (haptic) display, a three-dimensional (3D) touch display, a multi-input touch display, a multi-touch display, or the like, using resistive, capacitive, surface acoustic wave (SAW) capacitive, infrared, optical imaging, dispersive signal techniques, acoustic pulse recognition, frustrated total internal reflection, or the like. Any suitable display device and haptic I / O may be used without departing from the scope of the invention.

[0049] A keyboard 530 and cursor control devices 535, such as a computer mouse, touchpad, etc., are further coupled to the bus 505 to allow a user to interface with the computing system 500. However, in certain embodiments, a physical keyboard and mouse may not be present and the user may interact with the device solely through the display 525 and / or touchpad (not shown). Any type and combination of input devices may be used as a matter of design choice. In certain embodiments, there are no physical input devices and / or displays. For example, a user may interact with the computing system 500 remotely via another computing system that communicates with it, or the computing system 500 may operate autonomously.

[0050] The memory 515 stores software modules that provide functionality when executed by the processor 510. The modules include an operating system 540 for the computing system 500. The modules further include a process abstraction module 545 configured to perform all or a portion of the processes described herein or derivatives thereof. The computing system 500 may include one or more additional functional modules 550 that include additional functionality.

[0051] Those skilled in the art will appreciate that the "system" may be embodied as a server, an embedded computing system, a personal computer, a console, a personal digital assistant (PDA), a mobile phone, a tablet computing device, a quantum computing system, or any other suitable computing device or combination of devices without departing from the scope of the present invention. Presenting the above functions as being performed by a "system" is in no way intended to limit the scope of the present invention, but is intended to provide one example of many embodiments of the present invention. Indeed, the methods, systems, and apparatus disclosed herein may be implemented in localized and distributed forms consistent with computing technologies, including cloud computing systems.

[0052] It should be noted that some of the system features described herein have been presented as modules to more specifically emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom very large scale integrated (VLSI) circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, graphics processing units, and the like.

[0053] Modules may also be implemented at least partially in software for execution by various types of processors. An identified unit of executable code may include one or more physical or logical blocks of computer instructions, which may be organized, for example, as an object, procedure, or function. Nevertheless, executable files of identified modules need not be physically located together, but may include different instructions stored in different locations that, when logically combined together, comprise a module and achieve the stated purpose of the module. Furthermore, modules may be stored on a computer-readable medium, which may be, for example, a hard disk drive, a flash device, RAM, tape, and / or any other such non-transitory computer-readable medium used to store data without departing from the scope of the present invention.

[0054] In fact, a module of executable code may be a single instruction, or many instructions, and may be distributed across several different code segments, different programs, and several memory devices. Similarly, operational data may be identified and illustrated herein in modules, and may be embodied in any suitable form and organized within any suitable type of data structure. Operational data may be collected as a single data set or distributed in different locations, including different storage devices, and may exist, at least in part, only as electronic signals on a system or network.

[0055] 6 is an architecture diagram illustrating a system 600 configured to perform AI-based process extraction for RPA using multiple AI layers, according to one embodiment of the present invention. System 600 can include any desired data sources, such as a desktop computer 602, a tablet 604, a smartphone 606, and a video camera 608. However, any desired computing system can be used without departing from the scope of the present invention, including, but not limited to, a smart watch, a laptop computer, an Internet of Things (IoT) device, a vehicle computing system, a listening device with a microphone, an electronic sensor, and the like.

[0056] Each computing system 602, 604, 606, 608 has a listener 610 installed thereon in this embodiment. The listener 610 may be a robot generated via an RPA designer application, part of an operating system, a downloadable application for a personal computer (PC) or smartphone, or any other software and / or hardware without departing from the scope of the present invention. Indeed, in some embodiments, one or more logics of the listener 610 are implemented partially or fully via physical hardware.

[0057] The listener 610 generates data to transmit to the server 630 over a network 620 (e.g., a local area network (LAN), a mobile communication network, a satellite communication network, the Internet, any combination thereof, etc.). The data logged may include, but is not limited to, buttons clicked, where the mouse was moved, text entered into a field, one window minimized and another opened, the application associated with the window, etc. The data generated by the listener 610 may relate to, but is not limited to, user interactions with the computing system, audio, video, light, heat, motion, acceleration, radiation, etc. In some embodiments, the server 630 may run a conductor application and the data may be transmitted periodically as part of a heartbeat message. In certain embodiments, the data may be transmitted to the server 630 after a predetermined amount of data has been collected or after a predetermined period of time has passed, or both. The server 630 stores the data received from the listener 610 in a database 640.

[0058] When instructed by a human user (e.g., an RPA engineer or data scientist), when a predetermined amount of data has been collected, when a predetermined amount of time has passed since the last analysis, etc., the server 630 accesses the data stored in the database 640 and runs the data through multiple AI layers 632. The AI ​​layers 632 process the log data and potentially identify one or more potential processes therein, with an associated confidence in some embodiments. In certain embodiments, each individual AI layer 632 may have an associated confidence threshold to provide a positive process identification. In some embodiments, a weight may be assigned to each AI layer 632, such as when the AI ​​layers 632 have different accuracies. A workflow may then be generated if the collective confidence level of the AI ​​layers 632 exceeds a certain threshold.

[0059] The AI ​​layer 632 can perform statistical modeling (e.g., Hidden Markov Models (HMM)), utilize deep learning techniques (e.g., Long Short-Term Memory (LSTM) deep learning, encoding of prior hidden states, etc.), and perform case identification to identify atomic instances of a process. Invoice processing may be a case, for example, where one invoice is completed. Thus, the system determines where one case ends and the next case begins. Opening an email may be the beginning of a case, for example, and patterns of cases may be analyzed to determine variation and commonality.

[0060] In some embodiments, the identified processes may be listed for review by the user and sorted by various factors including, but not limited to, an RPA score indicating how suitable a given process is for RPA (e.g., based on automation complexity, execution time, perceived benefits to key performance indicators such as revenue generated, revenue saved, time saved, etc.), process name, total recorded time, number of users who executed the process, process execution time (e.g., at least or most of the time), etc. A process workflow may be displayed upon user clicking on a given process including steps, parameters, and interconnections. In certain embodiments, only process activities deemed significant from a clustering perspective may be used.

[0061] If a similar process already exists, the server 630 can identify this similarity and know that the identified process should replace the existing process that is not performing optimally. For example, similarity between processes may be determined by a common beginning and ending, as well as some degree of statistical commonality in the intervening steps. Commonality may be determined by entropy, minimization of a process detection objective function, etc.

[0062] Entropy is a measure of the randomness of the information being processed; the higher the entropy, the more difficult it is to draw any conclusions from that information. Thus, lower entropy indicates more commonality. The objective function helps the AI ​​algorithm reach a "win state" that achieves a given objective. The objective function threshold may be set automatically in some embodiments, which may be modified during training if processes identified by the system as dissimilar are indicated by the user as similar. The server 630 can then automatically generate a workflow that includes the identified processes, generate a robot (or a replacement robot) that implements the workflow, and push the generated robot to the computing systems 602, 604, 606, 608 for execution.

[0063] Alternatively, in certain embodiments, the proposed process from the AI ​​layer 632 may be presented to an RPA engineer via a designer application 652 on the computing system 650. The RPA engineer can then review the workflow, make any desired changes, and then deploy the workflow via a robot to the computing systems 602, 604, 606, 608, or deploy the robot. For example, the deployment may be done via a conductor application running on the server 630 or another server, which can push the robot that performs the process to the computing systems 602, 604, 606, 608. In some embodiments, this workflow deployment can be accomplished via an automation manager function of the designer application, where the RPA engineer can simply click a button to implement the process on the robot.

[0064] AI layer

[0065] In some embodiments, multiple AI layers may be used. Each AI layer is an algorithm (or model) that runs on log data, and the AI ​​model itself may be a deep learning neural network (DLNN) of trained artificial "neurons" trained on training data. The layers may be run in series, in parallel, or a combination thereof. For example, consider an embodiment with four AI layers. In a serial implementation, data may be run through layer 1, its output may be run through layer 2, its output may be run through layer 3, its output may be run through layer 4. In a parallel implementation, data may be run through layers 1-4 individually. In a combination implementation, data may be fed through layers 1 and 2 in series, and then the output may be run through layers 3 and 4 in parallel, data may be run through layers 1 and 2 in parallel, and the output from each of layers 1 and 2 may be fed through layers 3 and 4 in series, etc.

[0066] The AI ​​layers may include, but are not limited to, a sequence extraction layer, a clustering detection layer, a visual component detection layer, a text recognition layer (e.g., OCR), a speech-to-text layer, etc. However, any desired number of layers may be used without departing from the scope of the present invention. By using multiple layers, the system can create a complete picture of what is happening within a screen or process. For example, one AI layer may perform OCR, another AI layer may detect buttons, etc.

[0067] Patterns may be determined by AI layers individually or collectively by multiple AI layers. Probabilities or outputs regarding user actions can be used. For example, to determine the details of a button, its text, where the user clicked, etc., the system may need to know where the button is, its text, its location on the screen, etc.

[0068] The sequence extraction layer can identify the same or similar action sequences that the computing system or its user (if applicable) tend to take from the collected data. For example, if a user tends to open a particular software application after a phone call, enter a summary from the call, and then generate an email containing the summary, the sequence extraction layer can recognize this pattern and suggest a workflow sequence that includes logic to automatically record the call, convert the call audio to text, open the application, enter the text into the application, and prompt the user to review the content. If identified, the workflow can include logic to automatically generate and send an email with the content.

[0069] A clustering layer can detect that certain types or classes of data points tend to appear in certain structures and groupings within a dataset based on similarity or dissimilarity. This may be an unsupervised machine learning technique in some embodiments. Examples may be explicitly arranged into classes. Alternatively, a probability distribution may be used over the classes.

[0070] The visual component detection layer can detect visual components in an image and look for common patterns among the detected components in data from a computing system (or a particular type of computing system). In some embodiments, this may be a CV model that is looking for visual components and relationships between them.

[0071] The text recognition layer can recognize text in an image and look for common patterns in the detected text in data from a computing system (or a particular type of computing system). For example, if an image contains a document with a particular field and users tend to enter a particular name, word, or phrase in that field, the text recognition layer can determine that this entry should be automated in a workflow. Automation can include, for example, a workflow step that clicks on a text field based on a screen location in coordinates and enters the text "UiPath."

[0072] The speech-to-text layer can convert audio files in the data into digital text in a format that a computing system can understand (e.g., ASCII, Unicode, etc.). This layer can then determine that certain words or phrases tend to appear. Given the context of a particular user activity, this can indicate that the user is frustrated with a particular part of the software application. Automation may then be suggested that recognizes the frequency pattern of the phrase and opens a help window when the user speaks the phrase. For example, if the user is swearing, it can indicate that the user is frustrated with the software.

[0073] The analysis performed by the AI ​​layer 632 can be thought of as the "detection side" of the extraction process. After the analysis is performed by the AI ​​layer 632, automation generated from this analysis in the form of a robot can be pushed to the computing systems 602, 604, 606, 608. In some embodiments, the robot may only be pushed to a single computing system, or to computing systems with a particular type or hardware capability. The robot can then perform the "actuation side" of the extraction process by performing the extraction process.

[0074] FIG. 7 is a flow chart illustrating a process 700 for AI-based process extraction for RPA using AI layers, according to an embodiment of the present invention. The process begins with retrieving data collected by a computing system listener at 710. In some embodiments, the data from the listener includes user interaction with the computing system, audio, video, light, heat, motion, acceleration, radiation, or any combination thereof. At 720, the data is run through multiple AI layers to develop a global picture of the data. The AI ​​layers include a sequence extraction layer, a clustering detection layer, a visual component detection layer, a text recognition layer, a speech-to-text layer, or any combination thereof. The AI ​​layers process the data and identify one or more potential processes therein that exceed a confidence threshold at 730. In some embodiments, each individual AI layer has an associated modifier based on its estimated accuracy. In certain embodiments, a workflow is generated only if the collective confidence threshold of all layers is exceeded. A workflow is generated for the processes that exceed the confidence threshold at 740, and a robot is generated from the workflow at 750.

[0075] 8 is a flow chart illustrating a process 800 for AI-based process extraction for RPA using an AI layer, according to one embodiment of the present invention. The process begins at 810 with retrieving data collected by the listeners from multiple computing systems. In some embodiments, the data collected by the listeners includes user interactions with the respective user computing systems, audio, video, light, heat, motion, acceleration, radiation, or any combination thereof.

[0076] The data collected by the listener is run through multiple AI layers at 820 to process the collected data and identify one or more RPA processes in the collected data that exceed a confidence threshold. In some embodiments, the multiple AI layers include a sequence extraction layer, a clustering detection layer, a visual component detection layer, a text recognition layer, a speech-to-text layer, or any combination thereof. In certain embodiments, each individual AI layer has an associated modifier based on its estimated accuracy. In some embodiments, the RPA workflow is generated only if the collective confidence threshold of all the AI ​​layers is exceeded. In certain embodiments, the multiple AI layers are configured to perform statistical modeling and utilize deep learning techniques to identify the collected one or more potential RPA processes that exceed a confidence threshold. In some embodiments, the collected data is run through the multiple AI layers in serial, parallel, or a combination of both serial and parallel AI layers.

[0077] If an RPA process that exceeds a confidence threshold is identified at 830, an RPA workflow is generated for the identified RPA process at 840, and a robot configured to perform the generated RPA workflow for the identified RPA process is generated at 850. If an existing RPA process similar to the identified potential RPA process is identified at 860, it is determined at 870 whether the existing RPA process performs less optimally than the identified potential RPA process (i.e., whether the identified process is more optimal). If so, the existing RPA process is replaced with the identified potential RPA process at 880 by replacing an existing robot that performs the existing RPA process with the generated robot. In some embodiments, the similarity between the existing process and the identified potential RPA process is determined by entropy, minimization of a process discovery objective function, or a combination thereof.

[0078] The process steps performed in Figures 7 and 8 may be performed by a computer program encoding instructions for a processor to perform at least a portion of the process described in Figures 7 and 8 according to an embodiment of the present invention. The computer program may be embodied on a non-transitory computer readable medium. The computer readable medium may be, but is not limited to, a hard disk drive, a flash device, a RAM, a tape, and / or any other such medium or combination of media used to store data. The computer program may include encoded instructions for controlling a processor of a computing system (e.g., processor 510 of computing system 500 of Figure 5) to perform all or a portion of the process steps described in Figures 7 and 8, which may also be stored on a computer readable medium.

[0079] The computer program may be implemented in hardware, software, or a hybrid implementation. The computer program may be composed of modules designed to operatively communicate with each other and pass information or instructions for display. The computer program may be configured to run on a general purpose computer, an ASIC, or any other suitable device.

[0080] It will be readily understood that the components of the various embodiments of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments of the present invention, as represented in the accompanying drawings, is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention.

[0081] The features, structures, or characteristics of the invention described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, references throughout this specification to "certain embodiments," "some embodiments," or similar language means that the particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrases "in certain embodiments," "in some embodiments," "in other embodiments," or similar language throughout this specification do not necessarily all refer to the same group of embodiments, but rather the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0082] It should be noted that the reference to features, advantages, or similar language throughout this specification does not mean that all of the features and advantages that may be realized in the present invention should be in any single embodiment of the present invention, or that any single embodiment of the present invention is. Rather, language referring to features and advantages is understood to mean that the particular feature, advantage, or characteristic described in connection with one embodiment is included in at least one embodiment of the present invention. Thus, the description of features and advantages and similar language throughout this specification may, but does not necessarily, refer to the same embodiment.

[0083] Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. Those skilled in the art will recognize that the invention may be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.

[0084] Those skilled in the art will readily appreciate that the invention described above may be practiced with steps in a different order and / or hardware elements in a different configuration than that disclosed. Thus, while the invention has been described based on these preferred embodiments, it will be apparent to those skilled in the art that certain modifications, variations, and alternative constructions will be apparent while remaining within the spirit and scope of the invention. Accordingly, reference should be made to the appended claims to determine the scope of the invention.

Claims

1. 1. A computer-implemented method for performing artificial intelligence (AI)-based process abstraction for robotic process automation (RPA) using multiple AI layers, comprising: retrieving, by a computing system, the data collected by the listener; running, by the computing system, the data collected by the listener through the multiple AI layers to process the collected data and identify one or more RPA processes that exceed a confidence threshold in the collected data; If an RPA process that exceeds the confidence threshold is identified, generating, by the computing system, an RPA workflow for the identified RPA process; generating, by the computing system, a robot configured to perform the generated RPA workflow for the identified RPA process.

2. 10. The computer-implemented method of claim 1, wherein the data collected by the listeners includes user interaction with a respective user computing system, audio, video, light, heat, motion, acceleration, radiation, or any combination thereof.

3. 2. The computer-implemented method of claim 1, wherein the plurality of AI layers comprises a sequence extraction layer, a clustering detection layer, a visual component detection layer, a text recognition layer, a speech-to-text layer, or any combination thereof.

4. 10. The computer-implemented method of claim 1, wherein each individual AI layer has an associated modifier based on its estimated accuracy.

5. 10. The computer-implemented method of claim 1, wherein the RPA workflow is generated only if a collective confidence threshold for all AI layers is exceeded.

6. 2. The computer-implemented method of claim 1, wherein the multiple AI layers are configured to perform statistical modeling and utilize deep learning techniques to identify the collected one or more RPA processes that exceed a confidence threshold.

7. identifying, by the computing system, existing RPA processes similar to the identified RPA process that exceed the confidence threshold; determining, by the computing system, that the existing RPA process performs less optimally than the identified RPA process; replacing, by the computing system, an existing robot performing the existing RPA process with the identified RPA process by replacing the existing robot with the generated robot; The computer-implemented method of claim 1 , further comprising:

8. 8. The computer-implemented method of claim 7, wherein similarity between the existing process and the identified RPA process is determined by entropy, minimization of a process discovery objective function, or a combination thereof.

9. 2. The computer-implemented method of claim 1, wherein the collected data is run through the multiple AI layers in series.

10. 2. The computer-implemented method of claim 1, wherein the collected data is run through the multiple AI layers in parallel.

11. 10. The computer-implemented method of claim 1, wherein the collected data is fed through a combination of both serial and parallel AI layers.

12. A computer program embodied on a non-transitory computer readable medium, the program causing at least one processor to: running the data collected by the plurality of listeners through a plurality of artificial intelligence (AI) layers to process the collected data and identify one or more robotic process automation (RPA) processes within the collected data that exceed a confidence threshold; a computer program configured to generate an RPA workflow for the identified RPA process if the identified RPA process exceeds the confidence threshold.

13. The program causes the at least one processor to:

13. The computer program of claim 12, further configured to generate a robot configured to execute the generated RPA workflow for the identified RPA process.

14. The program causes the at least one processor to: identifying existing RPA processes similar to the identified RPA process that exceed the confidence threshold; determining that the existing RPA process is performing less optimally than the identified RPA process; 14. The computer program of claim 13, further configured to cause the existing RPA process to be replaced with the identified RPA process by replacing an existing robot performing the existing RPA process with the generated robot.

15. 15. The computer program of claim 14, wherein the similarity between the existing process and the identified RPA process is determined by entropy, minimization of a process discovery objective function, or a combination thereof.

16. 13. The computer program product of claim 12, wherein the data collected by the plurality of listeners comprises user interaction with a respective user computing system, audio, video, light, heat, motion, acceleration, radiation, or any combination thereof.

17. 13. The computer program product of claim 12, wherein the collected data is run through the multiple AI layers in series, or the collected data is run through the multiple AI layers in parallel.

18. 13. The computer program product of claim 12, wherein the collected data is fed through a combination of both serial and parallel AI layers.

19. 1. An apparatus comprising: a memory storing computer program instructions for performing artificial intelligence (AI) based process abstraction for robotic process automation (RPA) using multiple AI layers; and at least one processor communicatively coupled to the memory and configured to execute the computer program instructions, the instructions causing the at least one processor to: running data collected by a plurality of listeners through a plurality of AI layers to process the collected data and identify one or more RPA processes in the collected data that exceed a confidence threshold; if the identified RPA process exceeds the confidence threshold, generating an RPA workflow for the identified RPA process; The apparatus, wherein the collected data is run through the multiple AI layers in serial, parallel, or a combination of both serial and parallel.

20. The instructions cause the at least one processor to: generating a robot configured to perform the generated RPA workflow for the identified RPA process; identifying existing RPA processes similar to the identified RPA process that exceed the confidence threshold; determining that the existing RPA process is performing less optimally than the identified RPA process; 20. The apparatus of claim 19, further configured to cause the existing RPA process to be replaced with the identified RPA process by replacing an existing robot performing the existing RPA process with the generated robot.

Citation Information

Patent Citations

  • Bot management framework for robotic process automation systems

    US20190155225A1